Commit Graph
436 Commits
Author SHA1 Message Date
Jb Evain e8dcf3eef8 in System.Diagnostics:
2007-08-03  Jb Evain  <[email protected]>

	* ProcessThreadCollection.cs
	  ProcessModuleCollection.cs: use our own collection base
	  for the 2.1 profile, as ReadOnlyCollectionBase does not exist
	  in 2.1, and they are internalized by the linker.

in System.ComponentModel:

2007-08-03  Jb Evain  <[email protected]>

	* ComponentCollection.cs: use our own collection base
	  for the 2.1 profile, as ReadOnlyCollectionBase does not exist
	  in 2.1, and they are internalized by the linker.

svn path=/trunk/mcs/; revision=83421
2007-08-03 17:32:44 +00:00
Atsushi Eno 044c5019fa 2007-08-01 Atsushi Enomoto <[email protected]>
* BackgroundWorker.cs : remove extra MonoTODOs.

	* BackgroundWorkerTest.cs : new test to clear some doubts on impl.

	* System_test.dll.sources : added BackgroundWorkerTest.cs.


svn path=/trunk/mcs/; revision=83156
2007-08-01 09:14:28 +00:00
Gert Driesen 770de091b8 * DisplayNameAttribute.cs: To match MS, do not change null DisplayName
to a zero-length string. Modified IsDefaultAttribute to take into
account null DisplayName.
* DisplayNameAttribute.cs: Added ctor tests. Fixed tests to pass on
MS (now that our implementation matches that of MS). Added tests
for Default, GetHashCode and Equals.

svn path=/trunk/mcs/; revision=82414
2007-07-21 13:37:11 +00:00
Noam Lampert b7afee3ec9 Fix for compilation in TARGET_JVM
svn path=/trunk/mcs/; revision=82034
2007-07-16 13:53:05 +00:00
Gert Driesen 44545ba137 * ReflectionPropertyDescriptor.cs: For read-only properties,
ShouldSerializeValue must only take into account the return value
of the ShouldSerialize method. Code formatting.
* PropertyDescriptorTests.cs: Added test for ShouldSerializeValue
behavior with read-only properties.

svn path=/trunk/mcs/; revision=82017
2007-07-16 07:08:02 +00:00
Rolf Bjarne Kvinge 0c94aa5f5a * PropertyDescriptor.cs: GetEditor: We have to check the property
itself for attributes as well, not only the property type.
* TypeDescriptor.cs: Make a couple of methods internal so that
  PropertyDescriptor can use them.

svn path=/trunk/mcs/; revision=81879
2007-07-12 16:11:26 +00:00
Rolf Bjarne Kvinge 37e7899300 * TypeDescriptor.cs: GetEditor: Make sure the static constructor of the
editors basetype is called, since that's where we're initializing
  the editor table.

svn path=/trunk/mcs/; revision=81876
2007-07-12 15:34:17 +00:00
Igor Zelmanovich 66b92d0368 2007-07-11 Igor Zelmanovich <[email protected]>
* ReflectionPropertyDescriptor: fixed ShouldSerializeValue:
	MSDN: If this method cannot find a DefaultValueAttribute or 
	a ShouldSerializeMyProperty method, it cannot create optimizations 
	and it returns true.


svn path=/trunk/mcs/; revision=81794
2007-07-11 13:09:16 +00:00
Igor Zelmanovich a12731c2ed 2007-07-11 Igor Zelmanovich <[email protected]>
* ReflectionPropertyDescriptor: fixed ShouldSerializeValue:
	avoid NullReferenceException.


svn path=/trunk/mcs/; revision=81769
2007-07-11 07:02:53 +00:00
Rolf Bjarne Kvinge 6a4e8e4a1f * TypeDescriptor.cs: Implemented AddEditorTable, and check the editor
table in GetEditor if no editor can be found using attributes.

