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