-
Notifications
You must be signed in to change notification settings - Fork 3.8k
/
ChangeLog
1710 lines (1126 loc) · 55.5 KB
/
ChangeLog
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
2008-03-01 Ivan N. Zlatev <contact@i-nz.net>
* Component.cs: Do not set the Site to null on disposing as this
is the Containers job. Instead try to remove from Container if sited.
2008-02-26 Gert Driesen <drieseng@users.sourceforge.net>
* CharConverter.cs: Use trimmed value in FormatException.
2008-02-26 Ivan N. Zlatev <contact@i-nz.net>
* PropertyDescriptor.cs:
- Implement CreateInstance and GetTypeFromName
and refactor GetEditor and Converter use them.
- Drop TypeDescriptor.GetTypeFromName as we also want to check the
ComponentType assembly, which it doesn't do.
* TypeDescriptor.cs: Make GetTypeFromName private as it is no longer
used from the outside.
2008-02-26 Ivan N. Zlatev <contact@i-nz.net>
* ReflectionPropertyDescriptor.cs: Use Attribute.GetCustomAttributes
instead of PropertyInfo.GetCustomAttributes as the latter will not
retrieve inherited attributes.
[Fixes bug #322464]
2008-02-17 Gert Driesen <drieseng@users.sourceforge.net>
* CharConverter.cs (ConvertFrom): Avoid NRE when value is null.
Provide more info when left of value > 1.
* CultureInfoConverter.cs (ConvertFrom): Avoid NRE when value is null.
On 2.0 profile, use case-sensitive comparison for (Default) value.
Use case-insensitive comparing when value is considered as displayname.
Provide more info in exception message.
(ConvertTo): Use '(Default)' instead of '(default)' for invariant
culture.
2008-02-16 Ivan N. Zlatev <contact@i-nz.net>
* CharConverter.cs:
- Handle \0 char.
- Trim the ConvertFrom string
- Handle null string in ConvertFrom as \0 char.
[Fixes bug #362112]
2008-02-16 Ivan N. Zlatev <contact@i-nz.net>
* CultureInfoConverter.cs:
- Handle "(default)" to and from conversion
- Sort cultures alphabetically and also cache them.
[Fixes bug #362113]
2008-02-16 Ivan N. Zlatev <contact@i-nz.net>
* TypeDescriptor.cs, PropertyDescriptor.cs:
Do not throw when can't find Type from string.
* ReferenceConverter.cs: Convert null value from and to string.
Return an empty StandardValueCollection.
[Part of fix for bugs #360666 and #358332]
2008-02-04 Ivan N. Zlatev <contact@i-nz.net>
* DateTimeConverter.cs: handle empty strings in ConvertFrom.
2008-01-19 Rolf Bjarne Kvinge <RKvinge@novell.com>
* MaskedTextProvider.cs: Fix IsPassword (found by Gendarme)
2008-01-07 Sebastien Pouliot <sebastien@ximian.com>
* CultureInfoConverter.cs: Gendarme's AvoidToStringOnStringsRule in
ConvertFrom method.
* DesignerAttribute.cs: Gendarme's AvoidToStringOnStringsRule in
TypeId getter.
2008-01-04 Ivan N. Zlatev <contact@i-nz.net>
* ReflectionPropertyDescriptor.cs: Create Transactions with
descriptions when setting/resetting the property.
2008-01-03 Gert Driesen <drieseng@users.sourceforge.net>
* Component.cs: Moved Site property before Container to match MS. This
allows a unit test for ordered result of TypeDescriptor.GetProperties
to pass.
2008-01-03 Vladimir Krasnov <vladimirk@mainsoft.com>
* TypeDescriptor.cs: fixed properties order in returning collections
in PropertyDescriptorCollection
2007-12-25 Vladimir Krasnov <vladimirk@mainsoft.com>
* PropertyDescriptorCollection.cs: optimized Find method, removed
culture sensitive string comparison
2007-12-19 Dick Porter <dick@ximian.com>
* Win32Exception.cs: Add text for error 5, Access denied.
2007-12-04 Arina Itkes <arinai@mainsoft.com>
* WarningException.cs:
Changes for SOAP serialization compatibility with .NET.
2007-12-04 Gert Driesen <drieseng@users.sourceforge.net>
* Win32Exception.cs: Do not pass native error to base ctors.
2007-11-15 Gert Driesen <drieseng@users.sourceforge.net>
* MemberDescriptor.cs: Spaces to tabs, code formatting.
* PropertyDescriptor.cs: When adding or removing a new handler for an
existing component, update the hashtable. In GetValueChangedHandler,
return null if component is null.
<2007-11-12 Atsushi Enomoto <atsushi@ximian.com>
* PropertyDescriptor.cs : implement GetValueChangedHandler().
* ToolboxItemFilterAttribute.cs : implement ToString().
2007-11-03 Gert Driesen <drieseng@users.sourceforge.net>
* InvalidEnumArgumentException.cs: Fixed default ctor. Modified
message on 2.0 profile for ctor (string, int, Type) to match MS.
2007-10-29 Atsushi Enomoto <atsushi@ximian.com>
* AttributeCollection.cs : implemented FromExisting().
* Container.cs : implemented ValidateName() support.
* ContainerFilterService.cs : FilterComponents() does nothing.
* InstanceCreationEditor.cs : implemented get_Text().
2007-09-27 Atsushi Enomoto <atsushi@ximian.com>
* TypeDescriptor.cs : added missing ObsoleteAttribute.
* MemberDescriptor.cs, PropertyDescriptor.cs :
implemented GetInvocationTarget().
2007-09-25 Jonathan Pobst <monkey@jpobst.com>
* AsyncOperationManager.cs: Tie the SynchronizationContext here to
SynchronizationContext.Current.
2007-09-17 Gert Driesen <drieseng@users.sourceforge.net>
* ComponentResourceManager.cs: In ApplyResources, when culture is
null use CurrentUICulture. Use hashtable, which is case-insensitive
when IgnoreCase is true, to store the resources of the specified
culture and its parent(s). When IgnoreCase is set, perform a
case-insensitive lookup of property. Ignore resources that have no
value, or where the value is not an instance of the property type.
Fixes bug #82674.
2007-09-05 Gert Driesen <drieseng@users.sourceforge.net>
* EnumConverter.cs: Added support for converting flag enum from
string.
2007-08-31 Gert Driesen <drieseng@users.sourceforge.net>
* TypeConverter.cs: Fixed GetConvertFromException and
GetConvertToException to match MS, and use these in ConvertFrom and
ConvertTo.
* EnumConverter.cs: Use IsFlags instead of duplicating code that
checks for FlagsAttribute. When converting to InstanceDescriptor and
no corresponding enum field is found, then let base class throw a
NotSupportedException.
2007-08-30 Ivan N. Zlatev <contact@i-nz.net>
* EnumConverter.cs: Implemented conversion to InstanceDescriptor
for enums with a FlagsAttribute. Fixes #82118.
2007-08-29 Ivan N. Zlatev <contact@i-nz.net>
* DesignerOptionService.cs: implemented.
* ITreeDesigner.cs: implemented.
2007-08-25 Ivan N. Zlatev <contact@i-nz.net>
* NestedContainer.cs: implemented.
2007-08-25 Ivan N. Zlatev <contact@i-nz.net>
* TypeDescriptionProvider.cs: implemented.
* TypeDescriptionProviderAttribute.cs: implemented.
* CustomTypeDescriptor.cs: implemented.
* TypeDescriptor.cs: Implement CreateInstance.
2007-08-20 Gert Driesen <drieseng@users.sourceforge.net>
* EnumConverter.cs: Conversion to and from Enum [] is 2.0 only.
Modified conversion to string to support enum names and integral
values, and throw ArgumentException if value is not valid.
For conversion to InstanceDescriptor, use ConvertToString to get name
of field. Avoid endless loop when converting to Enum [].
* ToolboxItemFilterType.cs: Spaces to tabs.
* TypeConverter.cs: Improve exception messages (to match MS).
2007-08-19 Ivan N. Zlatev <contact@i-nz.net>
* ReflectionPropertyDescriptor.cs: For read-only properties,
ShouldSerializeValue must also check for
DesignerSerializationVisibility.Content and if present return true.
2007-08-19 Ivan N. Zlatev <contact@i-nz.net>
* EnumConverter.cs: Implement conversion to and from Enum[]
2007-08-19 Ivan N. Zlatev <contact@i-nz.net>
* TypeDescriptor.cs: GetProperties should return only the last type's
implementation of a property with a matching name in the base types.
2007-08-03 Jb Evain <jbevain@novell.com>
* 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.
2007-08-01 Atsushi Enomoto <atsushi@ximian.com>
* BackgroundWorker.cs : remove extra MonoTODOs.
2007-07-21 Gert Driesen <drieseng@users.souceforge.net>
* DisplayNameAttribute.cs: To match MS, do not change null DisplayName
to a zero-length string. Modified IsDefaultAttribute to take into
account null DisplayName.
2007-07-16 Gert Driesen <drieseng@users.sourceforge.net>
* ReflectionPropertyDescriptor.cs: For read-only properties,
ShouldSerializeValue must only take into account the return value
of the ShouldSerialize method. Code formatting.
2007-07-12 Rolf Bjarne Kvinge <RKvinge@novell.com>
* 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.
2007-07-12 Rolf Bjarne Kvinge <RKvinge@novell.com>
* TypeDescriptor.cs: GetEditor: Make sure the static constructor of the
editors basetype is called, since that's where we're initializing
the editor table.
2007-07-11 Igor Zelmanovich <igorz@mainsoft.com>
* ReflectionPropertyDescriptor: fixed ShouldSerializeValue:
MSDN: If this method cannot find a DefaultValueAttribute or
a ShouldSerializeMyProperty method, it cannot create optimizations
and it returns true.
2007-07-11 Igor Zelmanovich <igorz@mainsoft.com>
* ReflectionPropertyDescriptor: fixed ShouldSerializeValue:
avoid NullReferenceException.
2007-07-10 Rolf Bjarne Kvinge <RKvinge@novell.com>
* TypeDescriptor.cs: Implemented AddEditorTable, and check the editor
table in GetEditor if no editor can be found using attributes.
2007-06-30 Gert Driesen <drieseng@users.sourceforge.net>
* PropertyDescriptorCollection.cs: Added missing explicit interface
implementation of IEnumerable.GetEnumerator.
* TypeDescriptor.cs: Params modifier applies to 1.0 profile as well.
Spaces to tabs.
2007-05-31 Atsushi Enomoto <atsushi@ximian.com>
* LookupBindingPropertiesAttribute.cs:
Should be sealed. Implemented GetHashCode().
2007-05-31 Atsushi Enomoto <atsushi@ximian.com>
* 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.
2007-05-31 Atsushi Enomoto <atsushi@ximian.com>
* PropertyDescriptor.cs : oops, wrong fix.
2007-05-31 Atsushi Enomoto <atsushi@ximian.com>
* PropertyDescriptor.cs : call base. fix winforms tests.
2007-05-31 Rolf Bjarne Kvinge <RKvinge@novell.com>
* LookupBindingPropertiesAttribute.cs: Implemented.
2007-05-31 Atsushi Enomoto <atsushi@ximian.com>
* 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.
2007-05-15 Adar Wesley <adarw@mainsoft.com>
* 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.
2007-05-14 Vladimir Krasnov <vladimirk@mainsoft.com>
* PropertyDescriptorCollection.cs: fixed Find method, compare using
invariant culture
2007-05-10 Rolf Bjarne Kvinge <RKvinge@novell.com>
* MaskedTextProvider.cs: Small fix for ToString for passwords.
2007-05-09 Igor Zelmanovich <igorz@mainsoft.com>
* Win32Exception.cs:
added MonoNotSupported attribute for TARGATE_JVM.
2007-05-08 Igor Zelmanovich <igorz@mainsoft.com>
* RunWorkerCompletedEventArgs.cs: added 'new' keyword, cause
UserState hides inherit property.
2007-04-07 Gert Driesen <drieseng@users.sourceforge.net>
* RecommendedAsConfigurableAttribute.cs: Mark obsolete on 2.0 profile.
2007-03-05 Rolf Bjarne Kvinge <RKvinge@novell.com>
* MaskedTextProvider.cs: Make internal methods private.
2007-02-27 Rolf Bjarne Kvinge <RKvinge@novell.com>
* MaskedTextProvider.cs: Added.
2007-02-17 Gert Driesen <drieseng@users.sourceforge.net>
* DateTimeConverter.cs: Fixed typo in exception message.
2007-02-13 Gert Driesen <drieseng@users.sourceforge.net>
* TypeDescriptor.cs: Do not assume that an ISite always has an
ITypeDescriptorFilterService. Fixes bug #80836.
2007-01-29 Marek Habersack <grendello@gmail.com>
* PasswordPropertyTextAttribute.cs: Implement.
2007-01-21 Zoltan Varga <vargaz@gmail.com>
* RecommendedAsConfigurableAttribute.cs: Make this non-obsolete to fix
the 2.0 build, since System.ServiceProcess.ServiceController uses it.
2007-01-20 Chris Toshok <toshok@ximian.com>
* 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 <toshok@ximian.com>
* BindingList.cs: new class.
2007-01-13 Miguel de Icaza <miguel@novell.com>
* DataObjectFieldAttribute.cs: Removed some code I left from the
copy/paste activity from the xxxMethodxx.
2007-01-12 Miguel de Icaza <miguel@novell.com>
* DataObjectFieldAttribute.cs: Add new file.
2007-01-11 Dick Porter <dick@ximian.com>
* Win32Exception.cs: Add error 50 (ERROR_NOT_SUPPORTED)
2007-01-08 Raja R Harinath <rharinath@novell.com>
* ISupportInitializeNotification.cs: Add implemented interface.
* ICancelAddNew.cs, IIntellisenseBuilder.cs: New.
* INestedContainer.cs, INestedSite.cs: New.
2007-01-02 Konstantin Triger <kostat@mainsoft.com>
* DataObjectAttribute.cs: Implemented.
2007-01-02 Konstantin Triger <kostat@mainsoft.com>
* EventHandlerList.cs: Do not reject null key.
2006-12-25 Raja R Harinath <harinath@gmail.com>
* InitializationEventAttribute.cs: New.
2006-12-24 Konstantin Triger <kostat@mainsoft.com>
* Implemented DataObjectMethodAttribute and DataObjectMethodType.
2006-12-22 Rolf Bjarne Kvinge <RKvinge@novell.com>
* DefaultBindingPropertyAttribute.cs: new attribute.
2006-12-21 Gert Driesen <drieseng@users.sourceforge.net>
* MemberDescriptor.cs: On 2.0 profile, take the DisplayNameAttribute
into account for DisplayName. Fixes bug #80292.
2006-12-20 Chris Toshok <toshok@ximian.com>
* AttributeProviderAttribute.cs: new class.
2006-12-20 Chris Toshok <toshok@ximian.com>
* ComplexBindingPropertiesAttribute.cs: add Default field.
2006-12-20 Chris Toshok <toshok@ximian.com>
* ComplexBindingPropertiesAttribute.cs: new 2.0 attribute.
2006-12-19 Chris Toshok <toshok@ximian.com>
* PropertyDescriptor.cs: stop crashing on a missing type
converter.
2006-12-06 Chris Toshok <toshok@ximian.com>
* ReflectionPropertyDescriptor.cs: turns out if "ShouldSerialize*"
is present and returns false, "CanReset*" also returns false.
2006-12-06 Chris Toshok <toshok@ximian.com>
* ReflectionPropertyDescriptor.cs: ShouldSerializeValue should
return false if there's no ShouldSerialize method.
2006-12-06 Chris Toshok <toshok@ximian.com>
* ReflectionPropertyDescriptor.cs: fixes for CanResetValue and
ShouldSerializeValue - we need to find both public and nonpublic
methods.
2006-12-01 Duncan Mak <duncan@a-chinaman.com>
* AddingNewEventArgs.cs:
* AddingNewEventHandler.cs: Added.
* ListChangedEventArgs.cs (.ctor): Uncomment the bit about
property descriptor now that there's an implementation of it.
(PropertyDescriptor): New 2.0 property.
2006-11-29 Ivan N. Zlatev <contact@i-nz.net>
* MemberDescriptor.cs, ReflectionPropertyDescriptor.cs: 1) The
ReflectionPropretyDescriptor must be able to operate with non
public properties.
2) The current implementation ignores the fact that the component
can be in design mode. In design mode some of the properties (the
design-time ones) are supposed to be redirected to the
designer. The component which should be used to access the
property is retrieved by using MemberDescriptor.GetInvokee
(implemented in the patch). Updated the
ReflectorPropertyDescriptor to use GetInvokee to decide which
component should it use.
Reviewed by: Miguel de Icaza
2006-11-28 Miguel de Icaza <miguel@novell.com>
* TypeDescriptor.cs: This implementation is really from Gonzalo,
he dictated to me :-)
2006-11-20 Nagappan A <anagappan@novell.com>
* ISupportInitializeNotification.cs: New Interface file to support
NET 2.0 features.
2006-11-09 Chris Toshok <toshok@ximian.com>
* ReflectionPropertyDescriptor.cs: IsReadOnly needs to take into
account the ReadOnlyAttribute.
2006-11-08 Gert Driesen <drieseng@users.sourceforge.net>
* ArrayConverter.cs: Modifed ConvertTo for Array => String to match
MS. In GetProperties, throw NRE to match MS.
2006-11-08 Chris Toshok <toshok@ximian.com>
* ArrayConverter.cs: implement GetProperties correctly, by
creating ArrayPropertyDescriptor objects for each array element.
2006-10-05 Andrew Skiba <andrews@mainsoft.com>
* EventHandlerList.cs: Implement event handler list according to MS
definition. No hash table, just a simple list with good performance
for a small number of events (<20) and worse performance when number
of events is bigger (patch by eyala@mainsoft.com).
2006-10-29 Alexander Olk <alex.olk@googlemail.com>
* ComponentResourceManager.cs: Make ApplyResources work.
Instead of iterating through the resource set table we now
read the property infos of an object and check if there is
an item in the resource set for each property info. This makes
it finally possible to create language dependent resources
that do not have to include everything from a parent culture
resource (mostly invariant culture).
Throw an ArgumentNullException if value or objectName is null.
2006-10-29 Alexander Olk <alex.olk@googlemail.com>
* ComponentResourceManager.cs: Don't close the resource set in
ApplyResources, it is possible to call ApplyResources multiple
times. Closing the resource set means that it gets disposed.
Fixes bug #79182.
2006-09-28 Andrew Skiba <andrews@mainsoft.com>
* Component.cs,PropertyDescriptorCollection.cs,MarshalByValueComponent.cs:
TARGET_JVM
2006-09-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* Container.cs: 'unsite' the component when removing it. Fixes
bug #79255. Patch by Ivan N. Zlatev.
2006-09-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* TypeDescriptor.cs: don't ignore toplevel attributes when they are
overriden.
Patch by Ivan N. Zlatev that fixes bug #79256.
2006-08-20 Gert Driesen <drieseng@users.sourceforge.net>
* InvalidEnumArgumentException.cs: Beautify error message.
2006-08-14 Raja R Harinath <rharinath@novell.com>
* IRaiseItemChangedEvents.cs: Add. Mentioned in #79012.
2006-07-31 Sebastien Pouliot <sebastien@ximian.com>
* InvalidEnumArgumentException.cs: Updated to 2.0.
* LicenseException.cs: Updated to 2.0. Add a demand for
SerializationFormatter on GetObjectData method.
* TypeDescriptor.cs: Add linkdemand for ReflectionPermission on
CreateEvent and CreateProperties methods. Add linkdemand for
unrestricted on ComNativeDescriptorHandler get/set.
* WarningException.cs: Updated to 2.0. Add a demand for
SerializationFormatter on GetObjectData method.
* Win32Exception.cs: Add a demand for SerializationFormatter on
GetObjectData method.
2006-07-14 Peter Dennis Bartok <pbartok@novell.com>
* MaskedTextResultHint.cs: Added
2006-05-31 Gert Driesen <drieseng@users.sourceforge.net>
* TypeConverter.cs: Added explicit interface implementation for
ICollection.CopyTo and IEnumerable.GetEnumerator. Fixes corcompare
warnings.
* Component.cs: Remove TypeConverter attribute. Fixes corcompare
warning.
* AttributeCollection.cs: Added explicit interface implemenation for
IEnumerable.GetEnumerator, IList.RemoveAt and ICollection.Count.
Fixes corcompare warnings.
* PropertyDescriptorCollection.cs: Added explicit interface
implemenation for ICollection.Count. Fixes corcompare warning.
2006-05-22 Atsushi Enomoto <atsushi@ximian.com>
* TypeDescriptor.cs : GetProperties() does not return indexers.
2006-05-11 Atsushi Enomoto <atsushi@ximian.com>
* ReflectionPropertyDescriptor.cs,
DerivedPropertyDescriptor.cs : invoke OnValueChanged() when
the value was successfully changed. It is needed to have
MWF PropertyGrid change properties successfully.
2006-05-08 Atsushi Enomoto <atsushi@ximian.com>
* AsyncOperation.cs : SynchronizationContext.OperationStarted()
should not be called more than once. So move it from Post() to
.ctor(). Thanks again to cl.
2006-05-08 Atsushi Enomoto <atsushi@ximian.com>
* AsyncOperation.cs : call OperationStared() at Post(). Call
OperationCompleted() at the finalizer. Thanks to cl.
2006-05-08 Atsushi Enomoto <atsushi@ximian.com>
* SettingsBindableAttribute.cs : new file. Bug #78333 is fixed.
2006-04-27 Miguel de Icaza <miguel@novell.com>
* Component.cs: The converter for the Component is
ComponentConverter, which makes the GetPropertiesSupported return
true. So JChamber's patch should work now.
2006-04-26 Miguel de Icaza <miguel@novell.com>
* TypeDescriptor.cs (Info.GetProperties, TypeInfo.GetProperties):
Use the more specific GetProperties call so we do not return
static properties, should fix that part of the PropertyGrid bug
#78192.
Code formatting police hit again.
* ReflectionPropertyDescriptor.cs (CanResetvalue): Do not
dereference a null value, avoids crash in property grid.
Code formatting police.
2006-04-25 Miguel de Icaza <miguel@novell.com>
* TypeConverter.cs (ConvertFrom): Do not crash if we are passed a
null value.
2006-04-25 Atsushi Enomoto <atsushi@ximian.com>
* BaseNumberConverter.cs : (ConvertTo) regardless of InnerType,
it converts the argument value to InnerType using supplied format.
(It might be not limited to NET_2_0 but it's too cosmetic to dig
into the problem. At least this is for run-test-ondotnet fixes.)
2006-04-17 Atsushi Enomoto <atsushi@ximian.com>
* BackgroundWorker.cs, RunWorkerCompletedEventArgs.cs :
cosmetic attribute fixes.
2006-04-17 Atsushi Enomoto <atsushi@ximian.com>
* AsyncOperation.cs,
AsyncOperationManager.cs
BackgroundWorker.cs
DoWorkEventArgs.cs
DoWorkEventHandler.cs
RunWorkerCompletedEventArgs.cs
RunWorkerCompletedEventHandler.cs :
Initial implementation of AsyncOperation and BackgroundWorker.
(However I think it does not work as expected - it depends on
SynchronizationContext.Post() and I doubt it works fine - the
callback should run synchronously while it does not look so.)
2006-03-30 Atsushi Enomoto <atsushi@ximian.com>
* AsyncCompletedEventArgs.cs : constructor did not initialize fields.
2006-03-28 Atsushi Enomoto <atsushi@ximian.com>
* ProgressChangedEventHandler.cs ProgressChangedEventArgs.cs :
added 2.0 types.
2006-02-26 Pedro Martinez Julia <pedromj@gmail.com>
* HandledEventHandler.cs: Resolving a "Replaced" SVN flag.
2006-02-23 Andrew Skiba <andrews@mainsoft.com>
* TypeDescriptor.cs: performance improvement for GetAttributes,
GetProperties and GetEvents. See the standalone test for the use case.
2006-01-31 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* Container.cs: patch by Brian Crowell that fixes GetService().
2006-01-22 Chris Toshok <toshok@ximian.com>
* DesignerSerializationVisibilityAttribute.cs: in the 2.0 case,
this attribute is valid on fields and events as well.
2005-11-19 Zoltan Varga <vargaz@gmail.com>
* TypeDescriptor.cs: Small changes to make this more compliant with
MSDN docs and actual MS behaviour.
2005-11-07 Pedro Martinez Julia <pedromj@gmail.com>
* IBindingListView.cs Initial implementation
* HandledEventArgs.cs Initial implementation
* HandledEventHandler.cs Initial implementation
* ListSortDescription.cs: Initial implementation
* ListSortDescriptionCollection.cs: Initial implementation
2005-10-31 Dick Porter <dick@ximian.com>
* Win32Exception.cs: Add another error code.
2005-09-20 Chris Toshok <toshok@ximian.com>
* INotifyPropertyChanged.cs: new interface.
2005-09-19 Gert Driesen <drieseng@users.sourceforge.net>
* TypeDescriptor.cs: Remove usage of removed internal
PropertyDescriptorCollection ctor. Return read-only collection.
* PropertyDescriptorCollection.cs: Removed internal ctor taking
ArrayList. Add ctor for making read-only collection. Added
read-only checks. Implemented IsReadOnly and IsFixedSize. Empty now
returns read-only collection to match MS.NET.
2005-09-12 Gert Driesen <drieseng@users.sourceforge.net>
* TypeConverter.cs: Only return browsable properties in GetProperties.
2005-08-28 Gert Driesen <drieseng@users.sourceforge.net>
* DateTimeConverter.cs: ConvertTo must return zero-length string
for DateTime.MinValue. Use CultureInfo.GetFormat to obtain
DateTimeFormatInfo to match MS.NET.
2005-08-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* TypeDescriptor.cs: remove double lock in DefaultConverter.
2005-08-26 Gert Driesen <drieseng@users.sourceforge.net>
* BaseNumberConverter.cs: Use CultureInfo.GetFormat to obtain
NumberFormatInfo to match MS.NET. Added ConvertToString abstract
method for conversion to string.
* ByteConverter.cs: Implemented ConvertToString.
* DecimalConverter.cs: Implemented ConvertToString.
* DoubleConverter.cs: Implemented ConvertToString.
* Int16Converter.cs: Implemented ConvertToString.
* Int32Converter.cs: Implemented ConvertToString.
* Int64Converter.cs: Implemented ConvertToString.
* SByteConverter.cs: Implemented ConvertToString.
* SingleConverter.cs: Implemented ConvertToString.
* UInt16Converter.cs: Implemented ConvertToString.
* UInt32Converter.cs: Implemented ConvertToString.
* UInt64Converter.cs: Implemented ConvertToString.
2005-08-19 Gert Driesen <drieseng@users.sourceforge.net>
* SingleConverter.cs: Implement conversion from string to match MS.NET.
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.
2005-08-18 Gert Driesen <drieseng@users.sourceforge.net>
* EditorBrowsableState.cs: Changed line ending from CRLF to LF to
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.
2005-08-16 Gert Driesen <drieseng@users.sourceforge.net>
* BaseNumberConverter.cs: In ConvertFrom, wrap all exceptions that
are thrown while converting from string in an Exception.
2005-08-16 Gert Driesen <drieseng@users.sourceforge.net>
* ToolboxItemAttribute.cs: Fixed GetHashCode to correspond with MS.NET.
Fixed initialization order. Throw ArgumentException if item type
cannot be loaded.
2005-08-09 Michael Hutchinson <m.j.hutchinson@gmail.com>
* ToolboxItemAttribute.cs: Fixed typo
2005-08-09 Gert Driesen <drieseng@users.sourceforge.net>
* IComponent.cs: Fixed Designer attribute to match MS.NET.
* DesignerAttribute.cs: DesignerBaseTypeName defaults to fullname of
IDesigner to match MS.NET.
2005-08-07 Michael Hutchinson <m.j.hutchinson@dur.ac.uk>
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.
2005-07-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* TypeDescriptor.cs: (GetProperties) throw exception if 'component' is
null.
2005-06-30 Sebastien Pouliot <sebastien@ximian.com>
* Win32Exception.cs: Added some declarative security (permission from
corlib) as an initial test (outside corlib). Added new constructors
for NET_2_0.
2005-06-27 LLuis Sanchez Gual <lluis@novell.com>
* CultureInfoConverter.cs: Correctly look for verbose name of
the culture being converted.
2005-06-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* ToolboxItemAttribute.cs: fix the fix that was fixed before.
2005-06-08 Zoltan Varga <vargaz@freemail.hu>
* ToolboxItemAttribute.cs: Revert last change as it breaks the build.
2005-06-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* ToolboxItemAttribute.cs: fix default type name.
2005-06-04 Gert Driesen <drieseng@users.sourceforge.net>
* Win32Exception.cs: improve error message for error 10047.
2005-06-04 Gert Driesen <drieseng@users.sourceforge.net>
* 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.
2005-05-31 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* Win32Exception.cs: add 10049 WSAEADDRNOTAVAIL. Fixes bug #75106.
2005-05-15 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
* IComponent.cs: Fix attributes
2005-04-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* TypeDescriptor.cs: implemented GetEditor. Patch by Jonathan Chambers.
2005-04-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* DefaultValueAttribute.cs: fixed the .ctor that takes a type and a
string. Previous implementation caused *lots* of exceptions being thrown
when processing WebControl types.
2005-04-22 LLuis Sanchez Gual <lluis@novell.com>
* 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.
2005-04-13 LLuis Sanchez Gual <lluis@novell.com>
* 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.
2005-03-02 Jackson Harper <jackson@ximian.com>
* ReflectionEventDescriptor.cs: Bind handlers to the actual event so that
the delegates get invoked when the methods are.
2005-03-02 Jackson Harper <jackson@ximian.com>
* EventDescriptorCollection.cs: Handle null in the constructor properly.
2005-02-12 Geoff Norton <gnorton@customerdna.com>
* CharConverter.cs: Implement the ability to convert from "".
2005-02-10 Geoff Norton <gnorton@customerdna.com>
* CultureInfoConverter.cs: Implement converting from the
string "(default)" that MS will put in .resx files.
2005-02-10 Lluis Sanchez Gual <lluis@novell.com>
* BindableAttribute.cs: Implemented 2.0 api.
2005-02-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* TypeDescriptor.cs: fixed bug #71601. GetConverter should handle
TypeConverter derived classes that take a Type argument.
2005-01-27 LLuis Sanchez Gual <lluis@novell.com>
* DateTimeConverter.cs, CultureInfoConverter.cs, DecimalConverter.cs,
TimeSpanConverter.cs, GuidConverter.cs, EnumConverter.cs:
Implemented support for InstanceDescriptor.
2005-01-25 LLuis Sanchez Gual <lluis@novell.com>
* Win32Exception.cs: Set the correct name for the serialized
NativeErrorCode. This fixes bug #71572. Fix by Aleksandar Dezelin.
2005-01-24 Joerg Rosenkranz <joergr@voelcker.com>
* TypeDescriptor.cs: Changed handling of interfaces and objects in
GetConverter to reflect the behaviour of .NET. This fixes bug #71444.
2005-01-19 Jonathan Pryor <jonpryor@vt.edu>
* TypeDescriptor.cs: Fix Info.GetDefaultEvent() so that it filters events
properly. This matches .NET 1.1 and fixes a test case.
2005-01-19 Jonathan Pryor <jonpryor@vt.edu>
* 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.
2005-01-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* BaseNumberConverter.cs: when the culture we get is null, set it to the
default. Fixes bug #67033. Thanks to Sander Rijken.
2005-01-10 LLuis Sanchez Gual <lluis@novell.com>