Sebastien Pouliot [Mon, 17 Oct 2005 19:31:00 +0000 (19:31 -0000)]
Add some new classes/enums/delegates for 2.0 and some new CAS unit tests
svn path=/trunk/mcs/; revision=51823
Sebastien Pouliot [Mon, 17 Oct 2005 19:30:04 +0000 (19:30 -0000)]
2005-10-17 Sebastien Pouliot <sebastien@ximian.com>
* Assembly.cs: Add a RequestMinimum security permission for
SkipVerification.
svn path=/trunk/mcs/; revision=51822
Sebastien Pouliot [Mon, 17 Oct 2005 19:28:27 +0000 (19:28 -0000)]
2005-10-17 Sebastien Pouliot <sebastien@ximian.com>
* PowerModeChangedEventArgs.cs: Added a LinkDemand and an
InheritanceDemand for FullTrust (i.e. Unrestricted permission set) at
the class level.
* SessionEndingEventArgs.cs: Added a LinkDemand and an
InheritanceDemand for FullTrust (i.e. Unrestricted permission set) at
the class level.
* SessionEndedEventArgs.cs: Added a LinkDemand and an
InheritanceDemand for FullTrust (i.e. Unrestricted permission set) at
the class level.
* SessionSwitchReason.cs: New. Enum for 2.0.
* SessionSwitchEventArgs.cs: New. Class for 2.0.
* SessionSwitchEventHandler.cs: New. Delegate for 2.0.
* SystemEvents.cs: Added a LinkDemand for FullTrust (i.e. Unrestricted
permission set) at the class level. Added new events
DisplaySettingsChanging and SessionSwitch (2.0). Added [Obsolete],
[Browsable] and [EditorBrowsable] on LowMemory event (2.0).
* TimerElapsedEventArgs.cs: Added a LinkDemand and an
InheritanceDemand for FullTrust (i.e. Unrestricted permission set) at
the class level.
* UserPreferenceCategory.cs: Added new VisualStyle value for 2.0.
* UserPreferenceChangedEventArgs.cs: Added a LinkDemand and an
InheritanceDemand for FullTrust (i.e. Unrestricted permission set) at
the class level.
* UserPreferenceChangingEventArgs.cs: Added a LinkDemand and an
InheritanceDemand for FullTrust (i.e. Unrestricted permission set) at
the class level.
svn path=/trunk/mcs/; revision=51821
Sebastien Pouliot [Mon, 17 Oct 2005 19:21:43 +0000 (19:21 -0000)]
2005-10-17 Sebastien Pouliot <sebastien@ximian.com>
* VBCodeProvider.cs: Added a LinkDemand and an InheritanceDemand
for FullTrust (i.e. Unrestricted permission set) at the class level.
Added [Obsolete] on CreateCompiler and CreateGenerator methods (2.0).
Stubbed new method GenerateCodeFromMember (2.0).
svn path=/trunk/mcs/; revision=51820
Sebastien Pouliot [Mon, 17 Oct 2005 19:20:55 +0000 (19:20 -0000)]
2005-10-17 Sebastien Pouliot <sebastien@ximian.com>
* CSharpCodeProvider.cs: Added a LinkDemand and an InheritanceDemand
for FullTrust (i.e. Unrestricted permission set) at the class level.
Added [Obsolete] on CreateCompiler and CreateGenerator methods (2.0).
Stubbed new method GenerateCodeFromMember (2.0).
svn path=/trunk/mcs/; revision=51819
Sebastien Pouliot [Mon, 17 Oct 2005 19:16:23 +0000 (19:16 -0000)]
Disable DNS cas tests until I found a 'perfect' fix for CSC to compile System.dll
svn path=/trunk/mcs/; revision=51818
Sebastien Pouliot [Mon, 17 Oct 2005 19:15:37 +0000 (19:15 -0000)]
2005-10-17 Sebastien Pouliot <sebastien@ximian.com>
* UriBuilderCas.cs: New. CAS unit tests.
* UriBuilderTest.cs: Fixed tests to execute without failures under 2.0
* UriFormatExceptionCas.cs: New. CAS unit tests.
svn path=/trunk/mcs/; revision=51817
Sebastien Pouliot [Mon, 17 Oct 2005 19:14:04 +0000 (19:14 -0000)]
2005-10-17 Sebastien Pouliot <sebastien@ximian.com>
* GenericUriParserOptions.cs: New. 2.0 enum.
* UriBuilder.cs: Port == -1 is valid (default) in 2.0. Default name
is "localhhost" (not loopback) in 2.0. Fixed case where the Password
property could be null (instead of String.Empty).
* UriComponents.cs: New. 2.0 enum.
* UriFormat.cs: New. 2.0 enum.
* UriFormatException.cs: Added comments about GetObjectData.
* UriKind.cs: New. 2.0 enum.
* UriPartial.cs: Added Query value for 2.0.
svn path=/trunk/mcs/; revision=51816
Jonathan Pryor [Mon, 17 Oct 2005 19:10:33 +0000 (19:10 -0000)]
* UnixFileSystemInfo.cs: Add OwnerUserId and OwnerGroupId properties.
svn path=/trunk/mcs/; revision=51815
Jackson Harper [Mon, 17 Oct 2005 18:42:02 +0000 (18:42 -0000)]
* TreeView.cs: Merge in patch by Rafael Teixeira to align strings
correctly.
svn path=/trunk/mcs/; revision=51814
Sebastien Pouliot [Mon, 17 Oct 2005 18:11:52 +0000 (18:11 -0000)]
2005-10-17 Sebastien Pouliot <sebastien@ximian.com>
* PowerModeChangedEventArgsCas.cs: New. CAS unit tests.
* SessionEndedEventArgsCas.cs: New. CAS unit tests.
* SessionEndingEventArgsCas.cs: New. CAS unit tests.
* SessionSwitchEventArgsCas.cs: New. CAS unit tests.
* SystemEventsCas.cs: New. CAS unit tests.
* TimerElapsedEventArgsCas.cs: New. CAS unit tests.
* UserPreferenceChangedEventArgsCas.cs: New. CAS unit tests.
* UserPreferenceChangingEventArgsCas.cs: New. CAS unit tests.
svn path=/trunk/mcs/; revision=51813
Sebastien Pouliot [Mon, 17 Oct 2005 18:09:15 +0000 (18:09 -0000)]
2005-10-17 Sebastien Pouliot <sebastien@ximian.com>
* VBCodeProviderCas.cs: New. CAS unit tests.
svn path=/trunk/mcs/; revision=51812
Sebastien Pouliot [Mon, 17 Oct 2005 18:08:19 +0000 (18:08 -0000)]
2005-10-17 Sebastien Pouliot <sebastien@ximian.com>
* CSharpCodeProviderCas.cs: New. CAS unit tests.
svn path=/trunk/mcs/; revision=51811
Jonathan Pryor [Mon, 17 Oct 2005 17:46:31 +0000 (17:46 -0000)]
* UnixDriveInfo.cs, UnixEnvironment.cs, UnixFile.cs, UnixFileSystemInfo.cs,
UnixGroup.cs, UnixStream.cs, UnixUser.cs: Don't use SetLastError(), since
it's use is (1) incorrect, and (2) will be going away with the move to
Mono.Unix.Native.Syscall. Instead use the Native.Syscall.* APIs which
set errno sanely.
svn path=/trunk/mcs/; revision=51810
Jonathan Pryor [Mon, 17 Oct 2005 17:32:34 +0000 (17:32 -0000)]
* UnixGroup.cs, UnixGroupInfo.cs, UnixFile.cs, UnixFileSystemInfo.cs,
UnixStream.cs, UnixSymbolicLinkInfo.cs, UnixUser.cs, UnixUserInfo.cs:
Start migrating uid/gid to long (from uint) for CLS compliance.
(Full migration must wait 'til after the next release as this would
require changes to existing members.)
* UnixEnvironment.cs: Above, and add RealUserId/RealGroupId and
EffectiveUserId/EffectiveGroupId.
svn path=/trunk/mcs/; revision=51809
Sebastien Pouliot [Mon, 17 Oct 2005 16:53:43 +0000 (16:53 -0000)]
2005-10-17 Sebastien Pouliot <sebastien@ximian.com>
* PermissionSet.cs: If the current permission set is unrestricted then
we must allow "permit only" for unrestricted (all other case are known
to be too restrictive).
svn path=/trunk/mcs/; revision=51807
Rafael Teixeira [Mon, 17 Oct 2005 16:49:31 +0000 (16:49 -0000)]
2005-10-17 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
* TreeNode.cs : small logical fix (was using local var instead of field)
svn path=/trunk/mcs/; revision=51806
Sebastien Pouliot [Mon, 17 Oct 2005 14:15:12 +0000 (14:15 -0000)]
Add CAS unit tests for System.Web.UI.WebControls.RequiredFieldValidator class
svn path=/trunk/mcs/; revision=51803
Sebastien Pouliot [Mon, 17 Oct 2005 14:14:28 +0000 (14:14 -0000)]
2005-10-17 Sebastien Pouliot <sebastien@ximian.com>
* RequiredFieldValidatorCas.cs: New. CAS unit for
RequiredFieldValidator.
svn path=/trunk/mcs/; revision=51802
Sebastien Pouliot [Mon, 17 Oct 2005 14:13:05 +0000 (14:13 -0000)]
2005-10-17 Sebastien Pouliot <sebastien@ximian.com>
* RequiredFieldValidator.cs: Added missing permissions.
svn path=/trunk/mcs/; revision=51801
Lluis Sanchez [Mon, 17 Oct 2005 12:20:17 +0000 (12:20 -0000)]
2005-10-17 Lluis Sanchez Gual <lluis@novell.com>
* ChannelServices.cs: RegisteredChannels should not include the
hidden cross app domain channel. Fixes bug #76454.
svn path=/trunk/mcs/; revision=51800
Lluis Sanchez [Mon, 17 Oct 2005 11:49:48 +0000 (11:49 -0000)]
2005-10-17 Lluis Sanchez Gual <lluis@novell.com>
* RemotingConfiguration.cs: Rethrow catched exceptions
in ReadConfigFile (patch by Robert Jordan). Fixes bug #76434.
Properly set the application name.
2005-08-18 Lluis Sanchez Gual <lluis@novell.com>
svn path=/trunk/mcs/; revision=51799
Zoltan Varga [Mon, 17 Oct 2005 11:43:25 +0000 (11:43 -0000)]
2005-10-17 Zoltan Varga <vargaz@gmail.com>
* mini-codegen.c (get_register_spilling): Fix some warnings.
svn path=/trunk/mono/; revision=51798
Raja R Harinath [Mon, 17 Oct 2005 11:42:23 +0000 (11:42 -0000)]
* Makefile (RESOURCES): Distribute newly added cursors.
svn path=/trunk/mcs/; revision=51797
Vladimir Krasnov [Mon, 17 Oct 2005 10:43:53 +0000 (10:43 -0000)]
Graphics.cs: Added FillMode tests
Brush.cs: Added TextureBrush tests
svn path=/trunk/mcs/; revision=51796
Lluis Sanchez [Mon, 17 Oct 2005 10:39:40 +0000 (10:39 -0000)]
2005-10-17 Lluis Sanchez Gual <lluis@novell.com>
* SerializationCodeGenerator.cs:
* XmlSerializationWriterInterpreter.cs: Arrays of XmlNode don't
need to be all XmlElments. Fix by Atsushi for bug #76288.
svn path=/trunk/mcs/; revision=51795
Lluis Sanchez [Mon, 17 Oct 2005 10:38:08 +0000 (10:38 -0000)]
2005-10-17 Lluis Sanchez Gual <lluis@novell.com>
* XmlSchemaSerializer.cs: Arrays of XmlNode don't
need to be all XmlElments. Fix by Atsushi for bug #76288.
svn path=/trunk/mcs/; revision=51794
Jordi Mas i Hernandez [Mon, 17 Oct 2005 10:37:41 +0000 (10:37 -0000)]
* ThemeWin32Classic.cs: Fixes vert/horz scrollbar colours
2005-10-17 Jordi Mas i Hernandez <jordi@ximian.com>
svn path=/trunk/mcs/; revision=51793
Marek Safar [Mon, 17 Oct 2005 09:55:12 +0000 (09:55 -0000)]
update
svn path=/trunk/mcs/; revision=51792
Senganal T [Mon, 17 Oct 2005 09:23:19 +0000 (09:23 -0000)]
2005-10-17 Senganal T <tsenganal@novell.com>
* Test/ProviderTests/System.Data.SqlClient/SqlDataAdapterTest.cs :
- Added Testcase for bug #76433.
* In System.Data.Common/DbDataAdapter.cs :
- BuildSchema() : Set the value of DataColumn Property 'AllowDBNull'
as returned by database. Fixes bug#76433.
svn path=/trunk/mcs/; revision=51791
Jordi Mas i Hernandez [Mon, 17 Oct 2005 09:13:01 +0000 (09:13 -0000)]
2005-10-17 Jordi Mas i Hernandez <jordi@ximian.com>
* ThemeWin32Classic.cs: Fixes focus drawing in for non-flat/popup buttons
svn path=/trunk/mcs/; revision=51790
Marek Safar [Mon, 17 Oct 2005 08:47:13 +0000 (08:47 -0000)]
2005-10-17 Marek Safar <marek.safar@seznam.cz>
* test-10.cs: More explicit conversion tests.
svn path=/trunk/mcs/; revision=51789
Marek Safar [Mon, 17 Oct 2005 08:25:36 +0000 (08:25 -0000)]
new tests
svn path=/trunk/mcs/; revision=51788
Marek Safar [Mon, 17 Oct 2005 08:14:10 +0000 (08:14 -0000)]
2005-10-17 Marek Safar <marek.safar@seznam.cz>
Fix #76273.
* cfold.cs (BinaryFold): Reduce constant in enum conversion.
* constant.cs (Constant.TryReduce): Moved from Cast class.
(Reduce): Made little bit more OO and fixed missing conversions.
* ecore.cs (Reduce): Implemented.
(Binary.EnumLiftUp): New method to upgrade values to enum values.
* literal.cs (Reduce): Implemented.
svn path=/trunk/mcs/; revision=51787
Marek Safar [Mon, 17 Oct 2005 08:08:33 +0000 (08:08 -0000)]
Fixed Miguel's regression.
svn path=/trunk/mcs/; revision=51786
Ritvik Mayank [Mon, 17 Oct 2005 06:56:40 +0000 (06:56 -0000)]
Added test case for TabControl
svn path=/trunk/mcs/; revision=51785
Peter Dennis Bartok [Mon, 17 Oct 2005 01:51:58 +0000 (01:51 -0000)]
2005-10-16 Peter Dennis Bartok <pbartok@novell.com>
* Control.cs:
- Re-implemented anchoring code. My first version was really broken.
This fixes bug #76033. Unlike the previous implementation we will
no longer have round errors since all numbers are calculated from
scratch every time. Removed various anchor-related obsolete vars.
- InitLayout no longer causes layout event firing and layout to be
performed
svn path=/trunk/mcs/; revision=51782
Miguel de Icaza [Mon, 17 Oct 2005 01:44:59 +0000 (01:44 -0000)]
Revert this until I track it down
svn path=/trunk/mcs/; revision=51780
Jackson Harper [Sun, 16 Oct 2005 20:35:09 +0000 (20:35 -0000)]
again
svn path=/trunk/mcs/; revision=51774
Jackson Harper [Sun, 16 Oct 2005 20:26:52 +0000 (20:26 -0000)]
* Hwnd.cs: Compute invalid area correctly (fixes my last commit
which was broken).
svn path=/trunk/mcs/; revision=51773
Jackson Harper [Sun, 16 Oct 2005 19:07:39 +0000 (19:07 -0000)]
* TabControl.cs: Remove debug code.
svn path=/trunk/mcs/; revision=51772
Jackson Harper [Sun, 16 Oct 2005 18:26:11 +0000 (18:26 -0000)]
* XEventQueue.cs: Increase the default queue size (very simple
apps needed to grow the queue).
* Hwnd.cs: No finalizer so we don't need to suppress
finalization. Compute the invalid area manually so a new rectangle
does not newto be created.
* ScrollableControl.cs: Don't set any params (otherwise visibility
isn't set correctly).
* MdiChildContext.cs: New constructor takes the mdi parent so it
doesn't have to be computed and avoids a crash on windows. Draw
the window icon properly, and allow the text to be seen.
* Form.cs: Use new MdiChildContext constructor. Make sure the
child context isn't null in wndproc.
* TabControl.cs: Don't set focus, this is muddling keyboard
behavoir. Expand the tab rows when a window size increase will
allow extra tabs to be seen. Don't allow tabs smaller than the
width of a window to be scrolled out of view.
* TreeNode.cs:
* TreeView.cs: Use measure string to calculate a nodes width, the
width is cached and only updated when the text or the font is
changed. Don't check for expand/collapse clicks on the first level
nodes if root lines are disabled.
svn path=/trunk/mcs/; revision=51769
Zoltan Varga [Sun, 16 Oct 2005 16:25:29 +0000 (16:25 -0000)]
2005-10-16 Zoltan Varga <vargaz@freemail.hu>
* mini-amd64.h mini-amd64.c exceptions-amd64.c: Add support for fp
elimination during exception handling. Enable fp elimination by
default.
svn path=/trunk/mono/; revision=51766
Zoltan Varga [Sun, 16 Oct 2005 15:23:36 +0000 (15:23 -0000)]
2005-10-16 Zoltan Varga <vargaz@freemail.hu>
* mini-amd64.h mini-amd64.c: Add preliminary support for frame pointer
elimination.
svn path=/trunk/mono/; revision=51765
Zoltan Varga [Sun, 16 Oct 2005 15:21:39 +0000 (15:21 -0000)]
2005-10-16 Zoltan Varga <vargaz@freemail.hu>
* amd64/amd64-codegen.h (AMD64_CALLEE_SAVED_REGS): Add %rbp.
svn path=/trunk/mono/; revision=51764
Ritvik Mayank [Sun, 16 Oct 2005 13:26:43 +0000 (13:26 -0000)]
Added test case for TrackBar
svn path=/trunk/mcs/; revision=51763
Gert Driesen [Sun, 16 Oct 2005 08:49:57 +0000 (08:49 -0000)]
* OracleException.cs: Pass message to base ctor, thereby avoiding
need to override Message property (and fixing API mismatch). Fixed
serialization by also adding code to si.
* OracleCommandBuilder.cs: Removed usage of DataSysDescription to
fix API mismatches.
svn path=/trunk/mcs/; revision=51762
Martin Baulig [Sun, 16 Oct 2005 00:57:52 +0000 (00:57 -0000)]
2005-10-16 Martin Baulig <martin@ximian.com>
* mini-exceptions.c
(mono_debugger_run_finally): New public method for the debugger.
svn path=/trunk/mono/; revision=51754
Gert Driesen [Sat, 15 Oct 2005 16:41:32 +0000 (16:41 -0000)]
* CodeGeneratorTestBase.cs: Generate now returns code that was output,
and takes CodeGeneratorOptions instance in order to support testing
bracing style.
* CodeGeneratorFromCompileUnitTest.cs: Added tests for C bracing style.
* CodeGeneratorFromNamespaceTest.cs: Added tests for C bracing style.
* CodeGeneratorFromExpressionTest.cs: Clean up.
* CodeGeneratorFromTypeTest.cs: Added tests for C bracing style.
* CodeGeneratorTestBase.cs: No longer keep instance of StringWriter to
allow GenerateCodeFromType to be executed multiple times with relying
on user to reset writer. Allow CodeGeneratorOptions to be passed in,
in order to support bracing style tests.
* CodeGeneratorFromTypeTestBase.cs: Modify Generate* methods to take
CodeGeneratorOptions instance and pass it on to GenerateCodeFromType.
* CodeGeneratorFromTypeTest.cs: Reworked tests to pass
CodeGeneratorOptions to Generate* methods.
* CodeGeneratorTestBase.cs: Generate now returns code that was output,
and take CodeGeneratorOptions instance in order to support testing
bracing style.
* CodeGeneratorFromCompileUnitTest.cs: Added tests for C bracing style.
* CodeGeneratorFromNamespaceTest.cs: Added tests for C bracing style.
* CodeGeneratorFromExpressionTest.cs: Clean up.
* CodeGeneratorFromTypeTest.cs: Added tests for C bracing style.
* CSharpCodeGenerator.cs: Support C bracing style. Fixes bug #76286.
svn path=/trunk/mcs/; revision=51753
Zoltan Varga [Sat, 15 Oct 2005 13:14:31 +0000 (13:14 -0000)]
2005-10-15 Zoltan Varga <vargaz@freemail.hu>
* Import 0.84 version of SharpZipLib and merge local changes. This is
needed by newer versions of IKVM.
svn path=/trunk/mcs/; revision=51752
Zoltan Varga [Sat, 15 Oct 2005 13:09:10 +0000 (13:09 -0000)]
Copy 0.84 to trunk.
svn path=/trunk/mcs/; revision=51751
Zoltan Varga [Sat, 15 Oct 2005 13:06:58 +0000 (13:06 -0000)]
2005-10-15 Zoltan Varga <vargaz@freemail.hu>
* ICSharpCode.SharpZipLib: Remove 0.6 version.
svn path=/trunk/mcs/; revision=51750
Ritvik Mayank [Sat, 15 Oct 2005 12:27:36 +0000 (12:27 -0000)]
TextBoxBase.cs: Fixes #76352
svn path=/trunk/mcs/; revision=51745
Atsushi Eno [Sat, 15 Oct 2005 10:38:59 +0000 (10:38 -0000)]
2004-10-15 Atsushi Enomoto <atsushi@ximian.com>
* XPathNavigator.cs : (DeleteRange, ReplaceRange) so they are not
likely to be implemented, thus MonoTODO.
svn path=/trunk/mcs/; revision=51743
Gert Driesen [Sat, 15 Oct 2005 09:00:27 +0000 (09:00 -0000)]
* TypeTest.cs: Added GetTypeCode test.
svn path=/trunk/mcs/; revision=51742
Ben Maurer [Sat, 15 Oct 2005 02:30:52 +0000 (02:30 -0000)]
keep ctest working (I use it out of habit :-)
svn path=/trunk/mcs/; revision=51739
Miguel de Icaza [Fri, 14 Oct 2005 22:39:42 +0000 (22:39 -0000)]
2005-10-14 Miguel de Icaza <miguel@novell.com>
* codegen.cs (Emit): Add support for generating the
RuntimeCompatibilityAttribute(WrapNonExceptionThrows=true) if the
user did not specify it on all assemblies generated.
Closes #76364
More indentation police.
svn path=/trunk/mcs/; revision=51734
Miguel de Icaza [Fri, 14 Oct 2005 22:39:26 +0000 (22:39 -0000)]
Add new test
svn path=/trunk/mcs/; revision=51733
Zoltan Varga [Fri, 14 Oct 2005 22:07:26 +0000 (22:07 -0000)]
2005-10-15 Zoltan Varga <vargaz@freemail.hu>
* marshal.c: Add generics support to the ldfld/stfld wrappers. Fixes
#76436.
(mono_marshal_get_ldflda_wrapper): Fix a warning.
svn path=/trunk/mono/; revision=51732
Miguel de Icaza [Fri, 14 Oct 2005 21:29:42 +0000 (21:29 -0000)]
Also put these stylistic changes here
svn path=/trunk/mcs/; revision=51731
Miguel de Icaza [Fri, 14 Oct 2005 21:28:23 +0000 (21:28 -0000)]
Indentation
svn path=/trunk/mcs/; revision=51730
Miguel de Icaza [Fri, 14 Oct 2005 20:17:46 +0000 (20:17 -0000)]
2005-10-14 Miguel de Icaza <miguel@novell.com>
* ecore.cs (GetMemberType): Report the correct mapping for the MemberCore
All the other files: add space between the class name and the ':' in a class
declaration
svn path=/trunk/mcs/; revision=51728
Sebastien Pouliot [Fri, 14 Oct 2005 18:21:19 +0000 (18:21 -0000)]
2005-10-14 Sebastien Pouliot <sebastien@ximian.com>
* ServerVariablesCollection.cs: Added a demand for
SerializationFormatter on GetObjectData method (even if it's not
really required in this case as it remove warnings from gendarme.
svn path=/trunk/mcs/; revision=51726
Atsushi Eno [Fri, 14 Oct 2005 17:55:50 +0000 (17:55 -0000)]
oops, extraneous changes are committed.
svn path=/trunk/mono/; revision=51725
Atsushi Eno [Fri, 14 Oct 2005 17:42:16 +0000 (17:42 -0000)]
2005-10-14 Atsushi Enomoto <atsushi@ximian.com>
* cormissing.xsl, mono-api.xsl, mono-api-diff.cs, mono-api-info.cs :
added support for displaying generic contraint differences.
svn path=/trunk/mcs/; revision=51724
Atsushi Eno [Fri, 14 Oct 2005 17:41:18 +0000 (17:41 -0000)]
2005-10-14 Atsushi Enomoto <atsushi@ximian.com>
* cormissing.js, cormissing.css, w.gif : added support files for
displaying generic constraint differences.
svn path=/trunk/mono/; revision=51723
Marek Safar [Fri, 14 Oct 2005 15:49:23 +0000 (15:49 -0000)]
new test
svn path=/trunk/mcs/; revision=51721
Atsushi Eno [Fri, 14 Oct 2005 13:53:35 +0000 (13:53 -0000)]
2005-10-14 Atsushi Enomoto <atsushi@ximian.com>
* DateTime.cs : another crappy Windows dependent format.
* DateTimeTest.cs : another crappy Windows dependent format.
svn path=/trunk/mcs/; revision=51720
Sureshkumar T [Fri, 14 Oct 2005 13:47:12 +0000 (13:47 -0000)]
In Test/System.Data:
2005-10-14 Sureshkumar T <tsureshkumar@novell.com>
* DataViewTest_IBindingList.cs (FindTest): mark working. According
to printed DataView, the index returned is correct.
In System.Data:
(IBindingList.Find): Implemented.
svn path=/trunk/mcs/; revision=51719
Jonathan Pryor [Fri, 14 Oct 2005 12:59:02 +0000 (12:59 -0000)]
* Stdlib.cs, Syscall.cs: Flush naming convention documentation.
svn path=/trunk/mcs/; revision=51718
Jordi Mas i Hernandez [Fri, 14 Oct 2005 12:32:39 +0000 (12:32 -0000)]
* DataGridBoolColumn.cs: fixes warning
2005-10-16 Jordi Mas i Hernandez <jordi@ximian.com>
svn path=/trunk/mcs/; revision=51717
Jordi Mas i Hernandez [Fri, 14 Oct 2005 12:18:06 +0000 (12:18 -0000)]
Add new unit test
svn path=/trunk/mcs/; revision=51716
Jordi Mas i Hernandez [Fri, 14 Oct 2005 12:11:53 +0000 (12:11 -0000)]
2005-11-16 Jordi Mas i Hernandez <jordi@ximian.com>
* ControlPaintTest.cs: Adds ControlPaint test unit for testing Dark
and Light methods
svn path=/trunk/mcs/; revision=51715
Jordi Mas i Hernandez [Fri, 14 Oct 2005 12:10:06 +0000 (12:10 -0000)]
2005-10-16 Jordi Mas i Hernandez <jordi@ximian.com>
* ControlPaint.cs: Fixes methods Dark, DarkDark, Light, LightLight
to match more to match more precisely the MS Net behavior
svn path=/trunk/mcs/; revision=51714
Jordi Mas i Hernandez [Fri, 14 Oct 2005 12:04:45 +0000 (12:04 -0000)]
2005-10-14 Jordi Mas i Hernandez <jordi@ximian.com>
* SystemColors.cs: Fixes the Win32 light and lightlight colours
svn path=/trunk/mcs/; revision=51713
Jonathan Pryor [Fri, 14 Oct 2005 12:03:56 +0000 (12:03 -0000)]
* NativeConvert.generated.cs: Flush currently generated version.
svn path=/trunk/mcs/; revision=51712
Jonathan Pryor [Fri, 14 Oct 2005 11:58:02 +0000 (11:58 -0000)]
* Makefile.am (MPH_UNIX_SOURCE): Add syslog.c.
* dirent.c, grp.c, pwd.c, signal.c, stdio.c, stdlib.c: Wrap functions which
return `void' so that they instead: (1) return `int', (2) clear errno
before calling the real function, and (3) return -1 if errno changed.
This must be done in native code because calling
Stdlib.SetLastError/Syscall.xxx
from managed code won't work reliably (since errno may change between the
SetLastError call and the actual Syscall invocation).
* unistd.c: Same as above, and allow fpathconf(3), pathconf(3), sysconf(3),
and confstr(3) callers to explicitly choose their own errno value.
* map.c, map.h: Handle enumeration name change in Mono.Unix.Native
(e.g. ConfStr --> ConfstrName, etc.). This is so that they follow the
established naming conventions.
* map-icalls.h: Add new icalls.
* syslog.c: Added; wraps <syslog.h> functions.
svn path=/trunk/mono/; revision=51711
Jonathan Pryor [Fri, 14 Oct 2005 11:57:34 +0000 (11:57 -0000)]
* Mono.Unix/Catalog.cs: Create a constructor and mark it [Obsolete]. It will be made
private after the next release.
* Mono.Unix/UnixFile.cs, UnixStream.cs: Deal with Mono.Unix.Native type name changes.
* Mono.Unix/UnixFileSystemInfo.cs: [Obsolete] more members; Deal with Mono.Unix.Native
type name changes.
* Mono.Unix/Syscall.cs: Create maps for PathConf, SysConf, ConfStr again; fpathconf(),
pathconf(), and sysconf() should call Native.Syscall since the
MonoPosixHelper.so helpers have changed.
* Mono.Unix.Native/make-map.cs: Fix documentation comment.
* Mono.Unix.Native/Stdlib.cs: Fix export of XprintfFunctions.syslog(); make SetLastError()
protected (normal user code shouldn't call it, as it isn't safe);
replace functions which return `void' with functions which return `int'
(adding them to MonoPosixHelper.so as well) -- since users can't reliably
use SetLastError(), they need the "normal" error detection mechanism;
correct the strlen(3) export.
* Mono.Unix.Native/Syscall.cs:
- s/PathConf/PathconfName/, s/SysConf/SysconfName/, s/ConfStr/ConfstrName/
to follow documented enumeration naming conventions.
- replace functions which return `void' with functions which return `int'
(adding them to MonoPosixHelper.so as well) -- since users can't reliably
use SetLastError(), they need the "normal" error detection mechanism;
svn path=/trunk/mcs/; revision=51710
Senganal T [Fri, 14 Oct 2005 09:09:47 +0000 (09:09 -0000)]
2005-10-14 Senganal T <tsenganal@novell.com>
* System.Data.Odbc/OdbcColumn.cs : Changed the mapping of OdbcType.Char to string
instead of char. Fixes bug #67269
svn path=/trunk/mcs/; revision=51707
Senganal T [Fri, 14 Oct 2005 08:56:22 +0000 (08:56 -0000)]
2005-10-14 Senganal T <tsenganal@novell.com>
* Test/ProviderTests/sql/mysql.sql: Added data for testing bug #75032
* Test/ProviderTests/System.Data.Odbc/OdbcDataReaderTest.cs: Added test for bug #75032
* System.Data.Odbc/OdbcDataReader.cs: Added Text and NText datatypes to the list
of datatypes checked by GetValue () method. Fixes bug #75032
svn path=/trunk/mcs/; revision=51706
Atsushi Eno [Fri, 14 Oct 2005 08:01:01 +0000 (08:01 -0000)]
2005-10-14 Atsushi Enomoto <atsushi@ximian.com>
* cs-parser.jay, expression.cs : CS0214 was missing error location
for constants. Fixed bug #76404.
svn path=/trunk/mcs/; revision=51705
Atsushi Eno [Fri, 14 Oct 2005 07:58:16 +0000 (07:58 -0000)]
2005-10-14 Atsushi Enomoto <atsushi@ximian.com>
* SimpleCollator.cs : modified to use stackalloc for byte array.
svn path=/trunk/mcs/; revision=51704
Sureshkumar T [Fri, 14 Oct 2005 07:13:46 +0000 (07:13 -0000)]
* OdbcDataReader.cs (GetValue): Use SQL_CHAR for Numeric as
temporary fix.
svn path=/trunk/mcs/; revision=51703
Sureshkumar T [Fri, 14 Oct 2005 07:10:30 +0000 (07:10 -0000)]
2005-10-14 Sureshkumar T <tsureshkumar@novell.com>
* OdbcParameter.cs (CopyValue): Add support for Numeric & Decimal
parameters.
svn path=/trunk/mcs/; revision=51702
Sureshkumar T [Fri, 14 Oct 2005 06:54:31 +0000 (06:54 -0000)]
(CompleteLastAdded): call UpdateIndex to remove the row from rowCache.
svn path=/trunk/mcs/; revision=51701
Sureshkumar T [Fri, 14 Oct 2005 06:09:05 +0000 (06:09 -0000)]
In functions
(RowStateFilter): Fire ListChangedEvent.
(ApplyDefaultSort): Fire ListChangedEvent.
svn path=/trunk/mcs/; revision=51700
Sureshkumar T [Fri, 14 Oct 2005 05:43:18 +0000 (05:43 -0000)]
2005-10-14 Sureshkumar T <tsureshkumar@novell.com>
* DataView.cs: Correct multiple throwing of events. Patch from
Marc Haisenko.
svn path=/trunk/mcs/; revision=51699
Peter Dennis Bartok [Fri, 14 Oct 2005 05:05:59 +0000 (05:05 -0000)]
2005-10-13 Peter Dennis Bartok <pbartok@novell.com>
* Hwnd.cs: Added field to track if window is mapped
* XplatUIX11.cs:
- Unmap windows if they become 0-size, re-map when
they are >0 again; fixes #76035
- Re-set our error handler after initializing X11Desktop
to override any error handlers Gtk or whatever was called
may have set.
svn path=/trunk/mcs/; revision=51698
Peter Dennis Bartok [Fri, 14 Oct 2005 04:42:41 +0000 (04:42 -0000)]
- Remove debug output
svn path=/trunk/mcs/; revision=51697
Ben Maurer [Fri, 14 Oct 2005 04:32:02 +0000 (04:32 -0000)]
In System:
2005-10-14 Ben Maurer <bmaurer@ximian.com>
* DateTime.cs: Speed up when parsing date time objects by not
duplicating cultureinfo arrays.
In Test/System.Globalization:
2005-10-14 Ben Maurer <bmaurer@ximian.com>
* DateTimeFormatInfoTest.cs: New test to make sure we do not
return the same array from GetAllDateTimePatterns.
In System.Globalization:
2005-10-14 Ben Maurer <bmaurer@ximian.com>
* DateTimeFormatInfo.cs: Speed up GetAllDateTimePatterns by
caching the result and then cloning it.
svn path=/trunk/mcs/; revision=51696
Peter Dennis Bartok [Fri, 14 Oct 2005 04:27:46 +0000 (04:27 -0000)]
2005-10-13 Peter Dennis Bartok <pbartok@novell.com>
* CheckedListBox.cs: Removed unused vars
* ListView.cs: Fixed signatures
* RichTextBox.cs: Removed unused vars
* TextBoxBase.cs: Removed unused vars
* XplatUIWin32.cs: Removed unused vars
* XplatUIX11.cs: Removed unused vars
* XplatUI.cs: Updated version and date to latest published
svn path=/trunk/mcs/; revision=51695
Peter Dennis Bartok [Fri, 14 Oct 2005 03:42:33 +0000 (03:42 -0000)]
2005-10-13 Peter Dennis Bartok <pbartok@novell.com>
* System.Windows.Forms.dll.resources: Added cursors
* build-csproj: Updated to support resources
* SWF.csproj: Updated
* System.Windows.Forms.dll.sources: Removed blank line to support
build-csproj
* System.Windows.Forms_test.dll.sources: Added ControlStyleTest
svn path=/trunk/mcs/; revision=51694
Peter Dennis Bartok [Fri, 14 Oct 2005 03:41:10 +0000 (03:41 -0000)]
2005-10-13 Peter Dennis Bartok <pbartok@novell.com>
* Cursor.cs: Added private .ctor to work around a bug in
resourceset (Thanks to Geoff Norton for the help on this)
* SplitterEventArgs.cs: Made fields accessible so we don't
waste boatloads of objects and can reuse the same one
in Splitter
* XplatUIWin32.cs(DrawReversibleLine): Now also considers
any captions and borders when generating screen coordinates
* Splitter.cs: Reimplemented control, now fully complete, uses
rubberband drawing, supports and obeys all properties, has
proper cursors
svn path=/trunk/mcs/; revision=51693
Peter Dennis Bartok [Fri, 14 Oct 2005 03:39:10 +0000 (03:39 -0000)]
2005-10-13 Peter Dennis Bartok <pbartok@novell.com>
* SplitterNS.cur: Added
* SplitterWE.cur: Added
svn path=/trunk/mcs/; revision=51692
Geoff Norton [Fri, 14 Oct 2005 02:02:23 +0000 (02:02 -0000)]
2005-10-13 Geoff Norton <gnorton@customerdna.com>
* MacPack.cs:
PLIST: Support Application Icons
svn path=/trunk/mcs/; revision=51691
Zoltan Varga [Thu, 13 Oct 2005 21:46:25 +0000 (21:46 -0000)]
2005-10-13 Zoltan Varga <vargaz@gmail.com>
* Type.cs (GetTypeCode): Applied patch from
Mike Welham <mwelham@gmail.com>. Return TypeCode.Empty when null is
passed in.
svn path=/trunk/mcs/; revision=51687
Peter Dennis Bartok [Thu, 13 Oct 2005 21:21:15 +0000 (21:21 -0000)]
- Fix the build
svn path=/trunk/mcs/; revision=51685
Gonzalo Paniagua Javier [Thu, 13 Oct 2005 21:05:41 +0000 (21:05 -0000)]
2005-10-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* Stdlib.cs: add strlen() to fix the build.
svn path=/trunk/mcs/; revision=51684
Miguel de Icaza [Thu, 13 Oct 2005 19:14:07 +0000 (19:14 -0000)]
2005-10-12 Miguel de Icaza <miguel@novell.com>
* Form.cs (Form): Setup default values for autoscale and
autoscale_base_size; Make these instance variables, not static
variables.
(OnLoad): on the first load, adjust the size of the form.
svn path=/trunk/mcs/; revision=51683
Peter Dennis Bartok [Thu, 13 Oct 2005 19:04:46 +0000 (19:04 -0000)]
2005-10-13 Peter Dennis Bartok <pbartok@novell.com>
* XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs: Added
width argument to DrawReversibleRectangle()
* XplatUIWin32.cs, XplatUIX11.cs:
- Implemented width for DrawReversibleRectangle()
- Added logic to DrawReversibleRectangle that recognizes a zero
width or height and only draws a line in that situation
svn path=/trunk/mcs/; revision=51682