Commit Graph
132 Commits
Author SHA1 Message Date
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
Gonzalo Paniagua Javier b0cbd68a34 2004-03-19 Gonzalo Paniagua Javier <[email protected]>
* Win32Exception.cs: added ERROR_PATH_NOT_FOUND that reports the same
	message as ERROR_FILE_NOT_FOUND.

svn path=/trunk/mcs/; revision=24348
2004-03-19 20:23:09 +00:00
Sebastien Pouliot de78083fb4 2004-03-17 Ivan Hamilton <[email protected]>
* LicenseManager.cs: Completed TODO.

svn path=/trunk/mcs/; revision=24216
2004-03-17 12:32:49 +00:00
Gonzalo Paniagua Javier 6b85ff307f 2003-12-10 Gonzalo Paniagua Javier <[email protected]>
* Win32Exception.cs: use a switch instead of creating a hashtable when
	mapping from an error code to a message.

svn path=/trunk/mcs/; revision=20977
2003-12-10 16:49:33 +00:00
Miguel de Icaza f9b908cd24 2003-11-22 Miguel de Icaza <[email protected]>
* PropertyDescriptorCollection.cs (Insert): Another one.

svn path=/trunk/mcs/; revision=20346
2003-11-23 00:06:53 +00:00
Miguel de Icaza 4279c0c1ea 2003-11-22 Miguel de Icaza <[email protected]>
* PropertyTabAttribute.cs (Equals): Avoid recurssion

svn path=/trunk/mcs/; revision=20345
2003-11-22 23:59:05 +00:00
Andreas N ccf287dc04 2003-11-13 Andreas Nahr <[email protected]>
* IComponent.cs: Added missing attribute

svn path=/trunk/mcs/; revision=19954
2003-11-13 19:30:06 +00:00
Andreas N 9a51f6d100 2003-11-12 Andreas Nahr <[email protected]>
* ComponentResourceManager.cs: Added and partially implemented

svn path=/trunk/mcs/; revision=19907
2003-11-12 20:22:54 +00:00
Duncan Mak 45d8f67e10 Some late-night patch commits for Miguel.
* TabPage.cs (constructor): added a constructor for constructing tab
pages with a title. Patch from Jonathan Hogg
<[email protected]>.

* EnumConverter.cs (ConvertFrom): Removed the special handling for
multiple values. This is done in Enum.Parse already.

* TypeDescriptor.cs (GetConverter): Does not work for enumeration
types because EnumConverter does not have a default
constructor. Fixed by changing the special handling for
enumeration types.

svn path=/trunk/mcs/; revision=18074
2003-09-14 04:06:42 +00:00
Jerome Laban db8ee2b426 2003-08-31 Jerome Laban <[email protected]>
* Container.cs: A site without name cannot be duplicate.

svn path=/trunk/mcs/; revision=17763
2003-08-31 13:53:23 +00:00
Gonzalo Paniagua Javier 7cdca5e2fb 2003-07-22 Gonzalo Paniagua Javier <[email protected]>
* Win32Exception.cs: added message for 10054.

svn path=/trunk/mcs/; revision=16529
2003-07-22 14:34:59 +00:00
Andreas N 005e9e650b 2003-07-17 Andreas Nahr <[email protected]>
* CategoryAttribute.cs: Added localization support

svn path=/trunk/mcs/; revision=16389
2003-07-18 09:25:47 +00:00
Andreas N b17ef86c75 2003-07-17 Andreas Nahr <[email protected]>
* IComponent.cs:
	* MarshalByValueComponent.cs: Reworked attributes based on the new Consts scheme

svn path=/trunk/mcs/; revision=16337
2003-07-17 11:22:55 +00:00
Gonzalo Paniagua Javier dcbb8f79d0 2003-07-16 Gonzalo Paniagua Javier <[email protected]>
* TypeDescriptor.cs: fixed GetConverter (type) for enumerations that
	have a TypeConverter. Fixes bug #46397.

svn path=/trunk/mcs/; revision=16281
2003-07-16 01:32:32 +00:00
Jerome Laban ba7287d57d 2003-07-14 Jerome Laban <[email protected]>
* IComponent.cs: Removed duplicate Designer attribute.

