New tests.
[mono.git] / mcs / class / corlib / System / ChangeLog
1 2010-04-25  Carlos Alberto Cortez <calberto.cortez@gmail.com>
2
3         * TimeSpan.cs: Support custom formats in ToString().
4
5 2010-04-23  Rolf Bjarne Kvinge  <RKvinge@novell.com>
6
7         * Lazy.cs: Include in Moonlight build.
8
9 2010-04-22  Carlos Alberto Cortez <calberto.cortez@gmail.com>
10
11         * TimeSpan.cs: The final 4.0 release removed the restriction of
12         preceding zeroes when parsing, and it also added 't' and 'T' as valid
13         formats equivalent to 'c' (default).
14
15 2010-04-16 Rodrigo Kumpera  <rkumpera@novell.com>
16
17         * MonoType.cs (GetInterface): Compare against the name
18         of the generic type definition.
19
20         Fixes #484246.
21
22 2010-04-16 Rodrigo Kumpera  <rkumpera@novell.com>
23
24         * MonoCustomAttrs.cs (GetBasePropertyDefinition): Use
25         GetBaseMethod instead of GetMethodDefinition otherwise
26         we skip intermediate overloads.
27
28         Fixes #499569.
29
30 2010-04-16  Sebastien Pouliot  <sebastien@ximian.com>
31
32         * Environment.cs: Ensure elevated trust when calling
33         GetFolderPath on Moonlight
34
35 2010-04-16  Sebastien Pouliot  <sebastien@ximian.com>
36
37         * Action.cs: SL4 moved some Action in mscorlib
38         * Funcs.cs: SL4 moved some Func<> in mscorlib
39         * String.cs: Make IsNullOrWhiteSpace available, internally, 
40         before NET_4_0 (or SL4) since it's proving useful.
41
42 2010-04-15  Jb Evain  <jbevain@novell.com>
43
44         * Guid.cs: rework the Guid parser to implement the net_4_0
45         [Try]ParseExact methods.
46
47 2010-04-15  Jérémie Laval  <jeremie.laval@gmail.com>
48
49         * Tuple.cs:
50         * Tuples.cs: Add BOOTSTRAP_NET_4_0 define
51
52 2010-04-13 Rodrigo Kumpera  <rkumpera@novell.com>
53
54         * MonoCustomAttrs.cs: Raise an exception if the runtime
55         returned a null cattr.
56
57 2010-04-13  Zoltan Varga  <vargaz@gmail.com>
58
59         * Convert.cs (ToInt32): Do a checked cast. Fixes #596339.
60
61 2010-04-12  Carlos Alberto Cortez <calberto.cortez@gmail.com>
62
63         * TimeSpan.cs: Implement support for custom formats parsing. This
64         should as well include the bits required to easily implement the same
65         for ToString methods, when the final release fixes the mess we found
66         in the latest beta.
67
68 2010-04-08 Rodrigo Kumpera  <rkumpera@novell.com>
69
70         * Type.cs: Add ResolveInternal virtual call that
71         resolves a given type to it's concrete type.
72
73 2010-03-07 Rodrigo Kumpera  <rkumpera@novell.com>
74
75         * Enum.cs (GetInfo): Don't use isinst tests as they can
76         return true for both signed and unsigned version of a
77         primitive type.
78
79         * Enum.cs (FindPosition): Ditto.
80
81 2010-04-06  Marek Safar  <marek.safar@gmail.com>
82
83         * Array.cs: Don't make read-only collection read-only.
84
85 2010-03-31  Miguel de Icaza  <miguel@novell.com>
86
87         * UInt32.cs, Int64.cs, UInt64.cs: cope with the case that the
88         IFormatProvider is not a NumberFormatInfo, preventing a crash.
89         This was already handled by Int32.cs, but these other routines
90         were never properly updated. 
91
92         Fixes #588356
93
94         * DateTimeOffset.cs: Add support for format K in DateTimeOffset,
95         fixes bug 589227.
96
97         * DateTime.cs: Add serialization support, fixes #588198.
98
99         Perhaps we should change the format as well since this is the new
100         format serialized anyways (see bug 592221, it saves 4 bytes of
101         memory as well)
102
103 2010-03-30  Sebastien Pouliot  <sebastien@ximian.com>
104
105         * InvalidTimeZoneException.cs
106         * TimeZoneNotFoundException.cs:
107                 Fix Moonlight since these types now reside in mscorlib
108                 (instead of System.Core) for NET_4_0 and also for SL4
109
110 2010-03-30  Jb Evain  <jbevain@novell.com>
111
112         * MonoType.cs: let the binder reorder arguments when invoking
113         params methods.
114         * Activator.cs (CreateInstance): use BindToMethod instead of
115         SelectMethod to make sure that params constructors are properly called.
116
117         Fixes #591877
118
119 2010-03-29  Carlos Alberto Cortez <calberto.cortez@gmail.com>
120
121         * TimeSpan.cs: Implement all the overloads of both TryParseExact and
122         ParseExact methods, by detecting the specific semantic changes in the
123         parse process, so we can properly re-utilize our new approach. This
124         included indicating our parser its culture sensitiveness, usage of colon as
125         day separator fallback or as a precise separator, and other minor bits.
126         We are only missing composite parsing right now.
127
128 2010-03-29  Sebastien Pouliot  <sebastien@ximian.com>
129
130         * AppDomainSetup.cs: Add new (FX4 and SL4) SetCompatibilitySwitches
131         method (empty is good enough for moonlight testing)
132         * Environment.cs: Expose MyVideos in Moonlight build
133
134 2010-03-26  Carlos Alberto Cortez <calberto.cortez@gmail.com>
135
136         * TimeSpan.cs: We always give higher precedence to the first found
137         error, but for versions before 4.0 we need to give a higher one to
138         per-element overflow *specifically* (as opposed to int32 overflow,
139         which remains the same). This is not needed for 4.0, so report
140         per-element overflow as a normal error. 
141         This should fix a compatibility case, as well as simplifying the code.
142
143 2010-03-25 Gonzalo Paniagua Javier <gonzalo@novell.com>
144
145         * MonoAsyncCall.cs: remove unused field.
146         * Delegate.cs: add new IsTransparentProxy property.
147         * MulticastDelegate.cs: add new HasSingleTarget property.
148         * Environment.cs: bump up corlib version.
149
150 2010-03-25  Sebastien Pouliot  <sebastien@ximian.com>
151
152         * AppDomain.cs: Add new properties that are in both FX4 and SL4
153         since Moonlight needs them (for testing purpose).
154         * Environment.cs: FailFast overloads are present in SL4 (and also
155         needed for testing Moonlight)
156
157 2010-03-24  Sebastien Pouliot  <sebastien@ximian.com>
158
159         * AppDomain.cs: Change default value from null to false for new
160         (NET_4_0 and SL4) IsCompatibilitySwitchSet. Not sure when (or even
161         if) it can return null (at least not when testing SL4 RC). 
162         Fix DRT198
163
164 2010-03-22  Carlos Alberto Cortez <calberto.cortez@gmail.com>
165
166         * TimeSpan.cs: When parsing ticks, we used to only parse
167         the first 7 digits, and more than that would cause a FormatException -
168         starting in 4.0 we need to throw an OverflowException, however. Also,
169         for hours/minutes/seconds, two or more preceding zeroes will cause an
170         OverflowException as well.
171
172 2010-03-22  Carlos Alberto Cortez <calberto.cortez@gmail.com>
173
174         * TimeSpan.cs: Create a new Parser.Execute method for 4.0 -and use the
175         previous impl for 2.0-, to handle the new semantics gracefully -
176         specifically the new 'dd:hh:mm:ss' format and related bits, instead of
177         of a ton of #ifdef blocks. Remove any 4.0 bits from the previous
178         version as well, to keep it clean.
179
180 2010-03-19  Carlos Alberto Cortez <calberto.cortez@gmail.com>
181
182         * TimeSpan.cs: Move the error detection code to a separate method.
183         This way depending on the version we decide what error takes
184         precedence: OverlowException in 2.0, and FormatException in 4.0. This
185         also lets us keep the Execute() code cleaner and easier to understand.
186
187 2010-03-18  Carlos Alberto Cortez <calberto.cortez@gmail.com>
188
189         * TimeSpan.cs: Put the error info in a single field, to make it easier
190         to preserve the very first error we get while parsing, and discard the
191         next ones. This will help us in a pair of cases where we were
192         overriding the previous error and reporting the wrong exception.
193
194 2010-03-17  Sebastien Pouliot  <sebastien@ximian.com>
195
196         * String.cs: SL4 includes new IsNullOrWhiteSpace and Concat/Join 
197         overloads.
198
199 2010-03-17  Carlos Alberto Cortez <calberto.cortez@gmail.com>
200
201         * TimeSpan.cs: TimeSpan is actually implementing IFormattable.
202
203 2010-03-17  Rolf Bjarne Kvinge  <RKvinge@novell.com>
204
205         * AppDomain.cs: Added MonoTODO for IsCompatibilitySwitchSet.
206
207 2010-03-16  Carlos Alberto Cortez <calberto.cortez@gmail.com>
208
209         * TimeSpan.cs: In 4.0 the Parse/TryParse methods always try to use its
210         associated CultureInfo.NumberFormat.NumberDecimalSeparator value, as well as
211         providing backwards compatibility by also supporting '.' as the
212         separator.
213
214 2010-03-16  Jb Evain  <jbevain@novell.com>
215
216         * AppDomainSetup.cs
217         * Tuple.cs
218         * ChangeLog
219         * Exception.cs
220         * String.cs
221         * Console.cs
222         * Tuples.cs
223         * Activator.cs
224         * AppDomain.cs:
225                 Use MOONLIGHT symbol to disambiguate MonoTouch and Moonlight code.
226
227 2010-03-16  Rolf Bjarne Kvinge  <RKvinge@novell.com>
228
229         * Enum.cs: Added a few 4.0 api to Moonlight.
230
231 2010-03-16  Rolf Bjarne Kvinge  <RKvinge@novell.com>
232
233         * AppDomain.cs: Added IsCompatibilitySwitchSet for .NET 4.0 and Moonlight.
234
235 2010-03-15  Carlos Alberto Cortez <calberto.cortez@gmail.com>
236
237         * TimeSpan.cs: In 4.0 if the part parsed as days exceeds the allowed
238         range -this is, 23-, then it is processed as days instead - opposed to
239         2.0, where we are throwing an OverflowException.
240
241 2010-03-15  Carlos Alberto Cortez <calberto.cortez@gmail.com>
242
243         * TimeSpan.cs: Make the colon parsing optional -and adjust the name to
244         reflect it-, so we can properly parse the case where we only have the
245         hours and minutes. This subtle bug was hidden before, since a string
246         such "10:12" would be parsed correctly, but "10:12  " (trailing white
247         space) was getting a FormatException.
248
249 2010-03-12  Sebastien Pouliot  <sebastien@ximian.com>
250
251         * Tuple.cs, Tuples.cs: Add them to NET_2_1 since they are parts
252         of SL4
253
254 2010-03-08  Carlos Alberto Cortez <calberto.cortez@gmail.com>
255
256         * TimeSpan.cs: Implement 4.0 overloads of TryParse/Parse.
257
258 2010-03-08  Carlos Alberto Cortez <calberto.cortez@gmail.com>
259
260         * TimeSpan.cs: Implement 4.0 ToString overloads.
261
262 2010-03-06 Rodrigo Kumpera  <rkumpera@novell.com>
263
264         * UIntPtr.cs: Remove some v4 custom attributes that were
265         on Beta2 but aren't there on RC.
266
267 2010-03-05  Carlos Alberto Cortez <calberto.cortez@gmail.com>
268
269         * TimeSpan.cs: Implement correctly the TryParse method, instead of
270         using a try/catch block.
271
272 2010-03-04 Rodrigo Kumpera  <rkumpera@novell.com>
273
274         * Type.cs : Fix for bug #574696: don't recurse into base types in GetMember when
275         getting properties.
276         Patch by Eberhard Beilharz <eb1@sil.org>
277
278 2010-03-03  Miguel de Icaza  <miguel@novell.com>
279
280         * Decimal.cs: Disable the fast double2decimal code, and go back to
281         string parsing as there is a rounding/precision bug.
282
283                 //
284                 // We cant use the double2decimal method
285                 // because it incorrectly turns the floating point
286                 // value 1.23456789E-25F which should be:
287                 //    0.0000000000000000000000001235
288                 // into the incorrect:
289                 //   0.0000000000000000000000001234
290                 //
291                 //    The code currently parses the double value 0.6 as
292                 //    0.600000000000000
293                 //
294                 // And we have a patch for that called (trim
295
296 2010-03-03 Rodrigo Kumpera  <rkumpera@novell.com>
297
298         * Type.cs (Equals): Better version that does less
299         trips to runtime land.
300
301 2010-03-03 Rodrigo Kumpera  <rkumpera@novell.com>
302
303         * MonoType.cs: Add v4 security properties.
304
305 2010-03-03 Rodrigo Kumpera  <rkumpera@novell.com>
306
307         * Type.cs: Add v4 security properties.
308
309 2010-03-03 Rodrigo Kumpera  <rkumpera@novell.com>
310
311         * Type.cs: Fix identation.
312
313 2010-03-03 Rodrigo Kumpera  <rkumpera@novell.com>
314
315         * Activator.cs: : Implement new v4 overloads and [Obsolete].
316
317 2010-03-03 Rodrigo Kumpera  <rkumpera@novell.com>
318
319         * AppDomain.cs: Add bunch of trivial overloads.
320
321 2010-03-01 Rodrigo Kumpera  <rkumpera@novell.com>
322
323         * TypeSpec.cs: New file. Managed code implementation of type name
324         parsing.
325
326         * Type.cs: Implement new v4 overloads of GetType.
327
328 2010-03-01  Zoltan Varga  <vargaz@gmail.com>
329
330         * Array.cs (CreateArray): Disallow creation of arrays of unfinished types.
331
332 2010-03-01  Miguel de Icaza  <miguel@novell.com>
333
334         * DateTime.cs (DoParse): patch from Tom Philpot, while using
335         TryParse if s is null, we should return false, not crash.
336
337 2010-02-28 Rodrigo Kumpera  <rkumpera@novell.com>
338
339         * Type.cs: Forgot a pair of #if NET_4_0.
340
341 2010-02-28  Miguel de Icaza  <miguel@novell.com>
342
343         * Decimal.cs: If the NumberFormatInfo is broken and contains the
344         same character for grouping than is used for decimals, the decimal
345         separator gets a priority.  This issue was exposed by the
346         Silverlight Test suite.
347
348         Allow null trailing characters when parsing, this is valid in
349         .NET: "5\0" and "5\0\0\0\0", but "5\05" is not.
350
351         * Decimal.cs: Enabling the unmanaged double to decimal and float
352         to decimal conversions code again as I am unable to find any
353         regressions in corlib, System.Data, the Silverlight test suite or
354         Rotor's test suite.
355
356         I am enabling it hoping that we can find the original problem that
357         lead us to use the slow path.
358
359 2010-02-27 Rodrigo Kumpera  <rkumpera@novell.com>
360
361         * AggregateException.cs: Fix ctor vibility.
362
363         * Type.cs: IsEnum and IsSerializable are virtual
364         properties now.
365
366         * Tuple.cs: Fix Tuple'8 Create method.
367
368 2010-02-27 Rodrigo Kumpera  <rkumpera@novell.com>
369
370         * UIntPtr.cs: Add some v4 custom attributes.
371
372 2010-02-27 Rodrigo Kumpera  <rkumpera@novell.com>
373
374         * Float.cs: New v4 operators.
375
376 2010-02-27 Rodrigo Kumpera  <rkumpera@novell.com>
377
378         * IntPtr.cs: Add some v4 custom attributes.
379
380 2010-02-27 Rodrigo Kumpera  <rkumpera@novell.com>
381
382         * Double.cs: New v4 operators.
383
384 2010-02-27 Rodrigo Kumpera  <rkumpera@novell.com>
385
386         * Type.cs: Make cor-compare happy.
387
388 2010-02-26 Rodrigo Kumpera  <rkumpera@novell.com>
389
390         * Lazy.cs: Implement all lazy modes.
391
392 2010-02-26 Rodrigo Kumpera  <rkumpera@novell.com>
393
394         * ExecutionEngineException.cs: Type is obsolete.
395
396 2010-02-26 Rodrigo Kumpera  <rkumpera@novell.com>
397
398         * Type.cs: Implement new v4 IsEnumDefined ().
399
400 2010-02-24 Rodrigo Kumpera  <rkumpera@novell.com>
401
402         * Type.cs: Implement new v4 GetEnumValue ().
403
404 2010-02-24 Rodrigo Kumpera  <rkumpera@novell.com>
405
406         * Type.cs: Implement new v4 GetEnumValues ().
407
408         * MonoType.cs: Ditto.
409
410 2010-02-23 Rodrigo Kumpera  <rkumpera@novell.com>
411
412         * Type.cs: Use the right kind of annotations.
413
414 2010-02-23 Rodrigo Kumpera  <rkumpera@novell.com>
415
416         * Type.cs:  Implement new v4 GetEnumNames ().
417
418 2010-02-22 Rodrigo Kumpera  <rkumpera@novell.com>
419
420         * Type.cs:  Implement new v4 GetEnumUnderlyingType ().
421
422 2010-02-22 Rodrigo Kumpera  <rkumpera@novell.com>
423
424         * Type.cs: Implement new v4 GetTypeCodeImpl ().
425
426 2010-02-19 Rodrigo Kumpera  <rkumpera@novell.com>
427
428         * Type.cs: Implement new v4 behavior for Equals.
429         
430 Fri Feb 19 09:05:36 CET 2010 Paolo Molaro <lupus@ximian.com>
431
432         * Decimal.cs: fixed Remainder (bug #576341).
433
434 2010-02-13 Gonzalo Paniagua Javier <gonzalo@novell.com>
435
436         * Environment.cs: implement SystemPageSize.
437
438 Fri Feb 12 18:38:01 CET 2010 Paolo Molaro <lupus@ximian.com>
439
440         * InsufficientExecutionStackException.cs: new exception type in 4.0.
441
442 2010-02-11 Rodrigo Kumpera  <rkumpera@novell.com>
443
444         * MonoType.cs: Implement GetCustomAttributesData.
445
446 2010-02-06  Chris Toshok  <toshok@ximian.com>
447
448         * AppDomain.cs (SetupInformationNoCopy): make this internal for
449         moonlight.
450
451 2010-02-02  Jérémie Laval  <jeremie.laval@gmail.com>
452
453         * AggregateException.cs:
454         * OperationCanceledException.cs: Port to .NET 4 beta 2 API
455
456 2010-01-31  Zoltan Varga  <vargaz@gmail.com>
457
458         * Enum.cs: Fix a warning.
459
460 2010-01-29  Carlos Alberto Cortez <calberto.cortez@gmail.com>
461
462         * Version.cs: Implement Parse and TryParse.
463
464 2010-01-28  Rolf Bjarne Kvinge  <RKvinge@novell.com>
465
466         * AppDomain.cs: LoadSatellite: add a boolean parameter specifiying
467         whether we should throw on exceptions or not.
468
469 2010-01-28  Rolf Bjarne Kvinge  <RKvinge@novell.com>
470
471         * TimeSpan.cs: TryParse: Handle null values to not throw ANEs.
472
473 2010-01-25 Gonzalo Paniagua Javier <gonzalo@novell.com>
474
475         * Array.cs: updates to the API from beta2.
476         * _AppDomain.cs: no GetLifeTimeService() in 4.0
477
478 2010-01-25  Carlos Alberto Cortez <calberto.cortez@gmail.com>
479
480         * Enum.cs: Implement TryParse and do the required refactoring of our
481         Parse method to support it.
482
483 2010-01-25  Atsushi Enomoto  <atsushi@ximian.com>
484
485         * Single.cs : parse MaxValue and PositiveInfinity as expected.
486           Patch by Tiaan Geldenhuys.
487
488 2010-01-21  Carlos Alberto Cortez <calberto.cortez@gmail.com>
489
490         * Activator.cs: When calling CreateInstance() and no default .ctor is
491         found for the type, don't pass the member argument to the
492         MissingMethodException, to have a better and simpler error message.
493         Fixes #396986.
494
495 2010-01-20 Gonzalo Paniagua Javier <gonzalo@novell.com>
496
497         * Tuples.cs: explicitly implement IStructural*.
498
499 2010-01-17  Carlos Alberto Cortez <calberto.cortez@gmail.com>
500
501         * UInt64.cs: Implement a lightweight version of the Parse method for
502         the overload that does not take IFormatProvider/NumberStyle
503         parameters - this gets us a nice speed up, just like we do for the
504         other number types.
505         Fixes #338022.
506
507 2010-01-15 Rodrigo Kumpera  <rkumpera@novell.com>
508
509         * Array.cs: Implement IStructuralComparer.
510
511 2010-01-15  Carlos Alberto Cortez <calberto.cortez@gmail.com>
512
513         * Int32.cs: In Parse() cast the parsed value to long *before* changing
514         its sign - this way we preserve the original value, instead of
515         accidentally changing it. This was happening parsing _exactly_
516         MaxValue + 1.
517         Fixes #475815.
518
519 2010-01-15  Atsushi Enomoto  <atsushi@ximian.com>
520
521         * DateTime.cs : In AddMilliseconds(), it seems fractional
522           milliseconds are first rounded and then added.
523
524 2010-01-15  Atsushi Enomoto  <atsushi@ximian.com>
525
526         * DateTimeOffset.cs : preserve fractions (it is somehow dropped).
527
528 2010-01-13  Atsushi Enomoto  <atsushi@ximian.com>
529
530         * Double.cs : no need to preserve old code.
531
532 2010-01-12  Atsushi Enomoto  <atsushi@ximian.com>
533
534         * Double.cs : AllowLeading/TrailingWhite should also check those
535           surrounding string constants such as "NaN".
536
537 2010-01-11  Carlos Alberto Cortez <calberto.cortez@gmail.com>
538
539         * Int32.cs: Implement support for exponent in the Parse methods.
540         Fixes #542464.
541
542 2010-01-10  Zoltan Varga  <vargaz@gmail.com>
543
544         * GC.cs: Add stubs for new net 4.0 methods.
545
546 2010-01-07  Jb Evain  <jbevain@novell.com>
547
548         * MonoType.cs (.MemberType): return the proper member type
549         for generic parameters.
550
551 2010-01-07  Sebastien Pouliot  <sebastien@ximian.com>
552
553         * Convert.cs: Fix line endings in ToBase64String (bug #568778)
554         and also the default line length. Code changed to not require
555         a BinaryReader over a MemoryStream to reduce memory requirements.
556
557 2010-01-07  Zoltan Varga  <vargaz@gmail.com>
558
559         * TermInfoDriver.cs (GetCursorPosition): Avoid waiting 1 sec here.
560
561 2010-01-03  Zoltan Varga  <vargaz@gmail.com>
562
563         * Array.cs: Fix ArrayReadOnlyList.CopyTo. Fixes #564095.
564
565 2010-01-03  Zoltan Varga  <vargaz@gmail.com>
566
567         * DateTime.cs (TryParseExact): Handle exceptions. Fixes #567857.
568
569 2009-12-21  Marek Habersack  <mhabersack@novell.com>
570
571         * Int32.cs: treat terminating null as whitespace
572
573 2009-12-19  Zoltan Varga  <vargaz@gmail.com>
574
575         * String.cs: Fix the various IndexOf and LastIndexOf methods so they handle
576         "" and a non-zero startIndex correctly. Fixes #566106.
577
578 2009-12-17  Sebastien Pouliot  <sebastien@ximian.com>
579
580         * String.cs: Fix #565602 right-padding empty strings.
581
582 2009-12-15  Marek Safar  <marek.safar@gmail.com>
583
584         * Array.cs: Optimize sort operations on all primitive types.
585
586 2009-12-14 Rodrigo Kumpera  <rkumpera@novell.com>
587
588         Type.cs (IsCompilerContext): The default implementation now checks if the
589         type's assembly is under compiler context or not.
590
591 2009-12-12 Rodrigo Kumpera  <rkumpera@novell.com>
592
593         * Environment.cs: Bump corlib version.
594
595 2009-12-12 Rodrigo Kumpera  <rkumpera@novell.com>
596
597         * MonoType.cs: Make the GetConstructorImpl machinery available
598         to be used by others.
599
600         * Type.cs (MakeGenericType): Is any of the arguments is not a system
601         type create an instance of MonoGenericClass instead. 
602
603 2009-12-09  Jb Evain  <jbevain@novell.com>
604
605         * StringComparer.cs (GetHashCode): properly throw
606         an ANE instead of an NRE.
607
608 2009-12-09  Miguel de Icaza  <miguel@novell.com>
609
610         * Enum.cs: Add new .NET 4.0 API.
611
612 2009-12-08  Marek Habersack  <mhabersack@novell.com>
613
614         * Type.cs: added overloads for the == and != operators (4.0).
615
616 2009-12-08 Rodrigo Kumpera  <rkumpera@novell.com>
617
618         * Type.cs: Add virtual property IsCompilerContext to cleanup
619         compiler context resolution across SRE.
620
621 2009-12-05  Mark Probst  <mark.probst@gmail.com>
622
623         * String.cs: A new LOS_limit variable which gives the maximum
624         string length that's not put in the LOS.
625
626         * StringBuilder.cs: Copy the string also if it's in the LOS and
627         chopping it would bring its size below the LOS limit.
628
629         * Environment.cs: Bump corlib version.
630
631 2009-12-03  Stephane Delcroix  <stephane@delcroix.org>
632
633         * DateTimeOffset.cs: fix dates arithmetic to avoid throwing
634         while crossing dst boundaries.
635
636 2009-12-03  Jb Evain  <jbevain@novell.com>
637
638         * Attribute.cs: remove code duplication.
639
640 2009-12-02  Jb Evain  <jbevain@novell.com>
641
642         * Enum.cs (IConvertible.ToType): properly convert enum values
643         to strings instead of their numeric value.
644
645 2009-12-02  Jb Evain  <jbevain@novell.com>
646
647         * Environment.cs (mono_corlib_version): bump.
648         * Attribute.cs: when retrieving custom attributes defined
649         on parameters belonging to a virtual method, walk
650         the inheritance chain to check for parameters attributes
651         all the way down.
652
653 2009-12-01  Jb Evain  <jbevain@novell.com>
654
655         * Type.cs (MakeByRefType): throw a TypeLoadException when being
656         called on type which is already ByRef.
657
658 2009-11-26  Sebastien Pouliot  <sebastien@ximian.com>
659
660         * Random.cs: Fix case where the diff between min and max
661         is very large in Next(int,int). Fix bug #558593
662
663 2009-11-25  Zoltan Varga  <vargaz@gmail.com>
664
665         * Delegate.cs (GetHashCode): Fix this so it is constant.
666
667 2009-11-24  Jb Evain  <jbevain@novell.com>
668
669         * Array.cs: use ContainsGenericParameters instead of
670         IsGenericTypeDefinition as it catches more cases.
671
672 2009-11-24  Jb Evain  <jbevain@novell.com>
673
674         * Array.cs (IList.this[int]): prevent the use of the IList indexer 
675         when dealing with a multi dimensional array.
676
677 2009-11-24  Jb Evain  <jbevain@novell.com>
678
679         * Array.cs (Clear): throw an IndexOutOfRangeException instead
680         of an ArgumentOutRangeException for a negative length.
681
682 2009-11-24  Jb Evain  <jbevain@novell.com>
683
684         * Array.cs (CreateInstance): do not allow open generic types.
685
686 2009-11-24  Jb Evain <jbevain@novell.com>
687
688         * Array.cs (CreateInstance): do not allow void arrays.
689
690 2009-11-23  Carlos Alberto Cortez <calberto.cortez@gmail.com>
691
692         * Array.cs: When sorting and we are sorting value types implementing
693         IComparable<T>, use its corresponding Comparer<T>.Default helper. 
694         This way we avoid casting our values to IComparable<T>, and thus we 
695         avoid *all* the boxing for them. Using Comparer<T>.Default seems to be
696         slower for reference types, so we don't use it for those ones.
697
698 2009-11-22  Miguel de Icaza  <miguel@novell.com>
699
700         * Environment (IsUnix): expose this common property, so we avoid
701         duplicating code. 
702
703 2009-11-18  Marek Safar  <marek.safar@gmail.com>
704
705         * Type.cs: Use faster string comparers.
706
707 2009-11-17  Atsushi Enomoto  <atsushi@ximian.com>
708
709         * DateTimeOffset.cs : fix parse failure on missing colon.
710           Fixed bug #547675, patch by Santa Marta (see bugzilla).
711
712 2009-11-13  Marek Safar  <marek.safar@gmail.com>
713
714         * Lazy.cs: Check recursive initializations.
715
716 2009-11-11 Rodrigo Kumpera  <rkumpera@novell.com>
717
718         * Type.cs: Fix Make(Array|ByRef|Pointer)Type to not crash
719         with user types. 
720
721         * Type.cs (MakeGenericType): Don't crash with user types.
722
723         * Type.cs (GetGenericParameterConstraints): Don't crash with user types.
724
725         * Type.cs (GenericParameterAttributes): Don't crash with user types.
726
727         * Type.cs (IsInstanceOfType): Don't crash with user types.
728
729         * Type.cs (IsAssignableFrom): Better handle User Types.
730
731         * Type.cs (GetInterfaceMap): Don't crash with user types.
732
733         * Type.cs (Equals): Fix behavior to be more MS compatible.
734
735 2009-11-11  Sebastien Pouliot  <sebastien@ximian.com>
736
737         * Console.cs: Reduce duplication between OpenStandard[Input|
738         Output|Error] and, for Moonlight, don't return a NullStream if
739         security is disabled (e.g. when smcs executes) r: alan
740         Note: include changes from r145773 (2-6) from toshok
741
742 2009-11-10  Miguel de Icaza  <miguel@novell.com>
743
744         * Lazy.cs: Updated API to 4.0 Beta 2
745
746 2009-11-08  Juraj Skripsky  <js@hotfeet.ch>
747
748         * Array.cs (Sort):
749         - Sort(..) without IComparer param call Sort(.., (IComparer)null) siblings
750         - Sort(keys, items,..) with items == null call Sort(keys,..) siblings
751         Add missing argument checks. Add SortImpl method to be used by
752         List<T>.Sort(Comparison <T>).
753
754         Part 3 of 3 fixing bug #351638.
755
756 2009-11-08  Juraj Skripsky  <js@hotfeet.ch>
757
758         * Array.cs (Sort): Add and call
759         - SortImpl methods which do the real work without argument checking
760         - MoveNullKeysToFront methods which do a null <-> non-null sorting and
761         ensure that all non-null object implement IComparable/IComparable<T>
762
763         Part 2 of 3 fixing bug #351638.
764
765 2009-11-08  Juraj Skripsky  <js@hotfeet.ch>
766
767         * Array.cs (Sort): optimize qsort by employing multiple, faster copies
768         of the inner-most loops:
769         - for case "comparer != null"
770         - for case "pivot is IComparable<T>"
771         - for case "pivot is IComparable"
772         Remove compare methods as the inner loops now do their work.
773         Use GetValueImpl instead of GetValue in swap.
774
775         Part 1 of 3 fixing bug #351638.
776
777 2009-11-03  Miguel de Icaza  <miguel@novell.com>
778
779         * TermInfoDriver.cs (CheckWindowDimensions) Avoid extra checks, as
780         the condition was always checked previously.
781
782         (WriteSpecialKey): Actually write the tab character.
783         
784 2009-11-02  Miguel de Icaza  <miguel@novell.com>
785
786         * More NET_2_0 define removal, assume that it is now always true. 
787
788 2009-10-30  Sebastien Pouliot  <sebastien@ximian.com>
789
790         * MonoType.cs: Don't pass null value to icalls 
791         GetCorrespondingInflated[Constructor|Method]
792
793 2009-10-28  Lluis Sanchez Gual  <lluis@novell.com>
794
795         * MarshalByRefObject.cs: In InitializeLifetimeService, if a lease
796         exists for the object return it, instead of always creating
797         a new one. Fixes bug #544357.
798
799 2009-10-27  Sebastien Pouliot  <sebastien@ximian.com>
800
801         * String.cs: Remove unused (and unneeded) internal call defs.
802         Reduce duplication (and fix test) for Concat (object,object).
803         Avoid allocating zero-length strings in the cases where the
804         FX does not do so.
805
806 2009-10-22  Miguel de Icaza  <miguel@novell.com>
807
808         *  String.cs (IsNullOrWhiteSpace, Concat, Join): New 4.0 methods. 
809
810         * IntPtr.cs (Add, Subtract): New 4.0 methods.
811
812         * Tuple.cs: Updated signature.
813
814 2009-10-19  Marek Safar  <marek.safar@gmail.com>
815
816         * IObservable.cs, IObserver.cs: New files.
817         
818         * EventHandler.cs: Cleanup.
819
820 2009-10-16  Miguel de Icaza  <miguel@novell.com>
821
822         * Jumbo patch to drop support for pre-NET_2_0 code:
823
824         Remove ONLY_1_1 code
825         Remove NET_1_0 only code
826         Remove NET_2_0 defines assuming the value is true.
827
828         Improve one MonoTODO;   Implement one MonoTODO/Niex.
829
830         Ran a textual diff on the resulting assembly to validate that the
831         restul is the same on NET_2_0
832
833 2009-10-14  Jonathan Pryor  <jpryor@novell.com>
834
835         * AppDomain.cs: Re-add BaseDirectory in the MonoTouch profile.
836
837 2009-10-14  Sebastien Pouliot  <sebastien@ximian.com>
838
839         * Exception.cs: Use StackFrame.GetSecureFileName to display (or 
840         not) the file names (and paths). Don't serialize Source for
841         Moonlight.
842         * ValueType.cs: Change InternalEquals (icall) visibility to 
843         private since it is not used elsewhere outside the type.
844
845 2009-10-08  Sebastien Pouliot  <sebastien@ximian.com>
846
847         * AppDomain.cs: Remove NET_2_1 specific DefineDynamicAssembly(
848         AssemblyName,AssemblyBuilderAccess,bool) since it is not part
849         of SL. Provide a ToString implementation similar to Silverlight
850         for Moonlight (and without directly using an icall)
851
852 2009-10-07  Sebastien Pouliot  <sebastien@ximian.com>
853
854         * String.cs: Remove unsafe code duplication in ToCharArray.
855         Define out the unused InternalStrcpy icalls
856         * StringComparer.cs: Seal internal/private inner classes.
857
858 2009-10-06  Sebastien Pouliot  <sebastien@ximian.com>
859
860         * Decimal.cs: Use Compare method instead of directly using the
861         decimalCompare internal call.
862
863 2009-10-06  Sebastien Pouliot  <sebastien@ximian.com> 
864
865         * Enum.cs: Add an internal Value property as a single point to 
866         call the internal call get_value.
867
868 2009-10-06  Sebastien Pouliot  <sebastien@ximian.com>
869
870         * String.cs: Remove normalization methods for Moonlight
871
872 2009-10-06  Jonathan Chambers  <joncham@gmail.com>
873
874         * String.cs (Contains): Use CompareOptions.Ordinal. Fixes bug
875         #535425.
876
877 2009-10-04  Mark Probst  <mark.probst@gmail.com>
878
879         * AppDomain.cs: Check for static AppDomainInitializer earlier to
880         throw the appropriate exception instead of failing at
881         serialization.
882
883 2009-10-04  Mark Probst  <mark.probst@gmail.com>
884
885         * AppDomainSetup.cs: Functionality for serializing a few members
886         to simplify cross-domain copying from within the runtime.
887
888         * AppDomain.cs (CreateDomain): Make AppDomainSetup serialize the
889         necessary members in preparation for the cross-domain copy.
890
891         * Environment.cs: Corlib version bump.
892
893 2009-10-02  Marek Safar  <marek.safar@gmail.com>
894
895         * Array.cs, Decimal.cs, String.cs, Console.cs, _AppDomain.cs,
896         AppDomain.cs: Removed prehistoric mcs workarounds.
897
898 2009-09-30  Mark Probst  <mark.probst@gmail.com>
899
900         * Thread.cs: Remove serialized culture icall stuff from
901         InternalThread.  Implement it by using the cross-domain byte array
902         transfer icalls.
903
904         * Environment.cs: Corlib version bump.
905
906 2009-09-29 Gonzalo Paniagua Javier <gonzalo@novell.com>
907
908         * TermInfoDriver.cs: attempt to fix bug #527487.
909
910 2009-09-28  Atsushi Enomoto  <atsushi@ximian.com>
911
912         * Console.cs : do not use codepage 28591. It breaks build on
913           Japanese Windows.
914
915 2009-09-27 Gonzalo Paniagua Javier <gonzalo@novell.com>
916
917         * TermInfoDriver.cs: avoid segv if the pointer is not properly
918         initialized.
919
920 2009-09-26  Mark Probst  <mark.probst@gmail.com>
921
922         * NumberFormatter.cs: Remove the _thread field.
923
924 2009-09-26  Mark Probst  <mark.probst@gmail.com>
925
926         * Environment.cs: Corlib version bump.
927
928 2009-09-24  Zoltan Varga  <vargaz@gmail.com>
929
930         * Type.cs: Initialize the Missing field.
931
932 2009-09-22  Sebastien Pouliot  <sebastien@ximian.com>
933
934         * Environment.cs: Remove imperative CAS environment
935         permission checks under NET_2_1
936
937 2009-09-21 Gonzalo Paniagua Javier <gonzalo@novell.com>
938
939         * Console.cs: mark methods/properties that only work on windows.
940         Fixes bug #540593.
941
942 2009-09-21  Sebastien Pouliot  <sebastien@ximian.com>
943
944         * AppDomain.cs: Remove use of IPrincipal, Evidence and
945         PermissionSet types for NET_2_1
946
947 2009-09-20  Sebastien Pouliot  <sebastien@ximian.com>
948
949         * Activator.cs: Remove COM related method for NET_2_1
950         * AppDomain.cs: Remove extra methods and properties for NET_2_1
951         * AppDomainSetup.cs: Remove some properties for NET_2_1
952
953 2009-09-20  Sebastien Pouliot  <sebastien@ximian.com> 
954
955         * AppDomain.cs, Environment.cs: Remove imperative CAS file IO
956         permission checks under NET_2_1
957
958 2009-09-20  Sebastien Pouliot  <sebastien@ximian.com>
959
960         * AppDomainManager.cs: Remove NET_2_1 defines
961         * AppDomainManager_2_1.cs: New. NET_2_1 specific implementation
962
963 2009-09-04  Miguel de Icaza  <miguel@novell.com>
964
965         * TermInfoDriver.cs: Handle a few more key combinations.
966
967 2009-08-14  Miguel de Icaza  <miguel@novell.com>
968
969         * TermInfoDriver.cs (GetCursorPosition): Before we probe the
970         terminal for the cursor location, read all the pending console
971         input into our internal buffer and then send the cursor location
972         request.
973
974 2009-08-26  Sebastien Pouliot  <sebastien@ximian.com>
975
976         * TimeSpan.cs: Fix parsing when seconds are not specified.
977
978 2009-08-14  Marek Safar  <marek.safar@gmail.com>
979
980         * Type.cs: Made IsClass work under compiler context.
981
982 2009-08-12  Zoltan Varga  <vargaz@gmail.com>
983
984         * ResolveEventArgs.cs: Add net 4.0 RequestingAssembly property.
985
986 2009-08-11  Jérémie Laval  <jeremie.laval@gmail.com>
987
988         * Funcs.cs:
989         * Action.cs:
990         * AggregateException.cs: Add BOOTSTRAP_NET_4_0.
991
992 2009-08-07  Marek Safar  <marek.safar@gmail.com>
993
994         * AppDomain.cs: IsHomogenous always returns true for now.
995
996 2009-08-06 Rodrigo Kumpera  <rkumpera@novell.com>
997
998         * Environment.cs: Bump corlib version.
999
1000 2009-08-04 Rodrigo Kumpera  <rkumpera@novell.com>
1001
1002         * Environment.cs: Bump corlib version.
1003
1004 2009-08-03  Zoltan Varga  <vargaz@gmail.com>
1005
1006         * Environment.cs: Bump corlib version.
1007
1008 2009-07-30  Marek Safar  <marek.safar@gmail.com>
1009
1010         * AppDomain.cs: Implemented 2.0 CreateDomain.
1011
1012 2009-07-28 Rodrigo Kumpera  <rkumpera@novell.com>
1013
1014         Type.cs (MakeArrayType): Handle one-dym multidimensional array
1015         created with Type::MakeArrayType (1).
1016
1017 2009-07-28  Rodrigo Kumpera  <rkumpera@novell.com>
1018
1019         * Type.cs (FindMembers): Fix the ordering of returned members
1020         to method, ctor, property, event, field and nested type.
1021
1022 2009-07-27 Gonzalo Paniagua Javier <gonzalo@novell.com>
1023
1024         * Array.cs: empty arrays just return -1 in LastIndexOf().
1025
1026 2009-07-27  Miguel de Icaza  <miguel@novell.com>
1027
1028         * Value types implementing IConvertible.ToType now throw an
1029         ArgumentNullException if they are passed a null as the
1030         "targetType" argument.
1031
1032         This code can not be put directly in the Convert.ToType method, as
1033         this method is used by Convert.ToType (object o, TypeCode tc)
1034         which uses null as a target to throw a different kind of error
1035         (InvalidCastException).
1036
1037         Fixes a few more bugs in the Silverlight BCL test suite.
1038
1039         Additionally, the parameter type has been renamed.
1040
1041 2009-07-26  Miguel de Icaza  <miguel@novell.com>
1042
1043         * Type.cs: (GetMember) call directly the worker method, instead of
1044         calling through an intermediary.
1045
1046         (GetMember, full): throw if the name is null.
1047
1048 2009-07-19  Robert Jordan  <robertj@gmx.net>
1049
1050         * __ComObject.cs: Factor out Initialize method and expose it to
1051         ComInteropProxy. Fixes bug #520437.
1052
1053 2009-07-14  Rodrigo Kumpera  <rkumpera@novell.com>
1054
1055         * Attribute.cs (GetCustomAttributes): Pass typeof(Attribute)
1056         to GetCustomAttributes to match MS.
1057
1058         * MonoCustomAttrs.cs (GetCustomAttributesBase): Do proper
1059         checking of which types are handled by the runtime.
1060
1061         * MonoCustomAttrs.cs (IsDefined): Same.
1062
1063         Fixes #521885.
1064
1065 2009-07-14  Zoltan Varga  <vargaz@gmail.com>
1066
1067         * Environment.cs: Bump corlib version.
1068
1069 2009-07-07  Rodrigo Kumpera  <rkumpera@novell.com>
1070
1071         * Type.cs (IsUserType): Only TypeDelegator and types
1072         outside of corlib are unhandled usertypes.
1073
1074 2009-07-02  Marek Safar  <marek.safar@gmail.com>
1075
1076         * Type.cs, AppDomain.cs: 4.0 bits.
1077
1078 2009-06-26 Gonzalo Paniagua Javier <gonzalo@novell.com>
1079
1080         * DateTime.cs: if the DateTimeOffset is out of bounds, let Parse
1081         report the error. Fix stupid harmless typo.
1082         * DateTimeOffset.cs: report error if the UTC date/time is out of
1083         bounds.
1084
1085 2009-06-25  Miguel de Icaza  <miguel@novell.com>
1086
1087         * Array.cs: IList.this needs to throw IndexOutOfRangeException
1088         when the index is invalid, not ArgumentOutOfRangeException.
1089
1090         * Int32.cs: Do not crash if the FormatProvider returns a null
1091         value on the call to GetFormat (Type).
1092
1093         Validate the NumberStyles, passes Int/Int32Parse2.exe
1094
1095         Fix regression introduced in 2005, we need to throw
1096         ArgumentNullException on Parse.
1097
1098 2009-06-25  Miguel de Icaza  <miguel@novell.com>
1099
1100         * Int32.cs: Fix regression introduced in 2005, we need to throw
1101         ArgumentNullException on Parse.
1102
1103 2009-06-23 Gonzalo Paniagua Javier <gonzalo@novell.com>
1104
1105         * DateTime.cs: ignore MinValue to avoid DateTimeOffset ctor throwing
1106         when adjusting for TZ.
1107
1108 2009-06-22  Miguel de Icaza  <miguel@novell.com>
1109
1110         * String.cs: In Silverlight the whitespace characters 0x202f and
1111         0x205f are considered for Trim and Split purposes. 
1112
1113 2009-06-21  Marek Safar  <marek.safar@gmail.com>
1114
1115         * Tuples.cs: Add Equals, GetHashCode.
1116
1117 2009-06-21  Zoltan Varga  <vargaz@gmail.com>
1118
1119         * IntPtr.cs (.ctor): Disable the check in the long ctor until we
1120         can figure out how to do it properly.
1121
1122 2009-06-20  Zoltan Varga  <vargaz@gmail.com>
1123
1124         * IntPtr.cs (.ctor): Allow long values whose 31th bit is set.
1125
1126 2009-06-18 Gonzalo Paniagua Javier <gonzalo@novell.com>
1127
1128         * DateTime.cs: quick fix for the 1.x build.
1129
1130 2009-06-18 Gonzalo Paniagua Javier <gonzalo@novell.com>
1131
1132         * AppDomainSetup.cs: update attribute.
1133         * TermInfoDriver.cs: ensure we are initialized in CheckWindowDimensions().
1134         * DateTimeOffset.cs: Implement Parse().
1135         * DateTime.cs: add 'zzz' to the list of default time formats. Return a
1136         DateTimeOffset from _DoParse. Fixed the offset minutes when the
1137         timezone is specified as a negative one.
1138         * Console.cs: updates for MoveBufferArea().
1139         * AppDomainManager.cs: implement EntryAssembly.
1140         * AppDomain.cs: update attribute.
1141
1142 2009-06-15  Atsushi Enomoto  <atsushi@ximian.com>
1143
1144         * Environment.cs : bump corlib version.
1145
1146 2009-06-12  Bill Holmes  <billholmes54@gmail.com>
1147
1148         * Variant.cs (GetValue):  Changing the bool case to use the short value.  
1149           This is to avoid junk in the high word.
1150
1151         Contributed under MIT/X11 license.
1152
1153 2009-06-10  Marek Safar  <marek.safar@gmail.com>
1154
1155         * Predicate.cs, Action.cs, Funcs.cs, Comparison.cs, IComparable.cs,
1156         Converter.cs, EventHandler.cs: Add type variance.
1157         
1158         * InvalidTimeZoneException.cs,
1159         TimeZoneNotFoundException.cs: New file.
1160
1161 2009-05-27  Zoltan Varga  <vargaz@gmail.com>
1162
1163         * AppDomain.cs (DoAssemblyResolve): Fix recursion detection. Fixes #507003.
1164
1165 2009-05-26  Mark Probst  <mark.probst@gmail.com>
1166
1167         * Thread.cs: Don't set the execution context when creating a
1168         thread because the _ec member is thread static and we set the
1169         wrong one.  It's now set by the runtime.  We just provide the
1170         correct one.
1171
1172         * Environment.cs: Bump corlib version.
1173
1174 2009-05-22  Zoltan Varga  <vargaz@gmail.com>
1175
1176         * Tuple.cs Tuples.cs: New files.
1177
1178         * Lazy.cs LazyExecutionMode.cs Funcs.cs: New files.
1179
1180 2009-05-14 Gonzalo Paniagua Javier <gonzalo@novell.com>
1181
1182         * Type.cs: (GetInterfaceMap) 'this' can't be an interface itself.
1183         Fixed bug #503728.
1184
1185 2009-05-03 Gonzalo Paniagua Javier <gonzalo@novell.com>
1186
1187         * TermInfoDriver.cs: replace Peek with DataAvailable.
1188
1189 2009-05-02  Sebastien Pouliot  <sebastien@ximian.com>
1190
1191         * Console.cs: Remove Windows-specific p/invokes and SSC code
1192         from the NET_2_1 build.
1193
1194 2009-05-01  Sebastien Pouliot  <sebastien@ximian.com>
1195
1196         * AppDomainManager.cs: Fix base class for NET_2_1 and implement
1197         CheckSecuritySettings (added in 2.0SP and part of SL API)
1198
1199 2009-04-29 Gonzalo Paniagua Javier <gonzalo@novell.com>
1200
1201         * Enum.cs: return the value as an enum of the right type.
1202
1203 2009-04-28 Gonzalo Paniagua Javier <gonzalo@novell.com>
1204
1205         * Enum.cs: avoid exceptions from ToObject and use Try* instead.
1206
1207 2009-04-25  Miguel de Icaza  <miguel@novell.com>
1208
1209         * TermInfoDriver.cs: Use the new StreamReader.DataAvailable to
1210         load all the data that was added into the `stdin' stream when we
1211         did the `Read'.
1212
1213 2009-04-24  Sebastien Pouliot  <sebastien@ximian.com>
1214
1215         * Environment.cs: #ifdef out code that use the registry for the 
1216         NET_2_1 profile and some other properties (2) that added
1217         [SecuritySafeCritical] methods to audit inside Moonlight.
1218
1219 2009-04-21  Mark Probst  <mark.probst@gmail.com>
1220
1221         * Environment.cs: Bump corlib version.
1222
1223 2009-04-21  Miguel de Icaza  <miguel@novell.com>
1224
1225         * TermInfoDriver.cs: Prevent race condition if two threads try to
1226         initialize the Console at the same time. 
1227
1228         What happens is that inited is set, and elsewhere we try to
1229         dereference native_terminal_size before it is set.
1230
1231         * Reduce code size by using a table instead of manually making a
1232         few hundred calls.
1233         
1234 2009-04-20  Miguel de Icaza  <miguel@novell.com>
1235
1236         * Enum.cs (MonoEnumInfo): Compare bytes, shorts, ints and longs as
1237         unsigned values as specified and to fix 371559, from the bug:
1238
1239                 So the actual difference is that MSFT's Enum.GetValues
1240                 orders the members as unsigned even when the underlying
1241                 type is int.  See the following.  Perhaps that's what's
1242                 being implied by "binary values" in that Enum.GetValues
1243                 MSDN quote above.
1244
1245 2009-04-18  Mark Probst  <mark.probst@gmail.com>
1246
1247         * NumberFormatter.cs: Keep the current thread's number formatter
1248         as a ThreadStatic member.
1249
1250 2009-04-18  Mark Probst  <mark.probst@gmail.com>
1251
1252         * Environment.cs: Bump corlib version.
1253
1254 2009-04-12 Gonzalo Paniagua Javier <gonzalo@novell.com>
1255
1256         * GCNotificationStatus.cs: new enum.
1257
1258 2009-04-10  Zoltan Varga  <vargaz@gmail.com>
1259
1260         * Array.cs: Make some of the InternalArray methods non-generic to cut down
1261         on the number of instantiations. Add implementation for 
1262         ICollection:IsReadOnly.
1263
1264 2009-03-26  Jb Evain  <jbevain@novell.com>
1265
1266         * Delegate.cs (CreateDelegate): Support for delegates
1267         on static methods closed on a null target.
1268
1269 2009-03-26  Zoltan Varga  <vargaz@gmail.com>
1270
1271         * Environment.cs: Bump corlib version.
1272
1273 2009-03-25  Sebastien Pouliot  <sebastien@ximian.com>
1274
1275         * Delegate.cs: Add new parameter to CreateDelegate_internal (icall)
1276         * Environment.cs: Bump mono_corlib_version to 73
1277
1278 2009-03-25  Jb Evain  <jbevain@novell.com>
1279
1280         * Delegate.cs (CreateDelegate): fix checks to deal with
1281         valuetypes -> obj conversions for arguments, and avoid
1282         issues with such unallowed conversion for return types.
1283
1284 2009-03-23  Zoltan Varga  <vargaz@gmail.com>
1285
1286         * String.cs (LastIndexOf): Handle empty strings correctly. Fixes #486234.
1287
1288 2009-03-18  Zoltan Varga  <vargaz@gmail.com>
1289
1290         * Type.cs (GetGenericTypeDefinition): Make this throw an exception to be
1291         consistent with MS.NET. Move the real implementation to MonoType.
1292
1293 2009-03-18  Marek Safar  <marek.safar@gmail.com>
1294
1295         * Decimal.cs: Initialize all fields.
1296
1297 2009-03-16 Gonzalo Paniagua Javier <gonzalo@novell.com>
1298
1299         * ConsoleDriver.cs:
1300         * TermInfoDriver.cs: handle Ctrl-D (or similar) in ReadLine.
1301         Fixes bug #483950.
1302
1303         * ControlCharacters.cs: index to the control characters list.
1304         * Environment.cs: bumped corlib version.
1305
1306 2009-03-14  Miguel de Icaza  <miguel@novell.com>
1307
1308         * Convert.cs (ToType): Control whether this internal function will
1309         call an IConvertible.ToType method or not.  
1310
1311         Classes and structs implementing IConvertible in mscorlib (the
1312         only callers that can access Convert.ToType) must pass false to
1313         avoid a infinite recursion problem and callers from the public
1314         Convert API must call it with true.
1315
1316         This fixes the regression reported in #485377 that was introduced
1317         by the fix for #481687.
1318
1319         * Int16.cs, UInt64.cs, Double.cs, Enum.cs, SByte.cs, UInt16.cs,
1320         Byte.cs, Decimal.cs, Int32.cs, String.cs, Int64.cs, Char.cs,
1321         Boolean.cs, Single.cs, UInt32.cs: Update the call sites.
1322
1323 2009-03-07  Gert Driesen  <drieseng@users.sourceforge.net>
1324
1325         * Convert.cs: Do not throw InvalidCastException if
1326         IConvertible.ToType returns null.
1327
1328 2009-03-06  Andrés G. Aragoneses  <aaragoneses@novell.com>
1329
1330         * Convert.cs: Correct typo in exception message.
1331
1332 2009-03-06  Miguel de Icaza  <miguel@novell.com>
1333
1334         * Convert.cs: Apply patch from Tom Hindle that uses
1335         IConvertible.ToType if there are no other possible conversions
1336         defined. 
1337
1338         Fixes: #481687 
1339
1340 2009-03-06  Rodrigo Kumpera  <rkumpera@novell.com>
1341
1342         * MonoType.cs (MonoTypeInfo): Add default_ctor field.
1343
1344         * MonoType.cs: Add GetDefaultConstructor that caches using
1345         type_info.default_ctor.
1346
1347         * MonoType.cs (FullName): Protects against type_info been replaced
1348         under the hood.
1349
1350         * Activator.cs (CreateInstance): If the type is a MonoType resolve the
1351         default constructor using the new method from MonoType.
1352
1353         Improves Activator::CreateInstance performance by at least 30%, reduces object churn
1354         and domain lock contention.
1355
1356 2009-03-03  Rodrigo Kumpera  <rkumpera@novell.com>
1357
1358         * Guid.cs (BaseToString): Reduce allocations.
1359
1360 2009-03-02  Rodrigo Kumpera  <rkumpera@novell.com>
1361
1362         * Environment.cs: Bump corlib version.
1363
1364 2009-03-02  Rodrigo Kumpera  <rkumpera@novell.com>
1365
1366         * Enum.cs (IsDefined): If the enum underlying type is int32, use
1367         the generic version, which doesn't box every element of the array.
1368
1369 2009-03-02  Rodrigo Kumpera  <rkumpera@novell.com>
1370
1371         * Enum.cs (GetName): If the enum underlying type is int32, use
1372         the generic version, which doesn't box every element of the array.
1373
1374 2009-03-02  Rodrigo Kumpera  <rkumpera@novell.com>
1375
1376         * Enum.cs (MonoEnumInfo::GetInfo): Share the boxed form of the
1377         MonoEnumInfo between both caches.
1378
1379 2009-02-28  Zoltan Varga  <vargaz@gmail.com>
1380
1381         * Enum.cs (FindName): Use a hash table for looking up names instead of
1382         a linear search for enums with a lot of values.
1383
1384 2009-02-27  Rodrigo Kumpera  <rkumpera@novell.com>
1385
1386         * UInt16.cs (CompareTo/short): Make it return the
1387         same values as the /object version.
1388
1389         * Enum.cs (CompareTo): Use new compare_value_to icall to do the comparison.
1390         This avoids two allocations and reduce the number of trips to unmanaged land
1391         by one.
1392
1393         The performance improvement is up to 3.5x with the bonus of reducing the generated
1394         garbage.
1395
1396 2009-02-26  Marek Safar  <marek.safar@gmail.com>
1397
1398         * Nullable.cs: Inline GetValueOrDefault.
1399
1400 2009-02-26  Zoltan Varga  <vargaz@gmail.com>
1401
1402         * String.cs (FormatHelper): If all the arguments are strings, compute an
1403         initial length for the stringbuilder to avoid reallocations.
1404
1405         * MonoType.cs (FullName): Cache the result of this in a field, as
1406         computing it is expensive.
1407
1408         * Environment.cs: Bump corlib version.
1409         
1410 2009-02-25  Zoltan Varga  <vargaz@gmail.com>
1411
1412         * Enum.cs (GetInfo): Add a global cache in addition to the thread-local
1413         caches to accomodate short living threads like threadpool threads.
1414
1415 2009-02-23  Zoltan Varga  <vargaz@gmail.com>
1416
1417         * Type.cs: Add IsUserType internal property.
1418
1419 2009-02-21  Jb Evain  <jbevain@novell.com>
1420
1421         * MonoType.cs (InvokeMember): don't pass a null args to
1422         Binder.BindToMethod. Fix for #471275.
1423
1424 2009-02-12  Robert Jordan  <robertj@gmx.net>
1425
1426         * Exception.cs: Rename remote_stack_trace for MS.NET
1427         compatibility. Fixes #425512.
1428
1429 2009-02-12  Lluis Sanchez Gual  <lluis@novell.com>
1430
1431         * MarshalByRefObject.cs: Implemented MemberwiseClone(bool).
1432
1433 2009-02-10 Gonzalo Paniagua Javier <gonzalo@novell.com>
1434
1435         * AppDomain.cs: this fixes the remoting tests.
1436         Zoltan found out that there was a domain improperly using shadow
1437         copy.
1438
1439 2009-02-04 Gonzalo Paniagua Javier <gonzalo@novell.com>
1440
1441         * DateTime.cs: check for null and empty strings before anything else
1442         in CoreParse.
1443
1444 2009-01-27  Zoltan Varga  <vargaz@gmail.com>
1445
1446         * Type.cs (GetHashCode): Work on UnderlyingSystemType. Fixes #467229.
1447
1448 2009-01-24  Zoltan Varga  <vargaz@gmail.com>
1449
1450         * Variant.cs ApplicationIdentity.cs ActivationContext.cs Environment.cs
1451         AppDomain.cs: Fix warnings.
1452
1453 2009-01-24 Gonzalo Paniagua Javier <gonzalo@novell.com>
1454
1455         * AppDomain.cs: LoadAssembly() returns null instead of throwing now.
1456         Add new LoadSatellite method.
1457
1458 2009-01-20  Mark Probst  <mark.probst@gmail.com>
1459
1460         * Exception.cs: Added a comment explaining the use of trace_ips.
1461
1462 2009-01-12  Bill Holmes  <billholmes54@gmail.com>
1463
1464         * Variant.cs (GetValue):  Handling the NULL IDispatch 
1465           and IUnknown case.
1466
1467         Contributed under MIT/X11 license.
1468
1469 2009-01-09  Miguel de Icaza  <miguel@novell.com>
1470
1471         * DateTime.cs: Implement TryParse in a way that will not depend on
1472         the try/catch statement.   The try/catch statement is still there
1473         *just in case*, I might have missed some codepaths.
1474
1475 2009-01-06  Atsushi Enomoto  <atsushi@ximian.com>
1476
1477         * DateTime.cs : when ".FF..." is specified, allow milliseconds-less
1478           time. Fix #444103.
1479
1480 2008-12-19  Bill Holmes  <billholmes54@gmail.com>
1481
1482         * Environment.cs (GetEnvironmentVariable) :  Avoiding an nre if 
1483           the variable is not set.
1484
1485         * Environment.cs (SetEnvironmentVariable) : Adding a call to 
1486           internalBroadcastSettingChange to notify Windows that an environment 
1487           variable has changed.
1488
1489         Contributed under MIT/X11 license.
1490
1491 2008-12-18  Jb Evain  <jbevain@novell.com>
1492
1493         * String.cs: the Compare methods that were specific to SL2 are now
1494         also in .net 2/3.5 sp1.
1495
1496 2008-12-10  Bill Holmes  <billholmes54@gmail.com>
1497
1498         * Variant.cs (SetValue):   Changing the behavior for COM object in 
1499           VARIANTs to match MS.  Also adding support for BStrWrapper, 
1500           UnknownWrapper, and DispatchWrapper.
1501
1502         Contributed under MIT/X11 license.
1503
1504 2008-11-28  Miguel De Icaza  <miguel@novell.com>
1505
1506         * TermInfoDriver.cs: Also register a mapping to make verase be the
1507         backspace key.  Funny thing: verase was fetched from the termios,
1508         but it was *never* actually used in this file.
1509
1510         VSUSP and VINTR are likewise ignored.   Must ponder this.
1511
1512         This makes the backspace key in MacOS work on interactive
1513         applications.
1514         
1515 2008-11-15  Kornél Pál  <kornelpal@gmail.com>
1516
1517         * Convert.cs: Removed useless check from ToChar (ushort).
1518
1519 2008-11-06  Bill Holmes  <billholmes54@gmail.com>
1520
1521         * Type.cs (FindMembers):  Changing the instantiated type of the 
1522           returned MemberInfo array to match the MemberTypes flag
1523           passed in argument 1.
1524
1525         Contributed under MIT/X11 license.
1526
1527 Mon Nov 3 16:39:37 CET 2008 Paolo Molaro <lupus@ximian.com>
1528
1529         * Array.cs: in the IList set_Item, ensure the array
1530         element is set using the proper type checks (bug #440819).
1531
1532 Mon Oct 13 16:40:56 CEST 2008 Paolo Molaro <lupus@ximian.com>
1533
1534         * Environment.cs, OperatingSystem.cs: complete support for
1535         PlatformID (bug #433108).
1536
1537 2008-10-08 Gonzalo Paniagua Javier <gonzalo@novell.com>
1538
1539         * AppDomain.cs: (Load(AssemblyName)) Use the CodeBase after the Name
1540         when both are provided.
1541         Fixes bug #322228.
1542
1543 2008-10-08  Bill Holmes  <billholmes54@gmail.com>
1544
1545         * Variant.cs : Adding the BRECORD field to ensure the right size on
1546           a 64-bit OS.  32-bit 16 bytes, 32-bit 24 bytes.
1547
1548         Contributed under MIT/X11 license.
1549
1550 2008-10-08  Bill Holmes  <billholmes54@gmail.com>
1551
1552         * Variant.cs (SetValue) : Adding code to handle enums.
1553
1554         Contributed under MIT/X11 license.
1555
1556 2008-10-08  Bill Holmes  <billholmes54@gmail.com>
1557
1558         * Variant.cs : Cleaning up some tab formatting problems.
1559
1560         Contributed under MIT/X11 license.
1561
1562 2008-10-08  Zoltan Varga  <vargaz@gmail.com>
1563
1564         * PlatformID.cs: Define Xbox/MacOSX on the 2.0 profile too, since it
1565         is part of NET 3.5 SP1.
1566
1567 2008-10-07  Marek Habersack  <mhabersack@novell.com>
1568
1569         * Math.cs: implemented the away from zero rounding for the Round
1570         (double, int, MidpointRounding) overload.
1571
1572 2008-10-06  Zoltan Varga  <vargaz@gmail.com>
1573
1574         * Activator.cs (CreateInstance): Don't return the return value of the
1575         ctor.Invoke (object, ...) overload since it is null, return 'newOb' instead.
1576
1577 Mon Oct 6 15:12:25 CEST 2008 Paolo Molaro <lupus@ximian.com>
1578
1579         * Array.cs: better message when keys cannot be compared
1580         when sorting (bug #368455).
1581
1582 2008-09-29  Rodrigo Kumpera  <rkumpera@novell.com>
1583
1584         * Type.cs (MakeGenericType): Only use UnderlyingSystemType for user types.
1585         This must exclude TypeBuilder and EnumBuilder. Fixes #430508.
1586
1587 2008-09-28  Juraj Skripsky  <js@hotfeet.ch>
1588
1589         * String.cs (ReplaceUnchecked): Avoid any unnecessary work and 
1590         string allocations by returning early when no oldValue was found.
1591
1592 2008-09-24  Marek Habersack  <mhabersack@novell.com>
1593
1594         * Double.cs: check whether decimal_separator, group_separator and
1595         currency_symbol strings aren't empty before trying to index them
1596         in Parse ().
1597
1598 2008-09-24  Jb Evain  <jbevain@novell.com>
1599
1600         * AppDomain.cs (CreateDomain): call the domain initializer in
1601         the newly created AppDomain. Fixes #429545.
1602
1603 2008-09-24  Jb Evain  <jbevain@novell.com>
1604
1605         * AppDomain.cs: implement the CreateDomain overload which
1606         takes an AppDomain initializer. Fixes #429545.
1607
1608 2008-09-17  Robert Jordan  <robertj@gmx.net>
1609
1610         * DelegateSerializationHolder.cs: Starting with .NET 2.0, delegates
1611         of non-public methods are allowed to be serialized. Fixes #425345.
1612
1613 2008-09-15  Andy Hume  <andyhume32@yahoo.co.uk>
1614
1615         * DateTimeOffset.cs: DateTimeOffset currently has no
1616         deserialization constructor, thus deserialization
1617         fails ("SerializationException: The constructor to deserialize an
1618         object of type System.DateTimeOffset was not found.")
1619
1620         Patch attached, implements GetObjectData and that constructor.
1621         Also includes tests, which include round-tripping to/from MSFT.
1622
1623 2008-09-14  Zoltan Varga  <vargaz@gmail.com>
1624
1625         * ConsoleDriver.cs: Remove obsolete GetTtySize icall.
1626
1627 2008-09-09  Marek Safar  <marek.safar@gmail.com>
1628
1629         * Convert.cs, Decimal.cs: Fixed float/double to decimal range check.
1630
1631 2008-09-07  Miguel de Icaza  <miguel@novell.com>
1632
1633         * TermInfoDriver.cs: Add support for updating the size of the
1634         terminal when it changes.   
1635
1636 2008-08-27  Miguel de Icaza  <miguel@novell.com>
1637
1638         * TermInfoDriver.cs: Adds support for the Insert and Delete keys
1639         on the keyboard.   
1640
1641 2008-08-26  Miguel de Icaza  <miguel@novell.com>
1642
1643         * New console features are used by gmcs.exe, but since we only
1644         build gmcs.exe with the bootstrap corlib, we need to ensure all
1645         the new stuff is included in BOOTSTRAP_NET_2_0
1646
1647 2008-08-26  Robert Jordan  <robertj@gmx.net>
1648
1649         * AppDomain.cs (get_Evidence): Fix endless recursion exposed
1650         by the test case of bug #420197.
1651
1652 2008-08-24  Miguel de Icaza  <miguel@novell.com>
1653
1654         * TermInfoDriver.cs (GetKeyFromBuffer): Add support for reporting
1655         Alt-LETTER sequences.   They were ignored previously.
1656
1657 2008-08-22  Sebastien Pouliot  <sebastien@ximian.com>
1658
1659         * AppDomainSetup.cs: Remove IAppDomainSetup for SL2. This helps
1660         the tuner since the methods are then defined correctly (wrt to the
1661         implicit implementation of the interfaces)/
1662
1663 2008-08-21  Sebastien Pouliot  <sebastien@ximian.com> 
1664
1665         * Nullable.cs: Add two ComVisible(false) for SL2 profile.
1666         * PlatformID.cs: Add Xbox and MacOX for SL2 profile.
1667         * WeakReference.cs: Add default, protected, ctor for SL2.
1668
1669 2008-08-20  Miguel de Icaza  <miguel@novell.com>
1670
1671         * ConsoleDriver.cs: TtySetup now takes an extra argument: the
1672         keypadXmit string.
1673
1674 2008-08-16  Gert Driesen  <drieseng@users.sourceforge.net>
1675
1676         * Exception.cs: Fixed value of HResult to match MS. Added support for
1677         (de)serializing Data. Use deserialized ClassName, if available, to
1678         when name of type is used.
1679
1680 2008-08-10  Gert Driesen  <drieseng@users.sourceforge.net>
1681
1682         * IServiceProvider.cs: Added ComVisible attribute (1.0 only).
1683         * String.cs: Fixed argument names to match MS.
1684
1685 2008-08-10  Gert Driesen  <drieseng@users.sourceforge.net>
1686
1687         * Boolean.cs
1688         * Byte.cs
1689         * Char.cs
1690         * DateTime.cs
1691         * DBNull.cs
1692         * Decimal.cs
1693         * Double.cs
1694         * Enum.cs
1695         * Int16.cs
1696         * Int32.cs
1697         * Int64.cs
1698         * Single.cs
1699         * String.cs
1700         * UInt16.cs
1701         * UInt32.cs
1702         * UInt64.cs: Added missing CLSCompliant attributes for 1.0 profile.
1703
1704 2008-08-07  Atsushi Enomoto  <atsushi@ximian.com>
1705
1706         * DateTime.cs : zzzz format allows non-fixed length of number, even
1707           in exact parsing mode. Fixed bug #377042.
1708
1709 2008-08-05  Jb Evain  <jbevain@novell.com>
1710
1711         * String.cs: add new NET_2_1 Compare methods.
1712
1713 2008-08-03  Miguel de Icaza  <miguel@novell.com>
1714
1715         * ConsoleDriver.cs: If the terminal is dumb, do not activate the
1716         full terminal support.
1717
1718 2008-08-02  Marek Safar  <marek.safar@gmail.com>
1719
1720         * Type.cs: Removed _MemberInfo from base classes list.
1721         
1722 2008-07-28  Marek Safar  <marek.safar@gmail.com>
1723
1724         * KnownTerminals.cs: Don't initialize rarely used static data.
1725
1726 2008-07-24  Zoltan Varga  <vargaz@gmail.com>
1727
1728         * Delegate.cs: Move the rarely used fields to a separate object, add
1729         'method_code' field.
1730
1731         * Environment.cs: Bump corlib version.
1732
1733         * ConsoleDriver.cs: Remove unused Suspend icall.
1734
1735 2008-07-21  Marek Safar  <marek.safar@gmail.com>
1736
1737         * AppDomain.cs (Load): Check for 0-length assembly name.
1738
1739 2008-07-21  Rodrigo Kumpera  <rkumpera@novell.com>
1740
1741         * Enum.cs (GetHashCode): Use new icall get_hashcode to
1742         avoid allocating a boxed version of the enum basetype.
1743
1744 2008-07-17  Marek Safar  <marek.safar@gmail.com>
1745
1746         * String.cs: reverted GetHashCode changes.
1747
1748 2008-07-08  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
1749
1750         * Char.cs: Remove obsolete lamespecs (it implements IConvertible, small formatting)
1751
1752 2008-07-08  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
1753
1754         * Char.cs: Optimize some Is* checks
1755
1756 2008-07-06  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
1757
1758         * DateTimeOffset.cs: Fix parameter name
1759
1760 2008-07-06  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
1761
1762         * DateTimeOffset.cs: Remove public, make implicit method
1763
1764 2008-07-06  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
1765
1766         * Environment.cs: Add missing attribute
1767
1768 2008-07-04  Rodrigo Kumpera  <rkumpera@novell.com>
1769
1770         * Delegate.cs (get_Method): Use the internal version
1771         of GetMethodFromHandle to avoid the generic class check.
1772
1773 2008-07-04  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
1774
1775         * GCCollectionMode.cs: Add attribute
1776         * GC.cs: Add semi-stubbed missing method, remove obsolete Lamespec, hide non-public method
1777
1778 2008-07-04  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
1779
1780         * Delegate.cs: Fix parameter names for 2.0 profile
1781         * Int64.cs: Fix parameter names
1782
1783 2008-07-04  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
1784
1785         * IntPtr.cs: Fix parameter names, change internal name to accomodate for parameter changes
1786
1787 2008-07-04  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
1788
1789         * Predicate.cs:
1790         * Object.cs:
1791         * Nullable.cs
1792         * MultiCastDelegate.cs
1793         * ModuleHandle.cs
1794         * Math.cs
1795         * MarshalByRefObject.cs
1796         * Int64.cs
1797         * Int32.cs
1798         * Int16.cs
1799         * Environment.cs
1800         * Delegate.cs
1801         * DateTimeOffset.cs
1802         * ConsoleKeyInfo.cs
1803         * Console.cs
1804         * Array.cs
1805         * AppDomain.cs: Fix parameter names
1806
1807 2008-07-03  Rodrigo Kumpera  <rkumpera@novell.com>
1808
1809         * Exception.cs (GetFullNameForStackTrace): Don't do string
1810         concatenation.
1811
1812 2008-06-30  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
1813
1814         * ContextMarshalException.cs:
1815         * DllNotFoundException.cs:
1816         * EntryPointNotFoundException.cs:
1817         * FieldAccessException.cs:
1818         * MethodAccessException.cs:
1819         * MissingFieldException.cs:
1820         * PlatformNotSupportedException.cs: Fix parameter names
1821
1822 2008-06-30  Marek Safar  <marek.safar@gmail.com>
1823
1824         * String.cs: Tweaked hash code methods for better distibution, and speed-up.
1825
1826 2008-06-29  Zoltan Varga  <vargaz@gmail.com>
1827
1828         * MonoCustomAttrs.cs (IsDefined): Avoid calling the .Assembly property in some
1829         cases.
1830
1831 2008-06-30  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
1832
1833         * Char.cs: Fix formatting, rename wrong named param, remove code duplication
1834
1835 2008-06-28  Zoltan Varga  <vargaz@gmail.com>
1836
1837         * Enum.cs (GetUnderlyingType): Implement this using an icall.
1838         
1839         * Enum.cs (Format): Call IsDefined with inherited=false.
1840
1841         * Exception.cs: Fix a warning.
1842
1843 2008-06-27  Zoltan Varga  <vargaz@gmail.com>
1844
1845         * Enum.cs (FindName): Avoid calling String.Compare for the !ignoreCase case.
1846
1847 2008-06-27  Rodrigo Kumpera  <rkumpera@novell.com>
1848
1849         * Exception.cs: Build method traces using the
1850         stack trace StringBuilder.
1851
1852 2008-06-27  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
1853
1854         * Version.cs: Fix parameter names
1855         * UInt64.cs: 
1856         * UInt32.cs:
1857         * UInt16.cs:
1858         * Int64.cs: Fix parameter names
1859         * Int32.cs: Fix parameter names; some small formatting
1860         * Int16.cs: Fix parameter names
1861         * Double.cs: Fix parameter names; small formatting
1862         * Single.cs:
1863         * SByte.cs:
1864         * Byte.cs:
1865         * Boolean.cs:
1866         * DateTime.cs:
1867         * Enum.cs:
1868         * Decimal.cs: Fix parameter names
1869
1870 2008-06-14  Zoltan Varga  <vargaz@gmail.com>
1871
1872         * Environment.cs: Bump corlib version.
1873
1874 2008-06-10  Zoltan Varga  <vargaz@gmail.com>
1875
1876         * Math.cs (IEERemainder): Use the normal BitConverter.Int64BitsToDouble method
1877         here to fix this on sparc.
1878
1879 2008-06-07  Marek Safar  <marek.safar@gmail.com>
1880
1881         * Array.cs (IndexOf, LastIndexOf): Fixed more array element comparers used
1882         instead of tested value comparers.
1883
1884 2008-06-07  Zoltan Varga  <vargaz@gmail.com>
1885
1886         * Environment.cs: Bump corlib version.
1887
1888 2008-06-05  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
1889
1890         * String.cs: Managed replacement for Replace method ;)
1891
1892 2008-06-03  Zoltan Varga  <vargaz@gmail.com>
1893
1894         * Decimal.cs (Divide): Move expensive equality checks to unmanaged code.
1895
1896 2008-06-02  Ivan N. Zlatev  <contact@i-nz.net>
1897
1898         * MonoType.cs: For property reflection we should strictly match the return 
1899         type if available.
1900
1901 2008-06-01  Juraj Skripsky  <js@hotfeet.ch>
1902
1903         * String.cs (Substring): Blocking bug #395904 has been fixed,
1904         re-enable optimization.
1905
1906 2008-06-01  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
1907
1908         * String.cs: Replace Split IndexOf
1909
1910 2008-05-30  Marek Safar  <marek.safar@gmail.com>
1911
1912         * Array.cs (IndexOf): Use an array element comparer instead of tested value
1913         comparer.
1914
1915 2008-05-28  Zoltan Varga  <vargaz@gmail.com>
1916
1917         * Console.cs (.cctor): Make sdout synchronized in the console case too.
1918         Fixes #395069.
1919
1920 2008-05-27  Eyal Alaluf <eyala@mainsoft.com>
1921
1922         * NumberFormatter.jvm.cs: Fix tables to avoid arithemtic overflow
1923           in Double.ToString as exposed by Bug #383531.
1924
1925 2008-05-24  Gert Driesen  <drieseng@users.sourceforge.net>
1926
1927         * String.cs: Comment out 2.0 compatibility fix for SubString, since it
1928         causes regressions in System.Xml.
1929
1930 2008-05-24  Gert Driesen  <drieseng@users.sourceforge.net>
1931
1932         * String.cs: Changed exception to match MS. Fixed ToCharArray to use
1933         startindex for source. In PadLeft and PadRight, only return current
1934         string if totalWidth is less than length.
1935
1936 2008-05-24 Gonzalo Paniagua Javier <gonzalo.mono@gmail.com>
1937
1938         * Enum.cs: use Array.BinarySearch on the values in IsDefined and
1939         GetName instead of looping through the list. Made the cache in
1940         MonoEnumInfo thread static to avoid contention.
1941
1942 2008-05-20  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
1943
1944         * String.cs: Replace Split function
1945
1946 2008-05-19  Sebastien Pouliot  <sebastien@ximian.com>
1947
1948         * Boolean.cs,
1949         * Double.cs,
1950         * Enum.cs,
1951         * Int64.cs,
1952         * Single.cs,
1953         * UInt32.cs,
1954         * UInt64.cs: Avoid unboxing primitive types more than one time.
1955         [Found using Gendarme]
1956
1957 2008-05-19  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
1958
1959         * String.cs: Update Trim functions
1960
1961 2008-05-19  Zoltan Varga  <vargaz@gmail.com>
1962
1963         * ConsoleDriver.cs: Avoid initializing the three driver classes when only one
1964         is needed.
1965
1966 2008-05-18  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
1967
1968         * String.cs: Update Join and Pad functions
1969
1970 2008-05-18  Sebastien Pouliot  <sebastien@ximian.com>
1971
1972         * Environment.cs: Use String.IsNullOrEmpty inside 2.0 code.
1973         [Found using Gendarme]
1974
1975 2008-05-16  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
1976
1977         * String.cs: Directly create charenumerator
1978
1979 2008-05-15  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
1980
1981         * String.cs: Resubmit uncritical parts of String patch
1982
1983 2008-05-15  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
1984
1985         * DateTime.cs: Fix parameter names
1986
1987 2008-05-15  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
1988
1989         * Decimal.cs: Fix parameter names
1990
1991 2008-05-15  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
1992
1993         * Decimal.cs: Tabbify/Format
1994
1995 2008-05-14  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
1996
1997         * Version.cs
1998           UnhandledExceptionEventHandler.cs
1999           UInt64.cs
2000           UInt32.cs
2001           UInt16.cs: Fix parameter names
2002           Type.cs: Fix parameter names, formatting
2003           TimeSpan.cs
2004           StringComparer.cs
2005           Single.cs
2006           SByte.cs: Fix parameter names
2007
2008 2008-05-14  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
2009
2010         * Double.cs
2011           Enum.cs
2012           Exception.cs
2013           IComparable.cs
2014           IEquatable.cs
2015           IFormatProvider.cs
2016           IFormattable.cs
2017           InsufficientMemoryException.cs: Fix parameter names
2018
2019 2008-05-14  Jb Evain  <jbevain@novell.com>
2020
2021         * Exception.cs (ToString): output a new line before the 
2022         inner exception separator. Fixes #390150.
2023
2024 2008-05-12  Gert Driesen  <drieseng@users.sourceforge.net>
2025
2026         * Type.cs: Modifies exceptions to match MS. Changed GetTypeFromHandle
2027         on 1.0 profile to throw ArgumentException when handle is invalid,
2028
2029 2008-05-08  Rodrigo Kumpera  <rkumpera@novell.com>
2030
2031         * Activator.cs (CreateInstance): Check for null types when creating
2032         the error message.
2033
2034 2008-05-07  Robert Jordan  <robertj@gmx.net>
2035
2036         * RuntimeFieldHandle.cs, RuntimeTypeHandle.cs, RuntimeMethodHandle.cs:
2037         Don't try to serialize uninitialized handles. Fixes #386641.
2038
2039 2008-05-06  Marek Safar  <marek.safar@gmail.com>
2040
2041         * IntPtr.cs (eplicit long, GetObjectData): Use ToInt64.
2042
2043 2008-05-05  Zoltan Varga  <vargaz@gmail.com>
2044
2045         * Type.cs (GetTypeFromHandle): Apparently, it is possible to create a 
2046         RuntimeTypeHandle with a zero handle value by calling its ctor. Add an argument
2047         check for that.
2048
2049         * IntPtr.cs (ToInt64): Use (long)(int) on 32 bit platforms to avoid the default
2050         unsigned conversion done by the compiler. Fixes #386466.
2051
2052 2008-05-04  Zoltan Varga  <vargaz@gmail.com>
2053
2054         * Type.cs (UnderlyingSystemType): Add a comment pointing people to 
2055         Enum.GetUnderlyingType ().
2056
2057 2008-04-26  Zoltan Varga  <vargaz@gmail.com>
2058
2059         * Array.cs (LastIndexOf): Return GetLowerBound (0) -1 instead of -1.
2060         
2061         * Array.cs (LastIndexOf): Fix handling of empty arrays. Fixes #383876.
2062
2063 2008-04-13  Zoltan Varga  <vargaz@gmail.com>
2064
2065         * String.cs (Split): Fix the handling of RemoveEmptyEntries when the separator
2066         matches at the beginning of the string. Fixes #374511.
2067
2068 2008-04-13  Jb Evain  <jbevain@novell.com>
2069
2070         * ICloneable.cs: use the INSIDE_CORLIB pattern to
2071         internalize code that is used outside the corlib.
2072         Merged from the Moonlight 2 branch.
2073
2074 2008-04-04  Raja R Harinath  <harinath@hurrynot.org>
2075
2076         * String.cs (EndsWith) [CultureInfo variant]: Handle null 'culture'.
2077         (StartsWith, EndsWith, IndexOf, LastIndexOf) [StringComparison variant]:
2078         Throw exception on invalid StringComparison.
2079
2080 2008-04-01  Eyal Alaluf <eyala@mainsoft.com>
2081
2082         * NumberFormatter.cs NumberFormatter.jvm.cs: Performance optimizations.
2083           Reuse a per thread instance to format all the primitive types. Modify
2084           class accordingly so the same
2085           instance can be used multiple times.
2086         * Int16.cs UInt64.cs Double.cs SByte.cs UInt16.cs Byte.csDecimal.cs
2087           TimeSpan.cs Int32.cs Int64.cs Single.cs UInt32.cs: Change use of
2088           NumberFormatter to adapt to above changes in class interface.
2089
2090 2008-03-31  Mark Probst  <mark.probst@gmail.com>
2091
2092         * MonoType.cs: Don't do CAS security checks in CheckMethodSecurity
2093         for 2.1 profile.
2094
2095 2008-03-28  Marek Safar  <marek.safar@gmail.com>
2096
2097         * Nullable.cs (Box): Do things explicitly and not rely on broken gmcs
2098         behaviour.
2099
2100 2008-03-25  Zoltan Varga  <vargaz@gmail.com>
2101
2102         * AppDomain.cs: Update after MonoMethod.InternalInvoke signature change.
2103
2104         * Environment.cs: Bump corlib version.
2105
2106         * DateTime.cs: Fix a warning.
2107
2108 2008-03-21  Sebastien Pouliot  <sebastien@ximian.com>
2109
2110         * String.cs: Use "this" in Split method instead of calling ToString.
2111         Found using Gendarme.
2112
2113 2008-03-06  Marek Safar  <marek.safar@gmail.com>
2114
2115         * MonoCustomAttrs (GetCustomAttributes): Type cannot be null with
2116         typeof (MonoCustomAttrs) hack.
2117
2118 Wed Mar 5 19:39:01 CET 2008 Paolo Molaro <lupus@ximian.com>
2119
2120         * Type.cs: optimize GetTypeCode () for the common case
2121         (fixes bug #367354).
2122
2123 2008-03-02  Roei Erez  <roeie@mainsoft.com>
2124
2125         * DateTime.cs: Improve the patch supplied by James Purcell to be
2126           dotnet-compatible, and add support for RoundTripKind parsing. 
2127           Fixed reopened bug #352210.
2128
2129
2130 Tue Feb 26 17:50:17 CET 2008 Paolo Molaro <lupus@ximian.com>
2131
2132         * DateTime.cs: instroduce a method that returns ticks monotonically.
2133
2134 2008-02-26  Ivan N. Zlatev  <contact@i-nz.net>
2135
2136         * Attribute.cs, MonoCustomAttrs: MS ignores the inherit param in 
2137         PropertyInfo's ICustomAttributeProvider implementation, but not 
2138         in the Attributes, so directly get the attributes from 
2139         MonoCustomAttrs instead of going throught the PropertyInfo's 
2140         ICustomAttributeProvider.
2141         [Fixes bugs #324472 and #322464]
2142
2143 2008-02-26  Atsushi Enomoto  <atsushi@ximian.com>
2144
2145         * DateTime.cs : fix roundtrip regression in Sys.Xml.XmlConvertTests,
2146           patch by James Purcell (at #352210).
2147
2148 2008-02-25  Atsushi Enomoto  <atsushi@ximian.com>
2149
2150         * DateTime.cs, DateTimeUtils.cs : make Kind value from parse result
2151           as dotnet-compatible. Patch by James Purcell, fixed bug #352210.
2152
2153 2008-02-18  Atsushi Enomoto  <atsushi@ximian.com>
2154
2155         * DBNull.cs : ToType(typeof(DBNull),...) should be allowed.
2156
2157 2008-02-16  Sebastien Pouliot  <sebastien@ximian.com>
2158
2159         * Object.cs: Fix parameter name to match MS implementation. Found
2160         using Gendarme.
2161         * ValueType.cs: Fix parameter name to match MS implementation. 
2162         Found using Gendarme.
2163
2164 2008-02-14  Jb Evain  <jbevain@novell.com>
2165
2166         * Delegate.cs (CreateDelegate): refactor. DRY!
2167
2168 2008-02-12  Gert Driesen  <drieseng@users.sourceforge.net>
2169
2170         * Delegate.cs (CreateDelegate): Walk the inheritance change to find
2171         matching method. Skip methods for which the return type does not match
2172         the delegate. Fixes bug #360784.
2173
2174 2008-02-11  Eyal Alaluf <eyala@mainsoft.com>
2175
2176         * NumberFormatter.cs: Fix ToString("R") for +-Infinity & NaN.
2177
2178 2008-02-08  Sebastien Pouliot  <sebastien@ximian.com>
2179
2180         * Random.cs: Explain (and extend) special case in Next(min,max)
2181
2182 2008-02-08  Juraj Skripsky  <js@hotfeet.ch>
2183
2184         * Random.cs (Next): Use rounding (via implicit conversion) only on
2185         positive values. Fixes bug 359918.
2186
2187 2008-02-03  Sebastien Pouliot  <sebastien@ximian.com>
2188
2189         * Environment.cs: Remove unused method found with Gendarme.
2190
2191 2008-02-02  Gert Driesen  <drieseng@users.sourceforge.net>
2192
2193         * Variant.cs: Fixed line endings.
2194         * MonoType.cs: Fixed parameter name for ArgumentException to match MS.
2195
2196 2008-01-29  Zoltan Varga  <vargaz@gmail.com>
2197
2198         * Type.cs (MakeGenericType): Fix exception message.
2199
2200 2008-01-29  Jb Evain  <jbevain@novell.com>
2201
2202         * AppDomain.cs: add SL overload of DefineDynamicAssembly.
2203
2204 2008-01-29  Marek Safar  <marek.safar@gmail.com>
2205
2206         * Type.cs (MakeGenericType): More argument checks. Fixes #356863 by
2207          Sanghyeon Seo.
2208
2209 2008-01-25  Rodrigo Kumpera  <rkumpera@novell.com>
2210
2211         * MonoType.cs (InvokeMember): Fixed exceptions arguments for last comit.
2212
2213 2008-01-24  Rodrigo Kumpera  <rkumpera@novell.com>
2214
2215         * MonoType.cs (InvokeMember): Check for parameters without default value which
2216         the supplied argument is Missing.Value. Fixes one of the issues of #348522.
2217
2218 2008-01-21  Sebastien Pouliot  <sebastien@ximian.com>
2219
2220         * DateTimeOffset.cs: Avoid NRE on bad cast if null is provided to
2221         Equals(object). Found using Gendarme.
2222
2223 2008-01-16  Zoltan Varga  <vargaz@gmail.com>
2224
2225         * DateTimeOffset.cs: Fix warnings.
2226
2227 2008-01-15  Stephane Delcroix  <sdelcroix@novell.com>
2228
2229         * DateTimeOffset.cs: ParseExact: parse f, F, s too.
2230
2231 2008-01-15  Stephane Delcroix  <sdelcroix@novell.com>
2232
2233         * DateTimeOffset.cs: ParseExact: honor the DateTimeStyles parameter.
2234
2235 2008-01-15  Zoltan Varga  <vargaz@gmail.com>
2236
2237         * AppDomainSetup.cs Buffer.cs Action.cs Array.cs BadImageFormatException.cs Byte.cs
2238         Attribute.cs _AppDomain.cs Boolean.cs AppDomain.cs: Fix some argument names to be 
2239         consistent with MS.
2240
2241 2008-01-14  Sephane Delcroix  <sdelcroix@novell.com>
2242
2243         * DateTimeOffset.cs: start refactoring DoParse.
2244
2245 2008-01-14  Zoltan Varga  <vargaz@gmail.com>
2246
2247         * Type.cs (GetConstructor): Use correct binding flags in type (Type[]) overload.
2248         Fixes #353604.
2249
2250 2008-01-13  Eyal Alaluf <eyala@mainsoft.com>
2251
2252         * NumberFormatter.cs, Double.cs, Single.cs: Fix Single & Double default
2253           ToString to handle +-Infinity & NaN.
2254
2255 2008-01-14  Sephane Delcroix  <sdelcroix@novell.com>
2256
2257         * DateTimeOffset.cs: ParseExact (string, string, IFormatProvider) 
2258         implemented.
2259
2260
2261 2008-01-14  Zoltan Varga  <vargaz@gmail.com>
2262
2263         * NumberFormatter.cs: Remove some redundant assignments.
2264
2265 2008-01-13  Gert Driesen  <drieseng@users.sourceforge.net>
2266
2267         * AppDomain.cs: Also fix bug #350530 for overload taking evidence and
2268         args. On 1.0 profile, throw COMException to match MS and to allow
2269         our unit tests to pass on MS.
2270
2271 2008-01-13  Eyal Alaluf <eyala@mainsoft.com>
2272
2273         * NumberFormatter.cs: Check in redesigned implementation. Improves
2274           double.ToString performance by 2-3 orders of magnitude and other
2275           primitive numeric types ToString performance.
2276         * NumberFormatter.jvm.cs: The TARGET_JVM managed tables for NumberFormatter
2277           class for reuse if a completely managed NumberFormatter is required.
2278         * Int16.cs UInt64.cs Double.cs UInt16.cs SByte.cs Byte.cs TimeSpan.cs
2279           Int32.cs Int64.cs Single.cs UInt32.cs: Adapt to new NumberFormatter.
2280
2281 2008-01-13  Zoltan Varga  <vargaz@gmail.com>
2282
2283         * AppDomain.cs: Check for a missing entry point in the ExecuteAssembly methods.
2284         Fixes #350530.
2285
2286 2008-01-11  Stephane Delcroix  <sdelcroix@novell.com>
2287
2288         * DateTimeOffset.cs: Fixes the MinValue (was equal to MaxValue)...
2289
2290 2008-01-10  Zoltan Varga  <vargaz@gmail.com>
2291
2292         * Delegate.cs: Implement argument checking in CreateDelegate(Type,object,MethodInfo)
2293         method. Make the CreateDelegate(Type,MethodInfo) overload calls this version.
2294         Fixes #352805.
2295
2296 2008-01-10  Stephane Delcroix  <sdelcroix@novell.com>
2297
2298         * DateTimeOffset.cs: chain the Parse* methods together.
2299
2300 2008-01-09  Atsushi Enomoto  <atsushi@ximian.com>
2301
2302         * DateTime.cs : revert the previous fix. It caused regression on
2303           the buildbot.
2304
2305 2008-01-09  Atsushi Enomoto  <atsushi@ximian.com>
2306
2307         * DateTime.cs : fixed bug #352210. Kind is unspecified by default,
2308           while the tick is for local time by default. This fix also involved
2309           special x509 handling.
2310
2311 2008-01-08  Marek Safar  <marek.safar@gmail.com>
2312
2313         * Array.cs (LastIndexOf<T>): Fixed bound checking.
2314
2315 2008-01-06  Zoltan Varga  <vargaz@gmail.com>
2316
2317         * AppDomain.cs: Move the assembly loading in ExecuteAssembly and 
2318         ExecuteAssemblyByName to managed to as said by the MSDN docs. Fixes #350530.
2319
2320         * Environment.cs: Bump corlib version.
2321         
2322 2008-01-02  Marek Habersack  <mhabersack@novell.com>
2323
2324         * Array.cs: fix a typo to unbreak the build.
2325
2326 2008-1-1  Scott Peterson  <lunchtimemama@gmail.com>
2327
2328         * Array.cs: Slight improvement to the quicksort algorithm.
2329
2330 2007-12-28  Gert Driesen  <drieseng@users.sourceforge.net>
2331
2332         * Environment.cs: Bump corlib version.
2333
2334 2007-12-20  Gert Driesen  <drieseng@users.sourceforge.net>
2335
2336         * AppDomain.cs: Added check for null AssemblyName, and invalid
2337         AssemblyName.Name to DefineDynamicAssembly overloads. Loosely based on
2338         patch provided by Cedric Vivier. Fixes bug #349272.
2339
2340 2007-12-20  Stephane Delcroix  <sdelcroix@novell.com>
2341
2342         * DateTimeOffset.cs: set [Min|Max]Value to UTC. Fixes #349621.
2343
2344 2007-12-19  Stephane Delcroix  <sdelcroix@novell.com>
2345
2346         * DateTime.cs:
2347         * DateTimeOffset.cs:
2348         * DateTimeUtils.cs: factored out the common pieces of DT and DTO into DTU.
2349
2350 2007-12-18  Stephane Delcroix  <sdelcroix@novell.com>
2351
2352         * DateTimeOffset.cs: implementing the 4 ToString overloads by reusing
2353         large chunks of System.DateTime code.
2354
2355 2007-12-16  Stephane Delcroix  <sdelcroix@novell.com>
2356
2357         * DateTimeOffset.cs: some bugfix discovered by unit tests.
2358
2359 2007-12-16  Stephane Delcroix  <sdelcroix@novell.com>
2360
2361         * DateTimeOffset.cs: almost complete implementation, still missing the
2362         Parse* and ToString methods.
2363
2364 2007-12-11  Zoltan Varga  <vargaz@gmail.com>
2365
2366         * AppDomain.cs (DoAssemblyResolve): Fix detection of whenever there is a
2367         reflection-only assembly resolve hook.
2368
2369 2007-12-10  Stephane Delcroix  <sdelcroix@novell.com>
2370
2371         * DateTimeOffset.cs: partial implementation. no longer just a stub.
2372
2373 2007-11-30  Zoltan Varga  <vargaz@gmail.com>
2374
2375         * Delegate.cs: Compute the Method property lazily.
2376         
2377         * Delegate.cs: Add a 'method' field.
2378
2379         * Environment.cs: Bump corlib version.
2380
2381 2007-11-21  Zoltan Varga  <vargaz@gmail.com>
2382
2383         * Array.cs: Make the InternalArray_... methods internal.
2384
2385         * Environment.cs: Bump corlib version.
2386
2387 2007-11-21  Atsushi Enomoto  <atsushi@ximian.com>
2388
2389         * AppDomain.cs : filled 2.0 API (extra ones are from 2.0 SP1).
2390         * ContextMarshalException.cs : obsolete in 2.0.
2391
2392 2007-11-21  Atsushi Enomoto  <atsushi@ximian.com>
2393
2394         * MarshalByRefObject.cs : Added MemberwiseClose() stub.
2395           GetLifetimeService() is not virtual (in both 2.0 and 1.1).
2396         * Console.cs : implemented missing 2.0 key members.
2397
2398 2007-11-18  Gert Driesen  <drieseng@users.sourceforge.net>
2399
2400         * Enum.cs: Provided ParamName of Argument(Null)Exceptions. Rewrote
2401         some exception messages.
2402
2403 2007-11-16  Gert Driesen  <drieseng@users.sourceforge.net>
2404
2405         * AppDomain.cs: Added some obsolete messages.
2406
2407 2007-11-15  Gert Driesen  <drieseng@users.sourceforge.net>
2408
2409         * MonoType.cs: Modified ParamName for ArgumentException to match
2410         MS. Provide meaningful exception messages. On 2.0, throw ANE instead
2411         of ArgumentException when args is null.
2412
2413 2007-11-15  Zoltan Varga  <vargaz@gmail.com>
2414
2415         * MonoType.cs (Invoke): Allow BindingFlags.SetField and
2416         BindingFlags.SetProperty to be specified together. Fixes #321735.
2417
2418 2007-11-14  Miguel de Icaza  <miguel@novell.com>
2419
2420         * Console.cs, ConsoleDriver.cs, TermInfoDriver.cs,
2421         TermInfoReader.cs, TermInfoNumber.cs, TermInfoStrings.cs,
2422         CStreamReader.cs, CStreamWriter.cs, NullConsoleDriver.cs,
2423         WindowsConsoleDriver.cs: In the 2.1 profile we do not need the
2424         full-blown Console (the terminal-addressable console) so we shrink
2425         it down to the basic 1.0 Console.
2426
2427 2007-11-14  Marek Safar  <marek.safar@gmail.com>
2428
2429         * Nullable.cs: Optimized to use generic comparers.
2430
2431 2007-11-14  Zoltan Varga  <vargaz@gmail.com>
2432
2433         * Array.cs (Copy): Throw InvalidCastException in more cases.
2434
2435 2007-11-13  Zoltan Varga  <vargaz@gmail.com>
2436
2437         * GCCollectionMode.cs GCLatencyMode.cs: New net 3.5 types.
2438
2439 2007-11-12  Atsushi Enomoto  <atsushi@ximian.com>
2440
2441         * NumberFormatter.cs : revert previous two changes. It does not
2442           really work for float and hence will rather bring confusion.
2443
2444 2007-11-12  Atsushi Enomoto  <atsushi@ximian.com>
2445
2446         * NumberFormatter.cs : limit the situation that needs roundtrip
2447           verification in the previous change to Double.
2448
2449 2007-11-12  Atsushi Enomoto  <atsushi@ximian.com>
2450
2451         * NumberFormatter.cs : applied a quick fix for bug #320433. It needs
2452           true fix to avoid extra perf. loss.
2453
2454 2007-11-08  Sebastien Pouliot  <sebastien@ximian.com>
2455
2456         * TimeZone.cs: Under 2.0 we must return a Local DateTime.MinValue.
2457         Fix the regression on the x86_64 bot which seems to be in it's own
2458         timezone.
2459
2460 2007-11-07  Gert Driesen  <drieseng@users.sourceforge.net>
2461
2462         * Exception.cs: Cosmetic change to default exception message on
2463         2.0 profile.
2464
2465 2007-11-05  Gert Driesen  <drieseng@users.sourceforge.net>
2466
2467         * Array.cs: Distinguish between notstarted and finished state when
2468         throwing IOE in Current, and provide meaningful exception message.
2469
2470 2007-11-05  Sebastien Pouliot  <sebastien@ximian.com>
2471
2472         * Array.cs: Fix Enumerator<T>.Reset (#322248).
2473
2474 2007-11-05  Rodrigo Kumpera  <rkumpera@novell.com>
2475
2476         * Type.cs (MakeGenericType): fix for #331199. If an user-defined type
2477         was used, the runtime would crash. Now we apply UnderlyingSystemType to
2478         all types before handling to the runtime.
2479
2480 2007-11-05  Stephane Delcroix  <sdelcroix@novell.com>
2481
2482         * TimeZone.cs: fix for #323911. The our after DST.Start is already DST.
2483
2484 2007-11-03  Atsushi Enomoto  <atsushi@ximian.com>
2485
2486         * DateTime.cs : fix for #330085. for Local time, convert to Utc
2487           before getting ticks.
2488
2489 2007-11-03  Gert Driesen  <drieseng@users.sourceforge.net>
2490
2491         * ArgumentException.cs: Change default message to match MS. Removed
2492         unnecessary check from Message, since base.Message can never be null.
2493
2494 2007-11-01  Atsushi Enomoto  <atsushi@ximian.com>
2495
2496         * DateTime.cs : ParseExact() should ignore 'K' when there is no
2497           character is left.
2498
2499 2007-11-01  Atsushi Enomoto  <atsushi@ximian.com>
2500
2501         * DateTime.cs : in roundtrip mode, 'Z' should turn the tick value to
2502           utc time and should not result in different ticks.
2503           Fixed bug #338064.
2504
2505 2007-10-30  Miguel de Icaza  <miguel@novell.com>
2506
2507         * UInt32.cs (Parse): Use Jeff Stedfast's parsing code which is
2508         smaller and does not need checked() constructs. 
2509
2510         * Int64.cs, Int32.cs, Int16.cs: small tuneup: do not throw
2511         exception, instead return the exception like every other place in
2512         this code. 
2513
2514         * Int16.cs, Int32.cs, Int64.cs: Use the Jeff Stedfast parsing code
2515         which is smaller.  We no longer use "checked" to check for
2516         overflows, I refactored some stuff and cleaned up the rest and
2517         fixes #331525.
2518
2519 2007-10-27  Zoltan Varga  <vargaz@gmail.com>
2520
2521         * MonoType.cs: Applied patch from Mario A Chavez 
2522         <mario.chavez@gmail.com>. Add support for invoking members with the 
2523         ParamArray attribute. Fixes #336841.
2524
2525 2007-10-26  Zoltan Varga  <vargaz@gmail.com>
2526
2527         * MonoType.cs (InvokeMember): Make sure one operation is passed in the binding
2528         flags. Fixes #336936.
2529
2530 Fri Oct 26 19:43:09 CEST 2007 Paolo Molaro <lupus@ximian.com>
2531
2532         * Environment.cs, String.cs: patch from Tyler Larson
2533         <mono-devel@tlarson.com> to fix the handling of the RemoveEmptyEntries
2534         option in string.Split (bug #322375).
2535
2536 2007-10-26  Dick Porter  <dick@ximian.com>
2537
2538         * Environment.cs: Bump version because of Thread initialisation
2539         changes
2540
2541 2007-10-25  Lluis Sanchez Gual  <lluis@novell.com>
2542
2543         * AppDomain.cs: In DefaultDomain, wrap the returned domain with
2544         a proxy if the current domain is not the root domain.
2545
2546 2007-10-24  Atsushi Enomoto  <atsushi@ximian.com>
2547
2548         * Type.cs : implemented ReflectionOnlyGetType().
2549
2550 2007-10-19  Zoltan Varga  <vargaz@gmail.com>
2551
2552         * AppDomain.cs: Add NET 3.5 DefineDynamicAssembly () overloads.
2553
2554 2007-10-13  Zoltan Varga  <vargaz@gmail.com>
2555
2556         * Delegate.cs (CreateDelegate): Allow binding instance methods to 
2557         delegates with an extra argument, a NET 2.0 feature. Fixes #333647.
2558
2559 Fri Oct 12 08:11:50 CEST 2007 Paolo Molaro <lupus@ximian.com>
2560
2561         * String.cs: reverted unapproved patch that breaks the build.
2562
2563 2007-10-11  Joel Reed  <joelwreed@comcast.com>
2564
2565         * String.cs: fix String.Split(char[],int,StringSplitOptions)
2566         with StringSplitOptions.RemoveEmptyEntries option. The correct 
2567         behavior is to remove empty entries while the string is being split, 
2568         and always return the maximum number of elements possible.
2569         Patch from: Tyler Larson <mono-devel@tlarson.com>
2570         
2571 2007-09-28  Jb Evain  <jbevain@novell.com>
2572
2573         * Object.cs: Make ToString return Type.ToString ()
2574         by default instead of Type.FullName to match .net
2575         behavior. Fix #329419.
2576
2577 2007-09-28  William Holmes  <billholmes54@gmail.com>
2578
2579         * DateTime.cs: Check for AssumeUniversal when parsing string.
2580          Fixes bug #324845
2581
2582 2007-09-21  Gert Driesen  <drieseng@users.sourceforge.net>
2583
2584         * Enum.cs: Use regular single quotes in exception message.
2585
2586 2007-09-14  Paolo Molaro <lupus@ximian.com>
2587
2588         * String.cs: implemented all the string ctors using CreateString
2589         methods, so they can run completely in managed code.
2590
2591 2007-09-13  Marek Safar  <marek.safar@gmail.com>
2592
2593         * DateTimeOffset.cs: Implemented few properties.
2594
2595 2007-09-13  Atsushi Enomoto  <atsushi@ximian.com>
2596
2597         * Decimal.cs, Math.cs : implemented midpoint rounding.
2598
2599 2007-09-13  Atsushi Enomoto  <atsushi@ximian.com>
2600
2601         * Activator.cs : implemented 2.0 CreateInstance()
2602           and CreateInstanceFrom () overloads.
2603
2604 2007-09-12  Sebastien Pouliot  <sebastien@ximian.com>
2605
2606         * Decimal.cs: More explicit text in exception (old and almost 
2607         forgetten patch on laptop ;-)
2608
2609 2007-09-10  Atsushi Enomoto  <atsushi@ximian.com>
2610
2611         * OperatingSystem.cs : implemented ISerializable.
2612
2613 2007-08-28  Zoltan Varga  <vargaz@gmail.com>
2614
2615         * DateTime.cs: Fix a warning.
2616
2617 2007-08-25  Robert Jordan  <robertj@gmx.net>
2618
2619         * DateTime.cs: Implement internal To/FromBinary for the 1.1 profile.
2620
2621 2007-08-25  Alan McGovern  <amcgovern@novell.com>
2622
2623         * DateTime.cs: Reverted DateTime changes.
2624
2625 2007-08-25  Robert Jordan  <robertj@gmx.net>
2626
2627         * DateTime.cs: Implement internal To/FromBinary for the 1.1 profile.
2628
2629 2007-08-24  Zoltan Varga  <vargaz@gmail.com>
2630
2631         * Array.cs: Fix min + max / 2 overflows in the BinarySearch and qsort methods.
2632         Fixes #82469.
2633
2634 2007-08-23  Marek Safar  <marek.safar@gmail.com>
2635
2636         * DateTimeOffset.cs: New .NET 3.5 struct for 2.0 mscorlib.
2637         
2638 2007-08-23  Eyal Alaluf <eyala@mainsoft.com>
2639
2640         * DateTime.cs: Numerous improvements to DateTime.Parse. It handles a lot
2641           more possible formats and more correctly at that. It is also now easier
2642           to manage the formats DateTime.Parse supports.
2643
2644 2007-08-17  Zoltan Varga  <vargaz@gmail.com>
2645
2646         * Exception.cs: Make 1.0 and 2.0 object layout the same since this class is seen
2647         by the runtime. Fixes #82459.
2648
2649 2007-08-16  Gert Driesen  <drieseng@users.sourceforge.net>
2650
2651         * MonoCustomAttrs.cs: In IsDefined, throw ArgumentNullException if
2652         attributeType is null to avoid a SIGSEGV (and match MS). Only partial
2653         fix for bug #82431 on 1.0 profile; it fully fixes the problem for the
2654         1.0 profile, but more changes (in the runtime) are required for the
2655         2.0 profile. Added a FIXME explaining the problem.
2656
2657 2007-08-15  Gert Driesen  <drieseng@users.sourceforge.net>
2658
2659         * MonoCustomAttrs.cs: In IsDefined, only walk inheritance chain if
2660         both AttributeUsage.Inherited and inherit are true. Fixed bug #82431.
2661
2662 2007-08-13  Gert Driesen  <drieseng@users.sourceforge.net>
2663
2664         * ArgumentException.cs: Ignore zero-length ParamName for Message.
2665         Use ParamName property instead of field, since the property is marked
2666         virtual.
2667         * Array.cs: Provide more meaningful exception message when destination
2668         array is not long enough.
2669
2670 2007-08-11  Zoltan Varga  <vargaz@gmail.com>
2671
2672         * Array.cs: Implement InternalArray__set_Item. Fixes #82345.
2673
2674 2007-08-08  Atsushi Enomoto  <atsushi@ximian.com>
2675
2676         * IntPtr.cs : oops, do not ignore format in ToString(string).
2677
2678 2007-08-08  Atsushi Enomoto  <atsushi@ximian.com>
2679
2680         * GC.cs, Exception.cs, IntPtr.cs, Enum.cs, DateTime.cs, Convert.cs
2681           ConsoleKeyInfo.cs, String.cs, Object.cs, Attribute.cs,
2682           Version.cs : couple of cosmetic 2.0 API fixes.
2683
2684 2007-08-06  Aaron Bockover  <abockover@novell.com>
2685
2686         * Environment.cs (ReadXdgUserDir): Support the changes to the
2687         xdg-user-dirs spec that allow $HOME to start the path; also allows
2688         for quotes surrounding the path (Patch ported from Banshee,
2689         BGO #461596)
2690
2691 2007-07-28  Miguel de Icaza  <miguel@novell.com>
2692
2693         * MulticastDelegate.cs (Equals): do not cast to avoid exceptions,
2694         instead use the "as" operator, as pointed out by Jesse Jones'
2695         tool. 
2696
2697 2007-07-21  Gert Driesen  <drieseng@users.sourceforge.net>
2698
2699         * BitConverter.cs: Fixed exceptions to match MS. Fixed invalid use
2700         of ArgumentOutOfRangeException and ArgumentException ctors that take
2701         both parameter name and message. In ToString throws ArgumentException
2702         instead of ArgumentOutOfRangeException when length is negative, and
2703         return zero-length string when length is 0.
2704
2705 2007-07-20  Atsushi Enomoto  <atsushi@ximian.com>
2706
2707         * AppDomainSetup.cs : fix serialization regression.
2708
2709 2007-07-20  Atsushi Enomoto  <atsushi@ximian.com>
2710
2711         * AppDomainSetup.cs :
2712           MonoTODO AppDomainInitializer as its implementation is wrong.
2713
2714 2007-07-20  Atsushi Enomoto  <atsushi@ximian.com>
2715
2716         * AppDomainSetup.cs : added missing 2.0 members.
2717         * AppDomain.cs : support AppDomainInitializer.
2718
2719 2007-06-06  Miguel de Icaza  <miguel@novell.com>
2720
2721         * Int16.cs, UInt64.cs, SByte.cs, UInt16.cs, Byte.cs, Int32.cs,
2722         Int64.cs, UInt32.cs: Fix for 81775.
2723
2724         I removed Parse from a Byte.cs and UInt16.cs as in various cases
2725         they still depended on UInt32.cs for parsing, there is no reason
2726         to keep all of this code duplicated (UInt64 is a different case
2727         though). 
2728
2729         I was hoping for some feedback on whether my tests are correct,
2730         but so far no takers.
2731
2732 2007-07-14  Zoltan Varga  <vargaz@gmail.com>
2733
2734         * ModuleHandle.cs: Implement the generic versions of the ResolveXXXHandle () methods.
2735         
2736         * ModuleHandle.cs: Add stubs for generic ResolveXXXHandle () methods.
2737
2738 2007-07-10  Alan McGovern <amcgovern@novell.com>
2739
2740         * Guid.cs: All whitespace should be trimmed from before and
2741         after a string passed into the Guid constructor. Fixes #81958
2742
2743 2007-07-10  Zoltan Varga  <vargaz@gmail.com>
2744
2745         * RuntimeTypeHandle.cs: Fix signatures of == and != operators.
2746
2747         * ModuleHandle.cs: Add missing 2.0 stuff.
2748
2749 2007-07-08  Zoltan Varga  <vargaz@gmail.com>
2750
2751         * *.cs: Add missing ComVisible attributes.
2752
2753         * Delegate.cs: Add missing 2.0 CreateDelegate () methods.
2754
2755 2007-07-07  Gert Driesen  <drieseng@users.sourceforge.net>
2756
2757         * DateTime.cs: In ParseExact, throw ArgumentNullException if format
2758         is null; throw FormatException if formats array is empty or if one of
2759         items is null or a zero-length string.
2760
2761 2007-07-06  Rodrigo Kumpera  <rkumpera@novell.com>
2762
2763         * Double.cs (Parse): Fix for string ending in garbaga, it was just ignoring it
2764         instead of throwing FormatException. Fixes #81777
2765
2766 2007-07-06  Rodrigo Kumpera  <rkumpera@novell.com>
2767
2768         * Double.cs (Parse): Fix for whitespace only strings, it was returning zero 
2769         instead of throwing FormatException. Fixes #81630 
2770
2771 2007-07-06  Alan McGovern  <amcgovern@novell.com>
2772
2773         * DateTime.cs: If the format is null or empty, it should default to 'G'.
2774         Fixes bug 81778
2775
2776 2007-07-06  Jonathan Chambers  <joncham@gmail.com>
2777
2778         * __ComObject.cs: Support ExtensibleClassFactory.
2779
2780
2781 2007-07-06  Aaron Bockover  <abockover@novell.com>
2782
2783         * Environment.cs (InternalGetFolderPath): Try reading some
2784         paths from ~/.config/user-dirs.dirs (XDG user dirs spec);
2785         always return something for MyPictures
2786
2787 2007-07-04  Atsushi Enomoto  <atsushi@ximian.com>
2788
2789         * Type.cs : 2.0 TypeHandle and ContainsGenericParameters are virtual
2790           (required fix for 2.0 reflection API fixes).
2791
2792 2007-06-22  Jonathan Chambers  <joncham@gmail.com>
2793
2794         * __ComObject.cs: Move interface lookup to unmanaged.
2795
2796 2007-06-21  Zoltan Varga  <vargaz@gmail.com>
2797
2798         * Environment.cs: Bump corlib version.
2799
2800         * Delegate.cs: Applied patch from Robert Jordan (robertj@gmx.net). Keep
2801         the dynamic method referenced by a delegate alive.
2802
2803 2007-06-05  David Ferguson <davecferguson@gmail.com>
2804
2805         * DateTime.cs: Changed DateTime.Parse() to throw a FormatException
2806           instead of an ArgumentOutOfRangeException for .NET 2.0.  An
2807           ArgumentOutOfRangeException is still thrown for .NET 1.1.
2808           Fixes bug #77633
2809           
2810 Mon Jun 4 14:52:17 CEST 2007 Paolo Molaro <lupus@ximian.com>
2811
2812         * String.cs: optimized CompareOrdinal ().
2813
2814 2007-06-02  Zoltan Varga  <vargaz@gmail.com>
2815
2816         * MonoCustomAttrs.cs (GetBase): Revert last change as it breaks the build.
2817         
2818         * MonoCustomAttrs.cs (GetBase): Handle properties correctly. Fixes #81797.
2819
2820 2007-05-31  Zoltan Varga  <vargaz@gmail.com>
2821
2822         * Delegate.cs: Add invoke_impl field. Reorder fields for better cache behavior. Add
2823         SetMulticastDelegate icall.
2824
2825         * MulticastDelegate.cs (CombineImpl): Call SetMulticastDelegate () on newly created
2826         delegate.
2827
2828         * Environment.cs: Bump corlib version.
2829         
2830 2007-05-25  Jonathan Chambers  <joncham@gmail.com>
2831
2832         * __ComObject.cs: Add overload to GetInterface to allow
2833         not throwing exceptions. Fixes as and is operators for COM objects.
2834
2835 2007-05-23  Atsushi Enomoto  <atsushi@ximian.com>
2836
2837         * Array.cs : reverting Array.cs fixes since the runtime depends on
2838           those method attributes.
2839
2840 2007-05-23  Atsushi Enomoto  <atsushi@ximian.com>
2841
2842         * Int16.cs UInt64.cs UIntPtr.cs Double.cs CrossAppDomainDelegate.cs
2843           ResolveEventHandler.cs IntPtr.cs UnhandledExceptionEventHandler.cs
2844           Void.cs AssemblyLoadEventHandler.cs SByte.cs UInt16.cs DateTime.cs
2845           Byte.cs TimeSpan.cs Decimal.cs Int32.cs Delegate.cs
2846           AppDomainInitializer.cs MulticastDelegate.cs Int64.cs
2847           EventHandler.cs Single.cs UInt32.cs AsyncCallback.cs :
2848           cosmetic attribute fixes (ComVisible/Serializable).
2849
2850 2007-05-22  Atsushi Enomoto  <atsushi@ximian.com>
2851
2852         * Convert.cs : completed 2.0 (ToBase64CharArray).
2853         * String.cs : removed MonoTODO.
2854         * DataMisalignedException.cs : removed extra .ctor().
2855         * Array.cs : internalize extra members. Fixed reliability contract.
2856
2857 2007-05-17  Atsushi Enomoto  <atsushi@ximian.com>
2858
2859         * DateTime.cs : added support for 'K'.
2860
2861 2007-05-11  Jonathan Chambers  <joncham@gmail.com>
2862
2863         * __ComObject.cs: No need to call CoInitialize anymore since
2864         Thread.ApartmentState was implemented.
2865
2866 2007-05-11  Jeffrey Stedfast  <fejj@novell.com>
2867
2868         Fixes bug #81540
2869
2870         * TermInfoDriver.cs (WriteSpecialKey): Actually clear the screen
2871         and reset the cursor position to 0,0 when the key is
2872         ConsoleKey.Clear.
2873         (Clear): Reset the cursor position to 0,0
2874
2875 2007-05-09  Marek Safar  <marek.safar@gmail.com>
2876
2877         * MulticastDelegate.cs: Fixed operators logic.
2878
2879 2007-05-09  Marek Habersack  <mhabersack@novell.com>
2880
2881         * DateTime.cs: add a format used in ASP.NET QuickStarts 
2882           ("HH':'mm tt MM/dd/yyyy")
2883
2884 2007-04-30  Zoltan Varga  <vargaz@gmail.com>
2885
2886         * Type.cs (Equals): Allow a null argument.
2887
2888 2007-04-27  Zoltan Varga  <vargaz@gmail.com>
2889
2890         * Environment.cs (StackTrace): Avoid skipping a frame to be
2891         compatible with MS.
2892
2893 2007-04-25  Atsushi Enomoto  <atsushi@ximian.com>
2894
2895         * DateTimeTest.cs : looks like 'F' even removes preceding '.' ...
2896
2897 2007-04-25  Atsushi Enomoto  <atsushi@ximian.com>
2898
2899         * DateTime.cs : implemented new-2.0 'F' pattern letter.
2900
2901 2007-04-24  Jeffrey Stedfast  <fejj@novell.com>
2902
2903         Fixes the last of the bugs listed in bug #77525
2904
2905         * TermInfoDriver.cs (ctor): For known terminal types, set color16
2906         to true (since we know they support 16 colours).
2907         (Init): set the setlfgcolor and setlbgcolor format strings.
2908         (BackgroundColor): Use the appropriate formatter string for
2909         setting the bgcolor.
2910         (ForegroundColor): Use the appropriate formatter string for
2911         setting the fgcolor.
2912         (TranslateColor): Now takes (and sets appropriately) an output
2913         'bool light' argument.
2914
2915 2007-04-24  Marek Habersack  <mhabersack@novell.com>
2916
2917         * TermInfoDriver.cs: don't include debug stuff by default - it
2918         breaks multithreaded applications (they all attempt to open
2919         console.log and fail because of sharing violation).
2920
2921 2007-04-23  Jeffrey Stedfast  <fejj@novell.com>
2922
2923         * TermInfoDriver.cs (ReadKeyInternal): Since our input stream is
2924         buffered, check if it has more buffered input in addition to our
2925         timeout check. This makes it such that we will actually correctly
2926         match multi-char escape sequences.
2927         (Read): Changed the logic slightly wrt 'fresh' echoing. Once we
2928         encounter a fresh char, all chars afterward should also be
2929         considered 'fresh' even if 'fresh' is returned as false later.
2930         (ReadLine): Same logic here.
2931
2932 2007-04-23  Jeffrey Stedfast  <fejj@novell.com>
2933
2934         Fixes bug #80702 (via getting rid of the casting) and more.
2935
2936         The following change makes it such that even if an application
2937         calls Console.SetOut() with its own output stream, we can still
2938         properly echo user-input from stdin to the real stdout.
2939
2940         * TermInfoDriver.cs (ctor): Grab a reference to the original
2941         Console.stdout so we can be sure we always echo to console.
2942         (QueueEcho): No need to cast Console.stdout anymore.
2943         (EchoFlush): Same.
2944         (WriteConsole: Here too.
2945
2946 2007-04-20  Jeffrey Stedfast  <fejj@novell.com>
2947
2948         * TermInfoDriver.cs (QueueEcho): Renamed from Echo(char). Use
2949         CStreamWriter's new InternalWriteChars().
2950         (Echo): Since we can no longer go thru CStreamWriter's ::Write()
2951         method that does checks for special keys, do the checks here
2952         instead - if it is a special key, flush the echo buffer and then
2953         write the special key.
2954         (EchoFlush): Also updated to use CStreamWriter's new
2955         InternalWriteChars().
2956         (Read): Use the Echo(key) variety.
2957         (ReadKey): Same.
2958         (ReadLine): And here too.
2959
2960         * CStreamWriter.cs (InternalWriteChars): Write a char array
2961         directly to stdout. Do not pass Go, do not collect $200.
2962
2963 2007-04-19  Jeffrey Stedfast  <fejj@novell.com>
2964
2965         Optimization for echoing keypresses back to the console when the
2966         user pastes a block of text rather than manually typing text.
2967
2968         * TermInfoDriver.cs (Echo): A new convenience function for echoing
2969         characters/keys back to the console with an optimization twist and
2970         a bit of lime.
2971         (EchoFlush): Flush our pending echo queue
2972         (Read): Make use of Echo() both for convenience and for speed.
2973         (ReadLine): Same.
2974         (ReadKey): Make use of Echo()/EchoFlush() for simplicity of code,
2975         but we won't get the same optimization out of it.
2976
2977 2007-04-19  Jeffrey Stedfast  <fejj@novell.com>
2978
2979         Fix for bug #81373.
2980
2981         * TermInfoDriver.cs: Changed 'buffer' to be a char array instead
2982         of a byte array and stdin is now a StreamReader rather than a
2983         Stream.
2984         (Init): Setup stdin as a StreamReader using Console.InputEncoding
2985         as our encoding.
2986         (GetCursorPosition): Use stdin.Read() instead of the old
2987         ReadByte() code.
2988         (AddToBuffer): Updated to allocate the correct array type for
2989         'buffer'.
2990         (ReadKeyInternal): Updated to use stdin.Read() rather than
2991         stdin.ReadByte(). This is the main reason we needed to use chars
2992         instead of bytes. Characters entered by the user need to be
2993         represented as unicode chars and not bytes like before.
2994         (Match): Now takes a char[] buffer argument instad of byte[] and
2995         compares the input buffer to the byte-map as chars.
2996
2997 2007-04-18  Jeffrey Stedfast  <fejj@novell.com>
2998
2999         Fixes bug #81159: behave the same as mscorlib
3000
3001         * TermInfoDriver.cs (ReadKeyInternal): Now has an 'out bool fresh'
3002         argument which is used to tell our caller if the key was freshly
3003         read from the console or pre-buffered.
3004         (Read): New implementation of Console.In.Read(char[], int, int)
3005         that behaves exactly like mscorlib's implementation.
3006         (ReadKey): Updated for the ReadKeyInternal() API change - only
3007         echo if the key was fresh.
3008         (ReadLine): Same.
3009
3010         * CStreamReader.cs (Read): Call the new TermInfoDriver.Read()
3011
3012 2007-04-17  Jeffrey Stedfast  <fejj@novell.com>
3013
3014         * CStreamWriter.cs (Write): Optimized this some more, we don't
3015         need a temporary buffer. Just blit chunks of the src buffer
3016         instead.
3017
3018         * CStreamReader.cs (Read): Need to increment our array index so
3019         that we don't store each byte read into the same
3020         position. Discovered this while testing bug #81159 (which appears
3021         to work as expected with current svn, other than this buglet).
3022
3023         * TermInfoDriver.cs (CursorTop::set): SetCursorPosition() sets our
3024         internal cursorTop variable, so no need to explicitly set it again
3025         after calling SetCursorPosition().
3026         (CursorLeft::set): Same idea here.
3027
3028 2007-04-17  Jeffrey Stedfast  <fejj@novell.com>
3029
3030         * TermInfoDriver.cs (ReadLine): Implemented a workaround for
3031         IronPython going behind System.Console's back when writing text to
3032         the screen (it doesn't seem to use Console.stdout, instead it
3033         creates its own file stream or something which just so happens to
3034         write to the same file descriptor) by querying for the cursor
3035         position in ReadLine(), so we lose no real performance (since we
3036         have to wait for user input anyway).
3037
3038 2007-04-17  Jeffrey Stedfast  <fejj@novell.com>
3039
3040         * TermInfoDriver.cs (Init): SetEcho(false), we'll be manually
3041         echoing from now on (ReadLine() has already been doing this, might
3042         as well make ReadKey() behave the same).
3043         (GetCursorPosition): No longer need to disable/re-enable echo
3044         anymore since it is now always false.
3045         (ReadKey): Manually echo the key back to the console just like
3046         ReadLine() has been doing (in the interest of consistancy) if
3047         intercept is false.
3048         (ReadLine): No longer need to disable/re-enable echo, echo is
3049         always off now. Also, fixed what appears to have been a typo.
3050
3051 2007-04-17  Jeffrey Stedfast  <fejj@novell.com>
3052
3053         * TermInfoDriver.cs (IsSpecialKey): Oops, Enter should not be
3054         treated as a special key. Just update out cursor state here like
3055         we do with normal chars.
3056         (WriteSpecialKey): Enter is a no-op now because it is not treated
3057         as a special key anymore.
3058
3059         * CStreamWriter.cs (Write): Only flush our buffer if j > 0
3060
3061 2007-04-17  Jeffrey Stedfast  <fejj@gnome.org>
3062
3063         Turns out my last patch was broken wrt handling some special keys
3064         like Backspace and anything else that changed the cursor position
3065         in some non-standard way.
3066
3067         * CStreamWriter.cs (Write): Instead of calling NotifyWrite(), we
3068         instead need to check IsSpecialKey(), and, if so, flush whatever
3069         we have saved in our temporary buffer and then call
3070         WriteSpecialKey(). Otherwise go on as we did in the last patch.
3071
3072         * TermInfoDriver.cs (NotifyWrite): Broken up into 2 functions:
3073         (IsSpecialKey): Returns true if we need to do some special voodoo
3074         for this key
3075         (WriteSpecialKey): Write the special key (using whatever voodoo
3076         necessary)
3077
3078 2007-04-16  Jeffrey Stedfast  <fejj@gnome.org>
3079
3080         * CStreamWriter.cs (Write): Instead of writing 1 char at a time,
3081         copy the bytes into a temporary char array (with a fixed max size)
3082         so that we can minimize the number of Write() calls we make on the
3083         underlying stream (and thus on the write() system call).
3084
3085 2007-04-17  Alp Toker  <alp@atoker.com>
3086
3087         * Array.cs: Make GetRank() icall private. Subclasses should use the
3088         public Rank property.
3089
3090 2007-04-16  Jeffrey Stedfast  <fejj@novell.com>
3091
3092         * WindowsConsoleDriver.cs: Get rid of unused Echo property.
3093
3094         * NullConsoleDriver.cs: Get rid of Echo property.
3095
3096         * IConsoleDriver.cs: Get rid of Echo property.
3097
3098         * ConsoleDriver.cs (Echo::get/set): Removed, not needed.
3099
3100         * TermInfoDriver.cs (Echo::get/set): Removed, this isn't necessary
3101         and is confusing.
3102         (ReadKey): If we are intercepting the key, call SetEcho (false)
3103         and then reset back to true after reading the key.
3104         (ReadLine): Same idea here.
3105         (GetCursorPosition): We no longer need to keep track of the
3106         previous echo state, we no longer have it :)
3107
3108 2007-04-16  Jeffrey Stedfast  <fejj@novell.com>
3109
3110         Fix for bug #80710 (and a bug I introduced in my last fix due to
3111         this code assuming the underlying term echo state was always
3112         false) and other buglets that I noticed.
3113
3114         * TermInfoDriver.cs (ReadLine): Set (term) Echo to false as we do
3115         our own manual echoing which prevents ^H from getting displayed on
3116         the screen when the user hits backspace.
3117         (ReadLine): If the user hits Backspace and builder.Length is 0, DO
3118         NOT echo the backspace back to the console, ever.
3119         (ReadLine): Only echo characters back to the console if echo is
3120         set to true. Seems the Echo ConsoleDriver property is a Mono
3121         extension, and I'm assuming this is the intended behavior? I can't
3122         see what else the Echo property would be useful for...
3123
3124 2007-04-16  Jeffrey Stedfast  <fejj@novell.com>
3125
3126         Fixes bug #81050
3127
3128         * TermInfoDriver.cs: Renamed the noEcho variable to echo, makes
3129         the logic cleaner/simpler/etc. Plus it was never actually used
3130         other than in the property methods which are called Echo.
3131         (Init): Call ConsoleDriver.SetEcho() with the 'echo' value -
3132         allows for a slight optimization if called from within the
3133         Echo::set property.
3134         (GetCursorPosition): Instead of calling the Echo property methods,
3135         call ConsoleDriver.SetEcho() directly to toggle echo off (if echo
3136         isn't already off, and then back on once we're finished getting
3137         the position - assuming the echo state is on, of course) - this
3138         avoids calling back into Init() which just felt dirty.
3139         (Echo::set): If the Echo state differs from our current state,
3140         call ConsoleDriver.SetEcho() with the new state (this is the
3141         important piece of the fix for bug #81050).
3142         (ReadKey): Simplified the echo logic to make it a bit clearer.
3143         (ReadLine): Same.
3144
3145 2007-04-16  Marek Safar  <marek.safar@gmail.com>
3146
3147         * Char.cs (IsLetter): Faster version.
3148
3149 2007-04-15  Alp Toker  <alp@atoker.com>
3150
3151         * Decimal.cs: Provide 2.0 Round() overloads using System.Math.
3152
3153 2007-04-15  Alp Toker  <alp@atoker.com>
3154
3155         * Activator.cs: CreateInstance(Type,object[]) was not params before
3156         2.0.
3157
3158 2007-04-15  Alp Toker  <alp@atoker.com>
3159
3160         * NonSerializedAttribute.cs: Inherited=false in 2.0.
3161
3162 2007-04-05  Dick Porter  <dick@ximian.com>
3163
3164         * Environment.cs: Increment mono_corlib_version
3165
3166 2007-04-03  Alp Toker  <alp@atoker.com>
3167
3168         * Array.cs: CreateInstance(Type,int[]) is params.
3169         * AppDomain.cs: ExecuteAssemblyByName(string,Evidence,string[]) is
3170         params.
3171
3172 2007-04-03  Alp Toker  <alp@atoker.com>
3173
3174         * Convert.cs:
3175         * Math.cs: Should be static classes in 2.0.
3176
3177 2007-04-03  Alp Toker  <alp@atoker.com>
3178
3179         * Delegate.cs: DynamicInvoke(object[]) is params in 2.0.
3180
3181 2007-04-03  Alp Toker  <alp@atoker.com>
3182
3183         * Delegate.cs: Combine(Delegate[]) is params in 2.0.
3184
3185 2007-03-27  Dick Porter  <dick@ximian.com>
3186
3187         * Environment.cs: Increment mono_corlib_version;
3188
3189 2007-03-16  Miguel de Icaza  <miguel@novell.com>
3190
3191         * BitConverter.cs: Revert the patch from 72237 as that introduces
3192         a regression and we are not sure yet what we will be doing about
3193         that.
3194
3195         Introduce a new InternalInt64BitsToDouble method that provides the
3196         fixed functionality, mark it as internal.
3197
3198         Introduce a new SwappableToDouble method that includes the
3199         swapping ToDouble routine as introduced by Zoltan on 72237, this
3200         is used by InternalInt64BitsToDouble.
3201
3202         * Math.cs (IEEERemainder): Use the InternalInt64BitsToDouble
3203         routine here to preserve the semantics from Zoltan.  
3204
3205         The problem with BitConverter.cs is that it is completely hossed.
3206         In .NET 1.1 it is a bitwise copy, no attempt is ever done to do
3207         endian-specific swapping.   In .NET 2.0 it is *almost* like that,
3208         but it is subtly broken: if data is unaligned then endian
3209         conversions happen.  If the data is properly aligned it behaves
3210         like 1.0.
3211
3212         In general BitConverter is a sad class that offers little control,
3213         we will be introducing a new mono bit converter and encourage
3214         users to use that instead of the entirely broken
3215         System.BitConverter. 
3216
3217 2007-03-11  Gert Driesen  <drieseng@users.sourceforge.net>
3218
3219         * Delegate.cs: Fixed bootstrap build.
3220
3221 2007-03-08  Gert Driesen  <drieseng@users.sourceforge.net>
3222
3223         * StringComparer.cs: Renamed StringComparer classes and promoted them
3224         to top-level classes. Merged Ordinal and OrdinalIgnoreCase comparers.
3225         Fixes binary serialization compatibility with MS.
3226
3227 2007-03-06  Zoltan Varga  <vargaz@gmail.com>
3228   
3229         * Type.cs (Equals): Remove a useless check.
3230
3231         * Type.cs: Rename Type:Equals(Type) to EqualsInternal, and add support for checking
3232         UnderlyingSystemType. Fixes #81037.
3233
3234 2007-03-05 Gonzalo Paniagua Javier <gonzalo.mono@gmail.com>
3235
3236         * TermInfoDriver.cs: adjust buffer indexes after *every* read. Fixes
3237         bug #80329. Robert Jordan attached a similar patch to the bug report
3238         but I didn't see it until after my commit...
3239
3240 2007-03-05  Peter Dettman <peter.dettman@iinet.net.au>
3241
3242         * Enum.cs: The above patch makes the formatting for specifiers 'x'
3243         and 'X' behave like MS.NET, including the correct length for each
3244         possible underlying type, and correctly using capital letters for
3245         the 'X' case.
3246
3247         Patch also includes some more test cases in EnumTests.cs.
3248
3249 2007-02-25  Gert Driesen  <drieseng@users.sourceforge.net>
3250
3251         * AppDomainSetup.cs: If configuration file is not an absolute path,
3252         then throw a MemberAccessException if ApplicationBase is not set,
3253         or otherwise consider it as a path relative to ApplicationBase.
3254         Fixes bug #80934. Patch provided by Jamie Cansdale.
3255         * AppDomain.cs: In CreateDomain, construct AppDomain with
3256         ApplicationBase of default domain if not explicitly set in specified
3257         AppDomainSetup. If config file is not set, then use filename of the
3258         default domain config file. Base on patch provided by Jamie Cansdale.
3259
3260 2007-02-16  Sebastien Pouliot  <sebastien@ximian.com>
3261
3262         * Random.cs: Fix exception messages ("then" -> "than"). Spotted by
3263         Mark A. Nicolosi (#80873).
3264
3265 2007-02-12  Miguel de Icaza  <miguel@novell.com>
3266
3267         * CStreamWriter.cs (Write with char []): take the lock once for
3268         all characters and call manually the InternalWriteChar properly to
3269         speed things up.
3270
3271         (Write with string parameter): same thing, if the driver is not
3272         initialized use a fast path.
3273
3274         If the driver has not been initialized, use a fast path instead. 
3275
3276 Mon Feb 12 21:54:57 CET 2007 Paolo Molaro <lupus@ximian.com>
3277
3278         * MonoType.cs: patch from Cedric Vivier <cedricv@neonux.com> to
3279         get correctly non-public fields from generic types.
3280
3281 2007-02-08  Jonathan Chambers  <joncham@gmail.com>
3282
3283         * __ComObject.cs: Add IUnknown field to object. Cleanup icalls.
3284         
3285 2007-02-03  Zoltan Varga  <vargaz@gmail.com>
3286
3287         * BitConverter.cs (ToDouble): Fix this on big-endian machines.
3288
3289 2007-01-30  Atsushi Enomoto  <atsushi@ximian.com>
3290
3291         * TimeZone.cs: According to the docs, we should not throw when
3292         converting to Localtime if we are a negative value.  Instead we
3293         return DateTime.MinValue.
3294
3295 2007-01-25  Atsushi Enomoto  <atsushi@ximian.com>
3296
3297         * DateTime.cs : copy Kind in those members that return DateTime.
3298           Fixed bug #80614.
3299
3300 2007-01-20  Miguel de Icaza  <miguel@novell.com>
3301
3302         * Array.cs (InternalArray__ICollection_Contains,
3303         InternalArray__IndexOf): Cope with null values in the array (See
3304         bug #80563).
3305
3306 2007-01-19  Marek Habersack  <grendello@gmail.com>
3307
3308         * AppDomain.cs: Make sure that domain
3309         SetupInformation.ConfigurationFile is never null. MS.NET by
3310         default copies the default domain's ConfigurationFile value
3311         there. Fixes bug #80547.
3312
3313 2007-01-14  Jensen Somers <jensen.somers@gmail.com>
3314
3315         * ArraySegment.cs: Added Equals() method, operator == and !=
3316         overloading and GetHashCode().
3317
3318 2007-01-10  Andy Hume <andyhume32@yahoo.co.uk>
3319
3320         * Fixes to a number of exception classes.
3321         
3322         A project of mine uses #ctor(String,Exception) on 
3323         ObjectDisposedException, so I looked at adding that, and any 
3324         other similar constructors missing as per the class status report.
3325         
3326         I also spotted inconsistent setting of HResult, and fixed 
3327         those too.  For instance, ArgumentNullException sets HResult 
3328         only in three out of the four constuctors; not setting it in 
3329         the v2 (String,Exception) one -- and correctly not in the 
3330         Serialization constructor.
3331         
3332         
3333         So, I fixed the remaining missing (String,Exception) 
3334         constructors in corlib (2 of), and fixed the Hresult setting 
3335         in all exceptions there (4 of).
3336         
3337         The remaining Exception constructor omission listed was 
3338         InvalidCastException.ctor(System.String, System.Int32).  MSDN   says:
3339         "This constructor supplies an HRESULT value that is 
3340         accessible to inheritors of the InvalidCastException class, 
3341         via the protected HResult property of the Exception class."
3342         I added that method too, setting the HResult property from 
3343         the Int32 argument.
3344
3345 2007-01-10  Atsushi Enomoto  <atsushi@ximian.com>
3346
3347         * String.cs, StringComparer.cs : avoid extra string creation in
3348           StringComparer.OrdinalIgnoreCase.
3349
3350 2007-01-05  Sebastien Pouliot  <sebastien@ximian.com>
3351
3352         * DateTime.cs: Under 2.0 fix ParseExact to set DateTimeKind.Utc when
3353         DateTimeStyles.AdjustToUniversal is used.
3354
3355 2007-01-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3356
3357         * TermInfoDriver.cs: honor the backspace in ReadLine.
3358
3359 2006-12-30  Marek Safar  <marek.safar@gmail.com>
3360
3361         * String.cs: Character based method only.
3362         (IndexOf, LastIndexOf, Replace, IndexOfAny): Performance improvements.
3363         (Substring): Returns same instance when index is 0.
3364
3365 2006-12-30  Alp Toker  <alp@atoker.com>
3366
3367         * Decimal.cs:
3368         * Math.cs: Implement missing Decimal.Ceiling methods for 2.0.
3369         Closes #80384.
3370
3371 2006-12-22  Sebastien Pouliot  <sebastien@ximian.com> 
3372
3373         * DateTime.cs: Implement missing [To|From]Binary methods for 2.0.
3374         * OperatingSystem.cs: Implement missing ServicePack and VersionString
3375         properties (2.0).
3376         * Version.cs: Add missing Major|MinorRevision properties for 2.0.
3377
3378 2006-12-14  Raja R Harinath  <rharinath@novell.com>
3379
3380         * Type.cs (MakeGenericType): Can only be called on a generic type
3381         definition.
3382
3383 2006-12-03  Miguel de Icaza  <miguel@novell.com>
3384
3385         * DateTime.cs: Fix this on the 2.0 profile, return the
3386         DateTimeKind for the Now property
3387
3388 2006-12-01  Duncan Mak  <duncan@a-chinaman.com>
3389
3390         * ArgumentOutOfRangeException.cs (.ctor): 
3391         * NotFiniteNumberException.cs (.ctor): Add the 2.0 constructor
3392         that takes a string and an inner Exception.
3393
3394 2006-12-01  Atsushi Enomoto  <atsushi@ximian.com>
3395
3396         * DateTime.cs :
3397           When comparing enumerations, two or more enumeration values might
3398           match. Thus basically we should do complete matching, but right
3399           now just do reverse order search since only numbered abbrev month
3400           names matter (and full iteration is a mess). Fixed bug #80094.
3401
3402 2006-12-01  Atsushi Enomoto  <atsushi@ximian.com>
3403
3404         * DateTime.cs :
3405           use new internal clone-less DateTimeFormatInfo members.
3406
3407 2006-11-29  Martin Baulig  <martin@ximian.com>
3408
3409         * INullableValue.cs: Removed.
3410
3411 2006-11-28  Duncan Mak  <duncan@novell.com>
3412
3413         * ArgumentNullException.cs (.ctor): Added new constructor that's
3414         new in .NET 2.0.
3415
3416         * InsufficientMemoryException.cs: Added missing 2.0 exception.
3417         
3418 2006-11-27  Jonathan Chambers  <joncham@gmail.com>
3419
3420         * __ComObject.cs: Removed IDispatchMono.
3421         
3422 2006-11-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3423
3424         * TermInfoDriver.cs:
3425         * Console.cs: lazy initialization of Console 2.0 (also when
3426         CancelKeyPress is used).
3427
3428 2006-11-27  Miguel de Icaza  <miguel@novell.com>
3429
3430         * Exception.cs (GetType): New method in 2.x, Another Moma catch. 
3431
3432 Mon Nov 27 19:34:16 CET 2006 Paolo Molaro <lupus@ximian.com>
3433
3434         * GC.cs: implemented the needed methods with icalls.
3435
3436 2006-11-26  Miguel de Icaza  <miguel@novell.com>
3437
3438         * Math.cs: Add Floor(Decimal d), for CreativeDocs.NET.
3439
3440         Go Moma!  http://www.mono-project.com/Moma
3441
3442         * Decimal.cs: Refactor code to implement TryParse.
3443
3444         Also, avoid initializing messages on every call to stripStyles
3445
3446 2006-11-22  Miguel de Icaza  <miguel@novell.com>
3447
3448         * DateTime.cs: A small performance hit, we store the actual time
3449         span in a boxed object.   This way, it can be updated from other
3450         threads if necessary.   We always unbox to get the value before
3451         any potential updates. 
3452
3453         Thanks to Gonzalo for catching this.
3454
3455 2006-11-21  Miguel de Icaza  <miguel@novell.com>
3456
3457         * TimeZone.cs (CurrentSystemTimeZone): Cache the current year
3458         daylight savings time in static variables.
3459
3460         (CurrentSystemTimeZone.OnDeserialization): Initialize
3461         this_year_dlt and this_year on this method.
3462
3463         (TimeZone): init statically the currentTimeZone instead of
3464         delaying that to the static property, avoiding a compare. 
3465
3466 2006-11-22  Lluis Sanchez Gual  <lluis@novell.com>
3467
3468         * Array.cs: (compare<T>) if a comparer is provided, it has
3469           priority over other comparison methods.
3470
3471 2006-11-14  Miguel de Icaza  <miguel@novell.com>
3472
3473         * Array.cs: TODOs will from now on be used to flag information
3474         that will be developer-visible, not to flag internal information
3475         that none of us reads or bothers about.
3476
3477         For those, use "FIXME" strings in the source code instead. 
3478
3479         * AppDomain.cs: Update to be more useful.
3480
3481 2006-11-13  Atsushi Enomoto  <atsushi@ximian.com>
3482
3483         * String.cs : fixed incorrect startIndex/length count in
3484           IndexOf(string,StringComparison).
3485
3486 2006-11-07  Marek Safar  <marek.safar@gmail.com>
3487
3488         * String.cs (LastIndexOf): If value is Empty, the return value is
3489         the start index position in value.
3490
3491 2006-10-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3492
3493         * TermInfoDriver.cs: prevent an invalid cast.
3494
3495 2006-10-26  Marek Safar  <marek.safar@seznam.cz>
3496
3497         * String.cs (Concat): Add fast-path for empty strings.
3498
3499 2006-10-20  Jonathan Chambers  <joncham@gmail.com>
3500
3501         * Variant.cs: Add support for bool and interfaces.
3502         
3503 2006-10-18  Kornél Pál  <kornelpal@gmail.com>
3504
3505         * Type.cs: Removed is_subtype_of because IsSubclassOf should be used
3506           that is public and virtual. IsClass: Checking for ValueType is
3507           unnecessary. IsEnum: UnderlyingSystemType is not used anymore so
3508           no EnumBuilder hack is necessary. Checking for Enum is
3509           unnecessary. IsSerializable: Walk BaseType for user defined types.
3510           IsSubclassOf: Walk BaseType for user defined types.
3511
3512         * MonoType.cs: IsValueTypeImpl is unnecessary. IsSubclassOf: Unlike
3513           Type system types throw ArgumentNullException on null Type
3514           argument.
3515
3516 2006-10-14  Gert Driesen  <drieseng@users.sourceforge.net>
3517
3518         * BadImageFormatException.cs: Changed message for default ctor to
3519         match MS. Use internal message field of Exception to check whether
3520         Message is null. Match MS default messages when no message is 
3521         set. Fixed ToString to match MS.
3522
3523 2006-10-09  Miguel de Icaza  <miguel@novell.com>
3524
3525         * Environment.cs: Handle SpecialFolder.MyMusic
3526
3527 2006-10-07 Gert Driesen <drieseng@users.sourceforge.net>
3528
3529         * Enum.cs: Use different exception message depending on whether the
3530         type of the passed in value is an Enum or not. Avoid looking up the
3531         enum's underlying type twice in case of "D" or "d" format specifier.
3532
3533 2006-10-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3534
3535         * TermInfoDriver.cs: don't allow backspace if we're at the beginning
3536         position for a ReadLine.
3537
3538 2006-10-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3539
3540         * TermInfoDriver.cs: ironpython autocompletion works now.
3541
3542 2006-09-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3543
3544         * Console.cs: avoid casting on windows.
3545
3546 2006-09-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3547
3548         * ConsoleDriver.cs:
3549         * TermInfoDriver.cs:
3550         * IConsoleDriver.cs:
3551         * CStreamWriter.cs:
3552         * ConsoleKeyInfo.cs:
3553         * NullConsoleDriver.cs:
3554         * Console.cs:
3555         * CStreamReader.cs:
3556         * WindowsConsoleDriver.cs: initial changes to handle cursor position
3557         and screen buffers.
3558
3559 2006-09-21  Gert Driesen  <drieseng@users.sourceforge.net>
3560
3561         * ArithmeticException.cs: Modified default message to match MS, to
3562         ensure a local regression test passes on both Mono and .NET.
3563
3564 2006-09-21  Gert Driesen  <drieseng@users.sourceforge.net>
3565
3566         * Exception.cs: Marked message internal to allow derived classes to
3567         access the raw message (without changing the public API).
3568
3569 2006-09-19  Gonzalo Paniagua Javier <gonzalo@ximian.com>
3570
3571         * ConsoleDriver.cs:
3572         * TermInfoDriver.cs:
3573         * IConsoleDriver.cs:
3574         * Console.cs:
3575         * WindowsConsoleDriver.cs: don't switch to the alternate window.
3576         Trigger the cancel event. Retrieve the cursor position at the
3577         beginning, as we're going to keep track of it instead of querying it
3578         all the time.
3579
3580 2006-09-14  Jonathan Chambers  <joncham@gmail.com>
3581
3582         * Environment.cs (ProcessorCount): Implement as icall.
3583         Patch by Jason McFall.
3584
3585 2006-09-05  Raja R Harinath  <rharinath@novell.com>
3586
3587         * DateTime.cs (Today) [NET_2_0]: Set kind to Local.
3588
3589 2006-09-02  Zoltan Varga  <vargaz@gmail.com>
3590
3591         * Enum.cs (Equals): Use the generic Equals implementation from ValueType which
3592         is faster and avoids allocations.
3593
3594 2006-09-01  Martin Baulig  <martin@ximian.com>
3595
3596         * Array.cs (Array.InternalArray): Removed the helper class;
3597         instead we use private generic methods in System.Array which are
3598         inserted into the vtable at runtime.
3599
3600 2006-08-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3601
3602         * ConsoleCancelEventArgs.cs: fix my build.
3603
3604 2006-08-22  Miguel de Icaza  <miguel@novell.com>
3605
3606         * MulticastDelegate.cs: Make DynamicInvokeImpl internal in 2.0 
3607
3608         * Converter.cs: update signature to final.
3609
3610         * ModuleHandle.cs: Removed the [Obsolete] flags as they removed
3611         those in the final 2.0
3612
3613         * DateTime.cs: Fixed the signature. 
3614
3615         * Convert.cs: Removed API calls that were deprecated in final 2.0
3616
3617         * Enum.cs: Updated to use the obsoletes flagged in 2.0.
3618
3619         * ConsoleCancelEventArgs.cs: Updated to 2.0
3620
3621 2006-08-19  Miguel de Icaza  <miguel@novell.com>
3622
3623         * Attribute.cs: This needs to do a deep compare, not a shallow
3624         one.   Ran into this bug with the VBNC compiler that compares two
3625         separate attributes for equality using this.
3626
3627         * String.cs (StartsWith): Fix the overloaded constructor that
3628         takes a CultureInfo, if that is null, it means to use the current
3629         culture. 
3630
3631         * TermInfoDriver.cs: Do not throw exceptions on the driver for
3632         SetWindowSize and SetWindowPosition, they can be treated as nops.
3633
3634 2006-08-18  Zoltan Varga  <vargaz@gmail.com>
3635
3636         * *.cs: Use String.Empty instead of "" in a lot of places.
3637
3638 2006-08-17  Sebastien Pouliot  <sebastien@ximian.com>
3639
3640         * DateTime.cs: Remove last patch to DateTime as the fix wasn't correct
3641         and made most x.509 unit tests fails. However the original problem is 
3642         back (only on 2.0).
3643
3644 2006-08-14  Raja R Harinath  <rharinath@novell.com>
3645
3646         Fix #78943
3647         * Activator.cs (CreateInstance): Throw ArgumentException on open
3648         generic types.
3649
3650 2006-08-14  Miguel de Icaza  <miguel@novell.com>
3651
3652         * MonoType.cs: Do the argument testinf for SetField later,
3653         otherwise the implicit (and not documented, but already considered
3654         side effect of checking SetProperty) did not work.
3655
3656         Bug fix #79023
3657
3658 2006-08-13  Atsushi Enomoto  <atsushi@ximian.com>
3659
3660         * String.cs : Normalize() and IsNormalized() implementation.
3661
3662 2006-08-10  Jonathan Chambers  <joncham@gmail.com>
3663
3664         * __ComObject.cs: Added defintion of IDispatch interface, and
3665         property. Get CLSID of supertype for creation if class not
3666         ComImport attributed (allows for inheritance of RCW).
3667         * MonoType.cs: Implement IsCOMObjectImpl.
3668
3669 2006-08-09  Atsushi Enomoto  <atsushi@ximian.com>
3670
3671         * DateTime.cs : fixed X509Certificate() case that regressed only
3672           under NET_2_0.
3673
3674 2006-08-07  Kornél Pál  <kornelpal@gmail.com>
3675
3676         * Console.cs: Use correct code pages on Windows and initialize
3677           InputEncoding and OutputEncoding to the actual encodings used.
3678
3679 2006-08-05  Duncan Mak  <duncan@novell.com>
3680
3681         * Char.cs (TryParse): Implemented missing 2.0 method, which fixed
3682         bug #79007.
3683
3684 2006-07-28  Jonathan Chambers  <joncham@gmail.com>
3685
3686         * __ComObject.cs: Added support for marshalling objects.
3687         
3688 2006-07-24  Atsushi Enomoto  <atsushi@ximian.com>
3689
3690         * Char.cs : implemented utf32 conversion methods thus fixed bug #78856.
3691
3692 2006-07-19  John Luke  <john.luke@gmail.com>
3693
3694         * TermInfoDriver.cs: switch order of alt and control when
3695         calling new ConsoleKeyInfo()
3696
3697 2006-07-19  Kornél Pál  <kornelpal@gmail.com>
3698
3699         * String.cs: Improve CreateString () performance when length is zero.
3700
3701 2006-07-18  Kornél Pál  <kornelpal@gmail.com>
3702
3703         * String.cs: Added CreateString () methods. Constructors with matching
3704           argument list are redirected to these methods that improves
3705           performance as well as fixes bug #78703.
3706
3707 2006-07-15  Jonathan Chambers  <joncham@gmail.com>
3708
3709         * __ComObject.cs: Begin implementing COM Interop.
3710         * Environment.cs: Increment corlib version.
3711         
3712 2006-07-12  Zoltan Varga  <vargaz@gmail.com>
3713
3714         * Delegate.cs (DynamicInvokeImpl): Add support for bound delegates in Net 2.0.
3715
3716 2006-07-11  Zoltan Varga  <vargaz@gmail.com>
3717
3718         * Double.cs (Parse): Fix handling of inner whitespace.
3719
3720 2006-07-09  Zoltan Varga  <vargaz@gmail.com>
3721
3722         * Int32.cs: Fix a warning.
3723
3724 2006-07-07  Atsushi Enomoto  <atsushi@ximian.com>
3725
3726         * TimeZone.cs : consider DateTimeKind in ToLocalTime() and 
3727           ToUniversalTime(). Fixed bug #78784. Patch by Thong Nguyen.
3728         * DateTime.cs : DateTimeKind for UtcNow should be Utc.
3729
3730 2006-06-28  Kornél Pál  <kornelpal@gmail.com>
3731
3732         * Char.cs: Implemented IsHighSurrogate and IsLowSurrogate methods.
3733
3734 2006-06-27  Atsushi Enomoto  <atsushi@ximian.com>
3735
3736         * Double.cs : don't throw Exception in TryParse() for 'E'.
3737           Fixed bug #78546.
3738
3739 2006-06-20  Jb Evain  <jbevain@gmail.com>
3740
3741         * Math.cs: implement Math.Truncate.
3742
3743 2006-06-13  Atsushi Enomoto  <atsushi@ximian.com>
3744
3745         * DateTime.cs :
3746           Another lame win32 dependent pattern. Fixed bug #78618.
3747
3748 2006-06-09  Jonathan Chambers  <jonathan.chambers@ansys.com>
3749
3750         * Environment.cs: Implement Set/GetEnvironmentVariable for User/Machine.        
3751
3752 2006-06-07  Kornél Pál  <kornelpal@gmail.com>
3753
3754         * Environment.cs: Use Consts.FxFileVersion for Environment.Version
3755           as Consts.RuntimeVersion was removed.
3756
3757 2006-06-05  Jonathan Chambers  <jonathan.chambers@ansys.com>
3758
3759         * Variant.cs: Added.
3760         * Environment.cs: Incremented corlib version since adding Variant.      
3761         
3762 2006-06-01  Raja R Harinath  <rharinath@novell.com>
3763
3764         * Nullable.cs (operator==, operator!=): Remove.
3765
3766 2006-05-31  Zoltan Varga  <vargaz@gmail.com>
3767
3768         * MonoDummy.cs: Removed as it is no longer needed.
3769
3770         * Environment.cs: Bump corlib version.
3771         
3772         * Environment.cs: Revert the last change.
3773         
3774         * Environment.cs: Bump corlib version.
3775
3776         * MonoAsyncCall.cs: New file.
3777
3778 2006-05-30  Gert Driesen  <drieseng@users.sourceforge.net>
3779
3780         * Char.cs: Removed duplicate (explicit) interface implementation.
3781         * String.cs: Removed duplicate (explicit) interface implemenation.
3782         * MulticastDelegate.cs: Fixed API mismatches.
3783
3784 2006-05-29 Paolo Molaro <lupus@ximian.com>
3785
3786         * String.cs: make sure that the chars truncated by a stringbuilder
3787         are zeroed.
3788
3789 2006-05-29  Martin Baulig  <martin@ximian.com>
3790
3791         * Exception.cs
3792         (Exception.StackTrace): Use the new stack trace format which is
3793         very similar to the one of MS.NET - method name goes first,
3794         file / line number last and in the method name, we separate class
3795         and method name by `.'.
3796
3797         * Environment.cs
3798         (Environment.StackTrace): Enable line-number information.
3799
3800 2006-05-24  Atsushi Enomoto  <atsushi@ximian.com>
3801
3802         * DateTime.cs :
3803           Implement 2.0 TryParseExact(). Patch by Seo Sanghyeon.
3804
3805 2006-05-17  Kazuki Oikawa  <kazuki@panicode.com>
3806
3807         * Array.cs : added internal sort method used
3808           in System.Collections.Generics.List<T>.Sort(Comparison<T>).
3809
3810 2006-05-15  Zoltan Varga  <vargaz@gmail.com>
3811
3812         * Environment.cs: Bump corlib version.
3813
3814 2006-05-10  Zoltan Varga  <vargaz@gmail.com>
3815
3816         * MonoType.cs (GetMethodImpl): Fix a warning.
3817
3818 2006-05-08  Atsushi Enomoto  <atsushi@ximian.com>
3819
3820         * ArrayTest.cs : use proper comparer in IndexOf() and LastIndexOf().
3821           Patch by Kazuki Oikawa. Fixed bug #77277.
3822
3823 2006-05-07  Zoltan Varga  <vargaz@gmail.com>
3824
3825         * Nullable.cs (Equals): Fix comparison to null. Fixes #78322.
3826
3827 2006-04-28  Atsushi Enomoto  <atsushi@ximian.com>
3828
3829         * Nullable.cs : updated Nullable<T> API to 2.0 RTM.
3830
3831 2006-04-26  Atsushi Enomoto  <atsushi@ximian.com>
3832
3833         * Double.cs : (Parse) handle currency symbol when
3834           AllowCurrencySymbol is passed as part of the style. Patch by
3835           nede@aliquant.com, modified to eliminate redundant Substring().
3836           This fixes bug #77721.
3837
3838 2006-04-26  Atsushi Enomoto  <atsushi@ximian.com>
3839
3840         * MonoType.cs : (GetMethod) when zero-length type[] is explicitly
3841           passed, don't return methods with some arguments. Fixed bug #77367.
3842
3843 2006-04-21  Gert Driesen  <drieseng@users.souceforge.net>
3844
3845         * Enum.cs: Provide meaningful message when type of passed in value
3846         does not match enum type.
3847
3848 2006-04-19  Raja R Harinath  <rharinath@novell.com>
3849
3850         * Char.cs (Equals): Don't access 'm_value' field of other
3851         instances.  Cast directly to 'char'.
3852
3853 2006-04-13  Atsushi Enomoto  <atsushi@ximian.com>
3854
3855         * DateTime.cs : implement SpecifyKind(). Patch by Thong Nguyen.
3856
3857 2006-04-13  Atsushi Enomoto  <atsushi@ximian.com>
3858
3859         * NumberFormatter.cs : general performance improvements. Avoid 
3860           extraneous evaluation for simple formatting. Details are seen in 
3861           bug #77792. Patch by Kazuki Oikawa.
3862
3863 2006-04-13  Atsushi Enomoto  <atsushi@ximian.com>
3864
3865         * DateTime.cs : implement IsDaylightSavingTime().
3866           Patch by Seo Sanghyeon <tinuviel@sparcs.kaist.ac.kr>.
3867
3868 2006-04-04  Atsushi Enomoto  <atsushi@ximian.com>
3869
3870         * Array.cs :
3871           added some more [ReliabilityContract].
3872           removed some [CLSCompliant].
3873           renamed generic method parameter names.
3874
3875 2006-03-31  Zoltan Varga  <vargaz@gmail.com>
3876
3877         * Environment.cs (SetEnvironmentVariable): Implement.
3878
3879 2006-03-28  Atsushi Enomoto  <atsushi@ximian.com>
3880
3881         * Array.cs : oops, the last change caused regression. The array must
3882           be transparent to ReadOnlyCollection, not create another list.
3883
3884 2006-03-28  Atsushi Enomoto  <atsushi@ximian.com>
3885
3886         * Array.cs : AsReadOnly<T>() in RTM returns ReadOnlyCollection<T>.
3887           Thus removed ReadOnlyArray<T> and ReadOnlyArrayEnumerator<T>.
3888           In 2.0 some members became non-virtual.
3889
3890 2006-03-23  Atsushi Enomoto  <atsushi@ximian.com>
3891
3892         * String.cs : oops, NET_2_0.
3893
3894 2006-03-23  Atsushi Enomoto  <atsushi@ximian.com>
3895
3896         * String.cs : added new IndexOf() and LastIndexOf() overloads, and
3897           IEnumerable<char>.GetEnumerator().
3898
3899 2006-03-21  Kornél Pál  <kornelpal@gmail.com>
3900
3901         * String.cs: Make memcpy4 private as it is a helper method.
3902           Make memcpy internal to can be used from UnicodeEncoding.
3903
3904 2006-03-19  Marek Safar  <marek.safar@seznam.cz>
3905
3906         * Nullable.cs (Compare, Equals): Added constrain as gmcs now correctly
3907         reports an error here.
3908
3909 2006-03-16  Atsushi Enomoto  <atsushi@ximian.com>
3910
3911         * Double.cs : (Parse) reject String.Empty.
3912
3913 Wed Mar 15 16:30:51 CET 2006 Paolo Molaro <lupus@ximian.com>
3914
3915         * LocalDataStoreSlot.cs: implement as index in an array.
3916         Implemented finalizer and allow it to remove the data stored
3917         in the slot.
3918
3919 2006-03-15  Zoltan Varga  <vargaz@gmail.com>
3920
3921         * Environment.cs: Bump corlib version.
3922
3923 2006-03-10  Zoltan Varga  <vargaz@gmail.com>
3924
3925         * MonoCustomAttrs.cs (IsDefined): Avoid a runtime assert if a type
3926         overwrites GetCustomAttributes () but not IsDefined ().
3927
3928 2006-03-07  Peter Dennis Bartok  <pbartok@novell.com>
3929
3930         * Environment.cs: Bumped corlib version to 48 (due to r57532)
3931
3932 2006-03-07  Martin Baulig  <martin@ximian.com>
3933
3934         * String.cs (String.FormatHelper): Try getting an `ICustomFormatter'
3935         from the `provider' if possible.
3936
3937 2006-02-26  Gert Driesen  <drieseng@users.souceforge.net>
3938
3939         * DecimalFormatter.cs: Removed obsolete class, as it has been replaced
3940         by NumberFormatter.
3941         * DoubleFormatter.cs: Same.
3942         * SingleFormatter.cs: Same.
3943
3944 2006-02-21  Marek Safar  <marek.safar@seznam.cz>
3945
3946         * String.cs (Equals): Optimized for speed.
3947
3948 2006-02-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3949
3950         * TermInfoDriver.cs: patch by Mike Hull that fixes bug #77518.
3951
3952 Mon Feb 20 11:19:54 CET 2006 Paolo Molaro <lupus@ximian.com>
3953
3954         * MonoType.cs: patch from Joachim Ante <joe@otee.dk> to
3955         improve error messages.
3956
3957 2006-02-15  Martin Baulig  <martin@ximian.com>
3958
3959         * Type.cs (Type.IsGenericInstance): Removed.
3960
3961 2006-02-14  Ankit Jain  <jankit@novell.com>
3962             Raja R Harinath  <rharinath@novell.com>
3963  
3964         * ArraySegment.cs (.ctor): Fix bounds check. Rename param 'length' to
3965         'count'.
3966
3967 2006-02-11  Zoltan Varga  <vargaz@gmail.com>
3968
3969         * TermInfoDriver.cs (CreateKeyInfoFromInt): Fix handling of tab and its
3970         friends.
3971         
3972         * TermInfoDriver.cs (GetWindowDimensions): Obtain the exact terminal
3973         size using an icall.
3974         (GetCursorPosition): Convert the row and column to 0 based indexing. 
3975         Also fix reading of large values.
3976         (CreateKeyInfoFromInt): Convert LF to ConsoleKey.Enter.
3977
3978         * ConsoleDriver.cs (GetTtySize): New icall.
3979
3980 2006-02-10  Zoltan Varga  <vargaz@gmail.com>
3981
3982         * Array.cs: Fix some methods which previously returned Nullable<T>.
3983
3984         * Nullable.cs: Add T: struct constraint and fix constructor.
3985
3986 Fri Feb 3 11:01:46 CET 2006 Paolo Molaro <lupus@ximian.com>
3987
3988         * String.cs: changed StartsWith/EndsWith to faster versions.
3989
3990 2006-02-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3991
3992         * String.cs: implement 2.0 StartsWith and EndsWith new overloads. Based
3993         on a patch by Thong Nguyen.
3994
3995 2006-01-31  Zoltan Varga  <vargaz@gmail.com>
3996
3997         * String.cs: Implement one of the new net 2.0 Split methods.
3998
3999 2006-01-31  Atsushi Enomoto  <atsushi@ximian.com>
4000
4001         * String.cs : (LastIndexOf) Fixed bug #77412. It should not expect
4002           that value length is bigger than its index.
4003
4004 2006-01-27  Zoltan Varga  <vargaz@gmail.com>
4005
4006         * DateTime.cs: Add some 2.0 methods and properties.
4007
4008 2006-01-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4009
4010         * Console.cs: if InternalCodePage returns -1, use the default encoding.
4011         Also match the UTF8 one properly. Patch by wall_john@sohu.com.
4012
4013 2006-01-19  Atsushi Enomoto  <atsushi@ximian.com>
4014
4015         * ModuleHandle.cs : GetPEKind() is not public in 2.0 RTM.
4016
4017 2006-01-16  Alp Toker  <alp@atoker.com>
4018
4019         * TimeSpan.cs: Simple implementation of NET 2.0 TryParse() using
4020         try/catch
4021
4022 2006-01-05  Raja R Harinath  <rharinath@novell.com>
4023
4024         Fix regressions introduced by the fix to #71300.
4025         * Activator.cs (CreateInstance): Use Binder.SelectMethod instead
4026         of home-grown FindBestCtor.
4027         (FindBestCtor): Delete.
4028
4029 2006-01-03  Zoltan Varga  <vargaz@gmail.com>
4030
4031         * Nullable.cs: Update to Net 2.0 RTM.
4032         
4033         * Nullable.cs: Add comments about runtime dependencies on the layout of
4034         this type.
4035
4036 2006-01-02  Sebastien Pouliot  <sebastien@ximian.com>
4037
4038         * Activator.cs: Now find the best ctor when null are used for 
4039         paramaters. Fix bug #71300. Added checks for specific types (void,
4040         TypedReference, ArgIterator and RuntimeArgumentHandle).
4041         * Console.cs: Re-use Environment logic to detect Windows.
4042         * Type.cs: Re-applied r45150 as the real bug was in Activator.
4043
4044 2006-01-02  Zoltan Varga  <vargaz@gmail.com>
4045
4046         * Activator.cs: Add a 'params' to one of the CreateInstance overloads.
4047
4048         * RuntimeTypeHandle.cs RuntimeMethodHandle.cs RuntimeFieldHandle.cs:
4049         Add == and != operators.
4050
4051 2005-12-23  Sebastien Pouliot  <sebastien@ximian.com>
4052
4053         * Environment.cs: Bump corlib version to 46.
4054         * TimeZone.cs: Partial fix for #76094. Added [Serializable] attribute 
4055         and renamed internal CurrentTimeZone class to CurrentSystemTimeZone 
4056         (like MS). This allows serialization roundtrip to work in Mono but 
4057         there's still an issue when deserializing a stream from MS. 
4058
4059 2005-12-23  Sebastien Pouliot  <sebastien@ximian.com> 
4060  
4061         * NumberFormatter.cs: Fixed rounding for float and the string output
4062         now includes all the precision (not counting preceding zeros). This
4063         fix the DecimalTest.TestConstructSingleRounding_NotWorking test cases.
4064
4065 2005-12-21  Sebastien Pouliot  <sebastien@ximian.com> 
4066  
4067         * Array.cs: Fixed Sort<T> with IComparable (generic or not) bug #77039
4068
4069 2005-12-20  Carlos Alberto Cortez <calberto.cortez@gmail.com>
4070
4071         * Array.cs: Added the Sort<T> methods (generics). 
4072
4073 2005-12-19  Sebastien Pouliot  <sebastien@ximian.com> 
4074  
4075         * Array.cs: Fixed BinarySearch when the array is empty (#77030). Added
4076         some null check which throws ArgumentNullException under 2.0.
4077
4078 2005-12-15  Sebastien Pouliot  <sebastien@ximian.com>
4079
4080         * DateTime.cs: Added MonoTODO to ctor accepting a Calandar instance.
4081         * Double.cs: Under 2.0 throw a ArgumentException when parsing with
4082          NumberStyles.AllowHexSpecifier. Partial fix for #72221. Added the
4083         second, simpler, TryParse method (2.0).
4084         * Single.cs: Added the TryParse methods for 2.0.
4085
4086 2005-12-15  Raja R Harinath  <rharinath@novell.com>
4087
4088         * Type.cs (IsGenericType): Make virtual.
4089
4090 2005-12-08  Sebastien Pouliot  <sebastien@ximian.com> 
4091
4092         * AppDomainSetup.cs: ApplicationBase throw exception on get (not on 
4093         set). New behaviour is more like MS - but most issues (unit tests)
4094         were really path issues. Fix bug #71291.
4095         * DateTime.cs: Add more information when throwing an exception in 
4096         ctor(long). Useful for debugging.
4097
4098 2005-12-07  Zoltan Varga  <vargaz@gmail.com>
4099
4100         * Single.cs Double.cs: Fix warnings.
4101
4102 2005-12-06  Sebastien Pouliot  <sebastien@ximian.com> 
4103  
4104         * Convert.cs: ToBase64String method didn't use the option parameter so
4105         we always included new lines. Fix bug #76876.
4106
4107 2005-12-06  Sebastien Pouliot  <sebastien@ximian.com>
4108
4109         * AppDomainSetup.cs: Added missing ComVisible and removed LAMESPEC 
4110         (the docs were fixed).
4111         * NumberFormatter.cs: Fixed the "NotWorking" case where 1.15 was 
4112         misrounded compared to MS implementation. Extra care is required when
4113         dealing with the extra 2 digits information (e.g. double precision is
4114         15 digits but 17 are kept - for a reason ;-)
4115
4116 2005-12-05  Ben Maurer  <bmaurer@ximian.com>
4117
4118         * Environment.cs: Bump version
4119
4120         * Nullable.cs: New Box and Unbox methods for the jit
4121
4122 2004-12-05  Peter Dennis Bartok <pbartok@novell.com>
4123
4124         * Enum.cs: Properly handle "No bits set" case even if the sorted numbers
4125           list does not have enum value 0 as the first item. Fixes #76921
4126
4127 2005-12-05  Sebastien Pouliot  <sebastien@ximian.com>
4128
4129         * AppDomain.cs: CreateComInstanceFrom isn't static in any profile.
4130
4131 Mon Dec 5 15:14:59 CET 2005 Paolo Molaro <lupus@ximian.com>
4132
4133         * Double.cs: remove unused icall.
4134         * BitConverter.cs: handle double binary format on ARM FPA.
4135
4136 2005-12-02  Alp Toker  <alp@atoker.com>
4137
4138         * MonoType.cs:
4139         * Type.cs: DeclaringMethod should return MethodBase, not MethodInfo
4140
4141 2005-12-02  Alp Toker  <alp@atoker.com>
4142
4143         * AppDomain.cs: ReflectionOnlyPreBindAssemblyResolve renamed to
4144         ReflectionOnlyAssemblyResolve in 2.0 final
4145
4146 2005-12-01  Alp Toker  <alp@atoker.com>
4147
4148         * String.cs: Add static and non-static Equals(... StringComparison) for
4149         2.0.
4150
4151 2005-12-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4152
4153         * TermInfoDriver.cs: special case for the escape key. Fixes bug #76781.
4154
4155 2005-11-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4156
4157         * TermInfoDriver.cs: if the cursor_address capability contains a %i, we
4158         have to add 1 to x and y when setting the cursor position.
4159         Fixes bug #76856.
4160
4161         * Convert.cs: remove unused variables.
4162
4163 Wed Nov 30 12:14:20 EST 2005 Paolo Molaro <lupus@ximian.com>
4164
4165         * NumberFormatter.cs: work around arch-specific ulong cast behaviour
4166         with large numbers.
4167
4168 Tue Nov 29 05:38:37 EST 2005 Paolo Molaro <lupus@ximian.com>
4169
4170         * Convert.cs: fix endianess issue when converting to base-8
4171         format. All the base code would need a rewrite for efficience.
4172
4173 2005-11-25  Sebastien Pouliot  <sebastien@ximian.com>
4174
4175         * String.cs: Added support for Compare(... StringComparison) in 2.0.
4176
4177 2005-11-25  Alp Toker  <alp@atoker.com>
4178
4179         * Type.cs (IsVisible): New 2.0 property, implemented recursively.
4180
4181 2005-11-17  Dick Porter  <dick@ximian.com>
4182
4183         * Environment.cs: Incremented corlib version
4184
4185 2005-11-14  Carlos Alberto Cortez <calberto.cortez@gmail.com>
4186
4187         * Int32.cs, UInt32.cs, Int16.cs, UInt16.cs, Int64.cs,
4188         UInt64.cs, Byte.cs, SByte.cs, Double.cs : Modify internal Parse
4189         methods to return the exception as an out parameter,
4190         instead of throwing it. This will be of special help
4191         to TryParse methods.
4192         * Environment.cs: Update corlib version to 42.
4193         
4194 2005-11-14  Raja R Harinath  <rharinath@novell.com>
4195
4196         * EventHandler.cs (EventHandler<TEventArgs>): Rename from EventHandler<T>.
4197
4198 2005-11-11  Zoltan Varga  <vargaz@gmail.com>
4199
4200         * Type.cs (GetPseudoCustomAttributes): Return ComImportAttribute as well.
4201
4202 2005-11-11  Lluis Sanchez Gual  <lluis@novell.com>
4203
4204         * TimeZone.cs: Removed incorrect double-check lock and unneeded
4205         hashtable access.
4206
4207 2005-11-11  Marek Safar  <marek.safar@seznam.cz>
4208
4209         * Type.cs: IsNested implemented, signature fixes.
4210
4211 2005-11-11  Raja R Harinath  <rharinath@novell.com>
4212
4213         * Array.cs (Resize<T>) [2-argument variant]: Fix nullref.
4214
4215 2005-11-10  Zoltan Varga  <vargaz@gmail.com>
4216
4217         * Array.cs (Resize<T>): New internal method which takes a 'length' argument
4218         as well to avoid copying the whole array.
4219
4220 2005-11-09  Atsushi Enomoto  <atsushi@ximian.com>
4221
4222         * Int64.cs : ditto for long.
4223
4224 2005-11-09  Atsushi Enomoto  <atsushi@ximian.com>
4225
4226         * Int32.cs : Parse("2147483648", format_provider) should be rejected.
4227
4228 2005-11-09  Sebastien Pouliot  <sebastien@ximian.com>
4229
4230         * AttributeTargets.cs: Added [ComVisible (true)] and [Serializable] 
4231         in 2.0 profile.
4232         * Base64FormattingOptions.cs: Added missing [Flags] attribute.
4233         * ConsoleKey.cs: Removed old BackSpace and WhiteSpace (they were 
4234         already replaced by Backspace and Whitespace)
4235         * DateTime.cs: Moved DayOfWeek enum to it's own file.
4236         * DateTimeKind.cs: New (2.0) enum.
4237         * DayOfWeek.cs: New file (extracted from DateTime.cs).
4238         * DomainManagerInitializationFlags.cs: Removed extra [Serializable].
4239         * EnvironmentVariableTarget.cs: Added [ComVisible (true)] and fixed 
4240         values (-1 to all of them).
4241         *  Exception.cs: Added a LinkDemand for SerializationFormatter on
4242         GetObjectData method.
4243         *  LoaderOptimization.cs: Added [ComVisible (true)] and [Serializable] 
4244         on enum and added [Obsolete] to DomainMask and DisallowBindings in 2.0
4245         profile.
4246         * PlatformID.cs: Added [ComVisible (true)] and [Serializable] in 2.0 
4247         profile.
4248         * StringComparison.cs: New (2.0) enum (needed for Uri).
4249         * TermInfoDriver.cs: Fixed BackSpace -> Backspace (see ConsoleKey.cs).
4250         * TypeCode.cs: Added [ComVisible (true)] and [Serializable] in 2.0 
4251         profile.
4252
4253 2005-11-08  Atsushi Enomoto  <atsushi@ximian.com>
4254
4255         * Type.cs : I forgot to mention, some '(' were missing in the
4256           improved patch ;-)
4257
4258 2005-11-08  Zoltan Varga  <vargaz@freemail.hu>
4259
4260         * Type.cs (GetPseudoCustomAttributes): Check for TypeAttributes.Serializable instead of
4261         IsSerializable property, since the latter returns true for delegates/enums.
4262
4263 2005-11-05  Kornél Pál  <kornelpal@hotmail.com>
4264
4265         * Environment.cs: Use Consts.RuntimeVersion as Environment.Version that
4266           makes maintenance easier.
4267
4268 2005-10-24  Martin Baulig  <martin@ximian.com>
4269
4270         * Type.cs (Type.IsGenericTypeDefinition): Make this virtual.
4271
4272 2005-10-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4273
4274         * String.cs: fix bound checkings for LastIndexOfAny. Closes bug #76519.
4275
4276 2005-10-20  Raja R Harinath  <rharinath@novell.com>
4277
4278         * Array.cs (Swapper): Remove NET_2_0 guards from nested declaration.
4279
4280 2005-10-16  Michal Moskal  <malekith@nemerle.org>
4281
4282        * TermInfoDriver.cs: Call Init () in Background/ForegroundColor.
4283
4284 2005-10-14  Atsushi Enomoto  <atsushi@ximian.com>
4285
4286         * DateTime.cs : another crappy Windows dependent format.
4287
4288 2005-10-14  Ben Maurer  <bmaurer@ximian.com>
4289
4290         * DateTime.cs: Speed up when parsing date time objects by not
4291         duplicating cultureinfo arrays.
4292
4293 2005-10-13  Zoltan Varga  <vargaz@gmail.com>
4294
4295         * Type.cs (GetTypeCode): Applied patch from 
4296         Mike Welham <mwelham@gmail.com>. Return TypeCode.Empty when null is
4297         passed in.
4298
4299 2005-10-07  Zoltan Varga  <vargaz@gmail.com>
4300
4301         * Delegate.cs: Add support for delegate covariance and contravariance
4302         from net 2.0.
4303
4304 2005-10-03  Atsushi Enomoto  <atsushi@ximian.com>
4305
4306         * StringComparer.cs : (OrdinalIgnoreCaseComparer.Equals()) reverse.
4307
4308 2005-09-26  Zoltan Varga  <vargaz@gmail.com>
4309
4310         * String.cs (ParseFormatSpecifier): Fix skipping of whitespace. Fixes
4311         #76204.
4312
4313 2005-09-23  Miguel de Icaza  <miguel@novell.com>
4314
4315         * Decimal.cs: Fix typo, patch from Tomas Kukol <tomas.kukol@gmail.com>
4316
4317 2005-09-19  Zoltan Varga  <vargaz@gmail.com>
4318
4319         * MonoCustomAttrs.cs (GetCustomAttributesInternal): Add
4320         attributeType parameter.
4321         (IsDefined): New icall.
4322
4323         * MonoCustomAttrs.cs: Avoid instantiating all custom attrs of an
4324         object when only a specific attribute type is requested. Fixes #76062.
4325
4326         * Environment.cs: Bump corlib version.
4327
4328 2005-09-09  Zoltan Varga  <vargaz@gmail.com>
4329
4330         * TypeLoadException.cs MissingMethodException.cs MissingFieldException.cs: Add new ctors called by the runtime. Improve Message property.
4331
4332 2005-09-14  Atsushi Enomoto  <atsushi@ximian.com>
4333
4334         * DateTime.cs : (_DoParse) don't check ticks range before computing
4335           the actual value. Fixed bug #76082.
4336
4337 2005-09-14  Atsushi Enomoto  <atsushi@ximian.com>
4338
4339         * TimeZone.cs : When the target DateTime is in the range of
4340           DST end to DST + delta, don't adjust UtcOffset gap between that of
4341           DST and that of STD. This should fix bug #75985.
4342
4343 2005-09-06  Atsushi Enomoto  <atsushi@ximian.com>
4344
4345         * TimeZone.cs, DateTime.cs :
4346           - ToLocalTime() and ToUniversalTime() are moved to TimeZone.
4347           - Added more COM patterns. Patch by Ankit Jain. Fixed bug #72132.
4348           - use ToLocalTime() and don't depend on the own offset computation.
4349             Parse() with 'Z' pattern is closer to correct value on switching
4350             Daylight Saving Time. See bug #75985.
4351
4352 2005-09-06  Atsushi Enomoto  <atsushi@ximian.com>
4353
4354         * DateTime.cs : (DoParse) DateTimeStyles.AdjustToUniversal was not
4355           handled as expected and it kept time value as local one.
4356           Patch by Brion Vibber. Fixed bug #75995.
4357
4358 2005-09-06  Atsushi Enomoto  <atsushi@ximian.com>
4359
4360         * DateTime.cs : Literal escape (\) was not checking format as
4361           expected. Fixed bug #75213.
4362
4363 2005-09-05  Miguel de Icaza  <miguel@novell.com>
4364
4365         * MonoType.cs: Patch from Jonathan Chambers to implement
4366         Type.GUID. 
4367
4368 2005-09-05  Martin Baulig  <martin@ximian.com>
4369
4370         Reflect latest API changes in the August CTP.
4371
4372         * Type.cs (Type.HasGenericArguments): Removed.
4373         (Type.BindGenericParameters): Renamed to MakeGenericType().
4374
4375 2005-09-01  Atsushi Enomoto  <atsushi@ximian.com>
4376
4377         * DateTime.cs : another idiotic COM dependent format.
4378
4379 2005-09-01  Kornél Pál  <kornelpal@hotmail.com>
4380
4381         * __ComObject.cs: Fixed to be internal. Removed CLSCompliant attribute.
4382         Added some comments about the class.
4383
4384 2005-08-30  Sebastien Pouliot  <sebastien@ximian.com>
4385
4386         * AppDomain.cs: Use the more concise property syntax for declarative
4387         security.
4388         * AppDomainManager.cs: Default HostSecurityManager is null.
4389
4390 2005-08-25  Atsushi Enomoto  <atsushi@ximian.com>
4391
4392         * NumberFormatter.cs : eliminate non-ASCII character.
4393
4394 2005-08-25  Marek Safar  <marek.safar@seznam.cz>
4395
4396         * Enum.cs: Better exception message.
4397         
4398 2005-08-21  Gert Driesen  <drieseng@users.sourceforge.net>
4399
4400         * Convert.cs: In FromBase64String, return empty byte array for zero
4401         length string. Pass bool to InternalFromBase64String to control 
4402         whether to allow a whitespace-only string.
4403         * Environment.cs: Bump corlib version.
4404
4405 2005-08-20  Zoltan Varga  <vargaz@freemail.hu>
4406
4407         * Environment.cs: Bump corlib version.
4408
4409 2005-08-19  Zoltan Varga  <vargaz@freemail.hu>
4410
4411         * Math.cs: Implement a new 2.0 Round method.
4412
4413 2005-08-19  Gert Driesen  <drieseng@users.sourceforge.net>
4414
4415         * Convert.cs: Throw OverflowException if result is larger than
4416         ushort.MaxValue to match MS.NET. Remove commented code.
4417
4418 2005-08-17  Gert Driesen  <drieseng@users.sourceforge.net>
4419
4420         * Convert.cs: For now, do not throw OverflowException if hex prefixed
4421         value is negative for signed types (other than int64). Need to look
4422         into this further.      
4423
4424 2005-08-17  Gert Driesen  <drieseng@users.sourceforge.net>
4425
4426         * Convert.cs: Numerous fixed in overloads taking base to match 
4427         behaviour of MS.NET. Throw ArgumentOutOfRangeException is string is
4428         empty. If base is 16, 8 or 2, then throw ArgumentException if first 
4429         character is a negative sign. Throw OverflowException if hex prefixed 
4430         value is negative for signed types (other than int64) to match MS.NET. 
4431
4432 2005-08-16  Atsushi Enomoto  <atsushi@ximian.com>
4433
4434         * DateTime.cs : added another COM dependent pattern (rather to describe
4435           how it works on .NET than to add the pattern itself...).
4436
4437 2005-08-16  Atsushi Enomoto  <atsushi@ximian.com>
4438
4439         * DateTime.cs : added case for bug #53023.
4440
4441 2005-08-10  Zoltan Varga  <vargaz@freemail.hu>
4442
4443         * Type.cs: Add IsGenericType property from NET 2.0.
4444
4445 2005-08-10  Atsushi Enomoto  <atsushi@ximian.com>
4446
4447         * String.cs : added new StartsWith()/EndsWith() override, fixing
4448           existing EndsWith() which incorrectly assumed that both string
4449           lengths must be equivalent (they are not always equal).
4450         * StringComparer.cs : added Ordinal and OrdinalIgnoreCase.
4451
4452 2005-08-09  Zoltan Varga  <vargaz@freemail.hu>
4453
4454         * String.cs: Implement Split(String[]) methods.
4455
4456 2005-08-09  Miguel de Icaza  <miguel@novell.com>
4457
4458         * AppDomainSetup.cs: Full-pathization of the appBase should only
4459         be done on Windows, the ":" condition never applied to Linux.
4460
4461         * ConsoleKey.cs: Include a few aliases for a few values that were
4462         introduced recently.
4463
4464 2005-08-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4465
4466         * ConsoleKey.cs: added Backspace, which has the same value as BackSpace.
4467         Fixes bug #75697.
4468
4469 2005-08-08  Atsushi Enomoto  <atsushi@ximian.com>
4470
4471         * String.cs : (StartsWith) compared string lengths are not always the
4472           same in culture-sensitive comparison.
4473
4474 2005-08-05  Gert Driesen  <drieseng@users.sourceforge.net>
4475
4476         * Array.cs: Changed protected ctor to private. Fixes API compatibility
4477         with MS.NET.
4478         * RuntimeFieldHandle.cs: Equals methods and GetHashCode should only
4479         be exposed in 2.0 profile.
4480         * RuntimeMethodHandle.cs: Equals methods and GetHashCode should only
4481         be exposed in 2.0 profile.
4482         * RuntimeTypeHandle.cs: Equals methods and GetHashCode should only
4483         be exposed in 2.0 profile.
4484         * Type.cs: Added GetType method and implemented _Type interface.
4485         Fixes API compatibility with MS.NET.
4486
4487 2005-07-28  Marek Safar  <marek.safar@seznam.cz>
4488
4489         * StringComparer.cs: Add generics version of string interfaces.
4490
4491 2005-07-26  Atsushi Enomoto  <atsushi@ximian.com>
4492
4493         * StringComparer.cs : implemented StringCultureComparer.GetHashCode().
4494
4495 2005-07-26  Zoltan Varga  <vargaz@freemail.hu>
4496
4497         * StringSplitOptions.cs MidpointRounding.cs: New files.
4498
4499         * String.cs Math.cs: Add stubs for some new 2.0 APIs.
4500
4501 2005-07-26  Marek Safar  <marek.safar@seznam.cz>
4502
4503         * StringComparer.cs: New file.
4504
4505 2005-07-26  Raja R Harinath  <harinath@gmail.com>
4506
4507         * Enum.cs (GetValue): Make private.  Return an ulong.
4508         (Parse): Tighten scope of couple of variables.  Use ulong when
4509         twiddling bits.
4510
4511 2005-07-25  Raja R Harinath  <rharinath@novell.com>
4512
4513         * Enum.cs (FindName, GetValue): New.  Carved out of ...
4514         (Parse): ... this.  Refactor and simplify code.  Avoid incurring
4515         exceptions when parsing names.  Avoid allocating arrays unless
4516         necessary.  Avoid conversion of an enumeration constant to its own
4517         type.  (Incorporates ideas from a patch by Gonzalo Paniagua Javier.)
4518
4519 2005-07-13  Lluis Sanchez Gual  <lluis@novell.com>
4520
4521         * MarshalByRefObject.cs: GetLifetimeService() should be virtual.
4522         Fixes bug #75527.
4523
4524 2005-07-13  Miguel de Icaza  <miguel@novell.com>
4525
4526         * Array.cs: Patch from rodrigobamboo@gmail.com that fixes the
4527         signature for GetValue and SetValue to make the long [] argument
4528         be a params argument. 
4529
4530 2005-07-11  Pedro Martínez Juliá  <pedromj@gmail.com>
4531
4532         * Convert.cs: Fix the bug when Convert.ChangeType was using
4533         NumberFormatInfo instead of DateTimeFormatInfo when the type to
4534         change is a DateTime.
4535
4536 2005-07-11  Martin Baulig  <martin@ximian.com>
4537
4538         * Array.cs: Use Type.Equals() instead of `==' to compare type
4539         parameters.     
4540
4541 2005-07-10  Kamil Skalski <nazgul@nemerle.org>
4542
4543         * Type.cs: Mark BindGenericParameters as deprecated. Use
4544         MakeGenericType as default implementation with updated signature.
4545
4546 2005-07-09  Zoltan Varga  <vargaz@freemail.hu>
4547
4548         * Attribute.cs (IsDefined): Fix IsDefined for ParameterInfo's. Fixes
4549         #75514.
4550
4551 2005-07-05  Lluis Sanchez Gual  <lluis@novell.com>
4552
4553         * DelegateSerializationHolder.cs: When the deserialized target is
4554         a proxy, call IsInstanceOfType to force the proxy to load the
4555         real type of the remote object. This is needed to make sure that
4556         subsequent calls to GetType() return the expected type. This fixes
4557         bug #75447.
4558
4559 2005-07-03  Ben Maurer  <bmaurer@ximian.com>
4560
4561         * OperatingSystem.cs: patch from Aleksandar Dezelin to fix
4562         serialization.
4563
4564 2005-06-30  Sebastien Pouliot  <sebastien@ximian.com> 
4565
4566         * Guid.cs: Avoid code duplication between overriden methods (new in 
4567         2.0). Avoid exception processing when possible. Renamed parameters to
4568         match the framework. Added ComVisible to NET_2_0.
4569
4570 2005-06-28  Elliott Draper  <el@eldiablo.co.uk>
4571
4572         * Activator.cs: This implements the generic Activator.CreateInstance<T>()
4573         function for NET_2_0. It's full signature is:
4574                 public static T CreateInstance<T>();
4575
4576 2005-06-28  Lluis Sanchez Gual  <lluis@novell.com>
4577
4578         * Decimal.cs: Renamed internal fields for the sake of serialization
4579         interoperability with MS.NET.
4580         * Exception.cs: In the StackTrace property, return the stack trace
4581         if it has a value, even if the exception has not been thrown
4582         (it may have been deserialized).
4583
4584 2005-06-28  Martin Baulig  <martin@ximian.com>
4585
4586         * Array.cs (Array.InternalArray<T>): New nested class; derives
4587         from Array.  This is now used by the runtime for arrays; fixes #74953.
4588
4589 2005-06-27  Atsushi Enomoto  <atsushi@ximian.com>
4590
4591         * String.cs : added some extra whitespace characters for Trim().
4592           Fixed bug #75259.
4593
4594 2005-06-13  Michal Moskal <malekith@nemerle.org>
4595         
4596         * MonoType.cs: Don't use MethodHandle in GetMethod/GetConstructor,
4597         since it now throws on MethodBuilders. Don't use FieldHandle in
4598         GetField (throws on FieldBuilder) - just use the name.
4599
4600 2005-06-13  Martin Baulig  <martin@ximian.com>
4601
4602         * MonoType.cs
4603         (MonoType.getFullName): Added `bool assembly_qualified' argument.
4604         (MonoType.AssemblyQualifiedName): The interncall now adds the
4605         assembly name, so we don't need to do it here.
4606         (MonoType.FullName): Use the new getFullName() API.
4607
4608 2005-06-14  Sebastien Pouliot  <sebastien@ximian.com>
4609
4610         * Char.cs: ToLowerInvariant and ToUpperInvariant are now public in 
4611         NET_2_0. Added "new" white char and ComVisible for 2.0.
4612
4613 2005-06-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4614
4615         * Convert.cs: FromBase64String and FromBase64CharArray are now internal
4616         calls to avoid extra allocations.
4617
4618 2005-06-09  Kamil Skalski <nazgul@nemerle.org>
4619
4620         * Type.cs: Add MakeGenericType method form .NET 2.0 beta 2 API
4621
4622         * Type.cs MonoType.cs: Add internal virtual
4623         Get{Method,Constructor,Field} for obtaining instanciated *Info objects
4624         from non-instanciated counterparts
4625
4626 2005-06-09  Zoltan Varga  <vargaz@freemail.hu>
4627
4628         * ModuleHandle RuntimeMethodHandle.cs RuntimeTypeHandle.cs RuntimeFieldHandle.cs RuntimeArgumentHandle.cs: Add missing 2.0 attributes.
4629
4630 2005-06-08  Zoltan Varga  <vargaz@freemail.hu>
4631
4632         * Type.cs: Add missing 2.0 attributes.
4633
4634 2005-06-07  Carlos Alberto Cortez <calberto.cortez@gmail.com>
4635
4636         * MonoCustomAttrs.cs: Added GetCustomAttributesDataInternal icall, and
4637         also internal method GetCustomAttributesData, used by 
4638         System.Reflection.CustomAttributeData.
4639         
4640 2005-06-06  Sebastien Pouliot  <sebastien@ximian.com>
4641
4642         * Activator.cs: Added  _Activator interface (and members) for 1.1 and
4643         missing attributes (for both 1.1 and 2.0).
4644         * String.cs: Made internal To[Lower|Upper]Invariant methods public for
4645         2.0. Reworked Trim() to skip a useless call. Added missing attribute
4646         for 2.0.
4647         * Type.cs: Added  _Type, _MemberInfo interfaces (1.1/2.0). Added 
4648         missing attribute for 2.0. Hided some public/protected methods.
4649
4650 2005-06-06  Zoltan Varga  <vargaz@freemail.hu>
4651
4652         * ModuleHandle.cs: Update after PortableExecutableKinds name change.
4653
4654 2005-06-06  Sebastien Pouliot  <sebastien@ximian.com>
4655
4656         * _AppDomain.cs: Added new members in the interface (added in 1.1 SP1)
4657         * AppDomain.cs: Added new members from _AppDomain interface.
4658         * AppDomainManager.cs: Fixed flags and added attributes.
4659         * DomainManagerInitializationFlags.cs: The flag has been renamed to 
4660         AppDomainManagerInitializationOptions in beta2.
4661
4662 2005-06-06  Zoltan Varga  <vargaz@freemail.hu>
4663
4664         * Type.cs MonoCustomAttrs.cs: Return SerializableAttribute for types as well.
4665
4666 2005-06-06  Sebastien Pouliot  <sebastien@ximian.com>
4667
4668         * Exception.cs: Implements _Exception only for 2.0.
4669
4670 2005-06-06  Zoltan Varga  <vargaz@freemail.hu>
4671
4672         * GC.cs: Fix build.
4673         
4674         * GC.cs UnhandledExceptionEventArgs.cs IntPtr.cs RuntimeFieldHandle.cs 
4675           String.cs Object.cs Math.cs RuntimeMethodHandle.cs ModuleHandle.cs 
4676           RuntimeTypeHandle.cs AppDomain.cs: Add some missing 2.0 methods/attributes.
4677
4678 2005-06-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4679
4680         * Environment.cs:
4681         * AppDomain.cs: if the assembly is loaded from a byte array, Location
4682         returns "". Fixes bug #74958.
4683
4684 2005-06-04  Ben Maurer  <bmaurer@ximian.com>
4685
4686         * *.cs: More 2.0 API fixups
4687
4688         * *.cs: In beta 2, generics are no longer non-cls-compliant.
4689
4690 2005-06-05  Kazuki Oikawa  <kazuki@panicode.com>
4691
4692         * NumberFormatter.cs: Fixed the output of 0.ToString("00.00E00")
4693         that was different from MSFT.
4694         * String.cs: Fixed IndexOfAny thrown an exception
4695         when startIndex of arguments equals Length. (Closes bug #75083.)
4696
4697         * Decimal.cs: Changed to use NumberFormatter in ToString.
4698         * NumberFormatter.cs: Implemented decimal formatter.
4699
4700 2005-06-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4701
4702         * Type.cs: reverted wrong fix for bug #71300 in r45150. This makes SSL
4703         support in System.Net work again.
4704
4705 2005-06-01  Ben Maurer  <bmaurer@ximian.com>
4706
4707         * CharEnumerator.cs: add IEnumerable <char> support
4708
4709 2005-05-30  Sebastien Pouliot  <sebastien@ximian.com>
4710
4711         * Activator.cs: Added missing validation on parameters.
4712
4713 2005-05-28  Ben Maurer  <bmaurer@ximian.com>
4714
4715         * Type.cs: Check that the arguments of the `types' array are
4716         non-null. Fixes bug 71300
4717
4718 2005-05-28  Sebastien Pouliot  <sebastien@ximian.com>
4719
4720         * AppDomainSetup.cs: Added new 2,0 constructors and the 
4721         ActivationArguments property.
4722         * AppDomainManager.cs: Added using System.Runtime.Hosting as it is the
4723         new location for the ApplicationActivator class.
4724         * ApplicationActivator.cs: Moved to System.Runtime.Hosting namespace.
4725
4726 2005-05-27  Vladimir Vukicevic  <vladimir@pobox.com>
4727
4728         * Environment.cs: bump corlib version for bug #75060.
4729
4730 2005-05-27  Raja R Harinath  <rharinath@novell.com>
4731
4732         * Environment.cs (ExpandEnvironmentVariables): Rewrite
4733         sb.Append (s.SubString (a, b)) to sb.Append (s, a, b).
4734         * String.cs (FormatHelper): Rewrite sb.Append (s.SubString (a)) to
4735         sb.Append (s, a, s.Length - a).  Avoid allocating 'pad' string --
4736         StringBuilder has an appropriate Append overload.
4737
4738 2005-05-26  Zoltan Varga  <vargaz@freemail.hu>
4739
4740         * Type.cs (IsEnum): Special case EnumBuilder here.
4741
4742 2005-05-26  Sebastien Pouliot  <sebastien@ximian.com>
4743
4744         * MonoType.cs: Changed call from GetName to UnprotectedGetName to
4745         allow call to work with serialization under a restrictive policy.
4746         The code path (the protected information) isn't being used.
4747
4748 2005-05-25  Zoltan Varga  <vargaz@freemail.hu>
4749
4750         * Exception.cs: Use the new StackTrace ctor.
4751
4752         * Type.cs: Improve support for user defined type subclasses.
4753
4754 2005-05-25  Atsushi Enomoto  <atsushi@ximian.com>
4755
4756         * DateTime.cs : Added minimum digit parameter to ParseNumber() to
4757           reject 2 digit years for "yyyy".
4758           Use GetAllDateTimePatterns() instead of constant string.
4759           Fixed bug #72788.
4760
4761 2005-05-25  Atsushi Enomoto  <atsushi@ximian.com>
4762
4763         * DateTime.cs : next_not_digit prevented some valid parse.
4764           Just remove it, since now we pass max length to ParseNumber() and
4765           thus it is not needed anymore. Fixed bug 63137.
4766
4767 2005-05-24  Atsushi Enomoto  <atsushi@ximian.com>
4768
4769         * DateTime.cs : HH should not always block tt. Fixed bug #60912.
4770           Reset num after whitespace parsing.
4771           Added "M/d/yyyy HH':'mm':'ss tt" as an invariant pattern.
4772
4773 2005-05-24  Atsushi Enomoto  <atsushi@ximian.com>
4774
4775         * DateTime.cs : Allow ',' where whitespaces are allowed.
4776           Fixed bug #71289.
4777
4778 2005-05-22  Ben Maurer  <bmaurer@ximian.com>
4779
4780         * BitConverter.cs: Speed this up, fixing 74014. Patch from
4781         `Aleksandar Dezelin'.
4782
4783 2005-05-20  Zoltan Varga  <vargaz@freemail.hu>
4784
4785         * Type.cs: Add some helper methods needed by other classes.
4786
4787         * Array.cs: Improve support for user defined Type subclasses.   
4788         
4789         * Type.cs: Rename GetTypeCode icall to GetTypeCodeInternal and add a managed
4790         wrapper function, not used yet.
4791
4792         * Type.cs Array.cs: Revert this as it breaks the build.
4793
4794         * Type.cs Array.cs: Improve support for user defined Type subclasses.
4795
4796 2005-05-19  Ben Maurer  <bmaurer@ximian.com>
4797
4798         * Delegate.cs (Equals): Use `as' to protect in the case where !
4799         (obj is Delegate)
4800
4801 2005-05-19  Raja R Harinath  <rharinath@novell.com>
4802
4803         * Console.cs (Readline) [NET_2_0]: Avoid "uninitialized variable"
4804         error.
4805
4806 2005-05-19  Miguel de Icaza  <miguel@novell.com>
4807
4808         * TermInfoDriver.cs: Removed warning.
4809
4810         * Array.cs (Resize<T>, TrueForAll<T>, ConvertAll<TInput,TOutput>,
4811         FindLastIndex<T>: Parameter names are normative.        
4812         Fix coding style ("Method<T>" not "Method <T>")
4813         Throw argument exceptions per argument.
4814         
4815         (FindAll): Fix bug, actually return the values that were computed,
4816         not a short version of the original array.
4817         
4818 2005-05-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4819
4820         * Console.cs: fix error in the 2_0 side and split ReadLine in 2, one
4821         for each framework version.
4822
4823 2005-05-15  Andreas Nahr  <ClassDevelopment@A-SoftTech.com>
4824
4825         * Attribute.cs:
4826         * Exception.cs: .Net 1.1 already has these interfaces
4827
4828 Mon May 16 18:23:49 CEST 2005 Paolo Molaro <lupus@ximian.com>
4829
4830         * MonoCustomAttrs.cs, Type.cs: do not create a SerializableAttribute
4831         object on GetCustomAttributes (fixes bug #74717).
4832
4833 2005-05-15  Atsushi Enomoto  <atsushi@ximian.com>
4834
4835         * DateTime.cs : for 'z' next_not_digit didn't work as expected.
4836           Fixed bug #74775.
4837
4838 2005-05-15  Atsushi Enomoto  <atsushi@ximian.com>
4839
4840         * DateTime.cs : don't allow extraneous pattern characters also for
4841           non-exact parsing (ParseExact() was fine). Bug #74936 fixed
4842
4843 2005-05-13  Gert Driesen <drieseng@users.sourceforge.net>
4844
4845         * Activator.cs: Match exceptions thrown by MS.NET for
4846         CreateInstance overloads if type is abstract. Fixes bug #74861.
4847
4848 2005-05-09  Gonzalo Paniagua Javier <gonzalo@ximian.com>
4849
4850         * OperatingSystem.cs: PlatformID.Unix.
4851
4852 2005-05-09  Sebastien Pouliot  <sebastien@ximian.com>
4853
4854         * Environment.cs: Patch from Gonzalo to fix Environment.OSVersion.
4855         Platform under NET_2_0 to return PlatformID.Unix. Fix bug #74841.
4856
4857 2005-05-07  Atsushi Enomoto  <atsushi@ximian.com>
4858
4859         * NumberFormatter.cs : roundtrip number is already rounded before
4860           FormatGeneral() and DefaultMaxPrecision was extraneous. This fixes
4861           bug #72955.
4862
4863 2005-05-07  Ben Maurer  <bmaurer@ximian.com>
4864
4865         * Array.cs (BinarySearch): Patch from kazuki to pass arguments to
4866         the comparer in the same order as msft. Fixes #70725
4867
4868 2005-05-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4869
4870         * Enum.cs: the hashtable don't need to be synchronized any more, since
4871         it's only accessed from withint a lock.
4872
4873         * Console.cs: stdin, stdout and stderr will never be finalized. Fixes
4874         bug 74768.
4875
4876 2005-05-06  Zoltan Varga  <vargaz@freemail.hu>
4877
4878         * Array.cs: Remove CLSCompliant (false) attributes.
4879
4880 2005-05-06  Martin Baulig  <martin@ximian.com>
4881
4882         * Predicate.cs, Action.cs, Comparision.cs, Converter.cs: Add
4883         [CLSCompliant(true)] attribute.
4884
4885 2005-05-04  Miguel de Icaza  <miguel@novell.com>
4886
4887         * Enum.cs (MonoEnumInfo): Based on a patch from James Willcox,
4888         initialize cache as a static method.  Fixes #74828.
4889
4890 2005-05-03  Marek Safar  <marek.safar@seznam.cz>
4891
4892         * Console.cs: CancelKeyPress is stubbed.
4893
4894 2005-04-25  Sebastien Pouliot  <sebastien@ximian.com>
4895
4896         * ActivationContext.cs: Updated for beta2.
4897         * AppDomainManager.cs: Updated for beta2.
4898         * ApplicationId.cs: Updated for beta2.
4899         * ApplicationIdentity.cs: Updated for beta2.
4900         * Exception.cs: Now use Assembly.UnprotectedGetName () as Exception 
4901         doesn't leak the code base from the returned AssemblyName.
4902
4903 2005-04-25  Martin Baulig  <martin@ximian.com>
4904
4905         * Environment.cs (Environment.Version): Changed to 2.0.50215.
4906
4907 2005-04-22  Sebastien Pouliot  <sebastien@ximian.com>
4908
4909         * Attribute.cs: Added _Attribute interface to NET_2_0 to reduce the 
4910         number of "missing" in the class status pages.
4911
4912 2005-04-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4913
4914         * MulticastDelegate.cs: (GetInvocationList) when building the list that
4915         is later traversed forward, mark 'this' as the end of the chain.
4916         Fixes bug #74607.
4917
4918 2005-04-19  Zoltan Varga  <vargaz@freemail.hu>
4919
4920         * Environment.cs: Bump corlib version.
4921
4922 2005-04-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4923
4924         * WindowsConsoleDriver.cs: ignore key release events.
4925
4926 2005-04-06  Atsushi Enomoto  <atsushi@ximian.com>
4927
4928         * Char.cs : ToUpper()/ToLower() comparison ranges were incorrect.
4929
4930 2005-04-05  Sebastien Pouliot  <sebastien@ximian.com>
4931
4932         * _AppDomain.cs: Add security checks to the interface. Declarative 
4933         security on events requires BOOTSTRAP_WITH_OLDLIB to work properly 
4934         with older MCS.
4935         * AppDomain.cs: Add some (not complete) security checks. Bug#74411 is
4936         blocking some cases from working properly. Declarative security on 
4937         events requires BOOTSTRAP_WITH_OLDLIB to work properly with older MCS.
4938
4939 2005-04-04  Sebastien Pouliot  <sebastien@ximian.com>
4940
4941         * AppDomain.cs: Use the PolicyLevel to resolve the granted permissions
4942         on the AppDomain. Added an internal property to get the granted set.
4943
4944 2005-04-04  Atsushi Enomoto  <atsushi@ximian.com>
4945
4946         * String.cs,
4947           Char.cs : use TextInfo for ToLower() and ToUpper().
4948
4949 2005-03-31  Sebastien Pouliot  <sebastien@ximian.com>
4950
4951         * Exception.cs: Added Assert for TypeInformation to GetObjectData and
4952         ToString methods (not required for 2.0 as TypeInformation will be 
4953         deprecated). Added null check for GetObjectData.
4954
4955 Tue Mar 29 11:47:19 CEST 2005 Paolo Molaro <lupus@ximian.com>
4956
4957         * Delegate.cs: allow IronPython 0.7 to compile.
4958
4959 2005-03-24  Miguel de Icaza  <miguel@novell.com>
4960
4961         * Delegate.cs: Add CreateDelegate with a target option, currently
4962         internal as it is not exposed by the framework yet.
4963
4964 2005-03-24  Zoltan Varga  <vargaz@freemail.hu>
4965
4966         * String.cs: Add some 2.0 methods.
4967
4968 2005-03-24  Sebastien Pouliot  <sebastien@ximian.com>
4969
4970         * Activator.cs: Now use the supplied evidences when loading 
4971         assemblies. Added LinkDemand for RemotingConfiguration on both
4972         GetObject methods.
4973         * Console.cs: Added Assert for UnmanagedCode on OpenStandard[Error|
4974         Input|Output] as they use a handle on a FileStream (which is
4975         restricted otherwise). Added Demand for UnmanagedCode for the
4976         Set[Error|In|Out] methods.
4977         * MarshalByRefObject.cs: Added LinkDemand for Infrastructure on 
4978         CreateObjRef, GetLifetimeService and InitializeLifetimeService.
4979         * RuntimeMethodHandle.cs: Added Demand for UnmanagedCode on 
4980         GetFunctionPointer method.
4981         * TypedReference.cs: Added LinkDemand for ReflectionPermission's
4982         MemberAccess on MakeTypedReference.
4983
4984 2005-03-14  Sebastien Pouliot  <sebastien@ximian.com>
4985
4986         * Environment.cs: Fix CAS unit tests for NET_1_1.
4987         * Exception.cs: Fix CAS unit tests for NET_1_1.
4988
4989 2005-03-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4990
4991         * Version.cs: don't ignore the last number. Fixes bug #73539.
4992
4993 2005-03-11  Sebastien Pouliot  <sebastien@ximian.com>
4994
4995         * MonoType.cs: When the security manager is active, constructors and
4996         methods will return null if a linkdemand fails during reflection 
4997         query.
4998
4999 2005-03-11  Zoltan Varga  <vargaz@freemail.hu>
5000
5001         * Array.cs (Sort): Bail out early if length <= 1. Fixes #72721.
5002
5003 2005-03-10  Zoltan Varga  <vargaz@freemail.hu>
5004
5005         * Environment.cs: Bump corlib version.
5006
5007 2005-03-10  Martin Baulig  <martin@ximian.com>
5008
5009         * Nullable.cs (Nullable<T>.ToString): Return an empty string if
5010         we're null.
5011
5012 2005-03-09  Zoltan Varga  <vargaz@freemail.hu>
5013
5014         * Activator.cs MonoType.cs: Applied patch from Carlos Alberto Cortez
5015         (carlos@unixmexico.org). Allow creation of valuetypes with no ctor.
5016         Fixes #73432.
5017
5018 2005-03-04  Zoltan Varga  <vargaz@freemail.hu>
5019
5020         * Environment.cs: Bump corlib version.
5021
5022         * Exception.cs (StackTrace): Return the wrapper info as well.
5023
5024 2005-03-02  Kazuki Oikawa  <kazuki@panicode.com>
5025
5026         * NumberFormatter.cs: Some internal classes was converted to structs,
5027         and improved some points.
5028
5029 2005-02-26  Kazuki Oikawa  <kazuki@panicode.com>
5030
5031         * NumberFormatter.cs: Improved performance and memory usage
5032         when integer standard format.
5033         * SByte.cs:
5034         * Int16.cs:
5035         * Int32.cs:
5036         * Int64.cs:
5037         * Byte.cs:
5038         * UInt16.cs:
5039         * UInt32.cs:
5040         * UInt64.cs:
5041         * Single.cs:
5042         * Double.cs:
5043         * TimeSpan.cs: Improved these directly call to NumberFormatter.
5044
5045 2005-02-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5046
5047         * TermInfoDriver.cs: set the xmit mode if available. Handle key input
5048         and translate them into a ConsoleKeyInfo.
5049         * TermInfoReader.cs: added a method to return the bytes of a string
5050         property.
5051         * ConsoleKeyInfo.cs: added copy constructor and setters.
5052
5053 2005-02-24  Zoltan Varga  <vargaz@freemail.hu>
5054
5055         * Array.cs: Add missing 2.0 attributes and correct some parameter names.
5056
5057 2005-02-24  Carlos Alberto Cortez <calberto.cortez@gmail.com>
5058
5059         * AppDomain.cs: Changed GetAssemblies, LoadAssembly, and Load signatures,
5060         and added some to support the reflection only methods. DoAssemblyResolve
5061         was modified to invoke the new PreBindAssemblyResolve event when the
5062         assembly is reflection only.
5063         
5064 2005-02-21  Zoltan Varga  <vargaz@freemail.hu>
5065
5066         * GC.cs Double.cs IntPtr.cs Array.cs Decimal.cs Math.cs Single.cs:
5067         Add net 2.0 ReliabilityContractAttributes.
5068
5069 2005-02-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5070
5071         * TermInfoDriver.cs: cygwin terminals are handled by the windows
5072         console driver.
5073
5074         * TermInfoReader.cs:
5075         * TermInfoNumbers.cs:
5076         * KnownTerminals.cs:
5077         * TermInfoBooleans.cs:
5078         * TermInfoStrings.cs: documented.
5079
5080 2005-02-19  Kazuki Oikawa <kazuki@panicode.com>
5081
5082         * Array.cs: Reverse the order in the Equals calls.
5083
5084 2005-02-18  Zoltan Varga  <vargaz@freemail.hu>
5085
5086         * Exception.cs (StackTrace): Implement this in managed code since it is
5087         needed by CAS. Fixes #72146.
5088
5089 2005-02-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5090
5091         * WindowsConsoleDriver.cs: implemented MoveBufferArea.
5092
5093 2005-02-14  Raja R Harinath  <rharinath@novell.com>
5094
5095         * Array.cs (Array.Swapper) [!BOOTSTRAP_WITH_OLDLIB]: Make nested.
5096         See #72015.
5097
5098 2005-02-12  Ben Maurer  <bmaurer@ximian.com>
5099
5100         * Version.cs (CompareTo, Equals): Make sure the versions for
5101         generics handle `null'. The non-generics versions now just call
5102         the regular versions, to reduce code duplication.
5103
5104         * Boolean.cs (CompareTo): make this really work for generics 
5105
5106         * Type.cs (GetProperty): Passing new Type [0] is different than
5107         null. null means `I don't care how many types this has,' while new
5108         Type [0] means `this must have 0 types.'
5109
5110 2005-02-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5111
5112         * corlib.dll.sources: added WindowsConsoleDriver.cs
5113
5114         * System/ConsoleDriver.cs: use WindowsConsoleDriver on windows and
5115         implemented the few missing properties/methods.
5116
5117         * System/IConsoleDriver.cs: uncommented all methods/properties.
5118         * System/TermInfoDriver.cs: implement changes from IConsoleDriver.
5119         * System/WindowsConsoleDriver.cs: implemented IConsoleDriver for
5120         windows. Only missing MoveBufferArea by now.
5121
5122 2005-02-11  Zoltan Varga  <vargaz@freemail.hu>
5123
5124         * Type.cs (IsAssignableFrom): Add support for TypeBuilders.
5125
5126         * Int32.cs AppDomain.cs: Fix warnings.
5127
5128 2005-02-10  Marek Safar  <marek.safar@seznam.cz>
5129
5130         * IServiceProvider.cs: Is not ComVisible.
5131
5132         * NonSerializedAttribute.cs: Fix AttributeUsage flags.
5133
5134         * Type.cs: Fix ClassInterface attribute.
5135
5136 Tue Feb 8 19:26:47 CET 2005 Paolo Molaro <lupus@ximian.com>
5137
5138         * Delegate.cs: remove the finalizer from Delegate: this
5139         is handled internally by the runtime now.
5140
5141 2005-02-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5142
5143         * Activator.cs: provide the Type name when throwing an exception.
5144
5145 2005-02-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5146
5147         * TimeZone.cs: lock on the static Hashtable instead of 'this'. Fixes
5148         bug #72238.
5149
5150 Fri Feb 4 15:46:04 CET 2005 Paolo Molaro <lupus@ximian.com>
5151
5152         * Array.cs: provide specialized versions of some methods.
5153
5154 Thu Feb 3 15:15:25 CET 2005 Paolo Molaro <lupus@ximian.com>
5155
5156         * String.cs: provide a managed memcpy and memset method
5157         for use both in corlib and from the JIT. Implement
5158         some methods with the managed helpers and remove some icalls.
5159
5160 2005-01-31  Sebastien Pouliot  <sebastien@ximian.com>
5161
5162         * Exception.cs: Added Data property for NET_2_0 (required for new
5163         unit tests).
5164
5165 2005-01-31 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5166
5167         * ConsoleDriver.cs:
5168         * TermInfoDriver.cs:
5169         * IConsoleDriver.cs:
5170         * Console.cs: added BufferWidth and BufferHeight.
5171
5172 2005-01-31 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5173
5174         * ConsoleDriver.cs:
5175         * Console.cs:
5176         * TermInfoDriver.cs:
5177         * IConsoleDriver.cs: added a few more properties and fixed cursor
5178         addressing.
5179
5180 2005-01-31 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5181
5182         * ConsoleDriver.cs: static class that forwards the Console 2.0 class
5183         calls to the proper driver.
5184         * TermInfoDriver.cs: terminfo based console driver.
5185         * IConsoleDriver.cs: interface implemented by console drivers.
5186
5187         * ConsoleCancelEventArgs.cs:
5188         * ConsoleCancelEventHandler.cs:
5189
5190         * ConsoleModifiers.cs: 
5191         * ConsoleSpecialKey.cs:
5192         * ConsoleColor.cs:
5193         * ConsoleKey.cs: new enumerations.
5194
5195         * ConsoleKeyInfo.cs: New file.
5196
5197         * TermInfoReader.cs: reader for terminfo capabilities files.
5198
5199         * TermInfoNumbers.cs:
5200         * TermInfoBooleans.cs:
5201         * TermInfoStrings.cs: enumations for terminfo property names.
5202
5203         * KnownTerminals.cs: byte arrays for selected terminals.
5204
5205         * Console.cs: added more 2.0 methods and implemented some of them.
5206
5207
5208 2005-01-30  Atsushi Enomoto  <atsushi@ximian.com>
5209
5210         * Int32.cs : (FindSign) IndexOf() is better than creating substring.
5211
5212 2005-01-27  Sebastien Pouliot  <sebastien@ximian.com>
5213
5214         * BadImageFormatException.cs: Protect the fusion (GAC) log from being
5215         disclosed unless code has ControlPolicy and ControlEvidence.
5216
5217 2005-01-27  Zoltan Varga  <vargaz@freemail.hu>
5218
5219         * Exception.cs: Compute stack trace on demand.
5220
5221 2005-01-26  Sebastien Pouliot  <sebastien@ximian.com>
5222
5223         * Environment.cs: Removed hack for static class (NET_2_0). Added 
5224         proper security for FailFast (documented in FDBK20543). Added new
5225         method IsRunningOnWindows to replace (Platform == 128) as the logic is
5226         gonna change in the future (Unix is id #4 in NET_2_0).
5227
5228 2005-01-24  Sebastien Pouliot  <sebastien@ximian.com>
5229
5230         * Environment.cs: Added CAS security (both declarative and imperative)
5231         as a test. This shouldn't affect execution unless --security is 
5232         specified.
5233
5234 2005-01-19  Rafael Teixeira  <rafaelteixeirabr@hotmail.com>
5235         * Type.cs: Corrected implementation for the Type.FilterNameIgnoreCase
5236         and Type.FilterName delegates They weren't dealing with the optional '*'
5237         at the end of the filter mask
5238
5239 2005-01-19  Zoltan Varga  <vargaz@freemail.hu>
5240
5241         * Array.cs: Fix a typo in the previous patch.
5242         
5243         * Array.cs: Fix some test failures in the generic methods.
5244
5245         * Array.cs: Implement AsReadOnly.
5246
5247 2005-01-13  Geoff Norton  <gnorton@customerdna.com>
5248
5249         * Guid.cs: Fix endian issues (use Mono.Security.BitConverterLE).  Fixes
5250         #71242
5251
5252 2005-01-11  Sebastien Pouliot  <sebastien@ximian.com>
5253
5254         * AppDomain.cs: Removed Activate and ActivateNewProcess methods. They
5255         have been removed from 2.0.
5256
5257 2005-01-11  Zoltan Varga  <vargaz@freemail.hu>
5258
5259         * Boolean.cs Char.cs Single.cs Double.cs: Implement IComparable<T> in
5260         NET 2.0.
5261
5262 2005-01-10  Sebastien Pouliot  <sebastien@ximian.com>
5263
5264         * ApplicationIdentity.cs: Throw ArgumentNullException if name is null.
5265         Add default culture (neutral) to the name when none is specified.
5266         * AppDomain.cs: Changed IsDefaultAppDomain (2.0). Is seems that we 
5267         can't trust Id ?
5268
5269 2005-01-09  Sebastien Pouliot  <sebastien@ximian.com>
5270
5271         * DateTime.cs: Reverted last patch for utc as it broke all certificate
5272         handling and another unit test in DateTime.
5273
5274 2005-01-09  Miguel de Icaza  <miguel@ximian.com>
5275
5276         * DateTime.cs: Return immediately if useutc is set to true, there
5277         is no need to do the extra computation (which also happened to
5278         create a new DateTime using the `use_localtime' constructor, which
5279         lead to the erroneous date returns when using 'u' or `U'
5280         formats).   
5281
5282         Fixes another bug in the regression test suite.
5283
5284 2005-01-08  Sebastien Pouliot  <sebastien@ximian.com> 
5285
5286         * AppDomain.cs: Fix the DefaultDomain property to return the root 
5287         domain (as it seems that the root's Id isn't always 0).
5288         * BitConverter.cs: The "special support" for ToString(new byte[0]) is
5289         only for NET_2_0 - previously this was an ArgumentOutOfRangeException.
5290
5291 2005-01-08  Miguel de Icaza  <miguel@ximian.com>
5292
5293         * IntegerFormatter.cs: The - sign inside the "negative" section in
5294         a multi-format string means `show the sign' only if it is the
5295         first token, not `copy verbatim'.  In the other sections it means
5296         `copy-verbatim'.
5297
5298         This makes things like:  (-34).ToString ("#;-#") show up as "-34"
5299         instead of "--34".
5300
5301         The bad news is that this code needs to be rewritten to handle all
5302         the formatting cases, see bug #71112 for details.
5303
5304         * Convert.cs (Convert.ToType): Throw an InvalidCastException if
5305         the conversion is invalid, not ArgumentException, this fixes
5306         another regression in our test suite.
5307
5308 2005-01-08  Sebastien Pouliot  <sebastien@ximian.com>
5309
5310         * AppDomain.cs: Add ApplicationIdentity property for 2.0;
5311         * AppDomainManager.cs: Remove HostRefusedSet support (it does not 
5312         exists anymore).
5313
5314 2005-01-08  Zoltan Varga  <vargaz@freemail.hu>
5315
5316         * DateTime.cs: Create MaxValue and MinValue using a different constructor to avoid static 
5317         initialization problems.
5318
5319 2005-01-02  Ben Maurer  <bmaurer@ximian.com>
5320
5321         * Int32.cs: NumberStyles.AllowExponent was supported by the
5322         Int32.Parse function. From Akira <mei@work.email.ne.jp>. Fixes bug
5323         70469.
5324
5325 2005-01-01  Atsushi Enomoto  <atsushi@ximian.com>
5326
5327         * Base64FormattingOptions.cs : it was not in System namespace.
5328
5329 2004-12-21  Atsushi Enomoto  <atsushi@ximian.com>
5330
5331         * DateTime.cs : If no progress on value string, don't regard as
5332           matched. This fixes bug #70707.
5333
5334 2004-12-20  Sebastien Pouliot  <sebastien@ximian.com>
5335
5336         * Environment.cs: Bump corlib version.
5337
5338 2004-12-16  Zoltan Varga  <vargaz@freemail.hu>
5339
5340         * Array.cs (DoBinarySearch): Fix a warning.
5341
5342 2004-12-08  Zoltan Varga  <vargaz@freemail.hu>
5343
5344         * Environment.cs: Bump corlib version.
5345
5346         * AppDomain.cs: Add new DefineInternalDynamicAssembly () method.
5347
5348 2004-12-06  Ben Maurer  <bmaurer@ximian.com>
5349
5350         * Exception.cs: Prevent stringifying the type name on the
5351         ctor. this gets called a few times on every execution to create a
5352         nullref exception.
5353
5354 2004-12-06  Martin Baulig  <martin@ximian.com>
5355
5356         * Decimal.cs: Decimal constant support has been merged into GMCS,
5357         removed the FIXME.
5358
5359 2004-12-06  Zoltan Varga  <vargaz@freemail.hu>
5360
5361         * Environment.cs: Bump corlib version.
5362         
5363         * Environment.cs: Bump corlib version.
5364
5365 2004-11-30  Zoltan Varga  <vargaz@freemail.hu>
5366
5367         * MonoType.cs (UnderlyingSystemType): Make this return this as in
5368         MS.NET. Fixes #56245.
5369
5370 2004-11-29  Atsushi Enomoto  <atsushi@ximian.com>
5371
5372         * GC.cs : Collect(generation) actually does not throw an exception
5373           even if generation > MaxGeneration (MS document bug).
5374
5375 2004-11-28  Zoltan Varga  <vargaz@freemail.hu>
5376
5377         * Exception.cs: Implement _Exception under NET_2_0.
5378
5379         * Byte.cs SByte.cs UInt16.cs Int16.cs: Make these compile under csc 2.0.
5380
5381         * AccessViolationException.cs DataMisalignedException.cs OperationCanceledException.cs
5382         NotCancelableException.cs TimeoutException.cs: New files.
5383
5384 2004-11-23  Raja R Harinath  <rharinath@novell.com>
5385
5386         * Decimal.cs [NET_2_0]: Use old code till GMCS imports decimal
5387         constant support.
5388
5389 2004-11-23  Raja R Harinath  <rharinath@novell.com>
5390
5391         * Decimal.cs [BOOTSTRAP_WITH_OLDLIB]: Use old code for compilers
5392         without decimal constant support.
5393
5394 2004-11-23  Marek Safar  <marek.safar@seznam.cz>
5395
5396         * Decimal.cs: Updated to use compiler decimal constant support.
5397
5398 2004-11-20  Zoltan Varga  <vargaz@freemail.hu>
5399
5400         * MonoType.cs: Revert last change since it breaks remoting.
5401
5402 2004-11-18  Zoltan Varga  <vargaz@freemail.hu>
5403
5404         * MonoType.cs (UnderlyingSystemType): Make this return this as in
5405         MS.NET. Fixes #56245.
5406
5407 2004-11-17  Carlos Alberto Cortez <carlos@unixmexico.org>
5408
5409         * INullable.cs: New interface added.
5410         * Nullable.cs: Methods added. Also a static Nullable class
5411         containing static methods.
5412         
5413 2004-11-15  Sebastien Pouliot  <sebastien@ximian.com>
5414
5415         * BitConverter.cs: Added support for special case when ToString is 
5416         called with (new byte [0]).
5417
5418 2004-11-10  Lluis Sanchez  <lluis@novell.com>
5419
5420         * Exception.cs: Added setter for StackTrace.
5421
5422 2004-11-07  Ben Maurer  <bmaurer@ximian.com>
5423
5424         * IntegerFormatter.cs: Avoid .ToCharArray
5425
5426 2004-11-06  Ben Maurer  <bmaurer@ximian.com>
5427
5428         * Single.cs, Double.cs (GetHashCode): Better hashcode impl
5429
5430 2004-11-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5431
5432         * InvalidOperationException.cs: make the message more meaningful and
5433         real. Fixes bug #69055.
5434
5435 2004-10-28  Ben Maurer  <bmaurer@ximian.com>
5436
5437         * String.cs: Rather than == String.Empty, use .Length == 0. It
5438         is a bit faster (avoids a method call, and the code is less complex).
5439
5440 2004-10-24  Fawad Halim  <fawad@fawad.net>
5441         * Environment.cs: If an Environment variable value isn't found, leave the trailing % of the reference for further matches.
5442         Add text between end of current lookup window and next % match if we just got a match, or add all text to the end if there are no further % matches.
5443         This fixes bug #64995.
5444
5445 2004-10-19  Lluis Sanchez  <lluis@novell.com>
5446
5447         * MarshalByRefObject.cs: Field _identity is not serializable.
5448         This fixes bug #68567.
5449
5450 2004-10-17  Ben Maurer  <bmaurer@ximian.com>
5451
5452         * DateTime.cs (ZeroPad): Use unsafe code to speed this up. We
5453         avoid entering slow integer formatting code.
5454
5455         (_ToString): Use ZeroPad here when possible, as it is faster.
5456
5457 2004-10-11  Martin Baulig  <martin@ximian.com>
5458
5459         * Environment.cs: Bump corlib version to 28.
5460
5461 2004-10-08  Zoltan Varga  <vargaz@freemail.hu>
5462
5463         * Convert.cs (ToType): Throw an exception when converting null to a
5464         valuetype. Fixes #67780.
5465
5466 2004-10-08  Atsushi Enomoto  <atsushi@ximian.com>
5467
5468         * DateTime.cs : Performance fix. ParseExact() implementation should
5469           avoid s = s.Substring(1).
5470
5471 2004-10-08  Atsushi Enomoto  <atsushi@ximian.com>
5472
5473         * DateTime.cs : When it it not exact parse, 'Z' is allowed as a suffix
5474           of m/s/t/z. This fixes bug 66723.
5475
5476 Wed Oct 6 12:37:54 CEST 2004 Paolo Molaro <lupus@ximian.com>
5477
5478         * String.cs: make GetHashCode() managed.
5479
5480 2004-10-04  Zoltan Varga  <vargaz@freemail.hu>
5481
5482         * AppDomain.cs: Make ThreadStatic variables static. Fixes #56614.
5483
5484         * Runtime*Handle.cs ModuleHandle.cs: Add Equals + GetHashCode.
5485
5486         * ModuleHandle.cs: Add missing methods.
5487
5488         * RuntimeTypeHandle.cs: Add GetModuleHandle () method.
5489
5490 2004-10-03  Zoltan Varga  <vargaz@freemail.hu>
5491
5492         * AttributeTargets.cs: Add 2.0 GenericParameter value.
5493
5494         * Environment.cs: Bump corlib version.
5495
5496 2004-10-02  Zoltan Varga  <vargaz@freemail.hu>
5497
5498         * Int32.cs UInt32.cs Byte.cs SByte.cs Int16.cs UInt16.cs Int64.cs UInt64.cs: Implement 2.0 TryParse methods.
5499
5500 2004-09-30  Geoff Norton  <gnorton@customerdna.com>
5501
5502         * Convert.cs: ConvertToBase* was not endian aware.  Implemented EndianSwap
5503         and swapping of all values before going into the BitConverter so that values
5504         are returned with proper endianess.
5505
5506 2004-09-23  Martin Garton  <martin@wrasse.demon.co.uk>
5507
5508         * Convert.cs: ToType was returning unconverted object when it should
5509         fail with an ArgumentException.
5510
5511 2004-09-27  Zoltan Varga  <vargaz@freemail.hu>
5512
5513         * Array.cs: Add stub for AsReadOnly<T>.
5514         
5515 2004-09-25  Zoltan Varga  <vargaz@freemail.hu>
5516
5517         * Type.cs: Add MakePointerType && stub for ReflectionOnlyGetType.
5518
5519         * MonoCustomAttrs.cs (GetCustomAttributesBase): Add support for
5520         parameters.
5521
5522 2004-09-24  Zoltan Varga  <vargaz@freemail.hu>
5523
5524         * MonoCustomAttrs.cs (GetCustomAttributesBase): Add support for
5525         methods and fields.
5526         
5527         * MonoCustomAttrs.cs: Beginnings of support for returning 2.0 pseudo
5528         custom attributes.
5529
5530         * MonoCustomAttrs.cs (RetrieveAttributeUsage): Avoid infinite recursion.
5531
5532         * MonoCustomAttrs.cs (GetCustomAttributes): Fix the 'attributeType is 
5533         sealed' optimization.
5534
5535         * Type.cs: Implement 2.0 StructLayoutAttribute property. 
5536
5537         * Type.cs Add GetPseudoCustomAttributes () method.
5538
5539 2004-09-24  Martin Baulig  <martin@ximian.com>
5540
5541         * Type.cs (Type.GetGenericParameterConstraints): New public method.
5542
5543 2004-09-23  Zoltan Varga  <vargaz@freemail.hu>
5544
5545         * MonoCustomAttrs.cs (GetCustomAttributes): Rename the icall to
5546         GetCustomAttributesInternal and add a 'pseudoAttrs' argument.
5547
5548         * Type.cs: Tweak Module property in 2.0 build.
5549
5550 2004-09-23  Martin Baulig  <martin@ximian.com>
5551
5552         * Type.cs (Type.GenericParameterAttributes): New public property.
5553
5554 2004-09-23  Martin Baulig  <martin@ximian.com>
5555
5556         * GenericParameterAttributes.cs: New file.
5557
5558 2004-09-22  Zoltan Varga  <vargaz@freemail.hu>
5559
5560         * ModuleHandle.cs: Updated after changes to Module class.
5561
5562 2004-09-21  Geoff Norton <gnorton@customerdna.com>
5563
5564         * Type.cs: BindingFlags.IgnoreCase was being ignored, this reimplements
5565         this filter. Fixes bug #65778.
5566
5567 2004-09-20  Zoltan Varga  <vargaz@freemail.hu>
5568
5569         * Environment.cs: Bump corlib version.
5570
5571 2004-09-19  Zoltan Varga  <vargaz@freemail.hu>
5572
5573         * ModuleHandle.cs: New file.
5574
5575         * RuntimeFieldHandle.cs: Add an internal ctor.
5576
5577 2004-09-19  Dick Porter  <dick@ximian.com>
5578
5579         * Console.cs: Use the internal wrappers for StreamReader and
5580         StreamWriter that catch IOException.
5581
5582 2004-09-16  Sebastien Pouliot  <sebastien@ximian.com>
5583
5584         * Environment.cs: Bumped mono_corlib_version to 25.
5585
5586 2004-09-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5587
5588         * AppDomain.cs: added SetupInformationNoCopy property, since
5589         SetupInformation creates a copy now, all updates to it should use the
5590         actual data. Fixes bug #61991 take 2.
5591
5592 2004-09-09  Tim Coleman <tim@timcoleman.com>
5593         * Base64FormattingOptions.cs: New enum
5594         * Convert.cs: Add new ToBase64String methods for Fx 2.0
5595
5596 2004-09-08  Marek Safar  <marek.safar@seznam.cz>
5597
5598         * Console.cs,
5599         * GC.cs: Class is static for NET_2_0.
5600
5601 2004-09-07 Ben Maurer  <bmaurer@users.sourceforge.net>
5602
5603         * Activator.cs: Make sure not to call .GetType on a
5604         null argument. fixes 63852
5605
5606 2004-09-06 Ben Maurer  <bmaurer@users.sourceforge.net>
5607
5608         * Array.cs (Clear): make this an icall.
5609
5610 2004-09-05 Ben Maurer  <bmaurer@users.sourceforge.net>
5611
5612         * MonoCustomAttribute.cs: Avoid the call to GetBase when possible.
5613
5614 2004-09-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5615
5616         * Environment.cs: (ExpandEnvironmentVariables) don't nullify the case
5617         insensitive enironment variables hashtable once we create it.
5618
5619 2004-09-04  Sebastien Pouliot  <sebastien@ximian.com>
5620
5621         * AppDomain.cs: Changed 2 imperative security demands to declarative
5622         (unsupported) so it doesn't (for now) call the security runtime.
5623
5624 2004-09-02  Zoltan Varga  <vargaz@freemail.hu>
5625
5626         * Delegate.cs: Free the delegate trampoline in the finalizer.
5627
5628 2004-08-26  Sebastien Pouliot  <sebastien@ximian.com>
5629
5630         * ApplicationId.cs: Completed GetHashCode using information from MS
5631         (FDBK13339).
5632
5633 2004-08-23  Sebastien Pouliot  <sebastien@ximian.com>
5634
5635         * Boolean.cs: Added TryParse static method for NET_2_0 profile.
5636
5637 2004-08-19  Atsushi Enomoto  <atsushi@ximian.com>
5638
5639         * DateTime.cs : When hour format is "hh", MS.NET (maybe incorrectly)
5640           allows 12, that should not be accepted (13 is rejected) and
5641           interpreted as 0. This fixes bug 63376.
5642
5643 2004-08-17  Sebastien Pouliot  <sebastien@ximian.com>
5644
5645         * Version.cs: Fixed Clone so we can use it on versions with only
5646         major/minor or major/minor/build.
5647
5648 2004-08-17  Martin Baulig  <martin@ximian.com>
5649
5650         * MonoType.cs (MonoType.getFullName): Added `bool full_name'
5651         argument specifying whether or not to include the type arguments.
5652         (MonoType.FullName): Don't include the type arguments.
5653         (MonoType.ToString): Include them here.
5654
5655         * Environment.cs: Bumped mono_corlib_version to 24.
5656
5657 2004-08-16  Duncan Mak  <duncan@ximian.com>
5658
5659         * AttributeUsageAttribute.cs: Change the AttributeUsage to
5660         AttributeTargets.Class, from AttributeTargets.All, fixes Zoltan's
5661         bug #62895.
5662
5663 2004-08-11  Marek Safar  <marek.safar@seznam.cz>
5664
5665         * AppDomain.cs: Fixed typo of DefineDynamicAssembly argument.
5666         Added call to AddPermissionRequests to pass permissions
5667         arguments.
5668         * Environment.cs: Added a few Fx 2.0 methods
5669
5670 2004-08-09  Sebastien Pouliot  <sebastien@ximian.com>
5671
5672         * ApplicationId.cs: Fixed typo to fix NET_2_0 compilation.
5673         * AppDomain.cs: Fixed use of Evidence and AppDomainSetup (copies, not
5674         references). Added (non-obsolete) Fx 2.0 properties and methods.
5675         * AppDomainSetup.cs: Added internal copy constructor.
5676         * DomainManagerInitializationFlags.cs: Fixed values.
5677
5678 2004-08-08  Sebastien Pouliot  <sebastien@ximian.com>
5679
5680         * AppDomainInitializer.cs: New Fx 2.0 class for AppDomain.
5681         * AppDomainManager.cs: New Fx 2.0 class for AppDomain.
5682         * ApplicationActivator.cs: New Fx 2.0 class for AppDomain.
5683         * ApplicationId.cs: New Fx 2.0 class.
5684         * ApplicationIdentity.cs: Fixed ToString.
5685         * DomainManagerInitializationFlags.cs: New Fx 2.0 flags for AppDomain.
5686
5687 2004-08-05  Sebastien Pouliot  <sebastien@ximian.com>
5688
5689         * AppDomain.cs: Added a new icall, getDomainByID, to get the an 
5690         AppDomain using it's Id. Completed SetAppDomainPolicy.
5691         * Environment.cs: Bumped mono_corlib_version to 23.
5692
5693 2004-08-02  Martin Baulig  <martin@ximian.com>
5694
5695         * DateTime.cs, TimeSpan.cs, Guid.cs, Version.cs: Implement IComparable<T>.
5696
5697 2004-07-29  Atsushi Enomoto  <atsushi@ximian.com>
5698
5699         * Environment.cs : GacPath on windows is based on mscorlib.dll, and
5700           now its location is changed.
5701
5702 2004-07-21  Lluis Sanchez Gual  <lluis@novell.com>
5703
5704         * Environment.cs: Return the MS.NET 2.0 beta1 runtime version for the
5705           NET_2_0 profile.
5706         
5707 2004-07-18  Martin Baulig  <martin@ximian.com>
5708
5709         * Array.cs: Ben Maurer implemented all the new generic methods
5710         here :-)
5711
5712 2004-07-17  Martin Baulig  <martin@ximian.com>
5713
5714         * Decimal.cs: Implement IComparable<Decimal>.
5715
5716 2004-07-17  Martin Baulig  <martin@ximian.com>
5717
5718         * Byte.cs, Int16.cs, Int32.cs, Int64.cs, SByte.cs, String.cs,
5719         UInt16.cs, UInt32.cs, UInt64.cs: Implement IComparable<T>.      
5720
5721 2004-07-13  Sebastien Pouliot  <sebastien@ximian.com>
5722
5723         * ActivationContext.cs: New class in Fx 2.0. Required for 
5724         System.Security.Policy.
5725         * ApplicationIdentity.cs: New class in Fx 2.0. Required for 
5726         System.Security.Policy.
5727         * IApplicationDescription.cs: New interface in Fx 2.0. Required for 
5728         System.Security.Policy.
5729         * IHostContext.cs: New interface in Fx 2.0. Required for 
5730         System.Security.Policy.
5731
5732 2004-07-12  Geoff Norton <gnorton@customerdna.com>
5733
5734         * DateTime.cs: Patch for bug #61112.  Our DateTime wasn't roundtripping over timezone
5735           boundaries properly.  This patch checkes ToLocalTime() to see if we're tripping over a boundary
5736           and will add/subtract the hour if needed
5737
5738 2004-07-07  Geoff Norton <gnorton@customerdna.com>
5739
5740         * Monotype.cs: Patch for bug #58844.  Dont throw exceptions right away;
5741           pass through all the possibly BindingInfo's and keep a bool value as to the type
5742           of exception we might need to throw;
5743
5744 2004-07-07  Geoff Norton <gnorton@customerdna.com>
5745
5746         * Patch to fix bug #58973
5747
5748 2004-07-02  Jackson Harper  <jackson@ximian.com>
5749
5750         * PlatformID.cs: New 2.0 values.
5751         
5752 2004-06-25  Ben Maurer <bmaurer@ximian.com>
5753         
5754         * Environment.cs: GetFolderPath has new behavior. r=miguel
5755
5756 2004-06-23  Sebastien Pouliot  <sebastien@ximian.com>
5757
5758         * DateTime.cs: Throw ArgumentOutOfRangeException if the year is
5759         bigger than 9999. Fix bug #41845.
5760         * FloatingPointFormatter.cs: Applied correction from Jon Skeet on
5761         the "R"eversible format for negative numbers.
5762
5763 2004-06-21  Jackson Harper  <jackson@ximian.com>
5764
5765         * Decimal.cs: Make sure to use invariant culture when parsing
5766         floats stringified with the invariant culture. Patch by Rodrigo
5767         B. de Oliveira.
5768         
5769 2004-06-19  Atsushi Enomoto  <atsushi@ximian.com>
5770
5771         * FloatingPointFormatter.cs : Literal string should be kept in the
5772           output.
5773
5774 2004-06-18  Atsushi Enomoto  <atsushi@ximian.com>
5775
5776         * DateTime.cs : Concatenating whitespace removal was not working fine.
5777           Modified FormatException message (1 cent kindness).
5778
5779 2004-06-18  Ben Maurer  <bmaurer@ximian.com>
5780         
5781         * Action.cs, ArraySegment.cs, Comparison.cs, Converter.cs, Predicate.cs:
5782         new generics classes
5783         * IComparable.cs: add the new <T> version.
5784         * EventHandler.cs: new <T> version.
5785         
5786 2004-06-18  Dick Porter  <dick@ximian.com>
5787
5788         * String.cs: The icall can cope with embedded \0 now.
5789
5790 2004-06-18  Atsushi Enomoto  <atsushi@ximian.com>
5791
5792         * DateTime.cs :
5793           - Added new common pattern "yyyy/M/dZ"
5794           - empty string should not be compared in _ParseEnum()
5795           - Use culture independent string comparison in _ParseString()
5796           - Whitespace removal should be checked after '..' token check (some
5797             pattern such like es-ES LongDatePattern contains spaces in '..').
5798           - formats null check should be done (to throw ArgumentNullException)
5799             in ParseExact().
5800           - When specified one character format, dates are incorrectly regarded
5801             as to use invariant culture.
5802
5803 2004-06-18  Gert Driesen <drieseng@users.sourceforge.net>
5804
5805         * ArgIterator.cs: changed layout to Auto
5806         * DateTime.cs: changed layout to Auto
5807
5808 2004-06-18  Gert Driesen <drieseng@users.sourceforge.net>
5809
5810         * DateTime.cs: CRLF to LF
5811
5812 2004-06-17  Sebastien Pouliot  <sebastien@ximian.com>
5813
5814         * Decimal.cs: Fixed regression in System.Data caused by the recent 
5815         changes. Adapted (and moved) the code to correct the scale from 
5816         SqlMoney. Removed unused (and unusable) IsOne and fixed IsZero (where
5817         scale has no importance).
5818
5819 2004-06-17  Lluis Sanchez Gual  <lluis@ximian.com>
5820
5821         * Activator.cs: In CreateInstance(), use Public|Instance if access binding
5822           attributes are omitted.
5823
5824 2004-06-17  Atsushi Enomoto  <atsushi@ximian.com>
5825
5826         * DateTime.cs : GetDateTimeFormats(char, IFormatProvider) should also
5827           check if the format character is valid.
5828
5829 2004-06-17  Atsushi Enomoto  <atsushi@ximian.com>
5830
5831         * DateTime.cs : AddDays(double) rounds the input.
5832
5833 2004-06-17  Atsushi Enomoto  <atsushi@ximian.com>
5834
5835         * DateTime.cs : Incorrect maxvalue comparison in ToUniversalTime().
5836           Fixed ToLocalTime() as well, but it does check range for MinValue.
5837
5838 2004-06-17  Atsushi Enomoto  <atsushi@ximian.com>
5839
5840         * DateTime.cs : Added overflow check in ToUniversalTime() and
5841           ToLocalTime(). Fixed bug #60253.
5842
5843 2004-06-16  Sebastien Pouliot  <sebastien@ximian.com>
5844
5845         * FloatingPointFormatter.cs: Implemented "R" format using Jon Skeet
5846         source code (with permission). Fix (biggest) part of bug #60110.
5847         http://www.yoda.arachsys.com/csharp/floatingpoint.html
5848
5849 2004-06-15  Sebastien Pouliot  <sebastien@ximian.com>
5850
5851         * Decimal.cs: Fixed scale after Round (a different scale is correct 
5852         from a math point of view but affect the string representation of the
5853         value). Note: other operations also have scale problems!
5854         * DecimalFormatter.cs: Fixed FormatGeneral to match Fx 1.1 output.
5855         * FloatingPointFormatter.cs: Fixed ToString which doesn't use banker's
5856         rounding (which is the rounding provided by Math.Round). This fix bug
5857         #60111. The code (new Round methods) should be moved elsewhere (as it
5858         may also be required elsewhere) post Mono 1.0.
5859
5860 2004-06-15  Gert Driesen <drieseng@users.sourceforge.net>
5861
5862         * AppDomainSetup.cs: added TODO for serialization
5863         * ExecutionEngineException.cs: added missing serialization ctor
5864         * InvalidProgramException.cs: added missing serialization ctor
5865         * MulticastNotSupportedException.cs: added missing serialization ctor
5866         * ObsoleteAttribute.cs: fixed serialization compatibility with MS.NET
5867         * Random.cs: fixed serialization compatibility with MS.NET
5868
5869 2004-06-15  Paolo Molaro <lupus@ximian.com>
5870
5871         * Type.cs: removed unused (and non-existing) icall type_is_instance.
5872
5873 2004-06-15  Gonzalo Paniagua Javier <gonzalo@ximian.com>
5874
5875         * Environment.cs: use internalGetHome instead of getting "HOME" as
5876         that variable may not be defined.
5877
5878 2004-06-14  Sebastien Pouliot  <sebastien@ximian.com>
5879
5880         * TimeSpan.cs: Fixed timespan with large values for hours or minutes
5881         (overflow is only checked for days but can also occurs in hours and
5882         minutes which uses Int32 when multiplying). The new results match MS
5883         implementation.
5884
5885 2004-06-14  Atsushi Enomoto  <atsushi@ximian.com>
5886
5887         * FloatingPointFormatter.cs : Recognize '%' and '\u2030' and replace
5888           them with matching NumberFormatInfo properties.
5889
5890 2004-06-14  Atsushi Enomoto  <atsushi@ximian.com>
5891
5892         * Double.cs : Use IFormatProvider.GetFormat() instead of literal '-'.
5893         * FloatingPointFormatter.cs :
5894           Use NumberFormatInfo.NegativeSign. This change saves many XSLT test
5895           failures.
5896           Format Permille pattern (It is undocumented but actually available,
5897           and used in xsl:format-number).
5898
5899 2004-06-14  Raja R Harinath  <rharinath@novell.com>
5900
5901         * Console.cs (Console.Write, Console.WriteLine): Disable __arglist
5902         version with BOOTSTRAP_WITH_OLDLIB.
5903         * String.cs (STring.Concat): Likewise.
5904
5905 2004-06-13  Atsushi Enomoto  <atsushi@ximian.com>
5906
5907         * FloatingPointFormatter.cs :
5908           - Don't format more than 15 fraction digits. Don't report to Pedro
5909             directly (removing the error message with his concent).
5910           - When format string starts with '.', it means integral part format 
5911             is not specified. Ignore '.' characters after the first
5912             appearance. Fixed bug #59890.
5913           - 0.0 is formatted only before the third ';' appearance.
5914
5915 2004-06-11  Sebastien Pouliot  <sebastien@ximian.com>
5916
5917         * DateTime.cs: Added a AddRoundedMilliseconds which use the "old Mono"
5918         rounding logic which worked for FromOADate (while the newer didn't).
5919         * TimeSpan.cs: Now throw an OverflowException when the timespan is
5920         over MaxValue or under MinValue.
5921
5922 2004-06-11  Martin Baulig  <martin@ximian.com>
5923
5924         * Console.cs (Write, WriteLine): Implemented the varargs versions.
5925
5926 2004-06-11  Martin Baulig  <martin@ximian.com>
5927
5928         * String.cs (Concat): Implemented the varargs version.
5929
5930 2004-06-10  Sebastien Pouliot  <sebastien@ximian.com>
5931
5932         * Decimal.cs: Hacked the Parse method to allow the runtime C code to
5933         decode it properly (i.e. matching MS results). Fixed the Round method
5934         for negative decimal numbers (moved code from Math.cs).
5935         * Math.cs: Now use Decimal class for Round(Decimal,int). Required to
5936         fix a bug when rounding a negative decimal.
5937
5938 2004-06-11  Gonzalo Paniagua Javier <gonzalo@ximian.com>
5939
5940         * AppDomain.cs: set the _principal to null when changing the policy.
5941         * Console.cs: remove ClsCompliant attribute from a method marked as
5942         internal and added comment.
5943
5944 2004-06-10  Gert Driesen <drieseng@users.sourceforge.net>
5945
5946         * Delegate.cs: marked protected fields private to match public
5947         API of MS.NET, marked DynamicInvokeImpl and GetMethodImpl
5948         protected to fix public API
5949         * Enum.cs: marked ctor protected to match public API of MS.NET
5950         * MulticastDelegate.cs: marked DynamicInvokeImpl protected to
5951         match public API of MS.NET
5952
5953 2004-06-10  Atsushi Enomoto  <atsushi@ximian.com>
5954
5955         * DateTime.cs : Added more common patterns.
5956
5957 2004-06-09  Sebastien Pouliot  <sebastien@ximian.com>
5958
5959         * Decimal.cs: Fixed banker rounding by calling Math.Round. This won't
5960         be a performance winner (the actual Math code has a note to wait a
5961         better Decimal implementation) but it returns the correct results
5962         (without adding new code in corlib or the runtime). Fix #37744.
5963
5964 2004-06-09  Atsushi Enomoto  <atsushi@ximian.com>
5965
5966         * DateTime.cs :
5967           - A bunch of fixes (patch by Steven Brown). Fraction seconds are 
5968             now represented as double. Strict token check for 'Z'.
5969           - Pattern validity check in GetDateTimeFormats(char).
5970           - Fixed pattern "yyyy/M/d HH:mm:ss".
5971
5972 2004-06-09  Sebastien Pouliot  <sebastien@ximian.com>
5973
5974         * Decimal.cs: Fixed remainder (and optimized some cases not to call 
5975         unmanaged code). Simplified divide. Removed workaround for bug #59793.
5976         Fixed GetHashCode to return different result for X and -X.
5977
5978 2004-06-08  Atsushi Enomoto  <atsushi@ximian.com>
5979
5980         * DateTime.cs :
5981           - Now re-checked all common format patterns. They should be tried
5982             with both current culture and invariant culture. Since '/' covers
5983             '-', removed extraneous patterns. Added more common patterns
5984             such as "yyyy-MM-dd" and X509Certificate pattern (it is valid
5985             only after NET_1_1). Commented out 1 character format patterns.
5986           - The format patterns we should try should not be obtained by
5987             GetAllDateTimePatterns(). Just use 'd', 'D', 't', 'T', ... (one
5988             character patterns), to handle UTC correctly. Examined patterns
5989             are changed, to 1) common patterns with specified (or current)
5990             culture, 2) common patterns with invariant, 3) The above "one
5991             character patterns" with specified (or current) culture.
5992           - When trying to parse some kind of patterns such as RFC1123, 
5993             always use invariant DateTimeFormatInfo so that they can avoid
5994             parsing with culture-dependent calendar.
5995           - Check "GMT" only when doing Parse(). Don't it when ParseExact().
5996           - Removed extraneous '-' case. It is not special one.
5997           - When ParseExact(), allow only '/' for '/' pattern character.
5998           - When Parse(), allow any non-letter & non-number characters.
5999           - When pattern is not fully parsed, reject that format.
6000           - Added "exact" parameter to some ParseExact().
6001           - RFC1123 pattern is (again) now parsed in local time. I regressed
6002             some problems in previous fix.
6003
6004 2004-06-08  Sebastien Pouliot  <sebastien@ximian.com>
6005
6006         * Decimal.cs: Fixed cast to integer types to truncate (not round) the
6007         value.
6008
6009 2004-06-07  Duncan Mak  <duncan@ximian.com>
6010
6011         * Exception.cs (Source): This can return null.
6012
6013 2004-06-07  Sebastien Pouliot  <sebastien@ximian.com>
6014
6015         * DateTime.cs: Fixed FromFileTime for negative values. Fixed 
6016         constructor to limit range of milliseconds from 0,999. Fixed
6017         ToType method to work for object, string and DateTime.
6018
6019 2004-06-07  Sebastien Pouliot  <sebastien@ximian.com>
6020
6021         * DateTime.cs: Fixed OLE Automation date conversions: timezone 
6022         insensitive, wrong exception in FromOADate, handling of Min/Max 
6023         values, negative doubles where integer part is negative but 
6024         decimals are positive! Charming format ;-)
6025
6026 2004-06-06  Sebastien Pouliot  <sebastien@ximian.com>
6027
6028         * String.cs: Fixed Join in case separator parameter is null.
6029         * TimeSpan.cs: Cache format errors during parsing and throw 
6030         FormatException only if there was no overflow.
6031
6032 2004-06-06  Gert Driesen <drieseng@users.sourceforge.net>
6033
6034         * MonoCustomAttrs.cs: fixed issue where an empty array was 
6035         returned when GetCustomAttributes was invoked with null
6036         attribute type and there was only one result
6037
6038 2004-06-06  Sebastien Pouliot  <sebastien@ximian.com>
6039
6040         * Decimal.cs: Fixed ToString(String.Empty) to default ("G").
6041         * Int16.cs: Fixed ToString(String.Empty) to default ("G").
6042         * Int32.cs: Fixed ToString(String.Empty) to default ("G").
6043         * Int64.cs: Fixed ToString(String.Empty) to default ("G").
6044         * SByte.cs: Fixed ToString(String.Empty) to default ("G").
6045         * UInt16.cs: Fixed ToString(String.Empty) to default ("G").
6046         * UInt32.cs: Fixed ToString(String.Empty) to default ("G").
6047         * UInt64.cs: Fixed ToString(String.Empty) to default ("G").
6048
6049 2004-06-05  Sebastien Pouliot  <sebastien@ximian.com>
6050
6051         * Convert.cs: Fixed the convertion of negative integers (byte, short, 
6052         int and long) into string in a specific base (2, 8, 10 or 16).
6053
6054 2004-06-04  Sebastien Pouliot  <sebastien@ximian.com>
6055
6056         * Math.cs: Fixed IEEERemainder to return -0 (0x8000000000000000) when
6057         the dividend is negative and the result is 0 (remainder).
6058
6059 2004-06-03  Sebastien Pouliot  <sebastien@ximian.com>
6060
6061         * Delegate.cs: Fix the NullReferenceException in Combine(Delegate[]).
6062
6063 2004-06-02  Sebastien Pouliot  <sebastien@ximian.com>
6064
6065         * TimeSpan.cs: Fixed overflow issues when delaing with big (days) time
6066         spans. Fixed parsing when only days are presents in the string (which
6067         should be illegal according to the documentation but is supported).
6068
6069 2004-06-01  Sebastien Pouliot  <sebastien@ximian.com>
6070
6071         * TimeSpan.cs: Fixed exceptions in FromXXX methods as they are 
6072         somewhat different from the documentation.
6073
6074 2004-06-01  Gert Driesen <drieseng@users.sourceforge.net>
6075
6076         * Type.cs: added missing attributes on InvokeMember
6077
6078 2004-06-01  Miguel de Icaza  <miguel@ximian.com>
6079
6080         * String.cs: Flag concat with four arguments internal. 
6081
6082 2004-05-31  Sebastien Pouliot  <sebastien@ximian.com>
6083
6084         * Array.cs: Fixed legal case where value is null.
6085         * Byte.cs: Fixed ToString when format is an empty string (use "G").
6086         * Guid.cs: Renamed private fields (and changed some to signed) to 
6087         match MS implementation and allow serialization to work. Fix 
6088         bug #59113.
6089
6090 2004-05-30  Gonzalo Paniagua Javier <gonzalo@ximian.com>
6091
6092         * DateTime.cs: adjust milliseconds for fraction specifier ('f').
6093
6094 2004-05-30  Miguel de Icaza  <miguel@ximian.com>
6095
6096         * Console.cs: Remove *again* the version of WriteLine with four
6097         arguments;  That should *not* be added.  
6098
6099         Flag it as internal as people migrate their code.
6100
6101 2004-05-29  Sebastien Pouliot  <sebastien@ximian.com>
6102
6103         * Convert.cs: Fixed ToSByte(string,IFormatProvider) to throw 
6104         ArgumentNullException (only case, all other returns 0). Fixed exception
6105         reporting for hex prefix only strings. Fixed ChangeTo where null could
6106         be misinterpreted between null and Empty.
6107
6108 2004-05-28  Sebastien Pouliot  <sebastien@ximian.com>
6109
6110         * Convert.cs: Fixed integer parsing for special cases (0x, 0X for base
6111         16), non-base 10 negative numbers ... see new unit tests. Fixed the 
6112         case when we parse Int64.MinValue (positive doesn't fit a signed long).
6113
6114 2004-05-28  Jackson Harper  <jackson@ximian.com>
6115
6116         * Environment.cs: Increment version number.
6117         
6118 2004-05-28  Zoltan Varga  <vargaz@freemail.hu>
6119
6120         * AppDomain.cs (Load): Try loading from assemblyRef.CodeBase if exists.
6121         Fixes #59189.
6122
6123 2004-05-28  Atsushi Enomoto <atsushi@ximian.com>
6124
6125         * DateTime.cs : I reverted my fix by accident :(
6126
6127 2004-05-28  Atsushi Enomoto <atsushi@ximian.com>
6128
6129         * DateTime.cs :
6130           - In ToString(), Don't use culture-dependent daynames to format
6131             Universal/RFC1123 date/time. Also, use FullDateTimePattern for 'U'.
6132           - Fixed GetDateTimeFormats () that generated incorrect 'U' value 
6133             (since the format string is the same as 'F').
6134
6135 2004-05-28  Atsushi Enomoto <atsushi@ximian.com>
6136
6137         * DateTime.cs : don't adjust utc value in ToString(). It must output
6138           the same time value, just adding 'Z' for UTC.
6139
6140 2004-05-28  Atsushi Enomoto <atsushi@ximian.com>
6141
6142         * DateTime.cs : in 'Z' case, remove the 'Z' char from input before
6143           proceeding.
6144
6145 2004-05-28  Gonzalo Paniagua Javier <gonzalo@ximian.com>
6146
6147         * AppDomainSetup.cs: InitAppDomainSetup is not needed now.
6148
6149 2004-05-27  Sebastien Pouliot  <sebastien@ximian.com>
6150
6151         * Byte.cs: Fixed parsing for "-0" which is valid for unsigned types.
6152         * Convert.cs: Convert with a base parameter cannot parse negative 
6153         string numbers, even "-0".
6154         * UInt16.cs: Fixed parsing for "-0" which is valid for unsigned types.
6155         * UInt32.cs: Fixed parsing for "-0" which is valid for unsigned types.
6156         * UInt64.cs: Fixed parsing for "-0" which is valid for unsigned types.
6157
6158 2004-05-27  Atsushi Enomoto <atsushi@ximian.com>
6159
6160         * DateTime.cs : 
6161           - Added "yyyy/MM/dd HH:mm:ss 'GMT'" and "yyyy-MM-dd HH:mm:ss 'GMT'"
6162             to common formats (yes, I know it is nothing more than hack)
6163           - Fixed some GetDateTimeFormats() that just returned patterns.
6164           - For InvariantCulture, now try both supported formats and our
6165             predefined formats.
6166           - It was accepting incorrectly extraneous characters. That caused
6167             some UTC/non-UTC bug.
6168           - RFC1123 string should return universal time. Uncomment again (the
6169             problem should went away because of the extra characters fix above.
6170
6171             With some of the changes above, fixed bug #47720.
6172
6173 2004-05-27  Atsushi Enomoto <atsushi@ximian.com>
6174
6175         * DateTime.cs : quick revert 'Z' support for certificate verifications.
6176
6177 2004-05-26  Sebastien Pouliot  <sebastien@ximian.com>
6178
6179         * Array.cs: Removed duplicate condition if LastIndexOf.
6180
6181 2004-05-26  Atsushi Enomoto <atsushi@ximian.com>
6182
6183         * DateTime.cs :
6184           - Added "yyyy-MM-dd HH:mm:ss" to "compatible patterns".
6185             (Fixed bug #58938.)
6186           - As a quick remedy to accept more patterns, Parse() now also tries
6187             InvariantInfo patterns (this is because we have no more than one
6188             pattern for each pattern component.)
6189           - In _DoParse(), 'Z' should not be read as timezone specifier. Some
6190             culture uses 'Z' as AM/PM designer, and it should be recognized as
6191             part of the UTCpattern (if it actually UTC pattern for the culture
6192             contains 'Z').
6193
6194 2004-05-26  Gert Driesen (drieseng@users.sourceforge.net)
6195
6196         * MonoCustomAttrs.cs: Fixed issue with AllowMultiple, as MS
6197         seems to allow multiple attributes with AllowMultiple at
6198         runtime.
6199
6200 2004-05-26  Sebastien Pouliot  <sebastien@ximian.com>
6201
6202         * Byte.cs: Throw an OverflowException for negative numbers.
6203         * Convert.cs: Accept 0x and 0X as prefix when parsing base16 strings.
6204         * Environment.cs: Bumped mono_corlib_version to 20 (rng interface).
6205
6206 2004-05-25  Sebastien Pouliot  <sebastien@ximian.com>
6207
6208         * Array.cs: Fixed possible integer overflow.
6209         * BitConverter.cs: Fixed a possible integer overflow in ToString.
6210         * Guid.cs: Added an internal method to create a random Guid without
6211         using CryptoConfig (which is heavy on first use). This is only used
6212         in S.R.E.ModuleBuilder to speedup MCS compilation.
6213         * String.cs: Fixed reported exception for PadLeft|Right. Fixed 
6214         possible integer overflow in methods that takes index and count
6215         as parameters.
6216
6217 2004-05-25  Zoltan Varga  <vargaz@freemail.hu>
6218
6219         * String.cs: Add new Strcpy icalls which take a char array as 
6220         parameter.
6221
6222 2004-05-25  Atsushi Enomoto <atsushi@ximian.com>
6223
6224         * DateTime.cs : added more invariant format patterns. This should
6225           really fix bug #57656.
6226
6227 2004-05-25 14:14 CET Patrik Torstensson <totte@hiddenpeaks.com>
6228
6229         * BitConverter.cs (ToBoolean): Return true or false instead
6230         of unsafe returing byte as bool. Fixes bug #58874.
6231
6232 2004-05-25  Atsushi Enomoto <atsushi@ximian.com>
6233
6234         * DateTime.cs : In ToString(string, IFormatProvider), use "G" if
6235           string format argument is null.
6236
6237 2004-05-25  Lluis Sanchez Gual  <lluis@ximian.com>
6238
6239         * Version.cs: Rename of data fields to match those in Microsoft.NET.
6240           Patch by PAF@design.ru.
6241
6242 2004-05-25  Gonzalo Paniagua Javier <gonzalo@ximian.com>
6243
6244         * DateTime.cs: allow double quotes in the formats. Don't set
6245         next_not_digit to true in presence of single or double quotes. Patch by
6246         Martin Probst.
6247
6248 2004-05-24  Zoltan Varga  <vargaz@freemail.hu>
6249
6250         * AppDomainSetup.cs (InitAppDomainSetup): This one returns void.
6251
6252 2004-05-23  Sebastien Pouliot  <sebastien@ximian.com>
6253
6254         * Array.cs: Fixed exception when we try to Clear outside bounds.
6255         * Boolean.cs: Fixed Equals for True!=True (see bugzilla #58874).
6256         * BitConverter.cs: Fixed negative index and integer overflow in
6257         To... methods.
6258         * Buffer.cs: Fixed integer overflow in BlockCopy.
6259
6260 2004-05-22  Sebastien Pouliot  <sebastien@ximian.com>
6261
6262         * Array.cs: Clear can now work on multidimentional arrays.
6263         * IntPtr.cs: We now only accept 32bits values in the long constructor
6264         unless we're on a 64 bits machine.
6265         * UIntPtr.cs: We now only accept 32bits unsigned values in the ulong 
6266         constructor unless we're on a 64 bits machine.
6267
6268 2004-05-22  Duncan Mak  <duncan@ximian.com>
6269
6270         * Convert.cs: The file was mostly in DOS endings already, for the
6271         sake of consistency, converted it all to DOS endings.
6272         (ToType): When value is null, immediately return null and don't
6273         ever throw a NullReferenceException. When conversionType is null,
6274         throw an InvalidCastException. Give a better error message when
6275         attempting to convert to a DBNull as well.
6276
6277 2004-05-21  Sebastien Pouliot  <sebastien@ximian.com>
6278
6279         * Decimal.cs: Fixed To... methods that needs to trunk the integer part
6280         of Decimal (and not use the banker's rounding like Convert.To...).
6281         * Single.cs: Fixed CompareTo and Equals (copied fix from Double) wrt
6282         to NaN compares (see new unit tests).
6283
6284 2004-05-20  Sebastien Pouliot  <sebastien@ximian.com>
6285
6286         * Convert.cs: Added checks for integer overflow for From|ToBase64Char.
6287         Also fixed the case where wide (16 bits) characters were converted to 
6288         bytes.
6289
6290 2004-05-19  Gert Driesen (drieseng@users.sourceforge.net)
6291
6292         * ThreadStaticAttribute.cs
6293         * ContextStaticAttribute.cs
6294         * FlagsAttribute.cs
6295         * ObsoleteAttribute.cs : now that Inherited is false by
6296         default on AttributeUsageAttribute (as it should be) we
6297         need to explicitly set Inherited to false for those
6298         attributes should it be be false.
6299
6300 2004-05-19  Gert Driesen (drieseng@users.sourceforge.net)
6301
6302         * AttributeUsageAttribute.cs: Inherited property should be
6303         true by defaultrs.cs: respect Inherited property, and
6304
6305 2004-05-19  Gert Driesen (drieseng@users.sourceforge.net)
6306
6307         * MonoCustomAttrs.cs: respect Inherited property, and
6308         AllowMultiple property of a CustomAttribute. This fixes
6309         a major issue we had with respect to custom attributes.
6310
6311 2004-05-19  Gert Driesen (drieseng@users.sourceforge.net)
6312
6313         * MonoType.cs: throw ArgumentNullException when type parameter in
6314         GetCustomAttributes(Type, bool) is null
6315
6316 2004-05-18  Sebastien Pouliot  <sebastien@ximian.com>
6317
6318         * Buffer.cs: Added checks for null source and destination. Fix failing
6319         CryptoStream unit test.
6320         * Guid.cs: Fixed thread-safety issue. Simplified implementation to use
6321         pseudo-random numbers to generate GUIDs (as per section 3.4 of the 
6322         spec). This removes the TODO to get the computer MAC address and
6323         the chances to get a duplicate GUID (across different machines).
6324
6325 2004-05-17  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
6326
6327         * TimeSpan.cs: Only catch expected exceptions, if we get other exceptions
6328           than OverflowExceptions then something went wrong internally
6329
6330 2004-05-17  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
6331
6332         * Char.cs: Fix long standing bug with ToLower/ToUpper not being
6333           culture - sensitive
6334
6335 2004-05-14  Zoltan Varga  <vargaz@freemail.hu>
6336
6337         * Buffer.cs: Optimize BlockCopy.
6338
6339         * Environment.cs: Bump corlib version.
6340
6341 2004-05-14  Atsushi Enomoto <atsushi@ximian.com>
6342
6343         * __ComObject.cs : This class is not regarded as CLSCompliant by csc.
6344           See also bug #58478.
6345
6346 2004-05-14  Gonzalo Paniagua Javier <gonzalo@ximian.com>
6347
6348         * AppDomainSetup.cs: don't throw an exception if dynamic_base has not
6349         been set. Just return null as MS. Fixes bug #58120.
6350
6351 2004-05-14  Marek Safar  <marek.safar@seznam.cz>
6352
6353         * Boolean.cs, Byte.cs, Char.cs, DBNull.cs, DateTime.cs,
6354           Decimal.cs, Double.cs, Enum.cs, Int16.cs, Int32.cs,
6355           Int64.cs, IntegerFormatter.cs, SByte.cs, Single.cs,
6356           String.cs, UInt16.cs, UInt32.cs, UInt64.cs: Removed
6357           useless [CLSCompliant (false)]
6358
6359
6360 2004-05-13  Sebastien Pouliot  <sebastien@ximian.com>
6361
6362         * __ComObject.cs: To please corcompare (no implementation).
6363
6364 2004-05-13  Zoltan Varga  <vargaz@freemail.hu>
6365
6366         * Environment.cs: Bump corlib version.
6367
6368 2004-05-13  Sebastien Pouliot  <sebastien@ximian.com>
6369
6370         * Environement.cs: Removed two security attributes for CurrentDirectory
6371         that weren't documented (and anyway we don't support them).
6372
6373 2004-05-11  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
6374
6375         * Char.cs: Fix exceptions
6376
6377 2004-05-11  Lluis Sanchez Gual  <lluis@ximian.com>
6378
6379         * MissingMemberException.cs: Fix in serialization constructor.
6380
6381 2004-05-10  Gonzalo Paniagua Javier <gonzalo@ximian.com>
6382
6383         * Environment.cs: GetGacPath return value is resolved at runtime on
6384         windows.
6385
6386 2004-05-07  Sebastien Pouliot  <sebastien@ximian.com>
6387  
6388         * Convert.cs: ToBase64CharArray method was depending on a bug in 
6389         S.S.C.ToBase64Transform class to work. Added an internal method to 
6390         provide the same functionality (multiple block processing).
6391
6392 2004-05-06  Jackson Harper  <jackson@ximian.com>
6393
6394         * Environment.cs: Make $HOME the personal directory.
6395
6396 2004-05-06  Sebastien Pouliot  <sebastien@ximian.com>
6397  
6398         * Convert.cs: ToBase64String method was depending on a bug in 
6399         S.S.C.ToBase64Transform class to work. Added an internal method to 
6400         provide the same functionality (multiple block processing).
6401
6402 2004-05-05  Sebastien Pouliot  <sebastien@ximian.com>
6403  
6404         * Environment.cs: Completed OSVersion property.
6405         * Version.cs: Added internal CreateFromString() to "try" to build the
6406         best version number form the specified string.
6407  
6408 2004-05-01  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
6409
6410         * TimeSpan.cs: Redid a lot of stuff in TimeSpan from scratch.
6411           Fixes several potential bugs and makes things way faster.
6412
6413 2004-05-01  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
6414
6415         * TimeSpan.cs: Formatting changes
6416
6417 2004-04-29 Ben Maurer  <bmaurer@users.sourceforge.net>
6418
6419         * Activator.cs: change _flags to a const.
6420         * IntegerFormatter.cs: make tables readonly.
6421         * Convert.cs: tables readonly
6422         * DateTime.cs: ditto.
6423         * IntPtr.cs: avoid a cctor.
6424
6425 2004-04-29  Jackson Harper  <jackson@ximian.com>
6426
6427         * MonoType.cs: 
6428         * Type.cs: NET_2_0 now instead of 1_2. 
6429         
6430 2004-04-29  Gonzalo Paniagua Javier <gonzalo@ximian.com>
6431
6432         * Environment.cs: implemented GetLogicalDrives.
6433
6434 2004-04-28  Miguel de Icaza  <miguel@ximian.com>
6435
6436         * Applied patch from Atsushi Enomoto that allows Synchronized
6437         writers to have a `dont close' flag, this fixes 52094
6438
6439 2004-04-29  Lluis Sanchez Gual  <lluis@ximian.com>
6440
6441         * MonoCustomAttrs.cs, MonoType.cs: Property.GetGetMethod() does not
6442         return the method if it is private (it did until now because of a
6443         bug). Make sure it works as it worked before the fix.
6444         * Type.cs: Implemented FilterAttribute delegate.
6445
6446 2004-04-28  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
6447
6448         * IntegerFormatter.cs: Prevent the use of the explicit static constuctor
6449
6450 2004-04-27  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
6451
6452         * IntegerFormatter.cs: Made functions internal (needed by other patches)
6453
6454 2004-04-27  Lluis Sanchez Gual  <lluis@ximian.com>
6455
6456         * DateTime.cs: TODO cleaning.
6457         * Delegate.cs: GetObjectData should be virtual.
6458         * IntegerFormatter.cs: Method factorization. I don't want to fix bugs in
6459           30 methods almost identical.
6460         * MulticastDelegate.cs: Implemented GetObjectData.
6461         
6462 2004-04-26  Jackson Harper  <jackson@ximian.com>
6463
6464         * Environment.cs: Things going bump in the night.
6465
6466 2004-04-25  Miguel de Icaza  <miguel@ximian.com>
6467
6468         * Convert.cs (toBase64Transform): Make private.
6469
6470 2004-04-25  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
6471
6472         * Convert.cs:
6473         * Decimal.cs:
6474         * DecimalFormatter.cs:
6475         * FloatingPointFormatter.cs: Call invariant Char functions
6476         * Guid.cs: Call invariant Char and String functions
6477         * String.cs: Call invariant Char functions
6478
6479 2004-04-25  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
6480
6481         * String.cs: Refactored the Invariant ToXXX into its own internal methods
6482           so they are directly callable within corlib (can prevent early
6483           construction of CultureInfo, InvariantCulture and related classes)
6484
6485 2004-04-24  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
6486
6487         * String.cs: Managed impl. of Invariant parts of ToLower, ToUpper
6488         * Char.cs: Managed impl. of Invariant parts of ToLower, ToUpper
6489
6490 2004-04-24  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
6491
6492         * String.cs: Check for null values
6493
6494 2004-04-23  Peter Bartok <pbartok@novell.com>
6495
6496         * Environment.cs: GetLogicalDrives now returns "/" instead of null. Gonzalo
6497           will do a better fix in the future, but this way apps can at least use it.
6498
6499 2004-04-23  Sebastien Pouliot  <sebastien@ximian.com>
6500
6501         * Environment.cs: Better support for GetFolderPath (same results as MS 
6502           on Windows).
6503
6504 2004-04-22  Lluis Sanchez Gual  <lluis@ximian.com>
6505
6506         * Activator.cs: Removed TODOs for finished methods.
6507         * AppDomainSetup.cs: When setting a relative path to ApplicationBase, it
6508           must be relative to the current directory, not the temp directory.
6509           Implemented DynamicBase.
6510         * Convert.cs: No need to create a ToBase64Transform instance at every call
6511           to ToBase64CharArray.
6512         * DateTime.cs: Implemented missing methods FromFileTimeUtc and 
6513           ToFileTimeUtc.
6514         * Decimal.cs: Implemented FromOACurrency and ToOACurrency.
6515         * Delegate.cs: Removed class TODO.
6516         * IntegerFormatter.cs: Use Char.IsLetter and Char.IsDigit instead of ad-hoc
6517           methods.
6518         * Type.cs: Removed TODOs for things already implemented.
6519         
6520 2004-04-21  Lluis Sanchez Gual  <lluis@ximian.com>
6521
6522         * Char.cs: Implemented culture-dependent ToLower and ToUpper methods.
6523         * MulticastDelegate.cs: Removed unused code.
6524
6525 2004-04-19  Lluis Sanchez Gual  <lluis@ximian.com>
6526
6527         * AppDomain.cs: Implemented DynamicDirectory and SetDynamicBase.
6528         * Array.cs: Removed some TODOs in CreateInstance and IndexOf.
6529         * BadImageFormatException.cs: TODO reformat.
6530         * DateTime.cs: Implemented GetDateTimeFormats and GetDateTimeFormats.
6531         * DelegateSerializationHolder.cs: Made class internal.
6532         * Enum.cs: Removed TODO for localization, since this is something that has
6533           to be done for all classes.
6534         * Environment.cs: Removed TODO.
6535         * Exception.cs: Changed ToString to use StringBuilder.
6536         * MonoDummy.cs: Made class internal.
6537         * UnitySerializationHolder.cs: Added support for modules.
6538
6539 2004-04-16  David Sheldon <dave-mono@earth.li>
6540
6541         * DecimalFormatter.cs: Don't append a decimal point after the
6542           end of a number. ((decimal)1).ToString("P0") should be "100 %", not
6543           "100. %"
6544
6545 2004-04-09  Miguel de Icaza  <miguel@ximian.com>
6546
6547         * OutOfMemoryException.cs: Removed the call to Locale.GetText from
6548           this.
6549
6550 2004-04-10  Gert Driesen (drieseng@users.sourceforge.net)
6551
6552         * MonoDummy.cs: added MonoTODO to make sure we remove this class
6553           when its no longer needed
6554
6555 2004-04-09  David Sheldon <dave-mono@earth.li>
6556
6557         * Convert.cs: Allow + signs in strings for ToInt32, and
6558           - if it is base 10.
6559
6560 2004-04-08  Atsushi Enomoto  <atsushi@ximian.com>
6561
6562         * Nullable.cs : usingdecl should also be conditional.
6563
6564 2004-04-07  Martin Baulig  <martin@ximian.com>
6565
6566         * Nullable.cs: New file.
6567
6568 2004-04-07  Martin Baulig  <martin@ximian.com>
6569
6570         * Type.cs (Type.GetGenericArguments): Make this abstract.
6571
6572 2004-04-07  Jackson Harper  <jackson@ximian.com>
6573
6574         * Environment.cs: Increase corlib version number.
6575         
6576 2004-04-07  Gonzalo Paniagua Javier <gonzalo@ximian.com>
6577
6578         * Environment.cs:
6579         (ExpandEnvironmentVariables): on windows, env. vars. are case
6580         insensitive.
6581
6582 2004-04-06  Sebastien Pouliot  <sebastien@ximian.com>
6583
6584         * AppDomain.cs: Added static to [ThreadStatic] _principal field. 
6585         Removed [ThreadStatic] for _principalPolicy (not required).
6586
6587 2004-04-06  Miguel de Icaza  <miguel@ximian.com>
6588
6589         * Guid.cs: Flag as Sequential.
6590
6591 2004-04-02  Dick Porter  <dick@ximian.com>
6592
6593         * String.cs: More sanity checks in Replace().  Fixes bug 55822.
6594
6595 2004-04-02  Sebastien Pouliot  <sebastien@ximian.com>
6596
6597         * Environment.cs: Implement ExpandEnvironmentVariables static method.
6598         Now call the runtime to get the username (fix #56144).
6599
6600 2004-04-02  Gonzalo Paniagua Javier <gonzalo@ximian.com>
6601
6602         * MonoType.cs: AssemblyQualifiedName now displays culture, version...
6603         Fixes bug #56341.
6604
6605 2004-03-29  Miguel de Icaza  <miguel@ximian.com>
6606
6607         * Console.cs: If we fail to open stdin/stdout/stderr, create
6608         readers with a NullStream.  This can happen if our caller does not
6609         setup stdin/stoud/stderr file handles.  #56158 exposed this, but
6610         it will happen elsewhere.
6611
6612 2004-03-29  Lluis Sanchez Gual <lluis@ximian.com>
6613
6614         * Convert.cs: In ToSingle(double), removed checks for Single.MaxValue
6615         and Single.MinValue. MS.NET don't do it. This fixes bug #56005.
6616         * Guid.cs: Added support for guid strings in the "N" and "P" formats in
6617           the constructor. This fixes bug #54019.
6618
6619 2004-03-23  Lluis Sanchez Gual <lluis@ximian.com>
6620
6621         * FloatingPointFormatter.cs: Made the class thread safe. Had to move some
6622           internal variables to structures that are moved around methods.
6623           Factorized some common formatting code into FormatNumberInternal.
6624           
6625 2004-03-23  Dick Porter  <dick@ximian.com>
6626
6627         * DateTime.cs: Allow any character for DateSeparator when parsing,
6628         except TimeSeparator, a digit or a letter.  Fixes bug 54047.  Also
6629         deleted the previous fix for 54721, because this covers it too.
6630         
6631 2004-03-23  Dick Porter  <dick@ximian.com>
6632
6633         * DateTime.cs: Check the date string for too many digits when
6634         parsing.  Fixes bugs 53023 and 53025.
6635
6636 2004-03-22  Dick Porter  <dick@ximian.com>
6637
6638         * String.cs: Use the provider when converting strings to other
6639         types.
6640
6641         * DateTime.cs: Add MM-dd-yyyy to the list of standard date parsing
6642         formats.  Fixes bug 54721.
6643
6644 2004-03-22  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
6645
6646         * Console.cs: Styled, optimized calls
6647         * CrossAppDomainDelegate.cs: Small header fix
6648         * Buffer.cs: Style, improve errors
6649         * BitConverter.cs: Style, improve errors, remove obsolete comment
6650         * Attribute.cs: Style, improve errors, small fix
6651         * Array.cs: Style, improve errors, small fix, added TODOs
6652         * Activator.cs: Style, localized errors, added error checks
6653         * Byte.cs: Style, localized errors, fixed wrong exception parameters
6654         * Char.cs: Style
6655         * Boolean.cs: Style
6656         * AppDomainSetup.cs: Style
6657         * AppDomain.cs: Style, implemented two methods (redirect)
6658
6659 2004-03-21  Jackson Harper  <jackson@ximian.com>
6660
6661         * FloatingPointFormatter.cs: Set precision from number format info
6662         when it is not specified. This fixes bug #54983.
6663         
6664 2004-03-18  Nick Drochak <ndrochak@ieee.org>
6665
6666         * Math.cs: Use IsNaN() method not "x == NaN".
6667
6668 2004-03-16  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
6669
6670         * EntryPointNotFoundException.cs
6671         * DuplicateWaitObjectException.cs
6672         * DllNotFoundException.cs
6673         * DivideByZeroException.cs
6674         * ContextMarshalException.cs
6675         * CannotUnloadAppDomainException.cs
6676         * BadImageFormatException.cs
6677         * ArrayTypeMismatchException.cs
6678         * ArithmeticException.cs
6679         * ArgumentOutOfRangeException.cs
6680         * ArgumentNullException.cs
6681         * ArgumentException.cs
6682         * ApplicationException.cs
6683         * AppDomainUnloadedException.cs: Added missing HResult overrides
6684
6685         * BadImageFormatException.cs: Improved/ Fixed implementation
6686
6687 2004-03-15  Sebastien Pouliot  <sebastien@ximian.com>
6688
6689         * Random.cs: Corrected random value when Next is called with a 
6690         negative value. Testing indictae that our results aren't exactly the 
6691         same as MS, we have a +/- 1 (probably rounding errors due to 
6692         different implementation).
6693
6694 2004-03-15  Gonzalo Paniagua Javier <gonzalo@ximian.com>
6695
6696         * Environment.cs: updated corlib version.
6697
6698 2004-03-15  Lluis Sanchez Gual <lluis@ximian.com>
6699
6700         * Boolean.cs, Byte.cs, Char.cs, Double.cs, Int16.cs, Int32.cs, Int64.cs,
6701           SByte.cs, Single.cs, UInt16.cs, UInt32.cs, UInt64.cs: Renamed internal
6702           field "value" to "m_value", so it is interoperable with MS.NET when 
6703           serializing and deserializing data. Based on the patch from Daniel
6704           Keep.
6705
6706 2004-03-14  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
6707
6708         * TypeInitializationException.cs
6709         * SystemException.cs
6710         * StackOverflowException.cs
6711         * RankException.cs
6712         * OverflowExceptionException.cs
6713         * OutOfMemoryException.cs
6714         * NullReferenceException.cs
6715         * NotSupportedException.cs
6716         * NotFiniteNumberException.cs
6717         * InvalidOperationException.cs
6718         * InvalidCastException.cs
6719         * IndexOutOfRangeException.cs
6720         * FormatException.cs
6721         * ExecutionEngineException.cs: improved parameter names
6722
6723 2004-03-13  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
6724
6725         * Enum.cs
6726         * EntryPointNotFoundException.cs
6727         * DuplicateWaitObjectException.cs
6728         * DoubleFormatter.cs
6729         * DllNotFoundException.cs
6730         * DivideByZeroException.cs
6731         * DelegateSerializationHolder.cs
6732         * Delegate.cs
6733         * DBNull.cs
6734         * ContextStaticAttribute.cs
6735         * ContextMarshalException.cs
6736         * ContextBoundObject.cs
6737         * CLSCompliantAttribute.cs
6738         * CharEnumerator.cs
6739         * CannotUnloadAppDomainException.cs
6740         * BadImageFormatException.cs
6741         * AttributeUsageAttribute.cs
6742         * AttributeTargets.cs
6743         * AsyncCallback.cs
6744         * AssemblyLoadEventHandler.cs
6745         * AssemblyLoadEventArgs.cs
6746         * ArrayTypeMismatchException.cs
6747         * ArithmeticException.cs
6748         * ArgumentOutOfRangeException.cs
6749         * ArgumentNullException.cs
6750         * ArgumentException.cs
6751         * ArgIterator.cs
6752         * ApplicationException.cs
6753         * AppDomainUnloadedException.cs
6754         * AppDomain.cs: Mono styled, fixed exceptions/ locales
6755           removed excess usings
6756
6757 2004-03-10  Sebastien Pouliot  <sebastien@ximian.com>
6758
6759         * Convert.cs: FromBase64 now ignore some characters (tab, LF, CR and
6760         spaces) which fixed #54939. Changed the way that the length is 
6761         validated (multiple of 4) because the ignored characters must not be
6762         included in the count.
6763
6764 2004-03-10  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
6765
6766         * String.cs: Monostyled
6767
6768 2004-03-09  Jackson Harper  <jackson@ximian.com>
6769
6770         * Char.cs: Only use a byte for numeric data.
6771         
6772 2004-03-09  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
6773
6774         * TypedReference.cs: Added missing Attributes
6775         * ParamArrayAttribute.cs: Small style fix
6776         * OperatingSystem.cs: Added .Net 1.1 member
6777
6778 2004-03-09  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
6779
6780         * FieldAccessException.cs
6781         * FormatException.cs
6782         * InvalidCastException.cs
6783         * InvalidOperationException.cs
6784         * MemberAccessException.cs
6785         * MethodAccessException.cs
6786         * MissingFieldException.cs: Locale strings
6787         * MissingMemberException.cs: Locale strings
6788         * MissingMethodException.cs: Locale strings
6789         * NotFiniteNumberException.cs
6790         * NotImplementedException.cs
6791         * NotSupportedException.cs
6792         * NullReferenceException.cs
6793         * ObjectDisposedException.cs
6794         * OutOfMemoryException.cs
6795         * OverflowExceptionException.cs
6796         * PlatformNotSupportedException.cs
6797         * RankException.cs: Added missing HResult overrides
6798
6799 2004-03-09  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
6800
6801         * RuntimeTypeHandle.cs
6802         * RuntimeMethodHandle.cs
6803         * RuntimeFieldHandle.cs: Implemented serialization (partially untested)
6804
6805 2004-03-09  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
6806
6807         * EventArgs.cs
6808         * Exception.cs
6809         * ExecutionEngineException.cs
6810         * FieldAccessException.cs
6811         * FormatException.cs
6812         * GC.cs
6813         * Guid.cs
6814         * IndexOutOfRangeException.cs
6815         * IntPtr.cs
6816         * InvalidCastException.cs
6817         * InvalidOperationException.cs
6818         * InvalidProgramException.cs
6819         * IServiceProvider.cs
6820         * LoaderOptimization.cs
6821         * LoaderOptimizationAttribute.cs
6822         * MarshalByRefObject.cs
6823         * Math.cs
6824         * MemberAccessException.cs
6825         * MethodAccessException.cs
6826         * MissingFieldException.cs
6827         * MissingMemberException.cs
6828         * MissingMethodException.cs
6829         * MultiCastDelegate.cs
6830         * MulticastNotSupportedException.cs
6831         * NonSerializedAttribute.cs
6832         * NotFiniteNumberException.cs
6833         * NotImplementedException.cs
6834         * NotSupportedException.cs
6835         * NullReferenceException.cs
6836         * ObjectDisposedException.cs
6837         * ObsoleteAttribute.cs
6838         * OperatingSystem.cs
6839         * OutOfMemoryException.cs
6840         * OverflowExceptionException.cs
6841         * PlatformID.cs
6842         * PlatformNotSupportedException.cs
6843         * Random.cs
6844         * RankException.cs
6845         * ResolveEventArgs.cs
6846         * ResolveEventHandler.cs
6847         * RuntimeFieldHandle.cs
6848         * RuntimeMethodHandle.cs
6849         * RuntimeTypeHandle.cs: Mono styled, fixed exceptions/ locales
6850           removed excess usings
6851
6852 2004-03-08  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
6853
6854         * SystemException.cs: Exceptions set the HResult
6855         * TypeLoadException.cs: Exceptions set the HResult, fixed wrong exception usage
6856         * SByte.cs: Implemented two missing methods, fix wrong parameters for ArgumentNullException
6857
6858 2004-03-08  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
6859
6860         * TypedReference.cs
6861         * TypeLoadException.cs
6862         * TypeInitializationException.cs
6863         * TypeCode.cs
6864         * TimeZone.cs
6865         * ThreadStaticAttribute.cs
6866         * SystemException.cs
6867         * STAThreadAttribute.cs
6868         * StackOverflowException.cs
6869         * SingleFormatter.cs
6870         * Single.cs
6871         * SerializableAttribute.cs: Mono styled, fixed exceptions/ locales
6872           removed excess usings
6873
6874 2004-03-08  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
6875
6876         * UnauthorizedAccessException.cs: Exceptions set the HResult
6877         * UInt64.cs: Implemented two missing methods
6878         * UInt32.cs: Fix wrong parameters for ArgumentNullException, simpler convert
6879         * UInt16.cs: Fix wrong parameters for ArgumentNullException, simpler convert
6880
6881 2004-03-08  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
6882
6883         * WeakReference.cs
6884         * Void.cs
6885         * Version.cs
6886         * ValueType.cs
6887         * UnitySerializationHolder.cs
6888         * UnhandledExceptionEventHandler.cs
6889         * UnauthorizedAccessException.cs
6890         * UIntPtr.cs
6891         * UInt64.cs
6892         * UInt32.cs
6893         * UInt16.cs: Mono styled, Locale.GetText fixes, msg fixes
6894
6895 2004-03-04  Lluis Sanchez Gual <lluis@ximian.com>
6896
6897         * Environment.cs: Bump corlib version.
6898
6899 2004-03-04  Jackson Harper  <jackson@ximian.com>
6900
6901         * Char.cs: New managed implementation. Modified patch by Andreas Nahr.
6902         
6903 2004-02-27  Lluis Sanchez Gual <lluis@ximian.com>
6904
6905         * String.cs: Concat() fixed crash when one of the arguments is an object
6906           whose ToString() method returns null.
6907         * TypeLoadException.cs: Added some serialization fiels, needed for
6908           compatibility with MS.NET.
6909
6910 2004-02-23 Ben Maurer  <bmaurer@users.sourceforge.net>
6911
6912         * String.cs (Equals): Speed up this method by avoiding Array
6913          Bounds Checks and by comparing by 32 bit words rather than 16 bit chars.
6914
6915         This gives between 0x (for 1 char) and >2x (for large strings)
6916         factor of improvement.
6917
6918         A big thanks to Miguel, who suggested the integer compares.
6919
6920 2004-02-23  Gonzalo Paniagua Javier <gonzalo@ximian.com>
6921
6922         * MonoType.cs: use the binder in GetPropertyImpl.
6923
6924 2004-02-22  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
6925
6926         * Math.cs: MonoStyled, replaced space with tabs,
6927           speedup of some methods by avoiding method calls
6928
6929 2004-02-18  Atsushi Enomoto  <atsushi@ximian.com>
6930
6931         * Char.cs : optimized IsSeparator(), IsWhiteSpace() and IsDigit().
6932           (Moved from InternalCall to Managed code).
6933
6934 2004-02-17  Martin Baulig  <martin@ximian.com>
6935
6936         * MonoType.cs (GetConstructors): Renamed the interncall to
6937         GetConstructors_internal(), made it internal and added a `Type
6938         reflected_type' argument to it.
6939         (GetEvents, GetFields): Likewise.
6940         (GetMethodsByName): Added `Type reflected_type' argument.
6941         (GetPropertiesByName): Likewise.
6942
6943 2004-02-16  Jackson Harper  <jackson@ximian.com>
6944
6945         * FloatingPointFormater.cs: Allow precision to be up to the number
6946         of decimals without rounding.
6947         
6948 2004-02-14  Zoltan Varga  <vargaz@freemail.hu>
6949
6950         * Delegate.cs (Equals): Do not compare method_ptr, since it might
6951         point to a trampoline.
6952
6953 2004-02-12  Jackson Harper  <jackson@ximian.com>
6954
6955         * AppDomainSetup.cs: If relative paths are used they should be
6956         rooted in the temp directory.
6957         
6958 2004-02-11  Marek Safar  <marek.safar@seznam.cz>
6959
6960         * Type.cs (FilterNameIgnoreCase_impl): Added extra check for speedup.
6961
6962 2004-02-10  Zoltan Varga  <vargaz@freemail.hu>
6963
6964         * AppDomain.cs (Load): Check that assemblyRef.Name is not empty, to
6965         avoid an assert in the runtime.
6966
6967 2004-02-08  Duncan Mak  <duncan@ximian.com>
6968
6969         * Convert.cs (ToType): Always let a Convert.ChangeType call
6970         succeed if the source object is already of the destination type.
6971
6972         Patch by Ian MacLean (ianm@activestate.com).
6973
6974 2004-02-05  Sebastien Pouliot  <sebastien@ximian.com>
6975
6976         * AppDomain.cs: Implemented SetPrincipalPolicy and SetThreadPrincipal.
6977
6978 2004-02-02  Zoltan Varga  <vargaz@freemail.hu>
6979
6980         * Environment.cs: Bump corlib version.
6981
6982 2004-02-02  Sebastien Pouliot  <sebastien@ximian.ca>
6983
6984         * DateTime.cs: Corrected support for "Z" in the mask (Parse). This
6985         fix bug #53461.
6986
6987 2004-01-27  Sebastien Pouliot  <spouliot@videotron.ca>
6988
6989         * Exception.cs: Changed ToString to remove the \n when no stack trace
6990         is present (which fixed a unit test for SecurityException). Changed
6991         all \n to Environment.NewLine.
6992
6993 2004-01-27  Lluis Sanchez Gual <lluis@ximian.com>
6994
6995         * ContextBoundObject.cs: Removed TODO.
6996
6997 2004-01-22  Gonzalo Paniagua Javier <gonzalo@ximian.com>
6998
6999         * TimeSpan.cs: fixed bug #52075. Days (int) don't rely on TotalDays
7000         (double), which might round up.
7001
7002 2004-01-19  Jackson Harper <jackson@ximian.com>
7003
7004         * FloatingPointFormatter.cs: Use the default decimal digits count
7005         if they are not specified. This fixes bug #52927.
7006         
7007 2004-01-19  Zoltan Varga  <vargaz@freemail.hu>
7008
7009         * Environment.cs: Bump version number.
7010
7011 2004-01-19  Lluis Sanchez Gual  <lluis@ximian.com>
7012
7013         * Type.cs: Added internal call for IsInstanceOfType. The old implementation
7014         uses IsAssignableFrom(o.GetType()), which is not always valid for 
7015         transparent proxies (because GetType will not return the type of the remote
7016         object if its assembly is not present).
7017
7018 2004-01-18  David Sheldon <dave-mono@earth.li>
7019
7020   * FloatingPointFormatter.cs: Skip the decimal point if we have an 
7021     integer mantassa. So: 1E+15, rather than 1.E+15.
7022
7023 2004-01-18  David Sheldon <dave-mono@earth.li>
7024
7025         * Array.cs (GetValue/SetValue): Throw NullRef exception like .NET 1.1, 
7026         even though docs say it should be an ArgumentNull. Two test cases now
7027   pass. See also nickd's commit of 2003-12-24.
7028
7029 2004-01-16  Gonzalo Paniagua Javier <gonzalo@ximian.com>
7030
7031         * Environment.cs: increased corlib version.
7032
7033 2004-01-14  Lluis Sanchez Gual <lluis@ximian.com>
7034
7035         * MonoCustomAttrs.cs: Removed attribute cache. Attribute instances can't
7036         be reused because they could be modified. This fixes bug #52655.
7037
7038 2004-01-12  Patrik Torstensson
7039
7040         * Environment.cs: Bump corlib version number due to new StringBuilder
7041         
7042         * String.cs: New internal method to support the new StringBuilder that
7043         uses the string as a buffer (until ToString is called)
7044
7045 2004-01-12  Zoltan Varga  <vargaz@freemail.hu>
7046
7047         * Environment.cs: Bump corlib version number for real this time.
7048         
7049         * AppDomain.cs (LoadAssembly): Pass the assembly name as a string to
7050         the runtime, so it can take into account the Culture etc.
7051
7052         * Environment.cs: Bump corlib version number.
7053         
7054 2004-01-12  Gonzalo Paniagua Javier <gonzalo@ximian.com>
7055
7056         * MonoType.cs: GetMethods renamed to GetMethodsByName. It takes a
7057         new parameter with the method name and a boolean for ignoring case.
7058         Removed some string comparisons no longer needed.
7059
7060 2004-01-11  Gonzalo Paniagua Javier <gonzalo@ximian.com>
7061
7062         * MonoType.cs: GetProperties renamed to GetPropetiesByName. It takes a
7063         new parameter with the property name and a boolean for ignoring case.
7064         Fixes bug #52753.
7065
7066 2004-01-11  David Sheldon <dave-mono@earth.li>
7067
7068         * DateTime.cs: Correct processing of formats with multiple '-'s, fixing
7069         bug 52274.
7070
7071 2004-01-10  Zoltan Varga  <vargaz@freemail.hu>
7072
7073         * AppDomain.cs: Keep track of type resolve and assembly resolve 
7074         events in progress to prevent infinite recursion.
7075
7076 2004-01-06  Miguel de Icaza  <miguel@ximian.com>
7077
7078         * Console.cs: Test for UTF-8 being present anywhere on the
7079         string, also do ToUpper instead of ToLower, which will work even
7080         around the ICU bug with different locales (#52065), and addresses #52101
7081
7082 2004-01-05  Zoltan Varga  <vargaz@freemail.hu>
7083
7084         * Environment.cs: Bump version.
7085
7086 2003-12-24 Ben Maurer  <bmaurer@users.sourceforge.net>
7087
7088         * Type.cs (IsNotPublic): One would normally assume that
7089         IsNotPublic == !IsPublic, but this is not the case (note to MS,
7090         make better names ;-). Fixes #52547, `Type.IsNotPublic not 
7091         correct for Nested types'
7092
7093 2003-12-24  Nick Drochak  <ndrochak@ieee.org>
7094
7095         * Array.cs (CreateInstance): Throw NullRef exception like .NET 1.1, 
7096         even though docs say it should be an ArgumentNull. Sent email to MS
7097         about this "bug".
7098
7099 2003-12-23  Lluis Sanchez Gual  <lluis@ximian.com>
7100
7101         * Exception.cs: Several changes to make it compatible with MS.NET (needed
7102         for remoting interoperability): set a default value for hresult, added 
7103         initialization of class_name, serialization field RemoteStackTrace must
7104         be RemoteStackTraceString, added ser. field ExceptionMethod.
7105
7106         * IndexOutOfRangeException.cs: Added serialization constructor.
7107
7108 2003-12-22  Bernie Solomon  <bernard@ugsolutions.com>
7109
7110         * Int32 (Parse):
7111           Int64 (Parse): Fix overflow checking for AllowHexSpecifier
7112
7113 2003-12-20  Zoltan Varga  <vargaz@freemail.hu>
7114
7115         * MonoType.cs (GetMethodImpl): Only call FindMostDerivedMatch if the
7116         user supplied no parameter info, but not when the user supplied an
7117         empty parameter list. This fixes IKVM.
7118
7119         * Environment.cs: Bump corlib version.
7120
7121 2003-12-19  Dick Porter  <dick@ximian.com>
7122
7123         * String.cs: Added Compare shortcut for length==0.
7124
7125 2003-12-17  Zoltan Varga  <vargaz@freemail.hu>
7126
7127         * Environment.cs: Bump corlib version.
7128
7129 2003-12-17  Dick Porter  <dick@ximian.com>
7130
7131         * String.cs: Fix StartsWith and EndsWith when the argument is the
7132         empty string.  Fixes bug 52283.
7133
7134 2003-12-16  Zoltan Varga  <vargaz@freemail.hu>
7135
7136         * Environment.cs (HasShutdownStarted): Implement.
7137
7138 2003-12-15  Zoltan Varga  <vargaz@freemail.hu>
7139
7140         * Environment.cs (HasShutdownStarted): Make this static under NET 1.1.
7141         
7142         * Environment.cs: Bump version number.
7143
7144 2003-12-15  Gonzalo Paniagua Javier <gonzalo@ximian.com>
7145
7146         * DateTime.cs: don't bail out with that year out of range error on
7147         stuff like "MM/dd/yyyy HH:MM:ss".
7148
7149 2003-12-13  Zoltan Varga  <vargaz@freemail.hu>
7150
7151         * Environment.cs: Make it a const instead.
7152         
7153         * Environment.cs: Make version field static.
7154
7155 2003-12-10  Zoltan Varga  <vargaz@freemail.hu>
7156
7157         * Type.cs: Make DefaultBindingFlags protected.
7158
7159         * Environment.cs: Applied patch from Todd Berman (tbermann@gentoo.org).
7160         Add new GacPath property + its associated icall.
7161
7162 2003-12-09 Anirban Bhattacharjee <banirban@novell.com>
7163
7164         * DateTime.cs : Bugs fixed (41845, 51422)
7165         * MonoType.cs : Exception message changed 
7166
7167 2003-12-08  Martin Baulig  <martin@ximian.com>
7168
7169         * Type.cs (MakeByRefType): New public method.
7170
7171 2003-12-08  Zoltan Varga  <vargaz@freemail.hu>
7172
7173         * Environment.cs: Add a version number for the corlib-runtime interface
7174         to make it easier to diagnose problems resulting from a mismatch 
7175         between the two.
7176
7177 2003-12-08  Patrik Torstensson   <p@rxc.se>
7178
7179         * Type.cs (GetMethod): Check type arguments within array
7180         * MonoType.cs (GetMethodImpl): Handle methods with a new slot
7181         (same signature but different classes (derived level)
7182
7183 2003-12-07  Zoltan Varga  <vargaz@freemail.hu>
7184
7185         * Type.cs (MakeArrayType): Add argument checking.
7186
7187 2003-12-06  Dick Porter  <dick@ximian.com>
7188
7189         * String.cs: Don't use CompareInfo for non-culture-sensitive
7190         IndexOf and LastIndexOf methods.
7191
7192 2003-12-06  Ravindra  <rkumar@novell.com>
7193
7194         * DateTime.cs: Made Parse(string, IFormatProvider) method to
7195         use second argument. Fixed bug #51464.
7196
7197 2003-12-04  Martin Baulig  <martin@ximian.com>
7198
7199         * Type.cs (Type.MakeArrayType): New public method.
7200
7201 2003-12-04  Gonzalo Paniagua Javier <gonzalo@ximian.com>
7202
7203         * Buffer.cs:
7204         (BlockCopy): make the exception thrown helpful.
7205
7206 2003-12-03  Dick Porter  <dick@ximian.com>
7207
7208         * String.cs: Calling Replace on an empty string returns itself.
7209
7210 2003-12-03  Zoltan Varga  <vargaz@freemail.hu>
7211
7212         * MonoType.cs: Get rid of get_type_info, use a separate icall for
7213         each property instead.
7214
7215 2003-12-02  Dick Porter  <dick@ximian.com>
7216
7217         * Decimal.cs: Fix NumberFormatInfo lookup.  Patch by
7218         Mohammad DAMT (mdamt@cdl2000.com), fixes bug 51443.
7219
7220 2003-12-01  Dick Porter  <dick@ximian.com>
7221
7222         * String.cs: Make Compare, IndexOf, LastIndexOf, StartsWith,
7223         Replace, ToLower, ToUpper and Equals use the correct CultureInfo.
7224
7225 2003-11-28  Dick Porter  <dick@ximian.com>
7226
7227         * Type.cs: 
7228         * MonoType.cs: 
7229         * Enum.cs: 
7230         * Boolean.cs: Do string compares with the Invariant culture.
7231
7232 2003-11-27 Ben Maurer  <bmaurer@users.sourceforge.net>
7233
7234         * Array.cs: make the enumerator ICloneable
7235
7236 2003-11-27 Ben Maurer  <bmaurer@users.sourceforge.net>
7237
7238         * Decimal.cs (ToXXX): Call Convert.ToXXX.
7239
7240 2003-11-26  Zoltan Varga  <vargaz@freemail.hu>
7241
7242         * AppDomain.cs: Applied patch from ztashev@openlinksw.co.uk (Zdravko Tashev). 
7243         Implement Load(byte[]) methods.
7244
7245         * BadImageFormatException.cs: Fix ToString.
7246
7247 2003-11-24  Zoltan Varga  <vargaz@freemail.hu>
7248
7249         * MonoType.cs: Make Standard|HasThis match Standard in GetMethod and
7250         GetConstructor, as done by MS.
7251
7252 2003-11-19  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
7253
7254         * FloatingPointFormatter.cs: Removed some unused variables to prevent csc compiler warnings
7255
7256 2003-11-18  Lluis Sanchez Gual  <lluis@ximian.com>
7257
7258         * TypeInitializationException.cs: Added missing serialization constructor.
7259
7260 2003-11-18  Gonzalo Paniagua Javier <gonzalo@ximian.com>
7261
7262         * AppDomainSetup.cs: Don't add an extra '/' at the end of 
7263         ApplicationBase. The tests pass now with mono.
7264
7265 2003-11-18  Zoltan Varga  <vargaz@freemail.hu>
7266
7267         * ValueType.cs: New optimized implementation for Equals and GetHashCode.
7268
7269 2003-11-15  Gonzalo Paniagua Javier <gonzalo@ximian.com>
7270
7271         * Environment.cs: use Directory in CurrentDirectory property.
7272         We were not throwing any exception when setting the directory to an
7273         invalid path.
7274
7275 2003-11-14  Gonzalo Paniagua Javier <gonzalo@ximian.com>
7276
7277         * Array.cs:
7278         * Delegate.cs: implemented 1.1 stuff.
7279
7280         * Enum.cs:
7281         * IntPtr.cs: removed extra attribute.
7282         * PlatformID.cs: added WinCE.
7283
7284 2003-11-14  Gonzalo Paniagua Javier <gonzalo@ximian.com>
7285
7286         * ValueType.cs:
7287         (Equals): compare the fields of structs too.
7288         (GetHashCode): combine the hash code of all the fields.
7289         Fixes bug #50901 (will remove the icall in a couple of days).
7290
7291 2003-11-14  Gonzalo Paniagua Javier <gonzalo@ximian.com>
7292
7293         * Array.cs: fixed Clear for non-zero bounded arrays. Fixes bug #50968.
7294
7295 2003-11-14  Gonzalo Paniagua Javier <gonzalo@ximian.com>
7296
7297         * DateTime.cs: handle century when we try to parse 4-digit years and
7298         only 2 digits are present. Fixes bug #49394.
7299
7300 2003-11-13  Miguel de Icaza  <miguel@ximian.com>
7301
7302         * Console.cs: On utf-8 consoles, use unmarked output.
7303
7304 2003-11-13  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
7305
7306         * IAppDomainSetup.cs:
7307         * _AppDomain.cs: 
7308         * Object.cs:
7309         * Type.cs: Added missing attribute
7310
7311 2003-11-12 Lluis Sanchez Gual <lluis@ximian.com>
7312
7313         * Environment.cs: Added internal method for getting the path to 
7314         machine.config.
7315         
7316 2003-11-12 Jackson Harper <jackson@ximian.com>
7317
7318         * Environment.cs: Add MyMusic and MyPictures to the SpecialFolder
7319         enum. This fixes the SWF build.
7320         
7321 2003-11-12  Miguel de Icaza  <miguel@ximian.com>
7322
7323         * PlatformID.cs: Remove Unix platform, we cant expose constants
7324         that are not in the framework.
7325
7326         * OperatingSystem.cs: Adjust for the breakage.
7327
7328         * RuntimeMethodHandle.cs: Fix signature.
7329
7330         * Double.cs: Fix signature of TryParse.
7331
7332         * String.cs (Concat (object, object, object, object)): Add missing method.
7333
7334         * OperatingSystem.cs: Removed Equals, GetHashCode, they were not
7335         in the .NET Framework.
7336
7337         * Enum.cs: Hide constructor.  
7338
7339         Fix ToUint16 to be explicitly implemented.
7340
7341         * Console.cs: Add couple of extra missing methods (Write and
7342         WriteLine overloaded)
7343
7344 2003-11-11  Miguel de Icaza  <miguel@ximian.com>
7345
7346         * AppDomain.cs, Activator.cs: New unimplmented entry points from
7347         1.1 (Com activation related).
7348         
7349         * Exception.cs: Formatting.
7350         
7351         * IServiceProvider.cs: Add ComVisible (true).
7352
7353         * AppDomainSetup.cs: Add a couple more properties from .NET 1.1 
7354
7355 2003-11-03  Lluis Sanchez Gual <lluis@ximian.com>
7356
7357         * AppDomain.cs: Added some null checks in Load methods. This fixes bug
7358           #50356.
7359
7360 2003-11-01  Zoltan Varga  <vargaz@freemail.hu>
7361
7362         * AppDomain.cs: Make the SetDomain icalls private + call InternalInvoke
7363         on MonoMethod instead of Invoke.
7364
7365 2003-11-01  Pedro Martínez Juliá  <yoros@wanadoo.es>
7366
7367         * DateTime.cs: Fixed Add* methods handling. Now it works properly
7368         with extreme values (there is a bug with Overflow and Underflow in
7369         long type).
7370
7371 2003-10-31  Pedro Martínez Juliá  <yoros@wanadoo.es>
7372
7373         * DateTime.cs: Fixed a few format bugs.
7374
7375 2003-10-31  Zoltan Varga  <vargaz@freemail.hu>
7376
7377         * AppDomain.cs (InternalPushDomainRef): New icalls.
7378
7379         * AppDomain.cs (InvokeInDomain): New method to execute code in a 
7380         different appdomain.
7381
7382 2003-10-27  Zoltan Varga  <vargaz@freemail.hu>
7383
7384         * AppDomain.cs: Fix prototype of InternalIsFinalizingForUnload.
7385
7386 2003-10-25  Zoltan Varga  <vargaz@freemail.hu>
7387
7388         * AppDomain.cs (IsFinalizingForUnload): Implement.
7389
7390         * AppDomain.cs (Unload): Move the notification of OnUnload listeners
7391         to unmanaged code.
7392
7393 2003-10-25  Martin Baulig  <martin@ximian.com>
7394
7395         * MonoType.cs: Don't make this sealed.
7396
7397 2003-10-24  Zoltan Varga  <vargaz@freemail.hu>
7398
7399         * AppDomain.cs: Add InternalInvokeInDomain[ByID] icalls.
7400
7401 2003-10-24  Pedro Martínez Juliá  <yoros@wanadoo.es>
7402
7403         * DateTime.cs: When handling '-' as a date separator, MS.NET uses
7404         the same symbol in the parse (not DateTimeFormatInfo.DateSeparator).
7405
7406 2003-10-22  Dick Porter  <dick@ximian.com>
7407
7408         * DateTime.cs: Handle '-' as a date separator when parsing formats.
7409
7410 2003-10-20  Duncan Mak  <duncan@ximian.com>
7411
7412         * Delegate.cs (CreateDelegate): Avoid creating an extra Type array
7413         and merge the two iterations into one.
7414
7415 2003-10-15  Zoltan Varga  <vargaz@freemail.hu>
7416
7417         * TypedReference.cs: Add new field used by the runtime.
7418
7419 2003-10-15  Martin Baulig  <martin@ximian.com>
7420
7421         * Type.cs (Type.DeclaringMethod): For a generic method's type
7422         parameter, return this method - otherwise, return null.
7423
7424 2003-10-14  Martin Baulig  <martin@ximian.com>
7425
7426         The generics API has changed in the spec since it was added here;
7427         these modifications make it match the spec again.
7428
7429         * Type.cs
7430         (GetGenericParameters): Renamed to `GetGenericArguments'.
7431         (HasGenericParameters): Renamed to `HasGenericArguments'.
7432         (HasUnboundGenericParameters): Renamed to `ContainsGenericParameters'.
7433         (IsGenericTypeDefinition): New property.
7434         (IsUnboundGenericParameter): Renamed to `IsGenericParameter'.
7435
7436         * MonoType.cs (ContainsGenericParameters): Implement this here;
7437         this is no interncall anymore.
7438
7439 2003-10-14  Gonzalo Paniagua Javier <gonzalo@ximian.com>
7440
7441         * Delegate.cs: add the method name to the exception when it cannot be
7442         bound.
7443         * Exception.cs: fix nullref in Source.
7444
7445 2003-10-10  Zoltan Varga  <vargaz@freemail.hu>
7446
7447         * Array.cs: Add argument checking to GetValue and SetValue.
7448
7449 2003-10-09  Miguel de Icaza  <miguel@ximian.com>
7450
7451         * DateTime.cs: Patch from Chris Turchin: the DateTime.MaxValue
7452         should not be TimeSpan.MaxValue, because it overflow.  Set this to
7453         be MAX_VALUE_TICKS
7454
7455 2003-10-09  Gonzalo Paniagua Javier <gonzalo@ximian.com>
7456
7457         * MonoCustomAttrs.cs: from_cache is now thread-safe. Yeah, I got a
7458         duplicate entry exception.
7459
7460 2003-10-08 Ben Maurer  <bmaurer@users.sourceforge.net>
7461
7462         * DateTime.cs (ToString): Total rewrite, fixes #49358.
7463
7464 2003-10-03  Zoltan Varga  <vargaz@freemail.hu>
7465
7466         * AppDomain.cs: Change accessibility of DoTypeResolve to fix build.
7467
7468 2003-10-03  Gonzalo Paniagua Javier <gonzalo@ximian.com>
7469
7470         * Enum.cs:
7471         (Equals): check that the object is an Enum before comparing the types.
7472
7473 2003-09-30  Gonzalo Paniagua Javier <gonzalo@ximian.com>
7474
7475         * Array.cs: reduced xsp allocated memory by 1/2.
7476
7477 2003-09-25  Martin Baulig  <martin@ximian.com>
7478
7479         * Type.cs (Type.IsGenericTypeDefinition): Removed this method
7480         since it was identical to GetGenericTypeDefinition().
7481         (Type.IsGenericInstance): New property.
7482
7483 2003-09-24  Duncan Mak  <duncan@ximian.com>
7484
7485         * Math.cs (Abs): Fix double Locale.GetText bug reported by
7486         davejp@volny.cz. This fixes #48788.
7487
7488 2003-09-14  Pedro Martínez Juliá  <yoros@wanadoo.es>
7489
7490         * FloatingPointFormatter.cs: Add the necessary castings to char
7491         conversions.
7492
7493 2003-09-13  Pedro Martínez Juliá  <yoros@wanadoo.es>
7494
7495         * FloatingPointFormatter.cs: Make the method calls more functional
7496         for protecting the values from different threads (make it more
7497         thread safe).
7498
7499 2003-09-13  Pedro Martínez Juliá  <yoros@wanadoo.es>
7500
7501         * FloatingPointFormatter.cs: Fix a bug with the negative value of
7502         count parameter.
7503
7504 2003-09-12  Pedro Martínez Juliá  <yoros@wanadoo.es>
7505
7506         * FloatingPointFormatter.cs: Applied a lot of improvements in string
7507         construction, make use of Append/Insert with the "count" parameter.
7508     Thanks to Ben Maurer.
7509
7510 2003-09-10  Pedro Martínez Juliá  <yoros@wanadoo.es>
7511
7512         * FloatingPointFormatter.cs: Fix a bug with Custm Format.
7513
7514         * FloatingPointFormatter.cs: Fix a little bug I've introduced the
7515         last change.
7516
7517 2003-09-10  Pedro Martínez Juliá  <yoros@wanadoo.es>
7518
7519         * DoubleFormatter.cs: A few optimizations. Now, only one object
7520         is created to convert all double numbers.
7521
7522         * SingleFormatter.cs: A few optimizations. Now, only one object
7523         is created to convert all float numbers.
7524
7525         * FloatingPointFormatter.cs: Split the "number type parameters" from
7526         the "numver value and format parameters". The first ones are in the
7527         constructor and the others are in a method.
7528
7529 2003-09-09  Zoltan Varga  <vargaz@freemail.hu>
7530
7531         * Array.cs: Added argument checking to some NET_1_1 methods.
7532
7533 2003-09-04  Martin Baulig  <martin@ximian.com>
7534
7535         * Type.cs (GetGenericTypeDefinition): Make this method virtual.
7536
7537 2003-08-27  Gonzalo Paniagua Javier <gonzalo@ximian.com>
7538
7539         * Array.cs: added the new overloaded CreateInstance, GetValue, SetValue
7540         taking 'longs'. All tests pass.
7541
7542 2003-08-26 Ben Maurer  <bmaurer@users.sourceforge.net>
7543
7544         * Exception.cs: Add ClassInterface attr. Implement TargetSite and
7545         Source. Remove MonoTODO attributes (class is 100% done). Also
7546         passes all Rotor tests for Exception!
7547
7548 2003-08-26 Ben Maurer  <bmaurer@users.sourceforge.net>
7549
7550         * Enum.cs: Remove [MonoTODO]'s that had been completed.
7551
7552 2003-08-22  Gonzalo Paniagua Javier <gonzalo@ximian.com>
7553
7554         * String.cs: fixed bug #47802.
7555
7556 2003-08-21 Ben Maurer  <bmaurer@users.sourceforge.net>
7557
7558         * String.cs: Created method FormatHelper that does formatting,
7559         using a StringBuilder.
7560
7561 2003-08-20  Gonzalo Paniagua Javier <gonzalo@ximian.com>
7562
7563         * Array.cs: patch by lb@lb.ods.org that fixes bug #47707.
7564
7565 2003-08-11  Gonzalo Paniagua Javier <gonzalo@ximian.com>
7566
7567         * Delegate.cs: CreteDelegate (Type, MethodInfo) only supports static
7568         methods under MS.
7569
7570 2003-08-11  Duncan Mak  <duncan@ximian.com>
7571
7572         * Environment.cs (Version): Return the same numbers as the MS
7573         implementation.
7574
7575 2003-08-10  Miguel de Icaza  <miguel@ximian.com>
7576
7577         * Array.cs: Applied patch from Thong (Tum) Nguyen;  Removed
7578         replicated tests, and have a routine that does the heavy lifting.
7579
7580 2003-08-08  Lluis Sanchez Gual <lluis@ximian.com>
7581
7582         * DateTime.cs: Fixed DoParse. It was calling the wrong constructor
7583           of DateTime.
7584         * Environment.cs: return $HOME for ApplicationData folder.
7585
7586 2003-08-04  Duncan Mak  <duncan@ximian.com>
7587
7588         * FloatingPointFormatter.cs (Normalize): Apply a patch from Aleksey
7589         Demakov <avd@openlinksw.com> to fix formatting for Big power of 10
7590         floating point values. This fixes bug #46175.
7591
7592         * Convert.cs (ToUInt16): Throw an OverflowException correctly, as
7593         noted by c5n4kh6u02@sneakemail.com in
7594         http://bugzilla.ximian.com/show_bug.cgi?id=43098.
7595
7596 Sat Aug  2 13:01:46 BST 2003 Malte Hildingson <malte@amy.udd.htu.se>
7597
7598         * Double.cs: added icall Double.AssertEndianity.
7599
7600 Fri Aug 1 16:47:17 CEST 2003 Paolo Molaro <lupus@ximian.com>
7601
7602         * Type.cs, MonoType.cs: implemented generic-specific methods.
7603
7604 2003-07-29  Miguel de Icaza  <miguel@ximian.com>
7605
7606         * Buffer.cs: Add new internal MemCopy call.
7607
7608         Removed the above.
7609
7610 Tue Jul 29 12:13:16 CEST 2003 Paolo Molaro <lupus@ximian.com>
7611
7612         * Type.cs, MonoType.cs, ArgIterator.cs: pass the handles values
7613         to icalls, to avoid special cases in some call conventions.
7614
7615 2003-07-26  Gonzalo Paniagua Javier <gonzalo@ximian.com>
7616
7617         * Enum.cs: added Serializable attribute.
7618
7619 2003-07-25  Duncan Mak  <duncan@ximian.com>
7620
7621         * AppDomain.cs (Equals):
7622         (GetHashCode): Removed because they do not need to be defined
7623         here.
7624
7625 2003-07-24  Gonzalo Paniagua Javier <gonzalo@ximian.com>
7626
7627         * TypeLoadException.cs: removed unused fields. TypeName returns "" if
7628         cannot even get the type.
7629
7630 2003-07-24  Miguel de Icaza  <miguel@ximian.com>
7631
7632         * Type.cs: Added generics stubs.
7633
7634 2003-07-23  Duncan Mak  <duncan@ximian.com>
7635
7636         * Environment.cs (SpecialFolder): Added 'Desktop' and 'MyComputer'
7637         as values for NET_1_1.
7638         (GetFolderPath): Return the empty string ("") for values of
7639         SpecialFolder that have no corresponding equivalents in
7640         Linux. Return "$HOME/Desktop" for SpecialFolder.DesktopDirectory
7641         and "$HOME" for SpecialFolder.Personal.
7642
7643         * IntPtr.cs (GetObjectData): Mark it as an interface
7644         implementation, instead of a public method.
7645
7646         * Guid.cs (NewGuid): Remove MonoTODOAttribute.
7647
7648         * TypeLoadException.cs (GetObjectData):
7649         Create stubs for the fields that are being serialized.
7650
7651         * UIntPtr.cs: Removed erroneous CLSCompliantAttributes.
7652
7653 2003-07-23  Lluis Sanchez Gual <lluis@ximian.com>
7654         
7655         * Enum.cs: Fixed enum formatting. For flag enums, if one of
7656           the flags is unnamed, ToString() returns the integer value.
7657
7658 2003-07-22  Jerome Laban <jlaban@wanadoo.fr>
7659
7660         * Guid.cs: Fixed ToString (), was producing incorrect string.
7661
7662 2003-07-20  Gonzalo Paniagua Javier <gonzalo@ximian.com>
7663
7664         * AppDomainSetup.cs: fixed bug #46609.
7665
7666 Thu Jul 17 17:28:27 CEST 2003 Paolo Molaro <lupus@ximian.com>
7667
7668         * MonoType.cs: use an icall for IsPrimitiveImpl ().
7669
7670 Thu Jul 17 15:23:17 CEST 2003 Paolo Molaro <lupus@ximian.com>
7671
7672         * Guid.cs: faster ToString ().
7673
7674 2003-07-15  Pedro Martínez Juliá  <yoros@wanadoo.es>
7675
7676         * FloatingPointFormatter.cs: Few changes for get working Rotor
7677         tests.
7678
7679 2003-07-13  Zoltan Varga  <vargaz@freemail.hu>
7680
7681         * Type.cs (IsAssignableFrom): Implement this as an icall since the
7682         runtime already includes the neccessary logic.
7683
7684 2003-07-06  Gonzalo Paniagua Javier <gonzalo@ximian.com>
7685
7686         * AppDomainSetup.cs: remove the "file://" prefix from ApplicationBase
7687         if it's present and get the full path for non-Uri paths.
7688
7689 2003-07-2  Lluis Sanchez Gual <lluis@ximian.com>
7690
7691         * DateTime.cs: Fixed formatting of fractions of second.
7692
7693 2003-06-30  Zoltan Varga  <vargaz@freemail.hu>
7694
7695         * Console.cs: Turn off buffering for the streams returned by
7696         OpenStandardOutput () and OpenStandardError () if the buffer size is 0.
7697
7698 2003-06-28  Lluis Sanchez Gual <lluis@ximian.com>
7699
7700         * Random.cs: Changed behavior of Random to match MS.NET. When Next is
7701           called with maxvalue==0 or minvalue==maxvalue, MS.NET internally generates
7702           a new random number (although it is not needed), while mono did not. 
7703           As a result, the sequence of random numbers could be different for the
7704           same seed.
7705
7706 Thu Jun 26 16:06:35 CEST 2003 Paolo Molaro <lupus@ximian.com>
7707
7708         * FloatingPointFormatter.cs: use dec_len2 as default precision.
7709
7710 2003-06-26  Lluis Sanchez Gual <lluis@ximian.com>
7711
7712         * DateTime.cs: Modified constructor. Check for valid value of TimeSpan must
7713           be done after the correspondig UTC offset has been applied.
7714
7715 2003-06-26  Lluis Sanchez Gual <lluis@ximian.com>
7716
7717         * Object.cs: Object must have the Serializable attribute.
7718         * DateTime.cs: Fixed _DoParse() so it correctly applies the utc offset
7719           to the resulting date. Also fixed _ToString so now correctly formates the
7720           UTC offset.
7721
7722 Wed Jun 18 19:22:22 CEST 2003 Paolo Molaro <lupus@ximian.com>
7723
7724         * Enum.cs: fix race in cache (bug#41841).
7725
7726 Wed Jun 18 18:52:11 CEST 2003 Paolo Molaro <lupus@ximian.com>
7727
7728         * FloatingPointFormatter.cs: if the precision is not specified, use
7729         the default precision for the data type.
7730
7731 Wed Jun 18 18:11:30 CEST 2003 Paolo Molaro <lupus@ximian.com>
7732
7733         * Array.cs: throw ArgumentOutOfRangeException in Copy if needed
7734         (patch by tum@veridicus.com (Thong (Tum) Nguyen)).
7735
7736 2003-06-11  Gonzalo Paniagua Javier <gonzalo@ximian.com>
7737
7738         * MonoType.cs: don't throw nullref when the return type for a property
7739         is specified and the property doesn't have a get accessor.
7740
7741 2003-06-10  Duncan Mak  <duncan@ximian.com>
7742
7743         * Array.cs (CreateInstance): Fixed a typo. It should throw
7744         ArgumentNullException instead of ArgumentException.
7745
7746 2003-06-09  Duncan Mak  <duncan@ximian.com>
7747
7748         * Array.cs: Revert the last revert. I fixed it.
7749         (Sort): Put a try-catch block around qsort, and wrap whatever
7750         Exception we get into a InvalidOperationException.
7751
7752 2003-06-08 Jackson Harper <jackson@latitudegeo.com>
7753
7754         * Array.cs: Revert last patch, it broke some other functionality.
7755                 
7756 2003-06-08  Duncan Mak  <duncan@ximian.com>
7757
7758         * Array.cs: Throw more exceptions. This fixes the errors we see
7759         from the Rotor testsuite.
7760
7761         (CreateInstance): Throw ArgumentNullException when the input are
7762         null. Throw ArgumentOutOfRangeException when bounds + length is
7763         greater than Int32.MaxValue.
7764         (LastIndexOf): Throw ArgumentOutOfRangeException if index is outside
7765         the valid range of indices of array.
7766         (Sort): Throw InvalidOperationException when comparer is null and
7767         none of the elements in keys implements IComparable.
7768
7769 2003-06-08  Duncan Mak  <duncan@ximian.com>
7770
7771         * Array.cs (CreateInstance): Throw a TypeLoadException if the
7772         Length of the input array 'lengths' is greater than 255 so that we
7773         won't see the g_assert that is in mono_array_class_get in class.c.
7774
7775         This fixes bug #44304.
7776
7777 2003-06-05  Nick Drochak  <ndrochak@gol.com>
7778
7779         * UnitySerializataionHolder.cs: Cleanups according to class status page
7780
7781 Wed Jun 4 16:59:39 CEST 2003 Paolo Molaro <lupus@ximian.com>
7782
7783         * ArgIterator.cs, TypedReference.cs, RuntimeArgumentHandle.cs,
7784         RuntimeTypeHandle.cs: implemented the needed stuff to handle
7785         vararg calls.
7786
7787 2003-06-02  Sebastien Pouliot  <spouliot@videotron.ca>
7788
7789         * Random.cs: New implementation based on Knuth ran3 to fix #43597.
7790         See http://www.library.cornell.edu/nr/bookcpdf/c7-1.pdf. Commited
7791         for Ben Maurer after review and testing.
7792
7793 2003-05-28  Ben Maurer <bmaurer@users.sourceforge.net>
7794         
7795         * Array.cs: Added better argument checking to Array.Sort ()
7796         * DBNull.cs: Made the conversions throw like they do in MS.
7797
7798 2003-05-24  Philip Van Hoof  <me@freax.org>
7799
7800         * Math.cs: Add the MS.NET 1.1 methods (BigMul, DivRem, DivRem).
7801
7802 2003-05-21  Pedro Martínez Juliá  <yoros@wanadoo.es>
7803
7804         * FloatingPointFormatter.cs: Take care with the explicit precision
7805         and round the number to that precision.
7806
7807         * DoubleFormatter.cs: Adapt to the two level precision (15 - 17).
7808
7809         * SingleFormatter.cs: Adapt to the two level precision (7 - 8).
7810
7811 2003-05-20  Philip Van Hoof <me@freax.org>
7812
7813         * DateTime.cs (FromOADate, GetDateTimeFormats, ToOADate):
7814         Implemented.
7815
7816 2003-05-20  Zoltan Varga  <vargaz@freemail.hu>
7817
7818         * AppDomainSetup.cs: Added new field which is used to notify the
7819         runtime that the search path has changed.
7820
7821 2003-05-18  Pedro Martínez Juliá  <yoros@wanadoo.es>
7822
7823         * FloatingPointFormatter.cs: Fixed NullReferenceException bug I've
7824         introduced the last change I've done.
7825
7826 2003-05-17  Ben Maurer  <bmaurer@users.sourceforge.net>
7827
7828         * Array.cs: Fixed SyncRoot to behave like MS (return this). Removed 
7829         MonoTODO from SyncRoot (because fixed) and IsSynchronized (it was
7830         behaving correctly).
7831         
7832 2003-05-17  Pedro Martínez Juliá  <yoros@wanadoo.es>
7833
7834         * FloatingPointFormatter.cs: Fixed little format mismatches.
7835
7836 2003-05-16  Pedro Martínez Juliá  <yoros@wanadoo.es>
7837
7838         * FloatingPointFormatter.cs: Fixed "-0" result emited.
7839
7840 2003-05-13  Gonzalo Paniagua Javier <gonzalo@ximian.com>
7841
7842         * AppDomain.cs: Added null argument check in Load().
7843         * Activator.cs: fixed bug #39926.
7844
7845 2003-05-13  Gonzalo Paniagua Javier <gonzalo@ximian.com>
7846
7847         * Enum.cs: fixed bugs #41522 and #42879.
7848
7849 2003-05-12  Zoltan Varga  <vargaz@freemail.hu>
7850
7851         * String.cs: Tweak IndexOf and LastIndexOf to match specification and
7852         undocumented MS behaviour.
7853
7854 2003-05-10  Gonzalo Paniagua Javier <gonzalo@ximian.com>
7855
7856         * Activator.cs: applied patch for bug #39926. Thanks to Jean Marc and
7857         Jaime.
7858
7859 2003-05-10  Gonzalo Paniagua Javier <gonzalo@ximian.com>
7860
7861         * String.cs: fixed bug #41411 and another similar problem in
7862         LastIndexOf (string).
7863
7864 2003-05-10  Gonzalo Paniagua Javier <gonzalo@ximian.com>
7865
7866         * String.cs: patch by Jean Marc <jean-marc.andre@polymtl.ca> that fixes
7867         bug #42695.
7868
7869 2003-05-09  Zoltan Varga  <vargaz@freemail.hu>
7870
7871         * MulticastDelegate.cs (GetInvocationList): Avoid ArrayList 
7872         construction if the delegate list only has one element.
7873
7874 2003-05-01  Pedro Martínez Juliá  <yoros@wanadoo.es>
7875
7876         * Environment.cs: Changed the method GetFolderPath because it must
7877         return at least a directory name (not null).
7878
7879         * Convert.cs: In ToType, if the destination type is unknown, try to
7880         cast the value to object (then, the calling method will downcast it
7881         to the type it wants).
7882
7883 2003-04-30  Gonzalo Paniagua Javier <gonzalo@ximian.com>
7884
7885         * Enum.cs: fixed bug #41522.
7886
7887 Tue Apr 29 13:58:16 CEST 2003 Paolo Molaro <lupus@ximian.com>
7888
7889         * Enum.cs: protect with the lock also the lookup (bug #41841).
7890
7891 Tue Apr 29 13:24:32 CEST 2003 Paolo Molaro <lupus@ximian.com>
7892
7893         * MonoType.cs: allow a null name if InvokeMember is called with
7894         BindingFlags.CreateInstance set.
7895
7896 2003-04-28  Gonzalo Paniagua Javier <gonzalo@ximian.com>
7897
7898         * Enum.cs: reverted my previous patch.
7899
7900 2003-04-27  Gonzalo Paniagua Javier <gonzalo@ximian.com>
7901
7902         * Enum.cs: fixed bug #41841.
7903
7904 2003-04-26  Gonzalo Paniagua Javier <gonzalo@ximian.com>
7905
7906         * MonoType.cs:
7907         (GetPropertyImpl): handle BindingFlags.IgnoreCase.
7908
7909 2003-04-22  Pedro Martínez Juliá  <yoros@wanadoo.es>
7910
7911         * FloatingPointFormatter.cs: Little fixes for get the same results
7912         as MS.NET and show a message when something goes wrong with the
7913         parser of Custom Formats.
7914
7915 2003-04-22  Nick Drochak  <ndrochak@gol.com>
7916
7917         * Double.cs (ToString):
7918         * Single.cs (ToString): Handle case where param is a CultureInfo.
7919
7920 2003-04-18  Zoltan Varga  <vargaz@freemail.hu>
7921
7922         * Object.cs ValueType.cs: Make the Object::GetHashCode() and 
7923         ValueType::Equals() icalls static non-virtual, so they can be called
7924         by the code in RuntimeHelpers.
7925
7926 2003-04-18  Miguel de Icaza  <miguel@ximian.com>
7927
7928         * Delegate.cs (operator ==): Do not crash if the second argument
7929         is null.  Bug fix submitted by Juan Cri.
7930
7931 2003-04-18  Eduardo Garcia Cebollero <kiwnix@yahoo.es>
7932
7933         * Array.cs: Deleted the exception in Array.Initialize(), it looks
7934         like the method do nothing for C#, is still a MonoTODO until
7935         we find a compiler that uses that.
7936
7937 2003-04-14  Miguel de Icaza  <miguel@ximian.com>
7938
7939         * Delegate.cs (Delegate): Seems like a typo, we were checking the
7940         a field rather than the argument 
7941
7942         * MonoType.cs: Make GetNestedType an external method implementation.
7943
7944 2003-04-13  Gonzalo Paniagua Javier <gonzalo@ximian.com>
7945
7946         * Enum.cs: fixed bug #41294.
7947
7948 2003-04-12  Gonzalo Paniagua Javier <gonzalo@ximian.com>
7949
7950         * DateTime.cs: fixes bug #40910, part 2.
7951
7952 2003-04-11  Dietmar Maurer  <dietmar@ximian.com>
7953
7954         * String.cs (Equals): avoid the internal call, code cleanups
7955
7956 2003-04-11  Alan Tam <Tam@SiuLung.com>
7957
7958         * Convert.cs: fixed bug #41085.
7959
7960 2003-04-10  Lluis Sanchez Gual <lluis@ideary.com>
7961
7962         * AppDomain.cs: Added internal method for getting process guid.
7963
7964 2003-04-09  Ville Palo <vi64pa@kolumbus.fi>
7965
7966         * Array.cs: Little fix to compare () method.
7967         
7968 2003-04-09  Zoltan Varga  <vargaz@freemail.hu>
7969
7970         * String.cs (Equals): Add trivial optimization.
7971
7972 2003-04-08  Gonzalo Paniagua Javier <gonzalo@ximian.com>
7973
7974         * DateTime.cs: fixed bug #40910.
7975
7976 2003-04-05  Miguel de Icaza  <miguel@ximian.com>
7977
7978         * Console.cs: Make stderr, stdout and stdin use synchronized
7979         versions of the their readers/writers.
7980
7981 2003-04-04  Dick Porter  <dick@ximian.com>
7982
7983         * Version.cs: Make operator== and operator!= cope with null
7984         objects.  Didn't change operator<, operator<=, operator> or
7985         operator>= because its not meaningful to use those to compare
7986         against null, and throwing a NullReferenceException is probably
7987         the best thing to do there anyway.
7988
7989         Fixes bug 40720.
7990
7991 2003-04-02  Gonzalo Paniagua Javier <gonzalo@ximian.com>
7992
7993         * AppDomain.cs: fixed InvalidCastException.
7994
7995 2003-03-30  Zoltan Varga  <vargaz@freemail.hu>
7996
7997         * Array.cs (Copy): Call FastCopy() earlier to avoid the expensive
7998         type checks and let it decide whenever a fast copy is possible.
7999
8000 2003-03-26  Gonzalo Paniagua Javier <gonzalo@ximian.com>
8001
8002         * MonoType.cs:
8003         (GetMethodImpl): support BindingFlags.IgnoreCase flag. Fixes bug #40322.
8004
8005 2003-03-25  Zoltan Varga  <vargaz@freemail.hu>
8006
8007         * Activator.cs (CreateInstance): Call GetConstructor with the right
8008         arguments so the nonPublic argument is handled correctly.
8009
8010 2003-03-25  Gonzalo Paniagua Javier <gonzalo@ximian.com>
8011
8012         * Type.cs: fixed bug #40123.
8013
8014 2003-03-22  Pedro Martínez Juliá  <yoros@wanadoo.es>
8015
8016         * FloatingPointFormatter.cs: Fixed some bugs for get the same
8017         results than MS.NET. Added simple error recovering, now ToString
8018         will return a general format if there is any exception in the
8019         process of formatting. This make the library more robust while the
8020         formatters are refined.
8021
8022 2003-03-16  Pedro Martínez Juliá  <yoros@wanadoo.es>
8023
8024         * FloatingPointFormatter.cs: Added support for group separators.
8025
8026 2003-03-16  Pedro Martínez Juliá  <yoros@wanadoo.es>
8027
8028         * Single.cs:
8029         * Double.cs: Apply changes of .ToString methods.
8030         * SingleFormatter.cs:
8031         * DoubleFormatter.cs: Simple wrappers to FloatingPointFormatter.
8032         * FloatingPointFormatter.cs: New class. Implementation of double and
8033         single formatters. It is unified now and parametrized with precission
8034         values.
8035
8036 2003-03-15  Lluis Sanchez Gual <lluis@ideary.com>
8037
8038         * AppDomain.cs: fixes bugs #39380 and #39331.
8039
8040 2003-03-06  Nick Drochak  <ndrochak@gol.com>
8041
8042         * TimeSpan.cs (Negate): Throw exception when value is MinValue.
8043
8044 2003-03-04  Dick Porter  <dick@ximian.com>
8045
8046         * Single.cs:
8047         * Double.cs: Temporarily reverted the Double and Single ToString()
8048         change, because it broke nunit.
8049
8050
8051 2003-03-04  Pedro Martínez Juliá  <yoros@wanadoo.es>
8052
8053         * Double.cs: Changed ToString method. Added NumberFormatInfo support
8054         with DoubleFormatter class.
8055         * Single.cs: Changed ToString method. Added NumberFormatInfo support
8056         with SingleFormatter class.
8057         * DoubleFormatter.cs: New class with Double formatting functions.
8058         * SingleFormatter.cs: New class with Single formatting functions.
8059
8060 2003-03-03  Lluis Sanchez Gual <lluis@ideary.com>
8061
8062         * Activator.cs: Added support for activation using activation attributes.
8063         * AppDomain.cs: Added internal method to get the default context from the runtime.
8064
8065 2003-02-28  Elan Feingold  <efeingold@mn.rr.com>
8066
8067         * DateTime.cs: FileTime is expressed in Universal time, and as such must
8068         be converted before subtracting the magic offset.
8069         * DateTime.cs: Strings in the format "2003-02-27T10:05:03-11:00" (note
8070         the timezone at the end) *must* be parsed by DateTime.Parse() for
8071         compatibility with Microsoft.
8072
8073 2003-02-24  Gonzalo Paniagua Javier <gonzalo@ximian.com>
8074
8075         * Attribute.cs:
8076         * MonoCustomAttrs.cs: fix for the regression test failure (see bug
8077         #38238).
8078
8079         * IntPtr.cs: added serialization .ctor
8080
8081 2003-02-19  Gonzalo Paniagua Javier <gonzalo@ximian.com>
8082
8083         * AppDomain.cs: check for null in Unload and changed method name.
8084
8085 2003-02-18  Gonzalo Paniagua Javier <gonzalo@ximian.com>
8086
8087         * MonoCustomAttrs.cs: fixed bug #38238.
8088
8089 2003-02-17  Martin Baulig  <martin@ximian.com>
8090
8091         * Exception.cs (Exception.ToString): Print a newline between the
8092         exception message and the stack trace.
8093
8094 2003-02-17  Gonzalo Paniagua Javier <gonzalo@ximian.com>
8095
8096         * AppDomain.cs: implemented GetCurrentThreadId ().
8097
8098 2003-02-14  Patrik Torstensson
8099
8100         * Exception.cs: Fixed message output formating
8101
8102 2003-02-14  Gonzalo Paniagua Javier <gonzalo@ximian.com>
8103
8104         * Int32.cs:
8105         (Parse): ignore everything after a \0 (MS parses: "512\0hola" as 512).
8106
8107 2003-02-12  Miguel de Icaza  <miguel@ximian.com>
8108
8109         * Type.cs: IsClass should return false for Enumerations
8110
8111 2003-02-11  Gonzalo Paniagua Javier <gonzalo@ximian.com>
8112
8113         * MonoCustomAttrs.cs: return the correct array type in the short case.
8114         Fixes bug #37818.
8115
8116 2003-02-08  Pedro Martíenz Juliá  <yoros@wanadoo.es>
8117
8118         * Math.cs: Fix a few methods (like Round) and add with comments the
8119         new methods: BigMul and DivRem that were in ECMA specs.
8120
8121 2003-02-07  Patrik Torstensson
8122
8123         * Exception.cs: Fixed formating
8124
8125 2003-02-05  Patrik Torstensson
8126
8127         * AppDomain.cs: Partly fixed the unload method 
8128         
8129 2003-02-04  Patrik Torstensson
8130
8131         * AppDomain.cs: Fixed lease issue with appdomain
8132
8133 2003-02-04  Lluis Sanchez Gual <lluis@ideary.com>
8134
8135         * MarshalByRefObject.cs: Implemented GetLifetimeService() and 
8136           InitializeLifetimeService().
8137
8138 2003-02-03  Patrik Torstensson
8139
8140         * AppDomain.cs: New internalcalls for handling domain/context switches
8141         * AppDomain.cs (CreateDomain): Return transparant proxy for appdomain object
8142
8143 2003-02-03  Gonzalo Paniagua Javier <gonzalo@ximian.com>
8144
8145         * AppDomain.cs: implemented AppendPrivatePath, ClearPrivatePath
8146         and ClearShadowCopyPath and fixed GetType ().
8147
8148         * Attribute.cs: clean up.
8149
8150         * Console.cs: removed UnixConsoleEncoding. Use Default.
8151
8152 2003-02-01  Gonzalo Paniagua Javier <gonzalo@ximian.com>
8153
8154         * Attribute.cs: fixed all IsDefined overloads. Gotta fix
8155         GetCustomAttributes later.
8156
8157 2003-01-31  Patrik Torstensson
8158
8159         * Buffer.cs: Changed access level of BlockCopyInternal
8160
8161 Thu Jan 30 19:54:30 CET 2003 Paolo Molaro <lupus@ximian.com>
8162
8163         * String.cs, IntegerFormatter.cs: use const where appropriate.
8164
8165 2003-01-30  Gonzalo Paniagua Javier <gonzalo@ximian.com>
8166
8167         * MonoCustomAttrs.cs: fixed GetBase () for Type. Thanks to Zoltan for
8168         reporting.
8169
8170 2003-01-30  Gonzalo Paniagua Javier <gonzalo@ximian.com>
8171
8172         * MonoCustomAttrs.cs: fixed shortcut in GetCustomAttributes.
8173         The argument ICustomAttributeProvider can be of other types different
8174         from Type. Handle it.
8175
8176 2003-01-28  Zoltan Varga  <vargaz@freemail.hu>
8177
8178         * DateTime.cs: fix FromFileTime so the time returned by 
8179         File::GetLastModificationTime etc. is in the correct timezone.
8180
8181 2003-01-28  Patrik Torstensson
8182         * Exception.cs: reverted formating/endline changes (sorry guys)
8183
8184 2003-01-28  Patrik Torstensson
8185
8186         * MarshalByRefObject.cs: implemented GetObjectIdentity
8187         * Exception.cs: added support for remote exceptions
8188
8189 2003-01-28  Gonzalo Paniagua Javier <gonzalo@ximian.com>
8190
8191         * DateTime.cs: fixed bug #37225.
8192
8193 2003-01-27  Gonzalo Paniagua Javier <gonzalo@ximian.com>
8194
8195         * Enum.cs: Clone the arrays in GetNames and GetValues. Thanks lupus!
8196
8197 2003-01-27  Zoltan Varga  <vargaz@freemail.hu>
8198
8199         * AppDomain.cs: Added DoTypeResolve method which will be called by
8200         the runtime to raise TypeResolve events.
8201
8202 2003-01-27  Duncan Mak  <duncan@ximian.com>
8203
8204         * Enum.cs (ToType): Implement this using Convert.ToType.
8205
8206 2003-01-21  Miguel de Icaza  <miguel@ximian.com>
8207
8208         * Math.cs: Remove Pow's implementation body as it was wrong.  The
8209         C code does the right thing.  The code was trying to handle a
8210         number of cases, and that was incorrect.
8211
8212 2003-01-24  Gonzalo Paniagua Javier <gonzalo@ximian.com>
8213
8214         * CharEnumerator.cs: fix to Current by crainaj@hotmail.com. Closes
8215         bug #37113.
8216
8217 2003-01-24  Gonzalo Paniagua Javier <gonzalo@ximian.com>
8218
8219         * Enum.cs: added caching to GetInfo.
8220
8221 2003-01-23  Dick Porter  <dick@ximian.com>
8222
8223         * Environment.cs (System): Implemented ExitCode
8224
8225 2003-01-23  Zoltan Varga  <vargaz@freemail.hu>
8226
8227         * Type.cs (IsInstanceOfType): fixed regression caused by the change
8228         to IsSubclassOf().
8229
8230 2003-01-17  Gonzalo Paniagua Javier <gonzalo@ximian.com>
8231
8232         * MonoType.cs: re-added lines that were removed in the previous commit.
8233
8234 2003-01-16  Lluis Sanchez Gual <lsg@ctv.es>
8235
8236         * Type.cs: corrected property IsSerializable. It should always return
8237         true for enums and delegates
8238         * MonoType.cs: added serialization support.
8239         * Delegate.cs: added serialization support.
8240         * DBNull.cs: added serialization support.
8241         * UnitySerializationHolder.cs: supports serialization of Assembly,
8242         MonoType and DBNull.
8243         * DelegateSerializationHolder.cs: added.
8244
8245 2003-01-12  Gonzalo Paniagua Javier <gonzalo@ximian.com>
8246
8247         * Exception.cs: changed default message to match MS one.
8248
8249 2003-01-12  Patrik Torstensson <totte@race-x-change.com>
8250
8251         * String.cs: Fixed bug with CompareOrdinal
8252
8253 2003-01-10  Gonzalo Paniagua Javier <gonzalo@ximian.com>
8254
8255         * Enum.cs: implements IFormattable.
8256
8257 2003-01-10  Gonzalo Paniagua Javier <gonzalo@ximian.com>
8258
8259         * AppDomain.cs: implemented DoCallBack method.
8260         * MonoType.cs:
8261         (GetConstructorImpl): when the flag is BindingFlags.Default, set it to
8262         Public, Instance.
8263
8264         NUnit2 tests start moving.
8265
8266 2003-01-09  Gonzalo Paniagua Javier <gonzalo@ximian.com>
8267
8268         * Activator.cs: fixed bug #36052. Also added checks to avoid trying to
8269         instantiate an abstract class.
8270
8271 2003-01-09  Gonzalo Paniagua Javier <gonzalo@ximian.com>
8272
8273         * Type.cs:
8274         (IsSubclassOf): return false when null. Use != instead of Equals.
8275
8276 2003-01-09  Gonzalo Paniagua Javier <gonzalo@ximian.com>
8277
8278         * Type.cs: fixed IsSubclassOf. Patch from Zoltan Varga.
8279
8280 Fri Jan 3 20:18:51 CET 2003 Paolo Molaro <lupus@ximian.com>
8281
8282         * MonoType.cs: fixed Namespace property for nested types.
8283
8284 Fri Jan 3 16:18:27 CET 2003 Paolo Molaro <lupus@ximian.com>
8285
8286         * MonoCustomAttrs.cs: create properly typed arrays when returning
8287         arrays of attributes of a given type.
8288
8289 Fri Jan 3 11:10:14 CET 2003 Paolo Molaro <lupus@ximian.com>
8290
8291         * MonoType.cs: fixed MemberType property for nested types.
8292
8293 2003-01-03  Gonzalo Paniagua Javier <gonzalo@ximian.com>
8294
8295         * String.cs: fixed bug #36209.
8296
8297 2002-12-20 Lluis Sanchez Gual <lsg@ctv.es>
8298
8299         * Activator.cs: implemented method GetObject.
8300
8301 2002-12-28  Marcus Urban <mathpup@mylinuxisp.com>
8302
8303         * Activator.cs: Since the documentation indicates the method
8304         either succeeds or throws one of the listed exceptions, we weren't
8305         expecting that CreateInstance might be returning null.
8306
8307         For more information on the bug, see http://bugs.ximian.com/show_bug.cgi?id=36109
8308
8309 2002-12-20 Lluis Sanchez Gual <lsg@ctv.es>
8310
8311         * MarshalByRefObject.cs: implemented CreateObjRef.
8312
8313 2002-12-19  Gonzalo Paniagua Javier <gonzalo@ximian.com>
8314
8315         * DateTime.cs: fixed bug #30076.
8316         * TimeZone.cs: provide the parameter name in a exception.
8317
8318 2002-12-13  Gonzalo Paniagua Javier <gonzalo@ximian.com>
8319
8320         * DecimalFormatter.cs: fixed bug #35560.
8321
8322 Wed Dec 4 16:04:28 CET 2002 Paolo Molaro <lupus@ximian.com>
8323
8324         * Type.cs: implemented GetInterfaceMap (needs an updated runtime).
8325
8326 2002-12-03  Gonzalo Paniagua Javier <gonzalo@ximian.com>
8327
8328         * Array.cs: use Object.Equals (obj, obj) to compare objects to avoid
8329         nulls. Fixes #34909.
8330
8331 2002-12-03  Gonzalo Paniagua Javier <gonzalo@ximian.com>
8332
8333         * AppDomain.cs: DoAssemblyResolve now returns when one of the handlers
8334         returns a non-null assembly.
8335
8336 2002-12-03  Gonzalo Paniagua Javier <gonzalo@ximian.com>
8337
8338         * MulticastDelegate.cs: make GetInvocationList work for more than 1
8339         delegate.
8340
8341 2002-12-02  Gonzalo Paniagua Javier <gonzalo@ximian.com>
8342
8343         * MulticastDelegate.cs: implemented GetInvocationList. I'll check later
8344         if this is the correct order of invocation.
8345
8346 2002-12-02  Gonzalo Paniagua Javier <gonzalo@ximian.com>
8347
8348         * Type.cs: changed the signature of internal_from_name. Modified
8349         the overloads of GetType to use it and check the typeName argument.
8350         Implemented FindInterfaces.
8351
8352 2002-11-29  Gonzalo Paniagua Javier <gonzalo@ximian.com>
8353
8354         * MarshalByRefObject.cs: undo latest changes. It breaks the build by
8355         some obscure reasons (try make -f makefile.gnu using a corlib which has
8356         the modified version).
8357
8358 2002-11-26  Miguel de Icaza  <miguel@ximian.com>
8359
8360         * String.cs (Concat): Reduce the number of compares required. 
8361
8362 Mon Nov 18 17:54:22 CET 2002 Paolo Molaro <lupus@ximian.com>
8363
8364         * Activator.cs: throw a MissingMethodException if the default
8365         constructor is not found in CreateInstance.
8366
8367 2002-11-13  Gonzalo Paniagua Javier <gonzalo@ximian.com>
8368
8369         * String.cs:
8370         (Equals (str, str)): use 'as' instead of casting to object.
8371         (Equals (obj)): check the length of the strings (until now,
8372         "Hello".Equals ((object) "Hellow World!) was true!).
8373
8374 2002-11-04  Gonzalo Paniagua Javier <gonzalo@ximian.com>
8375
8376         * MonoType.cs: implemented GetEvent (name, flags).
8377
8378 2002-11-03  Gonzalo Paniagua Javier <gonzalo@ximian.com>
8379
8380         * AppDomain.cs: implemented a couple of methods called from the runtime
8381         to fire AssemblyLoad and AssemblyResolve events.
8382
8383 2002-10-31  Dick Porter  <dick@ximian.com>
8384
8385         * Environment.cs: MonoIO methods now have an error parameter
8386
8387 2002-10-29  Zoltan Varga  <vargaz@freemail.hu>
8388
8389         * Enum.cs: Added support for whitespaces in Enum:Parse().
8390
8391 2002-10-29  Gonzalo Paniagua Javier <gonzalo@ximian.com>
8392
8393         * Type.cs: fixed GetProperty (string, Type []) and removed get_property
8394         internal call. Closes bug #32992.
8395
8396 2002-10-29  Gonzalo Paniagua Javier <gonzalo@ximian.com>
8397
8398         * Exception.cs: display the inner exception, if any, in ToString ().
8399
8400 2002-10-24  Gonzalo Paniagua Javier <gonzalo@ximian.com>
8401
8402         * Environment.cs: fixed StackTrace property.
8403
8404 2002-10-16  Nick Drochak  <ndrochak@gol.com>
8405
8406         * Enum.cs (Parse): Then fix the code so that it works too.
8407
8408 2002-10-15  Nick Drochak  <ndrochak@gol.com>
8409
8410         * Enum.cs (Parse): Use unsigned casts to avoid compiler warnings.
8411
8412 2002-10-12  Nick Drochak  <ndrochak@gol.com>
8413
8414         * IntegerFormatter.cs: Fix compiler warnings.
8415
8416 2002-10-11  Tim Haynes <thaynes@openlinksw.com>
8417
8418         * Type.cs (GetConstructors): Use the correct flags.
8419
8420 2002-10-09  Nick Drochak  <ndrochak@gol.com>
8421
8422         * IntegerFormatter.cs: Suppress insignificant leading zeros
8423
8424 Fri Sep 27 15:06:29 CEST 2002 Paolo Molaro <lupus@ximian.com>
8425
8426         * MonoCustomAttrs.cs: applied patch by "Si Jingnan"
8427         <stonewell@21cn.com> to return also derived types.
8428
8429 2002-09-26  Gonzalo Paniagua Javier <gonzalo@ximian.com>
8430
8431         * Activator.cs: little fix in CreateInstance (Type, bool).
8432
8433 2002-09-19  Duncan Mak  <duncan@ximian.com>
8434
8435         * Array.cs (CopyTo): Revert back to 1.40, this is stopping
8436         I18N/Common from building right now.
8437
8438 2002-09-19  Nick Drochak  <ndrochak@gol.com>
8439
8440         * Array.cs (CopyTo): Account for Object type and base (primitive) types
8441         * Type.cs (IsAssignableFrom): return false for a null parameter
8442
8443 2002-09-19  Nick Drochak <ndrochak@gol.com>
8444
8445         * Array.cs (CopyTo): Check that source type can be cast automatically
8446         to the destination type.
8447
8448 2002-09-18  Gonzalo Paniagua Javier <gonzalo@ximian.com>
8449
8450         * Type.cs: implemented IsAssignableFrom, DefaultBinder and
8451         GetDefaultMembers.
8452
8453 2002-09-12  Gonzalo Paniagua Javier <gonzalo@ximian.com>
8454
8455         * Char.cs: implemented ToString (char)
8456         * IntegerFormatter.cs: made it internal.
8457
8458 2002-09-13  Nick Drochak  <ndrochak@gol.com>
8459
8460         * Enum.cs (Format): handle the "d" format for both signed and unsigned
8461         underlying types.
8462
8463 2002-09-12  Dick Porter  <dick@ximian.com>
8464
8465         * UIntPtr.cs: Remove the [StructLayout(LayoutKind.Auto)]
8466         attribute, as there doesn't appear to be any struct
8467         layout-depending code here (and corcompare says it should be
8468         LayoutKind.Sequential)
8469
8470         * Decimal.cs: Stub out missing methods, add
8471         [DecimalConstantAttribute] to the constant fields (as shown by
8472         corcompare).
8473
8474         * LocalDataStoreSlot.cs: 
8475         * Environment.cs: 
8476         * Char.cs: 
8477         * Array.cs: Stub out missing methods.
8478
8479         * TypedReference.cs: 
8480         * ArgIterator.cs: Stub out
8481
8482         * AppDomainSetup.cs: 
8483         * AppDomain.cs: Stub out missing methods, add missing
8484         ClassInterface(ClassInterfaceType.None) attribute.
8485
8486 2002-09-12  Nick Drochak  <ndrochak@gol.com>
8487
8488         * Double.cs (ToString): Throw exception when "X" format is passed in.
8489
8490 Wed Sep 11 15:26:34 CEST 2002 Paolo Molaro <lupus@ximian.com>
8491
8492         * MonoType.cs: implemented Module property.
8493
8494 Wed Sep 11 12:49:51 CEST 2002 Paolo Molaro <lupus@ximian.com>
8495
8496         * MonoType.cs, Type.cs: implemented InvokeMember.
8497
8498 Wed Sep 11 11:06:43 CEST 2002 Paolo Molaro <lupus@ximian.com>
8499
8500         * Delegate.cs: check the type passed to CreateDelegate is a Delegate
8501         type. Check the method signature matches.
8502
8503 Sat Sep 7 10:16:52 CEST 2002 Paolo Molaro <lupus@ximian.com>
8504
8505         * RuntimeMethodHandle.cs: implemented GetFunctionPointer().
8506
8507 2002-09-06  Miguel de Icaza  <miguel@ximian.com>
8508
8509         * Console.cs: Specify an encoder, otherwise we will get the UTF8
8510         encoder that by default emits the byte markers.
8511
8512 Fri Sep 6 20:14:04 CEST 2002 Paolo Molaro <lupus@ximian.com>
8513
8514         * Delegate.cs: look also for non-public methods until we have the
8515         security checks in place.
8516
8517 Fri Sep 6 12:20:06 CEST 2002 Paolo Molaro <lupus@ximian.com>
8518
8519         * MonoType.cs: consider also the full name in GetInterface.
8520
8521 Fri Sep 6 12:11:28 CEST 2002 Paolo Molaro <lupus@ximian.com>
8522
8523         * MonoType.cs: implemented GetMembers, GetConstructorImpl and
8524         GetMethodImpl using the binder.
8525         * Type.cs: GetConstructorImpl/GetConstructor fixes.
8526
8527 2002-09-03  Jonathan Pryor <jonpryor@vt.edu>
8528         * Enum.cs: Get rid of warning CS0162.
8529
8530 2002-09-04  Miguel de Icaza  <miguel@ximian.com>
8531
8532         * Double.cs, Single.cs, Char.cs, Boolean.cs: Use internal for the
8533         actual value instead of public.
8534
8535         * LocalDataStoreSlot.cs: Make constructor internal.
8536
8537         * Int16.cs, UInt16.cs, Int32.cs, UInt32.cs, Int64.cs, UInt64.cs,
8538         SByte.cs, Byte.cs, Char.cs: Use internal for the actual value
8539         instead of public.
8540
8541 2002-09-03  Jonathan Pryor <jonpryor@vt.edu>
8542         * Enum.cs: Fixed Enum.Format so that the "x" format specifier would work
8543                    properly.
8544
8545 2002-08-28  Gonzalo Paniagua Javier <gonzalo@ximian.com>
8546
8547         * DateTime.cs: fixed buglet.
8548
8549 Tue Aug 27 16:39:47 CEST 2002 Paolo Molaro <lupus@ximian.com>
8550
8551         * MonoType.cs: speedup access to common data.
8552
8553 2002-08-23  Gonzalo Paniagua Javier <gonzalo@ximian.com>
8554
8555         * Double.cs: implemented TryParse.
8556
8557         * Math.cs: PowImpl is now private.
8558
8559         * MissingFieldException.cs: implemented Message.
8560
8561         * RuntimeMethodHandle.cs: stubbed GetFunctionPointer.
8562
8563         * _AppDomain.cs: Uncommented ToString.
8564
8565 2002-08-23  Gonzalo Paniagua Javier <gonzalo@ximian.com>
8566
8567         * Type.cs:
8568         (IsValueTypeImpl): it's virtual, not abstract. Implemented.
8569
8570 2002-08-23  Gonzalo Paniagua Javier <gonzalo@ximian.com>
8571
8572         * ArgumentException.cs: use the field instead of the property for
8573         param_name.
8574
8575         * ArgumentOutOfRangeException.cs: modified Message.
8576
8577         * DateTime.cs: 
8578         (_DoParse): throw out of range exception for year. Removed check
8579         for month (it's done in the constructor).
8580
8581 2002-08-21  Miguel de Icaza  <miguel@ximian.com>
8582
8583         * Environment.cs: Implemented OSVersion property.
8584
8585 2002-08-21  Dietmar Maurer  <dietmar@ximian.com>
8586
8587         * Exception.cs: set stack_trace to null
8588
8589 Wed Aug 21 13:02:20 CEST 2002 Paolo Molaro <lupus@ximian.com>
8590
8591         * AppDomain.cs: implemented ToString().
8592
8593 2002-08-20  Gonzalo Paniagua Javier <gonzalo@ximian.com>
8594
8595         * AppDomain.cs: securityInfo can be null in CreateDomain.
8596
8597 2002-08-19  Dick Porter  <dick@ximian.com>
8598
8599         * MonoType.cs: Add a space before the Assembly name in
8600         AssemblyQualifiedName (needed for resource files so the MS runtime
8601         can load types)
8602
8603 2002-08-19  Gonzalo Paniagua Javier <gonzalo@ximian.com>
8604
8605         * AppDomain.cs: parameter name when throwing ArgumentNullException.
8606
8607         * ArgumentException.cs: modified Message to do what MS does.
8608
8609         * ArgumentNullException.cs: don't use {0} in message.
8610
8611         * Exception.cs: use Message property in ToString ().
8612
8613 2002-08-14  Cesar Octavio Lopez Nataren <cesar@ciencias.unam.mx>
8614
8615         * WeakReference.cs: Changed the constructor and GetObjectData
8616         method needed for ISerializable implementation in order to be
8617         compatible with SOAP generated by MS.
8618
8619 Wed Aug 14 17:34:07 CEST 2002 Paolo Molaro <lupus@ximian.com>
8620
8621         * MonoType.cs, Type.cs: DeclaringType/ReflectedType fixes.
8622
8623 2002-08-12  Dietmar Maurer  <dietmar@ximian.com>
8624
8625         * Exception.cs (ToString): changed the ouput format.
8626
8627 2002-08-07  Dietmar Maurer  <dietmar@ximian.com>
8628
8629         * MonoType.cs: moved get_method icall to this class, we can
8630         remove it as soon someone provides a full featured GetMethodImpl.
8631
8632         * Type.cs: use GetMethodImpl everywhere.
8633
8634         * Delegate.cs: new CreateDelegate implementations.
8635
8636 2002-08-06  Tim Coleman <tim@timcoleman.com>
8637         * MonoType.cs: 
8638                 Fix bug #28582.  Now checks parameters for properties
8639                 in GetPropertyImpl.
8640
8641 2002-08-04  Nick Drochak  <ndrochak@gol.com>
8642
8643         * Buffer.cs: Throw correct exception in GetByte() and SetByte().
8644
8645 2002-08-01  Gonzalo Paniagua Javier <gonzalo@ximian.com>
8646
8647         * String.cs:
8648         (FormatSpecifier): allow white space between the comman and the width
8649         specifier.
8650
8651 2002-07-22  Gonzalo Paniagua Javier <gonzalo@ximian.com>
8652
8653         * Int32.cs:
8654         * Int64.cs:
8655         * UInt32.cs:
8656         * UInt64.cs: fixed bug #28050. May be a MS bug?
8657
8658 Thu Jul 18 14:47:03 CEST 2002 Paolo Molaro <lupus@ximian.com>
8659
8660         * MonoType.cs: fix IsArrayImpl.
8661
8662 2002-07-13  Gonzalo Paniagua Javier <gonzalo@ximian.com>
8663
8664         * String.cs: make ToLower (culture) and ToUpper (culture) use the
8665         default ToLower and ToUpper and don't throw NotImplemented.
8666
8667 Sat Jul 13 15:09:01 CEST 2002 Paolo Molaro <lupus@ximian.com>
8668
8669         * Type.cs: make GettTypeCode an icall. Test implementation of
8670         GetMember().
8671
8672 2002-07-13  Gonzalo Paniagua Javier <gonzalo@ximian.com>
8673
8674         * AppDomainSetup.cs: implemented LoaderOptimization.
8675
8676 2002-07-10  Gonzalo Paniagua Javier <gonzalo@ximian.com>
8677
8678         * Activator.cs: some more intermediate results checking in
8679         in CreateInstance and CreateInstanceFrom and use GetConstructor and
8680         Invoke only with Type [] until the other overloaded versions work.
8681
8682 2002-07-09  Gonzalo Paniagua Javier <gonzalo@ximian.com>
8683
8684         * Activator.cs: reformatted. Implemented CreateInstance* methods
8685         that return ObjectHandle.
8686
8687         * AppDomain.cs: implemented CreateInstance*AndUnwrap methods.
8688
8689 2002-07-03  Nick Drochak  <ndrochak@gol.com>
8690
8691         * Decimal.cs (Divide): Short cut the case where the dividend is 0 (and
8692         the divisor is not) and avoid the icall, which seems to have a bug.
8693
8694 2002-07-03  Nick Drochak  <ndrochak@gol.com>
8695
8696         * Double.cs (CompareTo): Correctly handle the case where the instance
8697         is NaN. Also return 0 if the values are equal.
8698
8699 2002/07/03  Nick Drochak <ndrochak@gol.com>
8700
8701         * MissingMethodException: Add missing Message property
8702         * MissingMemberException: Add missing Message property
8703
8704 2002-06-30  Nick Drochak  <ndrochak@gol.com>
8705
8706         * Double.cs (CompareTo): Just see which is bigger.  Don't use the
8707         subtraction trick, it doesn't work when the values have a diference of
8708         less than one.
8709
8710         * Single.cs (CompareTo): same
8711
8712 2002-06-27  Martin Baulig  <martin@gnome.org>
8713
8714         * UIntPtr.cs (UIntPtr.Zero): Use an explicit `u' suffix in the
8715         constructor argument.  [FIXME: The implicit conversion to an
8716         unsigned integer doesn't work with mcs.]
8717
8718 2002-06-26  Martin Baulig  <martin@gnome.org>
8719
8720         * DecimalFormatter.cs: Removed MSTEST stuff, use `System',
8721         not `S = System'.  This file now compiles with mcs.
8722
8723         * String.cs: Removed the already ifdef-outed __arglist Concat function
8724         to make it compile with mcs.
8725
8726 2002-06-24  Gonzalo Paniagua Javier <gonzalo@ximian.com>
8727
8728         * IntegerFormatter.cs:
8729         (FormatParse.FormatNumber): fixed custom format for negative numbers.
8730
8731 2002-06-21  Martin Baulig  <martin@gnome.org>
8732
8733         * Double.cs: Replace the private `enum State' with constants since this
8734         will avoid some bigger headaches in mcs.
8735
8736 Thu Jun 20 17:51:44 CEST 2002 Paolo Molaro <lupus@ximian.com>
8737
8738         * TimeSpan.cs: do not pollute the namespace with the
8739         System.Parser name.
8740
8741 2002-06-18  Nick Drochak  <ndrochak@gol.com>
8742
8743         * ArgumentException.cs: Use the message given in the constructor when
8744         accessing the Message property.  Thanks to Dietmar for the help with 
8745         "base".
8746
8747 2002-06-17  Dietmar Maurer  <dietmar@ximian.com>
8748
8749         * MonoType.cs: GetField is now a InternalCall
8750
8751 2002-06-13  Nick Drochak  <ndrochak@gol.com>
8752
8753         * DateTime.cs: (Parse): Accept dates that have no hour,min,sec. in the
8754         sortable format(s), e.g. "2002-02-25"
8755
8756 2002/06/12  Nick Drochak <ndrochak@gol.com>
8757
8758         * Random.cs (Next): Fix math error.  Return a number within the range.
8759
8760 2002-06-12  Nick Drochak  <ndrochak@gol.com>
8761
8762         * String.cs (IndexOf): Return -1 if start index is equal to string
8763         length.
8764
8765 2002-06-10  Duncan Mak  <duncan@ximian.com>
8766
8767         * Convert.cs (ToDouble): Remove rounding in ToDouble (float).
8768         (ToType): Added null field in conversionTable to avoid
8769         IndexOutOfRangeException. Changed what exceptions we throw to match
8770         the spec.
8771         
8772 2002-06-11  Nick Drochak  <ndrochak@gol.com>
8773
8774         * Int64.cs (Parse): Added unique strings to the messages where we throw
8775         a FormatException. Needed these to debug, so just left them in since
8776         they might be useful later. Fixed Currency parsing where we weren't
8777         looking at CurrencyDecimalSeparator, etc.
8778
8779 2002-06-09  Lawrence Pit  <loz@cable.a2000.nl>
8780
8781         * DateTime.cs: fixes to pass tests M0 to M6:
8782                 if yy pattern then year values >= 30 are in 20th century
8783                 rfc1123 pattern is always in GMT, therefor useutc must be false
8784         made GetNow() internal static so it can be called from TimeZone.
8785         * TimeZone.cs: removed dependency on year 2002 from initialization of 
8786         current timezone.
8787
8788 2002-06-09  Duncan Mak  <duncan@ximian.com>
8789
8790         * Convert.cs (ToType): Rearranged what Exceptions we throw to
8791         match MS behavior.
8792
8793 2002-06-08  Duncan Mak  <duncan@ximian.com>
8794
8795         * Decimal.cs: Added support for the IConvertible interface.
8796
8797 2002-06-08  Martin Baulig  <martin@gnome.org>
8798
8799         * Enum.cs (IsDefined): `value' may be of the enum's type itself, it
8800         doesn't necessarily need to be of the enum's underlying type.
8801
8802 2002/06/07  Nick Drochak <ndrochak@gol.com>
8803
8804         * String.cs: Add [Serializable] to class
8805         * SByte.cs (Parse): Add [CLSCompliant(false)] to all the overloads
8806
8807 2002-06-04  Nick Drochak  <ndrochak@gol.com>
8808
8809         * Double.cs (Parse): Recognize the group separator string, but still we
8810         don't check the format for the proper number of digits between
8811         separators. Also throw OverflowException when we get Pos or Neg
8812         Infinity from runtime.
8813
8814 2002-06-03  Duncan Mak  <duncan@ximian.com>
8815
8816         * Convert.cs (ToDouble): Fixed ToDouble (byte value).
8817
8818 Mon Jun 3 12:18:18 CEST 2002 Paolo Molaro <lupus@ximian.com>
8819
8820         * Type.cs: fixed GetTypeCode.
8821
8822 2002-06-02  Duncan Mak  <duncan@ximian.com>
8823
8824         * Convert.cs (ToInt16): use Convert.ToInt16 (int) instead of a direct
8825         cast from an int so that we throw OverFlowException correctly.
8826         
8827         (ToInt64): Use a new 64bit version of ConvertToBase.
8828         
8829         (ConvertToBase): Add checks for overflow (checks Int32.MinValue
8830         and Int32.MaxValue).
8831
8832         (ConvertFromBase64): New 64-bit version of ConvertFromBase.
8833
8834 2002-06-02  Nick Drochak  <ndrochak@gol.com>
8835
8836         * Convert.cs (ToSByte): Check for special value.
8837         * Single.cs (Parse): 
8838         * UInt16.cs (Parse):
8839         * UInt32.cs (Parse): Throw OverflowException if negative
8840
8841 2002-06-02  Duncan Mak  <duncan@ximian.com>
8842
8843         * Convert.cs (DBNull): Point it to DBNull.Value.
8844         (IsDBNull): Instead of checking typecodes, just check to see if
8845         it's the same as the DBNull field.
8846
8847 2002-06-02  Nick Drochak  <ndrochak@gol.com>
8848
8849         * Convert.cs (ConvertFromBase): Detect bad digits correctly.
8850
8851 2002-06-02  Duncan Mak  <duncan@ximian.com>
8852
8853         * Char.cs (Parse): Simplify the Exception handling.
8854
8855         * Convert.cs (ToDecimal): Remove call to Math.Round () when
8856         converting from a float.
8857
8858 2002-05-30  Martin Baulig  <martin@gnome.org>
8859
8860         * MonoType.cs (GetInterface): Implemented.
8861
8862 Thu May 23 17:17:28 CEST 2002 Paolo Molaro <lupus@ximian.com>
8863
8864         * Activator.cs: implemented CreateInstance ().
8865
8866 2002-05-22  Duncan Mak  <duncan@ximian.com>
8867
8868         * Convert.cs (ConvertToBase): Added new 64bit version.
8869         (BuildConvertedString64): New 64bit version of
8870         BuildConvertedString.
8871
8872         This fixes bug 25068.
8873
8874         (ConvertFromBase): Added additional test for checking if the
8875         digits are valid. Thanks to Miguel for coming up with this test.
8876
8877         This fixes bug 25071.
8878         
8879 2002-05-21  Duncan Mak  <duncan@ximian.com>
8880
8881         * Convert.cs (ToType): Rearranged to fit the new layout of
8882         conversionTable.
8883
8884         (conversionTable): Rearranged to fit the layout of the
8885         System.TypeCode enum.
8886
8887         This should fix bug 25075.
8888         
8889 2002-05-21  Duncan Mak  <duncan@ximian.com>
8890
8891         * Convert.cs (ToString): Fixed the ToString methods. Previously I had
8892         mixed up the two code paths, one for converting to a specific base
8893         (this case), another from converting from a foreign base to base10
8894         (used by ToInt16|32|64 (string, int)). This fixes bug 25068.
8895
8896         * Convert.cs (ToByte)
8897         (ToSByte): Fixed bug 25074. Added more bits to ConvertFromBase so
8898         that we won't confuse FormatException with OverflowException.
8899
8900 2002-05-22  Lawrence Pit  <loz@cable.a2000.nl>
8901
8902         * Environment.cs: CommandLine missed spaces between arguments.
8903         Implemented StackTrace. Returning MachineName in UserDomainName
8904         instead of null.
8905         
8906 Tue May 21 17:25:49 CEST 2002 Paolo Molaro <lupus@ximian.com>
8907
8908         * MonoCustomAttrs.cs: handle inherit argument.
8909
8910 2002-05-21  Nick Drochak  <ndrochak@gol.com>
8911
8912         * Math.cs (Pow): Change icall method name and insert parameter
8913         checks in for infinities and NaN.
8914
8915 2002-05-13  Miguel de Icaza  <miguel@ximian.com>
8916
8917         * Double.cs (Parse): Reimplement by cleaning up the string first,
8918         and then passing to strtof in the mono runtime.
8919
8920         * Single.cs (Parse): Use the Double implementation and cast to
8921         float. 
8922
8923 2002-05-21  Nick Drochak  <ndrochak@gol.com>
8924
8925         * Math.cs 
8926                 (Ceiling): Check for "special" values
8927                 (Floor): Check for "special" values
8928                 (Round): Fix off-by-one error on decimal shifting
8929
8930 2002-05-20  Lawrence Pit  <loz@cable.a2000.nl>
8931
8932         * DateTime.cs: ToString () using "G" format specifier 
8933
8934 2002-05-19  Martin Baulig  <martin@gnome.org>
8935
8936         * Convert.cs (FromBase64CharArray): Do correct exception handling.
8937
8938 2002-05-19  Martin Baulig  <martin@gnome.org>
8939
8940         * Convert.cs (FromBase64CharArray): Convert the char array using
8941         System.Text.UTF8Encoding, not UnicodeEncoding (which is UTF-16) to
8942         a byte array.
8943
8944 2002-05-17  Miguel de Icaza  <miguel@ximian.com>
8945
8946         * MonoType.cs: Style changes.
8947
8948         * Type.cs: Style changes.
8949
8950 2002-05-16  Piers Haken <piersh@friksit.com
8951
8952         * UInt64.cs: fix declaration of IConvertible.To* overrides.
8953
8954 2002-05-16  Nick Drochak  <ndrochak@gol.com>
8955
8956         * BitConverter.cs (ToString): Add parameter check for invalid start 
8957         index.
8958
8959         * Console.cs: Use AutoFlush on the StreamWriter for stdin and stdout
8960         now that StreamWriter uses buffering
8961
8962 2002-05-14  Miguel de Icaza  <miguel@ximian.com>
8963
8964         * Double.cs: Oops.  Also handle exponents without finding a dot.
8965
8966 2002-05-14  Gonzalo Paniagua Javier <gonzalo@ximian.com>
8967
8968         * ChangeLog: removed empty entry at the top of the file.
8969
8970         * Int32.cs: made static functions used by Parse internal.
8971
8972         * Int64.cs:
8973         * UInt32.cs:
8974         * UInt64.cs: removed static fucntions used by Parse and use the ones
8975         in Int32.cs
8976
8977 2002-05-12  Daniel Morgan <danmorg@sc.rr.com>
8978
8979         * IServiceProvider.cs: added using System
8980
8981 2002-05-09  Daniel Morgan <danmorg@sc.rr.com>
8982
8983         * Single.cs: copied ToString() and Parse() methods from 
8984         Double to Single and modified a tiny bit for Single.  
8985         There is still a FIXME for Double and Single about
8986         passing the format and provider info to the icall too.
8987
8988 2002-05-02  Gonzalo Paniagua Javier <gonzalo@ximian.com>
8989
8990         * Int32.cs:
8991         * Int64.cs:
8992         * UInt32.cs:
8993         * UInt64.cs (Parse): don't use Char.IsNumber to test for hex digits.
8994         Don't use a delegate to test for valid digits.
8995
8996 2002-05-01  Duncan Mak  <duncan@ximian.com>
8997
8998         * Convert.cs: 
8999         * Math.cs: Added missing CLSCompliant attributes where necessary.
9000         
9001 2002-04-30  Duncan Mak  <duncan@ximian.com>
9002
9003         * ArgumentException.cs (Message): 
9004         * ArgumentOutOfRangeException.cs (Message): Added.
9005
9006 2002-04-30  Nick Drochak  <ndrochak@gol.com>
9007
9008         * MonoType.cs: Remove unused variable and eliminate a compiler warning.
9009
9010 Mon Apr 29 15:32:02 CEST 2002 Paolo Molaro <lupus@ximian.com>
9011
9012         * Environment.cs: support for Exit(), CommandLine, CommandLineArgs ().
9013
9014 2002-04-28  Duncan Mak  <duncan@ximian.com>
9015
9016         * DivideByZeroException.cs: Added missing serialization constructor.
9017
9018         * UnauthorizedAccessException.cs: Added the missing Serializable attribute.
9019
9020 2002-04-28  Gonzalo Paniagua Javier <gonzalo@ximian.com>
9021
9022         * Math.cs: fix Floor () and Round (). Closes #23960.
9023
9024 2002-04-27  Nick Drochak  <ndrochak@gol.com>
9025
9026         * Array.cs (IList.Contains): Should throw a RankException if this is 
9027         called on a Rank > 1 array. Not in the docs, but this is what the 
9028         MS.NET does.
9029
9030 2002-04-26  Duncan Mak  <duncan@ximian.com>
9031
9032         * MissingMemberException.cs: Made the message variable 'protected'
9033         instead of 'private', so that we can see it in
9034         MissingMethodException and MissingFieldException.
9035
9036         * MissingFieldException.cs:
9037         * MissingMethodException.cs: Added missing (string, string)
9038         constructor, and also the Message property.
9039
9040 2002-04-26  Martin Baulig  <martin@gnome.org>
9041
9042         * Enum.cs: Implemented the IConvertible methods.
9043
9044 2002-04-25  Gonzalo Paniagua Javier <gonzalo@ximian.com>
9045
9046         * SByte.cs: little change in Parse (string) to avoid incorrect
9047         OverflowException thrown (reported by nickd).
9048
9049 2002-04-22  Miguel de Icaza  <miguel@ximian.com>
9050
9051         * ValueType.cs: Add Serializable attribute.
9052
9053         * String.cs: ifdef-out out the __arglist Concat function until I
9054         add support for that to mcs.
9055
9056 2002-04-24      Patrik Torstensson <patrik.torstensson@labs2.com>
9057
9058         * AppDomain.cs (GetValue): usage of the correct icall (bug)
9059
9060 Wed Apr 24 21:15:44 CEST 2002 Paolo Molaro <lupus@ximian.com>
9061
9062         * GC.cs: implement most of the methods as icalls.
9063
9064 2002-04-24  Gonzalo Paniagua Javier <gonzalo@ximian.com>
9065
9066         * DecimalFormatter.cs (ToString): return correct value when the
9067         decimal number is 0.
9068
9069 2002-04-24      Patrik Torstensson <patrik.torstensson@labs2.com>
9070         
9071         * Type.cs (GetProperty): fixed call syntax (needs an empty array not null)
9072         * MonoType.cs (GetPropertyImpl) : basic implementation (ignores types, bindingAttr, modifiers)
9073
9074 2002-04-24  Nick Drochak  <ndrochak@gol.com>
9075
9076         * Double.cs (Parse): Handle case where there are no digits before the 
9077         decimal point, such as ".1".
9078
9079 2002-04-23  Gonzalo Paniagua Javier <gonzalo@ximian.com>
9080
9081         * Int32.cs:
9082         * UInt32.cs:
9083         * Int64.cs:
9084         * UInt64.cs: fixed bug #23738 (hex numbers parsed wrong).
9085
9086 2002-04-23      Patrik Torstensson <patrik.torstensson@labs2.com>
9087
9088         * String.cs (Split): fixed invalid split of count 0 and 1.
9089         
9090 2002-04-23      Patrik Torstensson <patrik.torstensson@labs2.com>
9091         
9092         * String.cs (LastIndexOf): fixed argument checking.
9093         * String.cs (Equals): made internal for performace.
9094
9095 2002-04-23  Nick Drochak  <ndrochak@gol.com>
9096
9097         * String.cs (Join): check argument and throw exception if needed
9098
9099 2002-04-23  Nick Drochak  <ndrochak@gol.com>
9100
9101         * String.cs (StartsWith): check argument and throw exception if needed
9102
9103 2002-04-22  Nick Drochak  <ndrochak@gol.com>
9104
9105         * String.cs (IndexOfAny): check arguments and throw exceptions as
9106         neccessary.  ALso remove some debug WriteLines.
9107
9108 2002-04-20  Dietmar Maurer  <dietmar@ximian.com>
9109
9110         * String.cs: use internal constructors
9111         buf fix in Concat.
9112
9113 Thu Apr 18 17:16:15 CEST 2002 Paolo Molaro <lupus@ximian.com>
9114
9115         * MonoType.cs: make GetElementType its own icall.
9116
9117 2002-04-18  Nick Drochak <ndrochak@gol.com>
9118
9119         * String.cs: Modified file. Re-add methods needed by the unit tests.
9120
9121 Thu Apr 18 12:38:32 CEST 2002 Paolo Molaro <lupus@ximian.com>
9122
9123         * String.cs: some code speedups and restored GetTypeCode().
9124
9125 2002-04-17      Patrik Torstensson <patrik.torstensson@labs2.com>
9126
9127         * String.cs: New implementation using internal calls.
9128         
9129 2002-04-16  Nick Drochak  <ndrochak@gol.com>
9130
9131         * DecimalFormatter.cs: Trim off excess null characters from the string
9132         that decimal2string gives back.
9133
9134 2002-04-16  Nick Drochak  <ndrochak@gol.com>
9135
9136         * String.cs (SubString): revert my change.  I can't reproduce the
9137         problem anymore.
9138
9139 2002-04-13  Gonzalo Paniagua Javier <gonzalo@ximian.com>
9140
9141         * Attribute.cs: added GetHashCode and Equals.
9142
9143 2002-04-12  Gonzalo Paniagua Javier <gonzalo@ximian.com>
9144
9145         * Enum.cs: little improvements to Format ().
9146
9147 Thu Apr 11 12:28:13 CEST 2002 Paolo Molaro <lupus@ximian.com>
9148
9149         * String.cs: internalcall GetHashCode().
9150         * Array.cS: optimize access to elements.
9151
9152 Wed Apr 10 21:20:19 CEST 2002 Paolo Molaro <lupus@ximian.com>
9153
9154         * String.cs: make IndexOfAny() use an internalcall.
9155
9156 2002-04-10  Gonzalo Paniagua Javier <gonzalo@ximian.com>
9157
9158         * Int32.cs:
9159         * UInt32.cs:
9160         * Int64.cs: 
9161         * UInt64.cs: fixed error when testing for validity of flags.
9162
9163 2002-04-11  Nick Drochak  <ndrochak@gol.com>
9164
9165         * Double.cs: Use an internal call for ToString(). This is just a simple
9166         implementation to get away from throwing a NotImplementedException.
9167
9168 2002-04-10  Gonzalo Paniagua Javier <gonzalo@ximian.com>
9169
9170         * Int32.cs:
9171         * UInt32.cs:
9172         * Int64.cs: 
9173         * UInt64.cs: changed Type.GetType () by typeof (), as suggested by
9174         lupus.
9175
9176         * Int32.cs:
9177         * Int64.cs: throw an OverFlowException when parsing a string 
9178         containing a dot followed by any non '0' number.
9179
9180 2002-04-10  Gonzalo Paniagua Javier <gonzalo@ximian.com>
9181
9182         * Byte.cs:
9183         * UInt16.cs:
9184         * UInt32.cs:
9185         * UInt64.cs: added complex Parse ().
9186
9187 2002-04-09  Gonzalo Paniagua Javier <gonzalo@ximian.com>
9188
9189         * SByte.cs:
9190         * Int16.cs:
9191         * Int32.cs:
9192         * Int64.cs: added complex Parse ().
9193
9194 2002-04-09  Nick Drochak  <ndrochak@gol.com>
9195
9196         * Array.cs (BinarySearch): Add checks on paramters before using them
9197         and throw exceptions as needed.
9198
9199         * Enum.cs (Format): Check if [Flags] is applied to enum and convert
9200         "G" format to "F" if so.
9201
9202 Tue Apr 9 13:12:09 CEST 2002 Paolo Molaro <lupus@ximian.com>
9203
9204         * MonoCustomAttrs.cs: return arrays of type Attribute[]
9205         instead of object[].
9206
9207 2002/04/09  Nick Drochak <ndrochak@gol.com>
9208
9209         * String.cs (Substring): Copy only non-null characters to the new
9210         string.
9211
9212 2002-04-09  Nick Drochak  <ndrochak@gol.com>
9213
9214         * IntegerFormatter.cs: Don't use a format character to indicate a
9215         custom format was passed in. It was using 'z' to indicate a custom
9216         format, but really it should throw a format exception if the user
9217         tries to use "z" as the format string. Now it does.
9218
9219         * Activator.cs: New File.
9220
9221 2002-04-08  Nick Drochak  <ndrochak@gol.com>
9222
9223         * Enum.cs (ToString): Big ugly fix for the case where [Flags] is
9224         applied to an enum. Need to handle the different possible integer
9225         types of an enum somehow.  Can anyone say generics?
9226
9227 Mon Apr  8 06:22:42  2002 Piers Haken <piersh@friskit.com>
9228
9229         * Convert.cs: switched the To*(object) methods to use
9230         IConvertible directly instead of calling ChangeType
9231
9232 Sat Apr 6 20:08:41 CEST 2002 Paolo Molaro <lupus@ximian.com>
9233
9234         * ValueType.cs: make Equals() an internalcall.
9235
9236 Fri Apr 5 15:38:54 CEST 2002 Paolo Molaro <lupus@ximian.com>
9237
9238         * Type.cs: also look for nested types in FindMembers.
9239         * MonoType.cs: make GetNestedTypes() an internalcall.
9240
9241 2002-04-05  Nick Drochak  <ndrochak@gol.com>
9242
9243         * Enum.cs (Parse): Handle different underlying types.
9244
9245 2002/04/04 Nick Drochak <ndrochak@gol.com>
9246
9247         * Enum.cs (IsDefined): Throw exception when type of value to look for
9248         is not the correct one.  Attempt to have it work with string values
9249         too, but not sure if the unit tests are getting that far yet.
9250
9251 2002-04-04  Nick Drochak  <ndrochak@gol.com>
9252
9253         * Decimal.cs: Fix a couple of typos.
9254
9255 Wed Apr 3 19:46:00 CEST 2002 Paolo Molaro <lupus@ximian.com>
9256
9257         * Enum.cs: the values array is of the enum and not of the underlying
9258         type. Updates and some bug fixes.
9259         * MonoType.cs: make the internalcall return FullName instead of the
9260         assembly qualified name.
9261         * Type.cs: make ToString () simply return FullName.
9262
9263 2002-04-03  Nick Drochak  <ndrochak@gol.com>
9264
9265         * Type.cs (GetTypeCode): provide some of the implementation for this
9266         method.  It's still too simplistic to be considered complete.
9267
9268 2002-04-02  Dietmar Maurer  <dietmar@ximian.com>
9269
9270         * Object.cs: fixed FieldGetter/FieldSetter signature
9271
9272 2002-04-02  Nick Drochak  <ndrochak@gol.com>
9273
9274         * Environment.cs: add MonoTODO's on parts that should have it.
9275
9276 2002-04-01  Nick Drochak  <ndrochak@gol.com>
9277
9278         * Enum.cs: added reality checks (check parameters to most methods that
9279         need them).
9280
9281 2002-03-30  Dietmar Maurer  <dietmar@ximian.com>
9282
9283         * Object.cs: added FieldGetter/FieldSetter
9284
9285 2002-03-28  Gonzalo Paniagua Javier <gonzalo@ximian.com>
9286
9287         * IntegerFormatter.cs: fixed initialization error in static
9288         constructor.
9289
9290 2002-03-28  Dietmar Maurer  <dietmar@ximian.com>
9291
9292         * Delegate.cs: added new field to store a trampoline function
9293
9294 2002-03-28  Gonzalo Paniagua Javier <gonzalo@ximian.com>
9295
9296         * IntegerFormatter.cs: added workaround for bug #22668. First patch to
9297         make custom format strings work (not fully functional yet).
9298
9299 2002/03/28  Nick Drochak <ndrochak@gol.com>
9300
9301         * IntegerFormatter.cs: Change class from internal to public.  Add
9302         necessary [CLSCompliant(false)] attributes.
9303
9304 2002-03-27  Duco Fijma  <duco@lorentz.xs4all.nl>
9305         * _AppDomain.cs, AppDomain.cs: renamed method GetDate to GetData
9306         (was a typo)
9307
9308 2002-03-28  Nick Drochak  <ndrochak@gol.com>
9309
9310         * Type.cs: Added MonoTODO tags on members that have FIXME, etc.
9311
9312 2002-03-27  Dan Lewis  <dihlewis@yahoo.co.uk>
9313
9314         * Console.cs: Modified to get std handles from MonoIO.
9315         * Environment.cs: removed PAL dependencies.
9316
9317 2002-03-25  Miguel de Icaza  <miguel@ximian.com>
9318
9319         * String.cs (System): Removed internal enumeration, because
9320         bootstrapping the corlib at this point does not support
9321         enumerations. 
9322
9323         * IntPtr.cs: Temporary work-around until I fix the assembly
9324         attributes bug.
9325
9326 2002-03-24  Martin Baulig  <martin@gnome.org>
9327
9328         * Enum.cs (GetValues): According to the docu this is sorted after
9329         values, not names.
9330
9331         * String.cs (System): Removed enumeration, because it is pretty
9332         hard to support enumerations in /nostdlib mode for the core types.
9333
9334 Tue Mar 19 18:18:49 CET 2002 Paolo Molaro <lupus@ximian.com>
9335
9336         * Array.cs: move error handling in the catch block.
9337         * MulticastDelegate.cs: remove == and != operators that were
9338         removed with the delegate changes (when you add stuff, please do not
9339         remove existing functionality!).
9340         * Type.cs: if a property is not found in a type, search for it
9341         in the parent types, too.
9342
9343 2002-03-18  Dan Lewis <dihlewis@yahoo.co.uk>
9344         
9345         * Math.cs: changed to use icall instead of PAL.
9346
9347 2002-03-18  Dietmar Maurer  <dietmar@ximian.com>
9348
9349         * Double.cs: added check for NaN (Bug [22082])
9350
9351 2002-03-19  Nick Drochak  <ndrochak@gol.com>
9352
9353         * Enum.cs (Equals): check for null and throw if it is.
9354         * Enum.cs (Format): check for null parameters and throw if necessary.
9355         This method still needs more argument checking.
9356
9357 2002-03-18  Dietmar Maurer  <dietmar@ximian.com>
9358
9359         * Enum.cs (Equals): check if Enums are of the same type
9360
9361 2002-03-18  Nick Drochak  <ndrochak@gol.com>
9362
9363         * Double.cs: Explicitly handle comparisons in CompareTo() for
9364         Positive/Negative Infinity and NaN. Unit Test now passes on Linux.
9365
9366         * Enum.cs(CompareTo): Check types of values before trying to compare.
9367         Throw exceptions if types are invalid or don't match.
9368
9369 2002-03-14  Miguel de Icaza  <miguel@ximian.com>
9370
9371         * Array.cs: Add some extra debugging information.
9372
9373 2002-03-15  Nick Drochak  <ndrochak@gol.com>
9374
9375         * Array.cs: Added IList and IEnumerable. 
9376
9377 2002-03-14  Miguel de Icaza  <miguel@ximian.com>
9378
9379         * UInt64.cs, UInt32.cs, UInt16.cs: Mark public parse methods as
9380         NonCLSCompliant. 
9381
9382 2002-03-14  Dietmar Maurer  <dietmar@ximian.com>
9383
9384         * Delegate.cs (Equals): also compare method_ptr 
9385         (GetHashCode): returm method_ptr as hash
9386
9387 2002-03-13  Duco Fijma  <duco@lorentz.xs4all.n>
9388         * TimeSpan.cs: removed the use of Custom Numeric Format Strings,
9389         such as 42.ToString("0000000"), as these are (currently) not implemented
9390         in System.IntegerFormatter. TimeSpan luckely can do with Standard
9391         Numeric Format Strings, such as 42.ToString("D7").
9392
9393 2002-03-12  Duncan Mak  <duncan@ximian.com>
9394
9395         * FieldAccessException.cs: 
9396         * MethodAccessException.cs: 
9397         * PlatformNotSupportedException.cs: Inherit from
9398         MemberAccessException, not SystemException.
9399
9400         * ObsoleteAttribute.cs: Made Message and IsError properties
9401         instead of fields.
9402
9403 Tue Mar 12 19:21:18 CET 2002 Paolo Molaro <lupus@ximian.com>
9404
9405         * GC.cs: make SuppressFinalize() a nop.
9406         * Delegate.cs: fix == operator.
9407
9408 2002-03-13  Nick Drochak  <ndrochak@gol.com>
9409
9410         * Enum.cs: Add IConvertible methods. Cyclic dependancy fixed in the
9411         runtime that goes with this patch.
9412
9413 2002-03-10  Martin Baulig  <martin@gnome.org>
9414
9415         * Int32.cs (Parse): Correctly parse negative numbers.
9416
9417 2002-03-08  Martin Baulig  <martin@gnome.org>
9418
9419         * String.cs (Split): Really fix it this time. Also adding several new
9420         testcase to the testsuite.       
9421
9422 2002-03-08  Martin Baulig  <martin@gnome.org>
9423
9424         * Array.cs (Copy): Optimized: removed duplicate null check, removed
9425         two duplicate GetLowerBound() calls and one duplicate IsValueType.
9426
9427 Fri Mar 8 18:49:19 CET 2002 Paolo Molaro <lupus@ximian.com>
9428
9429         * Object.cs: commit my hacked GetHashCode(): it's good enough for now.
9430         * String.cs: use the dumb code for IndexOf(string): this is worth
9431         15-20 % speedup in mcs compile with mint.
9432
9433 Fri Mar 8 12:45:44 CET 2002 Paolo Molaro <lupus@ximian.com>
9434
9435         * String.cs: revert change to Split() that broke the compiler (hi martin!:-).
9436
9437 2002-03-07  Martin Baulig  <martin@gnome.org>
9438
9439         * String.cs (Join): Throw an ArgumentNullException.
9440         (LastIndexOf (string,int,int)): This method does a backwards search,
9441         so startIndex points to the end of value, not to its beginning. Don't
9442         throw an exception if startIndex equals this.Length. Always return -1
9443         if startIndex is smaller than the length of value.
9444         (Replace (string,string)): Replace all occurences of oldValue.
9445         If newValue is null, all occurences of oldValue are to be removed.
9446         (Split (char[],int)): Return an empty array if maxCount is zero, throw
9447         an ArgumentOutOfRangeException if it's less than zero. Return maxValue
9448         elements, not maxValue+1.
9449
9450 Thu Mar 7 17:16:06 CET 2002 Paolo Molaro <lupus@ximian.com>
9451
9452         * MonoType.cs: make GetEvents() an internal call.
9453         * MulticastDelegate.cs: copy the passed in array.
9454
9455 2002-03-06  Martin Baulig  <martin@gnome.org>
9456
9457         * Array.cs (Copy): Use FastCopy when appropriate and do correct
9458         exception handling.
9459
9460 2002-03-06  Duco Fijma  <duco@lorentz.xs4all.nl>
9461         * CharEnumerator.cs: fixes to CharEnumertor.MoveNext, fixing 
9462         some of the failures found be new tests (see ChangeLog in 
9463         Test/System). Comments added to this method, based on
9464         the representation invariant of this class, that (try to) explain
9465         why it now should be correct.
9466
9467 2002-03-06  Dietmar Maurer  <dietmar@ximian.com>
9468
9469         * Int64.cs (Parse): bug fix for max. negative value. 
9470
9471 2002-03-07  Nick Drochak  <ndrochak@gol.com>
9472
9473         * RuntimeTypeHandle.cs: Add Serializable attribute as the docs say.
9474         I need to understand what the difference between the attribute and
9475         the interface is.
9476
9477 2002-03-06  Martin Baulig  <martin@gnome.org>
9478
9479         * Array.cs (Copy): Always throw an ArrayTypeMismatchException, not
9480         an InvalidCastException if the widening conversion failed. See
9481         testcases #M94-#M96.
9482
9483         * Array.cs (CopyTo): Bug fix from Ajay Dwivedi, correctly handle
9484         arrays with non-zero lower bounds. Also adding testcases #F10-#F13
9485         for this.
9486
9487         * Array.cs (CopyTo): Reverted my last change, it was incorrect.
9488         (Copy): Actually allow copying multi-dimensional arrays.
9489
9490 2002-03-05  Duncan Mak  <duncan@ximian.com>
9491
9492         * Convert.cs:
9493         (DBNull) Added the missing field.
9494         (IsDBNull) Fixed typo.
9495         (ToByte (string, int)) Implemented.
9496         (ToString (byte, int)) Implemented.
9497         (ConvertToBase)
9498         (BuildConvertedString) internal functions used for converting values to
9499         a specific base.
9500
9501         * Int16.cs: 
9502         * Int32.cs:
9503         * Int64.cs:
9504         * Single.cs:
9505         * UInt16.cs: 
9506         * UInt32.cs: Implemented the IConvertible interface.    
9507
9508         * CharEnumerator.cs: Renamed to variables to be clearer and
9509         changed some of the tests to conform to the 1.0 spec.
9510
9511 2002-03-06  Martin Baulig  <martin@gnome.org>
9512
9513         * Array.cs (Copy): Calculate absolute array position here and use
9514         GetValueImpl() and SetValueImpl() with that position. We can now
9515         copy multi-dimensional arrays.
9516         (CopyTo): Small bug fix.
9517
9518 2002-03-05  Duco Fijma  <duco@lorentz.xs4all.nl>
9519
9520         * Version.cs: CompareTo changed according the LAMESPEC discovered by 
9521         Nick (See VersionTest.cs).
9522         * CharEnumerator.cs: fixed two bugs in MoveNext. It had an off-by-one
9523         error comparing the current position (idx) against the length of the
9524         string iterated and it set idx to an unrecognized special value (-2)
9525
9526 Tue Mar 5 17:34:14 CET 2002 Paolo Molaro <lupus@ximian.com>
9527
9528         * SByte.cs, UInt64.cs: implement IConvertible interface. Nobody wants
9529         to do this dirty work, but someone has to do it (and I need it to pass
9530         the "200 sample tests compiled on linux" mark).
9531
9532 2002-03-06  Nick Drochak  <ndrochak@gol.com>
9533
9534         * Attribute.cs
9535         * DecimalFormatter.cs
9536         * Delegate.cs
9537         * Double.cs
9538         * GC.cs
9539         * Int16.cs
9540         * Int32.cs
9541         * MonoType.cs
9542         * RuntimeMethodHandle.cs
9543         * RuntimeTypeHandle.cs
9544         * String.cs
9545         * Type.cs:
9546                 Add [MonoTODO]'s to places where we currently throw a
9547                 NotImplementedException.
9548
9549 2002-03-05  Dietmar Maurer  <dietmar@ximian.com>
9550
9551         * Int16.cs (Parse): do not overflow on max negative value
9552
9553         * Int32.cs (Parse): do not overflow on max negative value
9554
9555 Mon Mar 4 20:36:05 CET 2002 Paolo Molaro <lupus@ximian.com>
9556
9557         * Type.cs: fixed IsClass.
9558         * MonoType.cs: fixed MemberType, IsPrimitiveImpl, IsPointerImpl,
9559         IsByRefImpl. Added GetInterfaces().
9560         * IServiceProvider.cs: compilation fix.
9561
9562 Mon Mar 4 18:37:03 CET 2002 Paolo Molaro <lupus@ximian.com>
9563
9564         * Array.cs: allow copying an empty array to an empty array.
9565
9566 Mon Mar 4 17:59:16 CET 2002 Paolo Molaro <lupus@ximian.com>
9567
9568         * String.cs: fixed LastIndexOf (string) to do a bit of argument
9569         checking.
9570
9571 2002-03-04  Duco Fijma  <duco@lorentz.xs4all.nl>
9572         * Version.cs: many fixes to failures found by the newly created
9573         test cases for this class. Specifically, the CompareTo member
9574         returned wrong values due to the use of Int32.MaxValue as a special
9575         value indicating an "undefined" version component. Also implemented the
9576         missing operators (==, <, >, etc.), one missing constructor and
9577         and some exception throwing.
9578
9579 2002-03-04  Nick Drochak  <ndrochak@gol.com>
9580
9581         * IServiceProvider.cs: Add missing attribute: ComVisible(false)
9582         * Attribute.cs: Add missing attributes: Serializable and
9583         AttributeUsage(AttributeTargets.All)
9584
9585 Mon Mar 4 11:26:49 CET 2002 Paolo Molaro <lupus@ximian.com>
9586
9587         * MonoType.cs: implemented GetConstructors(), GetFields(),
9588         GetMethods(), GetProperties().
9589         * Object.cs: added debugging icall obj_address().
9590         * Type.cs: fixed the binding flags for some Get* methods.
9591         Implemented FindMembers() as calls to the specific GetMember
9592         methods.
9593
9594 2002-03-01  Duco Fijma  <duco@lorentz.xs4all.nl>
9595         * BitConverter.cs: fixed one little bug: ToString(s, n, 0) 
9596         should give an exception for n>=s.Length.
9597
9598 2002-03-01  Martin Baulig  <martin@gnome.org>
9599
9600         * Array.cs: More argument checking and bug fixing.
9601
9602 2002-03-01  Miguel de Icaza  <miguel@ximian.com>
9603
9604         * BitConverter.cs: Indentation match
9605
9606         * AppDomain.cs: Added MonoTODOs to this too.
9607
9608         * Buffer.cs: Added MonoTODOs to this.
9609
9610 2002-03-01  Martin Baulig  <martin@gnome.org>
9611
9612         * Array.cs: Added argument checking to all methods where it was missing.
9613
9614 2002-03-01  Duco Fijma  <duco@lorentz.xs4all.nl>
9615
9616         * BitConverter.cs: Fixed bugs in ToString methods
9617
9618 Fri Mar 1 15:20:00 CET 2002 Paolo Molaro <lupus@ximian.com>
9619
9620         * MulticastDelegate.cs: implement operators so mcs3 can be used on linux.
9621
9622 2002-03-01  Nick Drochak  <ndrochak@gol.com>
9623
9624         * BitConverter.cs: Throw ArgumentException like mscorlib, instead of
9625         ArgumentOutOfRangeException like the docs say.
9626
9627 2002-03-01  Martin Baulig  <martin@gnome.org>
9628
9629         * Enum.cs (CompareTo): Correctly override this method from IComparable.
9630
9631         * Console.cs (setIn, setOut, setError): It's called SetIn, SetOut, SetError.
9632
9633 2002-02-28  Martin Baulig  <martin@gnome.org>
9634
9635         * String.cs: This file now passes the testsuite on Linux :-)
9636         
9637         * String.cs (Intern, IsInterned): The interncalls are now called _Intern and _IsInterned;
9638         make them private and provide C# wrappers which do proper argument checking.
9639
9640         * String.cs (Format): Correctly handle escaped brackets.
9641
9642         * String.cs (_CompareChar): New internal function which compares two chars.
9643         (_Compare): Provide an internal compare method which can do all sorts of
9644         comparision and call it from all the Compare() methods. Also fixed a lot of
9645         bugs here, this code now actually passes the testsuite.
9646
9647 2002-02-28  Duncan Mak  <duncan@ximian.com>
9648
9649         * Convert.cs: Added the missing methods. The new class status page
9650         kicks ass, it even found my typos! Woohoo!
9651         (ConvertFromBase): Moved the Exception throwing in here and
9652         removed the other occurances so it's all centralized now.
9653         (ISDBNull): Implemented.
9654         (GetTypeCode): Implemented.
9655
9656 2002-02-27  Duco Fijma  <duco@lorentz.xs4all.nl>
9657         * Guid.cs: Guid.ToString("") and Guid.ToString(null) is now understood as Guid.ToString("D") 
9658         just as in mscorlib. There is (probably) a documentation bug in the MS FrameWork SDK, which
9659         states that a lacking format should be interpreted as "N".  
9660         Also added [Serializable] attribute
9661         * TimeSpan.cs: some formatting and added the [Serializable] attribute
9662
9663 2002-02-26  Duncan Mak  <duncan@ximian.com>
9664
9665         * WeakReference.cs: Committed for Ajay Kumar Dwivedi.   
9666
9667 2002-02-26  Martin Baulig  <martin@gnome.org>
9668
9669         * TimeZone.cs: Use an internal enum rather than magic numbers to access the
9670         fields of the interncall GetTimeZoneData.
9671
9672         * DateTime.cs: Implemented Parse and fixed a few bugs.
9673
9674         * String.cs (TrimStart): Small fix.
9675
9676 2002-02-26  Martin Baulig  <martin@gnome.org>
9677
9678         * DateTime.cs: ParseExact is now fully functional.
9679
9680         * String.cs (TrimEnd): Small fix.
9681
9682 2002-02-26  Duco Fijma <duco@lorentz.xs4all.nl>
9683         * TimeSpan.cs: Added method TimeSpan.FromMilliseconds, mysteriously 
9684         missing for about six months.
9685
9686 Tue Feb 26 14:21:19 CET 2002 Paolo Molaro <lupus@ximian.com>
9687
9688         * UInt64.cs: fixed Parse method () to handle some of the NumberStyle flags.
9689
9690 2002-02-26  Martin Baulig  <martin@gnome.org>
9691
9692         * DateTime.cs: Miguel already committed this, but there was still a
9693         ChangeLog entry for this missing ....
9694         We're now reusing functionality from TimeSpan, printing dates is
9695         fully implemented, currently working on parsing.
9696
9697         * TimeZone.cs: Fully implemented this. There's a new InternCall in the
9698         runtime for this.
9699
9700 Fri Feb 22 18:47:08 CET 2002 Paolo Molaro <lupus@ximian.com>
9701
9702         * MonoType.cs: disable constructor.
9703         * Object.cs: make GetType() an internalcall.
9704         * Type.cs: added correct bindingflags to GetMethods ().
9705         All such calls should be reviewed to use the correct flags.
9706
9707 Thu Feb 21 19:23:46 CET 2002 Paolo Molaro <lupus@ximian.com>
9708
9709         * Type.cs, MonoType.cs: type_is_subtype_of () changed to include extra
9710         argument.
9711
9712 Thu Feb 21 16:56:51 CET 2002 Paolo Molaro <lupus@ximian.com>
9713
9714         * Type.cs: implemented IsAssignableFrom.
9715
9716 2002-02-21  Duco Fijma <duco@lorentz.xs4all.nl>
9717         * Guid.cs: fixed Guid.Guid(string) ctor. Changed format:
9718         "{0xdddddddd,0xdddd,0xdddd,{0xdd},{0xdd},{0xdd},{0xdd},{0xdd},{0xdd}}" 
9719         to "{0xdddddddd,0xdddd,0xdddd,{0xdd,0xdd,0xdd,0xdd,0xdd,0xdd}}" 
9720         The former is documented by Microsoft. The latter is how they
9721         actually implemented it in mscorlib:-)
9722
9723 Tue Feb 19 20:34:35 CET 2002 Paolo Molaro <lupus@ximian.com>
9724
9725         * MonoCustomAttrs.cs: hooks to get the custom attributes from the
9726         runtime.
9727         * MonoType.cs: Implemented custom attributes methods.
9728
9729
9730 2002-02-21  Duco Fijma <duco@lorentz.xs4all.nl>
9731         * Guid.cs: 
9732
9733 Tue Feb 19 20:34:35 CET 2002 Paolo Molaro <lupus@ximian.com>
9734
9735         * MonoCustomAttrs.cs: hooks to get the custom attributes from the
9736         runtime.
9737         * MonoType.cs: Implemented custom attributes methods.
9738
9739 2002-02-19  Dietmar Maurer  <dietmar@ximian.com>
9740
9741         * Array.cs (CopyTo): use GetLength() instead of GetUpperBound() 
9742
9743 2002-02-19  Duncan Mak  <duncan@ximian.com>
9744
9745         * Convert.cs: Finished up the missing methods in Convert. Added a
9746         new private method ConvertFromBase.
9747
9748 2002-02-19  Dietmar Maurer  <dietmar@ximian.com>
9749
9750         * String.cs: impl. IConvertible interface
9751
9752 2002-02-18  Duco Fijma <duco@lorentz.xs4all.nl>
9753         * Guid.cs: actual implementation for Guid.Guid(string) Ctor
9754
9755 2002-02-18  Duncan Mak  <duncan@ximian.com>
9756
9757         * Convert.cs: Changed from using Type.GetType (string) to just
9758         typeof (). Probably will speed things up a bit?         
9759
9760 2002-02-18  Ajay Kumar Dwivedi <AjayKumar.Dwivedi@dresdner-bank.com>
9761
9762         * Array.cs:         
9763         1. Fix for GetUpperBound to return correct values
9764         2. made some Properties virtual
9765         3. Adds IsFixedSize and IsReadOnly properties.
9766         4. changes CreateInstance(Type,int[],int[]) to throw Exception
9767         when third arg is null. InternalCall CreateInstance changed to  
9768         CreateInstanceImpl
9769         5. Fixed array.GetUpperBound at a couple of places
9770         6. IndexOf and LastIndexOf now use Object.Equals instead of "=="
9771         7. Added two FIXME's in BinarySearch functions.
9772
9773 2002-02-17  Duncan Mak  <duncan@ximian.com>
9774
9775         * TimeZone.cs:  Applied the rest of Ajay's patch for    
9776         IsDaylightSavingTime. Thanks a lot for the nice explanation of how
9777         it works!
9778
9779 2002-02-17  Duco Fijma  <duco@lorentz.xs4all.nl>
9780         * Guid.cs: added stub for Guid(string) ctor
9781
9782 2002-02-17  Duncan Mak  <duncan@ximian.com>
9783
9784         * Convert.cs: Near-complete implementation of Convert.cs
9785
9786         Added all the To* methods taking (object) and
9787         (object, IFormatProvider) as parameters.
9788
9789         Added [CLSCompliant (false)] attributes to methods dealing with
9790         unsigned types.
9791
9792         Added the missing section on converting to and from DateTime. Only
9793         6 missing methods, all marked with MonoTODOs. Will tackle them later.           
9794
9795 2002-02-16  Duncan Mak  <duncan@ximian.com>
9796
9797         * TimeZone.cs: patch from Ajay Kumar Dwivedi (adwiv@yahoo.com) to
9798         make IsDaylightSavingTime (DateTime) call 
9799         IsDaylightSavingTime (DateTime, DaylightTime).  
9800         
9801         Added internal class CurrentTimeZone from Ajay. It needs more work
9802         to fill in the appropriate internal calls.
9803         
9804 Sat Feb 16 12:41:41 CET 2002 Paolo Molaro <lupus@ximian.com>
9805
9806         * Type.cs: fix IsClass.
9807
9808 Sat Feb 16 12:02:02 CET 2002 Paolo Molaro <lupus@ximian.com>
9809
9810         * String.cs: fix Trim().
9811
9812 Fri Feb 15 21:02:46 CET 2002 Paolo Molaro <lupus@ximian.com>
9813
9814         * String.cs: fix more off by one errors.
9815
9816 Thu Feb 14 18:54:09 CET 2002 Paolo Molaro <lupus@ximian.com>
9817
9818         * MonoType.cs: fix IsValueTypeImpl.
9819         * Type.cs: fix IsEnum. Implement Equals methods.
9820
9821 Wed Feb 13 21:50:13 CET 2002 Paolo Molaro <lupus@ximian.com>
9822
9823         * Int32.cs: implement IConvertible interface.
9824         
9825 2002-02-12  Duncan Mak  <duncan@ximian.com>
9826
9827         * TimeZone.cs: Implemented and added to CVS.
9828
9829 2002-02-11  Duncan Mak  <duncan@ximian.com>
9830
9831         * Convert.cs: Implemented the ChangeType () methods.
9832
9833 Mon Feb 11 19:48:58 CET 2002 Paolo Molaro <lupus@ximian.com>
9834
9835         * Array.cs: make Clone() an internal call.
9836
9837 2002-02-09  Duco Fijma <duco@lorentz.xs4all.nl>
9838         * Changed Guid.NewGuid so that it can use both System.Random and 
9839           System.Security.Cryptography.RandomNumberGenerator
9840
9841 2002-02-09  Duco Fijma <duco@lorentz.xs4all.nl>
9842         * First version of Guid.NewGuid
9843
9844 2002-02-08  Duncan Mak  <duncan@ximian.com>
9845
9846         * RuntimeArgumentHandle.cs: Added to CVS.
9847
9848 Fri Feb 8 19:14:54 CET 2002 Paolo Molaro <lupus@ximian.com>
9849
9850         * CrossAppDomainDelegate.cs, AssemblyLoadEventHandler.cs,
9851         UnhandledExceptionEventHandler.cs: added delegates.
9852
9853 Fri Feb 8 18:06:20 CET 2002 Paolo Molaro <lupus@ximian.com>
9854
9855         * MarshalByRefObject.cs: add ToString () method
9856         (apparently needed by nunit).
9857         * _AppDomain.cs: uncomment ToString(): dietmar fixed the bug triggered
9858         by it in the runtime.
9859
9860 2002-02-08  Dan Lewis <dihlewis@yahoo.co.uk>
9861         
9862         * String.cs (Format): implemented
9863
9864 2002-02-07  Duncan Mak  <duncan@ximian.com>
9865         
9866         * DuplicateWaitObjectException:
9867         * InvalidCastException:
9868         * NotImplementedException:
9869         * NotSupportedException:
9870         * NullReferenceException:
9871         * OutOfMemoryException:
9872         * OverflowException:
9873         * RankException:
9874         * StackOverflowException.cs:
9875         * UnauthorizedAccessException: Added missing constructor used for serialization.
9876
9877 2002-02-07  Dietmar Maurer  <dietmar@ximian.com>
9878
9879         * String.cs (System.Compare): bug fix 
9880
9881 2002-02-06  Dietmar Maurer  <dietmar@ximian.com>
9882
9883         * Enum.cs (Parse,  GetHashCode): impl. 
9884
9885 2002-02-05  Duncan Mak  <duncan@ximian.com>
9886
9887         * DBNull.cs: This is my first crack at the DBNull class. I think I
9888         actually got most of the IConvertible methods right, but I haven't
9889         done the research to test whether or not this is the correct
9890         behavior. IConvertible.ToType () is the most iffy of all, IMHO.
9891
9892         * DllNotFoundException.cs: Inherits from TypeLoadException, not SystemException.
9893
9894 2002-02-05  Dietmar Maurer  <dietmar@ximian.com>
9895
9896         * Enum.cs: added more functionality (GetName, ToObject, Equals)
9897
9898 2002-01-31  Duncan Mak  <duncan@ximian.com>
9899
9900         * InvalidOperationException.cs:
9901         * NotFiniteNumberException.cs:
9902         * ObjectDisposedException.cs:
9903         * TypeInitializationException.cs: Added missing bits for serialization/
9904         
9905         * AppDomainUnloadedException.cs:
9906         * ApplicationException.cs:
9907         * ArgumentOutOfRangeException.cs:
9908         * ArithmeticException.cs:
9909         * ArrayTypeMismatchException:
9910         * BadImageFormatException.cs:
9911         * Exception.cs:
9912         * MissingMemberException.cs:
9913         * TypeLoadException.cs: Added missing bits for serialization.
9914
9915 2002-01-30  Duco Fijma <duco@lorentz.xs4all.nl>
9916         * Guid.cs: implemented everything but Guid.NewGuid
9917
9918 Tue Jan 29 22:32:36 CET 2002 Paolo Molaro <lupus@ximian.com>
9919
9920         * _AppDomain.cs: remove ToString() method: it doesn't seem right 
9921         to have it in this interface and it screws up the method vtable setup.
9922
9923 2002-01-28  Andrei Zmievski <andrei@php.net>
9924
9925         * Double.cs: implemented IConvertible interface.
9926
9927 2002-01-28  Miguel de Icaza  <miguel@ximian.com>
9928
9929         * ArgumentException.cs: Implement serialization constructor.
9930         (GetObjectData): Implement serializer.
9931         
9932         * ArgumentNullException.cs: Implement serialization constructor.
9933
9934         * Exception.cs: Implement serialization constructor.
9935         (GetObjectData): Implement serializer.
9936
9937 2002-01-23  Miguel de Icaza  <miguel@ximian.com>
9938
9939         * DateTime.cs (UnixEpoch): The Begining of the Unix epoch.
9940
9941 2002-01-23  Duncan Mak  <duncan@ximian.com>
9942
9943         * EntryPointNotFoundException.cs:
9944         * FormatException: Added missing constructor and related bits.
9945
9946         * TypeLoadException: Added missing constructor, methods and properties.
9947
9948 2002-01-23  Miguel de Icaza  <miguel@ximian.com>
9949
9950         * AppDomain.cs (GetAssemblies): Use foreach construct instead of
9951         manually getting the enumerator.
9952
9953         (AppDomain.AppDomain): Prime the loaded assemblies with the
9954         assemblies loaded by the runtime in our behalf.
9955
9956         * AppDomainSetup.cs: Remove private keyword, that is the default.
9957         Add a new property DisallowPublisherPolicy.
9958
9959         * AppDomain.cs (AppDomain.GetAssemblies): Implement.
9960
9961 Tue Jan 22 22:51:48 CET 2002 Paolo Molaro <lupus@ximian.com>
9962
9963         * MonoType.cs, Type.cs: many updates, corrected implementation,
9964         completed stubs.
9965
9966 2002-01-20  Andrei Zmievski <andrei@php.net>
9967
9968         * Byte.cs:
9969         * Char.cs: implemented IConvertible interface.
9970
9971         * Boolean.cs: use our own ToString() method directly.
9972
9973 2002-01-20  Duncan Mak  <duncan@ximian.com>
9974
9975         * Files I commited recently: Fixed indentation style.
9976
9977 2002-01-20 Nick Drochak  <ndrochak@gol.com>
9978
9979         * SerializableAttribute.cs: this attrib can be used on enums, structs, 
9980         and delegates too. Added the appropriate usage flags.
9981
9982 2002-01-18  Duncan Mak  <duncan@ximian.com>
9983
9984         * CharEnumerator.cs: Implemented.
9985         * String.cs (System): Fixed the GetEnumerator () method(s).
9986
9987         * ObsoleteAttribute.cs:
9988         * STAThreadAttribute.cs:
9989         * MTAThreadAttribute.cs:
9990         * ThreadStaticAttribute.cs:
9991         * LoaderOptimizationAttribute.cs:
9992         * PlatformNotSupportedException.cs:
9993         * LoaderOptimization.cs: Added to CVS.
9994
9995 2002-01-18  Duncan Mak  <duncan@ximian.com>
9996
9997         * AppDomainUnloadedException.cs:
9998         * MethodAccessException.cs:
9999         * ContextMarshalException.cs:
10000         * CannotUnloadAppDomainException.cs:
10001         * DllNotFoundException.cs:
10002         * EntryPointNotFoundException.cs:
10003         * FieldAccessException.cs:
10004         * TypeUnloadedException.cs:
10005         * MissingFieldException.cs: Added to CVS.
10006
10007         * ApplicationException.cs: 
10008         * MemberAccessException.cs:
10009         * MissingMemberException.cs
10010         * MissingMethodException.cs:
10011         * SystemException.cs: Added [Serializable] attribute.
10012
10013         * Exception.cs: Added [Serializable] attribute, made properties
10014         'Message', 'Source' and 'StackTrace' virtual methods, per 1.0
10015         spec.
10016
10017         * ContextStaticAttribute.cs: Added [Serializable] attribute and
10018         put in the missing constructor.
10019
10020         * Environment.cs: Commented out references to
10021         EnvironmentPermissionAttribute, because they're just stubbed out
10022         right now and has no implementation.
10023
10024 2002-01-16  Andrei Zmievski <andrei@php.net>
10025
10026         * Boolean.cs: implemented IConvertible interface
10027
10028 2002-01-15  Nick Drochak  <ndrochak@gol.com>
10029
10030         * ResolveEventArgs.cs: class should derive from EventArgs.
10031
10032 2002-01-14  Miguel de Icaza  <miguel@ximian.com>
10033
10034         * String.cs (System): Use DefaultMemberName for the String class.
10035
10036 Mon Jan 14 17:06:40 CET 2002 Paolo Molaro <lupus@ximian.com>
10037
10038         * String.cs: use IndexerName in index char accessor.
10039
10040 Thu Jan 10 21:05:23 CET 2002 Paolo Molaro <lupus@ximian.com>
10041
10042         * MonoType.cs: add rank to MonoTypeInfo and implement GetArrayRank.
10043         * String.c: eliminate 64k+ method calls in search.
10044         * Type.cs: handle byref and array types in ToString ().
10045
10046 2002-01-09  Duco Fijma <duco@lorentz.xs4all.nl>
10047
10048         * Guid.cs: created first version
10049
10050 2002-01-10  Dietmar Maurer  <dietmar@ximian.com>
10051
10052         * MonoType.cs: added missing TypeAttributes to MonoTypeInfo 
10053
10054 Wed Jan 9 19:35:07 CET 2002 Paolo Molaro <lupus@ximian.com>
10055
10056         * MulticastDelegate.cs: add == and != operator stubs.
10057         * String.cs: check for null in == operator.
10058         * Type.cs: use a virtual method to get TypeAttributes.
10059
10060 Tue Jan  8 23:30:19 EST 2002 Matt Kimball <matt@kimball.net>
10061         * String.cs: Fixed several off-by-one errors in LastIndexOf* methods
10062
10063 2002-01-09  Nick Drochak  <ndrochak@gol.com>
10064         
10065         * Environment.cs: Comment out Security attribute and put a MonoTODO
10066         there as a reminder.  We need mcs magic to handle security attributes in
10067         corlib.
10068
10069 2002-01-07  Duco Fijma <duco@lorentz.xs4all.nl>
10070         * Created IAppDomainSetup.cs
10071
10072 2002-01-06  Duco Fijma <duco@lorentz.xs4all.nl>
10073         * Created System._AppDomain interface in _AppDomain.cs
10074
10075 2002-01-06  Nick Drochak  <ndrochak@gol.com>
10076
10077         * ResolveEventArgs.cs: New File, completely implemented! ;)
10078
10079 Sat Jan 5 15:53:50 CET 2002 Paolo Molaro <lupus@ximian.com>
10080
10081         * Enum.cs: dummy ToString impl.
10082         * String.cs: dummy format implementations to get compiler errors
10083         somewhat working.
10084         * Type.cs: implemented filter delegates. FindMembers runs the filter, now.
10085
10086 2002-01-05  Ravi Pratap  <ravi@ximian.com>
10087
10088         * TODOAttribute.cs : Augment some more; provide two constructors
10089         with support for a comment too.
10090
10091 2002-01-05  Nick Drochak  <ndrochak@gol.com>
10092
10093         * Uncommented those MonoTODO's now that Ravi's got
10094         the class in there
10095
10096 2001-01-04  Ravi Pratap  <ravi@ximian.com>
10097
10098         * TODOAttribute.cs : Actually add this time ;-)
10099
10100         Change name to MonoTODO.
10101
10102 2002-01-04  Jeffrey Stedfast  <fejj@ximian.com>
10103
10104         * String.cs (Trim): Fixed a few logic bugs in the code that
10105         calculated how much to trim off the end of the string.
10106
10107 2001-01-04  Nick Drochak  <ndrochak@gol.com>
10108         
10109         * Commented out the [TODO] attributes for now.  We don't have the
10110         class written.  Also changed it to [MonoTODO]
10111
10112 2002-01-04  Ravi Pratap  <ravi@ximian.com>
10113
10114         * TODOAttribute.cs : Add. We use this attribute to tag all bits in
10115         our class libraries that are incomplete.
10116
10117         * Array.cs : Apply attribute wherever we find a FIXME which says
10118         we need something to be implemented there.
10119
10120         * Int32.cs : Ditto.
10121
10122         * MulticastDelegate.cs : Ditto.
10123
10124         * RuntimeFieldHandler.cs, RuntimeMethodHandle.cs,
10125         RuntimeTypeHandle.cs : Ditto.
10126
10127         * String.cs : Ditto.
10128
10129         * Type.cs : Ditto.
10130
10131         * Byte.cs, Char.cs, ContextBoundObject.cs, DateTime.cs, Delegate.cs : Ditto.
10132
10133         * Enum.cs, Environment.cs, Exception.cs, Int64.cs, SByte.cs, Single.cs, 
10134         UInt16.cs, UInt32.cs, ValueType.cs: Ditto.
10135
10136         * Byte.cs, Char.cs, ContextBoundObject.cs, DateTime.cs,
10137         Delegate.cs : Ditto.
10138
10139         * Enum.cs, Environment.cs, Exception.cs, Int64.cs, SByte.cs,
10140         Single.cs, UInt16.cs, UInt32.cs, ValueType.cs: Ditto.
10141         
10142 Thu Jan 3 23:24:04 CET 2002 Paolo Molaro <lupus@ximian.com>
10143
10144         * Delegate.cs: add Remove() stub.
10145         * Enum.cs: add ToObject().
10146         * Type.cs: add IsEnum property.
10147
10148 2002-01-03  Kristian Rietveld  <kris@gtk.org>
10149
10150         * Convert.cs: add non-CLS-compliant ToBoolean methods for char,
10151         DateTime and object.
10152
10153 2001-12-30  Nick Drochak  <ndrochak@gol.com>
10154
10155         * Byte.cs (Parse): Add comments to aid in testing.
10156
10157 2001-12-21  Miguel de Icaza  <miguel@ximian.com>
10158
10159         * Char.cs (Parse): Implement.
10160
10161         * Byte.cs (Parse): Implement a fast parser.
10162         
10163         * SByte.cs (Parse): Implement a fast parser.
10164
10165         * UInt16.cs (Parse): Implement a fast parser.
10166         
10167         * Int16.cs (Parse): Implement a fast parser.
10168
10169         * UInt32.cs (Parse): Implement a fast parser.
10170
10171         * Int32.cs (Parse): Implement a fast parser.
10172
10173 Fri Dec 21 15:14:52 CET 2001 Paolo Molaro <lupus@ximian.com>
10174
10175         * Array.cs: fix null ref in sort code.
10176         * UInt64.cs: add bare-bones parse.
10177
10178 Thu Dec 20 15:29:52 CET 2001 Paolo Molaro <lupus@ximian.com>
10179         
10180         * Byte.cs: removed use of Regexes.
10181
10182 Tue Dec 18 18:39:54 CET 2001 Paolo Molaro <lupus@ximian.com>
10183
10184         * Enum.cs: implemented GetValues(), GetNames(), GetName(),
10185         IsDefined(), GetUnderlyingType().
10186         * String.cs: fix one instance of Compare().
10187         * Type.cs: implemented GetProperties(), GetProperty().
10188
10189 Thu Dec 13 20:10:57 CET 2001 Paolo Molaro <lupus@ximian.com>
10190
10191         * Array.cs: implement CopyTo ().
10192         * Char.cs: implement ToString ().
10193         * Exception.cs: bugfix.
10194         * Int32.cs: bare-bones Parse ().
10195         * MonoType.cs: query the needed info with an internalcall.
10196         * String.cs: speedups, bugfixes, reduced copies.
10197         * Type.cs: added missing fields. Implemented many of the Is*
10198         properties. Implemented GetMethod(), GetConstructor(), GetMethods(),
10199         GetFields(), FindMembers(), ToString().
10200         
10201 2001-12-11  Dick Porter  <dick@ximian.com>
10202
10203         * DateTime.cs: Implemented FromFileTime() and ToFileTime()
10204
10205         * Console.cs: Use handles rather than casting file descriptors
10206
10207 2001-12-08  Nick Drochak  <ndrochak@gol.com>
10208
10209         * Byte.cs (Parse): Start implementation. Parse(string) works, but
10210         now we need to handle other formats
10211
10212 2001-12-06  Dietmar Maurer  <dietmar@ximian.com>
10213
10214         * DateTime.cs: added an icall to GetNow()
10215
10216 2001-12-04  Dietmar Maurer  <dietmar@ximian.com>
10217
10218         * Double.cs: added the parse method from Bob Smith
10219
10220 2001-11-28  Miguel de Icaza  <miguel@ximian.com>
10221
10222         * UInt64.cs: ditto.
10223
10224         * UInt32.cs: ditto.
10225
10226         * Int32.cs (Int32.CompareTo): Fix because we can not just
10227         substract the values.
10228
10229         Return possitive value if the object is null.
10230
10231         * Boolean.cs: (Boolean.CompareTo): ditto.
10232
10233         * Int16.cs (Int16.CompareTo): ditto.
10234
10235         * Byte.cs (Byte.CompareTo): ditto.
10236
10237         * SByte.cs (SByte.CompareTo): ditto.
10238
10239         * Char.cs (Char.CompareTo): ditto.
10240         
10241         * Decimal.cs (Decimal.CompareTo): ditto.
10242
10243         * Int64.cs (Int64.CompareTo): ditto.
10244
10245         * Single.cs: Ditto.
10246
10247         * UInt16.cs: Ditto.
10248
10249 2001-11-28  Nick Drochak <ndrochak@gol.com>
10250
10251         * Byte.cs: Throw NotImplementedException for Parse.
10252
10253 2001-11-27  Derek Holden  <dholden@draper.com>
10254
10255         * IntegerFormatter.cs: Formatting of type "Number" was not
10256         using NumberFormatInfo.NumberNegativePattern.
10257
10258 2001-11-26  Dick Porter  <dick@ximian.com>
10259
10260         * LocalDataStoreSlot.cs: No need to delete a system TLS slot in
10261         the finalise routine any more
10262
10263 2001-11-21  Miguel de Icaza  <miguel@ximian.com>
10264
10265         * ApplicationException.cs: internationalize by adding calls to
10266         Locale.GetText ().  And throw NotImplementedExceptions on calls
10267         that we have to implement.
10268
10269         * Version.cs: Ditto.
10270
10271         * ValueType.cs: ditto.
10272
10273         * UnauthorizedAccessException.cs: ditto.
10274
10275         * UInt32.cs: ditto.
10276
10277         * UInt64.cs: ditto.
10278
10279         * UInt16.cs: ditto.
10280
10281         * TypeLoadException.cs: ditto
10282
10283         * TypeInitializationException.cs: ditto.
10284
10285         * Type.cs: ditto.
10286
10287         * TimeSpan.cs: ditto.
10288
10289         * SystemException.cs: ditto.
10290
10291         * String.cs: ditto.
10292
10293         * StackOverflowException.cs: ditto.x
10294
10295         * Single.cs: ditto.
10296
10297         * SByte.cs: ditto.
10298
10299         * RuntimeTypeHandle.cs: ditto.
10300
10301         * RuntimeMethodHandle.cs: ditto.
10302
10303         * RuntimeFieldHandle.cs: ditto.
10304
10305         * Random.cs: ditto.
10306
10307         * OutOfMemoryException.cs: ditto.
10308
10309         * OperatingSystem.cs: ditto.
10310
10311         * ObjectDisposedException.cs: ditto.
10312
10313         * NullReferenceException.cs: ditto.
10314
10315         * NotImplementedException.cs: ditto.
10316
10317         * NotFiniteNumberException.cs: ditto.o
10318
10319         * MulticastNotSupportedException.cs: ditto.
10320
10321         * MissingMethodException.cs: ditto.
10322
10323         * MemberAccessException.cs: ditto.
10324
10325         * Math.cs: ditto.
10326
10327         * InvalidCastException.cs: ditto.
10328
10329         * IntegerFormatter.cs: ditto.
10330
10331         * Int32.cs: ditto.
10332
10333         * Int16.cs: ditto.
10334
10335         * IndexOutOfRangeException.cs: ditto.
10336
10337         * Environment.cs: ditto
10338
10339         * Enum.cs: ditto.
10340
10341         * DuplicateWaitObjectException.cs: ditto.
10342
10343         * DivideByZeroException.cs: ditto.
10344
10345         * Delegate.cs: ditto
10346
10347         * DecimalFormatter.cs: ditto.
10348
10349         * Decimal.cs: ditto.
10350
10351         * DateTime.cs: ditto.
10352
10353         * Convert.cs: ditto.
10354
10355         * Char.cs: ditto.
10356
10357         * Byte.cs: ditto.
10358
10359         * Boolean.cs: ditto.
10360
10361         * ArrayTypeMismatchException.cs: ditto.
10362
10363         * ArithmeticException.cs: ditto.
10364
10365         * ArgumentOutOfRangeException.cs: ditto.
10366
10367         * ArgumentNullException.cs: ditto.
10368
10369         * Enum.cs: Make it derive from ValueType, add CompareTo method.
10370
10371         * Attribute.cs: Reformat.
10372
10373 2001-11-14  Miguel de Icaza  <miguel@ximian.com>
10374
10375         * Decimal.cs, Double.cs, Byte.cs, Char.cs, Int16, UInt16, Int32,
10376         UInt32, Int64, UInt64, SByte, Single (CompareTo): Throw the
10377         exception if the value is null too.
10378
10379         * Char.cs (CompareTo): ditto.
10380
10381         * ApplicationException.cs: Added constructor that does serialization.
10382
10383         * ParamArrayAttribute.cs: Define attribute correctly.
10384
10385 Wed Nov 14 16:31:19 CET 2001 Paolo Molaro <lupus@ximian.com>
10386
10387         * AppDomain.cs: rename dummy interface _AppDomain to AppDomain_Intf.
10388         * Array.cs: fix Array.Copy.
10389         * AssemblyLoadEventArgs.cs: rename field.
10390         * CLSCompliantAttribute.cs: use correct name for the class.
10391         * Char.cs: fix IsLetter.
10392         * Console.cs, DateTime.cs, Decimal.cs, IConvertible.cs, Math.cs,
10393         SByte.cs, UInt16.cs, UInt32.cs, UInt64.cs, UIntPtr.cs: CLSCompliant updates.
10394         * Convert.cs: CLSCompliant updates, add ChangeType() methods.
10395         * Delegate.cs: renamed target field to m_target.
10396         * Enum.cs: added missing methods.
10397         * MonoType.cs: add a constructor and some needed properties.
10398         * Object.cs: implement GetType().
10399         * String.cs: CLSCompliant updates. Fixes everywhere to remove the
10400         ending 0 char.
10401         * Type.cs: add missing methods/properties.
10402
10403 2001-11-10  Sean MacIsaac  <macisaac@ximian.com>
10404
10405         * AttributeUseage.cs: Should define AttributeUsageAttribute.
10406
10407         * CLSCompliant.cs: Marked with AttributeUsage attribute.
10408
10409         * Decimal.cs: Fixed CLSCompliant attributes.
10410
10411         * Type.cs: changed _impl to internal (needs to be accessable by
10412         subclasses).
10413
10414         (TypeHandle): Marked as abstract, implementation removed.
10415
10416         (IsNotPublic, IsPublic, GetMethods, GetPropery, GetConstructor,
10417         GetMethod): Added stub implementations so NUnit would link against
10418         corlib
10419
10420 Tue Nov 6 09:11:43 CET 2001 Paolo Molaro <lupus@ximian.com>
10421
10422         * AppDomain.cs: use an internal constructor for AssemblyBuilder.
10423
10424 2001-11-05  Miguel de Icaza  <miguel@ximian.com>
10425
10426         * NonSerializedAttribute.cs: Add AttributeUsage rules for this
10427         attribute. 
10428
10429 Fri Nov 2 18:23:15 CET 2001 Paolo Molaro <lupus@ximian.com>
10430
10431         * String.cs: fix a couple of bugs.
10432         * AppDomain.cs: use new AppBuilder constructor.
10433         * Buffer.cs, GC.cs, NonSerializedAttribute.cs,
10434         NotImplementedException.cs, ObjectDisposedException.cs,
10435         UnauthorizedAccessException.cs: add implementation.
10436         * OverflowException.cs: fix class name.
10437
10438 2001-10-28  Jeffrey Stedfast  <fejj@ximian.com>
10439
10440         * String.cs: Don't use a terminating nil char for our internal
10441         array.
10442
10443 2001-10-27  Miguel de Icaza  <miguel@ximian.com>
10444
10445         * Delegate.cs (Delegate.CombineImpl): Implement.
10446         (Delegate.Combine): Implement.
10447
10448         * MulticastDelegate.cs (MulticastDelegate.Equals): Implement.
10449
10450         (MulticastDelegate.CombineImpl): This was not as trivial as I
10451         thought. 
10452
10453         * ContextStaticAttribute.cs: Added AttributeUsage to
10454         ContextStaticAttribute. 
10455
10456         * FlagsAttribute.cs: Add AttributeUsage to FlagsAttribute
10457
10458 2001-10-15  Martin Weindel <martin.weindel@t-online.de>
10459
10460         * added Decimal.cs * added DecimalFormatter.cs (internal class
10461         used from System.Decimal)
10462
10463 2001-10-11  Thomas Neidhart <tome@sbox.tugraz.at>
10464
10465         * Convert.cs: Added methods for Base64 transforming just used the
10466           existing System.Security.Cryptography.ToBase64Transform, should
10467           be changed to use a stand-alone class, e.g. Base64Encoder
10468           
10469 2001-10-10  Derek Holden  <dholden@draper.com>
10470
10471         * IntegerFormatter.cs: Added. Implements ToString for all the
10472         integer data types for all the format types.
10473
10474         * Byte.cs: Using IntegerFormatter for ToString's.
10475
10476         * SByte.cs: Using IntegerFormatter for ToString's.
10477
10478         * Int16.cs: Using IntegerFormatter for ToString's.
10479
10480         * Int32.cs: Using IntegerFormatter for ToString's.
10481
10482         * Int64.cs: Using IntegerFormatter for ToString's.
10483
10484         * UInt16.cs: Using IntegerFormatter for ToString's.
10485
10486         * UInt32.cs: Using IntegerFormatter for ToString's.
10487
10488         * UInt64.cs: Using IntegerFormatter for ToString's.
10489
10490 2001-10-07  Miguel de Icaza  <miguel@ximian.com>
10491
10492         * Exception.cs: Implement bits of serialization.
10493
10494         * RuntimeFieldHandle.cs: Implement Serialization features.
10495
10496         * Type.cs: Implement TypeHandle property.
10497
10498 2001-09-28  Dick Porter  <dick@ximian.com>
10499
10500         * LocalDataStoreSlot.cs: Implemented
10501
10502 Tue Sep 25 19:58:14 CEST 2001 Paolo Molaro <lupus@ximian.com>
10503
10504         * String.cs: fix off-by-one error in Trim().
10505
10506 Tue Sep 25 18:52:14 CEST 2001 Paolo Molaro <lupus@ximian.com>
10507
10508         * Type.cs: added GetType () method.
10509
10510 Tue Sep 25 17:29:02 CEST 2001 Paolo Molaro <lupus@ximian.com>
10511
10512         * MissingMethodException.cs, MissingMemberException.cs,
10513         MemberAccessException.cs: added.
10514
10515 Tue Sep 25 16:46:43 CEST 2001 Paolo Molaro <lupus@ximian.com>
10516
10517         * String.cs: don't access the string array out of bounds in
10518         LastIndexOf.  * Type.cs: fix return type of the Assembly property.
10519
10520 Mon Sep 24 20:35:24 CEST 2001 Paolo Molaro <lupus@ximian.com>
10521
10522         * String.cs: make Intern and IsIntern internalcalls.
10523
10524 2001-09-13  Dick Porter  <dick@ximian.com>
10525
10526         * Type.cs: Added a stub for the IsValueType property.
10527
10528         * SystemException.cs (System): Added the other constructor, so
10529         that System.Threading exceptions can inherit it.
10530
10531 2001-09-08  Jeffrey Stedfast  <fejj@ximian.com>
10532
10533         * String.cs (TrimStart): Don't keep looping through the trimchars
10534         once we've found a match.
10535         (TrimEnd): Same here.
10536         (Trim): And finally here.
10537
10538 2001-09-07  Ravi Pratap  <ravi@ximian.com>
10539
10540         * Char.cs (IsLetterOrDigit): Implement.
10541         (IsLower): Implement, but we need to be Unicode aware.
10542         (IsNumber): Implement.
10543         (IsPunctuation): Implement.
10544         (IsWhiteSpace): Implement.
10545         (ToUpper): Fix to subtract 32 from the ASCII value, not 33 :)
10546         (ToLower): Same here.
10547
10548 2001-09-04  Miguel de Icaza  <miguel@ximian.com>
10549
10550         * Object.cs: Shortcut, if (a == b) then return true.
10551
10552 Fri Sep 7 18:34:48 CEST 2001 Paolo Molaro <lupus@ximian.com>
10553
10554         * Delegate.cs: we need a pointer to the method thunk in
10555         the delegate object.
10556
10557 Fri Sep 7 12:28:01 CEST 2001 Paolo Molaro <lupus@ximian.com>
10558
10559         * AsyncCallback.cs, common.src: add AsyncCallback delegate.
10560
10561 2001-09-06  Jeffrey Stedfast  <fejj@ximian.com>
10562
10563         * String.cs (System): Don't mix uint and int.
10564
10565 2001-09-04  Jeffrey Stedfast  <fejj@ximian.com>
10566
10567         * String.cs (BoyerMoore): Modified to not use pointers and to instead
10568         use indexes.
10569         (IndexOf): Use BoyerMoore.
10570
10571 2001-09-02  Miguel de Icaza  <miguel@ximian.com>
10572
10573         * All over: Use the autogenerated enumerations from the ECMA
10574         documentation that Sergey wrote.
10575         
10576         * PlatformID.cs: Add Unix definition.
10577
10578         * OperatingSystem.cs: Use Unix instead of Linux here.
10579
10580         * MarshalByRefObject.cs: Mark class as [Serializable].
10581
10582 2001-08-28  Dietmar Maurer  <dietmar@ximian.com>
10583
10584         * Console.cs: impl. (write only)
10585         implemented the stdin stuff
10586
10587         * Int32.cs: impl. real op_Equal
10588
10589 2001-08-24  Miguel de Icaza  <miguel@ximian.com>
10590
10591         * (common.src): Removed IAsyncResult as it is not on CVS yet.
10592
10593         * UIntPtr.cs: Removed CLSCompliant attribute before the namespace,
10594         as it breaks the build.
10595
10596 2001-08-23  Michael Lambert <michaellambert@email.com>
10597
10598         * IntPtr.cs: Optimized unsafe declaration, implemented GetObjectData, 
10599         added CLSCompliant attribute
10600
10601         * IAsyncResult.cs: Added
10602
10603         * common.src: Added IAsyncResult.cs
10604
10605 2001-08-23  Michael Lambert <michaellambert@email.com>
10606
10607         * UIntPtr.cs: Added
10608
10609         * common.src: Added UIntPtr.cs
10610
10611 2001-08-20  Dietmar Maurer  <dietmar@ximian.com>
10612
10613         * Attribute.cs: uncomment some code to make it compile again
10614
10615         * mono.src: removed duplicated Attribute.cs
10616
10617 2001-08-16  Nick Drochak <ndrochak@gol.com>
10618
10619         * Attribute.cs: implemented all methods except GetHashCode()
10620
10621         * common.src: added Attribute.cs so it would compile in
10622
10623 2001-08-10  Dietmar Maurer  <dietmar@ximian.com>
10624
10625         * Object.cs: changed MemberWiseClone to MemberwiseClone, and
10626         marked it as InternalCall
10627         
10628         * common.src: removed UriFormatException.cs because the file is
10629         not there.
10630
10631         * RuntimeTypeHandle.cs: replaced IntrPtr with IntPtr
10632         * Char.cs: replaced byte with char
10633
10634         * Array.cs: make it work with the mono interpreter
10635
10636 2001-08-06  Miguel de Icaza  <miguel@ximian.com>
10637
10638         * Version.cs: Make the class sealed
10639
10640 2001-08-08  Bob Smith  <bob@thestuff.net>
10641
10642         * Random.cs: Many compile fixes.
10643         * Random.cs: I read a bad spec. Class updated to match real spec.
10644
10645 2001-08-06  Miguel de Icaza  <miguel@ximian.com>
10646
10647         * IntPtr.cs: Added and Completed implementation.
10648
10649         * Uri.cs: Add a note.
10650
10651 2001-08-06  Bob Smith  <bob@thestuff.net>
10652
10653         * Random.cs: Compile fix. Needs more testing.
10654
10655 2001-08-06 Garrett Rooney <rooneg@electricjellyfish.net>
10656
10657         * Uri.cs: Initial Implementation.  Parsing needs to be fixed to take 
10658         into account IPv6 addresses, url encoding needs to be implemented, and 
10659         various minor methods need to be written, but this is a decent start.
10660
10661 2001-08-06  Dietmar Maurer  <dietmar@ximian.com>
10662
10663         * common.src: added Object.cs
10664
10665         * mono.src: added ValueType.cs
10666
10667 2001-08-02  Dietmar Maurer  <dietmar@ximian.com>
10668
10669         * Math.cs: replaced libc with libm
10670
10671 2001-08-02  Bob Smith  <bob@thestuff.net>
10672
10673         * Random.cs: Implemented. Needs testing.
10674
10675 2001-08-02  Miguel de Icaza  <miguel@ximian.com>
10676
10677         * IServiceProvider.cs, EventHandler.cs: New files.
10678
10679 2001-08-02  Marcel Narings  <marcel@narings.nl>
10680         
10681         * DateTime.cs: Cleaned up a bit. Added the Add* family members.
10682         Added exceptions. Added IConvertible. Still needs some platform 
10683         dependend stuff, the Parse and ToString members
10684
10685 2001-08-01  Dietmar Maurer  <dietmar@ximian.com>
10686
10687         * Type.cs (GetTypeFromHandle): added placeholder 
10688
10689 2001-07-24  Derek Holden  <dholden@draper.com>
10690
10691         * Boolean.cs: Formatted to code style standard. Added GetTypeCode
10692         which is really an IConvertible defined method.
10693
10694         * Byte.cs: Added a missing Parse method. Put in Parse and ToString
10695         behavior, still need to do the main Parse and ToString.
10696
10697         * Char.cs: Added a bunch of missing ECMA methods. Commented a
10698         specification discrepency. Still didn't any unicode stuff, though
10699         every IsFoo(char c) method has an IsFoo(string, index)
10700         counterpart, added wrappers for those.
10701         
10702         * Convert.cs: Fixed NaN/Inf checking and double/float
10703         rounding. Added ToType for IConvertible classes
10704
10705         * Double.cs: Fixed ECMA min and max values. Added IsInfinity /
10706         IsNaN methods. Changed Inf/NaN internals.
10707
10708         * IConvertible.cs: Added comments for using
10709         Convert.ToType. Changed return values to draft base values.
10710
10711         * Int16.cs: Added a missing Parse statement. Put in behavior for
10712         overloaded ToString and Parse methods.
10713
10714         * Int32.cs: Added a missing Parse statement. Put in behavior for
10715         overloaded ToString and Parse methods.
10716
10717         * Int64.cs: Added a missing Parse statement. Put in behavior for
10718         overloaded ToString and Parse methods.
10719         
10720         * Single.cs: Put in ECMA epsilon value. Added IsInfinity / IsNaN
10721         methods. Changed Inf/NaN internals.
10722
10723         * SByte.cs: Added a missing Parse method. Put in Parse and
10724         ToString behavior, still need to do the main Parse and ToString.
10725
10726         * UInt16.cs: Added a missing Parse statement. Put in behavior for
10727         overloaded ToString and Parse methods.
10728
10729         * UInt32.cs: Added a missing Parse statement. Put in behavior for
10730         overloaded ToString and Parse methods.
10731
10732         * UInt64.cs: Added a missing Parse statement. Put in behavior for
10733         overloaded ToString and Parse methods.
10734         
10735 2001-07-20  Miguel de Icaza  <miguel@ximian.com>
10736
10737         * MulticastDelegate.cs: New File.
10738
10739         * Delegate.cs: New file.
10740
10741         * Enum.cs: New file.
10742
10743         * Attribute.cs: New file.
10744
10745         * Type.cs: New file.
10746
10747         * ParamArrayAttribute.cs: New file.
10748
10749         * RuntimeTypeHandle.cs: New file.
10750
10751         * MulticastDelegate.cs: Added.
10752
10753         * DateTime.cs: Added
10754
10755         * Delegate.cs: Added
10756
10757 2001-07-18  Michael Lambert <michaellambert@email.com>
10758
10759         * AttributeTargets.cs: Add.
10760
10761 2001-07-19  Jeffrey Stedfast  <fejj@ximian.com>
10762
10763         * Char.cs: Made ToUpper and ToLower public methods.
10764
10765         * String.cs: Lots and lots of compile fixes - just need to write
10766         DateTime.cs and this should build completely now.
10767
10768 2001-07-19  Bob Smith (bob@thestuff.net)
10769
10770         * Math.cs: Implemented. 
10771
10772 2001-07-19  Miguel de Icaza  <miguel@ximian.com>
10773
10774         * String.cs: Removed tolower and toupper.
10775
10776         * Char.cs: Moved ToLower and ToUpper from string to here. 
10777
10778         * Convert.cs ToByte (float value), ToByte (double value) Use IsNan
10779         instead of comparing the value to Nan.
10780
10781 2001-07-19  Duco Fijma (duco@lorentz.xs4all.nl)
10782
10783         * TimeSpan.cs: New implementation.
10784
10785 2001-07-18  Scott Sanders <scott@stonecobra.com>
10786
10787          * UriFormatExcpetion.cs: Add - 85% complete
10788
10789 2001-07-17  Jeffrey Stedfast  <fejj@ximian.com>
10790
10791         * String.cs (IndexOf): Slight optimization that allows skipping
10792         over a few chars here and there. This isn't as good as using my
10793         Boyer-Moore implementation, however, Boyer-Moore is only really
10794         good for long strings (I plan on making the code decide which
10795         string search algorithm it should use on-the-fly at some point).
10796         (LastIndexOf): Fix to work correctly.
10797         (BoyerMoore): Took out some unneeded code and fixed an edge-case.
10798
10799 2001-07-16  Michael Lambert <michaellambert@email.com>
10800
10801         * EventArgs.cs: Add.
10802         
10803 2001-07-16  Miguel de Icaza  <miguel@ximian.com>
10804
10805         * Version.cs: Remove my buggy comment.
10806
10807 2001-07-15  Sean MacIsaac  <macisaac@ximian.com>
10808
10809         * String.cs: Spelling error of IComparable, object's
10810         MemberwiseClone cannot be overridden.  Made indexer valid for now,
10811         but not sure what to do about this in the long run.  Seems to be a
10812         couple bugs in csc.exe having to do with multiple pointer defs in
10813         the same statement, and returning subclasses of a class in the
10814         return type of an interface function implementation.  Also moved
10815         operators inside of class definition.
10816
10817 2001-07-14  Jeffrey Stedfast  <fejj@ximian.com>
10818
10819         * String.cs: A tom of compile fixes, although we still don't compile.
10820
10821         * IConvertible.cs: The To*Int64() methods return *Int64's, not
10822         *Int32's. Also, it's ToDateTime() not ToDateType().
10823
10824 2001-07-14  Jeffrey Stedfast  <fejj@ximian.com>
10825
10826         * String.cs: Apparently I needed to at least write stubs for the
10827         IConvertible interfaces. *sigh*
10828
10829 2001-07-14  Jeffrey Stedfast  <fejj@ximian.com>
10830
10831         * String.cs: Many logic/other fixes and better usage of the
10832         features of c#
10833         (tolower): New convenience method to help condense code.
10834         (toupper): Another new helper method.
10835         (Compare): Use the new helper methods.
10836         (ToLower): use tolower().
10837         (ToUpper): use toupper().
10838         (LastIndexOfAny): Implemented.
10839         (BoyerMoore): New private helper method that implements a modified
10840         version of the Boyer-Moore search algorithm. Noothing uses it yet
10841         as I'm not 100% sure it even works properly with unicode strings
10842         not to mention it uses a huge lookup-table :-)
10843         (Split): Implemented.
10844
10845 2001-07-13  Jeffrey Stedfast  <fejj@ximian.com>
10846
10847         * TODO: Added things that need to be finished in System.String
10848
10849         * String.cs: New source file implementing the System.String class
10850
10851 2001-07-12  Sean MacIsaac  <macisaac@ximian.com>
10852
10853         * TypeCode.cs: UInt64 was UInt63.
10854
10855         * Object.cs: Fixed a numer of compiler errors.
10856
10857         * Array.cs: Fixed some compiler errors.
10858
10859         * IComparable.cs: Fixed some compiler errors.
10860
10861         * ICloneable.cs: Fixed some compiler errors.
10862
10863         * IConvertible.cs: Fixed some compiler errors.
10864
10865         * IFormattable.cs: Fixed a compiler error.
10866
10867         * IFormatProvider.cs: Fixed a compiler error.
10868
10869         * IDisposable.cs: Fixed a compiler error.
10870
10871         * IFormatProvider.cs: Added public accesability type to
10872         IFormatProvider.
10873
10874         * Exception.cs: Added a using statement to remove compile time
10875         error.
10876
10877         * ApplicationException.cs: Removed a ; that was causing a compiler
10878         error.
10879
10880         * Int16.cs: Fixed some compiler errors.
10881
10882         * Int32.cs: Fixed some compiler errors.
10883
10884         * Int64.cs: Fixed some compiler errors.
10885
10886         * SystemException.cs: Fixed a compiler error.
10887
10888         * UInt16.cs: Fixed some compiler errors.
10889
10890         * UInt32.cs: Fixed some compiler errors.
10891
10892         * UInt64.cs: Fixed some compiler errors.
10893
10894         * Void.cs: Fixed a compiler error.      
10895
10896 2001-07-12  Joe Shaw  <joe@ximian.com>
10897
10898         * Array.cs: Fix backwards parameters to Array.SetValue()
10899         throughout.
10900         (BinarySearch): Fix backward logic surrounding whether to call
10901         value.CompareTo or comparer.Compare.
10902         (LastIndexOf): Stop being stupid. I am so not used to strongly
10903         bounded arrays...
10904         (Sort): Implement a quicksort.
10905
10906 2001-07-11  Joe Shaw  <joe@ximian.com>
10907
10908         * Array.cs: Change all instances of trying to access an array with
10909         the index operator to calls to GetValue and SetValue, and add
10910         InternalGetValue and InternalSetValue which are internal calls
10911         into the runtime. Ew.
10912
10913 2001-07-10  Joe Shaw  <joe@ximian.com>
10914
10915         * Array.cs: Implemented everything but Sort().
10916
10917 2001-07-09  Jeffrey Stedfast  <fejj@ximian.com>
10918
10919         * Object.cs (Object::Equals): Object variable name is `o'.
10920
10921 2001-07-06  Joe Shaw  <joe@ximian.com>
10922
10923         * Int16.cs, Int32.cs, Int64.cs, UInt16.cs, UInt32.cs, UInt64.cs:
10924         Implement the IComparable and IFormattable interfaces. Fix a typo
10925         (publig -> public)
10926
10927         * ApplicationException.cs, ArgumentException.cs,
10928         ArgumentNullException.cs, ArgumentOutOfRangeException.cs,
10929         ArtithmeticException.cs, ArrayTypeMismatchException.cs,
10930         DivideByZeroException.cs, DuplicateWaitObjectException.cs,
10931         ExecutionEngineException.cs, FormatException.cs,
10932         IndexOutOfRangeException.cs, InvalidCastException.cs,
10933         InvalidOperationException.cs, InvalidProgramException.cs,
10934         MulticateNotSupportedException.cs, NotFiniteNumberException.cs,
10935         NotSupportedException.cs, NullReferenceException.cs,
10936         OutOfMemoryException.cs, OverflowException.cs, RankException.cs,
10937         StackOverflowException.cs, SystemException.cs,
10938         TypeInitializationException.cs: Added all of the exceptions
10939         specified by the language spec. Mmmm... bloat.
10940
10941 2001-07-06  Miguel de Icaza  <miguel@ximian.com>
10942
10943         * Int64.cs, Int32.cs: Put.  Parsing and ToString missing.  Should
10944         do a generic routine all of these guys use.
10945
10946         * Int16.cs: identified missing methods.
10947
10948         * UInt16.cs, UInt32.cs, UInt64.cs: Add.
10949
10950 2001-06-26  Miguel de Icaza  <miguel@ximian.com>
10951
10952         * TypeCode.cs: Implement
10953
10954         * Void.cs: Implement.
10955
10956         * TODO: Add file to keep track of pending tasks.
10957
10958         * Object.cs, ValueType.cs: Implement.