svn path=/trunk/mcs/; revision=81707
2007-07-10 14:13:57 +00:00
Noam Lampert b436d116ea Fix for compilation in Java
svn path=/trunk/mcs/; revision=81148
2007-07-01 17:59:11 +00:00
Gert Driesen e998f17c28 * PropertyDescriptorCollection.cs: Added missing explicit interface
implementation of IEnumerable.GetEnumerator.
* TypeDescriptor.cs: Params modifier applies to 1.0 profile as well.
Spaces to tabs.

svn path=/trunk/mcs/; revision=81104
2007-06-30 13:33:25 +00:00
Atsushi Eno 4dfba85788 2007-05-31 Atsushi Enomoto <[email protected]>
* LookupBindingPropertiesAttribute.cs:
	  Should be sealed. Implemented GetHashCode().

	* LookupBindingPropertiesAttributeTest.cs:
	  test GetHashCode() as well.


svn path=/trunk/mcs/; revision=78359
2007-05-31 17:20:10 +00:00
Atsushi Eno de3e69b9a0 2007-05-31 Atsushi Enomoto <[email protected]>
* ContainerFilterService.cs CustomTypeDescriptor.cs
	  InstanceCreationEditor.cs InvalidAsynchronousStateException.cs
	  MultilineStringConverter.cs NestedContainer.cs
	  NullableConverter.cs TypeDescriptionProvider.cs
	  TypeDescriptionProviderAttribute.cs :
	  2.0 stubs except for [Obsolete].
	* TypeDescriptor.cs : added missing 2.0 members.

	* System.dll.sources :
	  added couple of new 2.0 sys.ComponentModel types.


svn path=/trunk/mcs/; revision=78356
2007-05-31 17:01:50 +00:00
Atsushi Eno cdb36cfd31 2007-05-31 Atsushi Enomoto <[email protected]>
* PropertyDescriptor.cs : oops, wrong fix.


svn path=/trunk/mcs/; revision=78345
2007-05-31 16:14:48 +00:00
Atsushi Eno 7528a78ab5 2007-05-31 Atsushi Enomoto <[email protected]>
* PropertyDescriptor.cs : call base. fix winforms tests.


svn path=/trunk/mcs/; revision=78343
2007-05-31 16:12:19 +00:00
Rolf Bjarne Kvinge 8bb699bce3 Forgot base class...
svn path=/trunk/mcs/; revision=78332
2007-05-31 13:59:11 +00:00
Rolf Bjarne Kvinge 6d1cb0bc9c * LookupBindingPropertiesAttribute.cs: Implemented.
svn path=/trunk/mcs/; revision=78324
2007-05-31 13:41:39 +00:00
Atsushi Eno 6256817e8b 2007-05-31 Atsushi Enomoto <[email protected]>
* AsyncOperationManager.cs AttributeCollection.cs
	  BackgroundWorker.cs BindingList.cs CategoryAttribute.cs
	  Component.cs DataObjectFieldAttribute.cs DefaultValueAttribute.cs
	  DescriptionAttribute.cs EventDescriptorCollection.cs
	  IComNativeDescriptorHandler.cs IListSource.cs
	  ListSortDescriptionCollection.cs MemberDescriptor.cs
	  PropertyDescriptor.cs SyntaxCheck.cs ToolboxItemFilterAttribute.cs:
	  2.0 profile updates.


svn path=/trunk/mcs/; revision=78306
2007-05-31 09:42:25 +00:00
Miguel de Icaza 4009d6c777 This should not be a TODO, its a programmer note
svn path=/trunk/mcs/; revision=78152
2007-05-29 18:32:02 +00:00
Adar Wesley fa26c82574 2007-05-15 Adar Wesley <[email protected]>
* AttributeCollection.cs: added missing method FromExisting.

        * Container.cs: added missing method ValidateName

        * DefaultValueAttribute.cs: added missing method SetValue.

        * EventHandlerList.cs: added missing method AddHandlers.

        * MemberDescriptor.cs: added missing method GetInvocationTarget.

        * PropertyDescriptor.cs: added missing method GetValueChangedHandler.

        * TypeDescriptor.cs: added missing methods CreateInstance, GetFullComponentName,
        GetClassName, GetReflectionType, CreateAssociation, GetAssociation,
        RemoveAssociation, RemoveAssociations.

        * MenuCommand.cs: added missing method overload Invoke

        * ContextStack.cs: added missing method Append.

        * Trace.cs: added missing method Refresh.