svn path=/trunk/mcs/; revision=16192
2003-07-14 09:51:39 +00:00
Andreas N 5bc39e4713 2003-07-13 Andreas Nahr <[email protected]>
* Component.cs: Implementation added
	* Container.cs: Implementation added
	* MarshalByValueComponent.cs: Implementation added
	* ReferenceConverter.cs: Small addition for future implementation

svn path=/trunk/mcs/; revision=16176
2003-07-13 22:06:17 +00:00
Andreas N a0081a1f49 2003-07-10 Andreas Nahr <[email protected]>
* TypeConverter.cs: Implemented missing methods
	* TypeDescriptor.cs: Redirections added

svn path=/trunk/mcs/; revision=16109
2003-07-10 16:59:29 +00:00
Gonzalo Paniagua Javier 64667b0cee added 10040 - message too long
svn path=/trunk/mcs/; revision=16018
2003-07-07 12:48:25 +00:00
Andreas N 152be6c2cc 2003-07-05 Andreas Nahr <[email protected]>
* EnumConverter.cs: Fixed signature
	* EventDescriptorCollection.cs: Fixed signature
	* InheritanceLevel.cs: Fixed enum values; little restyling
	* License.cs: Removed undefined member
	* LicenseManager.cs: Fixed signature, little implementation added
	* PropertyDescriptorCollection.cs: Removed unused field (fixes last remaining compiler warning in this namespace)
	* WarningException.cs: Removed wrong attribute
	* Win32Exception.cs: Added missing attribute

svn path=/trunk/mcs/; revision=15956
2003-07-05 12:57:44 +00:00
Andreas N 94ef21574a 2003-07-02 Andreas Nahr <[email protected]>
* AttributeCollection.cs: Fixed public members
	* BaseNumberConverter.cs: Changed InnerType to internal to match public assembly signature
	* BrowsableAttribute.cs: Removed wrong constructor, Restyle according to guidelines
	* CategoryAttribute.cs: Changed public fields to properties
	* EnumConverter.cs: Added and implemented missing properties, improved implementation
	* EventDescriptorCollection.cs: Fixed wrong signatures, added implementation, fixed potential bug
	* PropertyDescriptorCollection.cs: Fixed public members
	* ReferenceConverter.cs: Implementation added
	* SyntaxCheck.cs: Improved string checks, added MonoTODO descriptions
	* TypeDescriptor.cs: Implementations added

svn path=/trunk/mcs/; revision=15875
2003-07-02 18:26:12 +00:00
Andreas N 93fa12d0d5 2003-07-02 Andreas Nahr <[email protected]>
* ISite.cs: Fixed attributes, fixed header
	* ITypeDescriptorContext.cs: Fixed attributes, formatting corrections
	* WarningException.cs: Fixed attributes, formatting corrections
	* AttributeCollection.cs: Fixed attributes
	* DesignerSerializationVisibility.cs: Fixed attributes
	* TypeConverter.cs: Fixed attributes

	* MarshalByValueComponent.cs:
	* IComponent.cs: Fixed attributes, supports .Net 1.0 and 1.1

	* DescriptionAttribute.cs:
	* DesignerCategoryAttribute.cs:
	* DoubleConverter.cs:
	* EditorBrowsableAttribute.cs:
	* EventDescriptorCollection.cs:
	* PropertyChangedEventHandler.cs:
	* RefreshEventArgs.cs:
	* StringConverter.cs:
	* DefaultValueAttribute.cs: Reformatted following style guidelines

	* License.cs: Removed unused MonoTODOs
	* LicenseContext.cs: Implemented
	* LicenseException.cs: Implemented
	* LicenseProvider.cs: Removed unused MonoTODOs and unneccesary Finalizer
	* LicenseUsageMode.cs: Fixed enum
	* RefreshProperties.cs: Fixed enum
	* LicFileLicenseProvider.cs: Implementation added
	* ExtenderProvidedPropertyAttribute.cs: Implementation added, formatting corrections
	* ExpandableObjectConverter.cs: Implemented
	* ComponentConverter.cs: Implemented

