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