svn path=/trunk/mcs/; revision=77397
2007-05-15 11:57:31 +00:00
Vladimir Krasnov 62cf3d2b7e * PropertyDescriptorCollection.cs: fixed Find method, compare using invariant culture
svn path=/trunk/mcs/; revision=77332
2007-05-14 08:59:27 +00:00
Rolf Bjarne Kvinge 9c481890e8 In Test/System.ComponentModel:
2007-05-10  Rolf Bjarne Kvinge  <[email protected]>

	* MaskedTextProviderTest.cs: New test.

In System.ComponentModel:
2007-05-10  Rolf Bjarne Kvinge  <[email protected]>

	* MaskedTextProvider.cs: Small fix for ToString for passwords.


svn path=/trunk/mcs/; revision=77150
2007-05-10 18:58:06 +00:00
Igor Zelmanovich 6f3ec291af 2007-05-09 Igor Zelmanovich <[email protected]>
* Win32Exception.cs:
	added MonoNotSupported attribute for TARGATE_JVM.	
		
	* NetworkStream.cs:
	* TcpClient.cs:
	* TcpListener.cs:
	* UdpClient.cs:			
	added MonoNotSupported attribute for TARGATE_JVM.	

svn path=/trunk/mcs/; revision=76996
2007-05-09 11:15:35 +00:00
Igor Zelmanovich f27dcc17d5 2007-05-08 Igor Zelmanovich <[email protected]>
* RunWorkerCompletedEventArgs.cs: added 'new' keyword, cause 
	UserState hides inherit property.


svn path=/trunk/mcs/; revision=76919
2007-05-08 11:25:07 +00:00
Miguel de Icaza 03898249a5 Small fix reported on the list
svn path=/trunk/mcs/; revision=76065
2007-04-22 16:05:48 +00:00
Gert Driesen 4fb73375c7 * RecommendedAsConfigurableAttribute.cs: Mark obsolete on 2.0 profile.
svn path=/trunk/mcs/; revision=75506
2007-04-07 16:24:19 +00:00
Rolf Bjarne Kvinge 8b15b757ec 2007-03-05 Rolf Bjarne Kvinge <[email protected]>
* MaskedTextProvider.cs: Make internal methods private.


svn path=/trunk/mcs/; revision=73732
2007-03-05 16:35:52 +00:00
Rolf Bjarne Kvinge 84b4a1c218 In Test/System.ComponentModel:
2007-02-27  Rolf Bjarne Kvinge  <[email protected]>

	* MaskedTextProviderTest.cs: Added.
	* MaskedTextProviderTestGenerator.cs: Added.

In System.ComponentModel:
2007-02-27  Rolf Bjarne Kvinge  <[email protected]>

	* MaskedTextProvider.cs: Added.

In .:
2007-02-27  Rolf Bjarne Kvinge  <[email protected]>

	* System_test.dll.sources: Added MaskedTextProviderTest.cs
	* System.dll.sources: Added MaskedTextProvider.cs


svn path=/trunk/mcs/; revision=73455
2007-02-27 09:11:47 +00:00
Gert Driesen 8cf28ceccf * DateTimeConverter.cs: Fixed typo in exception message.
svn path=/trunk/mcs/; revision=73052
2007-02-17 08:22:50 +00:00
Gert Driesen e9e89c0034 * TypeDescriptorTests.cs: Use Assert instead of deriving from
deprecated Assertion. Added test for component that has a site without
an ITypeDescriptorFilterService. Fixes bug #80836.
* TypeDescriptor.cs: Do not assume that an ISite always has an
ITypeDescriptorFilterService. Fixes bug #80836.

