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