svn path=/trunk/mcs/; revision=15865
2003-07-02 14:51:39 +00:00
Gonzalo Paniagua Javier de4b36fff1 Forgot these
svn path=/trunk/mcs/; revision=15615
2003-06-24 20:45:33 +00:00
Gonzalo Paniagua Javier d7c7c9ca73 2003-06-23 Andreas Nahr <[email protected]>
* DesignerAttribute.cs: Fixed AttributeUsage, implementation errors,
	better Hashcode generation
	* EditorAttribute.cs: Fixed AttributeUsage, implementation errors,
	better Hashcode generation
	* LicenseContext.cs: Added and implemented missing property
	* ListBindableAttribute.cs: Simplified implementation, removed
	unneccessary data.
	* ReadOnlyAttribute.cs: Better Hashcode generation
	* RunInstallerAttribute.cs: Better Hashcode generation, more robust
	Equals check.

	* LicenseProviderAttribute.cs: Fixed AttributeUsage, indentation
	* ProvidePropertyAttribute.cs: Fixed AttributeUsage
	* ToolboxItemFilterAttribute.cs: Fixed AttributeUsage

	* MarshalByValueComponent.cs:
	* IContainer.cs:
	* IComponent.cs: Added missing attribute(s)

svn path=/trunk/mcs/; revision=15614
2003-06-24 20:37:44 +00:00
Gonzalo Paniagua Javier 33d2a980d3 implementation and fixes by Andreas Nahr.
svn path=/trunk/mcs/; revision=15582
2003-06-23 16:31:41 +00:00
Gonzalo Paniagua Javier e885d25b85 2003-06-23 Gonzalo Paniagua Javier <[email protected]>
* System.ComponentModel/IExtenderProvider.cs: mono-stylized.
	* System.ComponentModel/IComNativeDescriptorHandler.cs:
	* System.ComponentModel/SyntaxCheck.cs: new files from Andreas Nahr.

svn path=/trunk/mcs/; revision=15567
2003-06-23 12:06:08 +00:00
Martin Willemoes Hansen 2076fb1c67 * Stubed rest of System.ComponentModel
svn path=/trunk/mcs/; revision=12967
2003-03-31 11:52:28 +00:00
Miguel de Icaza 12b0fe847f Some changes to get it building
svn path=/trunk/mcs/; revision=12931
2003-03-30 20:26:48 +00:00
Martin Willemoes Hansen 65a753f87a * Stubed System.ComponentModel/LicenseContext.cs
* Stubed System.ComponentModel/LicenseUsageMode.cs
        * Stubed rest of System.ComponentModel.Design

svn path=/trunk/mcs/; revision=12914
2003-03-29 17:37:15 +00:00
Martin Willemoes Hansen 05313f9d20 * Stubed System.ComponentModel/InheritanceAttribute.cs
* Stubed System.ComponentModel/InheritanceLevel.cs
        * Stubed System.ComponentModel.Design/IDesignerFilter.cs
        * Stubed System.ComponentModel.Design/IInheritanceService.cs

svn path=/trunk/mcs/; revision=12903
2003-03-29 13:01:31 +00:00
Dick Porter 4be18ef0a5 2003-03-20 Dick Porter <[email protected]>
* Win32Exception.cs: Made the fallback error more useful by
	reporting the error number

svn path=/trunk/mcs/; revision=12699
2003-03-20 09:49:03 +00:00
Gonzalo Paniagua Javier 52e995a684 2003-03-14 Gonzalo Paniagua Javier <[email protected]>
* MarshalByValueComponent.cs: removed a monotodo.

svn path=/trunk/mcs/; revision=12498
2003-03-14 07:00:24 +00:00
Gonzalo Paniagua Javier 019f67dea2 2003-03-13 Gonzalo Paniagua Javier <[email protected]>
* Win32Exception.cs: added error code 2.

svn path=/trunk/mcs/; revision=12476
2003-03-13 19:16:38 +00:00
Gonzalo Paniagua Javier fd91897a61 2003-03-04 Gonzalo Paniagua Javier <[email protected]>
* Win32Exception.cs: implemented GetObjectData ().

svn path=/trunk/mcs/; revision=12194
2003-03-04 20:44:31 +00:00
Gonzalo Paniagua Javier a05736ef43 2003-03-04 Gonzalo Paniagua Javier <[email protected]>
* list.unix: added RunInstallerAttribute.cs
	* System.ComponentModel/RunInstallerAttribute.cs: New file.

svn path=/trunk/mcs/; revision=12193
2003-03-04 20:27:43 +00:00