Commit Graph
315 Commits
Author SHA1 Message Date
Ben Maurer b27c8e1534 remove .cvsignore from everywhere, as it is useless on svn
svn path=/trunk/mcs/; revision=46564
2005-06-27 15:55:58 +00:00
Ben Maurer 0e8decdb37 remove svn:executable from .cs files
svn path=/trunk/mcs/; revision=46562
2005-06-27 15:51:40 +00:00
Lluis Sanchez 5517dda22c 2005-06-27 LLuis Sanchez Gual <[email protected]>
* CultureInfoConverter.cs: Correctly look for verbose name of
	the culture being converted.


svn path=/trunk/mcs/; revision=46556
2005-06-27 14:21:59 +00:00
Gonzalo Paniagua Javier 8a20833d7a 2005-06-08 Gonzalo Paniagua Javier <[email protected]>
* ToolboxItemAttribute.cs: fix the fix that was fixed before.


svn path=/trunk/mcs/; revision=45625
2005-06-08 08:50:55 +00:00
Zoltan Varga 29d62fc622 2005-06-08 Zoltan Varga <[email protected]>
* ToolboxItemAttribute.cs: Revert last change as it breaks the build.

svn path=/trunk/mcs/; revision=45624
2005-06-08 08:40:12 +00:00
Gonzalo Paniagua Javier a5e2241764 2005-06-08 Gonzalo Paniagua Javier <[email protected]>
* ToolboxItemAttribute.cs: fix default type name.


svn path=/trunk/mcs/; revision=45616
2005-06-08 07:41:23 +00:00
Gert Driesen c60b61668a * Win32Exception.cs: improve error message for error 10047.
svn path=/trunk/mcs/; revision=45421
2005-06-04 21:29:41 +00:00
Gert Driesen 0c548363d0 * TypeDescriptor.cs: in .NET 2.0, GetComponentName returns null if object is
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
2005-06-04 19:34:20 +00:00
Gonzalo Paniagua Javier a67985a789 2005-05-31 Gonzalo Paniagua Javier <[email protected]>
* Win32Exception.cs: add 10049 WSAEADDRNOTAVAIL. Fixes bug #75106.


svn path=/trunk/mcs/; revision=45266
2005-05-31 19:18:32 +00:00
Ben Maurer dd19011aa6 locking fixes
svn path=/trunk/mcs/; revision=45088
2005-05-26 23:18:18 +00:00
Gonzalo Paniagua Javier c871137a63 2005-05-15 Andreas Nahr <[email protected]>
* IComponent.cs: Fix attributes


svn path=/trunk/mcs/; revision=44593
2005-05-16 20:41:54 +00:00
Gonzalo Paniagua Javier 9a299f5a14 2005-04-28 Gonzalo Paniagua Javier <[email protected]>
* TypeDescriptor.cs: implemented GetEditor. Patch by Jonathan Chambers.


svn path=/trunk/mcs/; revision=43706
2005-04-28 06:22:47 +00:00
Gonzalo Paniagua Javier b4a48ad262 2005-04-25 Gonzalo Paniagua Javier <[email protected]>
* 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
2005-04-26 02:24:01 +00:00
Lluis Sanchez 01fbadca43 2005-04-22 LLuis Sanchez Gual <[email protected]>
* 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
2005-04-22 11:43:19 +00:00
Gonzalo Paniagua Javier 1d9c9e2441 Fix warnings
svn path=/trunk/mcs/; revision=43368
2005-04-21 00:47:25 +00:00
Lluis Sanchez a17e4c4f77 2005-04-13 LLuis Sanchez Gual <[email protected]>
* 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
2005-04-13 08:53:39 +00:00
Jackson Harper dde7ceca57 * ReflectionEventDescriptor.cs: Bind handlers to the actual event so that
the delegates get invoked when the methods are.


svn path=/trunk/mcs/; revision=41388
2005-03-03 10:08:57 +00:00
Jackson Harper bee0840a2d * EventDescriptorCollection.cs: Handle null in the constructor properly.
svn path=/trunk/mcs/; revision=41384
2005-03-03 07:27:07 +00:00
Geoff Norton aee2911d4d * CharConverter.cs: Implement the ability to convert from ""
svn path=/trunk/mcs/; revision=40567
2005-02-12 23:21:45 +00:00
Geoff Norton 5e3b04e0e8 2005-02-10 Geoff Norton <[email protected]>
* CultureInfoConverter.cs: Implement converting from the 
        string "(default)" that MS will put in .resx files.



