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