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