svn path=/trunk/mcs/; revision=40451
2005-02-11 02:33:44 +00:00
Lluis Sanchez 8c994cba57 2005-02-10 Lluis Sanchez Gual <[email protected]>
* BindableAttribute.cs: Implemented 2.0 api.


svn path=/trunk/mcs/; revision=40382
2005-02-10 09:50:22 +00:00
Gonzalo Paniagua Javier 4ddbe4b253 2005-02-05 Gonzalo Paniagua Javier <[email protected]>
* 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
2005-02-05 18:06:52 +00:00
Lluis Sanchez 2d03f0d67d 2005-01-27 LLuis Sanchez Gual <[email protected]>
* DateTimeConverter.cs, CultureInfoConverter.cs, DecimalConverter.cs,
	TimeSpanConverter.cs, GuidConverter.cs, EnumConverter.cs: 
	Implemented support for InstanceDescriptor.

svn path=/trunk/mcs/; revision=39664
2005-01-27 22:07:20 +00:00
Lluis Sanchez 99a43738fe 2005-01-25 LLuis Sanchez Gual <[email protected]>
* Win32Exception.cs: Set the correct name for the serialized
	NativeErrorCode. This fixes bug #71572. Fix by Aleksandar Dezelin.


svn path=/trunk/mcs/; revision=39519
2005-01-25 17:53:23 +00:00
Joerg Rosenkranz 7c626eac1e 2005-01-24 Joerg Rosenkranz <[email protected]>
* 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
2005-01-24 07:52:37 +00:00
Jonathan Pryor f6c41e758e * TypeDescriptor.cs: Fix Info.GetDefaultEvent() so that it filters events
properly.  This matches .NET 1.1 and fixes a test case.

svn path=/trunk/mcs/; revision=39201
2005-01-19 21:24:41 +00:00
Jonathan Pryor 5f85a88ada * TypeDescriptor.cs: Fix GetComponentName() so that it returns the type
name if no Site is present.  This matches .NET 1.1 and fixes a test case.

svn path=/trunk/mcs/; revision=39194
2005-01-19 20:43:10 +00:00
Gonzalo Paniagua Javier b94fff0ad8 2005-01-12 Gonzalo Paniagua Javier <[email protected]>
* 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
2005-01-12 21:43:05 +00:00
Lluis Sanchez 3be1da2a65 2005-01-10 LLuis Sanchez Gual <[email protected]>
* BindingDirection.cs: New enum.


svn path=/trunk/mcs/; revision=38616
2005-01-10 14:48:17 +00:00
Dick Porter f75c54ffea 2004-12-09 Dick Porter <[email protected]>
* Win32Exception.cs: Add another socket error, fix the message of
	some old ones.


svn path=/trunk/mcs/; revision=37525
2004-12-09 22:00:11 +00:00
Gonzalo Paniagua Javier fcbc77cd65 2004-10-01 Gonzalo Paniagua Javier <[email protected]>
* AttributeCollection.cs: support attributes inherited from the one
	we want. Fixes bug #67088. Thanks to Sander Rijken.

svn path=/trunk/mcs/; revision=34578
2004-10-01 02:51:30 +00:00
Raja R Harinath 97553bb62e cvs ignores, sorry about the spam
svn path=/trunk/mcs/; revision=33874
2004-09-14 09:59:51 +00:00
Jackson Harper 8f27aa58e9 * Container.cs: Release all when we are supposed to release all.
svn path=/trunk/mcs/; revision=32345
2004-08-14 19:06:51 +00:00
Atsushi Eno 215f375fb4 2004-07-14 Atsushi Enomoto <[email protected]>
* Added IChangeTracking.cs and IRevertibleChangeTracking.cs.

svn path=/trunk/mcs/; revision=31143
2004-07-14 15:17:43 +00:00
Lluis Sanchez 5e42abf59a * AsyncCompletedEventArgs.cs: Implemented.
* AsyncCompletedEventHandler.cs: Implemented.

svn path=/trunk/mcs/; revision=30953
2004-07-09 15:37:52 +00:00
Duncan Mak 24f5ef2c44 Add MIT license to System.dll
svn path=/trunk/mcs/; revision=30054
2004-06-21 18:02:11 +00:00
Gonzalo Paniagua Javier aea4b0b92d 2004-06-12 Gonzalo Paniagua Javier <[email protected]>
* TypeDescriptor.cs: when a component in componentTable is Disposed,
	remove it from the table.

