2005-03-24 Zoltan Varga <vargaz@freemail.hu>
[mono.git] / mcs / class / corlib / System / ChangeLog
1 2005-03-24  Zoltan Varga  <vargaz@freemail.hu>
2
3         * String.cs: Add some 2.0 methods.
4
5 2005-03-24  Sebastien Pouliot  <sebastien@ximian.com>
6
7         * Activator.cs: Now use the supplied evidences when loading 
8         assemblies. Added LinkDemand for RemotingConfiguration on both
9         GetObject methods.
10         * Console.cs: Added Assert for UnmanagedCode on OpenStandard[Error|
11         Input|Output] as they use a handle on a FileStream (which is
12         restricted otherwise). Added Demand for UnmanagedCode for the
13         Set[Error|In|Out] methods.
14         * MarshalByRefObject.cs: Added LinkDemand for Infrastructure on 
15         CreateObjRef, GetLifetimeService and InitializeLifetimeService.
16         * RuntimeMethodHandle.cs: Added Demand for UnmanagedCode on 
17         GetFunctionPointer method.
18         * TypedReference.cs: Added LinkDemand for ReflectionPermission's
19         MemberAccess on MakeTypedReference.
20
21 2005-03-14  Sebastien Pouliot  <sebastien@ximian.com>
22
23         * Environment.cs: Fix CAS unit tests for NET_1_1.
24         * Exception.cs: Fix CAS unit tests for NET_1_1.
25
26 2005-03-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
27
28         * Version.cs: don't ignore the last number. Fixes bug #73539.
29
30 2005-03-11  Sebastien Pouliot  <sebastien@ximian.com>
31
32         * MonoType.cs: When the security manager is active, constructors and
33         methods will return null if a linkdemand fails during reflection 
34         query.
35
36 2005-03-11  Zoltan Varga  <vargaz@freemail.hu>
37
38         * Array.cs (Sort): Bail out early if length <= 1. Fixes #72721.
39
40 2005-03-10  Zoltan Varga  <vargaz@freemail.hu>
41
42         * Environment.cs: Bump corlib version.
43
44 2005-03-10  Martin Baulig  <martin@ximian.com>
45
46         * Nullable.cs (Nullable<T>.ToString): Return an empty string if
47         we're null.
48
49 2005-03-09  Zoltan Varga  <vargaz@freemail.hu>
50
51         * Activator.cs MonoType.cs: Applied patch from Carlos Alberto Cortez
52         (carlos@unixmexico.org). Allow creation of valuetypes with no ctor.
53         Fixes #73432.
54
55 2005-03-04  Zoltan Varga  <vargaz@freemail.hu>
56
57         * Environment.cs: Bump corlib version.
58
59         * Exception.cs (StackTrace): Return the wrapper info as well.
60
61 2005-03-02  Kazuki Oikawa  <kazuki@panicode.com>
62
63         * NumberFormatter.cs: Some internal classes was converted to structs,
64         and improved some points.
65
66 2005-02-26  Kazuki Oikawa  <kazuki@panicode.com>
67
68         * NumberFormatter.cs: Improved performance and memory usage
69         when integer standard format.
70         * SByte.cs:
71         * Int16.cs:
72         * Int32.cs:
73         * Int64.cs:
74         * Byte.cs:
75         * UInt16.cs:
76         * UInt32.cs:
77         * UInt64.cs:
78         * Single.cs:
79         * Double.cs:
80         * TimeSpan.cs: Improved these directly call to NumberFormatter.
81
82 2005-02-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
83
84         * TermInfoDriver.cs: set the xmit mode if available. Handle key input
85         and translate them into a ConsoleKeyInfo.
86         * TermInfoReader.cs: added a method to return the bytes of a string
87         property.
88         * ConsoleKeyInfo.cs: added copy constructor and setters.
89
90 2005-02-24  Zoltan Varga  <vargaz@freemail.hu>
91
92         * Array.cs: Add missing 2.0 attributes and correct some parameter names.
93
94 2005-02-24  Carlos Alberto Cortez <calberto.cortez@gmail.com>
95
96         * AppDomain.cs: Changed GetAssemblies, LoadAssembly, and Load signatures,
97         and added some to support the reflection only methods. DoAssemblyResolve
98         was modified to invoke the new PreBindAssemblyResolve event when the
99         assembly is reflection only.
100         
101 2005-02-21  Zoltan Varga  <vargaz@freemail.hu>
102
103         * GC.cs Double.cs IntPtr.cs Array.cs Decimal.cs Math.cs Single.cs:
104         Add net 2.0 ReliabilityContractAttributes.
105
106 2005-02-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
107
108         * TermInfoDriver.cs: cygwin terminals are handled by the windows
109         console driver.
110
111         * TermInfoReader.cs:
112         * TermInfoNumbers.cs:
113         * KnownTerminals.cs:
114         * TermInfoBooleans.cs:
115         * TermInfoStrings.cs: documented.
116
117 2005-02-19  Kazuki Oikawa <kazuki@panicode.com>
118
119         * Array.cs: Reverse the order in the Equals calls.
120
121 2005-02-18  Zoltan Varga  <vargaz@freemail.hu>
122
123         * Exception.cs (StackTrace): Implement this in managed code since it is
124         needed by CAS. Fixes #72146.
125
126 2005-02-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
127
128         * WindowsConsoleDriver.cs: implemented MoveBufferArea.
129
130 2005-02-14  Raja R Harinath  <rharinath@novell.com>
131
132         * Array.cs (Array.Swapper) [!BOOTSTRAP_WITH_OLDLIB]: Make nested.
133         See #72015.
134
135 2005-02-12  Ben Maurer  <bmaurer@ximian.com>
136
137         * Version.cs (CompareTo, Equals): Make sure the versions for
138         generics handle `null'. The non-generics versions now just call
139         the regular versions, to reduce code duplication.
140
141         * Boolean.cs (CompareTo): make this really work for generics 
142
143         * Type.cs (GetProperty): Passing new Type [0] is different than
144         null. null means `I don't care how many types this has,' while new
145         Type [0] means `this must have 0 types.'
146
147 2005-02-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
148
149         * corlib.dll.sources: added WindowsConsoleDriver.cs
150
151         * System/ConsoleDriver.cs: use WindowsConsoleDriver on windows and
152         implemented the few missing properties/methods.
153
154         * System/IConsoleDriver.cs: uncommented all methods/properties.
155         * System/TermInfoDriver.cs: implement changes from IConsoleDriver.
156         * System/WindowsConsoleDriver.cs: implemented IConsoleDriver for
157         windows. Only missing MoveBufferArea by now.
158
159 2005-02-11  Zoltan Varga  <vargaz@freemail.hu>
160
161         * Type.cs (IsAssignableFrom): Add support for TypeBuilders.
162
163         * Int32.cs AppDomain.cs: Fix warnings.
164
165 2005-02-10  Marek Safar  <marek.safar@seznam.cz>
166
167         * IServiceProvider.cs: Is not ComVisible.
168
169         * NonSerializedAttribute.cs: Fix AttributeUsage flags.
170
171         * Type.cs: Fix ClassInterface attribute.
172
173 Tue Feb 8 19:26:47 CET 2005 Paolo Molaro <lupus@ximian.com>
174
175         * Delegate.cs: remove the finalizer from Delegate: this
176         is handled internally by the runtime now.
177
178 2005-02-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
179
180         * Activator.cs: provide the Type name when throwing an exception.
181
182 2005-02-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
183
184         * TimeZone.cs: lock on the static Hashtable instead of 'this'. Fixes
185         bug #72238.
186
187 Fri Feb 4 15:46:04 CET 2005 Paolo Molaro <lupus@ximian.com>
188
189         * Array.cs: provide specialized versions of some methods.
190
191 Thu Feb 3 15:15:25 CET 2005 Paolo Molaro <lupus@ximian.com>
192
193         * String.cs: provide a managed memcpy and memset method
194         for use both in corlib and from the JIT. Implement
195         some methods with the managed helpers and remove some icalls.
196
197 2005-01-31  Sebastien Pouliot  <sebastien@ximian.com>
198
199         * Exception.cs: Added Data property for NET_2_0 (required for new
200         unit tests).
201
202 2005-01-31 Gonzalo Paniagua Javier <gonzalo@ximian.com>
203
204         * ConsoleDriver.cs:
205         * TermInfoDriver.cs:
206         * IConsoleDriver.cs:
207         * Console.cs: added BufferWidth and BufferHeight.
208
209 2005-01-31 Gonzalo Paniagua Javier <gonzalo@ximian.com>
210
211         * ConsoleDriver.cs:
212         * Console.cs:
213         * TermInfoDriver.cs:
214         * IConsoleDriver.cs: added a few more properties and fixed cursor
215         addressing.
216
217 2005-01-31 Gonzalo Paniagua Javier <gonzalo@ximian.com>
218
219         * ConsoleDriver.cs: static class that forwards the Console 2.0 class
220         calls to the proper driver.
221         * TermInfoDriver.cs: terminfo based console driver.
222         * IConsoleDriver.cs: interface implemented by console drivers.
223
224         * ConsoleCancelEventArgs.cs:
225         * ConsoleCancelEventHandler.cs:
226
227         * ConsoleModifiers.cs: 
228         * ConsoleSpecialKey.cs:
229         * ConsoleColor.cs:
230         * ConsoleKey.cs: new enumerations.
231
232         * ConsoleKeyInfo.cs: New file.
233
234         * TermInfoReader.cs: reader for terminfo capabilities files.
235
236         * TermInfoNumbers.cs:
237         * TermInfoBooleans.cs:
238         * TermInfoStrings.cs: enumations for terminfo property names.
239
240         * KnownTerminals.cs: byte arrays for selected terminals.
241
242         * Console.cs: added more 2.0 methods and implemented some of them.
243
244
245 2005-01-30  Atsushi Enomoto  <atsushi@ximian.com>
246
247         * Int32.cs : (FindSign) IndexOf() is better than creating substring.
248
249 2005-01-27  Sebastien Pouliot  <sebastien@ximian.com>
250
251         * BadImageFormatException.cs: Protect the fusion (GAC) log from being
252         disclosed unless code has ControlPolicy and ControlEvidence.
253
254 2005-01-27  Zoltan Varga  <vargaz@freemail.hu>
255
256         * Exception.cs: Compute stack trace on demand.
257
258 2005-01-26  Sebastien Pouliot  <sebastien@ximian.com>
259
260         * Environment.cs: Removed hack for static class (NET_2_0). Added 
261         proper security for FailFast (documented in FDBK20543). Added new
262         method IsRunningOnWindows to replace (Platform == 128) as the logic is
263         gonna change in the future (Unix is id #4 in NET_2_0).
264
265 2005-01-24  Sebastien Pouliot  <sebastien@ximian.com>
266
267         * Environment.cs: Added CAS security (both declarative and imperative)
268         as a test. This shouldn't affect execution unless --security is 
269         specified.
270
271 2005-01-19  Rafael Teixeira  <rafaelteixeirabr@hotmail.com>
272         * Type.cs: Corrected implementation for the Type.FilterNameIgnoreCase
273         and Type.FilterName delegates They weren't dealing with the optional '*'
274         at the end of the filter mask
275
276 2005-01-19  Zoltan Varga  <vargaz@freemail.hu>
277
278         * Array.cs: Fix a typo in the previous patch.
279         
280         * Array.cs: Fix some test failures in the generic methods.
281
282         * Array.cs: Implement AsReadOnly.
283
284 2005-01-13  Geoff Norton  <gnorton@customerdna.com>
285
286         * Guid.cs: Fix endian issues (use Mono.Security.BitConverterLE).  Fixes
287         #71242
288
289 2005-01-11  Sebastien Pouliot  <sebastien@ximian.com>
290
291         * AppDomain.cs: Removed Activate and ActivateNewProcess methods. They
292         have been removed from 2.0.
293
294 2005-01-11  Zoltan Varga  <vargaz@freemail.hu>
295
296         * Boolean.cs Char.cs Single.cs Double.cs: Implement IComparable<T> in
297         NET 2.0.
298
299 2005-01-10  Sebastien Pouliot  <sebastien@ximian.com>
300
301         * ApplicationIdentity.cs: Throw ArgumentNullException if name is null.
302         Add default culture (neutral) to the name when none is specified.
303         * AppDomain.cs: Changed IsDefaultAppDomain (2.0). Is seems that we 
304         can't trust Id ?
305
306 2005-01-09  Sebastien Pouliot  <sebastien@ximian.com>
307
308         * DateTime.cs: Reverted last patch for utc as it broke all certificate
309         handling and another unit test in DateTime.
310
311 2005-01-09  Miguel de Icaza  <miguel@ximian.com>
312
313         * DateTime.cs: Return immediately if useutc is set to true, there
314         is no need to do the extra computation (which also happened to
315         create a new DateTime using the `use_localtime' constructor, which
316         lead to the erroneous date returns when using 'u' or `U'
317         formats).   
318
319         Fixes another bug in the regression test suite.
320
321 2005-01-08  Sebastien Pouliot  <sebastien@ximian.com> 
322
323         * AppDomain.cs: Fix the DefaultDomain property to return the root 
324         domain (as it seems that the root's Id isn't always 0).
325         * BitConverter.cs: The "special support" for ToString(new byte[0]) is
326         only for NET_2_0 - previously this was an ArgumentOutOfRangeException.
327
328 2005-01-08  Miguel de Icaza  <miguel@ximian.com>
329
330         * IntegerFormatter.cs: The - sign inside the "negative" section in
331         a multi-format string means `show the sign' only if it is the
332         first token, not `copy verbatim'.  In the other sections it means
333         `copy-verbatim'.
334
335         This makes things like:  (-34).ToString ("#;-#") show up as "-34"
336         instead of "--34".
337
338         The bad news is that this code needs to be rewritten to handle all
339         the formatting cases, see bug #71112 for details.
340
341         * Convert.cs (Convert.ToType): Throw an InvalidCastException if
342         the conversion is invalid, not ArgumentException, this fixes
343         another regression in our test suite.
344
345 2005-01-08  Sebastien Pouliot  <sebastien@ximian.com>
346
347         * AppDomain.cs: Add ApplicationIdentity property for 2.0;
348         * AppDomainManager.cs: Remove HostRefusedSet support (it does not 
349         exists anymore).
350
351 2005-01-08  Zoltan Varga  <vargaz@freemail.hu>
352
353         * DateTime.cs: Create MaxValue and MinValue using a different constructor to avoid static 
354         initialization problems.
355
356 2005-01-02  Ben Maurer  <bmaurer@ximian.com>
357
358         * Int32.cs: NumberStyles.AllowExponent was supported by the
359         Int32.Parse function. From Akira <mei@work.email.ne.jp>. Fixes bug
360         70469.
361
362 2005-01-01  Atsushi Enomoto  <atsushi@ximian.com>
363
364         * Base64FormattingOptions.cs : it was not in System namespace.
365
366 2004-12-21  Atsushi Enomoto  <atsushi@ximian.com>
367
368         * DateTime.cs : If no progress on value string, don't regard as
369           matched. This fixes bug #70707.
370
371 2004-12-20  Sebastien Pouliot  <sebastien@ximian.com>
372
373         * Environment.cs: Bump corlib version.
374
375 2004-12-16  Zoltan Varga  <vargaz@freemail.hu>
376
377         * Array.cs (DoBinarySearch): Fix a warning.
378
379 2004-12-08  Zoltan Varga  <vargaz@freemail.hu>
380
381         * Environment.cs: Bump corlib version.
382
383         * AppDomain.cs: Add new DefineInternalDynamicAssembly () method.
384
385 2004-12-06  Ben Maurer  <bmaurer@ximian.com>
386
387         * Exception.cs: Prevent stringifying the type name on the
388         ctor. this gets called a few times on every execution to create a
389         nullref exception.
390
391 2004-12-06  Martin Baulig  <martin@ximian.com>
392
393         * Decimal.cs: Decimal constant support has been merged into GMCS,
394         removed the FIXME.
395
396 2004-12-06  Zoltan Varga  <vargaz@freemail.hu>
397
398         * Environment.cs: Bump corlib version.
399         
400         * Environment.cs: Bump corlib version.
401
402 2004-11-30  Zoltan Varga  <vargaz@freemail.hu>
403
404         * MonoType.cs (UnderlyingSystemType): Make this return this as in
405         MS.NET. Fixes #56245.
406
407 2004-11-29  Atsushi Enomoto  <atsushi@ximian.com>
408
409         * GC.cs : Collect(generation) actually does not throw an exception
410           even if generation > MaxGeneration (MS document bug).
411
412 2004-11-28  Zoltan Varga  <vargaz@freemail.hu>
413
414         * Exception.cs: Implement _Exception under NET_2_0.
415
416         * Byte.cs SByte.cs UInt16.cs Int16.cs: Make these compile under csc 2.0.
417
418         * AccessViolationException.cs DataMisalignedException.cs OperationCanceledException.cs
419         NotCancelableException.cs TimeoutException.cs: New files.
420
421 2004-11-23  Raja R Harinath  <rharinath@novell.com>
422
423         * Decimal.cs [NET_2_0]: Use old code till GMCS imports decimal
424         constant support.
425
426 2004-11-23  Raja R Harinath  <rharinath@novell.com>
427
428         * Decimal.cs [BOOTSTRAP_WITH_OLDLIB]: Use old code for compilers
429         without decimal constant support.
430
431 2004-11-23  Marek Safar  <marek.safar@seznam.cz>
432
433         * Decimal.cs: Updated to use compiler decimal constant support.
434
435 2004-11-20  Zoltan Varga  <vargaz@freemail.hu>
436
437         * MonoType.cs: Revert last change since it breaks remoting.
438
439 2004-11-18  Zoltan Varga  <vargaz@freemail.hu>
440
441         * MonoType.cs (UnderlyingSystemType): Make this return this as in
442         MS.NET. Fixes #56245.
443
444 2004-11-17  Carlos Alberto Cortez <carlos@unixmexico.org>
445
446         * INullable.cs: New interface added.
447         * Nullable.cs: Methods added. Also a static Nullable class
448         containing static methods.
449         
450 2004-11-15  Sebastien Pouliot  <sebastien@ximian.com>
451
452         * BitConverter.cs: Added support for special case when ToString is 
453         called with (new byte [0]).
454
455 2004-11-10  Lluis Sanchez  <lluis@novell.com>
456
457         * Exception.cs: Added setter for StackTrace.
458
459 2004-11-07  Ben Maurer  <bmaurer@ximian.com>
460
461         * IntegerFormatter.cs: Avoid .ToCharArray
462
463 2004-11-06  Ben Maurer  <bmaurer@ximian.com>
464
465         * Single.cs, Double.cs (GetHashCode): Better hashcode impl
466
467 2004-11-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
468
469         * InvalidOperationException.cs: make the message more meaningful and
470         real. Fixes bug #69055.
471
472 2004-10-28  Ben Maurer  <bmaurer@ximian.com>
473
474         * String.cs: Rather than == String.Empty, use .Length == 0. It
475         is a bit faster (avoids a method call, and the code is less complex).
476
477 2004-10-24  Fawad Halim  <fawad@fawad.net>
478         * Environment.cs: If an Environment variable value isn't found, leave the trailing % of the reference for further matches.
479         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.
480         This fixes bug #64995.
481
482 2004-10-19  Lluis Sanchez  <lluis@novell.com>
483
484         * MarshalByRefObject.cs: Field _identity is not serializable.
485         This fixes bug #68567.
486
487 2004-10-17  Ben Maurer  <bmaurer@ximian.com>
488
489         * DateTime.cs (ZeroPad): Use unsafe code to speed this up. We
490         avoid entering slow integer formatting code.
491
492         (_ToString): Use ZeroPad here when possible, as it is faster.
493
494 2004-10-11  Martin Baulig  <martin@ximian.com>
495
496         * Environment.cs: Bump corlib version to 28.
497
498 2004-10-08  Zoltan Varga  <vargaz@freemail.hu>
499
500         * Convert.cs (ToType): Throw an exception when converting null to a
501         valuetype. Fixes #67780.
502
503 2004-10-08  Atsushi Enomoto  <atsushi@ximian.com>
504
505         * DateTime.cs : Performance fix. ParseExact() implementation should
506           avoid s = s.Substring(1).
507
508 2004-10-08  Atsushi Enomoto  <atsushi@ximian.com>
509
510         * DateTime.cs : When it it not exact parse, 'Z' is allowed as a suffix
511           of m/s/t/z. This fixes bug 66723.
512
513 Wed Oct 6 12:37:54 CEST 2004 Paolo Molaro <lupus@ximian.com>
514
515         * String.cs: make GetHashCode() managed.
516
517 2004-10-04  Zoltan Varga  <vargaz@freemail.hu>
518
519         * AppDomain.cs: Make ThreadStatic variables static. Fixes #56614.
520
521         * Runtime*Handle.cs ModuleHandle.cs: Add Equals + GetHashCode.
522
523         * ModuleHandle.cs: Add missing methods.
524
525         * RuntimeTypeHandle.cs: Add GetModuleHandle () method.
526
527 2004-10-03  Zoltan Varga  <vargaz@freemail.hu>
528
529         * AttributeTargets.cs: Add 2.0 GenericParameter value.
530
531         * Environment.cs: Bump corlib version.
532
533 2004-10-02  Zoltan Varga  <vargaz@freemail.hu>
534
535         * Int32.cs UInt32.cs Byte.cs SByte.cs Int16.cs UInt16.cs Int64.cs UInt64.cs: Implement 2.0 TryParse methods.
536
537 2004-09-30  Geoff Norton  <gnorton@customerdna.com>
538
539         * Convert.cs: ConvertToBase* was not endian aware.  Implemented EndianSwap
540         and swapping of all values before going into the BitConverter so that values
541         are returned with proper endianess.
542
543 2004-09-23  Martin Garton  <martin@wrasse.demon.co.uk>
544
545         * Convert.cs: ToType was returning unconverted object when it should
546         fail with an ArgumentException.
547
548 2004-09-27  Zoltan Varga  <vargaz@freemail.hu>
549
550         * Array.cs: Add stub for AsReadOnly<T>.
551         
552 2004-09-25  Zoltan Varga  <vargaz@freemail.hu>
553
554         * Type.cs: Add MakePointerType && stub for ReflectionOnlyGetType.
555
556         * MonoCustomAttrs.cs (GetCustomAttributesBase): Add support for
557         parameters.
558
559 2004-09-24  Zoltan Varga  <vargaz@freemail.hu>
560
561         * MonoCustomAttrs.cs (GetCustomAttributesBase): Add support for
562         methods and fields.
563         
564         * MonoCustomAttrs.cs: Beginnings of support for returning 2.0 pseudo
565         custom attributes.
566
567         * MonoCustomAttrs.cs (RetrieveAttributeUsage): Avoid infinite recursion.
568
569         * MonoCustomAttrs.cs (GetCustomAttributes): Fix the 'attributeType is 
570         sealed' optimization.
571
572         * Type.cs: Implement 2.0 StructLayoutAttribute property. 
573
574         * Type.cs Add GetPseudoCustomAttributes () method.
575
576 2004-09-24  Martin Baulig  <martin@ximian.com>
577
578         * Type.cs (Type.GetGenericParameterConstraints): New public method.
579
580 2004-09-23  Zoltan Varga  <vargaz@freemail.hu>
581
582         * MonoCustomAttrs.cs (GetCustomAttributes): Rename the icall to
583         GetCustomAttributesInternal and add a 'pseudoAttrs' argument.
584
585         * Type.cs: Tweak Module property in 2.0 build.
586
587 2004-09-23  Martin Baulig  <martin@ximian.com>
588
589         * Type.cs (Type.GenericParameterAttributes): New public property.
590
591 2004-09-23  Martin Baulig  <martin@ximian.com>
592
593         * GenericParameterAttributes.cs: New file.
594
595 2004-09-22  Zoltan Varga  <vargaz@freemail.hu>
596
597         * ModuleHandle.cs: Updated after changes to Module class.
598
599 2004-09-21  Geoff Norton <gnorton@customerdna.com>
600
601         * Type.cs: BindingFlags.IgnoreCase was being ignored, this reimplements
602         this filter. Fixes bug #65778.
603
604 2004-09-20  Zoltan Varga  <vargaz@freemail.hu>
605
606         * Environment.cs: Bump corlib version.
607
608 2004-09-19  Zoltan Varga  <vargaz@freemail.hu>
609
610         * ModuleHandle.cs: New file.
611
612         * RuntimeFieldHandle.cs: Add an internal ctor.
613
614 2004-09-19  Dick Porter  <dick@ximian.com>
615
616         * Console.cs: Use the internal wrappers for StreamReader and
617         StreamWriter that catch IOException.
618
619 2004-09-16  Sebastien Pouliot  <sebastien@ximian.com>
620
621         * Environment.cs: Bumped mono_corlib_version to 25.
622
623 2004-09-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
624
625         * AppDomain.cs: added SetupInformationNoCopy property, since
626         SetupInformation creates a copy now, all updates to it should use the
627         actual data. Fixes bug #61991 take 2.
628
629 2004-09-09  Tim Coleman <tim@timcoleman.com>
630         * Base64FormattingOptions.cs: New enum
631         * Convert.cs: Add new ToBase64String methods for Fx 2.0
632
633 2004-09-08  Marek Safar  <marek.safar@seznam.cz>
634
635         * Console.cs,
636         * GC.cs: Class is static for NET_2_0.
637
638 2004-09-07 Ben Maurer  <bmaurer@users.sourceforge.net>
639
640         * Activator.cs: Make sure not to call .GetType on a
641         null argument. fixes 63852
642
643 2004-09-06 Ben Maurer  <bmaurer@users.sourceforge.net>
644
645         * Array.cs (Clear): make this an icall.
646
647 2004-09-05 Ben Maurer  <bmaurer@users.sourceforge.net>
648
649         * MonoCustomAttribute.cs: Avoid the call to GetBase when possible.
650
651 2004-09-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
652
653         * Environment.cs: (ExpandEnvironmentVariables) don't nullify the case
654         insensitive enironment variables hashtable once we create it.
655
656 2004-09-04  Sebastien Pouliot  <sebastien@ximian.com>
657
658         * AppDomain.cs: Changed 2 imperative security demands to declarative
659         (unsupported) so it doesn't (for now) call the security runtime.
660
661 2004-09-02  Zoltan Varga  <vargaz@freemail.hu>
662
663         * Delegate.cs: Free the delegate trampoline in the finalizer.
664
665 2004-08-26  Sebastien Pouliot  <sebastien@ximian.com>
666
667         * ApplicationId.cs: Completed GetHashCode using information from MS
668         (FDBK13339).
669
670 2004-08-23  Sebastien Pouliot  <sebastien@ximian.com>
671
672         * Boolean.cs: Added TryParse static method for NET_2_0 profile.
673
674 2004-08-19  Atsushi Enomoto  <atsushi@ximian.com>
675
676         * DateTime.cs : When hour format is "hh", MS.NET (maybe incorrectly)
677           allows 12, that should not be accepted (13 is rejected) and
678           interpreted as 0. This fixes bug 63376.
679
680 2004-08-17  Sebastien Pouliot  <sebastien@ximian.com>
681
682         * Version.cs: Fixed Clone so we can use it on versions with only
683         major/minor or major/minor/build.
684
685 2004-08-17  Martin Baulig  <martin@ximian.com>
686
687         * MonoType.cs (MonoType.getFullName): Added `bool full_name'
688         argument specifying whether or not to include the type arguments.
689         (MonoType.FullName): Don't include the type arguments.
690         (MonoType.ToString): Include them here.
691
692         * Environment.cs: Bumped mono_corlib_version to 24.
693
694 2004-08-16  Duncan Mak  <duncan@ximian.com>
695
696         * AttributeUsageAttribute.cs: Change the AttributeUsage to
697         AttributeTargets.Class, from AttributeTargets.All, fixes Zoltan's
698         bug #62895.
699
700 2004-08-11  Marek Safar  <marek.safar@seznam.cz>
701
702         * AppDomain.cs: Fixed typo of DefineDynamicAssembly argument.
703         Added call to AddPermissionRequests to pass permissions
704         arguments.
705         * Environment.cs: Added a few Fx 2.0 methods
706
707 2004-08-09  Sebastien Pouliot  <sebastien@ximian.com>
708
709         * ApplicationId.cs: Fixed typo to fix NET_2_0 compilation.
710         * AppDomain.cs: Fixed use of Evidence and AppDomainSetup (copies, not
711         references). Added (non-obsolete) Fx 2.0 properties and methods.
712         * AppDomainSetup.cs: Added internal copy constructor.
713         * DomainManagerInitializationFlags.cs: Fixed values.
714
715 2004-08-08  Sebastien Pouliot  <sebastien@ximian.com>
716
717         * AppDomainInitializer.cs: New Fx 2.0 class for AppDomain.
718         * AppDomainManager.cs: New Fx 2.0 class for AppDomain.
719         * ApplicationActivator.cs: New Fx 2.0 class for AppDomain.
720         * ApplicationId.cs: New Fx 2.0 class.
721         * ApplicationIdentity.cs: Fixed ToString.
722         * DomainManagerInitializationFlags.cs: New Fx 2.0 flags for AppDomain.
723
724 2004-08-05  Sebastien Pouliot  <sebastien@ximian.com>
725
726         * AppDomain.cs: Added a new icall, getDomainByID, to get the an 
727         AppDomain using it's Id. Completed SetAppDomainPolicy.
728         * Environment.cs: Bumped mono_corlib_version to 23.
729
730 2004-08-02  Martin Baulig  <martin@ximian.com>
731
732         * DateTime.cs, TimeSpan.cs, Guid.cs, Version.cs: Implement IComparable<T>.
733
734 2004-07-29  Atsushi Enomoto  <atsushi@ximian.com>
735
736         * Environment.cs : GacPath on windows is based on mscorlib.dll, and
737           now its location is changed.
738
739 2004-07-21  Lluis Sanchez Gual  <lluis@novell.com>
740
741         * Environment.cs: Return the MS.NET 2.0 beta1 runtime version for the
742           NET_2_0 profile.
743         
744 2004-07-18  Martin Baulig  <martin@ximian.com>
745
746         * Array.cs: Ben Maurer implemented all the new generic methods
747         here :-)
748
749 2004-07-17  Martin Baulig  <martin@ximian.com>
750
751         * Decimal.cs: Implement IComparable<Decimal>.
752
753 2004-07-17  Martin Baulig  <martin@ximian.com>
754
755         * Byte.cs, Int16.cs, Int32.cs, Int64.cs, SByte.cs, String.cs,
756         UInt16.cs, UInt32.cs, UInt64.cs: Implement IComparable<T>.      
757
758 2004-07-13  Sebastien Pouliot  <sebastien@ximian.com>
759
760         * ActivationContext.cs: New class in Fx 2.0. Required for 
761         System.Security.Policy.
762         * ApplicationIdentity.cs: New class in Fx 2.0. Required for 
763         System.Security.Policy.
764         * IApplicationDescription.cs: New interface in Fx 2.0. Required for 
765         System.Security.Policy.
766         * IHostContext.cs: New interface in Fx 2.0. Required for 
767         System.Security.Policy.
768
769 2004-07-12  Geoff Norton <gnorton@customerdna.com>
770
771         * DateTime.cs: Patch for bug #61112.  Our DateTime wasn't roundtripping over timezone
772           boundaries properly.  This patch checkes ToLocalTime() to see if we're tripping over a boundary
773           and will add/subtract the hour if needed
774
775 2004-07-07  Geoff Norton <gnorton@customerdna.com>
776
777         * Monotype.cs: Patch for bug #58844.  Dont throw exceptions right away;
778           pass through all the possibly BindingInfo's and keep a bool value as to the type
779           of exception we might need to throw;
780
781 2004-07-07  Geoff Norton <gnorton@customerdna.com>
782
783         * Patch to fix bug #58973
784
785 2004-07-02  Jackson Harper  <jackson@ximian.com>
786
787         * PlatformID.cs: New 2.0 values.
788         
789 2004-06-25  Ben Maurer <bmaurer@ximian.com>
790         
791         * Environment.cs: GetFolderPath has new behavior. r=miguel
792
793 2004-06-23  Sebastien Pouliot  <sebastien@ximian.com>
794
795         * DateTime.cs: Throw ArgumentOutOfRangeException if the year is
796         bigger than 9999. Fix bug #41845.
797         * FloatingPointFormatter.cs: Applied correction from Jon Skeet on
798         the "R"eversible format for negative numbers.
799
800 2004-06-21  Jackson Harper  <jackson@ximian.com>
801
802         * Decimal.cs: Make sure to use invariant culture when parsing
803         floats stringified with the invariant culture. Patch by Rodrigo
804         B. de Oliveira.
805         
806 2004-06-19  Atsushi Enomoto  <atsushi@ximian.com>
807
808         * FloatingPointFormatter.cs : Literal string should be kept in the
809           output.
810
811 2004-06-18  Atsushi Enomoto  <atsushi@ximian.com>
812
813         * DateTime.cs : Concatenating whitespace removal was not working fine.
814           Modified FormatException message (1 cent kindness).
815
816 2004-06-18  Ben Maurer  <bmaurer@ximian.com>
817         
818         * Action.cs, ArraySegment.cs, Comparison.cs, Converter.cs, Predicate.cs:
819         new generics classes
820         * IComparable.cs: add the new <T> version.
821         * EventHandler.cs: new <T> version.
822         
823 2004-06-18  Dick Porter  <dick@ximian.com>
824
825         * String.cs: The icall can cope with embedded \0 now.
826
827 2004-06-18  Atsushi Enomoto  <atsushi@ximian.com>
828
829         * DateTime.cs :
830           - Added new common pattern "yyyy/M/dZ"
831           - empty string should not be compared in _ParseEnum()
832           - Use culture independent string comparison in _ParseString()
833           - Whitespace removal should be checked after '..' token check (some
834             pattern such like es-ES LongDatePattern contains spaces in '..').
835           - formats null check should be done (to throw ArgumentNullException)
836             in ParseExact().
837           - When specified one character format, dates are incorrectly regarded
838             as to use invariant culture.
839
840 2004-06-18  Gert Driesen <drieseng@users.sourceforge.net>
841
842         * ArgIterator.cs: changed layout to Auto
843         * DateTime.cs: changed layout to Auto
844
845 2004-06-18  Gert Driesen <drieseng@users.sourceforge.net>
846
847         * DateTime.cs: CRLF to LF
848
849 2004-06-17  Sebastien Pouliot  <sebastien@ximian.com>
850
851         * Decimal.cs: Fixed regression in System.Data caused by the recent 
852         changes. Adapted (and moved) the code to correct the scale from 
853         SqlMoney. Removed unused (and unusable) IsOne and fixed IsZero (where
854         scale has no importance).
855
856 2004-06-17  Lluis Sanchez Gual  <lluis@ximian.com>
857
858         * Activator.cs: In CreateInstance(), use Public|Instance if access binding
859           attributes are omitted.
860
861 2004-06-17  Atsushi Enomoto  <atsushi@ximian.com>
862
863         * DateTime.cs : GetDateTimeFormats(char, IFormatProvider) should also
864           check if the format character is valid.
865
866 2004-06-17  Atsushi Enomoto  <atsushi@ximian.com>
867
868         * DateTime.cs : AddDays(double) rounds the input.
869
870 2004-06-17  Atsushi Enomoto  <atsushi@ximian.com>
871
872         * DateTime.cs : Incorrect maxvalue comparison in ToUniversalTime().
873           Fixed ToLocalTime() as well, but it does check range for MinValue.
874
875 2004-06-17  Atsushi Enomoto  <atsushi@ximian.com>
876
877         * DateTime.cs : Added overflow check in ToUniversalTime() and
878           ToLocalTime(). Fixed bug #60253.
879
880 2004-06-16  Sebastien Pouliot  <sebastien@ximian.com>
881
882         * FloatingPointFormatter.cs: Implemented "R" format using Jon Skeet
883         source code (with permission). Fix (biggest) part of bug #60110.
884         http://www.yoda.arachsys.com/csharp/floatingpoint.html
885
886 2004-06-15  Sebastien Pouliot  <sebastien@ximian.com>
887
888         * Decimal.cs: Fixed scale after Round (a different scale is correct 
889         from a math point of view but affect the string representation of the
890         value). Note: other operations also have scale problems!
891         * DecimalFormatter.cs: Fixed FormatGeneral to match Fx 1.1 output.
892         * FloatingPointFormatter.cs: Fixed ToString which doesn't use banker's
893         rounding (which is the rounding provided by Math.Round). This fix bug
894         #60111. The code (new Round methods) should be moved elsewhere (as it
895         may also be required elsewhere) post Mono 1.0.
896
897 2004-06-15  Gert Driesen <drieseng@users.sourceforge.net>
898
899         * AppDomainSetup.cs: added TODO for serialization
900         * ExecutionEngineException.cs: added missing serialization ctor
901         * InvalidProgramException.cs: added missing serialization ctor
902         * MulticastNotSupportedException.cs: added missing serialization ctor
903         * ObsoleteAttribute.cs: fixed serialization compatibility with MS.NET
904         * Random.cs: fixed serialization compatibility with MS.NET
905
906 2004-06-15  Paolo Molaro <lupus@ximian.com>
907
908         * Type.cs: removed unused (and non-existing) icall type_is_instance.
909
910 2004-06-15  Gonzalo Paniagua Javier <gonzalo@ximian.com>
911
912         * Environment.cs: use internalGetHome instead of getting "HOME" as
913         that variable may not be defined.
914
915 2004-06-14  Sebastien Pouliot  <sebastien@ximian.com>
916
917         * TimeSpan.cs: Fixed timespan with large values for hours or minutes
918         (overflow is only checked for days but can also occurs in hours and
919         minutes which uses Int32 when multiplying). The new results match MS
920         implementation.
921
922 2004-06-14  Atsushi Enomoto  <atsushi@ximian.com>
923
924         * FloatingPointFormatter.cs : Recognize '%' and '\u2030' and replace
925           them with matching NumberFormatInfo properties.
926
927 2004-06-14  Atsushi Enomoto  <atsushi@ximian.com>
928
929         * Double.cs : Use IFormatProvider.GetFormat() instead of literal '-'.
930         * FloatingPointFormatter.cs :
931           Use NumberFormatInfo.NegativeSign. This change saves many XSLT test
932           failures.
933           Format Permille pattern (It is undocumented but actually available,
934           and used in xsl:format-number).
935
936 2004-06-14  Raja R Harinath  <rharinath@novell.com>
937
938         * Console.cs (Console.Write, Console.WriteLine): Disable __arglist
939         version with BOOTSTRAP_WITH_OLDLIB.
940         * String.cs (STring.Concat): Likewise.
941
942 2004-06-13  Atsushi Enomoto  <atsushi@ximian.com>
943
944         * FloatingPointFormatter.cs :
945           - Don't format more than 15 fraction digits. Don't report to Pedro
946             directly (removing the error message with his concent).
947           - When format string starts with '.', it means integral part format 
948             is not specified. Ignore '.' characters after the first
949             appearance. Fixed bug #59890.
950           - 0.0 is formatted only before the third ';' appearance.
951
952 2004-06-11  Sebastien Pouliot  <sebastien@ximian.com>
953
954         * DateTime.cs: Added a AddRoundedMilliseconds which use the "old Mono"
955         rounding logic which worked for FromOADate (while the newer didn't).
956         * TimeSpan.cs: Now throw an OverflowException when the timespan is
957         over MaxValue or under MinValue.
958
959 2004-06-11  Martin Baulig  <martin@ximian.com>
960
961         * Console.cs (Write, WriteLine): Implemented the varargs versions.
962
963 2004-06-11  Martin Baulig  <martin@ximian.com>
964
965         * String.cs (Concat): Implemented the varargs version.
966
967 2004-06-10  Sebastien Pouliot  <sebastien@ximian.com>
968
969         * Decimal.cs: Hacked the Parse method to allow the runtime C code to
970         decode it properly (i.e. matching MS results). Fixed the Round method
971         for negative decimal numbers (moved code from Math.cs).
972         * Math.cs: Now use Decimal class for Round(Decimal,int). Required to
973         fix a bug when rounding a negative decimal.
974
975 2004-06-11  Gonzalo Paniagua Javier <gonzalo@ximian.com>
976
977         * AppDomain.cs: set the _principal to null when changing the policy.
978         * Console.cs: remove ClsCompliant attribute from a method marked as
979         internal and added comment.
980
981 2004-06-10  Gert Driesen <drieseng@users.sourceforge.net>
982
983         * Delegate.cs: marked protected fields private to match public
984         API of MS.NET, marked DynamicInvokeImpl and GetMethodImpl
985         protected to fix public API
986         * Enum.cs: marked ctor protected to match public API of MS.NET
987         * MulticastDelegate.cs: marked DynamicInvokeImpl protected to
988         match public API of MS.NET
989
990 2004-06-10  Atsushi Enomoto  <atsushi@ximian.com>
991
992         * DateTime.cs : Added more common patterns.
993
994 2004-06-09  Sebastien Pouliot  <sebastien@ximian.com>
995
996         * Decimal.cs: Fixed banker rounding by calling Math.Round. This won't
997         be a performance winner (the actual Math code has a note to wait a
998         better Decimal implementation) but it returns the correct results
999         (without adding new code in corlib or the runtime). Fix #37744.
1000
1001 2004-06-09  Atsushi Enomoto  <atsushi@ximian.com>
1002
1003         * DateTime.cs :
1004           - A bunch of fixes (patch by Steven Brown). Fraction seconds are 
1005             now represented as double. Strict token check for 'Z'.
1006           - Pattern validity check in GetDateTimeFormats(char).
1007           - Fixed pattern "yyyy/M/d HH:mm:ss".
1008
1009 2004-06-09  Sebastien Pouliot  <sebastien@ximian.com>
1010
1011         * Decimal.cs: Fixed remainder (and optimized some cases not to call 
1012         unmanaged code). Simplified divide. Removed workaround for bug #59793.
1013         Fixed GetHashCode to return different result for X and -X.
1014
1015 2004-06-08  Atsushi Enomoto  <atsushi@ximian.com>
1016
1017         * DateTime.cs :
1018           - Now re-checked all common format patterns. They should be tried
1019             with both current culture and invariant culture. Since '/' covers
1020             '-', removed extraneous patterns. Added more common patterns
1021             such as "yyyy-MM-dd" and X509Certificate pattern (it is valid
1022             only after NET_1_1). Commented out 1 character format patterns.
1023           - The format patterns we should try should not be obtained by
1024             GetAllDateTimePatterns(). Just use 'd', 'D', 't', 'T', ... (one
1025             character patterns), to handle UTC correctly. Examined patterns
1026             are changed, to 1) common patterns with specified (or current)
1027             culture, 2) common patterns with invariant, 3) The above "one
1028             character patterns" with specified (or current) culture.
1029           - When trying to parse some kind of patterns such as RFC1123, 
1030             always use invariant DateTimeFormatInfo so that they can avoid
1031             parsing with culture-dependent calendar.
1032           - Check "GMT" only when doing Parse(). Don't it when ParseExact().
1033           - Removed extraneous '-' case. It is not special one.
1034           - When ParseExact(), allow only '/' for '/' pattern character.
1035           - When Parse(), allow any non-letter & non-number characters.
1036           - When pattern is not fully parsed, reject that format.
1037           - Added "exact" parameter to some ParseExact().
1038           - RFC1123 pattern is (again) now parsed in local time. I regressed
1039             some problems in previous fix.
1040
1041 2004-06-08  Sebastien Pouliot  <sebastien@ximian.com>
1042
1043         * Decimal.cs: Fixed cast to integer types to truncate (not round) the
1044         value.
1045
1046 2004-06-07  Duncan Mak  <duncan@ximian.com>
1047
1048         * Exception.cs (Source): This can return null.
1049
1050 2004-06-07  Sebastien Pouliot  <sebastien@ximian.com>
1051
1052         * DateTime.cs: Fixed FromFileTime for negative values. Fixed 
1053         constructor to limit range of milliseconds from 0,999. Fixed
1054         ToType method to work for object, string and DateTime.
1055
1056 2004-06-07  Sebastien Pouliot  <sebastien@ximian.com>
1057
1058         * DateTime.cs: Fixed OLE Automation date conversions: timezone 
1059         insensitive, wrong exception in FromOADate, handling of Min/Max 
1060         values, negative doubles where integer part is negative but 
1061         decimals are positive! Charming format ;-)
1062
1063 2004-06-06  Sebastien Pouliot  <sebastien@ximian.com>
1064
1065         * String.cs: Fixed Join in case separator parameter is null.
1066         * TimeSpan.cs: Cache format errors during parsing and throw 
1067         FormatException only if there was no overflow.
1068
1069 2004-06-06  Gert Driesen <drieseng@users.sourceforge.net>
1070
1071         * MonoCustomAttrs.cs: fixed issue where an empty array was 
1072         returned when GetCustomAttributes was invoked with null
1073         attribute type and there was only one result
1074
1075 2004-06-06  Sebastien Pouliot  <sebastien@ximian.com>
1076
1077         * Decimal.cs: Fixed ToString(String.Empty) to default ("G").
1078         * Int16.cs: Fixed ToString(String.Empty) to default ("G").
1079         * Int32.cs: Fixed ToString(String.Empty) to default ("G").
1080         * Int64.cs: Fixed ToString(String.Empty) to default ("G").
1081         * SByte.cs: Fixed ToString(String.Empty) to default ("G").
1082         * UInt16.cs: Fixed ToString(String.Empty) to default ("G").
1083         * UInt32.cs: Fixed ToString(String.Empty) to default ("G").
1084         * UInt64.cs: Fixed ToString(String.Empty) to default ("G").
1085
1086 2004-06-05  Sebastien Pouliot  <sebastien@ximian.com>
1087
1088         * Convert.cs: Fixed the convertion of negative integers (byte, short, 
1089         int and long) into string in a specific base (2, 8, 10 or 16).
1090
1091 2004-06-04  Sebastien Pouliot  <sebastien@ximian.com>
1092
1093         * Math.cs: Fixed IEEERemainder to return -0 (0x8000000000000000) when
1094         the dividend is negative and the result is 0 (remainder).
1095
1096 2004-06-03  Sebastien Pouliot  <sebastien@ximian.com>
1097
1098         * Delegate.cs: Fix the NullReferenceException in Combine(Delegate[]).
1099
1100 2004-06-02  Sebastien Pouliot  <sebastien@ximian.com>
1101
1102         * TimeSpan.cs: Fixed overflow issues when delaing with big (days) time
1103         spans. Fixed parsing when only days are presents in the string (which
1104         should be illegal according to the documentation but is supported).
1105
1106 2004-06-01  Sebastien Pouliot  <sebastien@ximian.com>
1107
1108         * TimeSpan.cs: Fixed exceptions in FromXXX methods as they are 
1109         somewhat different from the documentation.
1110
1111 2004-06-01  Gert Driesen <drieseng@users.sourceforge.net>
1112
1113         * Type.cs: added missing attributes on InvokeMember
1114
1115 2004-06-01  Miguel de Icaza  <miguel@ximian.com>
1116
1117         * String.cs: Flag concat with four arguments internal. 
1118
1119 2004-05-31  Sebastien Pouliot  <sebastien@ximian.com>
1120
1121         * Array.cs: Fixed legal case where value is null.
1122         * Byte.cs: Fixed ToString when format is an empty string (use "G").
1123         * Guid.cs: Renamed private fields (and changed some to signed) to 
1124         match MS implementation and allow serialization to work. Fix 
1125         bug #59113.
1126
1127 2004-05-30  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1128
1129         * DateTime.cs: adjust milliseconds for fraction specifier ('f').
1130
1131 2004-05-30  Miguel de Icaza  <miguel@ximian.com>
1132
1133         * Console.cs: Remove *again* the version of WriteLine with four
1134         arguments;  That should *not* be added.  
1135
1136         Flag it as internal as people migrate their code.
1137
1138 2004-05-29  Sebastien Pouliot  <sebastien@ximian.com>
1139
1140         * Convert.cs: Fixed ToSByte(string,IFormatProvider) to throw 
1141         ArgumentNullException (only case, all other returns 0). Fixed exception
1142         reporting for hex prefix only strings. Fixed ChangeTo where null could
1143         be misinterpreted between null and Empty.
1144
1145 2004-05-28  Sebastien Pouliot  <sebastien@ximian.com>
1146
1147         * Convert.cs: Fixed integer parsing for special cases (0x, 0X for base
1148         16), non-base 10 negative numbers ... see new unit tests. Fixed the 
1149         case when we parse Int64.MinValue (positive doesn't fit a signed long).
1150
1151 2004-05-28  Jackson Harper  <jackson@ximian.com>
1152
1153         * Environment.cs: Increment version number.
1154         
1155 2004-05-28  Zoltan Varga  <vargaz@freemail.hu>
1156
1157         * AppDomain.cs (Load): Try loading from assemblyRef.CodeBase if exists.
1158         Fixes #59189.
1159
1160 2004-05-28  Atsushi Enomoto <atsushi@ximian.com>
1161
1162         * DateTime.cs : I reverted my fix by accident :(
1163
1164 2004-05-28  Atsushi Enomoto <atsushi@ximian.com>
1165
1166         * DateTime.cs :
1167           - In ToString(), Don't use culture-dependent daynames to format
1168             Universal/RFC1123 date/time. Also, use FullDateTimePattern for 'U'.
1169           - Fixed GetDateTimeFormats () that generated incorrect 'U' value 
1170             (since the format string is the same as 'F').
1171
1172 2004-05-28  Atsushi Enomoto <atsushi@ximian.com>
1173
1174         * DateTime.cs : don't adjust utc value in ToString(). It must output
1175           the same time value, just adding 'Z' for UTC.
1176
1177 2004-05-28  Atsushi Enomoto <atsushi@ximian.com>
1178
1179         * DateTime.cs : in 'Z' case, remove the 'Z' char from input before
1180           proceeding.
1181
1182 2004-05-28  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1183
1184         * AppDomainSetup.cs: InitAppDomainSetup is not needed now.
1185
1186 2004-05-27  Sebastien Pouliot  <sebastien@ximian.com>
1187
1188         * Byte.cs: Fixed parsing for "-0" which is valid for unsigned types.
1189         * Convert.cs: Convert with a base parameter cannot parse negative 
1190         string numbers, even "-0".
1191         * UInt16.cs: Fixed parsing for "-0" which is valid for unsigned types.
1192         * UInt32.cs: Fixed parsing for "-0" which is valid for unsigned types.
1193         * UInt64.cs: Fixed parsing for "-0" which is valid for unsigned types.
1194
1195 2004-05-27  Atsushi Enomoto <atsushi@ximian.com>
1196
1197         * DateTime.cs : 
1198           - Added "yyyy/MM/dd HH:mm:ss 'GMT'" and "yyyy-MM-dd HH:mm:ss 'GMT'"
1199             to common formats (yes, I know it is nothing more than hack)
1200           - Fixed some GetDateTimeFormats() that just returned patterns.
1201           - For InvariantCulture, now try both supported formats and our
1202             predefined formats.
1203           - It was accepting incorrectly extraneous characters. That caused
1204             some UTC/non-UTC bug.
1205           - RFC1123 string should return universal time. Uncomment again (the
1206             problem should went away because of the extra characters fix above.
1207
1208             With some of the changes above, fixed bug #47720.
1209
1210 2004-05-27  Atsushi Enomoto <atsushi@ximian.com>
1211
1212         * DateTime.cs : quick revert 'Z' support for certificate verifications.
1213
1214 2004-05-26  Sebastien Pouliot  <sebastien@ximian.com>
1215
1216         * Array.cs: Removed duplicate condition if LastIndexOf.
1217
1218 2004-05-26  Atsushi Enomoto <atsushi@ximian.com>
1219
1220         * DateTime.cs :
1221           - Added "yyyy-MM-dd HH:mm:ss" to "compatible patterns".
1222             (Fixed bug #58938.)
1223           - As a quick remedy to accept more patterns, Parse() now also tries
1224             InvariantInfo patterns (this is because we have no more than one
1225             pattern for each pattern component.)
1226           - In _DoParse(), 'Z' should not be read as timezone specifier. Some
1227             culture uses 'Z' as AM/PM designer, and it should be recognized as
1228             part of the UTCpattern (if it actually UTC pattern for the culture
1229             contains 'Z').
1230
1231 2004-05-26  Gert Driesen (drieseng@users.sourceforge.net)
1232
1233         * MonoCustomAttrs.cs: Fixed issue with AllowMultiple, as MS
1234         seems to allow multiple attributes with AllowMultiple at
1235         runtime.
1236
1237 2004-05-26  Sebastien Pouliot  <sebastien@ximian.com>
1238
1239         * Byte.cs: Throw an OverflowException for negative numbers.
1240         * Convert.cs: Accept 0x and 0X as prefix when parsing base16 strings.
1241         * Environment.cs: Bumped mono_corlib_version to 20 (rng interface).
1242
1243 2004-05-25  Sebastien Pouliot  <sebastien@ximian.com>
1244
1245         * Array.cs: Fixed possible integer overflow.
1246         * BitConverter.cs: Fixed a possible integer overflow in ToString.
1247         * Guid.cs: Added an internal method to create a random Guid without
1248         using CryptoConfig (which is heavy on first use). This is only used
1249         in S.R.E.ModuleBuilder to speedup MCS compilation.
1250         * String.cs: Fixed reported exception for PadLeft|Right. Fixed 
1251         possible integer overflow in methods that takes index and count
1252         as parameters.
1253
1254 2004-05-25  Zoltan Varga  <vargaz@freemail.hu>
1255
1256         * String.cs: Add new Strcpy icalls which take a char array as 
1257         parameter.
1258
1259 2004-05-25  Atsushi Enomoto <atsushi@ximian.com>
1260
1261         * DateTime.cs : added more invariant format patterns. This should
1262           really fix bug #57656.
1263
1264 2004-05-25 14:14 CET Patrik Torstensson <totte@hiddenpeaks.com>
1265
1266         * BitConverter.cs (ToBoolean): Return true or false instead
1267         of unsafe returing byte as bool. Fixes bug #58874.
1268
1269 2004-05-25  Atsushi Enomoto <atsushi@ximian.com>
1270
1271         * DateTime.cs : In ToString(string, IFormatProvider), use "G" if
1272           string format argument is null.
1273
1274 2004-05-25  Lluis Sanchez Gual  <lluis@ximian.com>
1275
1276         * Version.cs: Rename of data fields to match those in Microsoft.NET.
1277           Patch by PAF@design.ru.
1278
1279 2004-05-25  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1280
1281         * DateTime.cs: allow double quotes in the formats. Don't set
1282         next_not_digit to true in presence of single or double quotes. Patch by
1283         Martin Probst.
1284
1285 2004-05-24  Zoltan Varga  <vargaz@freemail.hu>
1286
1287         * AppDomainSetup.cs (InitAppDomainSetup): This one returns void.
1288
1289 2004-05-23  Sebastien Pouliot  <sebastien@ximian.com>
1290
1291         * Array.cs: Fixed exception when we try to Clear outside bounds.
1292         * Boolean.cs: Fixed Equals for True!=True (see bugzilla #58874).
1293         * BitConverter.cs: Fixed negative index and integer overflow in
1294         To... methods.
1295         * Buffer.cs: Fixed integer overflow in BlockCopy.
1296
1297 2004-05-22  Sebastien Pouliot  <sebastien@ximian.com>
1298
1299         * Array.cs: Clear can now work on multidimentional arrays.
1300         * IntPtr.cs: We now only accept 32bits values in the long constructor
1301         unless we're on a 64 bits machine.
1302         * UIntPtr.cs: We now only accept 32bits unsigned values in the ulong 
1303         constructor unless we're on a 64 bits machine.
1304
1305 2004-05-22  Duncan Mak  <duncan@ximian.com>
1306
1307         * Convert.cs: The file was mostly in DOS endings already, for the
1308         sake of consistency, converted it all to DOS endings.
1309         (ToType): When value is null, immediately return null and don't
1310         ever throw a NullReferenceException. When conversionType is null,
1311         throw an InvalidCastException. Give a better error message when
1312         attempting to convert to a DBNull as well.
1313
1314 2004-05-21  Sebastien Pouliot  <sebastien@ximian.com>
1315
1316         * Decimal.cs: Fixed To... methods that needs to trunk the integer part
1317         of Decimal (and not use the banker's rounding like Convert.To...).
1318         * Single.cs: Fixed CompareTo and Equals (copied fix from Double) wrt
1319         to NaN compares (see new unit tests).
1320
1321 2004-05-20  Sebastien Pouliot  <sebastien@ximian.com>
1322
1323         * Convert.cs: Added checks for integer overflow for From|ToBase64Char.
1324         Also fixed the case where wide (16 bits) characters were converted to 
1325         bytes.
1326
1327 2004-05-19  Gert Driesen (drieseng@users.sourceforge.net)
1328
1329         * ThreadStaticAttribute.cs
1330         * ContextStaticAttribute.cs
1331         * FlagsAttribute.cs
1332         * ObsoleteAttribute.cs : now that Inherited is false by
1333         default on AttributeUsageAttribute (as it should be) we
1334         need to explicitly set Inherited to false for those
1335         attributes should it be be false.
1336
1337 2004-05-19  Gert Driesen (drieseng@users.sourceforge.net)
1338
1339         * AttributeUsageAttribute.cs: Inherited property should be
1340         true by defaultrs.cs: respect Inherited property, and
1341
1342 2004-05-19  Gert Driesen (drieseng@users.sourceforge.net)
1343
1344         * MonoCustomAttrs.cs: respect Inherited property, and
1345         AllowMultiple property of a CustomAttribute. This fixes
1346         a major issue we had with respect to custom attributes.
1347
1348 2004-05-19  Gert Driesen (drieseng@users.sourceforge.net)
1349
1350         * MonoType.cs: throw ArgumentNullException when type parameter in
1351         GetCustomAttributes(Type, bool) is null
1352
1353 2004-05-18  Sebastien Pouliot  <sebastien@ximian.com>
1354
1355         * Buffer.cs: Added checks for null source and destination. Fix failing
1356         CryptoStream unit test.
1357         * Guid.cs: Fixed thread-safety issue. Simplified implementation to use
1358         pseudo-random numbers to generate GUIDs (as per section 3.4 of the 
1359         spec). This removes the TODO to get the computer MAC address and
1360         the chances to get a duplicate GUID (across different machines).
1361
1362 2004-05-17  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
1363
1364         * TimeSpan.cs: Only catch expected exceptions, if we get other exceptions
1365           than OverflowExceptions then something went wrong internally
1366
1367 2004-05-17  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
1368
1369         * Char.cs: Fix long standing bug with ToLower/ToUpper not being
1370           culture - sensitive
1371
1372 2004-05-14  Zoltan Varga  <vargaz@freemail.hu>
1373
1374         * Buffer.cs: Optimize BlockCopy.
1375
1376         * Environment.cs: Bump corlib version.
1377
1378 2004-05-14  Atsushi Enomoto <atsushi@ximian.com>
1379
1380         * __ComObject.cs : This class is not regarded as CLSCompliant by csc.
1381           See also bug #58478.
1382
1383 2004-05-14  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1384
1385         * AppDomainSetup.cs: don't throw an exception if dynamic_base has not
1386         been set. Just return null as MS. Fixes bug #58120.
1387
1388 2004-05-14  Marek Safar  <marek.safar@seznam.cz>
1389
1390         * Boolean.cs, Byte.cs, Char.cs, DBNull.cs, DateTime.cs,
1391           Decimal.cs, Double.cs, Enum.cs, Int16.cs, Int32.cs,
1392           Int64.cs, IntegerFormatter.cs, SByte.cs, Single.cs,
1393           String.cs, UInt16.cs, UInt32.cs, UInt64.cs: Removed
1394           useless [CLSCompliant (false)]
1395
1396
1397 2004-05-13  Sebastien Pouliot  <sebastien@ximian.com>
1398
1399         * __ComObject.cs: To please corcompare (no implementation).
1400
1401 2004-05-13  Zoltan Varga  <vargaz@freemail.hu>
1402
1403         * Environment.cs: Bump corlib version.
1404
1405 2004-05-13  Sebastien Pouliot  <sebastien@ximian.com>
1406
1407         * Environement.cs: Removed two security attributes for CurrentDirectory
1408         that weren't documented (and anyway we don't support them).
1409
1410 2004-05-11  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
1411
1412         * Char.cs: Fix exceptions
1413
1414 2004-05-11  Lluis Sanchez Gual  <lluis@ximian.com>
1415
1416         * MissingMemberException.cs: Fix in serialization constructor.
1417
1418 2004-05-10  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1419
1420         * Environment.cs: GetGacPath return value is resolved at runtime on
1421         windows.
1422
1423 2004-05-07  Sebastien Pouliot  <sebastien@ximian.com>
1424  
1425         * Convert.cs: ToBase64CharArray method was depending on a bug in 
1426         S.S.C.ToBase64Transform class to work. Added an internal method to 
1427         provide the same functionality (multiple block processing).
1428
1429 2004-05-06  Jackson Harper  <jackson@ximian.com>
1430
1431         * Environment.cs: Make $HOME the personal directory.
1432
1433 2004-05-06  Sebastien Pouliot  <sebastien@ximian.com>
1434  
1435         * Convert.cs: ToBase64String method was depending on a bug in 
1436         S.S.C.ToBase64Transform class to work. Added an internal method to 
1437         provide the same functionality (multiple block processing).
1438
1439 2004-05-05  Sebastien Pouliot  <sebastien@ximian.com>
1440  
1441         * Environment.cs: Completed OSVersion property.
1442         * Version.cs: Added internal CreateFromString() to "try" to build the
1443         best version number form the specified string.
1444  
1445 2004-05-01  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
1446
1447         * TimeSpan.cs: Redid a lot of stuff in TimeSpan from scratch.
1448           Fixes several potential bugs and makes things way faster.
1449
1450 2004-05-01  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
1451
1452         * TimeSpan.cs: Formatting changes
1453
1454 2004-04-29 Ben Maurer  <bmaurer@users.sourceforge.net>
1455
1456         * Activator.cs: change _flags to a const.
1457         * IntegerFormatter.cs: make tables readonly.
1458         * Convert.cs: tables readonly
1459         * DateTime.cs: ditto.
1460         * IntPtr.cs: avoid a cctor.
1461
1462 2004-04-29  Jackson Harper  <jackson@ximian.com>
1463
1464         * MonoType.cs: 
1465         * Type.cs: NET_2_0 now instead of 1_2. 
1466         
1467 2004-04-29  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1468
1469         * Environment.cs: implemented GetLogicalDrives.
1470
1471 2004-04-28  Miguel de Icaza  <miguel@ximian.com>
1472
1473         * Applied patch from Atsushi Enomoto that allows Synchronized
1474         writers to have a `dont close' flag, this fixes 52094
1475
1476 2004-04-29  Lluis Sanchez Gual  <lluis@ximian.com>
1477
1478         * MonoCustomAttrs.cs, MonoType.cs: Property.GetGetMethod() does not
1479         return the method if it is private (it did until now because of a
1480         bug). Make sure it works as it worked before the fix.
1481         * Type.cs: Implemented FilterAttribute delegate.
1482
1483 2004-04-28  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
1484
1485         * IntegerFormatter.cs: Prevent the use of the explicit static constuctor
1486
1487 2004-04-27  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
1488
1489         * IntegerFormatter.cs: Made functions internal (needed by other patches)
1490
1491 2004-04-27  Lluis Sanchez Gual  <lluis@ximian.com>
1492
1493         * DateTime.cs: TODO cleaning.
1494         * Delegate.cs: GetObjectData should be virtual.
1495         * IntegerFormatter.cs: Method factorization. I don't want to fix bugs in
1496           30 methods almost identical.
1497         * MulticastDelegate.cs: Implemented GetObjectData.
1498         
1499 2004-04-26  Jackson Harper  <jackson@ximian.com>
1500
1501         * Environment.cs: Things going bump in the night.
1502
1503 2004-04-25  Miguel de Icaza  <miguel@ximian.com>
1504
1505         * Convert.cs (toBase64Transform): Make private.
1506
1507 2004-04-25  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
1508
1509         * Convert.cs:
1510         * Decimal.cs:
1511         * DecimalFormatter.cs:
1512         * FloatingPointFormatter.cs: Call invariant Char functions
1513         * Guid.cs: Call invariant Char and String functions
1514         * String.cs: Call invariant Char functions
1515
1516 2004-04-25  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
1517
1518         * String.cs: Refactored the Invariant ToXXX into its own internal methods
1519           so they are directly callable within corlib (can prevent early
1520           construction of CultureInfo, InvariantCulture and related classes)
1521
1522 2004-04-24  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
1523
1524         * String.cs: Managed impl. of Invariant parts of ToLower, ToUpper
1525         * Char.cs: Managed impl. of Invariant parts of ToLower, ToUpper
1526
1527 2004-04-24  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
1528
1529         * String.cs: Check for null values
1530
1531 2004-04-23  Peter Bartok <pbartok@novell.com>
1532
1533         * Environment.cs: GetLogicalDrives now returns "/" instead of null. Gonzalo
1534           will do a better fix in the future, but this way apps can at least use it.
1535
1536 2004-04-23  Sebastien Pouliot  <sebastien@ximian.com>
1537
1538         * Environment.cs: Better support for GetFolderPath (same results as MS 
1539           on Windows).
1540
1541 2004-04-22  Lluis Sanchez Gual  <lluis@ximian.com>
1542
1543         * Activator.cs: Removed TODOs for finished methods.
1544         * AppDomainSetup.cs: When setting a relative path to ApplicationBase, it
1545           must be relative to the current directory, not the temp directory.
1546           Implemented DynamicBase.
1547         * Convert.cs: No need to create a ToBase64Transform instance at every call
1548           to ToBase64CharArray.
1549         * DateTime.cs: Implemented missing methods FromFileTimeUtc and 
1550           ToFileTimeUtc.
1551         * Decimal.cs: Implemented FromOACurrency and ToOACurrency.
1552         * Delegate.cs: Removed class TODO.
1553         * IntegerFormatter.cs: Use Char.IsLetter and Char.IsDigit instead of ad-hoc
1554           methods.
1555         * Type.cs: Removed TODOs for things already implemented.
1556         
1557 2004-04-21  Lluis Sanchez Gual  <lluis@ximian.com>
1558
1559         * Char.cs: Implemented culture-dependent ToLower and ToUpper methods.
1560         * MulticastDelegate.cs: Removed unused code.
1561
1562 2004-04-19  Lluis Sanchez Gual  <lluis@ximian.com>
1563
1564         * AppDomain.cs: Implemented DynamicDirectory and SetDynamicBase.
1565         * Array.cs: Removed some TODOs in CreateInstance and IndexOf.
1566         * BadImageFormatException.cs: TODO reformat.
1567         * DateTime.cs: Implemented GetDateTimeFormats and GetDateTimeFormats.
1568         * DelegateSerializationHolder.cs: Made class internal.
1569         * Enum.cs: Removed TODO for localization, since this is something that has
1570           to be done for all classes.
1571         * Environment.cs: Removed TODO.
1572         * Exception.cs: Changed ToString to use StringBuilder.
1573         * MonoDummy.cs: Made class internal.
1574         * UnitySerializationHolder.cs: Added support for modules.
1575
1576 2004-04-16  David Sheldon <dave-mono@earth.li>
1577
1578         * DecimalFormatter.cs: Don't append a decimal point after the
1579           end of a number. ((decimal)1).ToString("P0") should be "100 %", not
1580           "100. %"
1581
1582 2004-04-09  Miguel de Icaza  <miguel@ximian.com>
1583
1584         * OutOfMemoryException.cs: Removed the call to Locale.GetText from
1585           this.
1586
1587 2004-04-10  Gert Driesen (drieseng@users.sourceforge.net)
1588
1589         * MonoDummy.cs: added MonoTODO to make sure we remove this class
1590           when its no longer needed
1591
1592 2004-04-09  David Sheldon <dave-mono@earth.li>
1593
1594         * Convert.cs: Allow + signs in strings for ToInt32, and
1595           - if it is base 10.
1596
1597 2004-04-08  Atsushi Enomoto  <atsushi@ximian.com>
1598
1599         * Nullable.cs : usingdecl should also be conditional.
1600
1601 2004-04-07  Martin Baulig  <martin@ximian.com>
1602
1603         * Nullable.cs: New file.
1604
1605 2004-04-07  Martin Baulig  <martin@ximian.com>
1606
1607         * Type.cs (Type.GetGenericArguments): Make this abstract.
1608
1609 2004-04-07  Jackson Harper  <jackson@ximian.com>
1610
1611         * Environment.cs: Increase corlib version number.
1612         
1613 2004-04-07  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1614
1615         * Environment.cs:
1616         (ExpandEnvironmentVariables): on windows, env. vars. are case
1617         insensitive.
1618
1619 2004-04-06  Sebastien Pouliot  <sebastien@ximian.com>
1620
1621         * AppDomain.cs: Added static to [ThreadStatic] _principal field. 
1622         Removed [ThreadStatic] for _principalPolicy (not required).
1623
1624 2004-04-06  Miguel de Icaza  <miguel@ximian.com>
1625
1626         * Guid.cs: Flag as Sequential.
1627
1628 2004-04-02  Dick Porter  <dick@ximian.com>
1629
1630         * String.cs: More sanity checks in Replace().  Fixes bug 55822.
1631
1632 2004-04-02  Sebastien Pouliot  <sebastien@ximian.com>
1633
1634         * Environment.cs: Implement ExpandEnvironmentVariables static method.
1635         Now call the runtime to get the username (fix #56144).
1636
1637 2004-04-02  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1638
1639         * MonoType.cs: AssemblyQualifiedName now displays culture, version...
1640         Fixes bug #56341.
1641
1642 2004-03-29  Miguel de Icaza  <miguel@ximian.com>
1643
1644         * Console.cs: If we fail to open stdin/stdout/stderr, create
1645         readers with a NullStream.  This can happen if our caller does not
1646         setup stdin/stoud/stderr file handles.  #56158 exposed this, but
1647         it will happen elsewhere.
1648
1649 2004-03-29  Lluis Sanchez Gual <lluis@ximian.com>
1650
1651         * Convert.cs: In ToSingle(double), removed checks for Single.MaxValue
1652         and Single.MinValue. MS.NET don't do it. This fixes bug #56005.
1653         * Guid.cs: Added support for guid strings in the "N" and "P" formats in
1654           the constructor. This fixes bug #54019.
1655
1656 2004-03-23  Lluis Sanchez Gual <lluis@ximian.com>
1657
1658         * FloatingPointFormatter.cs: Made the class thread safe. Had to move some
1659           internal variables to structures that are moved around methods.
1660           Factorized some common formatting code into FormatNumberInternal.
1661           
1662 2004-03-23  Dick Porter  <dick@ximian.com>
1663
1664         * DateTime.cs: Allow any character for DateSeparator when parsing,
1665         except TimeSeparator, a digit or a letter.  Fixes bug 54047.  Also
1666         deleted the previous fix for 54721, because this covers it too.
1667         
1668 2004-03-23  Dick Porter  <dick@ximian.com>
1669
1670         * DateTime.cs: Check the date string for too many digits when
1671         parsing.  Fixes bugs 53023 and 53025.
1672
1673 2004-03-22  Dick Porter  <dick@ximian.com>
1674
1675         * String.cs: Use the provider when converting strings to other
1676         types.
1677
1678         * DateTime.cs: Add MM-dd-yyyy to the list of standard date parsing
1679         formats.  Fixes bug 54721.
1680
1681 2004-03-22  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
1682
1683         * Console.cs: Styled, optimized calls
1684         * CrossAppDomainDelegate.cs: Small header fix
1685         * Buffer.cs: Style, improve errors
1686         * BitConverter.cs: Style, improve errors, remove obsolete comment
1687         * Attribute.cs: Style, improve errors, small fix
1688         * Array.cs: Style, improve errors, small fix, added TODOs
1689         * Activator.cs: Style, localized errors, added error checks
1690         * Byte.cs: Style, localized errors, fixed wrong exception parameters
1691         * Char.cs: Style
1692         * Boolean.cs: Style
1693         * AppDomainSetup.cs: Style
1694         * AppDomain.cs: Style, implemented two methods (redirect)
1695
1696 2004-03-21  Jackson Harper  <jackson@ximian.com>
1697
1698         * FloatingPointFormatter.cs: Set precision from number format info
1699         when it is not specified. This fixes bug #54983.
1700         
1701 2004-03-18  Nick Drochak <ndrochak@ieee.org>
1702
1703         * Math.cs: Use IsNaN() method not "x == NaN".
1704
1705 2004-03-16  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
1706
1707         * EntryPointNotFoundException.cs
1708         * DuplicateWaitObjectException.cs
1709         * DllNotFoundException.cs
1710         * DivideByZeroException.cs
1711         * ContextMarshalException.cs
1712         * CannotUnloadAppDomainException.cs
1713         * BadImageFormatException.cs
1714         * ArrayTypeMismatchException.cs
1715         * ArithmeticException.cs
1716         * ArgumentOutOfRangeException.cs
1717         * ArgumentNullException.cs
1718         * ArgumentException.cs
1719         * ApplicationException.cs
1720         * AppDomainUnloadedException.cs: Added missing HResult overrides
1721
1722         * BadImageFormatException.cs: Improved/ Fixed implementation
1723
1724 2004-03-15  Sebastien Pouliot  <sebastien@ximian.com>
1725
1726         * Random.cs: Corrected random value when Next is called with a 
1727         negative value. Testing indictae that our results aren't exactly the 
1728         same as MS, we have a +/- 1 (probably rounding errors due to 
1729         different implementation).
1730
1731 2004-03-15  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1732
1733         * Environment.cs: updated corlib version.
1734
1735 2004-03-15  Lluis Sanchez Gual <lluis@ximian.com>
1736
1737         * Boolean.cs, Byte.cs, Char.cs, Double.cs, Int16.cs, Int32.cs, Int64.cs,
1738           SByte.cs, Single.cs, UInt16.cs, UInt32.cs, UInt64.cs: Renamed internal
1739           field "value" to "m_value", so it is interoperable with MS.NET when 
1740           serializing and deserializing data. Based on the patch from Daniel
1741           Keep.
1742
1743 2004-03-14  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
1744
1745         * TypeInitializationException.cs
1746         * SystemException.cs
1747         * StackOverflowException.cs
1748         * RankException.cs
1749         * OverflowExceptionException.cs
1750         * OutOfMemoryException.cs
1751         * NullReferenceException.cs
1752         * NotSupportedException.cs
1753         * NotFiniteNumberException.cs
1754         * InvalidOperationException.cs
1755         * InvalidCastException.cs
1756         * IndexOutOfRangeException.cs
1757         * FormatException.cs
1758         * ExecutionEngineException.cs: improved parameter names
1759
1760 2004-03-13  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
1761
1762         * Enum.cs
1763         * EntryPointNotFoundException.cs
1764         * DuplicateWaitObjectException.cs
1765         * DoubleFormatter.cs
1766         * DllNotFoundException.cs
1767         * DivideByZeroException.cs
1768         * DelegateSerializationHolder.cs
1769         * Delegate.cs
1770         * DBNull.cs
1771         * ContextStaticAttribute.cs
1772         * ContextMarshalException.cs
1773         * ContextBoundObject.cs
1774         * CLSCompliantAttribute.cs
1775         * CharEnumerator.cs
1776         * CannotUnloadAppDomainException.cs
1777         * BadImageFormatException.cs
1778         * AttributeUsageAttribute.cs
1779         * AttributeTargets.cs
1780         * AsyncCallback.cs
1781         * AssemblyLoadEventHandler.cs
1782         * AssemblyLoadEventArgs.cs
1783         * ArrayTypeMismatchException.cs
1784         * ArithmeticException.cs
1785         * ArgumentOutOfRangeException.cs
1786         * ArgumentNullException.cs
1787         * ArgumentException.cs
1788         * ArgIterator.cs
1789         * ApplicationException.cs
1790         * AppDomainUnloadedException.cs
1791         * AppDomain.cs: Mono styled, fixed exceptions/ locales
1792           removed excess usings
1793
1794 2004-03-10  Sebastien Pouliot  <sebastien@ximian.com>
1795
1796         * Convert.cs: FromBase64 now ignore some characters (tab, LF, CR and
1797         spaces) which fixed #54939. Changed the way that the length is 
1798         validated (multiple of 4) because the ignored characters must not be
1799         included in the count.
1800
1801 2004-03-10  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
1802
1803         * String.cs: Monostyled
1804
1805 2004-03-09  Jackson Harper  <jackson@ximian.com>
1806
1807         * Char.cs: Only use a byte for numeric data.
1808         
1809 2004-03-09  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
1810
1811         * TypedReference.cs: Added missing Attributes
1812         * ParamArrayAttribute.cs: Small style fix
1813         * OperatingSystem.cs: Added .Net 1.1 member
1814
1815 2004-03-09  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
1816
1817         * FieldAccessException.cs
1818         * FormatException.cs
1819         * InvalidCastException.cs
1820         * InvalidOperationException.cs
1821         * MemberAccessException.cs
1822         * MethodAccessException.cs
1823         * MissingFieldException.cs: Locale strings
1824         * MissingMemberException.cs: Locale strings
1825         * MissingMethodException.cs: Locale strings
1826         * NotFiniteNumberException.cs
1827         * NotImplementedException.cs
1828         * NotSupportedException.cs
1829         * NullReferenceException.cs
1830         * ObjectDisposedException.cs
1831         * OutOfMemoryException.cs
1832         * OverflowExceptionException.cs
1833         * PlatformNotSupportedException.cs
1834         * RankException.cs: Added missing HResult overrides
1835
1836 2004-03-09  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
1837
1838         * RuntimeTypeHandle.cs
1839         * RuntimeMethodHandle.cs
1840         * RuntimeFieldHandle.cs: Implemented serialization (partially untested)
1841
1842 2004-03-09  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
1843
1844         * EventArgs.cs
1845         * Exception.cs
1846         * ExecutionEngineException.cs
1847         * FieldAccessException.cs
1848         * FormatException.cs
1849         * GC.cs
1850         * Guid.cs
1851         * IndexOutOfRangeException.cs
1852         * IntPtr.cs
1853         * InvalidCastException.cs
1854         * InvalidOperationException.cs
1855         * InvalidProgramException.cs
1856         * IServiceProvider.cs
1857         * LoaderOptimization.cs
1858         * LoaderOptimizationAttribute.cs
1859         * MarshalByRefObject.cs
1860         * Math.cs
1861         * MemberAccessException.cs
1862         * MethodAccessException.cs
1863         * MissingFieldException.cs
1864         * MissingMemberException.cs
1865         * MissingMethodException.cs
1866         * MultiCastDelegate.cs
1867         * MulticastNotSupportedException.cs
1868         * NonSerializedAttribute.cs
1869         * NotFiniteNumberException.cs
1870         * NotImplementedException.cs
1871         * NotSupportedException.cs
1872         * NullReferenceException.cs
1873         * ObjectDisposedException.cs
1874         * ObsoleteAttribute.cs
1875         * OperatingSystem.cs
1876         * OutOfMemoryException.cs
1877         * OverflowExceptionException.cs
1878         * PlatformID.cs
1879         * PlatformNotSupportedException.cs
1880         * Random.cs
1881         * RankException.cs
1882         * ResolveEventArgs.cs
1883         * ResolveEventHandler.cs
1884         * RuntimeFieldHandle.cs
1885         * RuntimeMethodHandle.cs
1886         * RuntimeTypeHandle.cs: Mono styled, fixed exceptions/ locales
1887           removed excess usings
1888
1889 2004-03-08  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
1890
1891         * SystemException.cs: Exceptions set the HResult
1892         * TypeLoadException.cs: Exceptions set the HResult, fixed wrong exception usage
1893         * SByte.cs: Implemented two missing methods, fix wrong parameters for ArgumentNullException
1894
1895 2004-03-08  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
1896
1897         * TypedReference.cs
1898         * TypeLoadException.cs
1899         * TypeInitializationException.cs
1900         * TypeCode.cs
1901         * TimeZone.cs
1902         * ThreadStaticAttribute.cs
1903         * SystemException.cs
1904         * STAThreadAttribute.cs
1905         * StackOverflowException.cs
1906         * SingleFormatter.cs
1907         * Single.cs
1908         * SerializableAttribute.cs: Mono styled, fixed exceptions/ locales
1909           removed excess usings
1910
1911 2004-03-08  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
1912
1913         * UnauthorizedAccessException.cs: Exceptions set the HResult
1914         * UInt64.cs: Implemented two missing methods
1915         * UInt32.cs: Fix wrong parameters for ArgumentNullException, simpler convert
1916         * UInt16.cs: Fix wrong parameters for ArgumentNullException, simpler convert
1917
1918 2004-03-08  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
1919
1920         * WeakReference.cs
1921         * Void.cs
1922         * Version.cs
1923         * ValueType.cs
1924         * UnitySerializationHolder.cs
1925         * UnhandledExceptionEventHandler.cs
1926         * UnauthorizedAccessException.cs
1927         * UIntPtr.cs
1928         * UInt64.cs
1929         * UInt32.cs
1930         * UInt16.cs: Mono styled, Locale.GetText fixes, msg fixes
1931
1932 2004-03-04  Lluis Sanchez Gual <lluis@ximian.com>
1933
1934         * Environment.cs: Bump corlib version.
1935
1936 2004-03-04  Jackson Harper  <jackson@ximian.com>
1937
1938         * Char.cs: New managed implementation. Modified patch by Andreas Nahr.
1939         
1940 2004-02-27  Lluis Sanchez Gual <lluis@ximian.com>
1941
1942         * String.cs: Concat() fixed crash when one of the arguments is an object
1943           whose ToString() method returns null.
1944         * TypeLoadException.cs: Added some serialization fiels, needed for
1945           compatibility with MS.NET.
1946
1947 2004-02-23 Ben Maurer  <bmaurer@users.sourceforge.net>
1948
1949         * String.cs (Equals): Speed up this method by avoiding Array
1950          Bounds Checks and by comparing by 32 bit words rather than 16 bit chars.
1951
1952         This gives between 0x (for 1 char) and >2x (for large strings)
1953         factor of improvement.
1954
1955         A big thanks to Miguel, who suggested the integer compares.
1956
1957 2004-02-23  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1958
1959         * MonoType.cs: use the binder in GetPropertyImpl.
1960
1961 2004-02-22  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
1962
1963         * Math.cs: MonoStyled, replaced space with tabs,
1964           speedup of some methods by avoiding method calls
1965
1966 2004-02-18  Atsushi Enomoto  <atsushi@ximian.com>
1967
1968         * Char.cs : optimized IsSeparator(), IsWhiteSpace() and IsDigit().
1969           (Moved from InternalCall to Managed code).
1970
1971 2004-02-17  Martin Baulig  <martin@ximian.com>
1972
1973         * MonoType.cs (GetConstructors): Renamed the interncall to
1974         GetConstructors_internal(), made it internal and added a `Type
1975         reflected_type' argument to it.
1976         (GetEvents, GetFields): Likewise.
1977         (GetMethodsByName): Added `Type reflected_type' argument.
1978         (GetPropertiesByName): Likewise.
1979
1980 2004-02-16  Jackson Harper  <jackson@ximian.com>
1981
1982         * FloatingPointFormater.cs: Allow precision to be up to the number
1983         of decimals without rounding.
1984         
1985 2004-02-14  Zoltan Varga  <vargaz@freemail.hu>
1986
1987         * Delegate.cs (Equals): Do not compare method_ptr, since it might
1988         point to a trampoline.
1989
1990 2004-02-12  Jackson Harper  <jackson@ximian.com>
1991
1992         * AppDomainSetup.cs: If relative paths are used they should be
1993         rooted in the temp directory.
1994         
1995 2004-02-11  Marek Safar  <marek.safar@seznam.cz>
1996
1997         * Type.cs (FilterNameIgnoreCase_impl): Added extra check for speedup.
1998
1999 2004-02-10  Zoltan Varga  <vargaz@freemail.hu>
2000
2001         * AppDomain.cs (Load): Check that assemblyRef.Name is not empty, to
2002         avoid an assert in the runtime.
2003
2004 2004-02-08  Duncan Mak  <duncan@ximian.com>
2005
2006         * Convert.cs (ToType): Always let a Convert.ChangeType call
2007         succeed if the source object is already of the destination type.
2008
2009         Patch by Ian MacLean (ianm@activestate.com).
2010
2011 2004-02-05  Sebastien Pouliot  <sebastien@ximian.com>
2012
2013         * AppDomain.cs: Implemented SetPrincipalPolicy and SetThreadPrincipal.
2014
2015 2004-02-02  Zoltan Varga  <vargaz@freemail.hu>
2016
2017         * Environment.cs: Bump corlib version.
2018
2019 2004-02-02  Sebastien Pouliot  <sebastien@ximian.ca>
2020
2021         * DateTime.cs: Corrected support for "Z" in the mask (Parse). This
2022         fix bug #53461.
2023
2024 2004-01-27  Sebastien Pouliot  <spouliot@videotron.ca>
2025
2026         * Exception.cs: Changed ToString to remove the \n when no stack trace
2027         is present (which fixed a unit test for SecurityException). Changed
2028         all \n to Environment.NewLine.
2029
2030 2004-01-27  Lluis Sanchez Gual <lluis@ximian.com>
2031
2032         * ContextBoundObject.cs: Removed TODO.
2033
2034 2004-01-22  Gonzalo Paniagua Javier <gonzalo@ximian.com>
2035
2036         * TimeSpan.cs: fixed bug #52075. Days (int) don't rely on TotalDays
2037         (double), which might round up.
2038
2039 2004-01-19  Jackson Harper <jackson@ximian.com>
2040
2041         * FloatingPointFormatter.cs: Use the default decimal digits count
2042         if they are not specified. This fixes bug #52927.
2043         
2044 2004-01-19  Zoltan Varga  <vargaz@freemail.hu>
2045
2046         * Environment.cs: Bump version number.
2047
2048 2004-01-19  Lluis Sanchez Gual  <lluis@ximian.com>
2049
2050         * Type.cs: Added internal call for IsInstanceOfType. The old implementation
2051         uses IsAssignableFrom(o.GetType()), which is not always valid for 
2052         transparent proxies (because GetType will not return the type of the remote
2053         object if its assembly is not present).
2054
2055 2004-01-18  David Sheldon <dave-mono@earth.li>
2056
2057   * FloatingPointFormatter.cs: Skip the decimal point if we have an 
2058     integer mantassa. So: 1E+15, rather than 1.E+15.
2059
2060 2004-01-18  David Sheldon <dave-mono@earth.li>
2061
2062         * Array.cs (GetValue/SetValue): Throw NullRef exception like .NET 1.1, 
2063         even though docs say it should be an ArgumentNull. Two test cases now
2064   pass. See also nickd's commit of 2003-12-24.
2065
2066 2004-01-16  Gonzalo Paniagua Javier <gonzalo@ximian.com>
2067
2068         * Environment.cs: increased corlib version.
2069
2070 2004-01-14  Lluis Sanchez Gual <lluis@ximian.com>
2071
2072         * MonoCustomAttrs.cs: Removed attribute cache. Attribute instances can't
2073         be reused because they could be modified. This fixes bug #52655.
2074
2075 2004-01-12  Patrik Torstensson
2076
2077         * Environment.cs: Bump corlib version number due to new StringBuilder
2078         
2079         * String.cs: New internal method to support the new StringBuilder that
2080         uses the string as a buffer (until ToString is called)
2081
2082 2004-01-12  Zoltan Varga  <vargaz@freemail.hu>
2083
2084         * Environment.cs: Bump corlib version number for real this time.
2085         
2086         * AppDomain.cs (LoadAssembly): Pass the assembly name as a string to
2087         the runtime, so it can take into account the Culture etc.
2088
2089         * Environment.cs: Bump corlib version number.
2090         
2091 2004-01-12  Gonzalo Paniagua Javier <gonzalo@ximian.com>
2092
2093         * MonoType.cs: GetMethods renamed to GetMethodsByName. It takes a
2094         new parameter with the method name and a boolean for ignoring case.
2095         Removed some string comparisons no longer needed.
2096
2097 2004-01-11  Gonzalo Paniagua Javier <gonzalo@ximian.com>
2098
2099         * MonoType.cs: GetProperties renamed to GetPropetiesByName. It takes a
2100         new parameter with the property name and a boolean for ignoring case.
2101         Fixes bug #52753.
2102
2103 2004-01-11  David Sheldon <dave-mono@earth.li>
2104
2105         * DateTime.cs: Correct processing of formats with multiple '-'s, fixing
2106         bug 52274.
2107
2108 2004-01-10  Zoltan Varga  <vargaz@freemail.hu>
2109
2110         * AppDomain.cs: Keep track of type resolve and assembly resolve 
2111         events in progress to prevent infinite recursion.
2112
2113 2004-01-06  Miguel de Icaza  <miguel@ximian.com>
2114
2115         * Console.cs: Test for UTF-8 being present anywhere on the
2116         string, also do ToUpper instead of ToLower, which will work even
2117         around the ICU bug with different locales (#52065), and addresses #52101
2118
2119 2004-01-05  Zoltan Varga  <vargaz@freemail.hu>
2120
2121         * Environment.cs: Bump version.
2122
2123 2003-12-24 Ben Maurer  <bmaurer@users.sourceforge.net>
2124
2125         * Type.cs (IsNotPublic): One would normally assume that
2126         IsNotPublic == !IsPublic, but this is not the case (note to MS,
2127         make better names ;-). Fixes #52547, `Type.IsNotPublic not 
2128         correct for Nested types'
2129
2130 2003-12-24  Nick Drochak  <ndrochak@ieee.org>
2131
2132         * Array.cs (CreateInstance): Throw NullRef exception like .NET 1.1, 
2133         even though docs say it should be an ArgumentNull. Sent email to MS
2134         about this "bug".
2135
2136 2003-12-23  Lluis Sanchez Gual  <lluis@ximian.com>
2137
2138         * Exception.cs: Several changes to make it compatible with MS.NET (needed
2139         for remoting interoperability): set a default value for hresult, added 
2140         initialization of class_name, serialization field RemoteStackTrace must
2141         be RemoteStackTraceString, added ser. field ExceptionMethod.
2142
2143         * IndexOutOfRangeException.cs: Added serialization constructor.
2144
2145 2003-12-22  Bernie Solomon  <bernard@ugsolutions.com>
2146
2147         * Int32 (Parse):
2148           Int64 (Parse): Fix overflow checking for AllowHexSpecifier
2149
2150 2003-12-20  Zoltan Varga  <vargaz@freemail.hu>
2151
2152         * MonoType.cs (GetMethodImpl): Only call FindMostDerivedMatch if the
2153         user supplied no parameter info, but not when the user supplied an
2154         empty parameter list. This fixes IKVM.
2155
2156         * Environment.cs: Bump corlib version.
2157
2158 2003-12-19  Dick Porter  <dick@ximian.com>
2159
2160         * String.cs: Added Compare shortcut for length==0.
2161
2162 2003-12-17  Zoltan Varga  <vargaz@freemail.hu>
2163
2164         * Environment.cs: Bump corlib version.
2165
2166 2003-12-17  Dick Porter  <dick@ximian.com>
2167
2168         * String.cs: Fix StartsWith and EndsWith when the argument is the
2169         empty string.  Fixes bug 52283.
2170
2171 2003-12-16  Zoltan Varga  <vargaz@freemail.hu>
2172
2173         * Environment.cs (HasShutdownStarted): Implement.
2174
2175 2003-12-15  Zoltan Varga  <vargaz@freemail.hu>
2176
2177         * Environment.cs (HasShutdownStarted): Make this static under NET 1.1.
2178         
2179         * Environment.cs: Bump version number.
2180
2181 2003-12-15  Gonzalo Paniagua Javier <gonzalo@ximian.com>
2182
2183         * DateTime.cs: don't bail out with that year out of range error on
2184         stuff like "MM/dd/yyyy HH:MM:ss".
2185
2186 2003-12-13  Zoltan Varga  <vargaz@freemail.hu>
2187
2188         * Environment.cs: Make it a const instead.
2189         
2190         * Environment.cs: Make version field static.
2191
2192 2003-12-10  Zoltan Varga  <vargaz@freemail.hu>
2193
2194         * Type.cs: Make DefaultBindingFlags protected.
2195
2196         * Environment.cs: Applied patch from Todd Berman (tbermann@gentoo.org).
2197         Add new GacPath property + its associated icall.
2198
2199 2003-12-09 Anirban Bhattacharjee <banirban@novell.com>
2200
2201         * DateTime.cs : Bugs fixed (41845, 51422)
2202         * MonoType.cs : Exception message changed 
2203
2204 2003-12-08  Martin Baulig  <martin@ximian.com>
2205
2206         * Type.cs (MakeByRefType): New public method.
2207
2208 2003-12-08  Zoltan Varga  <vargaz@freemail.hu>
2209
2210         * Environment.cs: Add a version number for the corlib-runtime interface
2211         to make it easier to diagnose problems resulting from a mismatch 
2212         between the two.
2213
2214 2003-12-08  Patrik Torstensson   <p@rxc.se>
2215
2216         * Type.cs (GetMethod): Check type arguments within array
2217         * MonoType.cs (GetMethodImpl): Handle methods with a new slot
2218         (same signature but different classes (derived level)
2219
2220 2003-12-07  Zoltan Varga  <vargaz@freemail.hu>
2221
2222         * Type.cs (MakeArrayType): Add argument checking.
2223
2224 2003-12-06  Dick Porter  <dick@ximian.com>
2225
2226         * String.cs: Don't use CompareInfo for non-culture-sensitive
2227         IndexOf and LastIndexOf methods.
2228
2229 2003-12-06  Ravindra  <rkumar@novell.com>
2230
2231         * DateTime.cs: Made Parse(string, IFormatProvider) method to
2232         use second argument. Fixed bug #51464.
2233
2234 2003-12-04  Martin Baulig  <martin@ximian.com>
2235
2236         * Type.cs (Type.MakeArrayType): New public method.
2237
2238 2003-12-04  Gonzalo Paniagua Javier <gonzalo@ximian.com>
2239
2240         * Buffer.cs:
2241         (BlockCopy): make the exception thrown helpful.
2242
2243 2003-12-03  Dick Porter  <dick@ximian.com>
2244
2245         * String.cs: Calling Replace on an empty string returns itself.
2246
2247 2003-12-03  Zoltan Varga  <vargaz@freemail.hu>
2248
2249         * MonoType.cs: Get rid of get_type_info, use a separate icall for
2250         each property instead.
2251
2252 2003-12-02  Dick Porter  <dick@ximian.com>
2253
2254         * Decimal.cs: Fix NumberFormatInfo lookup.  Patch by
2255         Mohammad DAMT (mdamt@cdl2000.com), fixes bug 51443.
2256
2257 2003-12-01  Dick Porter  <dick@ximian.com>
2258
2259         * String.cs: Make Compare, IndexOf, LastIndexOf, StartsWith,
2260         Replace, ToLower, ToUpper and Equals use the correct CultureInfo.
2261
2262 2003-11-28  Dick Porter  <dick@ximian.com>
2263
2264         * Type.cs: 
2265         * MonoType.cs: 
2266         * Enum.cs: 
2267         * Boolean.cs: Do string compares with the Invariant culture.
2268
2269 2003-11-27 Ben Maurer  <bmaurer@users.sourceforge.net>
2270
2271         * Array.cs: make the enumerator ICloneable
2272
2273 2003-11-27 Ben Maurer  <bmaurer@users.sourceforge.net>
2274
2275         * Decimal.cs (ToXXX): Call Convert.ToXXX.
2276
2277 2003-11-26  Zoltan Varga  <vargaz@freemail.hu>
2278
2279         * AppDomain.cs: Applied patch from ztashev@openlinksw.co.uk (Zdravko Tashev). 
2280         Implement Load(byte[]) methods.
2281
2282         * BadImageFormatException.cs: Fix ToString.
2283
2284 2003-11-24  Zoltan Varga  <vargaz@freemail.hu>
2285
2286         * MonoType.cs: Make Standard|HasThis match Standard in GetMethod and
2287         GetConstructor, as done by MS.
2288
2289 2003-11-19  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
2290
2291         * FloatingPointFormatter.cs: Removed some unused variables to prevent csc compiler warnings
2292
2293 2003-11-18  Lluis Sanchez Gual  <lluis@ximian.com>
2294
2295         * TypeInitializationException.cs: Added missing serialization constructor.
2296
2297 2003-11-18  Gonzalo Paniagua Javier <gonzalo@ximian.com>
2298
2299         * AppDomainSetup.cs: Don't add an extra '/' at the end of 
2300         ApplicationBase. The tests pass now with mono.
2301
2302 2003-11-18  Zoltan Varga  <vargaz@freemail.hu>
2303
2304         * ValueType.cs: New optimized implementation for Equals and GetHashCode.
2305
2306 2003-11-15  Gonzalo Paniagua Javier <gonzalo@ximian.com>
2307
2308         * Environment.cs: use Directory in CurrentDirectory property.
2309         We were not throwing any exception when setting the directory to an
2310         invalid path.
2311
2312 2003-11-14  Gonzalo Paniagua Javier <gonzalo@ximian.com>
2313
2314         * Array.cs:
2315         * Delegate.cs: implemented 1.1 stuff.
2316
2317         * Enum.cs:
2318         * IntPtr.cs: removed extra attribute.
2319         * PlatformID.cs: added WinCE.
2320
2321 2003-11-14  Gonzalo Paniagua Javier <gonzalo@ximian.com>
2322
2323         * ValueType.cs:
2324         (Equals): compare the fields of structs too.
2325         (GetHashCode): combine the hash code of all the fields.
2326         Fixes bug #50901 (will remove the icall in a couple of days).
2327
2328 2003-11-14  Gonzalo Paniagua Javier <gonzalo@ximian.com>
2329
2330         * Array.cs: fixed Clear for non-zero bounded arrays. Fixes bug #50968.
2331
2332 2003-11-14  Gonzalo Paniagua Javier <gonzalo@ximian.com>
2333
2334         * DateTime.cs: handle century when we try to parse 4-digit years and
2335         only 2 digits are present. Fixes bug #49394.
2336
2337 2003-11-13  Miguel de Icaza  <miguel@ximian.com>
2338
2339         * Console.cs: On utf-8 consoles, use unmarked output.
2340
2341 2003-11-13  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
2342
2343         * IAppDomainSetup.cs:
2344         * _AppDomain.cs: 
2345         * Object.cs:
2346         * Type.cs: Added missing attribute
2347
2348 2003-11-12 Lluis Sanchez Gual <lluis@ximian.com>
2349
2350         * Environment.cs: Added internal method for getting the path to 
2351         machine.config.
2352         
2353 2003-11-12 Jackson Harper <jackson@ximian.com>
2354
2355         * Environment.cs: Add MyMusic and MyPictures to the SpecialFolder
2356         enum. This fixes the SWF build.
2357         
2358 2003-11-12  Miguel de Icaza  <miguel@ximian.com>
2359
2360         * PlatformID.cs: Remove Unix platform, we cant expose constants
2361         that are not in the framework.
2362
2363         * OperatingSystem.cs: Adjust for the breakage.
2364
2365         * RuntimeMethodHandle.cs: Fix signature.
2366
2367         * Double.cs: Fix signature of TryParse.
2368
2369         * String.cs (Concat (object, object, object, object)): Add missing method.
2370
2371         * OperatingSystem.cs: Removed Equals, GetHashCode, they were not
2372         in the .NET Framework.
2373
2374         * Enum.cs: Hide constructor.  
2375
2376         Fix ToUint16 to be explicitly implemented.
2377
2378         * Console.cs: Add couple of extra missing methods (Write and
2379         WriteLine overloaded)
2380
2381 2003-11-11  Miguel de Icaza  <miguel@ximian.com>
2382
2383         * AppDomain.cs, Activator.cs: New unimplmented entry points from
2384         1.1 (Com activation related).
2385         
2386         * Exception.cs: Formatting.
2387         
2388         * IServiceProvider.cs: Add ComVisible (true).
2389
2390         * AppDomainSetup.cs: Add a couple more properties from .NET 1.1 
2391
2392 2003-11-03  Lluis Sanchez Gual <lluis@ximian.com>
2393
2394         * AppDomain.cs: Added some null checks in Load methods. This fixes bug
2395           #50356.
2396
2397 2003-11-01  Zoltan Varga  <vargaz@freemail.hu>
2398
2399         * AppDomain.cs: Make the SetDomain icalls private + call InternalInvoke
2400         on MonoMethod instead of Invoke.
2401
2402 2003-11-01  Pedro Martínez Juliá  <yoros@wanadoo.es>
2403
2404         * DateTime.cs: Fixed Add* methods handling. Now it works properly
2405         with extreme values (there is a bug with Overflow and Underflow in
2406         long type).
2407
2408 2003-10-31  Pedro Martínez Juliá  <yoros@wanadoo.es>
2409
2410         * DateTime.cs: Fixed a few format bugs.
2411
2412 2003-10-31  Zoltan Varga  <vargaz@freemail.hu>
2413
2414         * AppDomain.cs (InternalPushDomainRef): New icalls.
2415
2416         * AppDomain.cs (InvokeInDomain): New method to execute code in a 
2417         different appdomain.
2418
2419 2003-10-27  Zoltan Varga  <vargaz@freemail.hu>
2420
2421         * AppDomain.cs: Fix prototype of InternalIsFinalizingForUnload.
2422
2423 2003-10-25  Zoltan Varga  <vargaz@freemail.hu>
2424
2425         * AppDomain.cs (IsFinalizingForUnload): Implement.
2426
2427         * AppDomain.cs (Unload): Move the notification of OnUnload listeners
2428         to unmanaged code.
2429
2430 2003-10-25  Martin Baulig  <martin@ximian.com>
2431
2432         * MonoType.cs: Don't make this sealed.
2433
2434 2003-10-24  Zoltan Varga  <vargaz@freemail.hu>
2435
2436         * AppDomain.cs: Add InternalInvokeInDomain[ByID] icalls.
2437
2438 2003-10-24  Pedro Martínez Juliá  <yoros@wanadoo.es>
2439
2440         * DateTime.cs: When handling '-' as a date separator, MS.NET uses
2441         the same symbol in the parse (not DateTimeFormatInfo.DateSeparator).
2442
2443 2003-10-22  Dick Porter  <dick@ximian.com>
2444
2445         * DateTime.cs: Handle '-' as a date separator when parsing formats.
2446
2447 2003-10-20  Duncan Mak  <duncan@ximian.com>
2448
2449         * Delegate.cs (CreateDelegate): Avoid creating an extra Type array
2450         and merge the two iterations into one.
2451
2452 2003-10-15  Zoltan Varga  <vargaz@freemail.hu>
2453
2454         * TypedReference.cs: Add new field used by the runtime.
2455
2456 2003-10-15  Martin Baulig  <martin@ximian.com>
2457
2458         * Type.cs (Type.DeclaringMethod): For a generic method's type
2459         parameter, return this method - otherwise, return null.
2460
2461 2003-10-14  Martin Baulig  <martin@ximian.com>
2462
2463         The generics API has changed in the spec since it was added here;
2464         these modifications make it match the spec again.
2465
2466         * Type.cs
2467         (GetGenericParameters): Renamed to `GetGenericArguments'.
2468         (HasGenericParameters): Renamed to `HasGenericArguments'.
2469         (HasUnboundGenericParameters): Renamed to `ContainsGenericParameters'.
2470         (IsGenericTypeDefinition): New property.
2471         (IsUnboundGenericParameter): Renamed to `IsGenericParameter'.
2472
2473         * MonoType.cs (ContainsGenericParameters): Implement this here;
2474         this is no interncall anymore.
2475
2476 2003-10-14  Gonzalo Paniagua Javier <gonzalo@ximian.com>
2477
2478         * Delegate.cs: add the method name to the exception when it cannot be
2479         bound.
2480         * Exception.cs: fix nullref in Source.
2481
2482 2003-10-10  Zoltan Varga  <vargaz@freemail.hu>
2483
2484         * Array.cs: Add argument checking to GetValue and SetValue.
2485
2486 2003-10-09  Miguel de Icaza  <miguel@ximian.com>
2487
2488         * DateTime.cs: Patch from Chris Turchin: the DateTime.MaxValue
2489         should not be TimeSpan.MaxValue, because it overflow.  Set this to
2490         be MAX_VALUE_TICKS
2491
2492 2003-10-09  Gonzalo Paniagua Javier <gonzalo@ximian.com>
2493
2494         * MonoCustomAttrs.cs: from_cache is now thread-safe. Yeah, I got a
2495         duplicate entry exception.
2496
2497 2003-10-08 Ben Maurer  <bmaurer@users.sourceforge.net>
2498
2499         * DateTime.cs (ToString): Total rewrite, fixes #49358.
2500
2501 2003-10-03  Zoltan Varga  <vargaz@freemail.hu>
2502
2503         * AppDomain.cs: Change accessibility of DoTypeResolve to fix build.
2504
2505 2003-10-03  Gonzalo Paniagua Javier <gonzalo@ximian.com>
2506
2507         * Enum.cs:
2508         (Equals): check that the object is an Enum before comparing the types.
2509
2510 2003-09-30  Gonzalo Paniagua Javier <gonzalo@ximian.com>
2511
2512         * Array.cs: reduced xsp allocated memory by 1/2.
2513
2514 2003-09-25  Martin Baulig  <martin@ximian.com>
2515
2516         * Type.cs (Type.IsGenericTypeDefinition): Removed this method
2517         since it was identical to GetGenericTypeDefinition().
2518         (Type.IsGenericInstance): New property.
2519
2520 2003-09-24  Duncan Mak  <duncan@ximian.com>
2521
2522         * Math.cs (Abs): Fix double Locale.GetText bug reported by
2523         davejp@volny.cz. This fixes #48788.
2524
2525 2003-09-14  Pedro Martínez Juliá  <yoros@wanadoo.es>
2526
2527         * FloatingPointFormatter.cs: Add the necessary castings to char
2528         conversions.
2529
2530 2003-09-13  Pedro Martínez Juliá  <yoros@wanadoo.es>
2531
2532         * FloatingPointFormatter.cs: Make the method calls more functional
2533         for protecting the values from different threads (make it more
2534         thread safe).
2535
2536 2003-09-13  Pedro Martínez Juliá  <yoros@wanadoo.es>
2537
2538         * FloatingPointFormatter.cs: Fix a bug with the negative value of
2539         count parameter.
2540
2541 2003-09-12  Pedro Martínez Juliá  <yoros@wanadoo.es>
2542
2543         * FloatingPointFormatter.cs: Applied a lot of improvements in string
2544         construction, make use of Append/Insert with the "count" parameter.
2545     Thanks to Ben Maurer.
2546
2547 2003-09-10  Pedro Martínez Juliá  <yoros@wanadoo.es>
2548
2549         * FloatingPointFormatter.cs: Fix a bug with Custm Format.
2550
2551         * FloatingPointFormatter.cs: Fix a little bug I've introduced the
2552         last change.
2553
2554 2003-09-10  Pedro Martínez Juliá  <yoros@wanadoo.es>
2555
2556         * DoubleFormatter.cs: A few optimizations. Now, only one object
2557         is created to convert all double numbers.
2558
2559         * SingleFormatter.cs: A few optimizations. Now, only one object
2560         is created to convert all float numbers.
2561
2562         * FloatingPointFormatter.cs: Split the "number type parameters" from
2563         the "numver value and format parameters". The first ones are in the
2564         constructor and the others are in a method.
2565
2566 2003-09-09  Zoltan Varga  <vargaz@freemail.hu>
2567
2568         * Array.cs: Added argument checking to some NET_1_1 methods.
2569
2570 2003-09-04  Martin Baulig  <martin@ximian.com>
2571
2572         * Type.cs (GetGenericTypeDefinition): Make this method virtual.
2573
2574 2003-08-27  Gonzalo Paniagua Javier <gonzalo@ximian.com>
2575
2576         * Array.cs: added the new overloaded CreateInstance, GetValue, SetValue
2577         taking 'longs'. All tests pass.
2578
2579 2003-08-26 Ben Maurer  <bmaurer@users.sourceforge.net>
2580
2581         * Exception.cs: Add ClassInterface attr. Implement TargetSite and
2582         Source. Remove MonoTODO attributes (class is 100% done). Also
2583         passes all Rotor tests for Exception!
2584
2585 2003-08-26 Ben Maurer  <bmaurer@users.sourceforge.net>
2586
2587         * Enum.cs: Remove [MonoTODO]'s that had been completed.
2588
2589 2003-08-22  Gonzalo Paniagua Javier <gonzalo@ximian.com>
2590
2591         * String.cs: fixed bug #47802.
2592
2593 2003-08-21 Ben Maurer  <bmaurer@users.sourceforge.net>
2594
2595         * String.cs: Created method FormatHelper that does formatting,
2596         using a StringBuilder.
2597
2598 2003-08-20  Gonzalo Paniagua Javier <gonzalo@ximian.com>
2599
2600         * Array.cs: patch by lb@lb.ods.org that fixes bug #47707.
2601
2602 2003-08-11  Gonzalo Paniagua Javier <gonzalo@ximian.com>
2603
2604         * Delegate.cs: CreteDelegate (Type, MethodInfo) only supports static
2605         methods under MS.
2606
2607 2003-08-11  Duncan Mak  <duncan@ximian.com>
2608
2609         * Environment.cs (Version): Return the same numbers as the MS
2610         implementation.
2611
2612 2003-08-10  Miguel de Icaza  <miguel@ximian.com>
2613
2614         * Array.cs: Applied patch from Thong (Tum) Nguyen;  Removed
2615         replicated tests, and have a routine that does the heavy lifting.
2616
2617 2003-08-08  Lluis Sanchez Gual <lluis@ximian.com>
2618
2619         * DateTime.cs: Fixed DoParse. It was calling the wrong constructor
2620           of DateTime.
2621         * Environment.cs: return $HOME for ApplicationData folder.
2622
2623 2003-08-04  Duncan Mak  <duncan@ximian.com>
2624
2625         * FloatingPointFormatter.cs (Normalize): Apply a patch from Aleksey
2626         Demakov <avd@openlinksw.com> to fix formatting for Big power of 10
2627         floating point values. This fixes bug #46175.
2628
2629         * Convert.cs (ToUInt16): Throw an OverflowException correctly, as
2630         noted by c5n4kh6u02@sneakemail.com in
2631         http://bugzilla.ximian.com/show_bug.cgi?id=43098.
2632
2633 Sat Aug  2 13:01:46 BST 2003 Malte Hildingson <malte@amy.udd.htu.se>
2634
2635         * Double.cs: added icall Double.AssertEndianity.
2636
2637 Fri Aug 1 16:47:17 CEST 2003 Paolo Molaro <lupus@ximian.com>
2638
2639         * Type.cs, MonoType.cs: implemented generic-specific methods.
2640
2641 2003-07-29  Miguel de Icaza  <miguel@ximian.com>
2642
2643         * Buffer.cs: Add new internal MemCopy call.
2644
2645         Removed the above.
2646
2647 Tue Jul 29 12:13:16 CEST 2003 Paolo Molaro <lupus@ximian.com>
2648
2649         * Type.cs, MonoType.cs, ArgIterator.cs: pass the handles values
2650         to icalls, to avoid special cases in some call conventions.
2651
2652 2003-07-26  Gonzalo Paniagua Javier <gonzalo@ximian.com>
2653
2654         * Enum.cs: added Serializable attribute.
2655
2656 2003-07-25  Duncan Mak  <duncan@ximian.com>
2657
2658         * AppDomain.cs (Equals):
2659         (GetHashCode): Removed because they do not need to be defined
2660         here.
2661
2662 2003-07-24  Gonzalo Paniagua Javier <gonzalo@ximian.com>
2663
2664         * TypeLoadException.cs: removed unused fields. TypeName returns "" if
2665         cannot even get the type.
2666
2667 2003-07-24  Miguel de Icaza  <miguel@ximian.com>
2668
2669         * Type.cs: Added generics stubs.
2670
2671 2003-07-23  Duncan Mak  <duncan@ximian.com>
2672
2673         * Environment.cs (SpecialFolder): Added 'Desktop' and 'MyComputer'
2674         as values for NET_1_1.
2675         (GetFolderPath): Return the empty string ("") for values of
2676         SpecialFolder that have no corresponding equivalents in
2677         Linux. Return "$HOME/Desktop" for SpecialFolder.DesktopDirectory
2678         and "$HOME" for SpecialFolder.Personal.
2679
2680         * IntPtr.cs (GetObjectData): Mark it as an interface
2681         implementation, instead of a public method.
2682
2683         * Guid.cs (NewGuid): Remove MonoTODOAttribute.
2684
2685         * TypeLoadException.cs (GetObjectData):
2686         Create stubs for the fields that are being serialized.
2687
2688         * UIntPtr.cs: Removed erroneous CLSCompliantAttributes.
2689
2690 2003-07-23  Lluis Sanchez Gual <lluis@ximian.com>
2691         
2692         * Enum.cs: Fixed enum formatting. For flag enums, if one of
2693           the flags is unnamed, ToString() returns the integer value.
2694
2695 2003-07-22  Jerome Laban <jlaban@wanadoo.fr>
2696
2697         * Guid.cs: Fixed ToString (), was producing incorrect string.
2698
2699 2003-07-20  Gonzalo Paniagua Javier <gonzalo@ximian.com>
2700
2701         * AppDomainSetup.cs: fixed bug #46609.
2702
2703 Thu Jul 17 17:28:27 CEST 2003 Paolo Molaro <lupus@ximian.com>
2704
2705         * MonoType.cs: use an icall for IsPrimitiveImpl ().
2706
2707 Thu Jul 17 15:23:17 CEST 2003 Paolo Molaro <lupus@ximian.com>
2708
2709         * Guid.cs: faster ToString ().
2710
2711 2003-07-15  Pedro Martínez Juliá  <yoros@wanadoo.es>
2712
2713         * FloatingPointFormatter.cs: Few changes for get working Rotor
2714         tests.
2715
2716 2003-07-13  Zoltan Varga  <vargaz@freemail.hu>
2717
2718         * Type.cs (IsAssignableFrom): Implement this as an icall since the
2719         runtime already includes the neccessary logic.
2720
2721 2003-07-06  Gonzalo Paniagua Javier <gonzalo@ximian.com>
2722
2723         * AppDomainSetup.cs: remove the "file://" prefix from ApplicationBase
2724         if it's present and get the full path for non-Uri paths.
2725
2726 2003-07-2  Lluis Sanchez Gual <lluis@ximian.com>
2727
2728         * DateTime.cs: Fixed formatting of fractions of second.
2729
2730 2003-06-30  Zoltan Varga  <vargaz@freemail.hu>
2731
2732         * Console.cs: Turn off buffering for the streams returned by
2733         OpenStandardOutput () and OpenStandardError () if the buffer size is 0.
2734
2735 2003-06-28  Lluis Sanchez Gual <lluis@ximian.com>
2736
2737         * Random.cs: Changed behavior of Random to match MS.NET. When Next is
2738           called with maxvalue==0 or minvalue==maxvalue, MS.NET internally generates
2739           a new random number (although it is not needed), while mono did not. 
2740           As a result, the sequence of random numbers could be different for the
2741           same seed.
2742
2743 Thu Jun 26 16:06:35 CEST 2003 Paolo Molaro <lupus@ximian.com>
2744
2745         * FloatingPointFormatter.cs: use dec_len2 as default precision.
2746
2747 2003-06-26  Lluis Sanchez Gual <lluis@ximian.com>
2748
2749         * DateTime.cs: Modified constructor. Check for valid value of TimeSpan must
2750           be done after the correspondig UTC offset has been applied.
2751
2752 2003-06-26  Lluis Sanchez Gual <lluis@ximian.com>
2753
2754         * Object.cs: Object must have the Serializable attribute.
2755         * DateTime.cs: Fixed _DoParse() so it correctly applies the utc offset
2756           to the resulting date. Also fixed _ToString so now correctly formates the
2757           UTC offset.
2758
2759 Wed Jun 18 19:22:22 CEST 2003 Paolo Molaro <lupus@ximian.com>
2760
2761         * Enum.cs: fix race in cache (bug#41841).
2762
2763 Wed Jun 18 18:52:11 CEST 2003 Paolo Molaro <lupus@ximian.com>
2764
2765         * FloatingPointFormatter.cs: if the precision is not specified, use
2766         the default precision for the data type.
2767
2768 Wed Jun 18 18:11:30 CEST 2003 Paolo Molaro <lupus@ximian.com>
2769
2770         * Array.cs: throw ArgumentOutOfRangeException in Copy if needed
2771         (patch by tum@veridicus.com (Thong (Tum) Nguyen)).
2772
2773 2003-06-11  Gonzalo Paniagua Javier <gonzalo@ximian.com>
2774
2775         * MonoType.cs: don't throw nullref when the return type for a property
2776         is specified and the property doesn't have a get accessor.
2777
2778 2003-06-10  Duncan Mak  <duncan@ximian.com>
2779
2780         * Array.cs (CreateInstance): Fixed a typo. It should throw
2781         ArgumentNullException instead of ArgumentException.
2782
2783 2003-06-09  Duncan Mak  <duncan@ximian.com>
2784
2785         * Array.cs: Revert the last revert. I fixed it.
2786         (Sort): Put a try-catch block around qsort, and wrap whatever
2787         Exception we get into a InvalidOperationException.
2788
2789 2003-06-08 Jackson Harper <jackson@latitudegeo.com>
2790
2791         * Array.cs: Revert last patch, it broke some other functionality.
2792                 
2793 2003-06-08  Duncan Mak  <duncan@ximian.com>
2794
2795         * Array.cs: Throw more exceptions. This fixes the errors we see
2796         from the Rotor testsuite.
2797
2798         (CreateInstance): Throw ArgumentNullException when the input are
2799         null. Throw ArgumentOutOfRangeException when bounds + length is
2800         greater than Int32.MaxValue.
2801         (LastIndexOf): Throw ArgumentOutOfRangeException if index is outside
2802         the valid range of indices of array.
2803         (Sort): Throw InvalidOperationException when comparer is null and
2804         none of the elements in keys implements IComparable.
2805
2806 2003-06-08  Duncan Mak  <duncan@ximian.com>
2807
2808         * Array.cs (CreateInstance): Throw a TypeLoadException if the
2809         Length of the input array 'lengths' is greater than 255 so that we
2810         won't see the g_assert that is in mono_array_class_get in class.c.
2811
2812         This fixes bug #44304.
2813
2814 2003-06-05  Nick Drochak  <ndrochak@gol.com>
2815
2816         * UnitySerializataionHolder.cs: Cleanups according to class status page
2817
2818 Wed Jun 4 16:59:39 CEST 2003 Paolo Molaro <lupus@ximian.com>
2819
2820         * ArgIterator.cs, TypedReference.cs, RuntimeArgumentHandle.cs,
2821         RuntimeTypeHandle.cs: implemented the needed stuff to handle
2822         vararg calls.
2823
2824 2003-06-02  Sebastien Pouliot  <spouliot@videotron.ca>
2825
2826         * Random.cs: New implementation based on Knuth ran3 to fix #43597.
2827         See http://www.library.cornell.edu/nr/bookcpdf/c7-1.pdf. Commited
2828         for Ben Maurer after review and testing.
2829
2830 2003-05-28  Ben Maurer <bmaurer@users.sourceforge.net>
2831         
2832         * Array.cs: Added better argument checking to Array.Sort ()
2833         * DBNull.cs: Made the conversions throw like they do in MS.
2834
2835 2003-05-24  Philip Van Hoof  <me@freax.org>
2836
2837         * Math.cs: Add the MS.NET 1.1 methods (BigMul, DivRem, DivRem).
2838
2839 2003-05-21  Pedro Martínez Juliá  <yoros@wanadoo.es>
2840
2841         * FloatingPointFormatter.cs: Take care with the explicit precision
2842         and round the number to that precision.
2843
2844         * DoubleFormatter.cs: Adapt to the two level precision (15 - 17).
2845
2846         * SingleFormatter.cs: Adapt to the two level precision (7 - 8).
2847
2848 2003-05-20  Philip Van Hoof <me@freax.org>
2849
2850         * DateTime.cs (FromOADate, GetDateTimeFormats, ToOADate):
2851         Implemented.
2852
2853 2003-05-20  Zoltan Varga  <vargaz@freemail.hu>
2854
2855         * AppDomainSetup.cs: Added new field which is used to notify the
2856         runtime that the search path has changed.
2857
2858 2003-05-18  Pedro Martínez Juliá  <yoros@wanadoo.es>
2859
2860         * FloatingPointFormatter.cs: Fixed NullReferenceException bug I've
2861         introduced the last change I've done.
2862
2863 2003-05-17  Ben Maurer  <bmaurer@users.sourceforge.net>
2864
2865         * Array.cs: Fixed SyncRoot to behave like MS (return this). Removed 
2866         MonoTODO from SyncRoot (because fixed) and IsSynchronized (it was
2867         behaving correctly).
2868         
2869 2003-05-17  Pedro Martínez Juliá  <yoros@wanadoo.es>
2870
2871         * FloatingPointFormatter.cs: Fixed little format mismatches.
2872
2873 2003-05-16  Pedro Martínez Juliá  <yoros@wanadoo.es>
2874
2875         * FloatingPointFormatter.cs: Fixed "-0" result emited.
2876
2877 2003-05-13  Gonzalo Paniagua Javier <gonzalo@ximian.com>
2878
2879         * AppDomain.cs: Added null argument check in Load().
2880         * Activator.cs: fixed bug #39926.
2881
2882 2003-05-13  Gonzalo Paniagua Javier <gonzalo@ximian.com>
2883
2884         * Enum.cs: fixed bugs #41522 and #42879.
2885
2886 2003-05-12  Zoltan Varga  <vargaz@freemail.hu>
2887
2888         * String.cs: Tweak IndexOf and LastIndexOf to match specification and
2889         undocumented MS behaviour.
2890
2891 2003-05-10  Gonzalo Paniagua Javier <gonzalo@ximian.com>
2892
2893         * Activator.cs: applied patch for bug #39926. Thanks to Jean Marc and
2894         Jaime.
2895
2896 2003-05-10  Gonzalo Paniagua Javier <gonzalo@ximian.com>
2897
2898         * String.cs: fixed bug #41411 and another similar problem in
2899         LastIndexOf (string).
2900
2901 2003-05-10  Gonzalo Paniagua Javier <gonzalo@ximian.com>
2902
2903         * String.cs: patch by Jean Marc <jean-marc.andre@polymtl.ca> that fixes
2904         bug #42695.
2905
2906 2003-05-09  Zoltan Varga  <vargaz@freemail.hu>
2907
2908         * MulticastDelegate.cs (GetInvocationList): Avoid ArrayList 
2909         construction if the delegate list only has one element.
2910
2911 2003-05-01  Pedro Martínez Juliá  <yoros@wanadoo.es>
2912
2913         * Environment.cs: Changed the method GetFolderPath because it must
2914         return at least a directory name (not null).
2915
2916         * Convert.cs: In ToType, if the destination type is unknown, try to
2917         cast the value to object (then, the calling method will downcast it
2918         to the type it wants).
2919
2920 2003-04-30  Gonzalo Paniagua Javier <gonzalo@ximian.com>
2921
2922         * Enum.cs: fixed bug #41522.
2923
2924 Tue Apr 29 13:58:16 CEST 2003 Paolo Molaro <lupus@ximian.com>
2925
2926         * Enum.cs: protect with the lock also the lookup (bug #41841).
2927
2928 Tue Apr 29 13:24:32 CEST 2003 Paolo Molaro <lupus@ximian.com>
2929
2930         * MonoType.cs: allow a null name if InvokeMember is called with
2931         BindingFlags.CreateInstance set.
2932
2933 2003-04-28  Gonzalo Paniagua Javier <gonzalo@ximian.com>
2934
2935         * Enum.cs: reverted my previous patch.
2936
2937 2003-04-27  Gonzalo Paniagua Javier <gonzalo@ximian.com>
2938
2939         * Enum.cs: fixed bug #41841.
2940
2941 2003-04-26  Gonzalo Paniagua Javier <gonzalo@ximian.com>
2942
2943         * MonoType.cs:
2944         (GetPropertyImpl): handle BindingFlags.IgnoreCase.
2945
2946 2003-04-22  Pedro Martínez Juliá  <yoros@wanadoo.es>
2947
2948         * FloatingPointFormatter.cs: Little fixes for get the same results
2949         as MS.NET and show a message when something goes wrong with the
2950         parser of Custom Formats.
2951
2952 2003-04-22  Nick Drochak  <ndrochak@gol.com>
2953
2954         * Double.cs (ToString):
2955         * Single.cs (ToString): Handle case where param is a CultureInfo.
2956
2957 2003-04-18  Zoltan Varga  <vargaz@freemail.hu>
2958
2959         * Object.cs ValueType.cs: Make the Object::GetHashCode() and 
2960         ValueType::Equals() icalls static non-virtual, so they can be called
2961         by the code in RuntimeHelpers.
2962
2963 2003-04-18  Miguel de Icaza  <miguel@ximian.com>
2964
2965         * Delegate.cs (operator ==): Do not crash if the second argument
2966         is null.  Bug fix submitted by Juan Cri.
2967
2968 2003-04-18  Eduardo Garcia Cebollero <kiwnix@yahoo.es>
2969
2970         * Array.cs: Deleted the exception in Array.Initialize(), it looks
2971         like the method do nothing for C#, is still a MonoTODO until
2972         we find a compiler that uses that.
2973
2974 2003-04-14  Miguel de Icaza  <miguel@ximian.com>
2975
2976         * Delegate.cs (Delegate): Seems like a typo, we were checking the
2977         a field rather than the argument 
2978
2979         * MonoType.cs: Make GetNestedType an external method implementation.
2980
2981 2003-04-13  Gonzalo Paniagua Javier <gonzalo@ximian.com>
2982
2983         * Enum.cs: fixed bug #41294.
2984
2985 2003-04-12  Gonzalo Paniagua Javier <gonzalo@ximian.com>
2986
2987         * DateTime.cs: fixes bug #40910, part 2.
2988
2989 2003-04-11  Dietmar Maurer  <dietmar@ximian.com>
2990
2991         * String.cs (Equals): avoid the internal call, code cleanups
2992
2993 2003-04-11  Alan Tam <Tam@SiuLung.com>
2994
2995         * Convert.cs: fixed bug #41085.
2996
2997 2003-04-10  Lluis Sanchez Gual <lluis@ideary.com>
2998
2999         * AppDomain.cs: Added internal method for getting process guid.
3000
3001 2003-04-09  Ville Palo <vi64pa@kolumbus.fi>
3002
3003         * Array.cs: Little fix to compare () method.
3004         
3005 2003-04-09  Zoltan Varga  <vargaz@freemail.hu>
3006
3007         * String.cs (Equals): Add trivial optimization.
3008
3009 2003-04-08  Gonzalo Paniagua Javier <gonzalo@ximian.com>
3010
3011         * DateTime.cs: fixed bug #40910.
3012
3013 2003-04-05  Miguel de Icaza  <miguel@ximian.com>
3014
3015         * Console.cs: Make stderr, stdout and stdin use synchronized
3016         versions of the their readers/writers.
3017
3018 2003-04-04  Dick Porter  <dick@ximian.com>
3019
3020         * Version.cs: Make operator== and operator!= cope with null
3021         objects.  Didn't change operator<, operator<=, operator> or
3022         operator>= because its not meaningful to use those to compare
3023         against null, and throwing a NullReferenceException is probably
3024         the best thing to do there anyway.
3025
3026         Fixes bug 40720.
3027
3028 2003-04-02  Gonzalo Paniagua Javier <gonzalo@ximian.com>
3029
3030         * AppDomain.cs: fixed InvalidCastException.
3031
3032 2003-03-30  Zoltan Varga  <vargaz@freemail.hu>
3033
3034         * Array.cs (Copy): Call FastCopy() earlier to avoid the expensive
3035         type checks and let it decide whenever a fast copy is possible.
3036
3037 2003-03-26  Gonzalo Paniagua Javier <gonzalo@ximian.com>
3038
3039         * MonoType.cs:
3040         (GetMethodImpl): support BindingFlags.IgnoreCase flag. Fixes bug #40322.
3041
3042 2003-03-25  Zoltan Varga  <vargaz@freemail.hu>
3043
3044         * Activator.cs (CreateInstance): Call GetConstructor with the right
3045         arguments so the nonPublic argument is handled correctly.
3046
3047 2003-03-25  Gonzalo Paniagua Javier <gonzalo@ximian.com>
3048
3049         * Type.cs: fixed bug #40123.
3050
3051 2003-03-22  Pedro Martínez Juliá  <yoros@wanadoo.es>
3052
3053         * FloatingPointFormatter.cs: Fixed some bugs for get the same
3054         results than MS.NET. Added simple error recovering, now ToString
3055         will return a general format if there is any exception in the
3056         process of formatting. This make the library more robust while the
3057         formatters are refined.
3058
3059 2003-03-16  Pedro Martínez Juliá  <yoros@wanadoo.es>
3060
3061         * FloatingPointFormatter.cs: Added support for group separators.
3062
3063 2003-03-16  Pedro Martínez Juliá  <yoros@wanadoo.es>
3064
3065         * Single.cs:
3066         * Double.cs: Apply changes of .ToString methods.
3067         * SingleFormatter.cs:
3068         * DoubleFormatter.cs: Simple wrappers to FloatingPointFormatter.
3069         * FloatingPointFormatter.cs: New class. Implementation of double and
3070         single formatters. It is unified now and parametrized with precission
3071         values.
3072
3073 2003-03-15  Lluis Sanchez Gual <lluis@ideary.com>
3074
3075         * AppDomain.cs: fixes bugs #39380 and #39331.
3076
3077 2003-03-06  Nick Drochak  <ndrochak@gol.com>
3078
3079         * TimeSpan.cs (Negate): Throw exception when value is MinValue.
3080
3081 2003-03-04  Dick Porter  <dick@ximian.com>
3082
3083         * Single.cs:
3084         * Double.cs: Temporarily reverted the Double and Single ToString()
3085         change, because it broke nunit.
3086
3087
3088 2003-03-04  Pedro Martínez Juliá  <yoros@wanadoo.es>
3089
3090         * Double.cs: Changed ToString method. Added NumberFormatInfo support
3091         with DoubleFormatter class.
3092         * Single.cs: Changed ToString method. Added NumberFormatInfo support
3093         with SingleFormatter class.
3094         * DoubleFormatter.cs: New class with Double formatting functions.
3095         * SingleFormatter.cs: New class with Single formatting functions.
3096
3097 2003-03-03  Lluis Sanchez Gual <lluis@ideary.com>
3098
3099         * Activator.cs: Added support for activation using activation attributes.
3100         * AppDomain.cs: Added internal method to get the default context from the runtime.
3101
3102 2003-02-28  Elan Feingold  <efeingold@mn.rr.com>
3103
3104         * DateTime.cs: FileTime is expressed in Universal time, and as such must
3105         be converted before subtracting the magic offset.
3106         * DateTime.cs: Strings in the format "2003-02-27T10:05:03-11:00" (note
3107         the timezone at the end) *must* be parsed by DateTime.Parse() for
3108         compatibility with Microsoft.
3109
3110 2003-02-24  Gonzalo Paniagua Javier <gonzalo@ximian.com>
3111
3112         * Attribute.cs:
3113         * MonoCustomAttrs.cs: fix for the regression test failure (see bug
3114         #38238).
3115
3116         * IntPtr.cs: added serialization .ctor
3117
3118 2003-02-19  Gonzalo Paniagua Javier <gonzalo@ximian.com>
3119
3120         * AppDomain.cs: check for null in Unload and changed method name.
3121
3122 2003-02-18  Gonzalo Paniagua Javier <gonzalo@ximian.com>
3123
3124         * MonoCustomAttrs.cs: fixed bug #38238.
3125
3126 2003-02-17  Martin Baulig  <martin@ximian.com>
3127
3128         * Exception.cs (Exception.ToString): Print a newline between the
3129         exception message and the stack trace.
3130
3131 2003-02-17  Gonzalo Paniagua Javier <gonzalo@ximian.com>
3132
3133         * AppDomain.cs: implemented GetCurrentThreadId ().
3134
3135 2003-02-14  Patrik Torstensson
3136
3137         * Exception.cs: Fixed message output formating
3138
3139 2003-02-14  Gonzalo Paniagua Javier <gonzalo@ximian.com>
3140
3141         * Int32.cs:
3142         (Parse): ignore everything after a \0 (MS parses: "512\0hola" as 512).
3143
3144 2003-02-12  Miguel de Icaza  <miguel@ximian.com>
3145
3146         * Type.cs: IsClass should return false for Enumerations
3147
3148 2003-02-11  Gonzalo Paniagua Javier <gonzalo@ximian.com>
3149
3150         * MonoCustomAttrs.cs: return the correct array type in the short case.
3151         Fixes bug #37818.
3152
3153 2003-02-08  Pedro Martíenz Juliá  <yoros@wanadoo.es>
3154
3155         * Math.cs: Fix a few methods (like Round) and add with comments the
3156         new methods: BigMul and DivRem that were in ECMA specs.
3157
3158 2003-02-07  Patrik Torstensson
3159
3160         * Exception.cs: Fixed formating
3161
3162 2003-02-05  Patrik Torstensson
3163
3164         * AppDomain.cs: Partly fixed the unload method 
3165         
3166 2003-02-04  Patrik Torstensson
3167
3168         * AppDomain.cs: Fixed lease issue with appdomain
3169
3170 2003-02-04  Lluis Sanchez Gual <lluis@ideary.com>
3171
3172         * MarshalByRefObject.cs: Implemented GetLifetimeService() and 
3173           InitializeLifetimeService().
3174
3175 2003-02-03  Patrik Torstensson
3176
3177         * AppDomain.cs: New internalcalls for handling domain/context switches
3178         * AppDomain.cs (CreateDomain): Return transparant proxy for appdomain object
3179
3180 2003-02-03  Gonzalo Paniagua Javier <gonzalo@ximian.com>
3181
3182         * AppDomain.cs: implemented AppendPrivatePath, ClearPrivatePath
3183         and ClearShadowCopyPath and fixed GetType ().
3184
3185         * Attribute.cs: clean up.
3186
3187         * Console.cs: removed UnixConsoleEncoding. Use Default.
3188
3189 2003-02-01  Gonzalo Paniagua Javier <gonzalo@ximian.com>
3190
3191         * Attribute.cs: fixed all IsDefined overloads. Gotta fix
3192         GetCustomAttributes later.
3193
3194 2003-01-31  Patrik Torstensson
3195
3196         * Buffer.cs: Changed access level of BlockCopyInternal
3197
3198 Thu Jan 30 19:54:30 CET 2003 Paolo Molaro <lupus@ximian.com>
3199
3200         * String.cs, IntegerFormatter.cs: use const where appropriate.
3201
3202 2003-01-30  Gonzalo Paniagua Javier <gonzalo@ximian.com>
3203
3204         * MonoCustomAttrs.cs: fixed GetBase () for Type. Thanks to Zoltan for
3205         reporting.
3206
3207 2003-01-30  Gonzalo Paniagua Javier <gonzalo@ximian.com>
3208
3209         * MonoCustomAttrs.cs: fixed shortcut in GetCustomAttributes.
3210         The argument ICustomAttributeProvider can be of other types different
3211         from Type. Handle it.
3212
3213 2003-01-28  Zoltan Varga  <vargaz@freemail.hu>
3214
3215         * DateTime.cs: fix FromFileTime so the time returned by 
3216         File::GetLastModificationTime etc. is in the correct timezone.
3217
3218 2003-01-28  Patrik Torstensson
3219         * Exception.cs: reverted formating/endline changes (sorry guys)
3220
3221 2003-01-28  Patrik Torstensson
3222
3223         * MarshalByRefObject.cs: implemented GetObjectIdentity
3224         * Exception.cs: added support for remote exceptions
3225
3226 2003-01-28  Gonzalo Paniagua Javier <gonzalo@ximian.com>
3227
3228         * DateTime.cs: fixed bug #37225.
3229
3230 2003-01-27  Gonzalo Paniagua Javier <gonzalo@ximian.com>
3231
3232         * Enum.cs: Clone the arrays in GetNames and GetValues. Thanks lupus!
3233
3234 2003-01-27  Zoltan Varga  <vargaz@freemail.hu>
3235
3236         * AppDomain.cs: Added DoTypeResolve method which will be called by
3237         the runtime to raise TypeResolve events.
3238
3239 2003-01-27  Duncan Mak  <duncan@ximian.com>
3240
3241         * Enum.cs (ToType): Implement this using Convert.ToType.
3242
3243 2003-01-21  Miguel de Icaza  <miguel@ximian.com>
3244
3245         * Math.cs: Remove Pow's implementation body as it was wrong.  The
3246         C code does the right thing.  The code was trying to handle a
3247         number of cases, and that was incorrect.
3248
3249 2003-01-24  Gonzalo Paniagua Javier <gonzalo@ximian.com>
3250
3251         * CharEnumerator.cs: fix to Current by crainaj@hotmail.com. Closes
3252         bug #37113.
3253
3254 2003-01-24  Gonzalo Paniagua Javier <gonzalo@ximian.com>
3255
3256         * Enum.cs: added caching to GetInfo.
3257
3258 2003-01-23  Dick Porter  <dick@ximian.com>
3259
3260         * Environment.cs (System): Implemented ExitCode
3261
3262 2003-01-23  Zoltan Varga  <vargaz@freemail.hu>
3263
3264         * Type.cs (IsInstanceOfType): fixed regression caused by the change
3265         to IsSubclassOf().
3266
3267 2003-01-17  Gonzalo Paniagua Javier <gonzalo@ximian.com>
3268
3269         * MonoType.cs: re-added lines that were removed in the previous commit.
3270
3271 2003-01-16  Lluis Sanchez Gual <lsg@ctv.es>
3272
3273         * Type.cs: corrected property IsSerializable. It should always return
3274         true for enums and delegates
3275         * MonoType.cs: added serialization support.
3276         * Delegate.cs: added serialization support.
3277         * DBNull.cs: added serialization support.
3278         * UnitySerializationHolder.cs: supports serialization of Assembly,
3279         MonoType and DBNull.
3280         * DelegateSerializationHolder.cs: added.
3281
3282 2003-01-12  Gonzalo Paniagua Javier <gonzalo@ximian.com>
3283
3284         * Exception.cs: changed default message to match MS one.
3285
3286 2003-01-12  Patrik Torstensson <totte@race-x-change.com>
3287
3288         * String.cs: Fixed bug with CompareOrdinal
3289
3290 2003-01-10  Gonzalo Paniagua Javier <gonzalo@ximian.com>
3291
3292         * Enum.cs: implements IFormattable.
3293
3294 2003-01-10  Gonzalo Paniagua Javier <gonzalo@ximian.com>
3295
3296         * AppDomain.cs: implemented DoCallBack method.
3297         * MonoType.cs:
3298         (GetConstructorImpl): when the flag is BindingFlags.Default, set it to
3299         Public, Instance.
3300
3301         NUnit2 tests start moving.
3302
3303 2003-01-09  Gonzalo Paniagua Javier <gonzalo@ximian.com>
3304
3305         * Activator.cs: fixed bug #36052. Also added checks to avoid trying to
3306         instantiate an abstract class.
3307
3308 2003-01-09  Gonzalo Paniagua Javier <gonzalo@ximian.com>
3309
3310         * Type.cs:
3311         (IsSubclassOf): return false when null. Use != instead of Equals.
3312
3313 2003-01-09  Gonzalo Paniagua Javier <gonzalo@ximian.com>
3314
3315         * Type.cs: fixed IsSubclassOf. Patch from Zoltan Varga.
3316
3317 Fri Jan 3 20:18:51 CET 2003 Paolo Molaro <lupus@ximian.com>
3318
3319         * MonoType.cs: fixed Namespace property for nested types.
3320
3321 Fri Jan 3 16:18:27 CET 2003 Paolo Molaro <lupus@ximian.com>
3322
3323         * MonoCustomAttrs.cs: create properly typed arrays when returning
3324         arrays of attributes of a given type.
3325
3326 Fri Jan 3 11:10:14 CET 2003 Paolo Molaro <lupus@ximian.com>
3327
3328         * MonoType.cs: fixed MemberType property for nested types.
3329
3330 2003-01-03  Gonzalo Paniagua Javier <gonzalo@ximian.com>
3331
3332         * String.cs: fixed bug #36209.
3333
3334 2002-12-20 Lluis Sanchez Gual <lsg@ctv.es>
3335
3336         * Activator.cs: implemented method GetObject.
3337
3338 2002-12-28  Marcus Urban <mathpup@mylinuxisp.com>
3339
3340         * Activator.cs: Since the documentation indicates the method
3341         either succeeds or throws one of the listed exceptions, we weren't
3342         expecting that CreateInstance might be returning null.
3343
3344         For more information on the bug, see http://bugs.ximian.com/show_bug.cgi?id=36109
3345
3346 2002-12-20 Lluis Sanchez Gual <lsg@ctv.es>
3347
3348         * MarshalByRefObject.cs: implemented CreateObjRef.
3349
3350 2002-12-19  Gonzalo Paniagua Javier <gonzalo@ximian.com>
3351
3352         * DateTime.cs: fixed bug #30076.
3353         * TimeZone.cs: provide the parameter name in a exception.
3354
3355 2002-12-13  Gonzalo Paniagua Javier <gonzalo@ximian.com>
3356
3357         * DecimalFormatter.cs: fixed bug #35560.
3358
3359 Wed Dec 4 16:04:28 CET 2002 Paolo Molaro <lupus@ximian.com>
3360
3361         * Type.cs: implemented GetInterfaceMap (needs an updated runtime).
3362
3363 2002-12-03  Gonzalo Paniagua Javier <gonzalo@ximian.com>
3364
3365         * Array.cs: use Object.Equals (obj, obj) to compare objects to avoid
3366         nulls. Fixes #34909.
3367
3368 2002-12-03  Gonzalo Paniagua Javier <gonzalo@ximian.com>
3369
3370         * AppDomain.cs: DoAssemblyResolve now returns when one of the handlers
3371         returns a non-null assembly.
3372
3373 2002-12-03  Gonzalo Paniagua Javier <gonzalo@ximian.com>
3374
3375         * MulticastDelegate.cs: make GetInvocationList work for more than 1
3376         delegate.
3377
3378 2002-12-02  Gonzalo Paniagua Javier <gonzalo@ximian.com>
3379
3380         * MulticastDelegate.cs: implemented GetInvocationList. I'll check later
3381         if this is the correct order of invocation.
3382
3383 2002-12-02  Gonzalo Paniagua Javier <gonzalo@ximian.com>
3384
3385         * Type.cs: changed the signature of internal_from_name. Modified
3386         the overloads of GetType to use it and check the typeName argument.
3387         Implemented FindInterfaces.
3388
3389 2002-11-29  Gonzalo Paniagua Javier <gonzalo@ximian.com>
3390
3391         * MarshalByRefObject.cs: undo latest changes. It breaks the build by
3392         some obscure reasons (try make -f makefile.gnu using a corlib which has
3393         the modified version).
3394
3395 2002-11-26  Miguel de Icaza  <miguel@ximian.com>
3396
3397         * String.cs (Concat): Reduce the number of compares required. 
3398
3399 Mon Nov 18 17:54:22 CET 2002 Paolo Molaro <lupus@ximian.com>
3400
3401         * Activator.cs: throw a MissingMethodException if the default
3402         constructor is not found in CreateInstance.
3403
3404 2002-11-13  Gonzalo Paniagua Javier <gonzalo@ximian.com>
3405
3406         * String.cs:
3407         (Equals (str, str)): use 'as' instead of casting to object.
3408         (Equals (obj)): check the length of the strings (until now,
3409         "Hello".Equals ((object) "Hellow World!) was true!).
3410
3411 2002-11-04  Gonzalo Paniagua Javier <gonzalo@ximian.com>
3412
3413         * MonoType.cs: implemented GetEvent (name, flags).
3414
3415 2002-11-03  Gonzalo Paniagua Javier <gonzalo@ximian.com>
3416
3417         * AppDomain.cs: implemented a couple of methods called from the runtime
3418         to fire AssemblyLoad and AssemblyResolve events.
3419
3420 2002-10-31  Dick Porter  <dick@ximian.com>
3421
3422         * Environment.cs: MonoIO methods now have an error parameter
3423
3424 2002-10-29  Zoltan Varga  <vargaz@freemail.hu>
3425
3426         * Enum.cs: Added support for whitespaces in Enum:Parse().
3427
3428 2002-10-29  Gonzalo Paniagua Javier <gonzalo@ximian.com>
3429
3430         * Type.cs: fixed GetProperty (string, Type []) and removed get_property
3431         internal call. Closes bug #32992.
3432
3433 2002-10-29  Gonzalo Paniagua Javier <gonzalo@ximian.com>
3434
3435         * Exception.cs: display the inner exception, if any, in ToString ().
3436
3437 2002-10-24  Gonzalo Paniagua Javier <gonzalo@ximian.com>
3438
3439         * Environment.cs: fixed StackTrace property.
3440
3441 2002-10-16  Nick Drochak  <ndrochak@gol.com>
3442
3443         * Enum.cs (Parse): Then fix the code so that it works too.
3444
3445 2002-10-15  Nick Drochak  <ndrochak@gol.com>
3446
3447         * Enum.cs (Parse): Use unsigned casts to avoid compiler warnings.
3448
3449 2002-10-12  Nick Drochak  <ndrochak@gol.com>
3450
3451         * IntegerFormatter.cs: Fix compiler warnings.
3452
3453 2002-10-11  Tim Haynes <thaynes@openlinksw.com>
3454
3455         * Type.cs (GetConstructors): Use the correct flags.
3456
3457 2002-10-09  Nick Drochak  <ndrochak@gol.com>
3458
3459         * IntegerFormatter.cs: Suppress insignificant leading zeros
3460
3461 Fri Sep 27 15:06:29 CEST 2002 Paolo Molaro <lupus@ximian.com>
3462
3463         * MonoCustomAttrs.cs: applied patch by "Si Jingnan"
3464         <stonewell@21cn.com> to return also derived types.
3465
3466 2002-09-26  Gonzalo Paniagua Javier <gonzalo@ximian.com>
3467
3468         * Activator.cs: little fix in CreateInstance (Type, bool).
3469
3470 2002-09-19  Duncan Mak  <duncan@ximian.com>
3471
3472         * Array.cs (CopyTo): Revert back to 1.40, this is stopping
3473         I18N/Common from building right now.
3474
3475 2002-09-19  Nick Drochak  <ndrochak@gol.com>
3476
3477         * Array.cs (CopyTo): Account for Object type and base (primitive) types
3478         * Type.cs (IsAssignableFrom): return false for a null parameter
3479
3480 2002-09-19  Nick Drochak <ndrochak@gol.com>
3481
3482         * Array.cs (CopyTo): Check that source type can be cast automatically
3483         to the destination type.
3484
3485 2002-09-18  Gonzalo Paniagua Javier <gonzalo@ximian.com>
3486
3487         * Type.cs: implemented IsAssignableFrom, DefaultBinder and
3488         GetDefaultMembers.
3489
3490 2002-09-12  Gonzalo Paniagua Javier <gonzalo@ximian.com>
3491
3492         * Char.cs: implemented ToString (char)
3493         * IntegerFormatter.cs: made it internal.
3494
3495 2002-09-13  Nick Drochak  <ndrochak@gol.com>
3496
3497         * Enum.cs (Format): handle the "d" format for both signed and unsigned
3498         underlying types.
3499
3500 2002-09-12  Dick Porter  <dick@ximian.com>
3501
3502         * UIntPtr.cs: Remove the [StructLayout(LayoutKind.Auto)]
3503         attribute, as there doesn't appear to be any struct
3504         layout-depending code here (and corcompare says it should be
3505         LayoutKind.Sequential)
3506
3507         * Decimal.cs: Stub out missing methods, add
3508         [DecimalConstantAttribute] to the constant fields (as shown by
3509         corcompare).
3510
3511         * LocalDataStoreSlot.cs: 
3512         * Environment.cs: 
3513         * Char.cs: 
3514         * Array.cs: Stub out missing methods.
3515
3516         * TypedReference.cs: 
3517         * ArgIterator.cs: Stub out
3518
3519         * AppDomainSetup.cs: 
3520         * AppDomain.cs: Stub out missing methods, add missing
3521         ClassInterface(ClassInterfaceType.None) attribute.
3522
3523 2002-09-12  Nick Drochak  <ndrochak@gol.com>
3524
3525         * Double.cs (ToString): Throw exception when "X" format is passed in.
3526
3527 Wed Sep 11 15:26:34 CEST 2002 Paolo Molaro <lupus@ximian.com>
3528
3529         * MonoType.cs: implemented Module property.
3530
3531 Wed Sep 11 12:49:51 CEST 2002 Paolo Molaro <lupus@ximian.com>
3532
3533         * MonoType.cs, Type.cs: implemented InvokeMember.
3534
3535 Wed Sep 11 11:06:43 CEST 2002 Paolo Molaro <lupus@ximian.com>
3536
3537         * Delegate.cs: check the type passed to CreateDelegate is a Delegate
3538         type. Check the method signature matches.
3539
3540 Sat Sep 7 10:16:52 CEST 2002 Paolo Molaro <lupus@ximian.com>
3541
3542         * RuntimeMethodHandle.cs: implemented GetFunctionPointer().
3543
3544 2002-09-06  Miguel de Icaza  <miguel@ximian.com>
3545
3546         * Console.cs: Specify an encoder, otherwise we will get the UTF8
3547         encoder that by default emits the byte markers.
3548
3549 Fri Sep 6 20:14:04 CEST 2002 Paolo Molaro <lupus@ximian.com>
3550
3551         * Delegate.cs: look also for non-public methods until we have the
3552         security checks in place.
3553
3554 Fri Sep 6 12:20:06 CEST 2002 Paolo Molaro <lupus@ximian.com>
3555
3556         * MonoType.cs: consider also the full name in GetInterface.
3557
3558 Fri Sep 6 12:11:28 CEST 2002 Paolo Molaro <lupus@ximian.com>
3559
3560         * MonoType.cs: implemented GetMembers, GetConstructorImpl and
3561         GetMethodImpl using the binder.
3562         * Type.cs: GetConstructorImpl/GetConstructor fixes.
3563
3564 2002-09-03  Jonathan Pryor <jonpryor@vt.edu>
3565         * Enum.cs: Get rid of warning CS0162.
3566
3567 2002-09-04  Miguel de Icaza  <miguel@ximian.com>
3568
3569         * Double.cs, Single.cs, Char.cs, Boolean.cs: Use internal for the
3570         actual value instead of public.
3571
3572         * LocalDataStoreSlot.cs: Make constructor internal.
3573
3574         * Int16.cs, UInt16.cs, Int32.cs, UInt32.cs, Int64.cs, UInt64.cs,
3575         SByte.cs, Byte.cs, Char.cs: Use internal for the actual value
3576         instead of public.
3577
3578 2002-09-03  Jonathan Pryor <jonpryor@vt.edu>
3579         * Enum.cs: Fixed Enum.Format so that the "x" format specifier would work
3580                    properly.
3581
3582 2002-08-28  Gonzalo Paniagua Javier <gonzalo@ximian.com>
3583
3584         * DateTime.cs: fixed buglet.
3585
3586 Tue Aug 27 16:39:47 CEST 2002 Paolo Molaro <lupus@ximian.com>
3587
3588         * MonoType.cs: speedup access to common data.
3589
3590 2002-08-23  Gonzalo Paniagua Javier <gonzalo@ximian.com>
3591
3592         * Double.cs: implemented TryParse.
3593
3594         * Math.cs: PowImpl is now private.
3595
3596         * MissingFieldException.cs: implemented Message.
3597
3598         * RuntimeMethodHandle.cs: stubbed GetFunctionPointer.
3599
3600         * _AppDomain.cs: Uncommented ToString.
3601
3602 2002-08-23  Gonzalo Paniagua Javier <gonzalo@ximian.com>
3603
3604         * Type.cs:
3605         (IsValueTypeImpl): it's virtual, not abstract. Implemented.
3606
3607 2002-08-23  Gonzalo Paniagua Javier <gonzalo@ximian.com>
3608
3609         * ArgumentException.cs: use the field instead of the property for
3610         param_name.
3611
3612         * ArgumentOutOfRangeException.cs: modified Message.
3613
3614         * DateTime.cs: 
3615         (_DoParse): throw out of range exception for year. Removed check
3616         for month (it's done in the constructor).
3617
3618 2002-08-21  Miguel de Icaza  <miguel@ximian.com>
3619
3620         * Environment.cs: Implemented OSVersion property.
3621
3622 2002-08-21  Dietmar Maurer  <dietmar@ximian.com>
3623
3624         * Exception.cs: set stack_trace to null
3625
3626 Wed Aug 21 13:02:20 CEST 2002 Paolo Molaro <lupus@ximian.com>
3627
3628         * AppDomain.cs: implemented ToString().
3629
3630 2002-08-20  Gonzalo Paniagua Javier <gonzalo@ximian.com>
3631
3632         * AppDomain.cs: securityInfo can be null in CreateDomain.
3633
3634 2002-08-19  Dick Porter  <dick@ximian.com>
3635
3636         * MonoType.cs: Add a space before the Assembly name in
3637         AssemblyQualifiedName (needed for resource files so the MS runtime
3638         can load types)
3639
3640 2002-08-19  Gonzalo Paniagua Javier <gonzalo@ximian.com>
3641
3642         * AppDomain.cs: parameter name when throwing ArgumentNullException.
3643
3644         * ArgumentException.cs: modified Message to do what MS does.
3645
3646         * ArgumentNullException.cs: don't use {0} in message.
3647
3648         * Exception.cs: use Message property in ToString ().
3649
3650 2002-08-14  Cesar Octavio Lopez Nataren <cesar@ciencias.unam.mx>
3651
3652         * WeakReference.cs: Changed the constructor and GetObjectData
3653         method needed for ISerializable implementation in order to be
3654         compatible with SOAP generated by MS.
3655
3656 Wed Aug 14 17:34:07 CEST 2002 Paolo Molaro <lupus@ximian.com>
3657
3658         * MonoType.cs, Type.cs: DeclaringType/ReflectedType fixes.
3659
3660 2002-08-12  Dietmar Maurer  <dietmar@ximian.com>
3661
3662         * Exception.cs (ToString): changed the ouput format.
3663
3664 2002-08-07  Dietmar Maurer  <dietmar@ximian.com>
3665
3666         * MonoType.cs: moved get_method icall to this class, we can
3667         remove it as soon someone provides a full featured GetMethodImpl.
3668
3669         * Type.cs: use GetMethodImpl everywhere.
3670
3671         * Delegate.cs: new CreateDelegate implementations.
3672
3673 2002-08-06  Tim Coleman <tim@timcoleman.com>
3674         * MonoType.cs: 
3675                 Fix bug #28582.  Now checks parameters for properties
3676                 in GetPropertyImpl.
3677
3678 2002-08-04  Nick Drochak  <ndrochak@gol.com>
3679
3680         * Buffer.cs: Throw correct exception in GetByte() and SetByte().
3681
3682 2002-08-01  Gonzalo Paniagua Javier <gonzalo@ximian.com>
3683
3684         * String.cs:
3685         (FormatSpecifier): allow white space between the comman and the width
3686         specifier.
3687
3688 2002-07-22  Gonzalo Paniagua Javier <gonzalo@ximian.com>
3689
3690         * Int32.cs:
3691         * Int64.cs:
3692         * UInt32.cs:
3693         * UInt64.cs: fixed bug #28050. May be a MS bug?
3694
3695 Thu Jul 18 14:47:03 CEST 2002 Paolo Molaro <lupus@ximian.com>
3696
3697         * MonoType.cs: fix IsArrayImpl.
3698
3699 2002-07-13  Gonzalo Paniagua Javier <gonzalo@ximian.com>
3700
3701         * String.cs: make ToLower (culture) and ToUpper (culture) use the
3702         default ToLower and ToUpper and don't throw NotImplemented.
3703
3704 Sat Jul 13 15:09:01 CEST 2002 Paolo Molaro <lupus@ximian.com>
3705
3706         * Type.cs: make GettTypeCode an icall. Test implementation of
3707         GetMember().
3708
3709 2002-07-13  Gonzalo Paniagua Javier <gonzalo@ximian.com>
3710
3711         * AppDomainSetup.cs: implemented LoaderOptimization.
3712
3713 2002-07-10  Gonzalo Paniagua Javier <gonzalo@ximian.com>
3714
3715         * Activator.cs: some more intermediate results checking in
3716         in CreateInstance and CreateInstanceFrom and use GetConstructor and
3717         Invoke only with Type [] until the other overloaded versions work.
3718
3719 2002-07-09  Gonzalo Paniagua Javier <gonzalo@ximian.com>
3720
3721         * Activator.cs: reformatted. Implemented CreateInstance* methods
3722         that return ObjectHandle.
3723
3724         * AppDomain.cs: implemented CreateInstance*AndUnwrap methods.
3725
3726 2002-07-03  Nick Drochak  <ndrochak@gol.com>
3727
3728         * Decimal.cs (Divide): Short cut the case where the dividend is 0 (and
3729         the divisor is not) and avoid the icall, which seems to have a bug.
3730
3731 2002-07-03  Nick Drochak  <ndrochak@gol.com>
3732
3733         * Double.cs (CompareTo): Correctly handle the case where the instance
3734         is NaN. Also return 0 if the values are equal.
3735
3736 2002/07/03  Nick Drochak <ndrochak@gol.com>
3737
3738         * MissingMethodException: Add missing Message property
3739         * MissingMemberException: Add missing Message property
3740
3741 2002-06-30  Nick Drochak  <ndrochak@gol.com>
3742
3743         * Double.cs (CompareTo): Just see which is bigger.  Don't use the
3744         subtraction trick, it doesn't work when the values have a diference of
3745         less than one.
3746
3747         * Single.cs (CompareTo): same
3748
3749 2002-06-27  Martin Baulig  <martin@gnome.org>
3750
3751         * UIntPtr.cs (UIntPtr.Zero): Use an explicit `u' suffix in the
3752         constructor argument.  [FIXME: The implicit conversion to an
3753         unsigned integer doesn't work with mcs.]
3754
3755 2002-06-26  Martin Baulig  <martin@gnome.org>
3756
3757         * DecimalFormatter.cs: Removed MSTEST stuff, use `System',
3758         not `S = System'.  This file now compiles with mcs.
3759
3760         * String.cs: Removed the already ifdef-outed __arglist Concat function
3761         to make it compile with mcs.
3762
3763 2002-06-24  Gonzalo Paniagua Javier <gonzalo@ximian.com>
3764
3765         * IntegerFormatter.cs:
3766         (FormatParse.FormatNumber): fixed custom format for negative numbers.
3767
3768 2002-06-21  Martin Baulig  <martin@gnome.org>
3769
3770         * Double.cs: Replace the private `enum State' with constants since this
3771         will avoid some bigger headaches in mcs.
3772
3773 Thu Jun 20 17:51:44 CEST 2002 Paolo Molaro <lupus@ximian.com>
3774
3775         * TimeSpan.cs: do not pollute the namespace with the
3776         System.Parser name.
3777
3778 2002-06-18  Nick Drochak  <ndrochak@gol.com>
3779
3780         * ArgumentException.cs: Use the message given in the constructor when
3781         accessing the Message property.  Thanks to Dietmar for the help with 
3782         "base".
3783
3784 2002-06-17  Dietmar Maurer  <dietmar@ximian.com>
3785
3786         * MonoType.cs: GetField is now a InternalCall
3787
3788 2002-06-13  Nick Drochak  <ndrochak@gol.com>
3789
3790         * DateTime.cs: (Parse): Accept dates that have no hour,min,sec. in the
3791         sortable format(s), e.g. "2002-02-25"
3792
3793 2002/06/12  Nick Drochak <ndrochak@gol.com>
3794
3795         * Random.cs (Next): Fix math error.  Return a number within the range.
3796
3797 2002-06-12  Nick Drochak  <ndrochak@gol.com>
3798
3799         * String.cs (IndexOf): Return -1 if start index is equal to string
3800         length.
3801
3802 2002-06-10  Duncan Mak  <duncan@ximian.com>
3803
3804         * Convert.cs (ToDouble): Remove rounding in ToDouble (float).
3805         (ToType): Added null field in conversionTable to avoid
3806         IndexOutOfRangeException. Changed what exceptions we throw to match
3807         the spec.
3808         
3809 2002-06-11  Nick Drochak  <ndrochak@gol.com>
3810
3811         * Int64.cs (Parse): Added unique strings to the messages where we throw
3812         a FormatException. Needed these to debug, so just left them in since
3813         they might be useful later. Fixed Currency parsing where we weren't
3814         looking at CurrencyDecimalSeparator, etc.
3815
3816 2002-06-09  Lawrence Pit  <loz@cable.a2000.nl>
3817
3818         * DateTime.cs: fixes to pass tests M0 to M6:
3819                 if yy pattern then year values >= 30 are in 20th century
3820                 rfc1123 pattern is always in GMT, therefor useutc must be false
3821         made GetNow() internal static so it can be called from TimeZone.
3822         * TimeZone.cs: removed dependency on year 2002 from initialization of 
3823         current timezone.
3824
3825 2002-06-09  Duncan Mak  <duncan@ximian.com>
3826
3827         * Convert.cs (ToType): Rearranged what Exceptions we throw to
3828         match MS behavior.
3829
3830 2002-06-08  Duncan Mak  <duncan@ximian.com>
3831
3832         * Decimal.cs: Added support for the IConvertible interface.
3833
3834 2002-06-08  Martin Baulig  <martin@gnome.org>
3835
3836         * Enum.cs (IsDefined): `value' may be of the enum's type itself, it
3837         doesn't necessarily need to be of the enum's underlying type.
3838
3839 2002/06/07  Nick Drochak <ndrochak@gol.com>
3840
3841         * String.cs: Add [Serializable] to class
3842         * SByte.cs (Parse): Add [CLSCompliant(false)] to all the overloads
3843
3844 2002-06-04  Nick Drochak  <ndrochak@gol.com>
3845
3846         * Double.cs (Parse): Recognize the group separator string, but still we
3847         don't check the format for the proper number of digits between
3848         separators. Also throw OverflowException when we get Pos or Neg
3849         Infinity from runtime.
3850
3851 2002-06-03  Duncan Mak  <duncan@ximian.com>
3852
3853         * Convert.cs (ToDouble): Fixed ToDouble (byte value).
3854
3855 Mon Jun 3 12:18:18 CEST 2002 Paolo Molaro <lupus@ximian.com>
3856
3857         * Type.cs: fixed GetTypeCode.
3858
3859 2002-06-02  Duncan Mak  <duncan@ximian.com>
3860
3861         * Convert.cs (ToInt16): use Convert.ToInt16 (int) instead of a direct
3862         cast from an int so that we throw OverFlowException correctly.
3863         
3864         (ToInt64): Use a new 64bit version of ConvertToBase.
3865         
3866         (ConvertToBase): Add checks for overflow (checks Int32.MinValue
3867         and Int32.MaxValue).
3868
3869         (ConvertFromBase64): New 64-bit version of ConvertFromBase.
3870
3871 2002-06-02  Nick Drochak  <ndrochak@gol.com>
3872
3873         * Convert.cs (ToSByte): Check for special value.
3874         * Single.cs (Parse): 
3875         * UInt16.cs (Parse):
3876         * UInt32.cs (Parse): Throw OverflowException if negative
3877
3878 2002-06-02  Duncan Mak  <duncan@ximian.com>
3879
3880         * Convert.cs (DBNull): Point it to DBNull.Value.
3881         (IsDBNull): Instead of checking typecodes, just check to see if
3882         it's the same as the DBNull field.
3883
3884 2002-06-02  Nick Drochak  <ndrochak@gol.com>
3885
3886         * Convert.cs (ConvertFromBase): Detect bad digits correctly.
3887
3888 2002-06-02  Duncan Mak  <duncan@ximian.com>
3889
3890         * Char.cs (Parse): Simplify the Exception handling.
3891
3892         * Convert.cs (ToDecimal): Remove call to Math.Round () when
3893         converting from a float.
3894
3895 2002-05-30  Martin Baulig  <martin@gnome.org>
3896
3897         * MonoType.cs (GetInterface): Implemented.
3898
3899 Thu May 23 17:17:28 CEST 2002 Paolo Molaro <lupus@ximian.com>
3900
3901         * Activator.cs: implemented CreateInstance ().
3902
3903 2002-05-22  Duncan Mak  <duncan@ximian.com>
3904
3905         * Convert.cs (ConvertToBase): Added new 64bit version.
3906         (BuildConvertedString64): New 64bit version of
3907         BuildConvertedString.
3908
3909         This fixes bug 25068.
3910
3911         (ConvertFromBase): Added additional test for checking if the
3912         digits are valid. Thanks to Miguel for coming up with this test.
3913
3914         This fixes bug 25071.
3915         
3916 2002-05-21  Duncan Mak  <duncan@ximian.com>
3917
3918         * Convert.cs (ToType): Rearranged to fit the new layout of
3919         conversionTable.
3920
3921         (conversionTable): Rearranged to fit the layout of the
3922         System.TypeCode enum.
3923
3924         This should fix bug 25075.
3925         
3926 2002-05-21  Duncan Mak  <duncan@ximian.com>
3927
3928         * Convert.cs (ToString): Fixed the ToString methods. Previously I had
3929         mixed up the two code paths, one for converting to a specific base
3930         (this case), another from converting from a foreign base to base10
3931         (used by ToInt16|32|64 (string, int)). This fixes bug 25068.
3932
3933         * Convert.cs (ToByte)
3934         (ToSByte): Fixed bug 25074. Added more bits to ConvertFromBase so
3935         that we won't confuse FormatException with OverflowException.
3936
3937 2002-05-22  Lawrence Pit  <loz@cable.a2000.nl>
3938
3939         * Environment.cs: CommandLine missed spaces between arguments.
3940         Implemented StackTrace. Returning MachineName in UserDomainName
3941         instead of null.
3942         
3943 Tue May 21 17:25:49 CEST 2002 Paolo Molaro <lupus@ximian.com>
3944
3945         * MonoCustomAttrs.cs: handle inherit argument.
3946
3947 2002-05-21  Nick Drochak  <ndrochak@gol.com>
3948
3949         * Math.cs (Pow): Change icall method name and insert parameter
3950         checks in for infinities and NaN.
3951
3952 2002-05-13  Miguel de Icaza  <miguel@ximian.com>
3953
3954         * Double.cs (Parse): Reimplement by cleaning up the string first,
3955         and then passing to strtof in the mono runtime.
3956
3957         * Single.cs (Parse): Use the Double implementation and cast to
3958         float. 
3959
3960 2002-05-21  Nick Drochak  <ndrochak@gol.com>
3961
3962         * Math.cs 
3963                 (Ceiling): Check for "special" values
3964                 (Floor): Check for "special" values
3965                 (Round): Fix off-by-one error on decimal shifting
3966
3967 2002-05-20  Lawrence Pit  <loz@cable.a2000.nl>
3968
3969         * DateTime.cs: ToString () using "G" format specifier 
3970
3971 2002-05-19  Martin Baulig  <martin@gnome.org>
3972
3973         * Convert.cs (FromBase64CharArray): Do correct exception handling.
3974
3975 2002-05-19  Martin Baulig  <martin@gnome.org>
3976
3977         * Convert.cs (FromBase64CharArray): Convert the char array using
3978         System.Text.UTF8Encoding, not UnicodeEncoding (which is UTF-16) to
3979         a byte array.
3980
3981 2002-05-17  Miguel de Icaza  <miguel@ximian.com>
3982
3983         * MonoType.cs: Style changes.
3984
3985         * Type.cs: Style changes.
3986
3987 2002-05-16  Piers Haken <piersh@friksit.com
3988
3989         * UInt64.cs: fix declaration of IConvertible.To* overrides.
3990
3991 2002-05-16  Nick Drochak  <ndrochak@gol.com>
3992
3993         * BitConverter.cs (ToString): Add parameter check for invalid start 
3994         index.
3995
3996         * Console.cs: Use AutoFlush on the StreamWriter for stdin and stdout
3997         now that StreamWriter uses buffering
3998
3999 2002-05-14  Miguel de Icaza  <miguel@ximian.com>
4000
4001         * Double.cs: Oops.  Also handle exponents without finding a dot.
4002
4003 2002-05-14  Gonzalo Paniagua Javier <gonzalo@ximian.com>
4004
4005         * ChangeLog: removed empty entry at the top of the file.
4006
4007         * Int32.cs: made static functions used by Parse internal.
4008
4009         * Int64.cs:
4010         * UInt32.cs:
4011         * UInt64.cs: removed static fucntions used by Parse and use the ones
4012         in Int32.cs
4013
4014 2002-05-12  Daniel Morgan <danmorg@sc.rr.com>
4015
4016         * IServiceProvider.cs: added using System
4017
4018 2002-05-09  Daniel Morgan <danmorg@sc.rr.com>
4019
4020         * Single.cs: copied ToString() and Parse() methods from 
4021         Double to Single and modified a tiny bit for Single.  
4022         There is still a FIXME for Double and Single about
4023         passing the format and provider info to the icall too.
4024
4025 2002-05-02  Gonzalo Paniagua Javier <gonzalo@ximian.com>
4026
4027         * Int32.cs:
4028         * Int64.cs:
4029         * UInt32.cs:
4030         * UInt64.cs (Parse): don't use Char.IsNumber to test for hex digits.
4031         Don't use a delegate to test for valid digits.
4032
4033 2002-05-01  Duncan Mak  <duncan@ximian.com>
4034
4035         * Convert.cs: 
4036         * Math.cs: Added missing CLSCompliant attributes where necessary.
4037         
4038 2002-04-30  Duncan Mak  <duncan@ximian.com>
4039
4040         * ArgumentException.cs (Message): 
4041         * ArgumentOutOfRangeException.cs (Message): Added.
4042
4043 2002-04-30  Nick Drochak  <ndrochak@gol.com>
4044
4045         * MonoType.cs: Remove unused variable and eliminate a compiler warning.
4046
4047 Mon Apr 29 15:32:02 CEST 2002 Paolo Molaro <lupus@ximian.com>
4048
4049         * Environment.cs: support for Exit(), CommandLine, CommandLineArgs ().
4050
4051 2002-04-28  Duncan Mak  <duncan@ximian.com>
4052
4053         * DivideByZeroException.cs: Added missing serialization constructor.
4054
4055         * UnauthorizedAccessException.cs: Added the missing Serializable attribute.
4056
4057 2002-04-28  Gonzalo Paniagua Javier <gonzalo@ximian.com>
4058
4059         * Math.cs: fix Floor () and Round (). Closes #23960.
4060
4061 2002-04-27  Nick Drochak  <ndrochak@gol.com>
4062
4063         * Array.cs (IList.Contains): Should throw a RankException if this is 
4064         called on a Rank > 1 array. Not in the docs, but this is what the 
4065         MS.NET does.
4066
4067 2002-04-26  Duncan Mak  <duncan@ximian.com>
4068
4069         * MissingMemberException.cs: Made the message variable 'protected'
4070         instead of 'private', so that we can see it in
4071         MissingMethodException and MissingFieldException.
4072
4073         * MissingFieldException.cs:
4074         * MissingMethodException.cs: Added missing (string, string)
4075         constructor, and also the Message property.
4076
4077 2002-04-26  Martin Baulig  <martin@gnome.org>
4078
4079         * Enum.cs: Implemented the IConvertible methods.
4080
4081 2002-04-25  Gonzalo Paniagua Javier <gonzalo@ximian.com>
4082
4083         * SByte.cs: little change in Parse (string) to avoid incorrect
4084         OverflowException thrown (reported by nickd).
4085
4086 2002-04-22  Miguel de Icaza  <miguel@ximian.com>
4087
4088         * ValueType.cs: Add Serializable attribute.
4089
4090         * String.cs: ifdef-out out the __arglist Concat function until I
4091         add support for that to mcs.
4092
4093 2002-04-24      Patrik Torstensson <patrik.torstensson@labs2.com>
4094
4095         * AppDomain.cs (GetValue): usage of the correct icall (bug)
4096
4097 Wed Apr 24 21:15:44 CEST 2002 Paolo Molaro <lupus@ximian.com>
4098
4099         * GC.cs: implement most of the methods as icalls.
4100
4101 2002-04-24  Gonzalo Paniagua Javier <gonzalo@ximian.com>
4102
4103         * DecimalFormatter.cs (ToString): return correct value when the
4104         decimal number is 0.
4105
4106 2002-04-24      Patrik Torstensson <patrik.torstensson@labs2.com>
4107         
4108         * Type.cs (GetProperty): fixed call syntax (needs an empty array not null)
4109         * MonoType.cs (GetPropertyImpl) : basic implementation (ignores types, bindingAttr, modifiers)
4110
4111 2002-04-24  Nick Drochak  <ndrochak@gol.com>
4112
4113         * Double.cs (Parse): Handle case where there are no digits before the 
4114         decimal point, such as ".1".
4115
4116 2002-04-23  Gonzalo Paniagua Javier <gonzalo@ximian.com>
4117
4118         * Int32.cs:
4119         * UInt32.cs:
4120         * Int64.cs:
4121         * UInt64.cs: fixed bug #23738 (hex numbers parsed wrong).
4122
4123 2002-04-23      Patrik Torstensson <patrik.torstensson@labs2.com>
4124
4125         * String.cs (Split): fixed invalid split of count 0 and 1.
4126         
4127 2002-04-23      Patrik Torstensson <patrik.torstensson@labs2.com>
4128         
4129         * String.cs (LastIndexOf): fixed argument checking.
4130         * String.cs (Equals): made internal for performace.
4131
4132 2002-04-23  Nick Drochak  <ndrochak@gol.com>
4133
4134         * String.cs (Join): check argument and throw exception if needed
4135
4136 2002-04-23  Nick Drochak  <ndrochak@gol.com>
4137
4138         * String.cs (StartsWith): check argument and throw exception if needed
4139
4140 2002-04-22  Nick Drochak  <ndrochak@gol.com>
4141
4142         * String.cs (IndexOfAny): check arguments and throw exceptions as
4143         neccessary.  ALso remove some debug WriteLines.
4144
4145 2002-04-20  Dietmar Maurer  <dietmar@ximian.com>
4146
4147         * String.cs: use internal constructors
4148         buf fix in Concat.
4149
4150 Thu Apr 18 17:16:15 CEST 2002 Paolo Molaro <lupus@ximian.com>
4151
4152         * MonoType.cs: make GetElementType its own icall.
4153
4154 2002-04-18  Nick Drochak <ndrochak@gol.com>
4155
4156         * String.cs: Modified file. Re-add methods needed by the unit tests.
4157
4158 Thu Apr 18 12:38:32 CEST 2002 Paolo Molaro <lupus@ximian.com>
4159
4160         * String.cs: some code speedups and restored GetTypeCode().
4161
4162 2002-04-17      Patrik Torstensson <patrik.torstensson@labs2.com>
4163
4164         * String.cs: New implementation using internal calls.
4165         
4166 2002-04-16  Nick Drochak  <ndrochak@gol.com>
4167
4168         * DecimalFormatter.cs: Trim off excess null characters from the string
4169         that decimal2string gives back.
4170
4171 2002-04-16  Nick Drochak  <ndrochak@gol.com>
4172
4173         * String.cs (SubString): revert my change.  I can't reproduce the
4174         problem anymore.
4175
4176 2002-04-13  Gonzalo Paniagua Javier <gonzalo@ximian.com>
4177
4178         * Attribute.cs: added GetHashCode and Equals.
4179
4180 2002-04-12  Gonzalo Paniagua Javier <gonzalo@ximian.com>
4181
4182         * Enum.cs: little improvements to Format ().
4183
4184 Thu Apr 11 12:28:13 CEST 2002 Paolo Molaro <lupus@ximian.com>
4185
4186         * String.cs: internalcall GetHashCode().
4187         * Array.cS: optimize access to elements.
4188
4189 Wed Apr 10 21:20:19 CEST 2002 Paolo Molaro <lupus@ximian.com>
4190
4191         * String.cs: make IndexOfAny() use an internalcall.
4192
4193 2002-04-10  Gonzalo Paniagua Javier <gonzalo@ximian.com>
4194
4195         * Int32.cs:
4196         * UInt32.cs:
4197         * Int64.cs: 
4198         * UInt64.cs: fixed error when testing for validity of flags.
4199
4200 2002-04-11  Nick Drochak  <ndrochak@gol.com>
4201
4202         * Double.cs: Use an internal call for ToString(). This is just a simple
4203         implementation to get away from throwing a NotImplementedException.
4204
4205 2002-04-10  Gonzalo Paniagua Javier <gonzalo@ximian.com>
4206
4207         * Int32.cs:
4208         * UInt32.cs:
4209         * Int64.cs: 
4210         * UInt64.cs: changed Type.GetType () by typeof (), as suggested by
4211         lupus.
4212
4213         * Int32.cs:
4214         * Int64.cs: throw an OverFlowException when parsing a string 
4215         containing a dot followed by any non '0' number.
4216
4217 2002-04-10  Gonzalo Paniagua Javier <gonzalo@ximian.com>
4218
4219         * Byte.cs:
4220         * UInt16.cs:
4221         * UInt32.cs:
4222         * UInt64.cs: added complex Parse ().
4223
4224 2002-04-09  Gonzalo Paniagua Javier <gonzalo@ximian.com>
4225
4226         * SByte.cs:
4227         * Int16.cs:
4228         * Int32.cs:
4229         * Int64.cs: added complex Parse ().
4230
4231 2002-04-09  Nick Drochak  <ndrochak@gol.com>
4232
4233         * Array.cs (BinarySearch): Add checks on paramters before using them
4234         and throw exceptions as needed.
4235
4236         * Enum.cs (Format): Check if [Flags] is applied to enum and convert
4237         "G" format to "F" if so.
4238
4239 Tue Apr 9 13:12:09 CEST 2002 Paolo Molaro <lupus@ximian.com>
4240
4241         * MonoCustomAttrs.cs: return arrays of type Attribute[]
4242         instead of object[].
4243
4244 2002/04/09  Nick Drochak <ndrochak@gol.com>
4245
4246         * String.cs (Substring): Copy only non-null characters to the new
4247         string.
4248
4249 2002-04-09  Nick Drochak  <ndrochak@gol.com>
4250
4251         * IntegerFormatter.cs: Don't use a format character to indicate a
4252         custom format was passed in. It was using 'z' to indicate a custom
4253         format, but really it should throw a format exception if the user
4254         tries to use "z" as the format string. Now it does.
4255
4256         * Activator.cs: New File.
4257
4258 2002-04-08  Nick Drochak  <ndrochak@gol.com>
4259
4260         * Enum.cs (ToString): Big ugly fix for the case where [Flags] is
4261         applied to an enum. Need to handle the different possible integer
4262         types of an enum somehow.  Can anyone say generics?
4263
4264 Mon Apr  8 06:22:42  2002 Piers Haken <piersh@friskit.com>
4265
4266         * Convert.cs: switched the To*(object) methods to use
4267         IConvertible directly instead of calling ChangeType
4268
4269 Sat Apr 6 20:08:41 CEST 2002 Paolo Molaro <lupus@ximian.com>
4270
4271         * ValueType.cs: make Equals() an internalcall.
4272
4273 Fri Apr 5 15:38:54 CEST 2002 Paolo Molaro <lupus@ximian.com>
4274
4275         * Type.cs: also look for nested types in FindMembers.
4276         * MonoType.cs: make GetNestedTypes() an internalcall.
4277
4278 2002-04-05  Nick Drochak  <ndrochak@gol.com>
4279
4280         * Enum.cs (Parse): Handle different underlying types.
4281
4282 2002/04/04 Nick Drochak <ndrochak@gol.com>
4283
4284         * Enum.cs (IsDefined): Throw exception when type of value to look for
4285         is not the correct one.  Attempt to have it work with string values
4286         too, but not sure if the unit tests are getting that far yet.
4287
4288 2002-04-04  Nick Drochak  <ndrochak@gol.com>
4289
4290         * Decimal.cs: Fix a couple of typos.
4291
4292 Wed Apr 3 19:46:00 CEST 2002 Paolo Molaro <lupus@ximian.com>
4293
4294         * Enum.cs: the values array is of the enum and not of the underlying
4295         type. Updates and some bug fixes.
4296         * MonoType.cs: make the internalcall return FullName instead of the
4297         assembly qualified name.
4298         * Type.cs: make ToString () simply return FullName.
4299
4300 2002-04-03  Nick Drochak  <ndrochak@gol.com>
4301
4302         * Type.cs (GetTypeCode): provide some of the implementation for this
4303         method.  It's still too simplistic to be considered complete.
4304
4305 2002-04-02  Dietmar Maurer  <dietmar@ximian.com>
4306
4307         * Object.cs: fixed FieldGetter/FieldSetter signature
4308
4309 2002-04-02  Nick Drochak  <ndrochak@gol.com>
4310
4311         * Environment.cs: add MonoTODO's on parts that should have it.
4312
4313 2002-04-01  Nick Drochak  <ndrochak@gol.com>
4314
4315         * Enum.cs: added reality checks (check parameters to most methods that
4316         need them).
4317
4318 2002-03-30  Dietmar Maurer  <dietmar@ximian.com>
4319
4320         * Object.cs: added FieldGetter/FieldSetter
4321
4322 2002-03-28  Gonzalo Paniagua Javier <gonzalo@ximian.com>
4323
4324         * IntegerFormatter.cs: fixed initialization error in static
4325         constructor.
4326
4327 2002-03-28  Dietmar Maurer  <dietmar@ximian.com>
4328
4329         * Delegate.cs: added new field to store a trampoline function
4330
4331 2002-03-28  Gonzalo Paniagua Javier <gonzalo@ximian.com>
4332
4333         * IntegerFormatter.cs: added workaround for bug #22668. First patch to
4334         make custom format strings work (not fully functional yet).
4335
4336 2002/03/28  Nick Drochak <ndrochak@gol.com>
4337
4338         * IntegerFormatter.cs: Change class from internal to public.  Add
4339         necessary [CLSCompliant(false)] attributes.
4340
4341 2002-03-27  Duco Fijma  <duco@lorentz.xs4all.nl>
4342         * _AppDomain.cs, AppDomain.cs: renamed method GetDate to GetData
4343         (was a typo)
4344
4345 2002-03-28  Nick Drochak  <ndrochak@gol.com>
4346
4347         * Type.cs: Added MonoTODO tags on members that have FIXME, etc.
4348
4349 2002-03-27  Dan Lewis  <dihlewis@yahoo.co.uk>
4350
4351         * Console.cs: Modified to get std handles from MonoIO.
4352         * Environment.cs: removed PAL dependencies.
4353
4354 2002-03-25  Miguel de Icaza  <miguel@ximian.com>
4355
4356         * String.cs (System): Removed internal enumeration, because
4357         bootstrapping the corlib at this point does not support
4358         enumerations. 
4359
4360         * IntPtr.cs: Temporary work-around until I fix the assembly
4361         attributes bug.
4362
4363 2002-03-24  Martin Baulig  <martin@gnome.org>
4364
4365         * Enum.cs (GetValues): According to the docu this is sorted after
4366         values, not names.
4367
4368         * String.cs (System): Removed enumeration, because it is pretty
4369         hard to support enumerations in /nostdlib mode for the core types.
4370
4371 Tue Mar 19 18:18:49 CET 2002 Paolo Molaro <lupus@ximian.com>
4372
4373         * Array.cs: move error handling in the catch block.
4374         * MulticastDelegate.cs: remove == and != operators that were
4375         removed with the delegate changes (when you add stuff, please do not
4376         remove existing functionality!).
4377         * Type.cs: if a property is not found in a type, search for it
4378         in the parent types, too.
4379
4380 2002-03-18  Dan Lewis <dihlewis@yahoo.co.uk>
4381         
4382         * Math.cs: changed to use icall instead of PAL.
4383
4384 2002-03-18  Dietmar Maurer  <dietmar@ximian.com>
4385
4386         * Double.cs: added check for NaN (Bug [22082])
4387
4388 2002-03-19  Nick Drochak  <ndrochak@gol.com>
4389
4390         * Enum.cs (Equals): check for null and throw if it is.
4391         * Enum.cs (Format): check for null parameters and throw if necessary.
4392         This method still needs more argument checking.
4393
4394 2002-03-18  Dietmar Maurer  <dietmar@ximian.com>
4395
4396         * Enum.cs (Equals): check if Enums are of the same type
4397
4398 2002-03-18  Nick Drochak  <ndrochak@gol.com>
4399
4400         * Double.cs: Explicitly handle comparisons in CompareTo() for
4401         Positive/Negative Infinity and NaN. Unit Test now passes on Linux.
4402
4403         * Enum.cs(CompareTo): Check types of values before trying to compare.
4404         Throw exceptions if types are invalid or don't match.
4405
4406 2002-03-14  Miguel de Icaza  <miguel@ximian.com>
4407
4408         * Array.cs: Add some extra debugging information.
4409
4410 2002-03-15  Nick Drochak  <ndrochak@gol.com>
4411
4412         * Array.cs: Added IList and IEnumerable. 
4413
4414 2002-03-14  Miguel de Icaza  <miguel@ximian.com>
4415
4416         * UInt64.cs, UInt32.cs, UInt16.cs: Mark public parse methods as
4417         NonCLSCompliant. 
4418
4419 2002-03-14  Dietmar Maurer  <dietmar@ximian.com>
4420
4421         * Delegate.cs (Equals): also compare method_ptr 
4422         (GetHashCode): returm method_ptr as hash
4423
4424 2002-03-13  Duco Fijma  <duco@lorentz.xs4all.n>
4425         * TimeSpan.cs: removed the use of Custom Numeric Format Strings,
4426         such as 42.ToString("0000000"), as these are (currently) not implemented
4427         in System.IntegerFormatter. TimeSpan luckely can do with Standard
4428         Numeric Format Strings, such as 42.ToString("D7").
4429
4430 2002-03-12  Duncan Mak  <duncan@ximian.com>
4431
4432         * FieldAccessException.cs: 
4433         * MethodAccessException.cs: 
4434         * PlatformNotSupportedException.cs: Inherit from
4435         MemberAccessException, not SystemException.
4436
4437         * ObsoleteAttribute.cs: Made Message and IsError properties
4438         instead of fields.
4439
4440 Tue Mar 12 19:21:18 CET 2002 Paolo Molaro <lupus@ximian.com>
4441
4442         * GC.cs: make SuppressFinalize() a nop.
4443         * Delegate.cs: fix == operator.
4444
4445 2002-03-13  Nick Drochak  <ndrochak@gol.com>
4446
4447         * Enum.cs: Add IConvertible methods. Cyclic dependancy fixed in the
4448         runtime that goes with this patch.
4449
4450 2002-03-10  Martin Baulig  <martin@gnome.org>
4451
4452         * Int32.cs (Parse): Correctly parse negative numbers.
4453
4454 2002-03-08  Martin Baulig  <martin@gnome.org>
4455
4456         * String.cs (Split): Really fix it this time. Also adding several new
4457         testcase to the testsuite.       
4458
4459 2002-03-08  Martin Baulig  <martin@gnome.org>
4460
4461         * Array.cs (Copy): Optimized: removed duplicate null check, removed
4462         two duplicate GetLowerBound() calls and one duplicate IsValueType.
4463
4464 Fri Mar 8 18:49:19 CET 2002 Paolo Molaro <lupus@ximian.com>
4465
4466         * Object.cs: commit my hacked GetHashCode(): it's good enough for now.
4467         * String.cs: use the dumb code for IndexOf(string): this is worth
4468         15-20 % speedup in mcs compile with mint.
4469
4470 Fri Mar 8 12:45:44 CET 2002 Paolo Molaro <lupus@ximian.com>
4471
4472         * String.cs: revert change to Split() that broke the compiler (hi martin!:-).
4473
4474 2002-03-07  Martin Baulig  <martin@gnome.org>
4475
4476         * String.cs (Join): Throw an ArgumentNullException.
4477         (LastIndexOf (string,int,int)): This method does a backwards search,
4478         so startIndex points to the end of value, not to its beginning. Don't
4479         throw an exception if startIndex equals this.Length. Always return -1
4480         if startIndex is smaller than the length of value.
4481         (Replace (string,string)): Replace all occurences of oldValue.
4482         If newValue is null, all occurences of oldValue are to be removed.
4483         (Split (char[],int)): Return an empty array if maxCount is zero, throw
4484         an ArgumentOutOfRangeException if it's less than zero. Return maxValue
4485         elements, not maxValue+1.
4486
4487 Thu Mar 7 17:16:06 CET 2002 Paolo Molaro <lupus@ximian.com>
4488
4489         * MonoType.cs: make GetEvents() an internal call.
4490         * MulticastDelegate.cs: copy the passed in array.
4491
4492 2002-03-06  Martin Baulig  <martin@gnome.org>
4493
4494         * Array.cs (Copy): Use FastCopy when appropriate and do correct
4495         exception handling.
4496
4497 2002-03-06  Duco Fijma  <duco@lorentz.xs4all.nl>
4498         * CharEnumerator.cs: fixes to CharEnumertor.MoveNext, fixing 
4499         some of the failures found be new tests (see ChangeLog in 
4500         Test/System). Comments added to this method, based on
4501         the representation invariant of this class, that (try to) explain
4502         why it now should be correct.
4503
4504 2002-03-06  Dietmar Maurer  <dietmar@ximian.com>
4505
4506         * Int64.cs (Parse): bug fix for max. negative value. 
4507
4508 2002-03-07  Nick Drochak  <ndrochak@gol.com>
4509
4510         * RuntimeTypeHandle.cs: Add Serializable attribute as the docs say.
4511         I need to understand what the difference between the attribute and
4512         the interface is.
4513
4514 2002-03-06  Martin Baulig  <martin@gnome.org>
4515
4516         * Array.cs (Copy): Always throw an ArrayTypeMismatchException, not
4517         an InvalidCastException if the widening conversion failed. See
4518         testcases #M94-#M96.
4519
4520         * Array.cs (CopyTo): Bug fix from Ajay Dwivedi, correctly handle
4521         arrays with non-zero lower bounds. Also adding testcases #F10-#F13
4522         for this.
4523
4524         * Array.cs (CopyTo): Reverted my last change, it was incorrect.
4525         (Copy): Actually allow copying multi-dimensional arrays.
4526
4527 2002-03-05  Duncan Mak  <duncan@ximian.com>
4528
4529         * Convert.cs:
4530         (DBNull) Added the missing field.
4531         (IsDBNull) Fixed typo.
4532         (ToByte (string, int)) Implemented.
4533         (ToString (byte, int)) Implemented.
4534         (ConvertToBase)
4535         (BuildConvertedString) internal functions used for converting values to
4536         a specific base.
4537
4538         * Int16.cs: 
4539         * Int32.cs:
4540         * Int64.cs:
4541         * Single.cs:
4542         * UInt16.cs: 
4543         * UInt32.cs: Implemented the IConvertible interface.    
4544
4545         * CharEnumerator.cs: Renamed to variables to be clearer and
4546         changed some of the tests to conform to the 1.0 spec.
4547
4548 2002-03-06  Martin Baulig  <martin@gnome.org>
4549
4550         * Array.cs (Copy): Calculate absolute array position here and use
4551         GetValueImpl() and SetValueImpl() with that position. We can now
4552         copy multi-dimensional arrays.
4553         (CopyTo): Small bug fix.
4554
4555 2002-03-05  Duco Fijma  <duco@lorentz.xs4all.nl>
4556
4557         * Version.cs: CompareTo changed according the LAMESPEC discovered by 
4558         Nick (See VersionTest.cs).
4559         * CharEnumerator.cs: fixed two bugs in MoveNext. It had an off-by-one
4560         error comparing the current position (idx) against the length of the
4561         string iterated and it set idx to an unrecognized special value (-2)
4562
4563 Tue Mar 5 17:34:14 CET 2002 Paolo Molaro <lupus@ximian.com>
4564
4565         * SByte.cs, UInt64.cs: implement IConvertible interface. Nobody wants
4566         to do this dirty work, but someone has to do it (and I need it to pass
4567         the "200 sample tests compiled on linux" mark).
4568
4569 2002-03-06  Nick Drochak  <ndrochak@gol.com>
4570
4571         * Attribute.cs
4572         * DecimalFormatter.cs
4573         * Delegate.cs
4574         * Double.cs
4575         * GC.cs
4576         * Int16.cs
4577         * Int32.cs
4578         * MonoType.cs
4579         * RuntimeMethodHandle.cs
4580         * RuntimeTypeHandle.cs
4581         * String.cs
4582         * Type.cs:
4583                 Add [MonoTODO]'s to places where we currently throw a
4584                 NotImplementedException.
4585
4586 2002-03-05  Dietmar Maurer  <dietmar@ximian.com>
4587
4588         * Int16.cs (Parse): do not overflow on max negative value
4589
4590         * Int32.cs (Parse): do not overflow on max negative value
4591
4592 Mon Mar 4 20:36:05 CET 2002 Paolo Molaro <lupus@ximian.com>
4593
4594         * Type.cs: fixed IsClass.
4595         * MonoType.cs: fixed MemberType, IsPrimitiveImpl, IsPointerImpl,
4596         IsByRefImpl. Added GetInterfaces().
4597         * IServiceProvider.cs: compilation fix.
4598
4599 Mon Mar 4 18:37:03 CET 2002 Paolo Molaro <lupus@ximian.com>
4600
4601         * Array.cs: allow copying an empty array to an empty array.
4602
4603 Mon Mar 4 17:59:16 CET 2002 Paolo Molaro <lupus@ximian.com>
4604
4605         * String.cs: fixed LastIndexOf (string) to do a bit of argument
4606         checking.
4607
4608 2002-03-04  Duco Fijma  <duco@lorentz.xs4all.nl>
4609         * Version.cs: many fixes to failures found by the newly created
4610         test cases for this class. Specifically, the CompareTo member
4611         returned wrong values due to the use of Int32.MaxValue as a special
4612         value indicating an "undefined" version component. Also implemented the
4613         missing operators (==, <, >, etc.), one missing constructor and
4614         and some exception throwing.
4615
4616 2002-03-04  Nick Drochak  <ndrochak@gol.com>
4617
4618         * IServiceProvider.cs: Add missing attribute: ComVisible(false)
4619         * Attribute.cs: Add missing attributes: Serializable and
4620         AttributeUsage(AttributeTargets.All)
4621
4622 Mon Mar 4 11:26:49 CET 2002 Paolo Molaro <lupus@ximian.com>
4623
4624         * MonoType.cs: implemented GetConstructors(), GetFields(),
4625         GetMethods(), GetProperties().
4626         * Object.cs: added debugging icall obj_address().
4627         * Type.cs: fixed the binding flags for some Get* methods.
4628         Implemented FindMembers() as calls to the specific GetMember
4629         methods.
4630
4631 2002-03-01  Duco Fijma  <duco@lorentz.xs4all.nl>
4632         * BitConverter.cs: fixed one little bug: ToString(s, n, 0) 
4633         should give an exception for n>=s.Length.
4634
4635 2002-03-01  Martin Baulig  <martin@gnome.org>
4636
4637         * Array.cs: More argument checking and bug fixing.
4638
4639 2002-03-01  Miguel de Icaza  <miguel@ximian.com>
4640
4641         * BitConverter.cs: Indentation match
4642
4643         * AppDomain.cs: Added MonoTODOs to this too.
4644
4645         * Buffer.cs: Added MonoTODOs to this.
4646
4647 2002-03-01  Martin Baulig  <martin@gnome.org>
4648
4649         * Array.cs: Added argument checking to all methods where it was missing.
4650
4651 2002-03-01  Duco Fijma  <duco@lorentz.xs4all.nl>
4652
4653         * BitConverter.cs: Fixed bugs in ToString methods
4654
4655 Fri Mar 1 15:20:00 CET 2002 Paolo Molaro <lupus@ximian.com>
4656
4657         * MulticastDelegate.cs: implement operators so mcs3 can be used on linux.
4658
4659 2002-03-01  Nick Drochak  <ndrochak@gol.com>
4660
4661         * BitConverter.cs: Throw ArgumentException like mscorlib, instead of
4662         ArgumentOutOfRangeException like the docs say.
4663
4664 2002-03-01  Martin Baulig  <martin@gnome.org>
4665
4666         * Enum.cs (CompareTo): Correctly override this method from IComparable.
4667
4668         * Console.cs (setIn, setOut, setError): It's called SetIn, SetOut, SetError.
4669
4670 2002-02-28  Martin Baulig  <martin@gnome.org>
4671
4672         * String.cs: This file now passes the testsuite on Linux :-)
4673         
4674         * String.cs (Intern, IsInterned): The interncalls are now called _Intern and _IsInterned;
4675         make them private and provide C# wrappers which do proper argument checking.
4676
4677         * String.cs (Format): Correctly handle escaped brackets.
4678
4679         * String.cs (_CompareChar): New internal function which compares two chars.
4680         (_Compare): Provide an internal compare method which can do all sorts of
4681         comparision and call it from all the Compare() methods. Also fixed a lot of
4682         bugs here, this code now actually passes the testsuite.
4683
4684 2002-02-28  Duncan Mak  <duncan@ximian.com>
4685
4686         * Convert.cs: Added the missing methods. The new class status page
4687         kicks ass, it even found my typos! Woohoo!
4688         (ConvertFromBase): Moved the Exception throwing in here and
4689         removed the other occurances so it's all centralized now.
4690         (ISDBNull): Implemented.
4691         (GetTypeCode): Implemented.
4692
4693 2002-02-27  Duco Fijma  <duco@lorentz.xs4all.nl>
4694         * Guid.cs: Guid.ToString("") and Guid.ToString(null) is now understood as Guid.ToString("D") 
4695         just as in mscorlib. There is (probably) a documentation bug in the MS FrameWork SDK, which
4696         states that a lacking format should be interpreted as "N".  
4697         Also added [Serializable] attribute
4698         * TimeSpan.cs: some formatting and added the [Serializable] attribute
4699
4700 2002-02-26  Duncan Mak  <duncan@ximian.com>
4701
4702         * WeakReference.cs: Committed for Ajay Kumar Dwivedi.   
4703
4704 2002-02-26  Martin Baulig  <martin@gnome.org>
4705
4706         * TimeZone.cs: Use an internal enum rather than magic numbers to access the
4707         fields of the interncall GetTimeZoneData.
4708
4709         * DateTime.cs: Implemented Parse and fixed a few bugs.
4710
4711         * String.cs (TrimStart): Small fix.
4712
4713 2002-02-26  Martin Baulig  <martin@gnome.org>
4714
4715         * DateTime.cs: ParseExact is now fully functional.
4716
4717         * String.cs (TrimEnd): Small fix.
4718
4719 2002-02-26  Duco Fijma <duco@lorentz.xs4all.nl>
4720         * TimeSpan.cs: Added method TimeSpan.FromMilliseconds, mysteriously 
4721         missing for about six months.
4722
4723 Tue Feb 26 14:21:19 CET 2002 Paolo Molaro <lupus@ximian.com>
4724
4725         * UInt64.cs: fixed Parse method () to handle some of the NumberStyle flags.
4726
4727 2002-02-26  Martin Baulig  <martin@gnome.org>
4728
4729         * DateTime.cs: Miguel already committed this, but there was still a
4730         ChangeLog entry for this missing ....
4731         We're now reusing functionality from TimeSpan, printing dates is
4732         fully implemented, currently working on parsing.
4733
4734         * TimeZone.cs: Fully implemented this. There's a new InternCall in the
4735         runtime for this.
4736
4737 Fri Feb 22 18:47:08 CET 2002 Paolo Molaro <lupus@ximian.com>
4738
4739         * MonoType.cs: disable constructor.
4740         * Object.cs: make GetType() an internalcall.
4741         * Type.cs: added correct bindingflags to GetMethods ().
4742         All such calls should be reviewed to use the correct flags.
4743
4744 Thu Feb 21 19:23:46 CET 2002 Paolo Molaro <lupus@ximian.com>
4745
4746         * Type.cs, MonoType.cs: type_is_subtype_of () changed to include extra
4747         argument.
4748
4749 Thu Feb 21 16:56:51 CET 2002 Paolo Molaro <lupus@ximian.com>
4750
4751         * Type.cs: implemented IsAssignableFrom.
4752
4753 2002-02-21  Duco Fijma <duco@lorentz.xs4all.nl>
4754         * Guid.cs: fixed Guid.Guid(string) ctor. Changed format:
4755         "{0xdddddddd,0xdddd,0xdddd,{0xdd},{0xdd},{0xdd},{0xdd},{0xdd},{0xdd}}" 
4756         to "{0xdddddddd,0xdddd,0xdddd,{0xdd,0xdd,0xdd,0xdd,0xdd,0xdd}}" 
4757         The former is documented by Microsoft. The latter is how they
4758         actually implemented it in mscorlib:-)
4759
4760 Tue Feb 19 20:34:35 CET 2002 Paolo Molaro <lupus@ximian.com>
4761
4762         * MonoCustomAttrs.cs: hooks to get the custom attributes from the
4763         runtime.
4764         * MonoType.cs: Implemented custom attributes methods.
4765
4766
4767 2002-02-21  Duco Fijma <duco@lorentz.xs4all.nl>
4768         * Guid.cs: 
4769
4770 Tue Feb 19 20:34:35 CET 2002 Paolo Molaro <lupus@ximian.com>
4771
4772         * MonoCustomAttrs.cs: hooks to get the custom attributes from the
4773         runtime.
4774         * MonoType.cs: Implemented custom attributes methods.
4775
4776 2002-02-19  Dietmar Maurer  <dietmar@ximian.com>
4777
4778         * Array.cs (CopyTo): use GetLength() instead of GetUpperBound() 
4779
4780 2002-02-19  Duncan Mak  <duncan@ximian.com>
4781
4782         * Convert.cs: Finished up the missing methods in Convert. Added a
4783         new private method ConvertFromBase.
4784
4785 2002-02-19  Dietmar Maurer  <dietmar@ximian.com>
4786
4787         * String.cs: impl. IConvertible interface
4788
4789 2002-02-18  Duco Fijma <duco@lorentz.xs4all.nl>
4790         * Guid.cs: actual implementation for Guid.Guid(string) Ctor
4791
4792 2002-02-18  Duncan Mak  <duncan@ximian.com>
4793
4794         * Convert.cs: Changed from using Type.GetType (string) to just
4795         typeof (). Probably will speed things up a bit?         
4796
4797 2002-02-18  Ajay Kumar Dwivedi <AjayKumar.Dwivedi@dresdner-bank.com>
4798
4799         * Array.cs:         
4800         1. Fix for GetUpperBound to return correct values
4801         2. made some Properties virtual
4802         3. Adds IsFixedSize and IsReadOnly properties.
4803         4. changes CreateInstance(Type,int[],int[]) to throw Exception
4804         when third arg is null. InternalCall CreateInstance changed to  
4805         CreateInstanceImpl
4806         5. Fixed array.GetUpperBound at a couple of places
4807         6. IndexOf and LastIndexOf now use Object.Equals instead of "=="
4808         7. Added two FIXME's in BinarySearch functions.
4809
4810 2002-02-17  Duncan Mak  <duncan@ximian.com>
4811
4812         * TimeZone.cs:  Applied the rest of Ajay's patch for    
4813         IsDaylightSavingTime. Thanks a lot for the nice explanation of how
4814         it works!
4815
4816 2002-02-17  Duco Fijma  <duco@lorentz.xs4all.nl>
4817         * Guid.cs: added stub for Guid(string) ctor
4818
4819 2002-02-17  Duncan Mak  <duncan@ximian.com>
4820
4821         * Convert.cs: Near-complete implementation of Convert.cs
4822
4823         Added all the To* methods taking (object) and
4824         (object, IFormatProvider) as parameters.
4825
4826         Added [CLSCompliant (false)] attributes to methods dealing with
4827         unsigned types.
4828
4829         Added the missing section on converting to and from DateTime. Only
4830         6 missing methods, all marked with MonoTODOs. Will tackle them later.           
4831
4832 2002-02-16  Duncan Mak  <duncan@ximian.com>
4833
4834         * TimeZone.cs: patch from Ajay Kumar Dwivedi (adwiv@yahoo.com) to
4835         make IsDaylightSavingTime (DateTime) call 
4836         IsDaylightSavingTime (DateTime, DaylightTime).  
4837         
4838         Added internal class CurrentTimeZone from Ajay. It needs more work
4839         to fill in the appropriate internal calls.
4840         
4841 Sat Feb 16 12:41:41 CET 2002 Paolo Molaro <lupus@ximian.com>
4842
4843         * Type.cs: fix IsClass.
4844
4845 Sat Feb 16 12:02:02 CET 2002 Paolo Molaro <lupus@ximian.com>
4846
4847         * String.cs: fix Trim().
4848
4849 Fri Feb 15 21:02:46 CET 2002 Paolo Molaro <lupus@ximian.com>
4850
4851         * String.cs: fix more off by one errors.
4852
4853 Thu Feb 14 18:54:09 CET 2002 Paolo Molaro <lupus@ximian.com>
4854
4855         * MonoType.cs: fix IsValueTypeImpl.
4856         * Type.cs: fix IsEnum. Implement Equals methods.
4857
4858 Wed Feb 13 21:50:13 CET 2002 Paolo Molaro <lupus@ximian.com>
4859
4860         * Int32.cs: implement IConvertible interface.
4861         
4862 2002-02-12  Duncan Mak  <duncan@ximian.com>
4863
4864         * TimeZone.cs: Implemented and added to CVS.
4865
4866 2002-02-11  Duncan Mak  <duncan@ximian.com>
4867
4868         * Convert.cs: Implemented the ChangeType () methods.
4869
4870 Mon Feb 11 19:48:58 CET 2002 Paolo Molaro <lupus@ximian.com>
4871
4872         * Array.cs: make Clone() an internal call.
4873
4874 2002-02-09  Duco Fijma <duco@lorentz.xs4all.nl>
4875         * Changed Guid.NewGuid so that it can use both System.Random and 
4876           System.Security.Cryptography.RandomNumberGenerator
4877
4878 2002-02-09  Duco Fijma <duco@lorentz.xs4all.nl>
4879         * First version of Guid.NewGuid
4880
4881 2002-02-08  Duncan Mak  <duncan@ximian.com>
4882
4883         * RuntimeArgumentHandle.cs: Added to CVS.
4884
4885 Fri Feb 8 19:14:54 CET 2002 Paolo Molaro <lupus@ximian.com>
4886
4887         * CrossAppDomainDelegate.cs, AssemblyLoadEventHandler.cs,
4888         UnhandledExceptionEventHandler.cs: added delegates.
4889
4890 Fri Feb 8 18:06:20 CET 2002 Paolo Molaro <lupus@ximian.com>
4891
4892         * MarshalByRefObject.cs: add ToString () method
4893         (apparently needed by nunit).
4894         * _AppDomain.cs: uncomment ToString(): dietmar fixed the bug triggered
4895         by it in the runtime.
4896
4897 2002-02-08  Dan Lewis <dihlewis@yahoo.co.uk>
4898         
4899         * String.cs (Format): implemented
4900
4901 2002-02-07  Duncan Mak  <duncan@ximian.com>
4902         
4903         * DuplicateWaitObjectException:
4904         * InvalidCastException:
4905         * NotImplementedException:
4906         * NotSupportedException:
4907         * NullReferenceException:
4908         * OutOfMemoryException:
4909         * OverflowException:
4910         * RankException:
4911         * StackOverflowException.cs:
4912         * UnauthorizedAccessException: Added missing constructor used for serialization.
4913
4914 2002-02-07  Dietmar Maurer  <dietmar@ximian.com>
4915
4916         * String.cs (System.Compare): bug fix 
4917
4918 2002-02-06  Dietmar Maurer  <dietmar@ximian.com>
4919
4920         * Enum.cs (Parse,  GetHashCode): impl. 
4921
4922 2002-02-05  Duncan Mak  <duncan@ximian.com>
4923
4924         * DBNull.cs: This is my first crack at the DBNull class. I think I
4925         actually got most of the IConvertible methods right, but I haven't
4926         done the research to test whether or not this is the correct
4927         behavior. IConvertible.ToType () is the most iffy of all, IMHO.
4928
4929         * DllNotFoundException.cs: Inherits from TypeLoadException, not SystemException.
4930
4931 2002-02-05  Dietmar Maurer  <dietmar@ximian.com>
4932
4933         * Enum.cs: added more functionality (GetName, ToObject, Equals)
4934
4935 2002-01-31  Duncan Mak  <duncan@ximian.com>
4936
4937         * InvalidOperationException.cs:
4938         * NotFiniteNumberException.cs:
4939         * ObjectDisposedException.cs:
4940         * TypeInitializationException.cs: Added missing bits for serialization/
4941         
4942         * AppDomainUnloadedException.cs:
4943         * ApplicationException.cs:
4944         * ArgumentOutOfRangeException.cs:
4945         * ArithmeticException.cs:
4946         * ArrayTypeMismatchException:
4947         * BadImageFormatException.cs:
4948         * Exception.cs:
4949         * MissingMemberException.cs:
4950         * TypeLoadException.cs: Added missing bits for serialization.
4951
4952 2002-01-30  Duco Fijma <duco@lorentz.xs4all.nl>
4953         * Guid.cs: implemented everything but Guid.NewGuid
4954
4955 Tue Jan 29 22:32:36 CET 2002 Paolo Molaro <lupus@ximian.com>
4956
4957         * _AppDomain.cs: remove ToString() method: it doesn't seem right 
4958         to have it in this interface and it screws up the method vtable setup.
4959
4960 2002-01-28  Andrei Zmievski <andrei@php.net>
4961
4962         * Double.cs: implemented IConvertible interface.
4963
4964 2002-01-28  Miguel de Icaza  <miguel@ximian.com>
4965
4966         * ArgumentException.cs: Implement serialization constructor.
4967         (GetObjectData): Implement serializer.
4968         
4969         * ArgumentNullException.cs: Implement serialization constructor.
4970
4971         * Exception.cs: Implement serialization constructor.
4972         (GetObjectData): Implement serializer.
4973
4974 2002-01-23  Miguel de Icaza  <miguel@ximian.com>
4975
4976         * DateTime.cs (UnixEpoch): The Begining of the Unix epoch.
4977
4978 2002-01-23  Duncan Mak  <duncan@ximian.com>
4979
4980         * EntryPointNotFoundException.cs:
4981         * FormatException: Added missing constructor and related bits.
4982
4983         * TypeLoadException: Added missing constructor, methods and properties.
4984
4985 2002-01-23  Miguel de Icaza  <miguel@ximian.com>
4986
4987         * AppDomain.cs (GetAssemblies): Use foreach construct instead of
4988         manually getting the enumerator.
4989
4990         (AppDomain.AppDomain): Prime the loaded assemblies with the
4991         assemblies loaded by the runtime in our behalf.
4992
4993         * AppDomainSetup.cs: Remove private keyword, that is the default.
4994         Add a new property DisallowPublisherPolicy.
4995
4996         * AppDomain.cs (AppDomain.GetAssemblies): Implement.
4997
4998 Tue Jan 22 22:51:48 CET 2002 Paolo Molaro <lupus@ximian.com>
4999
5000         * MonoType.cs, Type.cs: many updates, corrected implementation,
5001         completed stubs.
5002
5003 2002-01-20  Andrei Zmievski <andrei@php.net>
5004
5005         * Byte.cs:
5006         * Char.cs: implemented IConvertible interface.
5007
5008         * Boolean.cs: use our own ToString() method directly.
5009
5010 2002-01-20  Duncan Mak  <duncan@ximian.com>
5011
5012         * Files I commited recently: Fixed indentation style.
5013
5014 2002-01-20 Nick Drochak  <ndrochak@gol.com>
5015
5016         * SerializableAttribute.cs: this attrib can be used on enums, structs, 
5017         and delegates too. Added the appropriate usage flags.
5018
5019 2002-01-18  Duncan Mak  <duncan@ximian.com>
5020
5021         * CharEnumerator.cs: Implemented.
5022         * String.cs (System): Fixed the GetEnumerator () method(s).
5023
5024         * ObsoleteAttribute.cs:
5025         * STAThreadAttribute.cs:
5026         * MTAThreadAttribute.cs:
5027         * ThreadStaticAttribute.cs:
5028         * LoaderOptimizationAttribute.cs:
5029         * PlatformNotSupportedException.cs:
5030         * LoaderOptimization.cs: Added to CVS.
5031
5032 2002-01-18  Duncan Mak  <duncan@ximian.com>
5033
5034         * AppDomainUnloadedException.cs:
5035         * MethodAccessException.cs:
5036         * ContextMarshalException.cs:
5037         * CannotUnloadAppDomainException.cs:
5038         * DllNotFoundException.cs:
5039         * EntryPointNotFoundException.cs:
5040         * FieldAccessException.cs:
5041         * TypeUnloadedException.cs:
5042         * MissingFieldException.cs: Added to CVS.
5043
5044         * ApplicationException.cs: 
5045         * MemberAccessException.cs:
5046         * MissingMemberException.cs
5047         * MissingMethodException.cs:
5048         * SystemException.cs: Added [Serializable] attribute.
5049
5050         * Exception.cs: Added [Serializable] attribute, made properties
5051         'Message', 'Source' and 'StackTrace' virtual methods, per 1.0
5052         spec.
5053
5054         * ContextStaticAttribute.cs: Added [Serializable] attribute and
5055         put in the missing constructor.
5056
5057         * Environment.cs: Commented out references to
5058         EnvironmentPermissionAttribute, because they're just stubbed out
5059         right now and has no implementation.
5060
5061 2002-01-16  Andrei Zmievski <andrei@php.net>
5062
5063         * Boolean.cs: implemented IConvertible interface
5064
5065 2002-01-15  Nick Drochak  <ndrochak@gol.com>
5066
5067         * ResolveEventArgs.cs: class should derive from EventArgs.
5068
5069 2002-01-14  Miguel de Icaza  <miguel@ximian.com>
5070
5071         * String.cs (System): Use DefaultMemberName for the String class.
5072
5073 Mon Jan 14 17:06:40 CET 2002 Paolo Molaro <lupus@ximian.com>
5074
5075         * String.cs: use IndexerName in index char accessor.
5076
5077 Thu Jan 10 21:05:23 CET 2002 Paolo Molaro <lupus@ximian.com>
5078
5079         * MonoType.cs: add rank to MonoTypeInfo and implement GetArrayRank.
5080         * String.c: eliminate 64k+ method calls in search.
5081         * Type.cs: handle byref and array types in ToString ().
5082
5083 2002-01-09  Duco Fijma <duco@lorentz.xs4all.nl>
5084
5085         * Guid.cs: created first version
5086
5087 2002-01-10  Dietmar Maurer  <dietmar@ximian.com>
5088
5089         * MonoType.cs: added missing TypeAttributes to MonoTypeInfo 
5090
5091 Wed Jan 9 19:35:07 CET 2002 Paolo Molaro <lupus@ximian.com>
5092
5093         * MulticastDelegate.cs: add == and != operator stubs.
5094         * String.cs: check for null in == operator.
5095         * Type.cs: use a virtual method to get TypeAttributes.
5096
5097 Tue Jan  8 23:30:19 EST 2002 Matt Kimball <matt@kimball.net>
5098         * String.cs: Fixed several off-by-one errors in LastIndexOf* methods
5099
5100 2002-01-09  Nick Drochak  <ndrochak@gol.com>
5101         
5102         * Environment.cs: Comment out Security attribute and put a MonoTODO
5103         there as a reminder.  We need mcs magic to handle security attributes in
5104         corlib.
5105
5106 2002-01-07  Duco Fijma <duco@lorentz.xs4all.nl>
5107         * Created IAppDomainSetup.cs
5108
5109 2002-01-06  Duco Fijma <duco@lorentz.xs4all.nl>
5110         * Created System._AppDomain interface in _AppDomain.cs
5111
5112 2002-01-06  Nick Drochak  <ndrochak@gol.com>
5113
5114         * ResolveEventArgs.cs: New File, completely implemented! ;)
5115
5116 Sat Jan 5 15:53:50 CET 2002 Paolo Molaro <lupus@ximian.com>
5117
5118         * Enum.cs: dummy ToString impl.
5119         * String.cs: dummy format implementations to get compiler errors
5120         somewhat working.
5121         * Type.cs: implemented filter delegates. FindMembers runs the filter, now.
5122
5123 2002-01-05  Ravi Pratap  <ravi@ximian.com>
5124
5125         * TODOAttribute.cs : Augment some more; provide two constructors
5126         with support for a comment too.
5127
5128 2002-01-05  Nick Drochak  <ndrochak@gol.com>
5129
5130         * Uncommented those MonoTODO's now that Ravi's got
5131         the class in there
5132
5133 2001-01-04  Ravi Pratap  <ravi@ximian.com>
5134
5135         * TODOAttribute.cs : Actually add this time ;-)
5136
5137         Change name to MonoTODO.
5138
5139 2002-01-04  Jeffrey Stedfast  <fejj@ximian.com>
5140
5141         * String.cs (Trim): Fixed a few logic bugs in the code that
5142         calculated how much to trim off the end of the string.
5143
5144 2001-01-04  Nick Drochak  <ndrochak@gol.com>
5145         
5146         * Commented out the [TODO] attributes for now.  We don't have the
5147         class written.  Also changed it to [MonoTODO]
5148
5149 2002-01-04  Ravi Pratap  <ravi@ximian.com>
5150
5151         * TODOAttribute.cs : Add. We use this attribute to tag all bits in
5152         our class libraries that are incomplete.
5153
5154         * Array.cs : Apply attribute wherever we find a FIXME which says
5155         we need something to be implemented there.
5156
5157         * Int32.cs : Ditto.
5158
5159         * MulticastDelegate.cs : Ditto.
5160
5161         * RuntimeFieldHandler.cs, RuntimeMethodHandle.cs,
5162         RuntimeTypeHandle.cs : Ditto.
5163
5164         * String.cs : Ditto.
5165
5166         * Type.cs : Ditto.
5167
5168         * Byte.cs, Char.cs, ContextBoundObject.cs, DateTime.cs, Delegate.cs : Ditto.
5169
5170         * Enum.cs, Environment.cs, Exception.cs, Int64.cs, SByte.cs, Single.cs, 
5171         UInt16.cs, UInt32.cs, ValueType.cs: Ditto.
5172
5173         * Byte.cs, Char.cs, ContextBoundObject.cs, DateTime.cs,
5174         Delegate.cs : Ditto.
5175
5176         * Enum.cs, Environment.cs, Exception.cs, Int64.cs, SByte.cs,
5177         Single.cs, UInt16.cs, UInt32.cs, ValueType.cs: Ditto.
5178         
5179 Thu Jan 3 23:24:04 CET 2002 Paolo Molaro <lupus@ximian.com>
5180
5181         * Delegate.cs: add Remove() stub.
5182         * Enum.cs: add ToObject().
5183         * Type.cs: add IsEnum property.
5184
5185 2002-01-03  Kristian Rietveld  <kris@gtk.org>
5186
5187         * Convert.cs: add non-CLS-compliant ToBoolean methods for char,
5188         DateTime and object.
5189
5190 2001-12-30  Nick Drochak  <ndrochak@gol.com>
5191
5192         * Byte.cs (Parse): Add comments to aid in testing.
5193
5194 2001-12-21  Miguel de Icaza  <miguel@ximian.com>
5195
5196         * Char.cs (Parse): Implement.
5197
5198         * Byte.cs (Parse): Implement a fast parser.
5199         
5200         * SByte.cs (Parse): Implement a fast parser.
5201
5202         * UInt16.cs (Parse): Implement a fast parser.
5203         
5204         * Int16.cs (Parse): Implement a fast parser.
5205
5206         * UInt32.cs (Parse): Implement a fast parser.
5207
5208         * Int32.cs (Parse): Implement a fast parser.
5209
5210 Fri Dec 21 15:14:52 CET 2001 Paolo Molaro <lupus@ximian.com>
5211
5212         * Array.cs: fix null ref in sort code.
5213         * UInt64.cs: add bare-bones parse.
5214
5215 Thu Dec 20 15:29:52 CET 2001 Paolo Molaro <lupus@ximian.com>
5216         
5217         * Byte.cs: removed use of Regexes.
5218
5219 Tue Dec 18 18:39:54 CET 2001 Paolo Molaro <lupus@ximian.com>
5220
5221         * Enum.cs: implemented GetValues(), GetNames(), GetName(),
5222         IsDefined(), GetUnderlyingType().
5223         * String.cs: fix one instance of Compare().
5224         * Type.cs: implemented GetProperties(), GetProperty().
5225
5226 Thu Dec 13 20:10:57 CET 2001 Paolo Molaro <lupus@ximian.com>
5227
5228         * Array.cs: implement CopyTo ().
5229         * Char.cs: implement ToString ().
5230         * Exception.cs: bugfix.
5231         * Int32.cs: bare-bones Parse ().
5232         * MonoType.cs: query the needed info with an internalcall.
5233         * String.cs: speedups, bugfixes, reduced copies.
5234         * Type.cs: added missing fields. Implemented many of the Is*
5235         properties. Implemented GetMethod(), GetConstructor(), GetMethods(),
5236         GetFields(), FindMembers(), ToString().
5237         
5238 2001-12-11  Dick Porter  <dick@ximian.com>
5239
5240         * DateTime.cs: Implemented FromFileTime() and ToFileTime()
5241
5242         * Console.cs: Use handles rather than casting file descriptors
5243
5244 2001-12-08  Nick Drochak  <ndrochak@gol.com>
5245
5246         * Byte.cs (Parse): Start implementation. Parse(string) works, but
5247         now we need to handle other formats
5248
5249 2001-12-06  Dietmar Maurer  <dietmar@ximian.com>
5250
5251         * DateTime.cs: added an icall to GetNow()
5252
5253 2001-12-04  Dietmar Maurer  <dietmar@ximian.com>
5254
5255         * Double.cs: added the parse method from Bob Smith
5256
5257 2001-11-28  Miguel de Icaza  <miguel@ximian.com>
5258
5259         * UInt64.cs: ditto.
5260
5261         * UInt32.cs: ditto.
5262
5263         * Int32.cs (Int32.CompareTo): Fix because we can not just
5264         substract the values.
5265
5266         Return possitive value if the object is null.
5267
5268         * Boolean.cs: (Boolean.CompareTo): ditto.
5269
5270         * Int16.cs (Int16.CompareTo): ditto.
5271
5272         * Byte.cs (Byte.CompareTo): ditto.
5273
5274         * SByte.cs (SByte.CompareTo): ditto.
5275
5276         * Char.cs (Char.CompareTo): ditto.
5277         
5278         * Decimal.cs (Decimal.CompareTo): ditto.
5279
5280         * Int64.cs (Int64.CompareTo): ditto.
5281
5282         * Single.cs: Ditto.
5283
5284         * UInt16.cs: Ditto.
5285
5286 2001-11-28  Nick Drochak <ndrochak@gol.com>
5287
5288         * Byte.cs: Throw NotImplementedException for Parse.
5289
5290 2001-11-27  Derek Holden  <dholden@draper.com>
5291
5292         * IntegerFormatter.cs: Formatting of type "Number" was not
5293         using NumberFormatInfo.NumberNegativePattern.
5294
5295 2001-11-26  Dick Porter  <dick@ximian.com>
5296
5297         * LocalDataStoreSlot.cs: No need to delete a system TLS slot in
5298         the finalise routine any more
5299
5300 2001-11-21  Miguel de Icaza  <miguel@ximian.com>
5301
5302         * ApplicationException.cs: internationalize by adding calls to
5303         Locale.GetText ().  And throw NotImplementedExceptions on calls
5304         that we have to implement.
5305
5306         * Version.cs: Ditto.
5307
5308         * ValueType.cs: ditto.
5309
5310         * UnauthorizedAccessException.cs: ditto.
5311
5312         * UInt32.cs: ditto.
5313
5314         * UInt64.cs: ditto.
5315
5316         * UInt16.cs: ditto.
5317
5318         * TypeLoadException.cs: ditto
5319
5320         * TypeInitializationException.cs: ditto.
5321
5322         * Type.cs: ditto.
5323
5324         * TimeSpan.cs: ditto.
5325
5326         * SystemException.cs: ditto.
5327
5328         * String.cs: ditto.
5329
5330         * StackOverflowException.cs: ditto.x
5331
5332         * Single.cs: ditto.
5333
5334         * SByte.cs: ditto.
5335
5336         * RuntimeTypeHandle.cs: ditto.
5337
5338         * RuntimeMethodHandle.cs: ditto.
5339
5340         * RuntimeFieldHandle.cs: ditto.
5341
5342         * Random.cs: ditto.
5343
5344         * OutOfMemoryException.cs: ditto.
5345
5346         * OperatingSystem.cs: ditto.
5347
5348         * ObjectDisposedException.cs: ditto.
5349
5350         * NullReferenceException.cs: ditto.
5351
5352         * NotImplementedException.cs: ditto.
5353
5354         * NotFiniteNumberException.cs: ditto.o
5355
5356         * MulticastNotSupportedException.cs: ditto.
5357
5358         * MissingMethodException.cs: ditto.
5359
5360         * MemberAccessException.cs: ditto.
5361
5362         * Math.cs: ditto.
5363
5364         * InvalidCastException.cs: ditto.
5365
5366         * IntegerFormatter.cs: ditto.
5367
5368         * Int32.cs: ditto.
5369
5370         * Int16.cs: ditto.
5371
5372         * IndexOutOfRangeException.cs: ditto.
5373
5374         * Environment.cs: ditto
5375
5376         * Enum.cs: ditto.
5377
5378         * DuplicateWaitObjectException.cs: ditto.
5379
5380         * DivideByZeroException.cs: ditto.
5381
5382         * Delegate.cs: ditto
5383
5384         * DecimalFormatter.cs: ditto.
5385
5386         * Decimal.cs: ditto.
5387
5388         * DateTime.cs: ditto.
5389
5390         * Convert.cs: ditto.
5391
5392         * Char.cs: ditto.
5393
5394         * Byte.cs: ditto.
5395
5396         * Boolean.cs: ditto.
5397
5398         * ArrayTypeMismatchException.cs: ditto.
5399
5400         * ArithmeticException.cs: ditto.
5401
5402         * ArgumentOutOfRangeException.cs: ditto.
5403
5404         * ArgumentNullException.cs: ditto.
5405
5406         * Enum.cs: Make it derive from ValueType, add CompareTo method.
5407
5408         * Attribute.cs: Reformat.
5409
5410 2001-11-14  Miguel de Icaza  <miguel@ximian.com>
5411
5412         * Decimal.cs, Double.cs, Byte.cs, Char.cs, Int16, UInt16, Int32,
5413         UInt32, Int64, UInt64, SByte, Single (CompareTo): Throw the
5414         exception if the value is null too.
5415
5416         * Char.cs (CompareTo): ditto.
5417
5418         * ApplicationException.cs: Added constructor that does serialization.
5419
5420         * ParamArrayAttribute.cs: Define attribute correctly.
5421
5422 Wed Nov 14 16:31:19 CET 2001 Paolo Molaro <lupus@ximian.com>
5423
5424         * AppDomain.cs: rename dummy interface _AppDomain to AppDomain_Intf.
5425         * Array.cs: fix Array.Copy.
5426         * AssemblyLoadEventArgs.cs: rename field.
5427         * CLSCompliantAttribute.cs: use correct name for the class.
5428         * Char.cs: fix IsLetter.
5429         * Console.cs, DateTime.cs, Decimal.cs, IConvertible.cs, Math.cs,
5430         SByte.cs, UInt16.cs, UInt32.cs, UInt64.cs, UIntPtr.cs: CLSCompliant updates.
5431         * Convert.cs: CLSCompliant updates, add ChangeType() methods.
5432         * Delegate.cs: renamed target field to m_target.
5433         * Enum.cs: added missing methods.
5434         * MonoType.cs: add a constructor and some needed properties.
5435         * Object.cs: implement GetType().
5436         * String.cs: CLSCompliant updates. Fixes everywhere to remove the
5437         ending 0 char.
5438         * Type.cs: add missing methods/properties.
5439
5440 2001-11-10  Sean MacIsaac  <macisaac@ximian.com>
5441
5442         * AttributeUseage.cs: Should define AttributeUsageAttribute.
5443
5444         * CLSCompliant.cs: Marked with AttributeUsage attribute.
5445
5446         * Decimal.cs: Fixed CLSCompliant attributes.
5447
5448         * Type.cs: changed _impl to internal (needs to be accessable by
5449         subclasses).
5450
5451         (TypeHandle): Marked as abstract, implementation removed.
5452
5453         (IsNotPublic, IsPublic, GetMethods, GetPropery, GetConstructor,
5454         GetMethod): Added stub implementations so NUnit would link against
5455         corlib
5456
5457 Tue Nov 6 09:11:43 CET 2001 Paolo Molaro <lupus@ximian.com>
5458
5459         * AppDomain.cs: use an internal constructor for AssemblyBuilder.
5460
5461 2001-11-05  Miguel de Icaza  <miguel@ximian.com>
5462
5463         * NonSerializedAttribute.cs: Add AttributeUsage rules for this
5464         attribute. 
5465
5466 Fri Nov 2 18:23:15 CET 2001 Paolo Molaro <lupus@ximian.com>
5467
5468         * String.cs: fix a couple of bugs.
5469         * AppDomain.cs: use new AppBuilder constructor.
5470         * Buffer.cs, GC.cs, NonSerializedAttribute.cs,
5471         NotImplementedException.cs, ObjectDisposedException.cs,
5472         UnauthorizedAccessException.cs: add implementation.
5473         * OverflowException.cs: fix class name.
5474
5475 2001-10-28  Jeffrey Stedfast  <fejj@ximian.com>
5476
5477         * String.cs: Don't use a terminating nil char for our internal
5478         array.
5479
5480 2001-10-27  Miguel de Icaza  <miguel@ximian.com>
5481
5482         * Delegate.cs (Delegate.CombineImpl): Implement.
5483         (Delegate.Combine): Implement.
5484
5485         * MulticastDelegate.cs (MulticastDelegate.Equals): Implement.
5486
5487         (MulticastDelegate.CombineImpl): This was not as trivial as I
5488         thought. 
5489
5490         * ContextStaticAttribute.cs: Added AttributeUsage to
5491         ContextStaticAttribute. 
5492
5493         * FlagsAttribute.cs: Add AttributeUsage to FlagsAttribute
5494
5495 2001-10-15  Martin Weindel <martin.weindel@t-online.de>
5496
5497         * added Decimal.cs * added DecimalFormatter.cs (internal class
5498         used from System.Decimal)
5499
5500 2001-10-11  Thomas Neidhart <tome@sbox.tugraz.at>
5501
5502         * Convert.cs: Added methods for Base64 transforming just used the
5503           existing System.Security.Cryptography.ToBase64Transform, should
5504           be changed to use a stand-alone class, e.g. Base64Encoder
5505           
5506 2001-10-10  Derek Holden  <dholden@draper.com>
5507
5508         * IntegerFormatter.cs: Added. Implements ToString for all the
5509         integer data types for all the format types.
5510
5511         * Byte.cs: Using IntegerFormatter for ToString's.
5512
5513         * SByte.cs: Using IntegerFormatter for ToString's.
5514
5515         * Int16.cs: Using IntegerFormatter for ToString's.
5516
5517         * Int32.cs: Using IntegerFormatter for ToString's.
5518
5519         * Int64.cs: Using IntegerFormatter for ToString's.
5520
5521         * UInt16.cs: Using IntegerFormatter for ToString's.
5522
5523         * UInt32.cs: Using IntegerFormatter for ToString's.
5524
5525         * UInt64.cs: Using IntegerFormatter for ToString's.
5526
5527 2001-10-07  Miguel de Icaza  <miguel@ximian.com>
5528
5529         * Exception.cs: Implement bits of serialization.
5530
5531         * RuntimeFieldHandle.cs: Implement Serialization features.
5532
5533         * Type.cs: Implement TypeHandle property.
5534
5535 2001-09-28  Dick Porter  <dick@ximian.com>
5536
5537         * LocalDataStoreSlot.cs: Implemented
5538
5539 Tue Sep 25 19:58:14 CEST 2001 Paolo Molaro <lupus@ximian.com>
5540
5541         * String.cs: fix off-by-one error in Trim().
5542
5543 Tue Sep 25 18:52:14 CEST 2001 Paolo Molaro <lupus@ximian.com>
5544
5545         * Type.cs: added GetType () method.
5546
5547 Tue Sep 25 17:29:02 CEST 2001 Paolo Molaro <lupus@ximian.com>
5548
5549         * MissingMethodException.cs, MissingMemberException.cs,
5550         MemberAccessException.cs: added.
5551
5552 Tue Sep 25 16:46:43 CEST 2001 Paolo Molaro <lupus@ximian.com>
5553
5554         * String.cs: don't access the string array out of bounds in
5555         LastIndexOf.  * Type.cs: fix return type of the Assembly property.
5556
5557 Mon Sep 24 20:35:24 CEST 2001 Paolo Molaro <lupus@ximian.com>
5558
5559         * String.cs: make Intern and IsIntern internalcalls.
5560
5561 2001-09-13  Dick Porter  <dick@ximian.com>
5562
5563         * Type.cs: Added a stub for the IsValueType property.
5564
5565         * SystemException.cs (System): Added the other constructor, so
5566         that System.Threading exceptions can inherit it.
5567
5568 2001-09-08  Jeffrey Stedfast  <fejj@ximian.com>
5569
5570         * String.cs (TrimStart): Don't keep looping through the trimchars
5571         once we've found a match.
5572         (TrimEnd): Same here.
5573         (Trim): And finally here.
5574
5575 2001-09-07  Ravi Pratap  <ravi@ximian.com>
5576
5577         * Char.cs (IsLetterOrDigit): Implement.
5578         (IsLower): Implement, but we need to be Unicode aware.
5579         (IsNumber): Implement.
5580         (IsPunctuation): Implement.
5581         (IsWhiteSpace): Implement.
5582         (ToUpper): Fix to subtract 32 from the ASCII value, not 33 :)
5583         (ToLower): Same here.
5584
5585 2001-09-04  Miguel de Icaza  <miguel@ximian.com>
5586
5587         * Object.cs: Shortcut, if (a == b) then return true.
5588
5589 Fri Sep 7 18:34:48 CEST 2001 Paolo Molaro <lupus@ximian.com>
5590
5591         * Delegate.cs: we need a pointer to the method thunk in
5592         the delegate object.
5593
5594 Fri Sep 7 12:28:01 CEST 2001 Paolo Molaro <lupus@ximian.com>
5595
5596         * AsyncCallback.cs, common.src: add AsyncCallback delegate.
5597
5598 2001-09-06  Jeffrey Stedfast  <fejj@ximian.com>
5599
5600         * String.cs (System): Don't mix uint and int.
5601
5602 2001-09-04  Jeffrey Stedfast  <fejj@ximian.com>
5603
5604         * String.cs (BoyerMoore): Modified to not use pointers and to instead
5605         use indexes.
5606         (IndexOf): Use BoyerMoore.
5607
5608 2001-09-02  Miguel de Icaza  <miguel@ximian.com>
5609
5610         * All over: Use the autogenerated enumerations from the ECMA
5611         documentation that Sergey wrote.
5612         
5613         * PlatformID.cs: Add Unix definition.
5614
5615         * OperatingSystem.cs: Use Unix instead of Linux here.
5616
5617         * MarshalByRefObject.cs: Mark class as [Serializable].
5618
5619 2001-08-28  Dietmar Maurer  <dietmar@ximian.com>
5620
5621         * Console.cs: impl. (write only)
5622         implemented the stdin stuff
5623
5624         * Int32.cs: impl. real op_Equal
5625
5626 2001-08-24  Miguel de Icaza  <miguel@ximian.com>
5627
5628         * (common.src): Removed IAsyncResult as it is not on CVS yet.
5629
5630         * UIntPtr.cs: Removed CLSCompliant attribute before the namespace,
5631         as it breaks the build.
5632
5633 2001-08-23  Michael Lambert <michaellambert@email.com>
5634
5635         * IntPtr.cs: Optimized unsafe declaration, implemented GetObjectData, 
5636         added CLSCompliant attribute
5637
5638         * IAsyncResult.cs: Added
5639
5640         * common.src: Added IAsyncResult.cs
5641
5642 2001-08-23  Michael Lambert <michaellambert@email.com>
5643
5644         * UIntPtr.cs: Added
5645
5646         * common.src: Added UIntPtr.cs
5647
5648 2001-08-20  Dietmar Maurer  <dietmar@ximian.com>
5649
5650         * Attribute.cs: uncomment some code to make it compile again
5651
5652         * mono.src: removed duplicated Attribute.cs
5653
5654 2001-08-16  Nick Drochak <ndrochak@gol.com>
5655
5656         * Attribute.cs: implemented all methods except GetHashCode()
5657
5658         * common.src: added Attribute.cs so it would compile in
5659
5660 2001-08-10  Dietmar Maurer  <dietmar@ximian.com>
5661
5662         * Object.cs: changed MemberWiseClone to MemberwiseClone, and
5663         marked it as InternalCall
5664         
5665         * common.src: removed UriFormatException.cs because the file is
5666         not there.
5667
5668         * RuntimeTypeHandle.cs: replaced IntrPtr with IntPtr
5669         * Char.cs: replaced byte with char
5670
5671         * Array.cs: make it work with the mono interpreter
5672
5673 2001-08-06  Miguel de Icaza  <miguel@ximian.com>
5674
5675         * Version.cs: Make the class sealed
5676
5677 2001-08-08  Bob Smith  <bob@thestuff.net>
5678
5679         * Random.cs: Many compile fixes.
5680         * Random.cs: I read a bad spec. Class updated to match real spec.
5681
5682 2001-08-06  Miguel de Icaza  <miguel@ximian.com>
5683
5684         * IntPtr.cs: Added and Completed implementation.
5685
5686         * Uri.cs: Add a note.
5687
5688 2001-08-06  Bob Smith  <bob@thestuff.net>
5689
5690         * Random.cs: Compile fix. Needs more testing.
5691
5692 2001-08-06 Garrett Rooney <rooneg@electricjellyfish.net>
5693
5694         * Uri.cs: Initial Implementation.  Parsing needs to be fixed to take 
5695         into account IPv6 addresses, url encoding needs to be implemented, and 
5696         various minor methods need to be written, but this is a decent start.
5697
5698 2001-08-06  Dietmar Maurer  <dietmar@ximian.com>
5699
5700         * common.src: added Object.cs
5701
5702         * mono.src: added ValueType.cs
5703
5704 2001-08-02  Dietmar Maurer  <dietmar@ximian.com>
5705
5706         * Math.cs: replaced libc with libm
5707
5708 2001-08-02  Bob Smith  <bob@thestuff.net>
5709
5710         * Random.cs: Implemented. Needs testing.
5711
5712 2001-08-02  Miguel de Icaza  <miguel@ximian.com>
5713
5714         * IServiceProvider.cs, EventHandler.cs: New files.
5715
5716 2001-08-02  Marcel Narings  <marcel@narings.nl>
5717         
5718         * DateTime.cs: Cleaned up a bit. Added the Add* family members.
5719         Added exceptions. Added IConvertible. Still needs some platform 
5720         dependend stuff, the Parse and ToString members
5721
5722 2001-08-01  Dietmar Maurer  <dietmar@ximian.com>
5723
5724         * Type.cs (GetTypeFromHandle): added placeholder 
5725
5726 2001-07-24  Derek Holden  <dholden@draper.com>
5727
5728         * Boolean.cs: Formatted to code style standard. Added GetTypeCode
5729         which is really an IConvertible defined method.
5730
5731         * Byte.cs: Added a missing Parse method. Put in Parse and ToString
5732         behavior, still need to do the main Parse and ToString.
5733
5734         * Char.cs: Added a bunch of missing ECMA methods. Commented a
5735         specification discrepency. Still didn't any unicode stuff, though
5736         every IsFoo(char c) method has an IsFoo(string, index)
5737         counterpart, added wrappers for those.
5738         
5739         * Convert.cs: Fixed NaN/Inf checking and double/float
5740         rounding. Added ToType for IConvertible classes
5741
5742         * Double.cs: Fixed ECMA min and max values. Added IsInfinity /
5743         IsNaN methods. Changed Inf/NaN internals.
5744
5745         * IConvertible.cs: Added comments for using
5746         Convert.ToType. Changed return values to draft base values.
5747
5748         * Int16.cs: Added a missing Parse statement. Put in behavior for
5749         overloaded ToString and Parse methods.
5750
5751         * Int32.cs: Added a missing Parse statement. Put in behavior for
5752         overloaded ToString and Parse methods.
5753
5754         * Int64.cs: Added a missing Parse statement. Put in behavior for
5755         overloaded ToString and Parse methods.
5756         
5757         * Single.cs: Put in ECMA epsilon value. Added IsInfinity / IsNaN
5758         methods. Changed Inf/NaN internals.
5759
5760         * SByte.cs: Added a missing Parse method. Put in Parse and
5761         ToString behavior, still need to do the main Parse and ToString.
5762
5763         * UInt16.cs: Added a missing Parse statement. Put in behavior for
5764         overloaded ToString and Parse methods.
5765
5766         * UInt32.cs: Added a missing Parse statement. Put in behavior for
5767         overloaded ToString and Parse methods.
5768
5769         * UInt64.cs: Added a missing Parse statement. Put in behavior for
5770         overloaded ToString and Parse methods.
5771         
5772 2001-07-20  Miguel de Icaza  <miguel@ximian.com>
5773
5774         * MulticastDelegate.cs: New File.
5775
5776         * Delegate.cs: New file.
5777
5778         * Enum.cs: New file.
5779
5780         * Attribute.cs: New file.
5781
5782         * Type.cs: New file.
5783
5784         * ParamArrayAttribute.cs: New file.
5785
5786         * RuntimeTypeHandle.cs: New file.
5787
5788         * MulticastDelegate.cs: Added.
5789
5790         * DateTime.cs: Added
5791
5792         * Delegate.cs: Added
5793
5794 2001-07-18  Michael Lambert <michaellambert@email.com>
5795
5796         * AttributeTargets.cs: Add.
5797
5798 2001-07-19  Jeffrey Stedfast  <fejj@ximian.com>
5799
5800         * Char.cs: Made ToUpper and ToLower public methods.
5801
5802         * String.cs: Lots and lots of compile fixes - just need to write
5803         DateTime.cs and this should build completely now.
5804
5805 2001-07-19  Bob Smith (bob@thestuff.net)
5806
5807         * Math.cs: Implemented. 
5808
5809 2001-07-19  Miguel de Icaza  <miguel@ximian.com>
5810
5811         * String.cs: Removed tolower and toupper.
5812
5813         * Char.cs: Moved ToLower and ToUpper from string to here. 
5814
5815         * Convert.cs ToByte (float value), ToByte (double value) Use IsNan
5816         instead of comparing the value to Nan.
5817
5818 2001-07-19  Duco Fijma (duco@lorentz.xs4all.nl)
5819
5820         * TimeSpan.cs: New implementation.
5821
5822 2001-07-18  Scott Sanders <scott@stonecobra.com>
5823
5824          * UriFormatExcpetion.cs: Add - 85% complete
5825
5826 2001-07-17  Jeffrey Stedfast  <fejj@ximian.com>
5827
5828         * String.cs (IndexOf): Slight optimization that allows skipping
5829         over a few chars here and there. This isn't as good as using my
5830         Boyer-Moore implementation, however, Boyer-Moore is only really
5831         good for long strings (I plan on making the code decide which
5832         string search algorithm it should use on-the-fly at some point).
5833         (LastIndexOf): Fix to work correctly.
5834         (BoyerMoore): Took out some unneeded code and fixed an edge-case.
5835
5836 2001-07-16  Michael Lambert <michaellambert@email.com>
5837
5838         * EventArgs.cs: Add.
5839         
5840 2001-07-16  Miguel de Icaza  <miguel@ximian.com>
5841
5842         * Version.cs: Remove my buggy comment.
5843
5844 2001-07-15  Sean MacIsaac  <macisaac@ximian.com>
5845
5846         * String.cs: Spelling error of IComparable, object's
5847         MemberwiseClone cannot be overridden.  Made indexer valid for now,
5848         but not sure what to do about this in the long run.  Seems to be a
5849         couple bugs in csc.exe having to do with multiple pointer defs in
5850         the same statement, and returning subclasses of a class in the
5851         return type of an interface function implementation.  Also moved
5852         operators inside of class definition.
5853
5854 2001-07-14  Jeffrey Stedfast  <fejj@ximian.com>
5855
5856         * String.cs: A tom of compile fixes, although we still don't compile.
5857
5858         * IConvertible.cs: The To*Int64() methods return *Int64's, not
5859         *Int32's. Also, it's ToDateTime() not ToDateType().
5860
5861 2001-07-14  Jeffrey Stedfast  <fejj@ximian.com>
5862
5863         * String.cs: Apparently I needed to at least write stubs for the
5864         IConvertible interfaces. *sigh*
5865
5866 2001-07-14  Jeffrey Stedfast  <fejj@ximian.com>
5867
5868         * String.cs: Many logic/other fixes and better usage of the
5869         features of c#
5870         (tolower): New convenience method to help condense code.
5871         (toupper): Another new helper method.
5872         (Compare): Use the new helper methods.
5873         (ToLower): use tolower().
5874         (ToUpper): use toupper().
5875         (LastIndexOfAny): Implemented.
5876         (BoyerMoore): New private helper method that implements a modified
5877         version of the Boyer-Moore search algorithm. Noothing uses it yet
5878         as I'm not 100% sure it even works properly with unicode strings
5879         not to mention it uses a huge lookup-table :-)
5880         (Split): Implemented.
5881
5882 2001-07-13  Jeffrey Stedfast  <fejj@ximian.com>
5883
5884         * TODO: Added things that need to be finished in System.String
5885
5886         * String.cs: New source file implementing the System.String class
5887
5888 2001-07-12  Sean MacIsaac  <macisaac@ximian.com>
5889
5890         * TypeCode.cs: UInt64 was UInt63.
5891
5892         * Object.cs: Fixed a numer of compiler errors.
5893
5894         * Array.cs: Fixed some compiler errors.
5895
5896         * IComparable.cs: Fixed some compiler errors.
5897
5898         * ICloneable.cs: Fixed some compiler errors.
5899
5900         * IConvertible.cs: Fixed some compiler errors.
5901
5902         * IFormattable.cs: Fixed a compiler error.
5903
5904         * IFormatProvider.cs: Fixed a compiler error.
5905
5906         * IDisposable.cs: Fixed a compiler error.
5907
5908         * IFormatProvider.cs: Added public accesability type to
5909         IFormatProvider.
5910
5911         * Exception.cs: Added a using statement to remove compile time
5912         error.
5913
5914         * ApplicationException.cs: Removed a ; that was causing a compiler
5915         error.
5916
5917         * Int16.cs: Fixed some compiler errors.
5918
5919         * Int32.cs: Fixed some compiler errors.
5920
5921         * Int64.cs: Fixed some compiler errors.
5922
5923         * SystemException.cs: Fixed a compiler error.
5924
5925         * UInt16.cs: Fixed some compiler errors.
5926
5927         * UInt32.cs: Fixed some compiler errors.
5928
5929         * UInt64.cs: Fixed some compiler errors.
5930
5931         * Void.cs: Fixed a compiler error.      
5932
5933 2001-07-12  Joe Shaw  <joe@ximian.com>
5934
5935         * Array.cs: Fix backwards parameters to Array.SetValue()
5936         throughout.
5937         (BinarySearch): Fix backward logic surrounding whether to call
5938         value.CompareTo or comparer.Compare.
5939         (LastIndexOf): Stop being stupid. I am so not used to strongly
5940         bounded arrays...
5941         (Sort): Implement a quicksort.
5942
5943 2001-07-11  Joe Shaw  <joe@ximian.com>
5944
5945         * Array.cs: Change all instances of trying to access an array with
5946         the index operator to calls to GetValue and SetValue, and add
5947         InternalGetValue and InternalSetValue which are internal calls
5948         into the runtime. Ew.
5949
5950 2001-07-10  Joe Shaw  <joe@ximian.com>
5951
5952         * Array.cs: Implemented everything but Sort().
5953
5954 2001-07-09  Jeffrey Stedfast  <fejj@ximian.com>
5955
5956         * Object.cs (Object::Equals): Object variable name is `o'.
5957
5958 2001-07-06  Joe Shaw  <joe@ximian.com>
5959
5960         * Int16.cs, Int32.cs, Int64.cs, UInt16.cs, UInt32.cs, UInt64.cs:
5961         Implement the IComparable and IFormattable interfaces. Fix a typo
5962         (publig -> public)
5963
5964         * ApplicationException.cs, ArgumentException.cs,
5965         ArgumentNullException.cs, ArgumentOutOfRangeException.cs,
5966         ArtithmeticException.cs, ArrayTypeMismatchException.cs,
5967         DivideByZeroException.cs, DuplicateWaitObjectException.cs,
5968         ExecutionEngineException.cs, FormatException.cs,
5969         IndexOutOfRangeException.cs, InvalidCastException.cs,
5970         InvalidOperationException.cs, InvalidProgramException.cs,
5971         MulticateNotSupportedException.cs, NotFiniteNumberException.cs,
5972         NotSupportedException.cs, NullReferenceException.cs,
5973         OutOfMemoryException.cs, OverflowException.cs, RankException.cs,
5974         StackOverflowException.cs, SystemException.cs,
5975         TypeInitializationException.cs: Added all of the exceptions
5976         specified by the language spec. Mmmm... bloat.
5977
5978 2001-07-06  Miguel de Icaza  <miguel@ximian.com>
5979
5980         * Int64.cs, Int32.cs: Put.  Parsing and ToString missing.  Should
5981         do a generic routine all of these guys use.
5982
5983         * Int16.cs: identified missing methods.
5984
5985         * UInt16.cs, UInt32.cs, UInt64.cs: Add.
5986
5987 2001-06-26  Miguel de Icaza  <miguel@ximian.com>
5988
5989         * TypeCode.cs: Implement
5990
5991         * Void.cs: Implement.
5992
5993         * TODO: Add file to keep track of pending tasks.
5994
5995         * Object.cs, ValueType.cs: Implement.