* DateTimeConverter.cs: ConvertTo must return zero-length string
for DateTime.MinValue. Use CultureInfo.GetFormat to obtain
DateTimeFormatInfo to match MS.NET.
* System_test.dll.sources: Added DateTimeConverterTests.cs.
svn path=/trunk/mcs/; revision=49013
Set eol-style to native.
* TypeConverter.cs: Always support conversion from InstanceDescriptor. Set
eol-style to native.
* UInt16Converter.cs: Implement conversion from string to match MS.NET.
Added support for converting string containing hex prefix. Set eol-style
to native.
* SByteConverter.cs: Implement conversion from string to match MS.NET.
Added support for converting string containing hex prefix. Set eol-style
to native.
* Int16Converter.cs: Implement conversion from string to match MS.NET.
Added support for converting string containing hex prefix. Set eol-style
to native.
* UInt64Converter.cs: Implement conversion from string to match MS.NET.
Added support for converting string containing hex prefix. Set eol-style
to native.
* DecimalConverter.cs: Implement conversion from string to match MS.NET.
Set eol-style to native.
* Int64Converter.cs: Implement conversion from string to match MS.NET.
Added support for converting string containing hex prefix. Set eol-style
to native.
* UInt32Converter.cs: Implement conversion from string to match MS.NET.
Added support for converting string containing hex prefix. Set eol-style
to native.
* Int32Converter.cs: Implement conversion from string to match MS.NET.
Added support for converting string containing hex prefix. Set eol-style
to native.
* DoubleConverter.cs: Implement conversion from string to match MS.NET. Set
eol-style to native.
* BaseNumberConverter.cs: Support conversion from string containing hex
prefixes. Set eol-style to native.
* ByteConverter.cs: Implement conversion from string to match MS.NET.
Added support for converting string containing hex prefix. Set eol-style
to native.
svn path=/trunk/mcs/; revision=48543
match other sources. Set eol-style to native.
* ExtenderProvidedPropertyAttribute.cs: Changed line ending from CRLF
to LF to match other sources. Set eol-style to native.
* RefreshEventHandler.cs: Changed line ending from CRLF to LF to match
other sources. Set eol-style to native.
* TypeDescriptor.cs: Changed line ending from CRLF to LF to match
other sources. Set eol-style to native.
svn path=/trunk/mcs/; revision=48508
* Int16ConverterTests.cs: Added tests for Int16Converter.
* Int32ConverterTests.cs: Added tests for Int32Converter.
* BaseNumberConverter.cs: In ConvertFrom, wrap all exceptions that
are thrown while converting from string in an Exception.
* System_test.dll.sources: Added ByteConverterTests.cs,
Int16ConverterTests.cs and Int32ConverterTests.cs.
* Makefile: We also need to reference System.Drawing assembly to
build test assembly.
svn path=/trunk/mcs/; revision=48428
* ToolboxItemAttribute.cs: Fixed GetHashCode to correspond with MS.NET.
Fixed initialization order. Throw ArgumentException if item type
cannot be loaded.
* System_test.dll.sources: Added ToolboxItemAttributeTests.cs from
System.ComponentModel.
svn path=/trunk/mcs/; revision=48427
Patch from Michael Hutchinson to make the aspnet editor work.
* ReflectionPropertyDescriptor.cs: Create transactions and raise
component change events for all IComponents, not just base
implementation 'Component' derivatives.
* MemberDescriptor.cs: Make members 'Browsable' by default, as per
MS spec.
* PropertyDescriptor.cs: Changed default
DesignerSerializationVisibility value to Visible rather than
Hidden, as per MS spec.
svn path=/trunk/mcs/; revision=48090
* Win32Exception.cs: Added some declarative security (permission from
corlib) as an initial test (outside corlib). Added new constructors
for NET_2_0.
svn path=/trunk/mcs/; revision=46779
not an IComponent or has no Site. In .NET 2.0, GetDefaultEvent does not
fallback to first defined event if the default event is filtered out.
GetDefaultProperty did not take filtering into account. Fixes bug #75152.
* TypeDescriptorTests.cs: added tests for bug #75152. Fixed tests to pass on
both Mono and MS.NET.
svn path=/trunk/mcs/; revision=45414
* DefaultValueAttribute.cs: fixed the .ctor that takes a type and a
string. Previous implementation caused *lots* of exceptions being thrown
when processing WebControl types.
svn path=/trunk/mcs/; revision=43571
* AttributeCollection.cs: When checking if the list contains an
attribute, always return true if that attribute is the default
attribute for that kind of attributes.
svn path=/trunk/mcs/; revision=43438
* TypeDescriptor.cs: When creating a converter, use a constructor that
takes a Type parameter if exists.
* PropertyDescriptor.cs: In the Converter property, check for a
TypeConverterAttribute in the property.
svn path=/trunk/mcs/; revision=42893
* Test/System.ComponentModel/TypeDescriptorTests.cs: new test for
TypeConverter ctor that takes a Type argument.
* System.ComponentModel/TypeDescriptor.cs: fixed bug #71601.
GetConverter should handle TypeConverter derived classes that
take a Type argument.
svn path=/trunk/mcs/; revision=40175
* Win32Exception.cs: Set the correct name for the serialized
NativeErrorCode. This fixes bug #71572. Fix by Aleksandar Dezelin.
svn path=/trunk/mcs/; revision=39519
* TypeDescriptor.cs: Changed handling of interfaces and objects
in GetConverter to reflect the behaviour of .NET. This fixes bug
#71444.
svn path=/trunk/mcs/; revision=39398
* BaseNumberConverter.cs: when the culture we get is null, set it to the
default. Fixes bug #67033. Thanks to Sander Rijken.
svn path=/trunk/mcs/; revision=38827