/
ChangeLog
10237 lines (6416 loc) · 319 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
2010-01-13 Atsushi Enomoto <atsushi@ximian.com>
* Double.cs : no need to preserve old code.
2010-01-12 Atsushi Enomoto <atsushi@ximian.com>
* Double.cs : AllowLeading/TrailingWhite should also check those
surrounding string constants such as "NaN".
2010-01-11 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* Int32.cs: Implement support for exponent in the Parse methods.
Fixes #542464.
Backport r149356.
2010-01-07 Jb Evain <jbevain@novell.com>
* MonoType.cs (.MemberType): return the proper member type
for generic parameters.
backport r149175.
2010-01-07 Sebastien Pouliot <sebastien@ximian.com>
* Convert.cs: Fix line endings in ToBase64String (bug #568778)
and also the default line length. Code changed to not require
a BinaryReader over a MemoryStream to reduce memory requirements.
[Backport r149171]
2010-01-03 Zoltan Varga <vargaz@gmail.com>
* Array.cs: Fix ArrayReadOnlyList.CopyTo. Fixes #564095.
2010-01-03 Zoltan Varga <vargaz@gmail.com>
* DateTime.cs (TryParseExact): Handle exceptions. Fixes #567857.
2009-12-21 Marek Habersack <mhabersack@novell.com>
* Int32.cs: treat terminating null as whitespace
2009-12-19 Zoltan Varga <vargaz@gmail.com>
* String.cs: Fix the various IndexOf and LastIndexOf methods so they handle
"" and a non-zero startIndex correctly. Fixes #566106.
2009-12-17 Sebastien Pouliot <sebastien@ximian.com>
* String.cs: Fix #565602 right-padding empty strings.
[Backport r148706]
2009-12-09 Jb Evain <jbevain@novell.com>
* StringComparer.cs (GetHashCode): properly throw an
ANE instead of triggering a NRE.
backports r147932.
2009-12-08 Jb Evain <jbevain@novell.com>
* Enum.cs (IConvertible.ToType): properly convert enum values
to strings instead of their numeric values.
backport r147482.
2009-11-26 Sebastien Pouliot <sebastien@ximian.com>
* Random.cs: Fix case where the diff between min and max
is very large in Next(int,int). Fix bug #558593
[Backport r146993]
2009-11-25 Zoltan Varga <vargaz@gmail.com>
* Delegate.cs (GetHashCode): Fix this so it is constant.
2009-11-24 Jb Evain <jbevain@novell.com>
* Array.cs: use ContainsGenericParameters instead of
IsGenericTypeDefinition as it catches more cases.
backport r146834.
2009-11-24 Jb Evain <jbevain@novell.com>
* Array.cs (IList.this[int]): prevent the use of the IList indexer
when dealing with a multi dimensional array.
backport r146831.
2009-11-24 Jb Evain <jbevain@novell.com>
* Array.cs (Clear): throw an IndexOutOfRangeException instead
of an ArgumentOutRangeException for a negative length.
backport of r146825.
2009-11-24 Jb Evain <jbevain@novell.com>
* Array.cs (CreateInstance): do not allow open generic types.
backport r146821.
2009-11-24 Jb Evain <jbevain@novell.com>
* Array.cs (CreateInstance): do not allow void arrays.
backport r146814,r146818.
2009-11-11 Sebastien Pouliot <sebastien@ximian.com>
* Console.cs: Reduce duplication between OpenStandard[Input|
Output|Error] and, for Moonlight, don't return a NullStream if
security is disabled (e.g. when smcs executes)
r: alan
2009-11-09 Chris Toshok <toshok@ximian.com>
* Console.cs (OpenStandardError,OpenStandardOut,OpenStandardInput):
for NET_2_1 && !MONOTOUCH, disable these streams unless a debugger
is attached, or unless the MOONLIGHT_ENABLE_CONSOLE environment
variable is defined.
reviewed: alan
2009-10-30 Sebastien Pouliot <sebastien@ximian.com>
* MonoType.cs: Don't pass null value to icalls
GetCorrespondingInflated[Constructor|Method]
[Backport r145099]
2009-10-28 Lluis Sanchez Gual <lluis@novell.com>
* MarshalByRefObject.cs: In InitializeLifetimeService, if a lease
exists for the object return it, instead of always creating
a new one. Fixes bug #544357.
2009-10-27 Sebastien Pouliot <sebastien@ximian.com>
* String.cs: Remove unused (and unneeded) internal call defs.
Reduce duplication (and fix test) for Concat (object,object).
Avoid allocating zero-length strings in the cases where the
FX does not do so.
[Backport r144921]
2009-10-14 Jonathan Pryor <jpryor@novell.com>
* AppDomain.cs: Re-add BaseDirectory in the MonoTouch profile.
2009-10-14 Sebastien Pouliot <sebastien@ximian.com>
* Exception.cs: Use StackFrame.GetSecureFileName to display (or
not) the file names (and paths). Don't serialize Source for
Moonlight.
* ValueType.cs: Change InternalEquals (icall) visibility to
private since it is not used elsewhere outside the type.
[Backport r144104]
2009-10-08 Sebastien Pouliot <sebastien@ximian.com>
* AppDomain.cs: Remove NET_2_1 specific DefineDynamicAssembly(
AssemblyName,AssemblyBuilderAccess,bool) since it is not part
of SL. Provide a ToString implementation similar to Silverlight
for Moonlight (and without directly using an icall)
[Backport r143799]
2009-10-07 Sebastien Pouliot <sebastien@ximian.com>
* String.cs: Remove unsafe code duplication in ToCharArray.
Define out the unused InternalStrcpy icalls
* StringComparer.cs: Seal internal/private inner classes.
[Backport r143651]
2009-10-06 Sebastien Pouliot <sebastien@ximian.com>
* Decimal.cs: Use Compare method instead of directly using the
decimalCompare internal call.
[Backport r143554]
2009-10-06 Sebastien Pouliot <sebastien@ximian.com>
* Enum.cs: Add an internal Value property as a single point to
call the internal call get_value.
[Backport r143549]
2009-10-06 Sebastien Pouliot <sebastien@ximian.com>
* String.cs: Remove normalization methods for Moonlight
[Backport r143533]
2009-10-06 Jonathan Chambers <joncham@gmail.com>
* String.cs (Contains): Use CompareOptions.Ordinal. Fixes bug
#535425.
2009-09-28 Atsushi Enomoto <atsushi@ximian.com>
* Console.cs : do not use codepage 28591. It breaks build on
Japanese Windows.
2009-09-27 Gonzalo Paniagua Javier <gonzalo@novell.com>
* TermInfoDriver.cs: avoid segv if the pointer is not properly
initialized.
2009-09-24 Zoltan Varga <vargaz@gmail.com>
* Type.cs: Initialize the Missing field.
2009-09-22 Sebastien Pouliot <sebastien@ximian.com>
* Environment.cs: Remove imperative CAS environment
permission checks under NET_2_1
2009-09-21 Gonzalo Paniagua Javier <gonzalo@novell.com>
* Console.cs: mark methods/properties that only work on windows.
Fixes bug #540593.
2009-09-21 Sebastien Pouliot <sebastien@ximian.com>
* AppDomain.cs: Remove use of IPrincipal, Evidence and
PermissionSet types for NET_2_1
2009-09-20 Sebastien Pouliot <sebastien@ximian.com>
* Activator.cs: Remove COM related method for NET_2_1
* AppDomain.cs: Remove extra methods and properties for NET_2_1
* AppDomainSetup.cs: Remove some properties for NET_2_1
2009-09-20 Sebastien Pouliot <sebastien@ximian.com>
* AppDomain.cs, Environment.cs: Remove imperative CAS file IO
permission checks under NET_2_1
2009-09-20 Sebastien Pouliot <sebastien@ximian.com>
* AppDomainManager.cs: Remove NET_2_1 defines
* AppDomainManager_2_1.cs: New. NET_2_1 specific implementation
2009-09-04 Miguel de Icaza <miguel@novell.com>
* TermInfoDriver.cs: Handle a few more key combinations.
2009-08-14 Miguel de Icaza <miguel@novell.com>
* TermInfoDriver.cs (GetCursorPosition): Before we probe the
terminal for the cursor location, read all the pending console
input into our internal buffer and then send the cursor location
request.
2009-08-26 Sebastien Pouliot <sebastien@ximian.com>
* TimeSpan.cs: Fix parsing when seconds are not specified.
2009-08-14 Marek Safar <marek.safar@gmail.com>
* Type.cs: Made IsClass work under compiler context.
2009-08-12 Zoltan Varga <vargaz@gmail.com>
* ResolveEventArgs.cs: Add net 4.0 RequestingAssembly property.
2009-08-11 Jérémie Laval <jeremie.laval@gmail.com>
* Funcs.cs:
* Action.cs:
* AggregateException.cs: Add BOOTSTRAP_NET_4_0.
2009-08-07 Marek Safar <marek.safar@gmail.com>
* AppDomain.cs: IsHomogenous always returns true for now.
2009-08-06 Rodrigo Kumpera <rkumpera@novell.com>
* Environment.cs: Bump corlib version.
2009-08-04 Rodrigo Kumpera <rkumpera@novell.com>
* Environment.cs: Bump corlib version.
2009-08-03 Zoltan Varga <vargaz@gmail.com>
* Environment.cs: Bump corlib version.
2009-07-30 Marek Safar <marek.safar@gmail.com>
* AppDomain.cs: Implemented 2.0 CreateDomain.
2009-07-28 Rodrigo Kumpera <rkumpera@novell.com>
Type.cs (MakeArrayType): Handle one-dym multidimensional array
created with Type::MakeArrayType (1).
2009-07-28 Rodrigo Kumpera <rkumpera@novell.com>
* Type.cs (FindMembers): Fix the ordering of returned members
to method, ctor, property, event, field and nested type.
2009-07-27 Gonzalo Paniagua Javier <gonzalo@novell.com>
* Array.cs: empty arrays just return -1 in LastIndexOf().
2009-07-27 Miguel de Icaza <miguel@novell.com>
* Value types implementing IConvertible.ToType now throw an
ArgumentNullException if they are passed a null as the
"targetType" argument.
This code can not be put directly in the Convert.ToType method, as
this method is used by Convert.ToType (object o, TypeCode tc)
which uses null as a target to throw a different kind of error
(InvalidCastException).
Fixes a few more bugs in the Silverlight BCL test suite.
Additionally, the parameter type has been renamed.
2009-07-26 Miguel de Icaza <miguel@novell.com>
* Type.cs: (GetMember) call directly the worker method, instead of
calling through an intermediary.
(GetMember, full): throw if the name is null.
2009-07-19 Robert Jordan <robertj@gmx.net>
* __ComObject.cs: Factor out Initialize method and expose it to
ComInteropProxy. Fixes bug #520437.
2009-07-14 Rodrigo Kumpera <rkumpera@novell.com>
* Attribute.cs (GetCustomAttributes): Pass typeof(Attribute)
to GetCustomAttributes to match MS.
* MonoCustomAttrs.cs (GetCustomAttributesBase): Do proper
checking of which types are handled by the runtime.
* MonoCustomAttrs.cs (IsDefined): Same.
Fixes #521885.
2009-07-14 Zoltan Varga <vargaz@gmail.com>
* Environment.cs: Bump corlib version.
2009-07-07 Rodrigo Kumpera <rkumpera@novell.com>
* Type.cs (IsUserType): Only TypeDelegator and types
outside of corlib are unhandled usertypes.
2009-07-02 Marek Safar <marek.safar@gmail.com>
* Type.cs, AppDomain.cs: 4.0 bits.
2009-06-26 Gonzalo Paniagua Javier <gonzalo@novell.com>
* DateTime.cs: if the DateTimeOffset is out of bounds, let Parse
report the error. Fix stupid harmless typo.
* DateTimeOffset.cs: report error if the UTC date/time is out of
bounds.
2009-06-25 Miguel de Icaza <miguel@novell.com>
* Array.cs: IList.this needs to throw IndexOutOfRangeException
when the index is invalid, not ArgumentOutOfRangeException.
* Int32.cs: Do not crash if the FormatProvider returns a null
value on the call to GetFormat (Type).
Validate the NumberStyles, passes Int/Int32Parse2.exe
Fix regression introduced in 2005, we need to throw
ArgumentNullException on Parse.
2009-06-25 Miguel de Icaza <miguel@novell.com>
* Int32.cs: Fix regression introduced in 2005, we need to throw
ArgumentNullException on Parse.
2009-06-23 Gonzalo Paniagua Javier <gonzalo@novell.com>
* DateTime.cs: ignore MinValue to avoid DateTimeOffset ctor throwing
when adjusting for TZ.
2009-06-22 Miguel de Icaza <miguel@novell.com>
* String.cs: In Silverlight the whitespace characters 0x202f and
0x205f are considered for Trim and Split purposes.
2009-06-21 Marek Safar <marek.safar@gmail.com>
* Tuples.cs: Add Equals, GetHashCode.
2009-06-21 Zoltan Varga <vargaz@gmail.com>
* IntPtr.cs (.ctor): Disable the check in the long ctor until we
can figure out how to do it properly.
2009-06-20 Zoltan Varga <vargaz@gmail.com>
* IntPtr.cs (.ctor): Allow long values whose 31th bit is set.
2009-06-18 Gonzalo Paniagua Javier <gonzalo@novell.com>
* DateTime.cs: quick fix for the 1.x build.
2009-06-18 Gonzalo Paniagua Javier <gonzalo@novell.com>
* AppDomainSetup.cs: update attribute.
* TermInfoDriver.cs: ensure we are initialized in CheckWindowDimensions().
* DateTimeOffset.cs: Implement Parse().
* DateTime.cs: add 'zzz' to the list of default time formats. Return a
DateTimeOffset from _DoParse. Fixed the offset minutes when the
timezone is specified as a negative one.
* Console.cs: updates for MoveBufferArea().
* AppDomainManager.cs: implement EntryAssembly.
* AppDomain.cs: update attribute.
2009-06-15 Atsushi Enomoto <atsushi@ximian.com>
* Environment.cs : bump corlib version.
2009-06-12 Bill Holmes <billholmes54@gmail.com>
* Variant.cs (GetValue): Changing the bool case to use the short value.
This is to avoid junk in the high word.
Contributed under MIT/X11 license.
2009-06-10 Marek Safar <marek.safar@gmail.com>
* Predicate.cs, Action.cs, Funcs.cs, Comparison.cs, IComparable.cs,
Converter.cs, EventHandler.cs: Add type variance.
* InvalidTimeZoneException.cs,
TimeZoneNotFoundException.cs: New file.
2009-05-27 Zoltan Varga <vargaz@gmail.com>
* AppDomain.cs (DoAssemblyResolve): Fix recursion detection. Fixes #507003.
2009-05-26 Mark Probst <mark.probst@gmail.com>
* Thread.cs: Don't set the execution context when creating a
thread because the _ec member is thread static and we set the
wrong one. It's now set by the runtime. We just provide the
correct one.
* Environment.cs: Bump corlib version.
2009-05-22 Zoltan Varga <vargaz@gmail.com>
* Tuple.cs Tuples.cs: New files.
* Lazy.cs LazyExecutionMode.cs Funcs.cs: New files.
2009-05-14 Gonzalo Paniagua Javier <gonzalo@novell.com>
* Type.cs: (GetInterfaceMap) 'this' can't be an interface itself.
Fixed bug #503728.
2009-05-03 Gonzalo Paniagua Javier <gonzalo@novell.com>
* TermInfoDriver.cs: replace Peek with DataAvailable.
2009-05-02 Sebastien Pouliot <sebastien@ximian.com>
* Console.cs: Remove Windows-specific p/invokes and SSC code
from the NET_2_1 build.
2009-05-01 Sebastien Pouliot <sebastien@ximian.com>
* AppDomainManager.cs: Fix base class for NET_2_1 and implement
CheckSecuritySettings (added in 2.0SP and part of SL API)
2009-04-29 Gonzalo Paniagua Javier <gonzalo@novell.com>
* Enum.cs: return the value as an enum of the right type.
2009-04-28 Gonzalo Paniagua Javier <gonzalo@novell.com>
* Enum.cs: avoid exceptions from ToObject and use Try* instead.
2009-04-25 Miguel de Icaza <miguel@novell.com>
* TermInfoDriver.cs: Use the new StreamReader.DataAvailable to
load all the data that was added into the `stdin' stream when we
did the `Read'.
2009-04-24 Sebastien Pouliot <sebastien@ximian.com>
* Environment.cs: #ifdef out code that use the registry for the
NET_2_1 profile and some other properties (2) that added
[SecuritySafeCritical] methods to audit inside Moonlight.
2009-04-21 Mark Probst <mark.probst@gmail.com>
* Environment.cs: Bump corlib version.
2009-04-21 Miguel de Icaza <miguel@novell.com>
* TermInfoDriver.cs: Prevent race condition if two threads try to
initialize the Console at the same time.
What happens is that inited is set, and elsewhere we try to
dereference native_terminal_size before it is set.
* Reduce code size by using a table instead of manually making a
few hundred calls.
2009-04-20 Miguel de Icaza <miguel@novell.com>
* Enum.cs (MonoEnumInfo): Compare bytes, shorts, ints and longs as
unsigned values as specified and to fix 371559, from the bug:
So the actual difference is that MSFT's Enum.GetValues
orders the members as unsigned even when the underlying
type is int. See the following. Perhaps that's what's
being implied by "binary values" in that Enum.GetValues
MSDN quote above.
2009-04-18 Mark Probst <mark.probst@gmail.com>
* NumberFormatter.cs: Keep the current thread's number formatter
as a ThreadStatic member.
2009-04-18 Mark Probst <mark.probst@gmail.com>
* Environment.cs: Bump corlib version.
2009-04-12 Gonzalo Paniagua Javier <gonzalo@novell.com>
* GCNotificationStatus.cs: new enum.
2009-04-10 Zoltan Varga <vargaz@gmail.com>
* Array.cs: Make some of the InternalArray methods non-generic to cut down
on the number of instantiations. Add implementation for
ICollection:IsReadOnly.
2009-03-26 Jb Evain <jbevain@novell.com>
* Delegate.cs (CreateDelegate): Support for delegates
on static methods closed on a null target.
2009-03-26 Zoltan Varga <vargaz@gmail.com>
* Environment.cs: Bump corlib version.
2009-03-25 Sebastien Pouliot <sebastien@ximian.com>
* Delegate.cs: Add new parameter to CreateDelegate_internal (icall)
* Environment.cs: Bump mono_corlib_version to 73
2009-03-25 Jb Evain <jbevain@novell.com>
* Delegate.cs (CreateDelegate): fix checks to deal with
valuetypes -> obj conversions for arguments, and avoid
issues with such unallowed conversion for return types.
2009-03-23 Zoltan Varga <vargaz@gmail.com>
* String.cs (LastIndexOf): Handle empty strings correctly. Fixes #486234.
2009-03-18 Zoltan Varga <vargaz@gmail.com>
* Type.cs (GetGenericTypeDefinition): Make this throw an exception to be
consistent with MS.NET. Move the real implementation to MonoType.
2009-03-18 Marek Safar <marek.safar@gmail.com>
* Decimal.cs: Initialize all fields.
2009-03-16 Gonzalo Paniagua Javier <gonzalo@novell.com>
* ConsoleDriver.cs:
* TermInfoDriver.cs: handle Ctrl-D (or similar) in ReadLine.
Fixes bug #483950.
* ControlCharacters.cs: index to the control characters list.
* Environment.cs: bumped corlib version.
2009-03-14 Miguel de Icaza <miguel@novell.com>
* Convert.cs (ToType): Control whether this internal function will
call an IConvertible.ToType method or not.
Classes and structs implementing IConvertible in mscorlib (the
only callers that can access Convert.ToType) must pass false to
avoid a infinite recursion problem and callers from the public
Convert API must call it with true.
This fixes the regression reported in #485377 that was introduced
by the fix for #481687.
* Int16.cs, UInt64.cs, Double.cs, Enum.cs, SByte.cs, UInt16.cs,
Byte.cs, Decimal.cs, Int32.cs, String.cs, Int64.cs, Char.cs,
Boolean.cs, Single.cs, UInt32.cs: Update the call sites.
2009-03-07 Gert Driesen <drieseng@users.sourceforge.net>
* Convert.cs: Do not throw InvalidCastException if
IConvertible.ToType returns null.
2009-03-06 Andrés G. Aragoneses <aaragoneses@novell.com>
* Convert.cs: Correct typo in exception message.
2009-03-06 Miguel de Icaza <miguel@novell.com>
* Convert.cs: Apply patch from Tom Hindle that uses
IConvertible.ToType if there are no other possible conversions
defined.
Fixes: #481687
2009-03-06 Rodrigo Kumpera <rkumpera@novell.com>
* MonoType.cs (MonoTypeInfo): Add default_ctor field.
* MonoType.cs: Add GetDefaultConstructor that caches using
type_info.default_ctor.
* MonoType.cs (FullName): Protects against type_info been replaced
under the hood.
* Activator.cs (CreateInstance): If the type is a MonoType resolve the
default constructor using the new method from MonoType.
Improves Activator::CreateInstance performance by at least 30%, reduces object churn
and domain lock contention.
2009-03-03 Rodrigo Kumpera <rkumpera@novell.com>
* Guid.cs (BaseToString): Reduce allocations.
2009-03-02 Rodrigo Kumpera <rkumpera@novell.com>
* Environment.cs: Bump corlib version.
2009-03-02 Rodrigo Kumpera <rkumpera@novell.com>
* Enum.cs (IsDefined): If the enum underlying type is int32, use
the generic version, which doesn't box every element of the array.
2009-03-02 Rodrigo Kumpera <rkumpera@novell.com>
* Enum.cs (GetName): If the enum underlying type is int32, use
the generic version, which doesn't box every element of the array.
2009-03-02 Rodrigo Kumpera <rkumpera@novell.com>
* Enum.cs (MonoEnumInfo::GetInfo): Share the boxed form of the
MonoEnumInfo between both caches.
2009-02-28 Zoltan Varga <vargaz@gmail.com>
* Enum.cs (FindName): Use a hash table for looking up names instead of
a linear search for enums with a lot of values.
2009-02-27 Rodrigo Kumpera <rkumpera@novell.com>
* UInt16.cs (CompareTo/short): Make it return the
same values as the /object version.
* Enum.cs (CompareTo): Use new compare_value_to icall to do the comparison.
This avoids two allocations and reduce the number of trips to unmanaged land
by one.
The performance improvement is up to 3.5x with the bonus of reducing the generated
garbage.
2009-02-26 Marek Safar <marek.safar@gmail.com>
* Nullable.cs: Inline GetValueOrDefault.
2009-02-26 Zoltan Varga <vargaz@gmail.com>
* String.cs (FormatHelper): If all the arguments are strings, compute an
initial length for the stringbuilder to avoid reallocations.
* MonoType.cs (FullName): Cache the result of this in a field, as
computing it is expensive.
* Environment.cs: Bump corlib version.
2009-02-25 Zoltan Varga <vargaz@gmail.com>
* Enum.cs (GetInfo): Add a global cache in addition to the thread-local
caches to accomodate short living threads like threadpool threads.
2009-02-23 Zoltan Varga <vargaz@gmail.com>
* Type.cs: Add IsUserType internal property.
2009-02-21 Jb Evain <jbevain@novell.com>
* MonoType.cs (InvokeMember): don't pass a null args to
Binder.BindToMethod. Fix for #471275.
2009-02-12 Robert Jordan <robertj@gmx.net>
* Exception.cs: Rename remote_stack_trace for MS.NET
compatibility. Fixes #425512.
2009-02-12 Lluis Sanchez Gual <lluis@novell.com>
* MarshalByRefObject.cs: Implemented MemberwiseClone(bool).
2009-02-10 Gonzalo Paniagua Javier <gonzalo@novell.com>
* AppDomain.cs: this fixes the remoting tests.
Zoltan found out that there was a domain improperly using shadow
copy.
2009-02-04 Gonzalo Paniagua Javier <gonzalo@novell.com>
* DateTime.cs: check for null and empty strings before anything else
in CoreParse.
2009-01-27 Zoltan Varga <vargaz@gmail.com>
* Type.cs (GetHashCode): Work on UnderlyingSystemType. Fixes #467229.
2009-01-24 Zoltan Varga <vargaz@gmail.com>
* Variant.cs ApplicationIdentity.cs ActivationContext.cs Environment.cs
AppDomain.cs: Fix warnings.
2009-01-24 Gonzalo Paniagua Javier <gonzalo@novell.com>
* AppDomain.cs: LoadAssembly() returns null instead of throwing now.
Add new LoadSatellite method.
2009-01-20 Mark Probst <mark.probst@gmail.com>
* Exception.cs: Added a comment explaining the use of trace_ips.
2009-01-12 Bill Holmes <billholmes54@gmail.com>
* Variant.cs (GetValue): Handling the NULL IDispatch
and IUnknown case.
Contributed under MIT/X11 license.
2009-01-09 Miguel de Icaza <miguel@novell.com>
* DateTime.cs: Implement TryParse in a way that will not depend on
the try/catch statement. The try/catch statement is still there
*just in case*, I might have missed some codepaths.
2009-01-06 Atsushi Enomoto <atsushi@ximian.com>
* DateTime.cs : when ".FF..." is specified, allow milliseconds-less
time. Fix #444103.
2008-12-19 Bill Holmes <billholmes54@gmail.com>
* Environment.cs (GetEnvironmentVariable) : Avoiding an nre if
the variable is not set.
* Environment.cs (SetEnvironmentVariable) : Adding a call to
internalBroadcastSettingChange to notify Windows that an environment
variable has changed.
Contributed under MIT/X11 license.
2008-12-18 Jb Evain <jbevain@novell.com>
* String.cs: the Compare methods that were specific to SL2 are now
also in .net 2/3.5 sp1.
2008-12-10 Bill Holmes <billholmes54@gmail.com>
* Variant.cs (SetValue): Changing the behavior for COM object in
VARIANTs to match MS. Also adding support for BStrWrapper,
UnknownWrapper, and DispatchWrapper.
Contributed under MIT/X11 license.
2008-11-28 Miguel De Icaza <miguel@novell.com>
* TermInfoDriver.cs: Also register a mapping to make verase be the
backspace key. Funny thing: verase was fetched from the termios,
but it was *never* actually used in this file.
VSUSP and VINTR are likewise ignored. Must ponder this.
This makes the backspace key in MacOS work on interactive
applications.
2008-11-15 Kornél Pál <kornelpal@gmail.com>
* Convert.cs: Removed useless check from ToChar (ushort).
2008-11-06 Bill Holmes <billholmes54@gmail.com>
* Type.cs (FindMembers): Changing the instantiated type of the
returned MemberInfo array to match the MemberTypes flag
passed in argument 1.
Contributed under MIT/X11 license.
Mon Nov 3 16:39:37 CET 2008 Paolo Molaro <lupus@ximian.com>
* Array.cs: in the IList set_Item, ensure the array
element is set using the proper type checks (bug #440819).
Mon Oct 13 16:40:56 CEST 2008 Paolo Molaro <lupus@ximian.com>
* Environment.cs, OperatingSystem.cs: complete support for
PlatformID (bug #433108).
2008-10-08 Gonzalo Paniagua Javier <gonzalo@novell.com>
* AppDomain.cs: (Load(AssemblyName)) Use the CodeBase after the Name
when both are provided.
Fixes bug #322228.
2008-10-08 Bill Holmes <billholmes54@gmail.com>
* Variant.cs : Adding the BRECORD field to ensure the right size on
a 64-bit OS. 32-bit 16 bytes, 32-bit 24 bytes.
Contributed under MIT/X11 license.
2008-10-08 Bill Holmes <billholmes54@gmail.com>
* Variant.cs (SetValue) : Adding code to handle enums.
Contributed under MIT/X11 license.
2008-10-08 Bill Holmes <billholmes54@gmail.com>
* Variant.cs : Cleaning up some tab formatting problems.
Contributed under MIT/X11 license.
2008-10-08 Zoltan Varga <vargaz@gmail.com>
* PlatformID.cs: Define Xbox/MacOSX on the 2.0 profile too, since it
is part of NET 3.5 SP1.
2008-10-07 Marek Habersack <mhabersack@novell.com>
* Math.cs: implemented the away from zero rounding for the Round
(double, int, MidpointRounding) overload.
2008-10-06 Zoltan Varga <vargaz@gmail.com>
* Activator.cs (CreateInstance): Don't return the return value of the
ctor.Invoke (object, ...) overload since it is null, return 'newOb' instead.
Mon Oct 6 15:12:25 CEST 2008 Paolo Molaro <lupus@ximian.com>
* Array.cs: better message when keys cannot be compared
when sorting (bug #368455).
2008-09-29 Rodrigo Kumpera <rkumpera@novell.com>
* Type.cs (MakeGenericType): Only use UnderlyingSystemType for user types.
This must exclude TypeBuilder and EnumBuilder. Fixes #430508.
2008-09-28 Juraj Skripsky <js@hotfeet.ch>
* String.cs (ReplaceUnchecked): Avoid any unnecessary work and
string allocations by returning early when no oldValue was found.
2008-09-24 Marek Habersack <mhabersack@novell.com>
* Double.cs: check whether decimal_separator, group_separator and
currency_symbol strings aren't empty before trying to index them
in Parse ().
2008-09-24 Jb Evain <jbevain@novell.com>
* AppDomain.cs (CreateDomain): call the domain initializer in
the newly created AppDomain. Fixes #429545.
2008-09-24 Jb Evain <jbevain@novell.com>
* AppDomain.cs: implement the CreateDomain overload which
takes an AppDomain initializer. Fixes #429545.
2008-09-17 Robert Jordan <robertj@gmx.net>
* DelegateSerializationHolder.cs: Starting with .NET 2.0, delegates
of non-public methods are allowed to be serialized. Fixes #425345.
2008-09-15 Andy Hume <andyhume32@yahoo.co.uk>
* DateTimeOffset.cs: DateTimeOffset currently has no
deserialization constructor, thus deserialization
fails ("SerializationException: The constructor to deserialize an
object of type System.DateTimeOffset was not found.")
Patch attached, implements GetObjectData and that constructor.
Also includes tests, which include round-tripping to/from MSFT.
2008-09-14 Zoltan Varga <vargaz@gmail.com>
* ConsoleDriver.cs: Remove obsolete GetTtySize icall.
2008-09-09 Marek Safar <marek.safar@gmail.com>
* Convert.cs, Decimal.cs: Fixed float/double to decimal range check.
2008-09-07 Miguel de Icaza <miguel@novell.com>
* TermInfoDriver.cs: Add support for updating the size of the
terminal when it changes.
2008-08-27 Miguel de Icaza <miguel@novell.com>
* TermInfoDriver.cs: Adds support for the Insert and Delete keys
on the keyboard.
2008-08-26 Miguel de Icaza <miguel@novell.com>
* New console features are used by gmcs.exe, but since we only
build gmcs.exe with the bootstrap corlib, we need to ensure all
the new stuff is included in BOOTSTRAP_NET_2_0
2008-08-26 Robert Jordan <robertj@gmx.net>
* AppDomain.cs (get_Evidence): Fix endless recursion exposed
by the test case of bug #420197.
2008-08-24 Miguel de Icaza <miguel@novell.com>
* TermInfoDriver.cs (GetKeyFromBuffer): Add support for reporting
Alt-LETTER sequences. They were ignored previously.
2008-08-22 Sebastien Pouliot <sebastien@ximian.com>
* AppDomainSetup.cs: Remove IAppDomainSetup for SL2. This helps
the tuner since the methods are then defined correctly (wrt to the
implicit implementation of the interfaces)/
2008-08-21 Sebastien Pouliot <sebastien@ximian.com>
* Nullable.cs: Add two ComVisible(false) for SL2 profile.
* PlatformID.cs: Add Xbox and MacOX for SL2 profile.
* WeakReference.cs: Add default, protected, ctor for SL2.
2008-08-20 Miguel de Icaza <miguel@novell.com>
* ConsoleDriver.cs: TtySetup now takes an extra argument: the
keypadXmit string.
2008-08-16 Gert Driesen <drieseng@users.sourceforge.net>
* Exception.cs: Fixed value of HResult to match MS. Added support for
(de)serializing Data. Use deserialized ClassName, if available, to
when name of type is used.
2008-08-10 Gert Driesen <drieseng@users.sourceforge.net>
* IServiceProvider.cs: Added ComVisible attribute (1.0 only).
* String.cs: Fixed argument names to match MS.
2008-08-10 Gert Driesen <drieseng@users.sourceforge.net>
* Boolean.cs
* Byte.cs
* Char.cs
* DateTime.cs
* DBNull.cs
* Decimal.cs
* Double.cs
* Enum.cs
* Int16.cs
* Int32.cs
* Int64.cs
* Single.cs
* String.cs
* UInt16.cs
* UInt32.cs
* UInt64.cs: Added missing CLSCompliant attributes for 1.0 profile.
2008-08-07 Atsushi Enomoto <atsushi@ximian.com>
* DateTime.cs : zzzz format allows non-fixed length of number, even
in exact parsing mode. Fixed bug #377042.
2008-08-05 Jb Evain <jbevain@novell.com>
* String.cs: add new NET_2_1 Compare methods.
2008-08-03 Miguel de Icaza <miguel@novell.com>
* ConsoleDriver.cs: If the terminal is dumb, do not activate the
full terminal support.
2008-08-02 Marek Safar <marek.safar@gmail.com>
* Type.cs: Removed _MemberInfo from base classes list.