svn path=/trunk/mcs/; revision=29395
2004-06-12 01:20:25 +00:00
Paolo Molaro db110f03e5 Playing "fix the build after gert's changes" game.
svn path=/trunk/mcs/; revision=29319
2004-06-11 10:56:02 +00:00
Paolo Molaro 1934e90228 Fri Jun 11 11:58:22 CEST 2004 Paolo Molaro <[email protected]>
* LocalizableAttribute.cs, DesignerSerializationVisibilityAttribute.cs,
	DesignOnlyAttribute.cs: fix targets for attributes.

svn path=/trunk/mcs/; revision=29291
2004-06-11 09:09:50 +00:00
Lluis Sanchez 158becb0c3 * BooleanConverter.cs: Improved ConverFrom method.
svn path=/trunk/mcs/; revision=26771
2004-05-05 17:05:53 +00:00
Lluis Sanchez 0243460628 * TypeDescriptor.cs: Do not return attributes that have the same TypeID.
This fixes bug #57655.

svn path=/trunk/mcs/; revision=26204
2004-04-28 20:21:55 +00:00
Gonzalo Paniagua Javier 64490c7b36 2004-04-24 Gonzalo Paniagua Javier <[email protected]>
* TypeDescriptor.cs: fixed ComponentInfo.GetAttributes(). Now it returns
	all the attributes, not just DesignerAttribute instances. nGallery
	complained.

svn path=/trunk/mcs/; revision=25919
2004-04-24 04:04:54 +00:00
Lluis Sanchez a23b84c5df * BooleanConverter.cs: GetStandardValues must return an array of booleans,
not an array of strings.

svn path=/trunk/mcs/; revision=25775
2004-04-21 13:56:52 +00:00
Lluis Sanchez 13e6c4c423 2004-04-16 Lluis Sanchez Gual <[email protected]>
* ReflectionPropertyDescriptor.cs: Access internal PropertyInfo through
	GetPropertyInfo(). Take into account that a component may not be sited or
	not have some services.
	* TypeDescriptor.cs: GetTypeFromName():  Added null check for Site property.
	Other minor fixes.

2004-04-16	Joerg Rosenkranz <[email protected]>

	* TypeDescriptor.cs: Fixed implementation of GetConverter.
	  This fixes #57137.

svn path=/trunk/mcs/; revision=25616
2004-04-16 18:22:14 +00:00
Lluis Sanchez 650c8f9a5b * System.dll.sources: Added
System.ComponentModel/ReflectionEventDescriptor.cs,
		System.ComponentModel/ReflectionPropertyDescriptor.cs.

svn path=/trunk/mcs/; revision=25474
2004-04-14 14:52:33 +00:00
Lluis Sanchez a0ea05369d * AttributeCollection.cs: Added new internal constructor.
* DesignerAttribute.cs: Fixed property TypeId.
	* EventDescriptorCollection.cs: Added internal constructor. Added new
	  method Filter that removes events that do not have the specified
	  attributes.
	* MemberDescriptor.cs: Minor fixes.
	* PropertyDescriptor.cs: Implemented some missing methods.
	* PropertyDescriptorCollection.cs: Added internal constructor. Implemented
	  Sort methods.
	* ReferenceConverter.cs: Removed some TODOs.
	* SyntaxCheck.cs: Implemented CheckMachineName and CheckPath.
	* TypeDescriptor.cs: Implemented most of missing methods.

svn path=/trunk/mcs/; revision=25473
2004-04-14 14:44:09 +00:00
Lluis Sanchez f86d09a098 Oops, fixed compilation issue.
svn path=/trunk/mcs/; revision=25231
2004-04-08 19:53:17 +00:00
Lluis Sanchez c315382a2a * AmbientValueAttribute.cs, EnumConverter.cs, ListChangedEventArgs.cs:
Removed unneded TODOs.
	* ComponentResourceManager.cs: Implemented ApplyResources.
	* EventDescriptorCollection.cs: Implemented several missing methods.
	* LicFileLicenseProvider.cs: Implemented.
	* MemberDescriptor.cs: Implemented some missing methods. Handle correctly
	  the creation of the Attribute list.
	* TypeConverter.cs: Use null as default value for attribute array parameter.

svn path=/trunk/mcs/; revision=25229
2004-04-08 19:49:21 +00:00
Gonzalo Paniagua Javier df807a0282 2004-04-08 Gonzalo Paniagua Javier <[email protected]>
* Win32Exception.cs: added 10024 (WSAEMFILE).

svn path=/trunk/mcs/; revision=25201
2004-04-07 23:06:04 +00:00
Lluis Sanchez 2a724d4747 * AttributeCollection.cs: Don't try to create a default attribute if the
attribute type does not have a default constructor. Fix by Jon Wagner.
	This fixes #53898.

svn path=/trunk/mcs/; revision=25038
2004-04-05 14:14:11 +00:00