svn path=/trunk/mcs/; revision=73040
2007-02-16 20:03:04 +00:00
Konstantin Triger 581d0291ad remove TARGET_JVM defines
svn path=/trunk/mcs/; revision=72292
2007-02-05 12:44:48 +00:00
Marek Habersack 32a900b908 implement a missing attribute class
svn path=/trunk/mcs/; revision=71909
2007-01-29 19:47:33 +00:00
Zoltan Varga 328b89c8e2 2007-01-21 Zoltan Varga <[email protected]>
* RecommendedAsConfigurableAttribute.cs: Make this non-obsolete to fix
	the 2.0 build, since System.ServiceProcess.ServiceController uses it.

svn path=/trunk/mcs/; revision=71428
2007-01-21 18:17:38 +00:00
Chris Toshok fb6c91c929 * InheritanceLevel.cs: 2.0 class-status work.
* ListSortDirection.cs: same.

	* BindableSupport.cs: same.

	* SyntaxCheck.cs: same.

	* CancelEventHandler.cs: same.

	* ListChangedEventHandler.cs: same.

	* SettingsBindableAttribute.cs: same.

	* ToolboxItemFilterType.cs: same.

	* PropertyChangedEventHandler.cs: same.

	* MarshalByValueComponent.cs: same.

	* LicenseUsageMode.cs: same.

	* RefreshProperties.cs: same.

	* RecommendedAsConfigurableAttribute.cs: same.

2007-01-20  Chris Toshok  <[email protected]>


svn path=/trunk/mcs/; revision=71407
2007-01-21 03:52:13 +00:00
Chris Toshok d350d3e221 In Test/System.ComponentModel:
2007-01-20  Chris Toshok  <[email protected]>

	* BindingListTest.cs: new tests for BindingList<T>

In System.ComponentModel:
2007-01-20  Chris Toshok  <[email protected]>

	* BindingList.cs: new class.


svn path=/trunk/mcs/; revision=71405
2007-01-21 03:48:03 +00:00
Miguel de Icaza 0bc966e06f Sorry, nothing to see here
svn path=/trunk/mcs/; revision=70950
2007-01-13 05:02:55 +00:00
Miguel de Icaza cb6b1e1e3d 2007-01-12 Miguel de Icaza <[email protected]>
* DataObjectFieldAttribute.cs: Add new file.

2007-01-12  Miguel de Icaza  <[email protected]>

	* Trace.cs: Add a number of 2.0 overloads.



svn path=/trunk/mcs/; revision=70948
2007-01-13 04:30:06 +00:00
Konstantin Triger 911056c75e fix typo
svn path=/trunk/mcs/; revision=70855
2007-01-11 13:38:21 +00:00
Dick Porter 556648b407 2007-01-11 Dick Porter <[email protected]>
* System.dll.sources: Add System.Net.Sockets/{IOControlCode,SocketInformation,SocketInformationOptions,TransmitFileOptions}.cs

2007-01-11  Dick Porter  <[email protected]>

	* Win32Exception.cs: Add error 50 (ERROR_NOT_SUPPORTED)

2007-01-11  Dick Porter  <[email protected]>

	* IOControlCode.cs: 
	* SocketInformation.cs: 
	* Socket.cs: 
	* UdpClient.cs: 2.0 profile updates, loosely based on a patch by
	Sridhar Kulkarni.

	* SocketInformationOptions.cs: 
	* TransmitFileOptions.cs: Implemented by Sridhar Kulkarni
	([email protected])



svn path=/trunk/mcs/; revision=70853
2007-01-11 13:30:28 +00:00
Raja R Harinath 32a685931c * ISupportInitializeNotification.cs: Add implemented interface.
* ICancelAddNew.cs, IIntellisenseBuilder.cs: New.
* INestedContainer.cs, INestedSite.cs: New.

svn path=/trunk/mcs/; revision=70640
2007-01-08 12:10:22 +00:00
Konstantin Triger 9df3f2afb1 DataObjectAttribute.cs: Implemented
svn path=/trunk/mcs/; revision=70363
2007-01-02 14:07:24 +00:00
Konstantin Triger fa86a4c482 Do not reject null key
svn path=/trunk/mcs/; revision=70354
2007-01-02 13:28:03 +00:00
Raja R Harinath cc1ae7ca22 * InitializationEventAttribute.cs: New.
svn path=/trunk/mcs/; revision=70035
2006-12-25 04:29:48 +00:00
Konstantin Triger 61c9456424 Implemented DataObjectMethodAttribute and DataObjectMethodType
svn path=/trunk/mcs/; revision=70016
2006-12-24 11:41:38 +00:00
Rolf Bjarne Kvinge d06a984cec In Test/System.ComponentModel:
2006-12-22  Rolf Bjarne Kvinge  <[email protected]>

	* DefaultBindingPropertyAttributeTest.cs: new tests.

In System.ComponentModel:
2006-12-22  Rolf Bjarne Kvinge  <[email protected]>

	* DefaultBindingPropertyAttribute.cs: new attribute.

In .:
2006-12-22  Rolf Bjarne Kvinge  <[email protected]>

	* System_test.dll.sources: added DefaultBindingPropertyAttributeTest.cs

	* System.dll.sources: added DefaultBindingPropertyAttribute.cs


svn path=/trunk/mcs/; revision=69949
2006-12-22 17:16:42 +00:00
Gert Driesen beb5f379a9 * MemberDescriptor.cs: On 2.0 profile, take the DisplayNameAttribute
into account for DisplayName. Fixes bug #80292.
* PropertyDescriptorTests.cs: Added test for bug #80292. Fixed
accessibility of NestedClass, not caugh due to bug #80338.

svn path=/trunk/mcs/; revision=69895
2006-12-21 20:13:27 +00:00
Chris Toshok 58781eb8e8 In Test/System.ComponentModel:
* AttributeProviderAttributeTest.cs: new tests.

2006-12-20  Chris Toshok  <[email protected]>

In System.ComponentModel:
	* AttributeProviderAttribute.cs: new class.

2006-12-20  Chris Toshok  <[email protected]>

In .:
	* System_test.dll.sources: add AttributeProviderAttributeTest.cs

	* System.dll.sources: add AttributeProviderAttribute.cs

2006-12-20  Chris Toshok  <[email protected]>


svn path=/trunk/mcs/; revision=69846
2006-12-20 23:31:56 +00:00
Chris Toshok e8564cfa57 In Test/System.ComponentModel:
* ComplexBindingPropertiesAttributeTest.cs: add test for Default
	field.

2006-12-20  Chris Toshok  <[email protected]>

In System.ComponentModel:
	* ComplexBindingPropertiesAttribute.cs: add Default field.

2006-12-20  Chris Toshok  <[email protected]>


svn path=/trunk/mcs/; revision=69845
2006-12-20 23:01:43 +00:00
Chris Toshok a506c4efe8 In Test/System.ComponentModel:
2006-12-20  Chris Toshok  <[email protected]>

	* ComplexBindingPropertiesAttributeTest.cs: new tests.

In System.ComponentModel:
2006-12-20  Chris Toshok  <[email protected]>

	* ComplexBindingPropertiesAttribute.cs: new 2.0 attribute.

In .:
2006-12-20  Chris Toshok  <[email protected]>
	* System_test.dll.sources: add ComplexBindingPropertiesAttributeTest.cs

	* System.dll.sources: add ComplexBindingPropertiesAttribute.cs


svn path=/trunk/mcs/; revision=69842
2006-12-20 21:37:18 +00:00