2010-04-15 Jb Evain <jbevain@novell.com>
[mcs.git] / class / corlib / System / ChangeLog
blob44b01e997e94a7f3151980f387d45bf57c20634e
1 2010-04-15  Jb Evain  <jbevain@novell.com>
3         * Guid.cs: rework the Guid parser to implement the net_4_0
4         [Try]ParseExact methods.
6 2010-04-15  Jérémie Laval  <jeremie.laval@gmail.com>
8         * Tuple.cs:
9         * Tuples.cs: Add BOOTSTRAP_NET_4_0 define
11 2010-04-13 Rodrigo Kumpera  <rkumpera@novell.com>
13         * MonoCustomAttrs.cs: Raise an exception if the runtime
14         returned a null cattr.
16 2010-04-13  Zoltan Varga  <vargaz@gmail.com>
18         * Convert.cs (ToInt32): Do a checked cast. Fixes #596339.
20 2010-04-12  Carlos Alberto Cortez <calberto.cortez@gmail.com>
22         * TimeSpan.cs: Implement support for custom formats parsing. This
23         should as well include the bits required to easily implement the same
24         for ToString methods, when the final release fixes the mess we found
25         in the latest beta.
27 2010-04-08 Rodrigo Kumpera  <rkumpera@novell.com>
29         * Type.cs: Add ResolveInternal virtual call that
30         resolves a given type to it's concrete type.
32 2010-03-07 Rodrigo Kumpera  <rkumpera@novell.com>
34         * Enum.cs (GetInfo): Don't use isinst tests as they can
35         return true for both signed and unsigned version of a
36         primitive type.
38         * Enum.cs (FindPosition): Ditto.
40 2010-04-06  Marek Safar  <marek.safar@gmail.com>
42         * Array.cs: Don't make read-only collection read-only.
44 2010-03-31  Miguel de Icaza  <miguel@novell.com>
46         * UInt32.cs, Int64.cs, UInt64.cs: cope with the case that the
47         IFormatProvider is not a NumberFormatInfo, preventing a crash.
48         This was already handled by Int32.cs, but these other routines
49         were never properly updated. 
51         Fixes #588356
53         * DateTimeOffset.cs: Add support for format K in DateTimeOffset,
54         fixes bug 589227.
56         * DateTime.cs: Add serialization support, fixes #588198.
58         Perhaps we should change the format as well since this is the new
59         format serialized anyways (see bug 592221, it saves 4 bytes of
60         memory as well)
62 2010-03-30  Sebastien Pouliot  <sebastien@ximian.com>
64         * InvalidTimeZoneException.cs
65         * TimeZoneNotFoundException.cs:
66                 Fix Moonlight since these types now reside in mscorlib
67                 (instead of System.Core) for NET_4_0 and also for SL4
69 2010-03-30  Jb Evain  <jbevain@novell.com>
71         * MonoType.cs: let the binder reorder arguments when invoking
72         params methods.
73         * Activator.cs (CreateInstance): use BindToMethod instead of
74         SelectMethod to make sure that params constructors are properly called.
76         Fixes #591877
78 2010-03-29  Carlos Alberto Cortez <calberto.cortez@gmail.com>
80         * TimeSpan.cs: Implement all the overloads of both TryParseExact and
81         ParseExact methods, by detecting the specific semantic changes in the
82         parse process, so we can properly re-utilize our new approach. This
83         included indicating our parser its culture sensitiveness, usage of colon as
84         day separator fallback or as a precise separator, and other minor bits.
85         We are only missing composite parsing right now.
87 2010-03-29  Sebastien Pouliot  <sebastien@ximian.com>
89         * AppDomainSetup.cs: Add new (FX4 and SL4) SetCompatibilitySwitches
90         method (empty is good enough for moonlight testing)
91         * Environment.cs: Expose MyVideos in Moonlight build
93 2010-03-26  Carlos Alberto Cortez <calberto.cortez@gmail.com>
95         * TimeSpan.cs: We always give higher precedence to the first found
96         error, but for versions before 4.0 we need to give a higher one to
97         per-element overflow *specifically* (as opposed to int32 overflow,
98         which remains the same). This is not needed for 4.0, so report
99         per-element overflow as a normal error. 
100         This should fix a compatibility case, as well as simplifying the code.
102 2010-03-25 Gonzalo Paniagua Javier <gonzalo@novell.com>
104         * MonoAsyncCall.cs: remove unused field.
105         * Delegate.cs: add new IsTransparentProxy property.
106         * MulticastDelegate.cs: add new HasSingleTarget property.
107         * Environment.cs: bump up corlib version.
109 2010-03-25  Sebastien Pouliot  <sebastien@ximian.com>
111         * AppDomain.cs: Add new properties that are in both FX4 and SL4
112         since Moonlight needs them (for testing purpose).
113         * Environment.cs: FailFast overloads are present in SL4 (and also
114         needed for testing Moonlight)
116 2010-03-24  Sebastien Pouliot  <sebastien@ximian.com>
118         * AppDomain.cs: Change default value from null to false for new
119         (NET_4_0 and SL4) IsCompatibilitySwitchSet. Not sure when (or even
120         if) it can return null (at least not when testing SL4 RC). 
121         Fix DRT198
123 2010-03-22  Carlos Alberto Cortez <calberto.cortez@gmail.com>
125         * TimeSpan.cs: When parsing ticks, we used to only parse
126         the first 7 digits, and more than that would cause a FormatException -
127         starting in 4.0 we need to throw an OverflowException, however. Also,
128         for hours/minutes/seconds, two or more preceding zeroes will cause an
129         OverflowException as well.
131 2010-03-22  Carlos Alberto Cortez <calberto.cortez@gmail.com>
133         * TimeSpan.cs: Create a new Parser.Execute method for 4.0 -and use the
134         previous impl for 2.0-, to handle the new semantics gracefully -
135         specifically the new 'dd:hh:mm:ss' format and related bits, instead of
136         of a ton of #ifdef blocks. Remove any 4.0 bits from the previous
137         version as well, to keep it clean.
139 2010-03-19  Carlos Alberto Cortez <calberto.cortez@gmail.com>
141         * TimeSpan.cs: Move the error detection code to a separate method.
142         This way depending on the version we decide what error takes
143         precedence: OverlowException in 2.0, and FormatException in 4.0. This
144         also lets us keep the Execute() code cleaner and easier to understand.
146 2010-03-18  Carlos Alberto Cortez <calberto.cortez@gmail.com>
148         * TimeSpan.cs: Put the error info in a single field, to make it easier
149         to preserve the very first error we get while parsing, and discard the
150         next ones. This will help us in a pair of cases where we were
151         overriding the previous error and reporting the wrong exception.
153 2010-03-17  Sebastien Pouliot  <sebastien@ximian.com>
155         * String.cs: SL4 includes new IsNullOrWhiteSpace and Concat/Join 
156         overloads.
158 2010-03-17  Carlos Alberto Cortez <calberto.cortez@gmail.com>
160         * TimeSpan.cs: TimeSpan is actually implementing IFormattable.
162 2010-03-17  Rolf Bjarne Kvinge  <RKvinge@novell.com>
164         * AppDomain.cs: Added MonoTODO for IsCompatibilitySwitchSet.
166 2010-03-16  Carlos Alberto Cortez <calberto.cortez@gmail.com>
168         * TimeSpan.cs: In 4.0 the Parse/TryParse methods always try to use its
169         associated CultureInfo.NumberFormat.NumberDecimalSeparator value, as well as
170         providing backwards compatibility by also supporting '.' as the
171         separator.
173 2010-03-16  Jb Evain  <jbevain@novell.com>
175         * AppDomainSetup.cs
176         * Tuple.cs
177         * ChangeLog
178         * Exception.cs
179         * String.cs
180         * Console.cs
181         * Tuples.cs
182         * Activator.cs
183         * AppDomain.cs:
184                 Use MOONLIGHT symbol to disambiguate MonoTouch and Moonlight code.
186 2010-03-16  Rolf Bjarne Kvinge  <RKvinge@novell.com>
188         * Enum.cs: Added a few 4.0 api to Moonlight.
190 2010-03-16  Rolf Bjarne Kvinge  <RKvinge@novell.com>
192         * AppDomain.cs: Added IsCompatibilitySwitchSet for .NET 4.0 and Moonlight.
194 2010-03-15  Carlos Alberto Cortez <calberto.cortez@gmail.com>
196         * TimeSpan.cs: In 4.0 if the part parsed as days exceeds the allowed
197         range -this is, 23-, then it is processed as days instead - opposed to
198         2.0, where we are throwing an OverflowException.
200 2010-03-15  Carlos Alberto Cortez <calberto.cortez@gmail.com>
202         * TimeSpan.cs: Make the colon parsing optional -and adjust the name to
203         reflect it-, so we can properly parse the case where we only have the
204         hours and minutes. This subtle bug was hidden before, since a string
205         such "10:12" would be parsed correctly, but "10:12  " (trailing white
206         space) was getting a FormatException.
208 2010-03-12  Sebastien Pouliot  <sebastien@ximian.com>
210         * Tuple.cs, Tuples.cs: Add them to NET_2_1 since they are parts
211         of SL4
213 2010-03-08  Carlos Alberto Cortez <calberto.cortez@gmail.com>
215         * TimeSpan.cs: Implement 4.0 overloads of TryParse/Parse.
217 2010-03-08  Carlos Alberto Cortez <calberto.cortez@gmail.com>
219         * TimeSpan.cs: Implement 4.0 ToString overloads.
221 2010-03-06 Rodrigo Kumpera  <rkumpera@novell.com>
223         * UIntPtr.cs: Remove some v4 custom attributes that were
224         on Beta2 but aren't there on RC.
226 2010-03-05  Carlos Alberto Cortez <calberto.cortez@gmail.com>
228         * TimeSpan.cs: Implement correctly the TryParse method, instead of
229         using a try/catch block.
231 2010-03-04 Rodrigo Kumpera  <rkumpera@novell.com>
233         * Type.cs : Fix for bug #574696: don't recurse into base types in GetMember when
234         getting properties.
235         Patch by Eberhard Beilharz <eb1@sil.org>
237 2010-03-03  Miguel de Icaza  <miguel@novell.com>
239         * Decimal.cs: Disable the fast double2decimal code, and go back to
240         string parsing as there is a rounding/precision bug.
242                 //
243                 // We cant use the double2decimal method
244                 // because it incorrectly turns the floating point
245                 // value 1.23456789E-25F which should be:
246                 //    0.0000000000000000000000001235
247                 // into the incorrect:
248                 //   0.0000000000000000000000001234
249                 //
250                 //    The code currently parses the double value 0.6 as
251                 //    0.600000000000000
252                 //
253                 // And we have a patch for that called (trim
255 2010-03-03 Rodrigo Kumpera  <rkumpera@novell.com>
257         * Type.cs (Equals): Better version that does less
258         trips to runtime land.
260 2010-03-03 Rodrigo Kumpera  <rkumpera@novell.com>
262         * MonoType.cs: Add v4 security properties.
264 2010-03-03 Rodrigo Kumpera  <rkumpera@novell.com>
266         * Type.cs: Add v4 security properties.
268 2010-03-03 Rodrigo Kumpera  <rkumpera@novell.com>
270         * Type.cs: Fix identation.
272 2010-03-03 Rodrigo Kumpera  <rkumpera@novell.com>
274         * Activator.cs: : Implement new v4 overloads and [Obsolete].
276 2010-03-03 Rodrigo Kumpera  <rkumpera@novell.com>
278         * AppDomain.cs: Add bunch of trivial overloads.
280 2010-03-01 Rodrigo Kumpera  <rkumpera@novell.com>
282         * TypeSpec.cs: New file. Managed code implementation of type name
283         parsing.
285         * Type.cs: Implement new v4 overloads of GetType.
287 2010-03-01  Zoltan Varga  <vargaz@gmail.com>
289         * Array.cs (CreateArray): Disallow creation of arrays of unfinished types.
291 2010-03-01  Miguel de Icaza  <miguel@novell.com>
293         * DateTime.cs (DoParse): patch from Tom Philpot, while using
294         TryParse if s is null, we should return false, not crash.
296 2010-02-28 Rodrigo Kumpera  <rkumpera@novell.com>
298         * Type.cs: Forgot a pair of #if NET_4_0.
300 2010-02-28  Miguel de Icaza  <miguel@novell.com>
302         * Decimal.cs: If the NumberFormatInfo is broken and contains the
303         same character for grouping than is used for decimals, the decimal
304         separator gets a priority.  This issue was exposed by the
305         Silverlight Test suite.
307         Allow null trailing characters when parsing, this is valid in
308         .NET: "5\0" and "5\0\0\0\0", but "5\05" is not.
310         * Decimal.cs: Enabling the unmanaged double to decimal and float
311         to decimal conversions code again as I am unable to find any
312         regressions in corlib, System.Data, the Silverlight test suite or
313         Rotor's test suite.
315         I am enabling it hoping that we can find the original problem that
316         lead us to use the slow path.
318 2010-02-27 Rodrigo Kumpera  <rkumpera@novell.com>
320         * AggregateException.cs: Fix ctor vibility.
322         * Type.cs: IsEnum and IsSerializable are virtual
323         properties now.
325         * Tuple.cs: Fix Tuple'8 Create method.
327 2010-02-27 Rodrigo Kumpera  <rkumpera@novell.com>
329         * UIntPtr.cs: Add some v4 custom attributes.
331 2010-02-27 Rodrigo Kumpera  <rkumpera@novell.com>
333         * Float.cs: New v4 operators.
335 2010-02-27 Rodrigo Kumpera  <rkumpera@novell.com>
337         * IntPtr.cs: Add some v4 custom attributes.
339 2010-02-27 Rodrigo Kumpera  <rkumpera@novell.com>
341         * Double.cs: New v4 operators.
343 2010-02-27 Rodrigo Kumpera  <rkumpera@novell.com>
345         * Type.cs: Make cor-compare happy.
347 2010-02-26 Rodrigo Kumpera  <rkumpera@novell.com>
349         * Lazy.cs: Implement all lazy modes.
351 2010-02-26 Rodrigo Kumpera  <rkumpera@novell.com>
353         * ExecutionEngineException.cs: Type is obsolete.
355 2010-02-26 Rodrigo Kumpera  <rkumpera@novell.com>
357         * Type.cs: Implement new v4 IsEnumDefined ().
359 2010-02-24 Rodrigo Kumpera  <rkumpera@novell.com>
361         * Type.cs: Implement new v4 GetEnumValue ().
363 2010-02-24 Rodrigo Kumpera  <rkumpera@novell.com>
365         * Type.cs: Implement new v4 GetEnumValues ().
367         * MonoType.cs: Ditto.
369 2010-02-23 Rodrigo Kumpera  <rkumpera@novell.com>
371         * Type.cs: Use the right kind of annotations.
373 2010-02-23 Rodrigo Kumpera  <rkumpera@novell.com>
375         * Type.cs:  Implement new v4 GetEnumNames ().
377 2010-02-22 Rodrigo Kumpera  <rkumpera@novell.com>
379         * Type.cs:  Implement new v4 GetEnumUnderlyingType ().
381 2010-02-22 Rodrigo Kumpera  <rkumpera@novell.com>
383         * Type.cs: Implement new v4 GetTypeCodeImpl ().
385 2010-02-19 Rodrigo Kumpera  <rkumpera@novell.com>
387         * Type.cs: Implement new v4 behavior for Equals.
388         
389 Fri Feb 19 09:05:36 CET 2010 Paolo Molaro <lupus@ximian.com>
391         * Decimal.cs: fixed Remainder (bug #576341).
393 2010-02-13 Gonzalo Paniagua Javier <gonzalo@novell.com>
395         * Environment.cs: implement SystemPageSize.
397 Fri Feb 12 18:38:01 CET 2010 Paolo Molaro <lupus@ximian.com>
399         * InsufficientExecutionStackException.cs: new exception type in 4.0.
401 2010-02-11 Rodrigo Kumpera  <rkumpera@novell.com>
403         * MonoType.cs: Implement GetCustomAttributesData.
405 2010-02-06  Chris Toshok  <toshok@ximian.com>
407         * AppDomain.cs (SetupInformationNoCopy): make this internal for
408         moonlight.
410 2010-02-02  Jérémie Laval  <jeremie.laval@gmail.com>
412         * AggregateException.cs:
413         * OperationCanceledException.cs: Port to .NET 4 beta 2 API
415 2010-01-31  Zoltan Varga  <vargaz@gmail.com>
417         * Enum.cs: Fix a warning.
419 2010-01-29  Carlos Alberto Cortez <calberto.cortez@gmail.com>
421         * Version.cs: Implement Parse and TryParse.
423 2010-01-28  Rolf Bjarne Kvinge  <RKvinge@novell.com>
425         * AppDomain.cs: LoadSatellite: add a boolean parameter specifiying
426         whether we should throw on exceptions or not.
428 2010-01-28  Rolf Bjarne Kvinge  <RKvinge@novell.com>
430         * TimeSpan.cs: TryParse: Handle null values to not throw ANEs.
432 2010-01-25 Gonzalo Paniagua Javier <gonzalo@novell.com>
434         * Array.cs: updates to the API from beta2.
435         * _AppDomain.cs: no GetLifeTimeService() in 4.0
437 2010-01-25  Carlos Alberto Cortez <calberto.cortez@gmail.com>
439         * Enum.cs: Implement TryParse and do the required refactoring of our
440         Parse method to support it.
442 2010-01-25  Atsushi Enomoto  <atsushi@ximian.com>
444         * Single.cs : parse MaxValue and PositiveInfinity as expected.
445           Patch by Tiaan Geldenhuys.
447 2010-01-21  Carlos Alberto Cortez <calberto.cortez@gmail.com>
449         * Activator.cs: When calling CreateInstance() and no default .ctor is
450         found for the type, don't pass the member argument to the
451         MissingMethodException, to have a better and simpler error message.
452         Fixes #396986.
454 2010-01-20 Gonzalo Paniagua Javier <gonzalo@novell.com>
456         * Tuples.cs: explicitly implement IStructural*.
458 2010-01-17  Carlos Alberto Cortez <calberto.cortez@gmail.com>
460         * UInt64.cs: Implement a lightweight version of the Parse method for
461         the overload that does not take IFormatProvider/NumberStyle
462         parameters - this gets us a nice speed up, just like we do for the
463         other number types.
464         Fixes #338022.
466 2010-01-15 Rodrigo Kumpera  <rkumpera@novell.com>
468         * Array.cs: Implement IStructuralComparer.
470 2010-01-15  Carlos Alberto Cortez <calberto.cortez@gmail.com>
472         * Int32.cs: In Parse() cast the parsed value to long *before* changing
473         its sign - this way we preserve the original value, instead of
474         accidentally changing it. This was happening parsing _exactly_
475         MaxValue + 1.
476         Fixes #475815.
478 2010-01-15  Atsushi Enomoto  <atsushi@ximian.com>
480         * DateTime.cs : In AddMilliseconds(), it seems fractional
481           milliseconds are first rounded and then added.
483 2010-01-15  Atsushi Enomoto  <atsushi@ximian.com>
485         * DateTimeOffset.cs : preserve fractions (it is somehow dropped).
487 2010-01-13  Atsushi Enomoto  <atsushi@ximian.com>
489         * Double.cs : no need to preserve old code.
491 2010-01-12  Atsushi Enomoto  <atsushi@ximian.com>
493         * Double.cs : AllowLeading/TrailingWhite should also check those
494           surrounding string constants such as "NaN".
496 2010-01-11  Carlos Alberto Cortez <calberto.cortez@gmail.com>
498         * Int32.cs: Implement support for exponent in the Parse methods.
499         Fixes #542464.
501 2010-01-10  Zoltan Varga  <vargaz@gmail.com>
503         * GC.cs: Add stubs for new net 4.0 methods.
505 2010-01-07  Jb Evain  <jbevain@novell.com>
507         * MonoType.cs (.MemberType): return the proper member type
508         for generic parameters.
510 2010-01-07  Sebastien Pouliot  <sebastien@ximian.com>
512         * Convert.cs: Fix line endings in ToBase64String (bug #568778)
513         and also the default line length. Code changed to not require
514         a BinaryReader over a MemoryStream to reduce memory requirements.
516 2010-01-07  Zoltan Varga  <vargaz@gmail.com>
518         * TermInfoDriver.cs (GetCursorPosition): Avoid waiting 1 sec here.
520 2010-01-03  Zoltan Varga  <vargaz@gmail.com>
522         * Array.cs: Fix ArrayReadOnlyList.CopyTo. Fixes #564095.
524 2010-01-03  Zoltan Varga  <vargaz@gmail.com>
526         * DateTime.cs (TryParseExact): Handle exceptions. Fixes #567857.
528 2009-12-21  Marek Habersack  <mhabersack@novell.com>
530         * Int32.cs: treat terminating null as whitespace
532 2009-12-19  Zoltan Varga  <vargaz@gmail.com>
534         * String.cs: Fix the various IndexOf and LastIndexOf methods so they handle
535         "" and a non-zero startIndex correctly. Fixes #566106.
537 2009-12-17  Sebastien Pouliot  <sebastien@ximian.com>
539         * String.cs: Fix #565602 right-padding empty strings.
541 2009-12-15  Marek Safar  <marek.safar@gmail.com>
543         * Array.cs: Optimize sort operations on all primitive types.
545 2009-12-14 Rodrigo Kumpera  <rkumpera@novell.com>
547         Type.cs (IsCompilerContext): The default implementation now checks if the
548         type's assembly is under compiler context or not.
550 2009-12-12 Rodrigo Kumpera  <rkumpera@novell.com>
552         * Environment.cs: Bump corlib version.
554 2009-12-12 Rodrigo Kumpera  <rkumpera@novell.com>
556         * MonoType.cs: Make the GetConstructorImpl machinery available
557         to be used by others.
559         * Type.cs (MakeGenericType): Is any of the arguments is not a system
560         type create an instance of MonoGenericClass instead. 
562 2009-12-09  Jb Evain  <jbevain@novell.com>
564         * StringComparer.cs (GetHashCode): properly throw
565         an ANE instead of an NRE.
567 2009-12-09  Miguel de Icaza  <miguel@novell.com>
569         * Enum.cs: Add new .NET 4.0 API.
571 2009-12-08  Marek Habersack  <mhabersack@novell.com>
573         * Type.cs: added overloads for the == and != operators (4.0).
575 2009-12-08 Rodrigo Kumpera  <rkumpera@novell.com>
577         * Type.cs: Add virtual property IsCompilerContext to cleanup
578         compiler context resolution across SRE.
580 2009-12-05  Mark Probst  <mark.probst@gmail.com>
582         * String.cs: A new LOS_limit variable which gives the maximum
583         string length that's not put in the LOS.
585         * StringBuilder.cs: Copy the string also if it's in the LOS and
586         chopping it would bring its size below the LOS limit.
588         * Environment.cs: Bump corlib version.
590 2009-12-03  Stephane Delcroix  <stephane@delcroix.org>
592         * DateTimeOffset.cs: fix dates arithmetic to avoid throwing
593         while crossing dst boundaries.
595 2009-12-03  Jb Evain  <jbevain@novell.com>
597         * Attribute.cs: remove code duplication.
599 2009-12-02  Jb Evain  <jbevain@novell.com>
601         * Enum.cs (IConvertible.ToType): properly convert enum values
602         to strings instead of their numeric value.
604 2009-12-02  Jb Evain  <jbevain@novell.com>
606         * Environment.cs (mono_corlib_version): bump.
607         * Attribute.cs: when retrieving custom attributes defined
608         on parameters belonging to a virtual method, walk
609         the inheritance chain to check for parameters attributes
610         all the way down.
612 2009-12-01  Jb Evain  <jbevain@novell.com>
614         * Type.cs (MakeByRefType): throw a TypeLoadException when being
615         called on type which is already ByRef.
617 2009-11-26  Sebastien Pouliot  <sebastien@ximian.com>
619         * Random.cs: Fix case where the diff between min and max
620         is very large in Next(int,int). Fix bug #558593
622 2009-11-25  Zoltan Varga  <vargaz@gmail.com>
624         * Delegate.cs (GetHashCode): Fix this so it is constant.
626 2009-11-24  Jb Evain  <jbevain@novell.com>
628         * Array.cs: use ContainsGenericParameters instead of
629         IsGenericTypeDefinition as it catches more cases.
631 2009-11-24  Jb Evain  <jbevain@novell.com>
633         * Array.cs (IList.this[int]): prevent the use of the IList indexer 
634         when dealing with a multi dimensional array.
636 2009-11-24  Jb Evain  <jbevain@novell.com>
638         * Array.cs (Clear): throw an IndexOutOfRangeException instead
639         of an ArgumentOutRangeException for a negative length.
641 2009-11-24  Jb Evain  <jbevain@novell.com>
643         * Array.cs (CreateInstance): do not allow open generic types.
645 2009-11-24  Jb Evain <jbevain@novell.com>
647         * Array.cs (CreateInstance): do not allow void arrays.
649 2009-11-23  Carlos Alberto Cortez <calberto.cortez@gmail.com>
651         * Array.cs: When sorting and we are sorting value types implementing
652         IComparable<T>, use its corresponding Comparer<T>.Default helper. 
653         This way we avoid casting our values to IComparable<T>, and thus we 
654         avoid *all* the boxing for them. Using Comparer<T>.Default seems to be
655         slower for reference types, so we don't use it for those ones.
657 2009-11-22  Miguel de Icaza  <miguel@novell.com>
659         * Environment (IsUnix): expose this common property, so we avoid
660         duplicating code. 
662 2009-11-18  Marek Safar  <marek.safar@gmail.com>
664         * Type.cs: Use faster string comparers.
666 2009-11-17  Atsushi Enomoto  <atsushi@ximian.com>
668         * DateTimeOffset.cs : fix parse failure on missing colon.
669           Fixed bug #547675, patch by Santa Marta (see bugzilla).
671 2009-11-13  Marek Safar  <marek.safar@gmail.com>
673         * Lazy.cs: Check recursive initializations.
675 2009-11-11 Rodrigo Kumpera  <rkumpera@novell.com>
677         * Type.cs: Fix Make(Array|ByRef|Pointer)Type to not crash
678         with user types. 
680         * Type.cs (MakeGenericType): Don't crash with user types.
682         * Type.cs (GetGenericParameterConstraints): Don't crash with user types.
684         * Type.cs (GenericParameterAttributes): Don't crash with user types.
686         * Type.cs (IsInstanceOfType): Don't crash with user types.
688         * Type.cs (IsAssignableFrom): Better handle User Types.
690         * Type.cs (GetInterfaceMap): Don't crash with user types.
692         * Type.cs (Equals): Fix behavior to be more MS compatible.
694 2009-11-11  Sebastien Pouliot  <sebastien@ximian.com>
696         * Console.cs: Reduce duplication between OpenStandard[Input|
697         Output|Error] and, for Moonlight, don't return a NullStream if
698         security is disabled (e.g. when smcs executes) r: alan
699         Note: include changes from r145773 (2-6) from toshok
701 2009-11-10  Miguel de Icaza  <miguel@novell.com>
703         * Lazy.cs: Updated API to 4.0 Beta 2
705 2009-11-08  Juraj Skripsky  <js@hotfeet.ch>
707         * Array.cs (Sort):
708         - Sort(..) without IComparer param call Sort(.., (IComparer)null) siblings
709         - Sort(keys, items,..) with items == null call Sort(keys,..) siblings
710         Add missing argument checks. Add SortImpl method to be used by
711         List<T>.Sort(Comparison <T>).
713         Part 3 of 3 fixing bug #351638.
715 2009-11-08  Juraj Skripsky  <js@hotfeet.ch>
717         * Array.cs (Sort): Add and call
718         - SortImpl methods which do the real work without argument checking
719         - MoveNullKeysToFront methods which do a null <-> non-null sorting and
720         ensure that all non-null object implement IComparable/IComparable<T>
722         Part 2 of 3 fixing bug #351638.
724 2009-11-08  Juraj Skripsky  <js@hotfeet.ch>
726         * Array.cs (Sort): optimize qsort by employing multiple, faster copies
727         of the inner-most loops:
728         - for case "comparer != null"
729         - for case "pivot is IComparable<T>"
730         - for case "pivot is IComparable"
731         Remove compare methods as the inner loops now do their work.
732         Use GetValueImpl instead of GetValue in swap.
734         Part 1 of 3 fixing bug #351638.
736 2009-11-03  Miguel de Icaza  <miguel@novell.com>
738         * TermInfoDriver.cs (CheckWindowDimensions) Avoid extra checks, as
739         the condition was always checked previously.
741         (WriteSpecialKey): Actually write the tab character.
742         
743 2009-11-02  Miguel de Icaza  <miguel@novell.com>
745         * More NET_2_0 define removal, assume that it is now always true. 
747 2009-10-30  Sebastien Pouliot  <sebastien@ximian.com>
749         * MonoType.cs: Don't pass null value to icalls 
750         GetCorrespondingInflated[Constructor|Method]
752 2009-10-28  Lluis Sanchez Gual  <lluis@novell.com>
754         * MarshalByRefObject.cs: In InitializeLifetimeService, if a lease
755         exists for the object return it, instead of always creating
756         a new one. Fixes bug #544357.
758 2009-10-27  Sebastien Pouliot  <sebastien@ximian.com>
760         * String.cs: Remove unused (and unneeded) internal call defs.
761         Reduce duplication (and fix test) for Concat (object,object).
762         Avoid allocating zero-length strings in the cases where the
763         FX does not do so.
765 2009-10-22  Miguel de Icaza  <miguel@novell.com>
767         *  String.cs (IsNullOrWhiteSpace, Concat, Join): New 4.0 methods. 
769         * IntPtr.cs (Add, Subtract): New 4.0 methods.
771         * Tuple.cs: Updated signature.
773 2009-10-19  Marek Safar  <marek.safar@gmail.com>
775         * IObservable.cs, IObserver.cs: New files.
776         
777         * EventHandler.cs: Cleanup.
779 2009-10-16  Miguel de Icaza  <miguel@novell.com>
781         * Jumbo patch to drop support for pre-NET_2_0 code:
783         Remove ONLY_1_1 code
784         Remove NET_1_0 only code
785         Remove NET_2_0 defines assuming the value is true.
787         Improve one MonoTODO;   Implement one MonoTODO/Niex.
789         Ran a textual diff on the resulting assembly to validate that the
790         restul is the same on NET_2_0
792 2009-10-14  Jonathan Pryor  <jpryor@novell.com>
794         * AppDomain.cs: Re-add BaseDirectory in the MonoTouch profile.
796 2009-10-14  Sebastien Pouliot  <sebastien@ximian.com>
798         * Exception.cs: Use StackFrame.GetSecureFileName to display (or 
799         not) the file names (and paths). Don't serialize Source for
800         Moonlight.
801         * ValueType.cs: Change InternalEquals (icall) visibility to 
802         private since it is not used elsewhere outside the type.
804 2009-10-08  Sebastien Pouliot  <sebastien@ximian.com>
806         * AppDomain.cs: Remove NET_2_1 specific DefineDynamicAssembly(
807         AssemblyName,AssemblyBuilderAccess,bool) since it is not part
808         of SL. Provide a ToString implementation similar to Silverlight
809         for Moonlight (and without directly using an icall)
811 2009-10-07  Sebastien Pouliot  <sebastien@ximian.com>
813         * String.cs: Remove unsafe code duplication in ToCharArray.
814         Define out the unused InternalStrcpy icalls
815         * StringComparer.cs: Seal internal/private inner classes.
817 2009-10-06  Sebastien Pouliot  <sebastien@ximian.com>
819         * Decimal.cs: Use Compare method instead of directly using the
820         decimalCompare internal call.
822 2009-10-06  Sebastien Pouliot  <sebastien@ximian.com> 
824         * Enum.cs: Add an internal Value property as a single point to 
825         call the internal call get_value.
827 2009-10-06  Sebastien Pouliot  <sebastien@ximian.com>
829         * String.cs: Remove normalization methods for Moonlight
831 2009-10-06  Jonathan Chambers  <joncham@gmail.com>
833         * String.cs (Contains): Use CompareOptions.Ordinal. Fixes bug
834         #535425.
836 2009-10-04  Mark Probst  <mark.probst@gmail.com>
838         * AppDomain.cs: Check for static AppDomainInitializer earlier to
839         throw the appropriate exception instead of failing at
840         serialization.
842 2009-10-04  Mark Probst  <mark.probst@gmail.com>
844         * AppDomainSetup.cs: Functionality for serializing a few members
845         to simplify cross-domain copying from within the runtime.
847         * AppDomain.cs (CreateDomain): Make AppDomainSetup serialize the
848         necessary members in preparation for the cross-domain copy.
850         * Environment.cs: Corlib version bump.
852 2009-10-02  Marek Safar  <marek.safar@gmail.com>
854         * Array.cs, Decimal.cs, String.cs, Console.cs, _AppDomain.cs,
855         AppDomain.cs: Removed prehistoric mcs workarounds.
857 2009-09-30  Mark Probst  <mark.probst@gmail.com>
859         * Thread.cs: Remove serialized culture icall stuff from
860         InternalThread.  Implement it by using the cross-domain byte array
861         transfer icalls.
863         * Environment.cs: Corlib version bump.
865 2009-09-29 Gonzalo Paniagua Javier <gonzalo@novell.com>
867         * TermInfoDriver.cs: attempt to fix bug #527487.
869 2009-09-28  Atsushi Enomoto  <atsushi@ximian.com>
871         * Console.cs : do not use codepage 28591. It breaks build on
872           Japanese Windows.
874 2009-09-27 Gonzalo Paniagua Javier <gonzalo@novell.com>
876         * TermInfoDriver.cs: avoid segv if the pointer is not properly
877         initialized.
879 2009-09-26  Mark Probst  <mark.probst@gmail.com>
881         * NumberFormatter.cs: Remove the _thread field.
883 2009-09-26  Mark Probst  <mark.probst@gmail.com>
885         * Environment.cs: Corlib version bump.
887 2009-09-24  Zoltan Varga  <vargaz@gmail.com>
889         * Type.cs: Initialize the Missing field.
891 2009-09-22  Sebastien Pouliot  <sebastien@ximian.com>
893         * Environment.cs: Remove imperative CAS environment
894         permission checks under NET_2_1
896 2009-09-21 Gonzalo Paniagua Javier <gonzalo@novell.com>
898         * Console.cs: mark methods/properties that only work on windows.
899         Fixes bug #540593.
901 2009-09-21  Sebastien Pouliot  <sebastien@ximian.com>
903         * AppDomain.cs: Remove use of IPrincipal, Evidence and
904         PermissionSet types for NET_2_1
906 2009-09-20  Sebastien Pouliot  <sebastien@ximian.com>
908         * Activator.cs: Remove COM related method for NET_2_1
909         * AppDomain.cs: Remove extra methods and properties for NET_2_1
910         * AppDomainSetup.cs: Remove some properties for NET_2_1
912 2009-09-20  Sebastien Pouliot  <sebastien@ximian.com> 
914         * AppDomain.cs, Environment.cs: Remove imperative CAS file IO
915         permission checks under NET_2_1
917 2009-09-20  Sebastien Pouliot  <sebastien@ximian.com>
919         * AppDomainManager.cs: Remove NET_2_1 defines
920         * AppDomainManager_2_1.cs: New. NET_2_1 specific implementation
922 2009-09-04  Miguel de Icaza  <miguel@novell.com>
924         * TermInfoDriver.cs: Handle a few more key combinations.
926 2009-08-14  Miguel de Icaza  <miguel@novell.com>
928         * TermInfoDriver.cs (GetCursorPosition): Before we probe the
929         terminal for the cursor location, read all the pending console
930         input into our internal buffer and then send the cursor location
931         request.
933 2009-08-26  Sebastien Pouliot  <sebastien@ximian.com>
935         * TimeSpan.cs: Fix parsing when seconds are not specified.
937 2009-08-14  Marek Safar  <marek.safar@gmail.com>
939         * Type.cs: Made IsClass work under compiler context.
941 2009-08-12  Zoltan Varga  <vargaz@gmail.com>
943         * ResolveEventArgs.cs: Add net 4.0 RequestingAssembly property.
945 2009-08-11  Jérémie Laval  <jeremie.laval@gmail.com>
947         * Funcs.cs:
948         * Action.cs:
949         * AggregateException.cs: Add BOOTSTRAP_NET_4_0.
951 2009-08-07  Marek Safar  <marek.safar@gmail.com>
953         * AppDomain.cs: IsHomogenous always returns true for now.
955 2009-08-06 Rodrigo Kumpera  <rkumpera@novell.com>
957         * Environment.cs: Bump corlib version.
959 2009-08-04 Rodrigo Kumpera  <rkumpera@novell.com>
961         * Environment.cs: Bump corlib version.
963 2009-08-03  Zoltan Varga  <vargaz@gmail.com>
965         * Environment.cs: Bump corlib version.
967 2009-07-30  Marek Safar  <marek.safar@gmail.com>
969         * AppDomain.cs: Implemented 2.0 CreateDomain.
971 2009-07-28 Rodrigo Kumpera  <rkumpera@novell.com>
973         Type.cs (MakeArrayType): Handle one-dym multidimensional array
974         created with Type::MakeArrayType (1).
976 2009-07-28  Rodrigo Kumpera  <rkumpera@novell.com>
978         * Type.cs (FindMembers): Fix the ordering of returned members
979         to method, ctor, property, event, field and nested type.
981 2009-07-27 Gonzalo Paniagua Javier <gonzalo@novell.com>
983         * Array.cs: empty arrays just return -1 in LastIndexOf().
985 2009-07-27  Miguel de Icaza  <miguel@novell.com>
987         * Value types implementing IConvertible.ToType now throw an
988         ArgumentNullException if they are passed a null as the
989         "targetType" argument.
991         This code can not be put directly in the Convert.ToType method, as
992         this method is used by Convert.ToType (object o, TypeCode tc)
993         which uses null as a target to throw a different kind of error
994         (InvalidCastException).
996         Fixes a few more bugs in the Silverlight BCL test suite.
998         Additionally, the parameter type has been renamed.
1000 2009-07-26  Miguel de Icaza  <miguel@novell.com>
1002         * Type.cs: (GetMember) call directly the worker method, instead of
1003         calling through an intermediary.
1005         (GetMember, full): throw if the name is null.
1007 2009-07-19  Robert Jordan  <robertj@gmx.net>
1009         * __ComObject.cs: Factor out Initialize method and expose it to
1010         ComInteropProxy. Fixes bug #520437.
1012 2009-07-14  Rodrigo Kumpera  <rkumpera@novell.com>
1014         * Attribute.cs (GetCustomAttributes): Pass typeof(Attribute)
1015         to GetCustomAttributes to match MS.
1017         * MonoCustomAttrs.cs (GetCustomAttributesBase): Do proper
1018         checking of which types are handled by the runtime.
1020         * MonoCustomAttrs.cs (IsDefined): Same.
1022         Fixes #521885.
1024 2009-07-14  Zoltan Varga  <vargaz@gmail.com>
1026         * Environment.cs: Bump corlib version.
1028 2009-07-07  Rodrigo Kumpera  <rkumpera@novell.com>
1030         * Type.cs (IsUserType): Only TypeDelegator and types
1031         outside of corlib are unhandled usertypes.
1033 2009-07-02  Marek Safar  <marek.safar@gmail.com>
1035         * Type.cs, AppDomain.cs: 4.0 bits.
1037 2009-06-26 Gonzalo Paniagua Javier <gonzalo@novell.com>
1039         * DateTime.cs: if the DateTimeOffset is out of bounds, let Parse
1040         report the error. Fix stupid harmless typo.
1041         * DateTimeOffset.cs: report error if the UTC date/time is out of
1042         bounds.
1044 2009-06-25  Miguel de Icaza  <miguel@novell.com>
1046         * Array.cs: IList.this needs to throw IndexOutOfRangeException
1047         when the index is invalid, not ArgumentOutOfRangeException.
1049         * Int32.cs: Do not crash if the FormatProvider returns a null
1050         value on the call to GetFormat (Type).
1052         Validate the NumberStyles, passes Int/Int32Parse2.exe
1054         Fix regression introduced in 2005, we need to throw
1055         ArgumentNullException on Parse.
1057 2009-06-25  Miguel de Icaza  <miguel@novell.com>
1059         * Int32.cs: Fix regression introduced in 2005, we need to throw
1060         ArgumentNullException on Parse.
1062 2009-06-23 Gonzalo Paniagua Javier <gonzalo@novell.com>
1064         * DateTime.cs: ignore MinValue to avoid DateTimeOffset ctor throwing
1065         when adjusting for TZ.
1067 2009-06-22  Miguel de Icaza  <miguel@novell.com>
1069         * String.cs: In Silverlight the whitespace characters 0x202f and
1070         0x205f are considered for Trim and Split purposes. 
1072 2009-06-21  Marek Safar  <marek.safar@gmail.com>
1074         * Tuples.cs: Add Equals, GetHashCode.
1076 2009-06-21  Zoltan Varga  <vargaz@gmail.com>
1078         * IntPtr.cs (.ctor): Disable the check in the long ctor until we
1079         can figure out how to do it properly.
1081 2009-06-20  Zoltan Varga  <vargaz@gmail.com>
1083         * IntPtr.cs (.ctor): Allow long values whose 31th bit is set.
1085 2009-06-18 Gonzalo Paniagua Javier <gonzalo@novell.com>
1087         * DateTime.cs: quick fix for the 1.x build.
1089 2009-06-18 Gonzalo Paniagua Javier <gonzalo@novell.com>
1091         * AppDomainSetup.cs: update attribute.
1092         * TermInfoDriver.cs: ensure we are initialized in CheckWindowDimensions().
1093         * DateTimeOffset.cs: Implement Parse().
1094         * DateTime.cs: add 'zzz' to the list of default time formats. Return a
1095         DateTimeOffset from _DoParse. Fixed the offset minutes when the
1096         timezone is specified as a negative one.
1097         * Console.cs: updates for MoveBufferArea().
1098         * AppDomainManager.cs: implement EntryAssembly.
1099         * AppDomain.cs: update attribute.
1101 2009-06-15  Atsushi Enomoto  <atsushi@ximian.com>
1103         * Environment.cs : bump corlib version.
1105 2009-06-12  Bill Holmes  <billholmes54@gmail.com>
1107         * Variant.cs (GetValue):  Changing the bool case to use the short value.  
1108           This is to avoid junk in the high word.
1110         Contributed under MIT/X11 license.
1112 2009-06-10  Marek Safar  <marek.safar@gmail.com>
1114         * Predicate.cs, Action.cs, Funcs.cs, Comparison.cs, IComparable.cs,
1115         Converter.cs, EventHandler.cs: Add type variance.
1116         
1117         * InvalidTimeZoneException.cs,
1118         TimeZoneNotFoundException.cs: New file.
1120 2009-05-27  Zoltan Varga  <vargaz@gmail.com>
1122         * AppDomain.cs (DoAssemblyResolve): Fix recursion detection. Fixes #507003.
1124 2009-05-26  Mark Probst  <mark.probst@gmail.com>
1126         * Thread.cs: Don't set the execution context when creating a
1127         thread because the _ec member is thread static and we set the
1128         wrong one.  It's now set by the runtime.  We just provide the
1129         correct one.
1131         * Environment.cs: Bump corlib version.
1133 2009-05-22  Zoltan Varga  <vargaz@gmail.com>
1135         * Tuple.cs Tuples.cs: New files.
1137         * Lazy.cs LazyExecutionMode.cs Funcs.cs: New files.
1139 2009-05-14 Gonzalo Paniagua Javier <gonzalo@novell.com>
1141         * Type.cs: (GetInterfaceMap) 'this' can't be an interface itself.
1142         Fixed bug #503728.
1144 2009-05-03 Gonzalo Paniagua Javier <gonzalo@novell.com>
1146         * TermInfoDriver.cs: replace Peek with DataAvailable.
1148 2009-05-02  Sebastien Pouliot  <sebastien@ximian.com>
1150         * Console.cs: Remove Windows-specific p/invokes and SSC code
1151         from the NET_2_1 build.
1153 2009-05-01  Sebastien Pouliot  <sebastien@ximian.com>
1155         * AppDomainManager.cs: Fix base class for NET_2_1 and implement
1156         CheckSecuritySettings (added in 2.0SP and part of SL API)
1158 2009-04-29 Gonzalo Paniagua Javier <gonzalo@novell.com>
1160         * Enum.cs: return the value as an enum of the right type.
1162 2009-04-28 Gonzalo Paniagua Javier <gonzalo@novell.com>
1164         * Enum.cs: avoid exceptions from ToObject and use Try* instead.
1166 2009-04-25  Miguel de Icaza  <miguel@novell.com>
1168         * TermInfoDriver.cs: Use the new StreamReader.DataAvailable to
1169         load all the data that was added into the `stdin' stream when we
1170         did the `Read'.
1172 2009-04-24  Sebastien Pouliot  <sebastien@ximian.com>
1174         * Environment.cs: #ifdef out code that use the registry for the 
1175         NET_2_1 profile and some other properties (2) that added
1176         [SecuritySafeCritical] methods to audit inside Moonlight.
1178 2009-04-21  Mark Probst  <mark.probst@gmail.com>
1180         * Environment.cs: Bump corlib version.
1182 2009-04-21  Miguel de Icaza  <miguel@novell.com>
1184         * TermInfoDriver.cs: Prevent race condition if two threads try to
1185         initialize the Console at the same time. 
1187         What happens is that inited is set, and elsewhere we try to
1188         dereference native_terminal_size before it is set.
1190         * Reduce code size by using a table instead of manually making a
1191         few hundred calls.
1192         
1193 2009-04-20  Miguel de Icaza  <miguel@novell.com>
1195         * Enum.cs (MonoEnumInfo): Compare bytes, shorts, ints and longs as
1196         unsigned values as specified and to fix 371559, from the bug:
1198                 So the actual difference is that MSFT's Enum.GetValues
1199                 orders the members as unsigned even when the underlying
1200                 type is int.  See the following.  Perhaps that's what's
1201                 being implied by "binary values" in that Enum.GetValues
1202                 MSDN quote above.
1204 2009-04-18  Mark Probst  <mark.probst@gmail.com>
1206         * NumberFormatter.cs: Keep the current thread's number formatter
1207         as a ThreadStatic member.
1209 2009-04-18  Mark Probst  <mark.probst@gmail.com>
1211         * Environment.cs: Bump corlib version.
1213 2009-04-12 Gonzalo Paniagua Javier <gonzalo@novell.com>
1215         * GCNotificationStatus.cs: new enum.
1217 2009-04-10  Zoltan Varga  <vargaz@gmail.com>
1219         * Array.cs: Make some of the InternalArray methods non-generic to cut down
1220         on the number of instantiations. Add implementation for 
1221         ICollection:IsReadOnly.
1223 2009-03-26  Jb Evain  <jbevain@novell.com>
1225         * Delegate.cs (CreateDelegate): Support for delegates
1226         on static methods closed on a null target.
1228 2009-03-26  Zoltan Varga  <vargaz@gmail.com>
1230         * Environment.cs: Bump corlib version.
1232 2009-03-25  Sebastien Pouliot  <sebastien@ximian.com>
1234         * Delegate.cs: Add new parameter to CreateDelegate_internal (icall)
1235         * Environment.cs: Bump mono_corlib_version to 73
1237 2009-03-25  Jb Evain  <jbevain@novell.com>
1239         * Delegate.cs (CreateDelegate): fix checks to deal with
1240         valuetypes -> obj conversions for arguments, and avoid
1241         issues with such unallowed conversion for return types.
1243 2009-03-23  Zoltan Varga  <vargaz@gmail.com>
1245         * String.cs (LastIndexOf): Handle empty strings correctly. Fixes #486234.
1247 2009-03-18  Zoltan Varga  <vargaz@gmail.com>
1249         * Type.cs (GetGenericTypeDefinition): Make this throw an exception to be
1250         consistent with MS.NET. Move the real implementation to MonoType.
1252 2009-03-18  Marek Safar  <marek.safar@gmail.com>
1254         * Decimal.cs: Initialize all fields.
1256 2009-03-16 Gonzalo Paniagua Javier <gonzalo@novell.com>
1258         * ConsoleDriver.cs:
1259         * TermInfoDriver.cs: handle Ctrl-D (or similar) in ReadLine.
1260         Fixes bug #483950.
1262         * ControlCharacters.cs: index to the control characters list.
1263         * Environment.cs: bumped corlib version.
1265 2009-03-14  Miguel de Icaza  <miguel@novell.com>
1267         * Convert.cs (ToType): Control whether this internal function will
1268         call an IConvertible.ToType method or not.  
1270         Classes and structs implementing IConvertible in mscorlib (the
1271         only callers that can access Convert.ToType) must pass false to
1272         avoid a infinite recursion problem and callers from the public
1273         Convert API must call it with true.
1275         This fixes the regression reported in #485377 that was introduced
1276         by the fix for #481687.
1278         * Int16.cs, UInt64.cs, Double.cs, Enum.cs, SByte.cs, UInt16.cs,
1279         Byte.cs, Decimal.cs, Int32.cs, String.cs, Int64.cs, Char.cs,
1280         Boolean.cs, Single.cs, UInt32.cs: Update the call sites.
1282 2009-03-07  Gert Driesen  <drieseng@users.sourceforge.net>
1284         * Convert.cs: Do not throw InvalidCastException if
1285         IConvertible.ToType returns null.
1287 2009-03-06  Andrés G. Aragoneses  <aaragoneses@novell.com>
1289         * Convert.cs: Correct typo in exception message.
1291 2009-03-06  Miguel de Icaza  <miguel@novell.com>
1293         * Convert.cs: Apply patch from Tom Hindle that uses
1294         IConvertible.ToType if there are no other possible conversions
1295         defined. 
1297         Fixes: #481687 
1299 2009-03-06  Rodrigo Kumpera  <rkumpera@novell.com>
1301         * MonoType.cs (MonoTypeInfo): Add default_ctor field.
1303         * MonoType.cs: Add GetDefaultConstructor that caches using
1304         type_info.default_ctor.
1306         * MonoType.cs (FullName): Protects against type_info been replaced
1307         under the hood.
1309         * Activator.cs (CreateInstance): If the type is a MonoType resolve the
1310         default constructor using the new method from MonoType.
1312         Improves Activator::CreateInstance performance by at least 30%, reduces object churn
1313         and domain lock contention.
1315 2009-03-03  Rodrigo Kumpera  <rkumpera@novell.com>
1317         * Guid.cs (BaseToString): Reduce allocations.
1319 2009-03-02  Rodrigo Kumpera  <rkumpera@novell.com>
1321         * Environment.cs: Bump corlib version.
1323 2009-03-02  Rodrigo Kumpera  <rkumpera@novell.com>
1325         * Enum.cs (IsDefined): If the enum underlying type is int32, use
1326         the generic version, which doesn't box every element of the array.
1328 2009-03-02  Rodrigo Kumpera  <rkumpera@novell.com>
1330         * Enum.cs (GetName): If the enum underlying type is int32, use
1331         the generic version, which doesn't box every element of the array.
1333 2009-03-02  Rodrigo Kumpera  <rkumpera@novell.com>
1335         * Enum.cs (MonoEnumInfo::GetInfo): Share the boxed form of the
1336         MonoEnumInfo between both caches.
1338 2009-02-28  Zoltan Varga  <vargaz@gmail.com>
1340         * Enum.cs (FindName): Use a hash table for looking up names instead of
1341         a linear search for enums with a lot of values.
1343 2009-02-27  Rodrigo Kumpera  <rkumpera@novell.com>
1345         * UInt16.cs (CompareTo/short): Make it return the
1346         same values as the /object version.
1348         * Enum.cs (CompareTo): Use new compare_value_to icall to do the comparison.
1349         This avoids two allocations and reduce the number of trips to unmanaged land
1350         by one.
1352         The performance improvement is up to 3.5x with the bonus of reducing the generated
1353         garbage.
1355 2009-02-26  Marek Safar  <marek.safar@gmail.com>
1357         * Nullable.cs: Inline GetValueOrDefault.
1359 2009-02-26  Zoltan Varga  <vargaz@gmail.com>
1361         * String.cs (FormatHelper): If all the arguments are strings, compute an
1362         initial length for the stringbuilder to avoid reallocations.
1364         * MonoType.cs (FullName): Cache the result of this in a field, as
1365         computing it is expensive.
1367         * Environment.cs: Bump corlib version.
1368         
1369 2009-02-25  Zoltan Varga  <vargaz@gmail.com>
1371         * Enum.cs (GetInfo): Add a global cache in addition to the thread-local
1372         caches to accomodate short living threads like threadpool threads.
1374 2009-02-23  Zoltan Varga  <vargaz@gmail.com>
1376         * Type.cs: Add IsUserType internal property.
1378 2009-02-21  Jb Evain  <jbevain@novell.com>
1380         * MonoType.cs (InvokeMember): don't pass a null args to
1381         Binder.BindToMethod. Fix for #471275.
1383 2009-02-12  Robert Jordan  <robertj@gmx.net>
1385         * Exception.cs: Rename remote_stack_trace for MS.NET
1386         compatibility. Fixes #425512.
1388 2009-02-12  Lluis Sanchez Gual  <lluis@novell.com>
1390         * MarshalByRefObject.cs: Implemented MemberwiseClone(bool).
1392 2009-02-10 Gonzalo Paniagua Javier <gonzalo@novell.com>
1394         * AppDomain.cs: this fixes the remoting tests.
1395         Zoltan found out that there was a domain improperly using shadow
1396         copy.
1398 2009-02-04 Gonzalo Paniagua Javier <gonzalo@novell.com>
1400         * DateTime.cs: check for null and empty strings before anything else
1401         in CoreParse.
1403 2009-01-27  Zoltan Varga  <vargaz@gmail.com>
1405         * Type.cs (GetHashCode): Work on UnderlyingSystemType. Fixes #467229.
1407 2009-01-24  Zoltan Varga  <vargaz@gmail.com>
1409         * Variant.cs ApplicationIdentity.cs ActivationContext.cs Environment.cs
1410         AppDomain.cs: Fix warnings.
1412 2009-01-24 Gonzalo Paniagua Javier <gonzalo@novell.com>
1414         * AppDomain.cs: LoadAssembly() returns null instead of throwing now.
1415         Add new LoadSatellite method.
1417 2009-01-20  Mark Probst  <mark.probst@gmail.com>
1419         * Exception.cs: Added a comment explaining the use of trace_ips.
1421 2009-01-12  Bill Holmes  <billholmes54@gmail.com>
1423         * Variant.cs (GetValue):  Handling the NULL IDispatch 
1424           and IUnknown case.
1426         Contributed under MIT/X11 license.
1428 2009-01-09  Miguel de Icaza  <miguel@novell.com>
1430         * DateTime.cs: Implement TryParse in a way that will not depend on
1431         the try/catch statement.   The try/catch statement is still there
1432         *just in case*, I might have missed some codepaths.
1434 2009-01-06  Atsushi Enomoto  <atsushi@ximian.com>
1436         * DateTime.cs : when ".FF..." is specified, allow milliseconds-less
1437           time. Fix #444103.
1439 2008-12-19  Bill Holmes  <billholmes54@gmail.com>
1441         * Environment.cs (GetEnvironmentVariable) :  Avoiding an nre if 
1442           the variable is not set.
1444         * Environment.cs (SetEnvironmentVariable) : Adding a call to 
1445           internalBroadcastSettingChange to notify Windows that an environment 
1446           variable has changed.
1448         Contributed under MIT/X11 license.
1450 2008-12-18  Jb Evain  <jbevain@novell.com>
1452         * String.cs: the Compare methods that were specific to SL2 are now
1453         also in .net 2/3.5 sp1.
1455 2008-12-10  Bill Holmes  <billholmes54@gmail.com>
1457         * Variant.cs (SetValue):   Changing the behavior for COM object in 
1458           VARIANTs to match MS.  Also adding support for BStrWrapper, 
1459           UnknownWrapper, and DispatchWrapper.
1461         Contributed under MIT/X11 license.
1463 2008-11-28  Miguel De Icaza  <miguel@novell.com>
1465         * TermInfoDriver.cs: Also register a mapping to make verase be the
1466         backspace key.  Funny thing: verase was fetched from the termios,
1467         but it was *never* actually used in this file.
1469         VSUSP and VINTR are likewise ignored.   Must ponder this.
1471         This makes the backspace key in MacOS work on interactive
1472         applications.
1473         
1474 2008-11-15  Kornél Pál  <kornelpal@gmail.com>
1476         * Convert.cs: Removed useless check from ToChar (ushort).
1478 2008-11-06  Bill Holmes  <billholmes54@gmail.com>
1480         * Type.cs (FindMembers):  Changing the instantiated type of the 
1481           returned MemberInfo array to match the MemberTypes flag
1482           passed in argument 1.
1484         Contributed under MIT/X11 license.
1486 Mon Nov 3 16:39:37 CET 2008 Paolo Molaro <lupus@ximian.com>
1488         * Array.cs: in the IList set_Item, ensure the array
1489         element is set using the proper type checks (bug #440819).
1491 Mon Oct 13 16:40:56 CEST 2008 Paolo Molaro <lupus@ximian.com>
1493         * Environment.cs, OperatingSystem.cs: complete support for
1494         PlatformID (bug #433108).
1496 2008-10-08 Gonzalo Paniagua Javier <gonzalo@novell.com>
1498         * AppDomain.cs: (Load(AssemblyName)) Use the CodeBase after the Name
1499         when both are provided.
1500         Fixes bug #322228.
1502 2008-10-08  Bill Holmes  <billholmes54@gmail.com>
1504         * Variant.cs : Adding the BRECORD field to ensure the right size on
1505           a 64-bit OS.  32-bit 16 bytes, 32-bit 24 bytes.
1507         Contributed under MIT/X11 license.
1509 2008-10-08  Bill Holmes  <billholmes54@gmail.com>
1511         * Variant.cs (SetValue) : Adding code to handle enums.
1513         Contributed under MIT/X11 license.
1515 2008-10-08  Bill Holmes  <billholmes54@gmail.com>
1517         * Variant.cs : Cleaning up some tab formatting problems.
1519         Contributed under MIT/X11 license.
1521 2008-10-08  Zoltan Varga  <vargaz@gmail.com>
1523         * PlatformID.cs: Define Xbox/MacOSX on the 2.0 profile too, since it
1524         is part of NET 3.5 SP1.
1526 2008-10-07  Marek Habersack  <mhabersack@novell.com>
1528         * Math.cs: implemented the away from zero rounding for the Round
1529         (double, int, MidpointRounding) overload.
1531 2008-10-06  Zoltan Varga  <vargaz@gmail.com>
1533         * Activator.cs (CreateInstance): Don't return the return value of the
1534         ctor.Invoke (object, ...) overload since it is null, return 'newOb' instead.
1536 Mon Oct 6 15:12:25 CEST 2008 Paolo Molaro <lupus@ximian.com>
1538         * Array.cs: better message when keys cannot be compared
1539         when sorting (bug #368455).
1541 2008-09-29  Rodrigo Kumpera  <rkumpera@novell.com>
1543         * Type.cs (MakeGenericType): Only use UnderlyingSystemType for user types.
1544         This must exclude TypeBuilder and EnumBuilder. Fixes #430508.
1546 2008-09-28  Juraj Skripsky  <js@hotfeet.ch>
1548         * String.cs (ReplaceUnchecked): Avoid any unnecessary work and 
1549         string allocations by returning early when no oldValue was found.
1551 2008-09-24  Marek Habersack  <mhabersack@novell.com>
1553         * Double.cs: check whether decimal_separator, group_separator and
1554         currency_symbol strings aren't empty before trying to index them
1555         in Parse ().
1557 2008-09-24  Jb Evain  <jbevain@novell.com>
1559         * AppDomain.cs (CreateDomain): call the domain initializer in
1560         the newly created AppDomain. Fixes #429545.
1562 2008-09-24  Jb Evain  <jbevain@novell.com>
1564         * AppDomain.cs: implement the CreateDomain overload which
1565         takes an AppDomain initializer. Fixes #429545.
1567 2008-09-17  Robert Jordan  <robertj@gmx.net>
1569         * DelegateSerializationHolder.cs: Starting with .NET 2.0, delegates
1570         of non-public methods are allowed to be serialized. Fixes #425345.
1572 2008-09-15  Andy Hume  <andyhume32@yahoo.co.uk>
1574         * DateTimeOffset.cs: DateTimeOffset currently has no
1575         deserialization constructor, thus deserialization
1576         fails ("SerializationException: The constructor to deserialize an
1577         object of type System.DateTimeOffset was not found.")
1579         Patch attached, implements GetObjectData and that constructor.
1580         Also includes tests, which include round-tripping to/from MSFT.
1582 2008-09-14  Zoltan Varga  <vargaz@gmail.com>
1584         * ConsoleDriver.cs: Remove obsolete GetTtySize icall.
1586 2008-09-09  Marek Safar  <marek.safar@gmail.com>
1588         * Convert.cs, Decimal.cs: Fixed float/double to decimal range check.
1590 2008-09-07  Miguel de Icaza  <miguel@novell.com>
1592         * TermInfoDriver.cs: Add support for updating the size of the
1593         terminal when it changes.   
1595 2008-08-27  Miguel de Icaza  <miguel@novell.com>
1597         * TermInfoDriver.cs: Adds support for the Insert and Delete keys
1598         on the keyboard.   
1600 2008-08-26  Miguel de Icaza  <miguel@novell.com>
1602         * New console features are used by gmcs.exe, but since we only
1603         build gmcs.exe with the bootstrap corlib, we need to ensure all
1604         the new stuff is included in BOOTSTRAP_NET_2_0
1606 2008-08-26  Robert Jordan  <robertj@gmx.net>
1608         * AppDomain.cs (get_Evidence): Fix endless recursion exposed
1609         by the test case of bug #420197.
1611 2008-08-24  Miguel de Icaza  <miguel@novell.com>
1613         * TermInfoDriver.cs (GetKeyFromBuffer): Add support for reporting
1614         Alt-LETTER sequences.   They were ignored previously.
1616 2008-08-22  Sebastien Pouliot  <sebastien@ximian.com>
1618         * AppDomainSetup.cs: Remove IAppDomainSetup for SL2. This helps
1619         the tuner since the methods are then defined correctly (wrt to the
1620         implicit implementation of the interfaces)/
1622 2008-08-21  Sebastien Pouliot  <sebastien@ximian.com> 
1624         * Nullable.cs: Add two ComVisible(false) for SL2 profile.
1625         * PlatformID.cs: Add Xbox and MacOX for SL2 profile.
1626         * WeakReference.cs: Add default, protected, ctor for SL2.
1628 2008-08-20  Miguel de Icaza  <miguel@novell.com>
1630         * ConsoleDriver.cs: TtySetup now takes an extra argument: the
1631         keypadXmit string.
1633 2008-08-16  Gert Driesen  <drieseng@users.sourceforge.net>
1635         * Exception.cs: Fixed value of HResult to match MS. Added support for
1636         (de)serializing Data. Use deserialized ClassName, if available, to
1637         when name of type is used.
1639 2008-08-10  Gert Driesen  <drieseng@users.sourceforge.net>
1641         * IServiceProvider.cs: Added ComVisible attribute (1.0 only).
1642         * String.cs: Fixed argument names to match MS.
1644 2008-08-10  Gert Driesen  <drieseng@users.sourceforge.net>
1646         * Boolean.cs
1647         * Byte.cs
1648         * Char.cs
1649         * DateTime.cs
1650         * DBNull.cs
1651         * Decimal.cs
1652         * Double.cs
1653         * Enum.cs
1654         * Int16.cs
1655         * Int32.cs
1656         * Int64.cs
1657         * Single.cs
1658         * String.cs
1659         * UInt16.cs
1660         * UInt32.cs
1661         * UInt64.cs: Added missing CLSCompliant attributes for 1.0 profile.
1663 2008-08-07  Atsushi Enomoto  <atsushi@ximian.com>
1665         * DateTime.cs : zzzz format allows non-fixed length of number, even
1666           in exact parsing mode. Fixed bug #377042.
1668 2008-08-05  Jb Evain  <jbevain@novell.com>
1670         * String.cs: add new NET_2_1 Compare methods.
1672 2008-08-03  Miguel de Icaza  <miguel@novell.com>
1674         * ConsoleDriver.cs: If the terminal is dumb, do not activate the
1675         full terminal support.
1677 2008-08-02  Marek Safar  <marek.safar@gmail.com>
1679         * Type.cs: Removed _MemberInfo from base classes list.
1680         
1681 2008-07-28  Marek Safar  <marek.safar@gmail.com>
1683         * KnownTerminals.cs: Don't initialize rarely used static data.
1685 2008-07-24  Zoltan Varga  <vargaz@gmail.com>
1687         * Delegate.cs: Move the rarely used fields to a separate object, add
1688         'method_code' field.
1690         * Environment.cs: Bump corlib version.
1692         * ConsoleDriver.cs: Remove unused Suspend icall.
1694 2008-07-21  Marek Safar  <marek.safar@gmail.com>
1696         * AppDomain.cs (Load): Check for 0-length assembly name.
1698 2008-07-21  Rodrigo Kumpera  <rkumpera@novell.com>
1700         * Enum.cs (GetHashCode): Use new icall get_hashcode to
1701         avoid allocating a boxed version of the enum basetype.
1703 2008-07-17  Marek Safar  <marek.safar@gmail.com>
1705         * String.cs: reverted GetHashCode changes.
1707 2008-07-08  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
1709         * Char.cs: Remove obsolete lamespecs (it implements IConvertible, small formatting)
1711 2008-07-08  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
1713         * Char.cs: Optimize some Is* checks
1715 2008-07-06  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
1717         * DateTimeOffset.cs: Fix parameter name
1719 2008-07-06  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
1721         * DateTimeOffset.cs: Remove public, make implicit method
1723 2008-07-06  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
1725         * Environment.cs: Add missing attribute
1727 2008-07-04  Rodrigo Kumpera  <rkumpera@novell.com>
1729         * Delegate.cs (get_Method): Use the internal version
1730         of GetMethodFromHandle to avoid the generic class check.
1732 2008-07-04  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
1734         * GCCollectionMode.cs: Add attribute
1735         * GC.cs: Add semi-stubbed missing method, remove obsolete Lamespec, hide non-public method
1737 2008-07-04  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
1739         * Delegate.cs: Fix parameter names for 2.0 profile
1740         * Int64.cs: Fix parameter names
1742 2008-07-04  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
1744         * IntPtr.cs: Fix parameter names, change internal name to accomodate for parameter changes
1746 2008-07-04  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
1748         * Predicate.cs:
1749         * Object.cs:
1750         * Nullable.cs
1751         * MultiCastDelegate.cs
1752         * ModuleHandle.cs
1753         * Math.cs
1754         * MarshalByRefObject.cs
1755         * Int64.cs
1756         * Int32.cs
1757         * Int16.cs
1758         * Environment.cs
1759         * Delegate.cs
1760         * DateTimeOffset.cs
1761         * ConsoleKeyInfo.cs
1762         * Console.cs
1763         * Array.cs
1764         * AppDomain.cs: Fix parameter names
1766 2008-07-03  Rodrigo Kumpera  <rkumpera@novell.com>
1768         * Exception.cs (GetFullNameForStackTrace): Don't do string
1769         concatenation.
1771 2008-06-30  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
1773         * ContextMarshalException.cs:
1774         * DllNotFoundException.cs:
1775         * EntryPointNotFoundException.cs:
1776         * FieldAccessException.cs:
1777         * MethodAccessException.cs:
1778         * MissingFieldException.cs:
1779         * PlatformNotSupportedException.cs: Fix parameter names
1781 2008-06-30  Marek Safar  <marek.safar@gmail.com>
1783         * String.cs: Tweaked hash code methods for better distibution, and speed-up.
1785 2008-06-29  Zoltan Varga  <vargaz@gmail.com>
1787         * MonoCustomAttrs.cs (IsDefined): Avoid calling the .Assembly property in some
1788         cases.
1790 2008-06-30  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
1792         * Char.cs: Fix formatting, rename wrong named param, remove code duplication
1794 2008-06-28  Zoltan Varga  <vargaz@gmail.com>
1796         * Enum.cs (GetUnderlyingType): Implement this using an icall.
1797         
1798         * Enum.cs (Format): Call IsDefined with inherited=false.
1800         * Exception.cs: Fix a warning.
1802 2008-06-27  Zoltan Varga  <vargaz@gmail.com>
1804         * Enum.cs (FindName): Avoid calling String.Compare for the !ignoreCase case.
1806 2008-06-27  Rodrigo Kumpera  <rkumpera@novell.com>
1808         * Exception.cs: Build method traces using the
1809         stack trace StringBuilder.
1811 2008-06-27  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
1813         * Version.cs: Fix parameter names
1814         * UInt64.cs: 
1815         * UInt32.cs:
1816         * UInt16.cs:
1817         * Int64.cs: Fix parameter names
1818         * Int32.cs: Fix parameter names; some small formatting
1819         * Int16.cs: Fix parameter names
1820         * Double.cs: Fix parameter names; small formatting
1821         * Single.cs:
1822         * SByte.cs:
1823         * Byte.cs:
1824         * Boolean.cs:
1825         * DateTime.cs:
1826         * Enum.cs:
1827         * Decimal.cs: Fix parameter names
1829 2008-06-14  Zoltan Varga  <vargaz@gmail.com>
1831         * Environment.cs: Bump corlib version.
1833 2008-06-10  Zoltan Varga  <vargaz@gmail.com>
1835         * Math.cs (IEERemainder): Use the normal BitConverter.Int64BitsToDouble method
1836         here to fix this on sparc.
1838 2008-06-07  Marek Safar  <marek.safar@gmail.com>
1840         * Array.cs (IndexOf, LastIndexOf): Fixed more array element comparers used
1841         instead of tested value comparers.
1843 2008-06-07  Zoltan Varga  <vargaz@gmail.com>
1845         * Environment.cs: Bump corlib version.
1847 2008-06-05  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
1849         * String.cs: Managed replacement for Replace method ;)
1851 2008-06-03  Zoltan Varga  <vargaz@gmail.com>
1853         * Decimal.cs (Divide): Move expensive equality checks to unmanaged code.
1855 2008-06-02  Ivan N. Zlatev  <contact@i-nz.net>
1857         * MonoType.cs: For property reflection we should strictly match the return 
1858         type if available.
1860 2008-06-01  Juraj Skripsky  <js@hotfeet.ch>
1862         * String.cs (Substring): Blocking bug #395904 has been fixed,
1863         re-enable optimization.
1865 2008-06-01  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
1867         * String.cs: Replace Split IndexOf
1869 2008-05-30  Marek Safar  <marek.safar@gmail.com>
1871         * Array.cs (IndexOf): Use an array element comparer instead of tested value
1872         comparer.
1874 2008-05-28  Zoltan Varga  <vargaz@gmail.com>
1876         * Console.cs (.cctor): Make sdout synchronized in the console case too.
1877         Fixes #395069.
1879 2008-05-27  Eyal Alaluf <eyala@mainsoft.com>
1881         * NumberFormatter.jvm.cs: Fix tables to avoid arithemtic overflow
1882           in Double.ToString as exposed by Bug #383531.
1884 2008-05-24  Gert Driesen  <drieseng@users.sourceforge.net>
1886         * String.cs: Comment out 2.0 compatibility fix for SubString, since it
1887         causes regressions in System.Xml.
1889 2008-05-24  Gert Driesen  <drieseng@users.sourceforge.net>
1891         * String.cs: Changed exception to match MS. Fixed ToCharArray to use
1892         startindex for source. In PadLeft and PadRight, only return current
1893         string if totalWidth is less than length.
1895 2008-05-24 Gonzalo Paniagua Javier <gonzalo.mono@gmail.com>
1897         * Enum.cs: use Array.BinarySearch on the values in IsDefined and
1898         GetName instead of looping through the list. Made the cache in
1899         MonoEnumInfo thread static to avoid contention.
1901 2008-05-20  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
1903         * String.cs: Replace Split function
1905 2008-05-19  Sebastien Pouliot  <sebastien@ximian.com>
1907         * Boolean.cs,
1908         * Double.cs,
1909         * Enum.cs,
1910         * Int64.cs,
1911         * Single.cs,
1912         * UInt32.cs,
1913         * UInt64.cs: Avoid unboxing primitive types more than one time.
1914         [Found using Gendarme]
1916 2008-05-19  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
1918         * String.cs: Update Trim functions
1920 2008-05-19  Zoltan Varga  <vargaz@gmail.com>
1922         * ConsoleDriver.cs: Avoid initializing the three driver classes when only one
1923         is needed.
1925 2008-05-18  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
1927         * String.cs: Update Join and Pad functions
1929 2008-05-18  Sebastien Pouliot  <sebastien@ximian.com>
1931         * Environment.cs: Use String.IsNullOrEmpty inside 2.0 code.
1932         [Found using Gendarme]
1934 2008-05-16  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
1936         * String.cs: Directly create charenumerator
1938 2008-05-15  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
1940         * String.cs: Resubmit uncritical parts of String patch
1942 2008-05-15  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
1944         * DateTime.cs: Fix parameter names
1946 2008-05-15  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
1948         * Decimal.cs: Fix parameter names
1950 2008-05-15  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
1952         * Decimal.cs: Tabbify/Format
1954 2008-05-14  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
1956         * Version.cs
1957           UnhandledExceptionEventHandler.cs
1958           UInt64.cs
1959           UInt32.cs
1960           UInt16.cs: Fix parameter names
1961           Type.cs: Fix parameter names, formatting
1962           TimeSpan.cs
1963           StringComparer.cs
1964           Single.cs
1965           SByte.cs: Fix parameter names
1967 2008-05-14  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
1969         * Double.cs
1970           Enum.cs
1971           Exception.cs
1972           IComparable.cs
1973           IEquatable.cs
1974           IFormatProvider.cs
1975           IFormattable.cs
1976           InsufficientMemoryException.cs: Fix parameter names
1978 2008-05-14  Jb Evain  <jbevain@novell.com>
1980         * Exception.cs (ToString): output a new line before the 
1981         inner exception separator. Fixes #390150.
1983 2008-05-12  Gert Driesen  <drieseng@users.sourceforge.net>
1985         * Type.cs: Modifies exceptions to match MS. Changed GetTypeFromHandle
1986         on 1.0 profile to throw ArgumentException when handle is invalid,
1988 2008-05-08  Rodrigo Kumpera  <rkumpera@novell.com>
1990         * Activator.cs (CreateInstance): Check for null types when creating
1991         the error message.
1993 2008-05-07  Robert Jordan  <robertj@gmx.net>
1995         * RuntimeFieldHandle.cs, RuntimeTypeHandle.cs, RuntimeMethodHandle.cs:
1996         Don't try to serialize uninitialized handles. Fixes #386641.
1998 2008-05-06  Marek Safar  <marek.safar@gmail.com>
2000         * IntPtr.cs (eplicit long, GetObjectData): Use ToInt64.
2002 2008-05-05  Zoltan Varga  <vargaz@gmail.com>
2004         * Type.cs (GetTypeFromHandle): Apparently, it is possible to create a 
2005         RuntimeTypeHandle with a zero handle value by calling its ctor. Add an argument
2006         check for that.
2008         * IntPtr.cs (ToInt64): Use (long)(int) on 32 bit platforms to avoid the default
2009         unsigned conversion done by the compiler. Fixes #386466.
2011 2008-05-04  Zoltan Varga  <vargaz@gmail.com>
2013         * Type.cs (UnderlyingSystemType): Add a comment pointing people to 
2014         Enum.GetUnderlyingType ().
2016 2008-04-26  Zoltan Varga  <vargaz@gmail.com>
2018         * Array.cs (LastIndexOf): Return GetLowerBound (0) -1 instead of -1.
2019         
2020         * Array.cs (LastIndexOf): Fix handling of empty arrays. Fixes #383876.
2022 2008-04-13  Zoltan Varga  <vargaz@gmail.com>
2024         * String.cs (Split): Fix the handling of RemoveEmptyEntries when the separator
2025         matches at the beginning of the string. Fixes #374511.
2027 2008-04-13  Jb Evain  <jbevain@novell.com>
2029         * ICloneable.cs: use the INSIDE_CORLIB pattern to
2030         internalize code that is used outside the corlib.
2031         Merged from the Moonlight 2 branch.
2033 2008-04-04  Raja R Harinath  <harinath@hurrynot.org>
2035         * String.cs (EndsWith) [CultureInfo variant]: Handle null 'culture'.
2036         (StartsWith, EndsWith, IndexOf, LastIndexOf) [StringComparison variant]:
2037         Throw exception on invalid StringComparison.
2039 2008-04-01  Eyal Alaluf <eyala@mainsoft.com>
2041         * NumberFormatter.cs NumberFormatter.jvm.cs: Performance optimizations.
2042           Reuse a per thread instance to format all the primitive types. Modify
2043           class accordingly so the same
2044           instance can be used multiple times.
2045         * Int16.cs UInt64.cs Double.cs SByte.cs UInt16.cs Byte.csDecimal.cs
2046           TimeSpan.cs Int32.cs Int64.cs Single.cs UInt32.cs: Change use of
2047           NumberFormatter to adapt to above changes in class interface.
2049 2008-03-31  Mark Probst  <mark.probst@gmail.com>
2051         * MonoType.cs: Don't do CAS security checks in CheckMethodSecurity
2052         for 2.1 profile.
2054 2008-03-28  Marek Safar  <marek.safar@gmail.com>
2056         * Nullable.cs (Box): Do things explicitly and not rely on broken gmcs
2057         behaviour.
2059 2008-03-25  Zoltan Varga  <vargaz@gmail.com>
2061         * AppDomain.cs: Update after MonoMethod.InternalInvoke signature change.
2063         * Environment.cs: Bump corlib version.
2065         * DateTime.cs: Fix a warning.
2067 2008-03-21  Sebastien Pouliot  <sebastien@ximian.com>
2069         * String.cs: Use "this" in Split method instead of calling ToString.
2070         Found using Gendarme.
2072 2008-03-06  Marek Safar  <marek.safar@gmail.com>
2074         * MonoCustomAttrs (GetCustomAttributes): Type cannot be null with
2075         typeof (MonoCustomAttrs) hack.
2077 Wed Mar 5 19:39:01 CET 2008 Paolo Molaro <lupus@ximian.com>
2079         * Type.cs: optimize GetTypeCode () for the common case
2080         (fixes bug #367354).
2082 2008-03-02  Roei Erez  <roeie@mainsoft.com>
2084         * DateTime.cs: Improve the patch supplied by James Purcell to be
2085           dotnet-compatible, and add support for RoundTripKind parsing. 
2086           Fixed reopened bug #352210.
2089 Tue Feb 26 17:50:17 CET 2008 Paolo Molaro <lupus@ximian.com>
2091         * DateTime.cs: instroduce a method that returns ticks monotonically.
2093 2008-02-26  Ivan N. Zlatev  <contact@i-nz.net>
2095         * Attribute.cs, MonoCustomAttrs: MS ignores the inherit param in 
2096         PropertyInfo's ICustomAttributeProvider implementation, but not 
2097         in the Attributes, so directly get the attributes from 
2098         MonoCustomAttrs instead of going throught the PropertyInfo's 
2099         ICustomAttributeProvider.
2100         [Fixes bugs #324472 and #322464]
2102 2008-02-26  Atsushi Enomoto  <atsushi@ximian.com>
2104         * DateTime.cs : fix roundtrip regression in Sys.Xml.XmlConvertTests,
2105           patch by James Purcell (at #352210).
2107 2008-02-25  Atsushi Enomoto  <atsushi@ximian.com>
2109         * DateTime.cs, DateTimeUtils.cs : make Kind value from parse result
2110           as dotnet-compatible. Patch by James Purcell, fixed bug #352210.
2112 2008-02-18  Atsushi Enomoto  <atsushi@ximian.com>
2114         * DBNull.cs : ToType(typeof(DBNull),...) should be allowed.
2116 2008-02-16  Sebastien Pouliot  <sebastien@ximian.com>
2118         * Object.cs: Fix parameter name to match MS implementation. Found
2119         using Gendarme.
2120         * ValueType.cs: Fix parameter name to match MS implementation. 
2121         Found using Gendarme.
2123 2008-02-14  Jb Evain  <jbevain@novell.com>
2125         * Delegate.cs (CreateDelegate): refactor. DRY!
2127 2008-02-12  Gert Driesen  <drieseng@users.sourceforge.net>
2129         * Delegate.cs (CreateDelegate): Walk the inheritance change to find
2130         matching method. Skip methods for which the return type does not match
2131         the delegate. Fixes bug #360784.
2133 2008-02-11  Eyal Alaluf <eyala@mainsoft.com>
2135         * NumberFormatter.cs: Fix ToString("R") for +-Infinity & NaN.
2137 2008-02-08  Sebastien Pouliot  <sebastien@ximian.com>
2139         * Random.cs: Explain (and extend) special case in Next(min,max)
2141 2008-02-08  Juraj Skripsky  <js@hotfeet.ch>
2143         * Random.cs (Next): Use rounding (via implicit conversion) only on
2144         positive values. Fixes bug 359918.
2146 2008-02-03  Sebastien Pouliot  <sebastien@ximian.com>
2148         * Environment.cs: Remove unused method found with Gendarme.
2150 2008-02-02  Gert Driesen  <drieseng@users.sourceforge.net>
2152         * Variant.cs: Fixed line endings.
2153         * MonoType.cs: Fixed parameter name for ArgumentException to match MS.
2155 2008-01-29  Zoltan Varga  <vargaz@gmail.com>
2157         * Type.cs (MakeGenericType): Fix exception message.
2159 2008-01-29  Jb Evain  <jbevain@novell.com>
2161         * AppDomain.cs: add SL overload of DefineDynamicAssembly.
2163 2008-01-29  Marek Safar  <marek.safar@gmail.com>
2165         * Type.cs (MakeGenericType): More argument checks. Fixes #356863 by
2166          Sanghyeon Seo.
2168 2008-01-25  Rodrigo Kumpera  <rkumpera@novell.com>
2170         * MonoType.cs (InvokeMember): Fixed exceptions arguments for last comit.
2172 2008-01-24  Rodrigo Kumpera  <rkumpera@novell.com>
2174         * MonoType.cs (InvokeMember): Check for parameters without default value which
2175         the supplied argument is Missing.Value. Fixes one of the issues of #348522.
2177 2008-01-21  Sebastien Pouliot  <sebastien@ximian.com>
2179         * DateTimeOffset.cs: Avoid NRE on bad cast if null is provided to
2180         Equals(object). Found using Gendarme.
2182 2008-01-16  Zoltan Varga  <vargaz@gmail.com>
2184         * DateTimeOffset.cs: Fix warnings.
2186 2008-01-15  Stephane Delcroix  <sdelcroix@novell.com>
2188         * DateTimeOffset.cs: ParseExact: parse f, F, s too.
2190 2008-01-15  Stephane Delcroix  <sdelcroix@novell.com>
2192         * DateTimeOffset.cs: ParseExact: honor the DateTimeStyles parameter.
2194 2008-01-15  Zoltan Varga  <vargaz@gmail.com>
2196         * AppDomainSetup.cs Buffer.cs Action.cs Array.cs BadImageFormatException.cs Byte.cs
2197         Attribute.cs _AppDomain.cs Boolean.cs AppDomain.cs: Fix some argument names to be 
2198         consistent with MS.
2200 2008-01-14  Sephane Delcroix  <sdelcroix@novell.com>
2202         * DateTimeOffset.cs: start refactoring DoParse.
2204 2008-01-14  Zoltan Varga  <vargaz@gmail.com>
2206         * Type.cs (GetConstructor): Use correct binding flags in type (Type[]) overload.
2207         Fixes #353604.
2209 2008-01-13  Eyal Alaluf <eyala@mainsoft.com>
2211         * NumberFormatter.cs, Double.cs, Single.cs: Fix Single & Double default
2212           ToString to handle +-Infinity & NaN.
2214 2008-01-14  Sephane Delcroix  <sdelcroix@novell.com>
2216         * DateTimeOffset.cs: ParseExact (string, string, IFormatProvider) 
2217         implemented.
2220 2008-01-14  Zoltan Varga  <vargaz@gmail.com>
2222         * NumberFormatter.cs: Remove some redundant assignments.
2224 2008-01-13  Gert Driesen  <drieseng@users.sourceforge.net>
2226         * AppDomain.cs: Also fix bug #350530 for overload taking evidence and
2227         args. On 1.0 profile, throw COMException to match MS and to allow
2228         our unit tests to pass on MS.
2230 2008-01-13  Eyal Alaluf <eyala@mainsoft.com>
2232         * NumberFormatter.cs: Check in redesigned implementation. Improves
2233           double.ToString performance by 2-3 orders of magnitude and other
2234           primitive numeric types ToString performance.
2235         * NumberFormatter.jvm.cs: The TARGET_JVM managed tables for NumberFormatter
2236           class for reuse if a completely managed NumberFormatter is required.
2237         * Int16.cs UInt64.cs Double.cs UInt16.cs SByte.cs Byte.cs TimeSpan.cs
2238           Int32.cs Int64.cs Single.cs UInt32.cs: Adapt to new NumberFormatter.
2240 2008-01-13  Zoltan Varga  <vargaz@gmail.com>
2242         * AppDomain.cs: Check for a missing entry point in the ExecuteAssembly methods.
2243         Fixes #350530.
2245 2008-01-11  Stephane Delcroix  <sdelcroix@novell.com>
2247         * DateTimeOffset.cs: Fixes the MinValue (was equal to MaxValue)...
2249 2008-01-10  Zoltan Varga  <vargaz@gmail.com>
2251         * Delegate.cs: Implement argument checking in CreateDelegate(Type,object,MethodInfo)
2252         method. Make the CreateDelegate(Type,MethodInfo) overload calls this version.
2253         Fixes #352805.
2255 2008-01-10  Stephane Delcroix  <sdelcroix@novell.com>
2257         * DateTimeOffset.cs: chain the Parse* methods together.
2259 2008-01-09  Atsushi Enomoto  <atsushi@ximian.com>
2261         * DateTime.cs : revert the previous fix. It caused regression on
2262           the buildbot.
2264 2008-01-09  Atsushi Enomoto  <atsushi@ximian.com>
2266         * DateTime.cs : fixed bug #352210. Kind is unspecified by default,
2267           while the tick is for local time by default. This fix also involved
2268           special x509 handling.
2270 2008-01-08  Marek Safar  <marek.safar@gmail.com>
2272         * Array.cs (LastIndexOf<T>): Fixed bound checking.
2274 2008-01-06  Zoltan Varga  <vargaz@gmail.com>
2276         * AppDomain.cs: Move the assembly loading in ExecuteAssembly and 
2277         ExecuteAssemblyByName to managed to as said by the MSDN docs. Fixes #350530.
2279         * Environment.cs: Bump corlib version.
2280         
2281 2008-01-02  Marek Habersack  <mhabersack@novell.com>
2283         * Array.cs: fix a typo to unbreak the build.
2285 2008-1-1  Scott Peterson  <lunchtimemama@gmail.com>
2287         * Array.cs: Slight improvement to the quicksort algorithm.
2289 2007-12-28  Gert Driesen  <drieseng@users.sourceforge.net>
2291         * Environment.cs: Bump corlib version.
2293 2007-12-20  Gert Driesen  <drieseng@users.sourceforge.net>
2295         * AppDomain.cs: Added check for null AssemblyName, and invalid
2296         AssemblyName.Name to DefineDynamicAssembly overloads. Loosely based on
2297         patch provided by Cedric Vivier. Fixes bug #349272.
2299 2007-12-20  Stephane Delcroix  <sdelcroix@novell.com>
2301         * DateTimeOffset.cs: set [Min|Max]Value to UTC. Fixes #349621.
2303 2007-12-19  Stephane Delcroix  <sdelcroix@novell.com>
2305         * DateTime.cs:
2306         * DateTimeOffset.cs:
2307         * DateTimeUtils.cs: factored out the common pieces of DT and DTO into DTU.
2309 2007-12-18  Stephane Delcroix  <sdelcroix@novell.com>
2311         * DateTimeOffset.cs: implementing the 4 ToString overloads by reusing
2312         large chunks of System.DateTime code.
2314 2007-12-16  Stephane Delcroix  <sdelcroix@novell.com>
2316         * DateTimeOffset.cs: some bugfix discovered by unit tests.
2318 2007-12-16  Stephane Delcroix  <sdelcroix@novell.com>
2320         * DateTimeOffset.cs: almost complete implementation, still missing the
2321         Parse* and ToString methods.
2323 2007-12-11  Zoltan Varga  <vargaz@gmail.com>
2325         * AppDomain.cs (DoAssemblyResolve): Fix detection of whenever there is a
2326         reflection-only assembly resolve hook.
2328 2007-12-10  Stephane Delcroix  <sdelcroix@novell.com>
2330         * DateTimeOffset.cs: partial implementation. no longer just a stub.
2332 2007-11-30  Zoltan Varga  <vargaz@gmail.com>
2334         * Delegate.cs: Compute the Method property lazily.
2335         
2336         * Delegate.cs: Add a 'method' field.
2338         * Environment.cs: Bump corlib version.
2340 2007-11-21  Zoltan Varga  <vargaz@gmail.com>
2342         * Array.cs: Make the InternalArray_... methods internal.
2344         * Environment.cs: Bump corlib version.
2346 2007-11-21  Atsushi Enomoto  <atsushi@ximian.com>
2348         * AppDomain.cs : filled 2.0 API (extra ones are from 2.0 SP1).
2349         * ContextMarshalException.cs : obsolete in 2.0.
2351 2007-11-21  Atsushi Enomoto  <atsushi@ximian.com>
2353         * MarshalByRefObject.cs : Added MemberwiseClose() stub.
2354           GetLifetimeService() is not virtual (in both 2.0 and 1.1).
2355         * Console.cs : implemented missing 2.0 key members.
2357 2007-11-18  Gert Driesen  <drieseng@users.sourceforge.net>
2359         * Enum.cs: Provided ParamName of Argument(Null)Exceptions. Rewrote
2360         some exception messages.
2362 2007-11-16  Gert Driesen  <drieseng@users.sourceforge.net>
2364         * AppDomain.cs: Added some obsolete messages.
2366 2007-11-15  Gert Driesen  <drieseng@users.sourceforge.net>
2368         * MonoType.cs: Modified ParamName for ArgumentException to match
2369         MS. Provide meaningful exception messages. On 2.0, throw ANE instead
2370         of ArgumentException when args is null.
2372 2007-11-15  Zoltan Varga  <vargaz@gmail.com>
2374         * MonoType.cs (Invoke): Allow BindingFlags.SetField and
2375         BindingFlags.SetProperty to be specified together. Fixes #321735.
2377 2007-11-14  Miguel de Icaza  <miguel@novell.com>
2379         * Console.cs, ConsoleDriver.cs, TermInfoDriver.cs,
2380         TermInfoReader.cs, TermInfoNumber.cs, TermInfoStrings.cs,
2381         CStreamReader.cs, CStreamWriter.cs, NullConsoleDriver.cs,
2382         WindowsConsoleDriver.cs: In the 2.1 profile we do not need the
2383         full-blown Console (the terminal-addressable console) so we shrink
2384         it down to the basic 1.0 Console.
2386 2007-11-14  Marek Safar  <marek.safar@gmail.com>
2388         * Nullable.cs: Optimized to use generic comparers.
2390 2007-11-14  Zoltan Varga  <vargaz@gmail.com>
2392         * Array.cs (Copy): Throw InvalidCastException in more cases.
2394 2007-11-13  Zoltan Varga  <vargaz@gmail.com>
2396         * GCCollectionMode.cs GCLatencyMode.cs: New net 3.5 types.
2398 2007-11-12  Atsushi Enomoto  <atsushi@ximian.com>
2400         * NumberFormatter.cs : revert previous two changes. It does not
2401           really work for float and hence will rather bring confusion.
2403 2007-11-12  Atsushi Enomoto  <atsushi@ximian.com>
2405         * NumberFormatter.cs : limit the situation that needs roundtrip
2406           verification in the previous change to Double.
2408 2007-11-12  Atsushi Enomoto  <atsushi@ximian.com>
2410         * NumberFormatter.cs : applied a quick fix for bug #320433. It needs
2411           true fix to avoid extra perf. loss.
2413 2007-11-08  Sebastien Pouliot  <sebastien@ximian.com>
2415         * TimeZone.cs: Under 2.0 we must return a Local DateTime.MinValue.
2416         Fix the regression on the x86_64 bot which seems to be in it's own
2417         timezone.
2419 2007-11-07  Gert Driesen  <drieseng@users.sourceforge.net>
2421         * Exception.cs: Cosmetic change to default exception message on
2422         2.0 profile.
2424 2007-11-05  Gert Driesen  <drieseng@users.sourceforge.net>
2426         * Array.cs: Distinguish between notstarted and finished state when
2427         throwing IOE in Current, and provide meaningful exception message.
2429 2007-11-05  Sebastien Pouliot  <sebastien@ximian.com>
2431         * Array.cs: Fix Enumerator<T>.Reset (#322248).
2433 2007-11-05  Rodrigo Kumpera  <rkumpera@novell.com>
2435         * Type.cs (MakeGenericType): fix for #331199. If an user-defined type
2436         was used, the runtime would crash. Now we apply UnderlyingSystemType to
2437         all types before handling to the runtime.
2439 2007-11-05  Stephane Delcroix  <sdelcroix@novell.com>
2441         * TimeZone.cs: fix for #323911. The our after DST.Start is already DST.
2443 2007-11-03  Atsushi Enomoto  <atsushi@ximian.com>
2445         * DateTime.cs : fix for #330085. for Local time, convert to Utc
2446           before getting ticks.
2448 2007-11-03  Gert Driesen  <drieseng@users.sourceforge.net>
2450         * ArgumentException.cs: Change default message to match MS. Removed
2451         unnecessary check from Message, since base.Message can never be null.
2453 2007-11-01  Atsushi Enomoto  <atsushi@ximian.com>
2455         * DateTime.cs : ParseExact() should ignore 'K' when there is no
2456           character is left.
2458 2007-11-01  Atsushi Enomoto  <atsushi@ximian.com>
2460         * DateTime.cs : in roundtrip mode, 'Z' should turn the tick value to
2461           utc time and should not result in different ticks.
2462           Fixed bug #338064.
2464 2007-10-30  Miguel de Icaza  <miguel@novell.com>
2466         * UInt32.cs (Parse): Use Jeff Stedfast's parsing code which is
2467         smaller and does not need checked() constructs. 
2469         * Int64.cs, Int32.cs, Int16.cs: small tuneup: do not throw
2470         exception, instead return the exception like every other place in
2471         this code. 
2473         * Int16.cs, Int32.cs, Int64.cs: Use the Jeff Stedfast parsing code
2474         which is smaller.  We no longer use "checked" to check for
2475         overflows, I refactored some stuff and cleaned up the rest and
2476         fixes #331525.
2478 2007-10-27  Zoltan Varga  <vargaz@gmail.com>
2480         * MonoType.cs: Applied patch from Mario A Chavez 
2481         <mario.chavez@gmail.com>. Add support for invoking members with the 
2482         ParamArray attribute. Fixes #336841.
2484 2007-10-26  Zoltan Varga  <vargaz@gmail.com>
2486         * MonoType.cs (InvokeMember): Make sure one operation is passed in the binding
2487         flags. Fixes #336936.
2489 Fri Oct 26 19:43:09 CEST 2007 Paolo Molaro <lupus@ximian.com>
2491         * Environment.cs, String.cs: patch from Tyler Larson
2492         <mono-devel@tlarson.com> to fix the handling of the RemoveEmptyEntries
2493         option in string.Split (bug #322375).
2495 2007-10-26  Dick Porter  <dick@ximian.com>
2497         * Environment.cs: Bump version because of Thread initialisation
2498         changes
2500 2007-10-25  Lluis Sanchez Gual  <lluis@novell.com>
2502         * AppDomain.cs: In DefaultDomain, wrap the returned domain with
2503         a proxy if the current domain is not the root domain.
2505 2007-10-24  Atsushi Enomoto  <atsushi@ximian.com>
2507         * Type.cs : implemented ReflectionOnlyGetType().
2509 2007-10-19  Zoltan Varga  <vargaz@gmail.com>
2511         * AppDomain.cs: Add NET 3.5 DefineDynamicAssembly () overloads.
2513 2007-10-13  Zoltan Varga  <vargaz@gmail.com>
2515         * Delegate.cs (CreateDelegate): Allow binding instance methods to 
2516         delegates with an extra argument, a NET 2.0 feature. Fixes #333647.
2518 Fri Oct 12 08:11:50 CEST 2007 Paolo Molaro <lupus@ximian.com>
2520         * String.cs: reverted unapproved patch that breaks the build.
2522 2007-10-11  Joel Reed  <joelwreed@comcast.com>
2524         * String.cs: fix String.Split(char[],int,StringSplitOptions)
2525         with StringSplitOptions.RemoveEmptyEntries option. The correct 
2526         behavior is to remove empty entries while the string is being split, 
2527         and always return the maximum number of elements possible.
2528         Patch from: Tyler Larson <mono-devel@tlarson.com>
2529         
2530 2007-09-28  Jb Evain  <jbevain@novell.com>
2532         * Object.cs: Make ToString return Type.ToString ()
2533         by default instead of Type.FullName to match .net
2534         behavior. Fix #329419.
2536 2007-09-28  William Holmes  <billholmes54@gmail.com>
2538         * DateTime.cs: Check for AssumeUniversal when parsing string.
2539          Fixes bug #324845
2541 2007-09-21  Gert Driesen  <drieseng@users.sourceforge.net>
2543         * Enum.cs: Use regular single quotes in exception message.
2545 2007-09-14  Paolo Molaro <lupus@ximian.com>
2547         * String.cs: implemented all the string ctors using CreateString
2548         methods, so they can run completely in managed code.
2550 2007-09-13  Marek Safar  <marek.safar@gmail.com>
2552         * DateTimeOffset.cs: Implemented few properties.
2554 2007-09-13  Atsushi Enomoto  <atsushi@ximian.com>
2556         * Decimal.cs, Math.cs : implemented midpoint rounding.
2558 2007-09-13  Atsushi Enomoto  <atsushi@ximian.com>
2560         * Activator.cs : implemented 2.0 CreateInstance()
2561           and CreateInstanceFrom () overloads.
2563 2007-09-12  Sebastien Pouliot  <sebastien@ximian.com>
2565         * Decimal.cs: More explicit text in exception (old and almost 
2566         forgetten patch on laptop ;-)
2568 2007-09-10  Atsushi Enomoto  <atsushi@ximian.com>
2570         * OperatingSystem.cs : implemented ISerializable.
2572 2007-08-28  Zoltan Varga  <vargaz@gmail.com>
2574         * DateTime.cs: Fix a warning.
2576 2007-08-25  Robert Jordan  <robertj@gmx.net>
2578         * DateTime.cs: Implement internal To/FromBinary for the 1.1 profile.
2580 2007-08-25  Alan McGovern  <amcgovern@novell.com>
2582         * DateTime.cs: Reverted DateTime changes.
2584 2007-08-25  Robert Jordan  <robertj@gmx.net>
2586         * DateTime.cs: Implement internal To/FromBinary for the 1.1 profile.
2588 2007-08-24  Zoltan Varga  <vargaz@gmail.com>
2590         * Array.cs: Fix min + max / 2 overflows in the BinarySearch and qsort methods.
2591         Fixes #82469.
2593 2007-08-23  Marek Safar  <marek.safar@gmail.com>
2595         * DateTimeOffset.cs: New .NET 3.5 struct for 2.0 mscorlib.
2596         
2597 2007-08-23  Eyal Alaluf <eyala@mainsoft.com>
2599         * DateTime.cs: Numerous improvements to DateTime.Parse. It handles a lot
2600           more possible formats and more correctly at that. It is also now easier
2601           to manage the formats DateTime.Parse supports.
2603 2007-08-17  Zoltan Varga  <vargaz@gmail.com>
2605         * Exception.cs: Make 1.0 and 2.0 object layout the same since this class is seen
2606         by the runtime. Fixes #82459.
2608 2007-08-16  Gert Driesen  <drieseng@users.sourceforge.net>
2610         * MonoCustomAttrs.cs: In IsDefined, throw ArgumentNullException if
2611         attributeType is null to avoid a SIGSEGV (and match MS). Only partial
2612         fix for bug #82431 on 1.0 profile; it fully fixes the problem for the
2613         1.0 profile, but more changes (in the runtime) are required for the
2614         2.0 profile. Added a FIXME explaining the problem.
2616 2007-08-15  Gert Driesen  <drieseng@users.sourceforge.net>
2618         * MonoCustomAttrs.cs: In IsDefined, only walk inheritance chain if
2619         both AttributeUsage.Inherited and inherit are true. Fixed bug #82431.
2621 2007-08-13  Gert Driesen  <drieseng@users.sourceforge.net>
2623         * ArgumentException.cs: Ignore zero-length ParamName for Message.
2624         Use ParamName property instead of field, since the property is marked
2625         virtual.
2626         * Array.cs: Provide more meaningful exception message when destination
2627         array is not long enough.
2629 2007-08-11  Zoltan Varga  <vargaz@gmail.com>
2631         * Array.cs: Implement InternalArray__set_Item. Fixes #82345.
2633 2007-08-08  Atsushi Enomoto  <atsushi@ximian.com>
2635         * IntPtr.cs : oops, do not ignore format in ToString(string).
2637 2007-08-08  Atsushi Enomoto  <atsushi@ximian.com>
2639         * GC.cs, Exception.cs, IntPtr.cs, Enum.cs, DateTime.cs, Convert.cs
2640           ConsoleKeyInfo.cs, String.cs, Object.cs, Attribute.cs,
2641           Version.cs : couple of cosmetic 2.0 API fixes.
2643 2007-08-06  Aaron Bockover  <abockover@novell.com>
2645         * Environment.cs (ReadXdgUserDir): Support the changes to the
2646         xdg-user-dirs spec that allow $HOME to start the path; also allows
2647         for quotes surrounding the path (Patch ported from Banshee,
2648         BGO #461596)
2650 2007-07-28  Miguel de Icaza  <miguel@novell.com>
2652         * MulticastDelegate.cs (Equals): do not cast to avoid exceptions,
2653         instead use the "as" operator, as pointed out by Jesse Jones'
2654         tool. 
2656 2007-07-21  Gert Driesen  <drieseng@users.sourceforge.net>
2658         * BitConverter.cs: Fixed exceptions to match MS. Fixed invalid use
2659         of ArgumentOutOfRangeException and ArgumentException ctors that take
2660         both parameter name and message. In ToString throws ArgumentException
2661         instead of ArgumentOutOfRangeException when length is negative, and
2662         return zero-length string when length is 0.
2664 2007-07-20  Atsushi Enomoto  <atsushi@ximian.com>
2666         * AppDomainSetup.cs : fix serialization regression.
2668 2007-07-20  Atsushi Enomoto  <atsushi@ximian.com>
2670         * AppDomainSetup.cs :
2671           MonoTODO AppDomainInitializer as its implementation is wrong.
2673 2007-07-20  Atsushi Enomoto  <atsushi@ximian.com>
2675         * AppDomainSetup.cs : added missing 2.0 members.
2676         * AppDomain.cs : support AppDomainInitializer.
2678 2007-06-06  Miguel de Icaza  <miguel@novell.com>
2680         * Int16.cs, UInt64.cs, SByte.cs, UInt16.cs, Byte.cs, Int32.cs,
2681         Int64.cs, UInt32.cs: Fix for 81775.
2683         I removed Parse from a Byte.cs and UInt16.cs as in various cases
2684         they still depended on UInt32.cs for parsing, there is no reason
2685         to keep all of this code duplicated (UInt64 is a different case
2686         though). 
2688         I was hoping for some feedback on whether my tests are correct,
2689         but so far no takers.
2691 2007-07-14  Zoltan Varga  <vargaz@gmail.com>
2693         * ModuleHandle.cs: Implement the generic versions of the ResolveXXXHandle () methods.
2694         
2695         * ModuleHandle.cs: Add stubs for generic ResolveXXXHandle () methods.
2697 2007-07-10  Alan McGovern <amcgovern@novell.com>
2699         * Guid.cs: All whitespace should be trimmed from before and
2700         after a string passed into the Guid constructor. Fixes #81958
2702 2007-07-10  Zoltan Varga  <vargaz@gmail.com>
2704         * RuntimeTypeHandle.cs: Fix signatures of == and != operators.
2706         * ModuleHandle.cs: Add missing 2.0 stuff.
2708 2007-07-08  Zoltan Varga  <vargaz@gmail.com>
2710         * *.cs: Add missing ComVisible attributes.
2712         * Delegate.cs: Add missing 2.0 CreateDelegate () methods.
2714 2007-07-07  Gert Driesen  <drieseng@users.sourceforge.net>
2716         * DateTime.cs: In ParseExact, throw ArgumentNullException if format
2717         is null; throw FormatException if formats array is empty or if one of
2718         items is null or a zero-length string.
2720 2007-07-06  Rodrigo Kumpera  <rkumpera@novell.com>
2722         * Double.cs (Parse): Fix for string ending in garbaga, it was just ignoring it
2723         instead of throwing FormatException. Fixes #81777
2725 2007-07-06  Rodrigo Kumpera  <rkumpera@novell.com>
2727         * Double.cs (Parse): Fix for whitespace only strings, it was returning zero 
2728         instead of throwing FormatException. Fixes #81630 
2730 2007-07-06  Alan McGovern  <amcgovern@novell.com>
2732         * DateTime.cs: If the format is null or empty, it should default to 'G'.
2733         Fixes bug 81778
2735 2007-07-06  Jonathan Chambers  <joncham@gmail.com>
2737         * __ComObject.cs: Support ExtensibleClassFactory.
2740 2007-07-06  Aaron Bockover  <abockover@novell.com>
2742         * Environment.cs (InternalGetFolderPath): Try reading some
2743         paths from ~/.config/user-dirs.dirs (XDG user dirs spec);
2744         always return something for MyPictures
2746 2007-07-04  Atsushi Enomoto  <atsushi@ximian.com>
2748         * Type.cs : 2.0 TypeHandle and ContainsGenericParameters are virtual
2749           (required fix for 2.0 reflection API fixes).
2751 2007-06-22  Jonathan Chambers  <joncham@gmail.com>
2753         * __ComObject.cs: Move interface lookup to unmanaged.
2755 2007-06-21  Zoltan Varga  <vargaz@gmail.com>
2757         * Environment.cs: Bump corlib version.
2759         * Delegate.cs: Applied patch from Robert Jordan (robertj@gmx.net). Keep
2760         the dynamic method referenced by a delegate alive.
2762 2007-06-05  David Ferguson <davecferguson@gmail.com>
2764         * DateTime.cs: Changed DateTime.Parse() to throw a FormatException
2765           instead of an ArgumentOutOfRangeException for .NET 2.0.  An
2766           ArgumentOutOfRangeException is still thrown for .NET 1.1.
2767           Fixes bug #77633
2768           
2769 Mon Jun 4 14:52:17 CEST 2007 Paolo Molaro <lupus@ximian.com>
2771         * String.cs: optimized CompareOrdinal ().
2773 2007-06-02  Zoltan Varga  <vargaz@gmail.com>
2775         * MonoCustomAttrs.cs (GetBase): Revert last change as it breaks the build.
2776         
2777         * MonoCustomAttrs.cs (GetBase): Handle properties correctly. Fixes #81797.
2779 2007-05-31  Zoltan Varga  <vargaz@gmail.com>
2781         * Delegate.cs: Add invoke_impl field. Reorder fields for better cache behavior. Add
2782         SetMulticastDelegate icall.
2784         * MulticastDelegate.cs (CombineImpl): Call SetMulticastDelegate () on newly created
2785         delegate.
2787         * Environment.cs: Bump corlib version.
2788         
2789 2007-05-25  Jonathan Chambers  <joncham@gmail.com>
2791         * __ComObject.cs: Add overload to GetInterface to allow
2792         not throwing exceptions. Fixes as and is operators for COM objects.
2794 2007-05-23  Atsushi Enomoto  <atsushi@ximian.com>
2796         * Array.cs : reverting Array.cs fixes since the runtime depends on
2797           those method attributes.
2799 2007-05-23  Atsushi Enomoto  <atsushi@ximian.com>
2801         * Int16.cs UInt64.cs UIntPtr.cs Double.cs CrossAppDomainDelegate.cs
2802           ResolveEventHandler.cs IntPtr.cs UnhandledExceptionEventHandler.cs
2803           Void.cs AssemblyLoadEventHandler.cs SByte.cs UInt16.cs DateTime.cs
2804           Byte.cs TimeSpan.cs Decimal.cs Int32.cs Delegate.cs
2805           AppDomainInitializer.cs MulticastDelegate.cs Int64.cs
2806           EventHandler.cs Single.cs UInt32.cs AsyncCallback.cs :
2807           cosmetic attribute fixes (ComVisible/Serializable).
2809 2007-05-22  Atsushi Enomoto  <atsushi@ximian.com>
2811         * Convert.cs : completed 2.0 (ToBase64CharArray).
2812         * String.cs : removed MonoTODO.
2813         * DataMisalignedException.cs : removed extra .ctor().
2814         * Array.cs : internalize extra members. Fixed reliability contract.
2816 2007-05-17  Atsushi Enomoto  <atsushi@ximian.com>
2818         * DateTime.cs : added support for 'K'.
2820 2007-05-11  Jonathan Chambers  <joncham@gmail.com>
2822         * __ComObject.cs: No need to call CoInitialize anymore since
2823         Thread.ApartmentState was implemented.
2825 2007-05-11  Jeffrey Stedfast  <fejj@novell.com>
2827         Fixes bug #81540
2829         * TermInfoDriver.cs (WriteSpecialKey): Actually clear the screen
2830         and reset the cursor position to 0,0 when the key is
2831         ConsoleKey.Clear.
2832         (Clear): Reset the cursor position to 0,0
2834 2007-05-09  Marek Safar  <marek.safar@gmail.com>
2836         * MulticastDelegate.cs: Fixed operators logic.
2838 2007-05-09  Marek Habersack  <mhabersack@novell.com>
2840         * DateTime.cs: add a format used in ASP.NET QuickStarts 
2841           ("HH':'mm tt MM/dd/yyyy")
2843 2007-04-30  Zoltan Varga  <vargaz@gmail.com>
2845         * Type.cs (Equals): Allow a null argument.
2847 2007-04-27  Zoltan Varga  <vargaz@gmail.com>
2849         * Environment.cs (StackTrace): Avoid skipping a frame to be
2850         compatible with MS.
2852 2007-04-25  Atsushi Enomoto  <atsushi@ximian.com>
2854         * DateTimeTest.cs : looks like 'F' even removes preceding '.' ...
2856 2007-04-25  Atsushi Enomoto  <atsushi@ximian.com>
2858         * DateTime.cs : implemented new-2.0 'F' pattern letter.
2860 2007-04-24  Jeffrey Stedfast  <fejj@novell.com>
2862         Fixes the last of the bugs listed in bug #77525
2864         * TermInfoDriver.cs (ctor): For known terminal types, set color16
2865         to true (since we know they support 16 colours).
2866         (Init): set the setlfgcolor and setlbgcolor format strings.
2867         (BackgroundColor): Use the appropriate formatter string for
2868         setting the bgcolor.
2869         (ForegroundColor): Use the appropriate formatter string for
2870         setting the fgcolor.
2871         (TranslateColor): Now takes (and sets appropriately) an output
2872         'bool light' argument.
2874 2007-04-24  Marek Habersack  <mhabersack@novell.com>
2876         * TermInfoDriver.cs: don't include debug stuff by default - it
2877         breaks multithreaded applications (they all attempt to open
2878         console.log and fail because of sharing violation).
2880 2007-04-23  Jeffrey Stedfast  <fejj@novell.com>
2882         * TermInfoDriver.cs (ReadKeyInternal): Since our input stream is
2883         buffered, check if it has more buffered input in addition to our
2884         timeout check. This makes it such that we will actually correctly
2885         match multi-char escape sequences.
2886         (Read): Changed the logic slightly wrt 'fresh' echoing. Once we
2887         encounter a fresh char, all chars afterward should also be
2888         considered 'fresh' even if 'fresh' is returned as false later.
2889         (ReadLine): Same logic here.
2891 2007-04-23  Jeffrey Stedfast  <fejj@novell.com>
2893         Fixes bug #80702 (via getting rid of the casting) and more.
2895         The following change makes it such that even if an application
2896         calls Console.SetOut() with its own output stream, we can still
2897         properly echo user-input from stdin to the real stdout.
2899         * TermInfoDriver.cs (ctor): Grab a reference to the original
2900         Console.stdout so we can be sure we always echo to console.
2901         (QueueEcho): No need to cast Console.stdout anymore.
2902         (EchoFlush): Same.
2903         (WriteConsole: Here too.
2905 2007-04-20  Jeffrey Stedfast  <fejj@novell.com>
2907         * TermInfoDriver.cs (QueueEcho): Renamed from Echo(char). Use
2908         CStreamWriter's new InternalWriteChars().
2909         (Echo): Since we can no longer go thru CStreamWriter's ::Write()
2910         method that does checks for special keys, do the checks here
2911         instead - if it is a special key, flush the echo buffer and then
2912         write the special key.
2913         (EchoFlush): Also updated to use CStreamWriter's new
2914         InternalWriteChars().
2915         (Read): Use the Echo(key) variety.
2916         (ReadKey): Same.
2917         (ReadLine): And here too.
2919         * CStreamWriter.cs (InternalWriteChars): Write a char array
2920         directly to stdout. Do not pass Go, do not collect $200.
2922 2007-04-19  Jeffrey Stedfast  <fejj@novell.com>
2924         Optimization for echoing keypresses back to the console when the
2925         user pastes a block of text rather than manually typing text.
2927         * TermInfoDriver.cs (Echo): A new convenience function for echoing
2928         characters/keys back to the console with an optimization twist and
2929         a bit of lime.
2930         (EchoFlush): Flush our pending echo queue
2931         (Read): Make use of Echo() both for convenience and for speed.
2932         (ReadLine): Same.
2933         (ReadKey): Make use of Echo()/EchoFlush() for simplicity of code,
2934         but we won't get the same optimization out of it.
2936 2007-04-19  Jeffrey Stedfast  <fejj@novell.com>
2938         Fix for bug #81373.
2940         * TermInfoDriver.cs: Changed 'buffer' to be a char array instead
2941         of a byte array and stdin is now a StreamReader rather than a
2942         Stream.
2943         (Init): Setup stdin as a StreamReader using Console.InputEncoding
2944         as our encoding.
2945         (GetCursorPosition): Use stdin.Read() instead of the old
2946         ReadByte() code.
2947         (AddToBuffer): Updated to allocate the correct array type for
2948         'buffer'.
2949         (ReadKeyInternal): Updated to use stdin.Read() rather than
2950         stdin.ReadByte(). This is the main reason we needed to use chars
2951         instead of bytes. Characters entered by the user need to be
2952         represented as unicode chars and not bytes like before.
2953         (Match): Now takes a char[] buffer argument instad of byte[] and
2954         compares the input buffer to the byte-map as chars.
2956 2007-04-18  Jeffrey Stedfast  <fejj@novell.com>
2958         Fixes bug #81159: behave the same as mscorlib
2960         * TermInfoDriver.cs (ReadKeyInternal): Now has an 'out bool fresh'
2961         argument which is used to tell our caller if the key was freshly
2962         read from the console or pre-buffered.
2963         (Read): New implementation of Console.In.Read(char[], int, int)
2964         that behaves exactly like mscorlib's implementation.
2965         (ReadKey): Updated for the ReadKeyInternal() API change - only
2966         echo if the key was fresh.
2967         (ReadLine): Same.
2969         * CStreamReader.cs (Read): Call the new TermInfoDriver.Read()
2971 2007-04-17  Jeffrey Stedfast  <fejj@novell.com>
2973         * CStreamWriter.cs (Write): Optimized this some more, we don't
2974         need a temporary buffer. Just blit chunks of the src buffer
2975         instead.
2977         * CStreamReader.cs (Read): Need to increment our array index so
2978         that we don't store each byte read into the same
2979         position. Discovered this while testing bug #81159 (which appears
2980         to work as expected with current svn, other than this buglet).
2982         * TermInfoDriver.cs (CursorTop::set): SetCursorPosition() sets our
2983         internal cursorTop variable, so no need to explicitly set it again
2984         after calling SetCursorPosition().
2985         (CursorLeft::set): Same idea here.
2987 2007-04-17  Jeffrey Stedfast  <fejj@novell.com>
2989         * TermInfoDriver.cs (ReadLine): Implemented a workaround for
2990         IronPython going behind System.Console's back when writing text to
2991         the screen (it doesn't seem to use Console.stdout, instead it
2992         creates its own file stream or something which just so happens to
2993         write to the same file descriptor) by querying for the cursor
2994         position in ReadLine(), so we lose no real performance (since we
2995         have to wait for user input anyway).
2997 2007-04-17  Jeffrey Stedfast  <fejj@novell.com>
2999         * TermInfoDriver.cs (Init): SetEcho(false), we'll be manually
3000         echoing from now on (ReadLine() has already been doing this, might
3001         as well make ReadKey() behave the same).
3002         (GetCursorPosition): No longer need to disable/re-enable echo
3003         anymore since it is now always false.
3004         (ReadKey): Manually echo the key back to the console just like
3005         ReadLine() has been doing (in the interest of consistancy) if
3006         intercept is false.
3007         (ReadLine): No longer need to disable/re-enable echo, echo is
3008         always off now. Also, fixed what appears to have been a typo.
3010 2007-04-17  Jeffrey Stedfast  <fejj@novell.com>
3012         * TermInfoDriver.cs (IsSpecialKey): Oops, Enter should not be
3013         treated as a special key. Just update out cursor state here like
3014         we do with normal chars.
3015         (WriteSpecialKey): Enter is a no-op now because it is not treated
3016         as a special key anymore.
3018         * CStreamWriter.cs (Write): Only flush our buffer if j > 0
3020 2007-04-17  Jeffrey Stedfast  <fejj@gnome.org>
3022         Turns out my last patch was broken wrt handling some special keys
3023         like Backspace and anything else that changed the cursor position
3024         in some non-standard way.
3026         * CStreamWriter.cs (Write): Instead of calling NotifyWrite(), we
3027         instead need to check IsSpecialKey(), and, if so, flush whatever
3028         we have saved in our temporary buffer and then call
3029         WriteSpecialKey(). Otherwise go on as we did in the last patch.
3031         * TermInfoDriver.cs (NotifyWrite): Broken up into 2 functions:
3032         (IsSpecialKey): Returns true if we need to do some special voodoo
3033         for this key
3034         (WriteSpecialKey): Write the special key (using whatever voodoo
3035         necessary)
3037 2007-04-16  Jeffrey Stedfast  <fejj@gnome.org>
3039         * CStreamWriter.cs (Write): Instead of writing 1 char at a time,
3040         copy the bytes into a temporary char array (with a fixed max size)
3041         so that we can minimize the number of Write() calls we make on the
3042         underlying stream (and thus on the write() system call).
3044 2007-04-17  Alp Toker  <alp@atoker.com>
3046         * Array.cs: Make GetRank() icall private. Subclasses should use the
3047         public Rank property.
3049 2007-04-16  Jeffrey Stedfast  <fejj@novell.com>
3051         * WindowsConsoleDriver.cs: Get rid of unused Echo property.
3053         * NullConsoleDriver.cs: Get rid of Echo property.
3055         * IConsoleDriver.cs: Get rid of Echo property.
3057         * ConsoleDriver.cs (Echo::get/set): Removed, not needed.
3059         * TermInfoDriver.cs (Echo::get/set): Removed, this isn't necessary
3060         and is confusing.
3061         (ReadKey): If we are intercepting the key, call SetEcho (false)
3062         and then reset back to true after reading the key.
3063         (ReadLine): Same idea here.
3064         (GetCursorPosition): We no longer need to keep track of the
3065         previous echo state, we no longer have it :)
3067 2007-04-16  Jeffrey Stedfast  <fejj@novell.com>
3069         Fix for bug #80710 (and a bug I introduced in my last fix due to
3070         this code assuming the underlying term echo state was always
3071         false) and other buglets that I noticed.
3073         * TermInfoDriver.cs (ReadLine): Set (term) Echo to false as we do
3074         our own manual echoing which prevents ^H from getting displayed on
3075         the screen when the user hits backspace.
3076         (ReadLine): If the user hits Backspace and builder.Length is 0, DO
3077         NOT echo the backspace back to the console, ever.
3078         (ReadLine): Only echo characters back to the console if echo is
3079         set to true. Seems the Echo ConsoleDriver property is a Mono
3080         extension, and I'm assuming this is the intended behavior? I can't
3081         see what else the Echo property would be useful for...
3083 2007-04-16  Jeffrey Stedfast  <fejj@novell.com>
3085         Fixes bug #81050
3087         * TermInfoDriver.cs: Renamed the noEcho variable to echo, makes
3088         the logic cleaner/simpler/etc. Plus it was never actually used
3089         other than in the property methods which are called Echo.
3090         (Init): Call ConsoleDriver.SetEcho() with the 'echo' value -
3091         allows for a slight optimization if called from within the
3092         Echo::set property.
3093         (GetCursorPosition): Instead of calling the Echo property methods,
3094         call ConsoleDriver.SetEcho() directly to toggle echo off (if echo
3095         isn't already off, and then back on once we're finished getting
3096         the position - assuming the echo state is on, of course) - this
3097         avoids calling back into Init() which just felt dirty.
3098         (Echo::set): If the Echo state differs from our current state,
3099         call ConsoleDriver.SetEcho() with the new state (this is the
3100         important piece of the fix for bug #81050).
3101         (ReadKey): Simplified the echo logic to make it a bit clearer.
3102         (ReadLine): Same.
3104 2007-04-16  Marek Safar  <marek.safar@gmail.com>
3106         * Char.cs (IsLetter): Faster version.
3108 2007-04-15  Alp Toker  <alp@atoker.com>
3110         * Decimal.cs: Provide 2.0 Round() overloads using System.Math.
3112 2007-04-15  Alp Toker  <alp@atoker.com>
3114         * Activator.cs: CreateInstance(Type,object[]) was not params before
3115         2.0.
3117 2007-04-15  Alp Toker  <alp@atoker.com>
3119         * NonSerializedAttribute.cs: Inherited=false in 2.0.
3121 2007-04-05  Dick Porter  <dick@ximian.com>
3123         * Environment.cs: Increment mono_corlib_version
3125 2007-04-03  Alp Toker  <alp@atoker.com>
3127         * Array.cs: CreateInstance(Type,int[]) is params.
3128         * AppDomain.cs: ExecuteAssemblyByName(string,Evidence,string[]) is
3129         params.
3131 2007-04-03  Alp Toker  <alp@atoker.com>
3133         * Convert.cs:
3134         * Math.cs: Should be static classes in 2.0.
3136 2007-04-03  Alp Toker  <alp@atoker.com>
3138         * Delegate.cs: DynamicInvoke(object[]) is params in 2.0.
3140 2007-04-03  Alp Toker  <alp@atoker.com>
3142         * Delegate.cs: Combine(Delegate[]) is params in 2.0.
3144 2007-03-27  Dick Porter  <dick@ximian.com>
3146         * Environment.cs: Increment mono_corlib_version;
3148 2007-03-16  Miguel de Icaza  <miguel@novell.com>
3150         * BitConverter.cs: Revert the patch from 72237 as that introduces
3151         a regression and we are not sure yet what we will be doing about
3152         that.
3154         Introduce a new InternalInt64BitsToDouble method that provides the
3155         fixed functionality, mark it as internal.
3157         Introduce a new SwappableToDouble method that includes the
3158         swapping ToDouble routine as introduced by Zoltan on 72237, this
3159         is used by InternalInt64BitsToDouble.
3161         * Math.cs (IEEERemainder): Use the InternalInt64BitsToDouble
3162         routine here to preserve the semantics from Zoltan.  
3164         The problem with BitConverter.cs is that it is completely hossed.
3165         In .NET 1.1 it is a bitwise copy, no attempt is ever done to do
3166         endian-specific swapping.   In .NET 2.0 it is *almost* like that,
3167         but it is subtly broken: if data is unaligned then endian
3168         conversions happen.  If the data is properly aligned it behaves
3169         like 1.0.
3171         In general BitConverter is a sad class that offers little control,
3172         we will be introducing a new mono bit converter and encourage
3173         users to use that instead of the entirely broken
3174         System.BitConverter. 
3176 2007-03-11  Gert Driesen  <drieseng@users.sourceforge.net>
3178         * Delegate.cs: Fixed bootstrap build.
3180 2007-03-08  Gert Driesen  <drieseng@users.sourceforge.net>
3182         * StringComparer.cs: Renamed StringComparer classes and promoted them
3183         to top-level classes. Merged Ordinal and OrdinalIgnoreCase comparers.
3184         Fixes binary serialization compatibility with MS.
3186 2007-03-06  Zoltan Varga  <vargaz@gmail.com>
3187   
3188         * Type.cs (Equals): Remove a useless check.
3190         * Type.cs: Rename Type:Equals(Type) to EqualsInternal, and add support for checking
3191         UnderlyingSystemType. Fixes #81037.
3193 2007-03-05 Gonzalo Paniagua Javier <gonzalo.mono@gmail.com>
3195         * TermInfoDriver.cs: adjust buffer indexes after *every* read. Fixes
3196         bug #80329. Robert Jordan attached a similar patch to the bug report
3197         but I didn't see it until after my commit...
3199 2007-03-05  Peter Dettman <peter.dettman@iinet.net.au>
3201         * Enum.cs: The above patch makes the formatting for specifiers 'x'
3202         and 'X' behave like MS.NET, including the correct length for each
3203         possible underlying type, and correctly using capital letters for
3204         the 'X' case.
3206         Patch also includes some more test cases in EnumTests.cs.
3208 2007-02-25  Gert Driesen  <drieseng@users.sourceforge.net>
3210         * AppDomainSetup.cs: If configuration file is not an absolute path,
3211         then throw a MemberAccessException if ApplicationBase is not set,
3212         or otherwise consider it as a path relative to ApplicationBase.
3213         Fixes bug #80934. Patch provided by Jamie Cansdale.
3214         * AppDomain.cs: In CreateDomain, construct AppDomain with
3215         ApplicationBase of default domain if not explicitly set in specified
3216         AppDomainSetup. If config file is not set, then use filename of the
3217         default domain config file. Base on patch provided by Jamie Cansdale.
3219 2007-02-16  Sebastien Pouliot  <sebastien@ximian.com>
3221         * Random.cs: Fix exception messages ("then" -> "than"). Spotted by
3222         Mark A. Nicolosi (#80873).
3224 2007-02-12  Miguel de Icaza  <miguel@novell.com>
3226         * CStreamWriter.cs (Write with char []): take the lock once for
3227         all characters and call manually the InternalWriteChar properly to
3228         speed things up.
3230         (Write with string parameter): same thing, if the driver is not
3231         initialized use a fast path.
3233         If the driver has not been initialized, use a fast path instead. 
3235 Mon Feb 12 21:54:57 CET 2007 Paolo Molaro <lupus@ximian.com>
3237         * MonoType.cs: patch from Cedric Vivier <cedricv@neonux.com> to
3238         get correctly non-public fields from generic types.
3240 2007-02-08  Jonathan Chambers  <joncham@gmail.com>
3242         * __ComObject.cs: Add IUnknown field to object. Cleanup icalls.
3243         
3244 2007-02-03  Zoltan Varga  <vargaz@gmail.com>
3246         * BitConverter.cs (ToDouble): Fix this on big-endian machines.
3248 2007-01-30  Atsushi Enomoto  <atsushi@ximian.com>
3250         * TimeZone.cs: According to the docs, we should not throw when
3251         converting to Localtime if we are a negative value.  Instead we
3252         return DateTime.MinValue.
3254 2007-01-25  Atsushi Enomoto  <atsushi@ximian.com>
3256         * DateTime.cs : copy Kind in those members that return DateTime.
3257           Fixed bug #80614.
3259 2007-01-20  Miguel de Icaza  <miguel@novell.com>
3261         * Array.cs (InternalArray__ICollection_Contains,
3262         InternalArray__IndexOf): Cope with null values in the array (See
3263         bug #80563).
3265 2007-01-19  Marek Habersack  <grendello@gmail.com>
3267         * AppDomain.cs: Make sure that domain
3268         SetupInformation.ConfigurationFile is never null. MS.NET by
3269         default copies the default domain's ConfigurationFile value
3270         there. Fixes bug #80547.
3272 2007-01-14  Jensen Somers <jensen.somers@gmail.com>
3274         * ArraySegment.cs: Added Equals() method, operator == and !=
3275         overloading and GetHashCode().
3277 2007-01-10  Andy Hume <andyhume32@yahoo.co.uk>
3279         * Fixes to a number of exception classes.
3280         
3281         A project of mine uses #ctor(String,Exception) on 
3282         ObjectDisposedException, so I looked at adding that, and any 
3283         other similar constructors missing as per the class status report.
3284         
3285         I also spotted inconsistent setting of HResult, and fixed 
3286         those too.  For instance, ArgumentNullException sets HResult 
3287         only in three out of the four constuctors; not setting it in 
3288         the v2 (String,Exception) one -- and correctly not in the 
3289         Serialization constructor.
3290         
3291         
3292         So, I fixed the remaining missing (String,Exception) 
3293         constructors in corlib (2 of), and fixed the Hresult setting 
3294         in all exceptions there (4 of).
3295         
3296         The remaining Exception constructor omission listed was 
3297         InvalidCastException.ctor(System.String, System.Int32).  MSDN   says:
3298         "This constructor supplies an HRESULT value that is 
3299         accessible to inheritors of the InvalidCastException class, 
3300         via the protected HResult property of the Exception class."
3301         I added that method too, setting the HResult property from 
3302         the Int32 argument.
3304 2007-01-10  Atsushi Enomoto  <atsushi@ximian.com>
3306         * String.cs, StringComparer.cs : avoid extra string creation in
3307           StringComparer.OrdinalIgnoreCase.
3309 2007-01-05  Sebastien Pouliot  <sebastien@ximian.com>
3311         * DateTime.cs: Under 2.0 fix ParseExact to set DateTimeKind.Utc when
3312         DateTimeStyles.AdjustToUniversal is used.
3314 2007-01-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3316         * TermInfoDriver.cs: honor the backspace in ReadLine.
3318 2006-12-30  Marek Safar  <marek.safar@gmail.com>
3320         * String.cs: Character based method only.
3321         (IndexOf, LastIndexOf, Replace, IndexOfAny): Performance improvements.
3322         (Substring): Returns same instance when index is 0.
3324 2006-12-30  Alp Toker  <alp@atoker.com>
3326         * Decimal.cs:
3327         * Math.cs: Implement missing Decimal.Ceiling methods for 2.0.
3328         Closes #80384.
3330 2006-12-22  Sebastien Pouliot  <sebastien@ximian.com> 
3332         * DateTime.cs: Implement missing [To|From]Binary methods for 2.0.
3333         * OperatingSystem.cs: Implement missing ServicePack and VersionString
3334         properties (2.0).
3335         * Version.cs: Add missing Major|MinorRevision properties for 2.0.
3337 2006-12-14  Raja R Harinath  <rharinath@novell.com>
3339         * Type.cs (MakeGenericType): Can only be called on a generic type
3340         definition.
3342 2006-12-03  Miguel de Icaza  <miguel@novell.com>
3344         * DateTime.cs: Fix this on the 2.0 profile, return the
3345         DateTimeKind for the Now property
3347 2006-12-01  Duncan Mak  <duncan@a-chinaman.com>
3349         * ArgumentOutOfRangeException.cs (.ctor): 
3350         * NotFiniteNumberException.cs (.ctor): Add the 2.0 constructor
3351         that takes a string and an inner Exception.
3353 2006-12-01  Atsushi Enomoto  <atsushi@ximian.com>
3355         * DateTime.cs :
3356           When comparing enumerations, two or more enumeration values might
3357           match. Thus basically we should do complete matching, but right
3358           now just do reverse order search since only numbered abbrev month
3359           names matter (and full iteration is a mess). Fixed bug #80094.
3361 2006-12-01  Atsushi Enomoto  <atsushi@ximian.com>
3363         * DateTime.cs :
3364           use new internal clone-less DateTimeFormatInfo members.
3366 2006-11-29  Martin Baulig  <martin@ximian.com>
3368         * INullableValue.cs: Removed.
3370 2006-11-28  Duncan Mak  <duncan@novell.com>
3372         * ArgumentNullException.cs (.ctor): Added new constructor that's
3373         new in .NET 2.0.
3375         * InsufficientMemoryException.cs: Added missing 2.0 exception.
3376         
3377 2006-11-27  Jonathan Chambers  <joncham@gmail.com>
3379         * __ComObject.cs: Removed IDispatchMono.
3380         
3381 2006-11-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3383         * TermInfoDriver.cs:
3384         * Console.cs: lazy initialization of Console 2.0 (also when
3385         CancelKeyPress is used).
3387 2006-11-27  Miguel de Icaza  <miguel@novell.com>
3389         * Exception.cs (GetType): New method in 2.x, Another Moma catch. 
3391 Mon Nov 27 19:34:16 CET 2006 Paolo Molaro <lupus@ximian.com>
3393         * GC.cs: implemented the needed methods with icalls.
3395 2006-11-26  Miguel de Icaza  <miguel@novell.com>
3397         * Math.cs: Add Floor(Decimal d), for CreativeDocs.NET.
3399         Go Moma!  http://www.mono-project.com/Moma
3401         * Decimal.cs: Refactor code to implement TryParse.
3403         Also, avoid initializing messages on every call to stripStyles
3405 2006-11-22  Miguel de Icaza  <miguel@novell.com>
3407         * DateTime.cs: A small performance hit, we store the actual time
3408         span in a boxed object.   This way, it can be updated from other
3409         threads if necessary.   We always unbox to get the value before
3410         any potential updates. 
3412         Thanks to Gonzalo for catching this.
3414 2006-11-21  Miguel de Icaza  <miguel@novell.com>
3416         * TimeZone.cs (CurrentSystemTimeZone): Cache the current year
3417         daylight savings time in static variables.
3419         (CurrentSystemTimeZone.OnDeserialization): Initialize
3420         this_year_dlt and this_year on this method.
3422         (TimeZone): init statically the currentTimeZone instead of
3423         delaying that to the static property, avoiding a compare. 
3425 2006-11-22  Lluis Sanchez Gual  <lluis@novell.com>
3427         * Array.cs: (compare<T>) if a comparer is provided, it has
3428           priority over other comparison methods.
3430 2006-11-14  Miguel de Icaza  <miguel@novell.com>
3432         * Array.cs: TODOs will from now on be used to flag information
3433         that will be developer-visible, not to flag internal information
3434         that none of us reads or bothers about.
3436         For those, use "FIXME" strings in the source code instead. 
3438         * AppDomain.cs: Update to be more useful.
3440 2006-11-13  Atsushi Enomoto  <atsushi@ximian.com>
3442         * String.cs : fixed incorrect startIndex/length count in
3443           IndexOf(string,StringComparison).
3445 2006-11-07  Marek Safar  <marek.safar@gmail.com>
3447         * String.cs (LastIndexOf): If value is Empty, the return value is
3448         the start index position in value.
3450 2006-10-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3452         * TermInfoDriver.cs: prevent an invalid cast.
3454 2006-10-26  Marek Safar  <marek.safar@seznam.cz>
3456         * String.cs (Concat): Add fast-path for empty strings.
3458 2006-10-20  Jonathan Chambers  <joncham@gmail.com>
3460         * Variant.cs: Add support for bool and interfaces.
3461         
3462 2006-10-18  Kornél Pál  <kornelpal@gmail.com>
3464         * Type.cs: Removed is_subtype_of because IsSubclassOf should be used
3465           that is public and virtual. IsClass: Checking for ValueType is
3466           unnecessary. IsEnum: UnderlyingSystemType is not used anymore so
3467           no EnumBuilder hack is necessary. Checking for Enum is
3468           unnecessary. IsSerializable: Walk BaseType for user defined types.
3469           IsSubclassOf: Walk BaseType for user defined types.
3471         * MonoType.cs: IsValueTypeImpl is unnecessary. IsSubclassOf: Unlike
3472           Type system types throw ArgumentNullException on null Type
3473           argument.
3475 2006-10-14  Gert Driesen  <drieseng@users.sourceforge.net>
3477         * BadImageFormatException.cs: Changed message for default ctor to
3478         match MS. Use internal message field of Exception to check whether
3479         Message is null. Match MS default messages when no message is 
3480         set. Fixed ToString to match MS.
3482 2006-10-09  Miguel de Icaza  <miguel@novell.com>
3484         * Environment.cs: Handle SpecialFolder.MyMusic
3486 2006-10-07 Gert Driesen <drieseng@users.sourceforge.net>
3488         * Enum.cs: Use different exception message depending on whether the
3489         type of the passed in value is an Enum or not. Avoid looking up the
3490         enum's underlying type twice in case of "D" or "d" format specifier.
3492 2006-10-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3494         * TermInfoDriver.cs: don't allow backspace if we're at the beginning
3495         position for a ReadLine.
3497 2006-10-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3499         * TermInfoDriver.cs: ironpython autocompletion works now.
3501 2006-09-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3503         * Console.cs: avoid casting on windows.
3505 2006-09-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3507         * ConsoleDriver.cs:
3508         * TermInfoDriver.cs:
3509         * IConsoleDriver.cs:
3510         * CStreamWriter.cs:
3511         * ConsoleKeyInfo.cs:
3512         * NullConsoleDriver.cs:
3513         * Console.cs:
3514         * CStreamReader.cs:
3515         * WindowsConsoleDriver.cs: initial changes to handle cursor position
3516         and screen buffers.
3518 2006-09-21  Gert Driesen  <drieseng@users.sourceforge.net>
3520         * ArithmeticException.cs: Modified default message to match MS, to
3521         ensure a local regression test passes on both Mono and .NET.
3523 2006-09-21  Gert Driesen  <drieseng@users.sourceforge.net>
3525         * Exception.cs: Marked message internal to allow derived classes to
3526         access the raw message (without changing the public API).
3528 2006-09-19  Gonzalo Paniagua Javier <gonzalo@ximian.com>
3530         * ConsoleDriver.cs:
3531         * TermInfoDriver.cs:
3532         * IConsoleDriver.cs:
3533         * Console.cs:
3534         * WindowsConsoleDriver.cs: don't switch to the alternate window.
3535         Trigger the cancel event. Retrieve the cursor position at the
3536         beginning, as we're going to keep track of it instead of querying it
3537         all the time.
3539 2006-09-14  Jonathan Chambers  <joncham@gmail.com>
3541         * Environment.cs (ProcessorCount): Implement as icall.
3542         Patch by Jason McFall.
3544 2006-09-05  Raja R Harinath  <rharinath@novell.com>
3546         * DateTime.cs (Today) [NET_2_0]: Set kind to Local.
3548 2006-09-02  Zoltan Varga  <vargaz@gmail.com>
3550         * Enum.cs (Equals): Use the generic Equals implementation from ValueType which
3551         is faster and avoids allocations.
3553 2006-09-01  Martin Baulig  <martin@ximian.com>
3555         * Array.cs (Array.InternalArray): Removed the helper class;
3556         instead we use private generic methods in System.Array which are
3557         inserted into the vtable at runtime.
3559 2006-08-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3561         * ConsoleCancelEventArgs.cs: fix my build.
3563 2006-08-22  Miguel de Icaza  <miguel@novell.com>
3565         * MulticastDelegate.cs: Make DynamicInvokeImpl internal in 2.0 
3567         * Converter.cs: update signature to final.
3569         * ModuleHandle.cs: Removed the [Obsolete] flags as they removed
3570         those in the final 2.0
3572         * DateTime.cs: Fixed the signature. 
3574         * Convert.cs: Removed API calls that were deprecated in final 2.0
3576         * Enum.cs: Updated to use the obsoletes flagged in 2.0.
3578         * ConsoleCancelEventArgs.cs: Updated to 2.0
3580 2006-08-19  Miguel de Icaza  <miguel@novell.com>
3582         * Attribute.cs: This needs to do a deep compare, not a shallow
3583         one.   Ran into this bug with the VBNC compiler that compares two
3584         separate attributes for equality using this.
3586         * String.cs (StartsWith): Fix the overloaded constructor that
3587         takes a CultureInfo, if that is null, it means to use the current
3588         culture. 
3590         * TermInfoDriver.cs: Do not throw exceptions on the driver for
3591         SetWindowSize and SetWindowPosition, they can be treated as nops.
3593 2006-08-18  Zoltan Varga  <vargaz@gmail.com>
3595         * *.cs: Use String.Empty instead of "" in a lot of places.
3597 2006-08-17  Sebastien Pouliot  <sebastien@ximian.com>
3599         * DateTime.cs: Remove last patch to DateTime as the fix wasn't correct
3600         and made most x.509 unit tests fails. However the original problem is 
3601         back (only on 2.0).
3603 2006-08-14  Raja R Harinath  <rharinath@novell.com>
3605         Fix #78943
3606         * Activator.cs (CreateInstance): Throw ArgumentException on open
3607         generic types.
3609 2006-08-14  Miguel de Icaza  <miguel@novell.com>
3611         * MonoType.cs: Do the argument testinf for SetField later,
3612         otherwise the implicit (and not documented, but already considered
3613         side effect of checking SetProperty) did not work.
3615         Bug fix #79023
3617 2006-08-13  Atsushi Enomoto  <atsushi@ximian.com>
3619         * String.cs : Normalize() and IsNormalized() implementation.
3621 2006-08-10  Jonathan Chambers  <joncham@gmail.com>
3623         * __ComObject.cs: Added defintion of IDispatch interface, and
3624         property. Get CLSID of supertype for creation if class not
3625         ComImport attributed (allows for inheritance of RCW).
3626         * MonoType.cs: Implement IsCOMObjectImpl.
3628 2006-08-09  Atsushi Enomoto  <atsushi@ximian.com>
3630         * DateTime.cs : fixed X509Certificate() case that regressed only
3631           under NET_2_0.
3633 2006-08-07  Kornél Pál  <kornelpal@gmail.com>
3635         * Console.cs: Use correct code pages on Windows and initialize
3636           InputEncoding and OutputEncoding to the actual encodings used.
3638 2006-08-05  Duncan Mak  <duncan@novell.com>
3640         * Char.cs (TryParse): Implemented missing 2.0 method, which fixed
3641         bug #79007.
3643 2006-07-28  Jonathan Chambers  <joncham@gmail.com>
3645         * __ComObject.cs: Added support for marshalling objects.
3646         
3647 2006-07-24  Atsushi Enomoto  <atsushi@ximian.com>
3649         * Char.cs : implemented utf32 conversion methods thus fixed bug #78856.
3651 2006-07-19  John Luke  <john.luke@gmail.com>
3653         * TermInfoDriver.cs: switch order of alt and control when
3654         calling new ConsoleKeyInfo()
3656 2006-07-19  Kornél Pál  <kornelpal@gmail.com>
3658         * String.cs: Improve CreateString () performance when length is zero.
3660 2006-07-18  Kornél Pál  <kornelpal@gmail.com>
3662         * String.cs: Added CreateString () methods. Constructors with matching
3663           argument list are redirected to these methods that improves
3664           performance as well as fixes bug #78703.
3666 2006-07-15  Jonathan Chambers  <joncham@gmail.com>
3668         * __ComObject.cs: Begin implementing COM Interop.
3669         * Environment.cs: Increment corlib version.
3670         
3671 2006-07-12  Zoltan Varga  <vargaz@gmail.com>
3673         * Delegate.cs (DynamicInvokeImpl): Add support for bound delegates in Net 2.0.
3675 2006-07-11  Zoltan Varga  <vargaz@gmail.com>
3677         * Double.cs (Parse): Fix handling of inner whitespace.
3679 2006-07-09  Zoltan Varga  <vargaz@gmail.com>
3681         * Int32.cs: Fix a warning.
3683 2006-07-07  Atsushi Enomoto  <atsushi@ximian.com>
3685         * TimeZone.cs : consider DateTimeKind in ToLocalTime() and 
3686           ToUniversalTime(). Fixed bug #78784. Patch by Thong Nguyen.
3687         * DateTime.cs : DateTimeKind for UtcNow should be Utc.
3689 2006-06-28  Kornél Pál  <kornelpal@gmail.com>
3691         * Char.cs: Implemented IsHighSurrogate and IsLowSurrogate methods.
3693 2006-06-27  Atsushi Enomoto  <atsushi@ximian.com>
3695         * Double.cs : don't throw Exception in TryParse() for 'E'.
3696           Fixed bug #78546.
3698 2006-06-20  Jb Evain  <jbevain@gmail.com>
3700         * Math.cs: implement Math.Truncate.
3702 2006-06-13  Atsushi Enomoto  <atsushi@ximian.com>
3704         * DateTime.cs :
3705           Another lame win32 dependent pattern. Fixed bug #78618.
3707 2006-06-09  Jonathan Chambers  <jonathan.chambers@ansys.com>
3709         * Environment.cs: Implement Set/GetEnvironmentVariable for User/Machine.        
3711 2006-06-07  Kornél Pál  <kornelpal@gmail.com>
3713         * Environment.cs: Use Consts.FxFileVersion for Environment.Version
3714           as Consts.RuntimeVersion was removed.
3716 2006-06-05  Jonathan Chambers  <jonathan.chambers@ansys.com>
3718         * Variant.cs: Added.
3719         * Environment.cs: Incremented corlib version since adding Variant.      
3720         
3721 2006-06-01  Raja R Harinath  <rharinath@novell.com>
3723         * Nullable.cs (operator==, operator!=): Remove.
3725 2006-05-31  Zoltan Varga  <vargaz@gmail.com>
3727         * MonoDummy.cs: Removed as it is no longer needed.
3729         * Environment.cs: Bump corlib version.
3730         
3731         * Environment.cs: Revert the last change.
3732         
3733         * Environment.cs: Bump corlib version.
3735         * MonoAsyncCall.cs: New file.
3737 2006-05-30  Gert Driesen  <drieseng@users.sourceforge.net>
3739         * Char.cs: Removed duplicate (explicit) interface implementation.
3740         * String.cs: Removed duplicate (explicit) interface implemenation.
3741         * MulticastDelegate.cs: Fixed API mismatches.
3743 2006-05-29 Paolo Molaro <lupus@ximian.com>
3745         * String.cs: make sure that the chars truncated by a stringbuilder
3746         are zeroed.
3748 2006-05-29  Martin Baulig  <martin@ximian.com>
3750         * Exception.cs
3751         (Exception.StackTrace): Use the new stack trace format which is
3752         very similar to the one of MS.NET - method name goes first,
3753         file / line number last and in the method name, we separate class
3754         and method name by `.'.
3756         * Environment.cs
3757         (Environment.StackTrace): Enable line-number information.
3759 2006-05-24  Atsushi Enomoto  <atsushi@ximian.com>
3761         * DateTime.cs :
3762           Implement 2.0 TryParseExact(). Patch by Seo Sanghyeon.
3764 2006-05-17  Kazuki Oikawa  <kazuki@panicode.com>
3766         * Array.cs : added internal sort method used
3767           in System.Collections.Generics.List<T>.Sort(Comparison<T>).
3769 2006-05-15  Zoltan Varga  <vargaz@gmail.com>
3771         * Environment.cs: Bump corlib version.
3773 2006-05-10  Zoltan Varga  <vargaz@gmail.com>
3775         * MonoType.cs (GetMethodImpl): Fix a warning.
3777 2006-05-08  Atsushi Enomoto  <atsushi@ximian.com>
3779         * ArrayTest.cs : use proper comparer in IndexOf() and LastIndexOf().
3780           Patch by Kazuki Oikawa. Fixed bug #77277.
3782 2006-05-07  Zoltan Varga  <vargaz@gmail.com>
3784         * Nullable.cs (Equals): Fix comparison to null. Fixes #78322.
3786 2006-04-28  Atsushi Enomoto  <atsushi@ximian.com>
3788         * Nullable.cs : updated Nullable<T> API to 2.0 RTM.
3790 2006-04-26  Atsushi Enomoto  <atsushi@ximian.com>
3792         * Double.cs : (Parse) handle currency symbol when
3793           AllowCurrencySymbol is passed as part of the style. Patch by
3794           nede@aliquant.com, modified to eliminate redundant Substring().
3795           This fixes bug #77721.
3797 2006-04-26  Atsushi Enomoto  <atsushi@ximian.com>
3799         * MonoType.cs : (GetMethod) when zero-length type[] is explicitly
3800           passed, don't return methods with some arguments. Fixed bug #77367.
3802 2006-04-21  Gert Driesen  <drieseng@users.souceforge.net>
3804         * Enum.cs: Provide meaningful message when type of passed in value
3805         does not match enum type.
3807 2006-04-19  Raja R Harinath  <rharinath@novell.com>
3809         * Char.cs (Equals): Don't access 'm_value' field of other
3810         instances.  Cast directly to 'char'.
3812 2006-04-13  Atsushi Enomoto  <atsushi@ximian.com>
3814         * DateTime.cs : implement SpecifyKind(). Patch by Thong Nguyen.
3816 2006-04-13  Atsushi Enomoto  <atsushi@ximian.com>
3818         * NumberFormatter.cs : general performance improvements. Avoid 
3819           extraneous evaluation for simple formatting. Details are seen in 
3820           bug #77792. Patch by Kazuki Oikawa.
3822 2006-04-13  Atsushi Enomoto  <atsushi@ximian.com>
3824         * DateTime.cs : implement IsDaylightSavingTime().
3825           Patch by Seo Sanghyeon <tinuviel@sparcs.kaist.ac.kr>.
3827 2006-04-04  Atsushi Enomoto  <atsushi@ximian.com>
3829         * Array.cs :
3830           added some more [ReliabilityContract].
3831           removed some [CLSCompliant].
3832           renamed generic method parameter names.
3834 2006-03-31  Zoltan Varga  <vargaz@gmail.com>
3836         * Environment.cs (SetEnvironmentVariable): Implement.
3838 2006-03-28  Atsushi Enomoto  <atsushi@ximian.com>
3840         * Array.cs : oops, the last change caused regression. The array must
3841           be transparent to ReadOnlyCollection, not create another list.
3843 2006-03-28  Atsushi Enomoto  <atsushi@ximian.com>
3845         * Array.cs : AsReadOnly<T>() in RTM returns ReadOnlyCollection<T>.
3846           Thus removed ReadOnlyArray<T> and ReadOnlyArrayEnumerator<T>.
3847           In 2.0 some members became non-virtual.
3849 2006-03-23  Atsushi Enomoto  <atsushi@ximian.com>
3851         * String.cs : oops, NET_2_0.
3853 2006-03-23  Atsushi Enomoto  <atsushi@ximian.com>
3855         * String.cs : added new IndexOf() and LastIndexOf() overloads, and
3856           IEnumerable<char>.GetEnumerator().
3858 2006-03-21  Kornél Pál  <kornelpal@gmail.com>
3860         * String.cs: Make memcpy4 private as it is a helper method.
3861           Make memcpy internal to can be used from UnicodeEncoding.
3863 2006-03-19  Marek Safar  <marek.safar@seznam.cz>
3865         * Nullable.cs (Compare, Equals): Added constrain as gmcs now correctly
3866         reports an error here.
3868 2006-03-16  Atsushi Enomoto  <atsushi@ximian.com>
3870         * Double.cs : (Parse) reject String.Empty.
3872 Wed Mar 15 16:30:51 CET 2006 Paolo Molaro <lupus@ximian.com>
3874         * LocalDataStoreSlot.cs: implement as index in an array.
3875         Implemented finalizer and allow it to remove the data stored
3876         in the slot.
3878 2006-03-15  Zoltan Varga  <vargaz@gmail.com>
3880         * Environment.cs: Bump corlib version.
3882 2006-03-10  Zoltan Varga  <vargaz@gmail.com>
3884         * MonoCustomAttrs.cs (IsDefined): Avoid a runtime assert if a type
3885         overwrites GetCustomAttributes () but not IsDefined ().
3887 2006-03-07  Peter Dennis Bartok  <pbartok@novell.com>
3889         * Environment.cs: Bumped corlib version to 48 (due to r57532)
3891 2006-03-07  Martin Baulig  <martin@ximian.com>
3893         * String.cs (String.FormatHelper): Try getting an `ICustomFormatter'
3894         from the `provider' if possible.
3896 2006-02-26  Gert Driesen  <drieseng@users.souceforge.net>
3898         * DecimalFormatter.cs: Removed obsolete class, as it has been replaced
3899         by NumberFormatter.
3900         * DoubleFormatter.cs: Same.
3901         * SingleFormatter.cs: Same.
3903 2006-02-21  Marek Safar  <marek.safar@seznam.cz>
3905         * String.cs (Equals): Optimized for speed.
3907 2006-02-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3909         * TermInfoDriver.cs: patch by Mike Hull that fixes bug #77518.
3911 Mon Feb 20 11:19:54 CET 2006 Paolo Molaro <lupus@ximian.com>
3913         * MonoType.cs: patch from Joachim Ante <joe@otee.dk> to
3914         improve error messages.
3916 2006-02-15  Martin Baulig  <martin@ximian.com>
3918         * Type.cs (Type.IsGenericInstance): Removed.
3920 2006-02-14  Ankit Jain  <jankit@novell.com>
3921             Raja R Harinath  <rharinath@novell.com>
3923         * ArraySegment.cs (.ctor): Fix bounds check. Rename param 'length' to
3924         'count'.
3926 2006-02-11  Zoltan Varga  <vargaz@gmail.com>
3928         * TermInfoDriver.cs (CreateKeyInfoFromInt): Fix handling of tab and its
3929         friends.
3930         
3931         * TermInfoDriver.cs (GetWindowDimensions): Obtain the exact terminal
3932         size using an icall.
3933         (GetCursorPosition): Convert the row and column to 0 based indexing. 
3934         Also fix reading of large values.
3935         (CreateKeyInfoFromInt): Convert LF to ConsoleKey.Enter.
3937         * ConsoleDriver.cs (GetTtySize): New icall.
3939 2006-02-10  Zoltan Varga  <vargaz@gmail.com>
3941         * Array.cs: Fix some methods which previously returned Nullable<T>.
3943         * Nullable.cs: Add T: struct constraint and fix constructor.
3945 Fri Feb 3 11:01:46 CET 2006 Paolo Molaro <lupus@ximian.com>
3947         * String.cs: changed StartsWith/EndsWith to faster versions.
3949 2006-02-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3951         * String.cs: implement 2.0 StartsWith and EndsWith new overloads. Based
3952         on a patch by Thong Nguyen.
3954 2006-01-31  Zoltan Varga  <vargaz@gmail.com>
3956         * String.cs: Implement one of the new net 2.0 Split methods.
3958 2006-01-31  Atsushi Enomoto  <atsushi@ximian.com>
3960         * String.cs : (LastIndexOf) Fixed bug #77412. It should not expect
3961           that value length is bigger than its index.
3963 2006-01-27  Zoltan Varga  <vargaz@gmail.com>
3965         * DateTime.cs: Add some 2.0 methods and properties.
3967 2006-01-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3969         * Console.cs: if InternalCodePage returns -1, use the default encoding.
3970         Also match the UTF8 one properly. Patch by wall_john@sohu.com.
3972 2006-01-19  Atsushi Enomoto  <atsushi@ximian.com>
3974         * ModuleHandle.cs : GetPEKind() is not public in 2.0 RTM.
3976 2006-01-16  Alp Toker  <alp@atoker.com>
3978         * TimeSpan.cs: Simple implementation of NET 2.0 TryParse() using
3979         try/catch
3981 2006-01-05  Raja R Harinath  <rharinath@novell.com>
3983         Fix regressions introduced by the fix to #71300.
3984         * Activator.cs (CreateInstance): Use Binder.SelectMethod instead
3985         of home-grown FindBestCtor.
3986         (FindBestCtor): Delete.
3988 2006-01-03  Zoltan Varga  <vargaz@gmail.com>
3990         * Nullable.cs: Update to Net 2.0 RTM.
3991         
3992         * Nullable.cs: Add comments about runtime dependencies on the layout of
3993         this type.
3995 2006-01-02  Sebastien Pouliot  <sebastien@ximian.com>
3997         * Activator.cs: Now find the best ctor when null are used for 
3998         paramaters. Fix bug #71300. Added checks for specific types (void,
3999         TypedReference, ArgIterator and RuntimeArgumentHandle).
4000         * Console.cs: Re-use Environment logic to detect Windows.
4001         * Type.cs: Re-applied r45150 as the real bug was in Activator.
4003 2006-01-02  Zoltan Varga  <vargaz@gmail.com>
4005         * Activator.cs: Add a 'params' to one of the CreateInstance overloads.
4007         * RuntimeTypeHandle.cs RuntimeMethodHandle.cs RuntimeFieldHandle.cs:
4008         Add == and != operators.
4010 2005-12-23  Sebastien Pouliot  <sebastien@ximian.com>
4012         * Environment.cs: Bump corlib version to 46.
4013         * TimeZone.cs: Partial fix for #76094. Added [Serializable] attribute 
4014         and renamed internal CurrentTimeZone class to CurrentSystemTimeZone 
4015         (like MS). This allows serialization roundtrip to work in Mono but 
4016         there's still an issue when deserializing a stream from MS. 
4018 2005-12-23  Sebastien Pouliot  <sebastien@ximian.com> 
4020         * NumberFormatter.cs: Fixed rounding for float and the string output
4021         now includes all the precision (not counting preceding zeros). This
4022         fix the DecimalTest.TestConstructSingleRounding_NotWorking test cases.
4024 2005-12-21  Sebastien Pouliot  <sebastien@ximian.com> 
4026         * Array.cs: Fixed Sort<T> with IComparable (generic or not) bug #77039
4028 2005-12-20  Carlos Alberto Cortez <calberto.cortez@gmail.com>
4030         * Array.cs: Added the Sort<T> methods (generics). 
4032 2005-12-19  Sebastien Pouliot  <sebastien@ximian.com> 
4034         * Array.cs: Fixed BinarySearch when the array is empty (#77030). Added
4035         some null check which throws ArgumentNullException under 2.0.
4037 2005-12-15  Sebastien Pouliot  <sebastien@ximian.com>
4039         * DateTime.cs: Added MonoTODO to ctor accepting a Calandar instance.
4040         * Double.cs: Under 2.0 throw a ArgumentException when parsing with
4041          NumberStyles.AllowHexSpecifier. Partial fix for #72221. Added the
4042         second, simpler, TryParse method (2.0).
4043         * Single.cs: Added the TryParse methods for 2.0.
4045 2005-12-15  Raja R Harinath  <rharinath@novell.com>
4047         * Type.cs (IsGenericType): Make virtual.
4049 2005-12-08  Sebastien Pouliot  <sebastien@ximian.com> 
4051         * AppDomainSetup.cs: ApplicationBase throw exception on get (not on 
4052         set). New behaviour is more like MS - but most issues (unit tests)
4053         were really path issues. Fix bug #71291.
4054         * DateTime.cs: Add more information when throwing an exception in 
4055         ctor(long). Useful for debugging.
4057 2005-12-07  Zoltan Varga  <vargaz@gmail.com>
4059         * Single.cs Double.cs: Fix warnings.
4061 2005-12-06  Sebastien Pouliot  <sebastien@ximian.com> 
4063         * Convert.cs: ToBase64String method didn't use the option parameter so
4064         we always included new lines. Fix bug #76876.
4066 2005-12-06  Sebastien Pouliot  <sebastien@ximian.com>
4068         * AppDomainSetup.cs: Added missing ComVisible and removed LAMESPEC 
4069         (the docs were fixed).
4070         * NumberFormatter.cs: Fixed the "NotWorking" case where 1.15 was 
4071         misrounded compared to MS implementation. Extra care is required when
4072         dealing with the extra 2 digits information (e.g. double precision is
4073         15 digits but 17 are kept - for a reason ;-)
4075 2005-12-05  Ben Maurer  <bmaurer@ximian.com>
4077         * Environment.cs: Bump version
4079         * Nullable.cs: New Box and Unbox methods for the jit
4081 2004-12-05  Peter Dennis Bartok <pbartok@novell.com>
4083         * Enum.cs: Properly handle "No bits set" case even if the sorted numbers
4084           list does not have enum value 0 as the first item. Fixes #76921
4086 2005-12-05  Sebastien Pouliot  <sebastien@ximian.com>
4088         * AppDomain.cs: CreateComInstanceFrom isn't static in any profile.
4090 Mon Dec 5 15:14:59 CET 2005 Paolo Molaro <lupus@ximian.com>
4092         * Double.cs: remove unused icall.
4093         * BitConverter.cs: handle double binary format on ARM FPA.
4095 2005-12-02  Alp Toker  <alp@atoker.com>
4097         * MonoType.cs:
4098         * Type.cs: DeclaringMethod should return MethodBase, not MethodInfo
4100 2005-12-02  Alp Toker  <alp@atoker.com>
4102         * AppDomain.cs: ReflectionOnlyPreBindAssemblyResolve renamed to
4103         ReflectionOnlyAssemblyResolve in 2.0 final
4105 2005-12-01  Alp Toker  <alp@atoker.com>
4107         * String.cs: Add static and non-static Equals(... StringComparison) for
4108         2.0.
4110 2005-12-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4112         * TermInfoDriver.cs: special case for the escape key. Fixes bug #76781.
4114 2005-11-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4116         * TermInfoDriver.cs: if the cursor_address capability contains a %i, we
4117         have to add 1 to x and y when setting the cursor position.
4118         Fixes bug #76856.
4120         * Convert.cs: remove unused variables.
4122 Wed Nov 30 12:14:20 EST 2005 Paolo Molaro <lupus@ximian.com>
4124         * NumberFormatter.cs: work around arch-specific ulong cast behaviour
4125         with large numbers.
4127 Tue Nov 29 05:38:37 EST 2005 Paolo Molaro <lupus@ximian.com>
4129         * Convert.cs: fix endianess issue when converting to base-8
4130         format. All the base code would need a rewrite for efficience.
4132 2005-11-25  Sebastien Pouliot  <sebastien@ximian.com>
4134         * String.cs: Added support for Compare(... StringComparison) in 2.0.
4136 2005-11-25  Alp Toker  <alp@atoker.com>
4138         * Type.cs (IsVisible): New 2.0 property, implemented recursively.
4140 2005-11-17  Dick Porter  <dick@ximian.com>
4142         * Environment.cs: Incremented corlib version
4144 2005-11-14  Carlos Alberto Cortez <calberto.cortez@gmail.com>
4146         * Int32.cs, UInt32.cs, Int16.cs, UInt16.cs, Int64.cs,
4147         UInt64.cs, Byte.cs, SByte.cs, Double.cs : Modify internal Parse
4148         methods to return the exception as an out parameter,
4149         instead of throwing it. This will be of special help
4150         to TryParse methods.
4151         * Environment.cs: Update corlib version to 42.
4152         
4153 2005-11-14  Raja R Harinath  <rharinath@novell.com>
4155         * EventHandler.cs (EventHandler<TEventArgs>): Rename from EventHandler<T>.
4157 2005-11-11  Zoltan Varga  <vargaz@gmail.com>
4159         * Type.cs (GetPseudoCustomAttributes): Return ComImportAttribute as well.
4161 2005-11-11  Lluis Sanchez Gual  <lluis@novell.com>
4163         * TimeZone.cs: Removed incorrect double-check lock and unneeded
4164         hashtable access.
4166 2005-11-11  Marek Safar  <marek.safar@seznam.cz>
4168         * Type.cs: IsNested implemented, signature fixes.
4170 2005-11-11  Raja R Harinath  <rharinath@novell.com>
4172         * Array.cs (Resize<T>) [2-argument variant]: Fix nullref.
4174 2005-11-10  Zoltan Varga  <vargaz@gmail.com>
4176         * Array.cs (Resize<T>): New internal method which takes a 'length' argument
4177         as well to avoid copying the whole array.
4179 2005-11-09  Atsushi Enomoto  <atsushi@ximian.com>
4181         * Int64.cs : ditto for long.
4183 2005-11-09  Atsushi Enomoto  <atsushi@ximian.com>
4185         * Int32.cs : Parse("2147483648", format_provider) should be rejected.
4187 2005-11-09  Sebastien Pouliot  <sebastien@ximian.com>
4189         * AttributeTargets.cs: Added [ComVisible (true)] and [Serializable] 
4190         in 2.0 profile.
4191         * Base64FormattingOptions.cs: Added missing [Flags] attribute.
4192         * ConsoleKey.cs: Removed old BackSpace and WhiteSpace (they were 
4193         already replaced by Backspace and Whitespace)
4194         * DateTime.cs: Moved DayOfWeek enum to it's own file.
4195         * DateTimeKind.cs: New (2.0) enum.
4196         * DayOfWeek.cs: New file (extracted from DateTime.cs).
4197         * DomainManagerInitializationFlags.cs: Removed extra [Serializable].
4198         * EnvironmentVariableTarget.cs: Added [ComVisible (true)] and fixed 
4199         values (-1 to all of them).
4200         *  Exception.cs: Added a LinkDemand for SerializationFormatter on
4201         GetObjectData method.
4202         *  LoaderOptimization.cs: Added [ComVisible (true)] and [Serializable] 
4203         on enum and added [Obsolete] to DomainMask and DisallowBindings in 2.0
4204         profile.
4205         * PlatformID.cs: Added [ComVisible (true)] and [Serializable] in 2.0 
4206         profile.
4207         * StringComparison.cs: New (2.0) enum (needed for Uri).
4208         * TermInfoDriver.cs: Fixed BackSpace -> Backspace (see ConsoleKey.cs).
4209         * TypeCode.cs: Added [ComVisible (true)] and [Serializable] in 2.0 
4210         profile.
4212 2005-11-08  Atsushi Enomoto  <atsushi@ximian.com>
4214         * Type.cs : I forgot to mention, some '(' were missing in the
4215           improved patch ;-)
4217 2005-11-08  Zoltan Varga  <vargaz@freemail.hu>
4219         * Type.cs (GetPseudoCustomAttributes): Check for TypeAttributes.Serializable instead of
4220         IsSerializable property, since the latter returns true for delegates/enums.
4222 2005-11-05  Kornél Pál  <kornelpal@hotmail.com>
4224         * Environment.cs: Use Consts.RuntimeVersion as Environment.Version that
4225           makes maintenance easier.
4227 2005-10-24  Martin Baulig  <martin@ximian.com>
4229         * Type.cs (Type.IsGenericTypeDefinition): Make this virtual.
4231 2005-10-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4233         * String.cs: fix bound checkings for LastIndexOfAny. Closes bug #76519.
4235 2005-10-20  Raja R Harinath  <rharinath@novell.com>
4237         * Array.cs (Swapper): Remove NET_2_0 guards from nested declaration.
4239 2005-10-16  Michal Moskal  <malekith@nemerle.org>
4241        * TermInfoDriver.cs: Call Init () in Background/ForegroundColor.
4243 2005-10-14  Atsushi Enomoto  <atsushi@ximian.com>
4245         * DateTime.cs : another crappy Windows dependent format.
4247 2005-10-14  Ben Maurer  <bmaurer@ximian.com>
4249         * DateTime.cs: Speed up when parsing date time objects by not
4250         duplicating cultureinfo arrays.
4252 2005-10-13  Zoltan Varga  <vargaz@gmail.com>
4254         * Type.cs (GetTypeCode): Applied patch from 
4255         Mike Welham <mwelham@gmail.com>. Return TypeCode.Empty when null is
4256         passed in.
4258 2005-10-07  Zoltan Varga  <vargaz@gmail.com>
4260         * Delegate.cs: Add support for delegate covariance and contravariance
4261         from net 2.0.
4263 2005-10-03  Atsushi Enomoto  <atsushi@ximian.com>
4265         * StringComparer.cs : (OrdinalIgnoreCaseComparer.Equals()) reverse.
4267 2005-09-26  Zoltan Varga  <vargaz@gmail.com>
4269         * String.cs (ParseFormatSpecifier): Fix skipping of whitespace. Fixes
4270         #76204.
4272 2005-09-23  Miguel de Icaza  <miguel@novell.com>
4274         * Decimal.cs: Fix typo, patch from Tomas Kukol <tomas.kukol@gmail.com>
4276 2005-09-19  Zoltan Varga  <vargaz@gmail.com>
4278         * MonoCustomAttrs.cs (GetCustomAttributesInternal): Add
4279         attributeType parameter.
4280         (IsDefined): New icall.
4282         * MonoCustomAttrs.cs: Avoid instantiating all custom attrs of an
4283         object when only a specific attribute type is requested. Fixes #76062.
4285         * Environment.cs: Bump corlib version.
4287 2005-09-09  Zoltan Varga  <vargaz@gmail.com>
4289         * TypeLoadException.cs MissingMethodException.cs MissingFieldException.cs: Add new ctors called by the runtime. Improve Message property.
4291 2005-09-14  Atsushi Enomoto  <atsushi@ximian.com>
4293         * DateTime.cs : (_DoParse) don't check ticks range before computing
4294           the actual value. Fixed bug #76082.
4296 2005-09-14  Atsushi Enomoto  <atsushi@ximian.com>
4298         * TimeZone.cs : When the target DateTime is in the range of
4299           DST end to DST + delta, don't adjust UtcOffset gap between that of
4300           DST and that of STD. This should fix bug #75985.
4302 2005-09-06  Atsushi Enomoto  <atsushi@ximian.com>
4304         * TimeZone.cs, DateTime.cs :
4305           - ToLocalTime() and ToUniversalTime() are moved to TimeZone.
4306           - Added more COM patterns. Patch by Ankit Jain. Fixed bug #72132.
4307           - use ToLocalTime() and don't depend on the own offset computation.
4308             Parse() with 'Z' pattern is closer to correct value on switching
4309             Daylight Saving Time. See bug #75985.
4311 2005-09-06  Atsushi Enomoto  <atsushi@ximian.com>
4313         * DateTime.cs : (DoParse) DateTimeStyles.AdjustToUniversal was not
4314           handled as expected and it kept time value as local one.
4315           Patch by Brion Vibber. Fixed bug #75995.
4317 2005-09-06  Atsushi Enomoto  <atsushi@ximian.com>
4319         * DateTime.cs : Literal escape (\) was not checking format as
4320           expected. Fixed bug #75213.
4322 2005-09-05  Miguel de Icaza  <miguel@novell.com>
4324         * MonoType.cs: Patch from Jonathan Chambers to implement
4325         Type.GUID. 
4327 2005-09-05  Martin Baulig  <martin@ximian.com>
4329         Reflect latest API changes in the August CTP.
4331         * Type.cs (Type.HasGenericArguments): Removed.
4332         (Type.BindGenericParameters): Renamed to MakeGenericType().
4334 2005-09-01  Atsushi Enomoto  <atsushi@ximian.com>
4336         * DateTime.cs : another idiotic COM dependent format.
4338 2005-09-01  Kornél Pál  <kornelpal@hotmail.com>
4340         * __ComObject.cs: Fixed to be internal. Removed CLSCompliant attribute.
4341         Added some comments about the class.
4343 2005-08-30  Sebastien Pouliot  <sebastien@ximian.com>
4345         * AppDomain.cs: Use the more concise property syntax for declarative
4346         security.
4347         * AppDomainManager.cs: Default HostSecurityManager is null.
4349 2005-08-25  Atsushi Enomoto  <atsushi@ximian.com>
4351         * NumberFormatter.cs : eliminate non-ASCII character.
4353 2005-08-25  Marek Safar  <marek.safar@seznam.cz>
4355         * Enum.cs: Better exception message.
4356         
4357 2005-08-21  Gert Driesen  <drieseng@users.sourceforge.net>
4359         * Convert.cs: In FromBase64String, return empty byte array for zero
4360         length string. Pass bool to InternalFromBase64String to control 
4361         whether to allow a whitespace-only string.
4362         * Environment.cs: Bump corlib version.
4364 2005-08-20  Zoltan Varga  <vargaz@freemail.hu>
4366         * Environment.cs: Bump corlib version.
4368 2005-08-19  Zoltan Varga  <vargaz@freemail.hu>
4370         * Math.cs: Implement a new 2.0 Round method.
4372 2005-08-19  Gert Driesen  <drieseng@users.sourceforge.net>
4374         * Convert.cs: Throw OverflowException if result is larger than
4375         ushort.MaxValue to match MS.NET. Remove commented code.
4377 2005-08-17  Gert Driesen  <drieseng@users.sourceforge.net>
4379         * Convert.cs: For now, do not throw OverflowException if hex prefixed
4380         value is negative for signed types (other than int64). Need to look
4381         into this further.      
4383 2005-08-17  Gert Driesen  <drieseng@users.sourceforge.net>
4385         * Convert.cs: Numerous fixed in overloads taking base to match 
4386         behaviour of MS.NET. Throw ArgumentOutOfRangeException is string is
4387         empty. If base is 16, 8 or 2, then throw ArgumentException if first 
4388         character is a negative sign. Throw OverflowException if hex prefixed 
4389         value is negative for signed types (other than int64) to match MS.NET. 
4391 2005-08-16  Atsushi Enomoto  <atsushi@ximian.com>
4393         * DateTime.cs : added another COM dependent pattern (rather to describe
4394           how it works on .NET than to add the pattern itself...).
4396 2005-08-16  Atsushi Enomoto  <atsushi@ximian.com>
4398         * DateTime.cs : added case for bug #53023.
4400 2005-08-10  Zoltan Varga  <vargaz@freemail.hu>
4402         * Type.cs: Add IsGenericType property from NET 2.0.
4404 2005-08-10  Atsushi Enomoto  <atsushi@ximian.com>
4406         * String.cs : added new StartsWith()/EndsWith() override, fixing
4407           existing EndsWith() which incorrectly assumed that both string
4408           lengths must be equivalent (they are not always equal).
4409         * StringComparer.cs : added Ordinal and OrdinalIgnoreCase.
4411 2005-08-09  Zoltan Varga  <vargaz@freemail.hu>
4413         * String.cs: Implement Split(String[]) methods.
4415 2005-08-09  Miguel de Icaza  <miguel@novell.com>
4417         * AppDomainSetup.cs: Full-pathization of the appBase should only
4418         be done on Windows, the ":" condition never applied to Linux.
4420         * ConsoleKey.cs: Include a few aliases for a few values that were
4421         introduced recently.
4423 2005-08-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4425         * ConsoleKey.cs: added Backspace, which has the same value as BackSpace.
4426         Fixes bug #75697.
4428 2005-08-08  Atsushi Enomoto  <atsushi@ximian.com>
4430         * String.cs : (StartsWith) compared string lengths are not always the
4431           same in culture-sensitive comparison.
4433 2005-08-05  Gert Driesen  <drieseng@users.sourceforge.net>
4435         * Array.cs: Changed protected ctor to private. Fixes API compatibility
4436         with MS.NET.
4437         * RuntimeFieldHandle.cs: Equals methods and GetHashCode should only
4438         be exposed in 2.0 profile.
4439         * RuntimeMethodHandle.cs: Equals methods and GetHashCode should only
4440         be exposed in 2.0 profile.
4441         * RuntimeTypeHandle.cs: Equals methods and GetHashCode should only
4442         be exposed in 2.0 profile.
4443         * Type.cs: Added GetType method and implemented _Type interface.
4444         Fixes API compatibility with MS.NET.
4446 2005-07-28  Marek Safar  <marek.safar@seznam.cz>
4448         * StringComparer.cs: Add generics version of string interfaces.
4450 2005-07-26  Atsushi Enomoto  <atsushi@ximian.com>
4452         * StringComparer.cs : implemented StringCultureComparer.GetHashCode().
4454 2005-07-26  Zoltan Varga  <vargaz@freemail.hu>
4456         * StringSplitOptions.cs MidpointRounding.cs: New files.
4458         * String.cs Math.cs: Add stubs for some new 2.0 APIs.
4460 2005-07-26  Marek Safar  <marek.safar@seznam.cz>
4462         * StringComparer.cs: New file.
4464 2005-07-26  Raja R Harinath  <harinath@gmail.com>
4466         * Enum.cs (GetValue): Make private.  Return an ulong.
4467         (Parse): Tighten scope of couple of variables.  Use ulong when
4468         twiddling bits.
4470 2005-07-25  Raja R Harinath  <rharinath@novell.com>
4472         * Enum.cs (FindName, GetValue): New.  Carved out of ...
4473         (Parse): ... this.  Refactor and simplify code.  Avoid incurring
4474         exceptions when parsing names.  Avoid allocating arrays unless
4475         necessary.  Avoid conversion of an enumeration constant to its own
4476         type.  (Incorporates ideas from a patch by Gonzalo Paniagua Javier.)
4478 2005-07-13  Lluis Sanchez Gual  <lluis@novell.com>
4480         * MarshalByRefObject.cs: GetLifetimeService() should be virtual.
4481         Fixes bug #75527.
4483 2005-07-13  Miguel de Icaza  <miguel@novell.com>
4485         * Array.cs: Patch from rodrigobamboo@gmail.com that fixes the
4486         signature for GetValue and SetValue to make the long [] argument
4487         be a params argument. 
4489 2005-07-11  Pedro Martínez Juliá  <pedromj@gmail.com>
4491         * Convert.cs: Fix the bug when Convert.ChangeType was using
4492         NumberFormatInfo instead of DateTimeFormatInfo when the type to
4493         change is a DateTime.
4495 2005-07-11  Martin Baulig  <martin@ximian.com>
4497         * Array.cs: Use Type.Equals() instead of `==' to compare type
4498         parameters.     
4500 2005-07-10  Kamil Skalski <nazgul@nemerle.org>
4502         * Type.cs: Mark BindGenericParameters as deprecated. Use
4503         MakeGenericType as default implementation with updated signature.
4505 2005-07-09  Zoltan Varga  <vargaz@freemail.hu>
4507         * Attribute.cs (IsDefined): Fix IsDefined for ParameterInfo's. Fixes
4508         #75514.
4510 2005-07-05  Lluis Sanchez Gual  <lluis@novell.com>
4512         * DelegateSerializationHolder.cs: When the deserialized target is
4513         a proxy, call IsInstanceOfType to force the proxy to load the
4514         real type of the remote object. This is needed to make sure that
4515         subsequent calls to GetType() return the expected type. This fixes
4516         bug #75447.
4518 2005-07-03  Ben Maurer  <bmaurer@ximian.com>
4520         * OperatingSystem.cs: patch from Aleksandar Dezelin to fix
4521         serialization.
4523 2005-06-30  Sebastien Pouliot  <sebastien@ximian.com> 
4525         * Guid.cs: Avoid code duplication between overriden methods (new in 
4526         2.0). Avoid exception processing when possible. Renamed parameters to
4527         match the framework. Added ComVisible to NET_2_0.
4529 2005-06-28  Elliott Draper  <el@eldiablo.co.uk>
4531         * Activator.cs: This implements the generic Activator.CreateInstance<T>()
4532         function for NET_2_0. It's full signature is:
4533                 public static T CreateInstance<T>();
4535 2005-06-28  Lluis Sanchez Gual  <lluis@novell.com>
4537         * Decimal.cs: Renamed internal fields for the sake of serialization
4538         interoperability with MS.NET.
4539         * Exception.cs: In the StackTrace property, return the stack trace
4540         if it has a value, even if the exception has not been thrown
4541         (it may have been deserialized).
4543 2005-06-28  Martin Baulig  <martin@ximian.com>
4545         * Array.cs (Array.InternalArray<T>): New nested class; derives
4546         from Array.  This is now used by the runtime for arrays; fixes #74953.
4548 2005-06-27  Atsushi Enomoto  <atsushi@ximian.com>
4550         * String.cs : added some extra whitespace characters for Trim().
4551           Fixed bug #75259.
4553 2005-06-13  Michal Moskal <malekith@nemerle.org>
4554         
4555         * MonoType.cs: Don't use MethodHandle in GetMethod/GetConstructor,
4556         since it now throws on MethodBuilders. Don't use FieldHandle in
4557         GetField (throws on FieldBuilder) - just use the name.
4559 2005-06-13  Martin Baulig  <martin@ximian.com>
4561         * MonoType.cs
4562         (MonoType.getFullName): Added `bool assembly_qualified' argument.
4563         (MonoType.AssemblyQualifiedName): The interncall now adds the
4564         assembly name, so we don't need to do it here.
4565         (MonoType.FullName): Use the new getFullName() API.
4567 2005-06-14  Sebastien Pouliot  <sebastien@ximian.com>
4569         * Char.cs: ToLowerInvariant and ToUpperInvariant are now public in 
4570         NET_2_0. Added "new" white char and ComVisible for 2.0.
4572 2005-06-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4574         * Convert.cs: FromBase64String and FromBase64CharArray are now internal
4575         calls to avoid extra allocations.
4577 2005-06-09  Kamil Skalski <nazgul@nemerle.org>
4579         * Type.cs: Add MakeGenericType method form .NET 2.0 beta 2 API
4581         * Type.cs MonoType.cs: Add internal virtual
4582         Get{Method,Constructor,Field} for obtaining instanciated *Info objects
4583         from non-instanciated counterparts
4585 2005-06-09  Zoltan Varga  <vargaz@freemail.hu>
4587         * ModuleHandle RuntimeMethodHandle.cs RuntimeTypeHandle.cs RuntimeFieldHandle.cs RuntimeArgumentHandle.cs: Add missing 2.0 attributes.
4589 2005-06-08  Zoltan Varga  <vargaz@freemail.hu>
4591         * Type.cs: Add missing 2.0 attributes.
4593 2005-06-07  Carlos Alberto Cortez <calberto.cortez@gmail.com>
4595         * MonoCustomAttrs.cs: Added GetCustomAttributesDataInternal icall, and
4596         also internal method GetCustomAttributesData, used by 
4597         System.Reflection.CustomAttributeData.
4598         
4599 2005-06-06  Sebastien Pouliot  <sebastien@ximian.com>
4601         * Activator.cs: Added  _Activator interface (and members) for 1.1 and
4602         missing attributes (for both 1.1 and 2.0).
4603         * String.cs: Made internal To[Lower|Upper]Invariant methods public for
4604         2.0. Reworked Trim() to skip a useless call. Added missing attribute
4605         for 2.0.
4606         * Type.cs: Added  _Type, _MemberInfo interfaces (1.1/2.0). Added 
4607         missing attribute for 2.0. Hided some public/protected methods.
4609 2005-06-06  Zoltan Varga  <vargaz@freemail.hu>
4611         * ModuleHandle.cs: Update after PortableExecutableKinds name change.
4613 2005-06-06  Sebastien Pouliot  <sebastien@ximian.com>
4615         * _AppDomain.cs: Added new members in the interface (added in 1.1 SP1)
4616         * AppDomain.cs: Added new members from _AppDomain interface.
4617         * AppDomainManager.cs: Fixed flags and added attributes.
4618         * DomainManagerInitializationFlags.cs: The flag has been renamed to 
4619         AppDomainManagerInitializationOptions in beta2.
4621 2005-06-06  Zoltan Varga  <vargaz@freemail.hu>
4623         * Type.cs MonoCustomAttrs.cs: Return SerializableAttribute for types as well.
4625 2005-06-06  Sebastien Pouliot  <sebastien@ximian.com>
4627         * Exception.cs: Implements _Exception only for 2.0.
4629 2005-06-06  Zoltan Varga  <vargaz@freemail.hu>
4631         * GC.cs: Fix build.
4632         
4633         * GC.cs UnhandledExceptionEventArgs.cs IntPtr.cs RuntimeFieldHandle.cs 
4634           String.cs Object.cs Math.cs RuntimeMethodHandle.cs ModuleHandle.cs 
4635           RuntimeTypeHandle.cs AppDomain.cs: Add some missing 2.0 methods/attributes.
4637 2005-06-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4639         * Environment.cs:
4640         * AppDomain.cs: if the assembly is loaded from a byte array, Location
4641         returns "". Fixes bug #74958.
4643 2005-06-04  Ben Maurer  <bmaurer@ximian.com>
4645         * *.cs: More 2.0 API fixups
4647         * *.cs: In beta 2, generics are no longer non-cls-compliant.
4649 2005-06-05  Kazuki Oikawa  <kazuki@panicode.com>
4651         * NumberFormatter.cs: Fixed the output of 0.ToString("00.00E00")
4652         that was different from MSFT.
4653         * String.cs: Fixed IndexOfAny thrown an exception
4654         when startIndex of arguments equals Length. (Closes bug #75083.)
4656         * Decimal.cs: Changed to use NumberFormatter in ToString.
4657         * NumberFormatter.cs: Implemented decimal formatter.
4659 2005-06-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4661         * Type.cs: reverted wrong fix for bug #71300 in r45150. This makes SSL
4662         support in System.Net work again.
4664 2005-06-01  Ben Maurer  <bmaurer@ximian.com>
4666         * CharEnumerator.cs: add IEnumerable <char> support
4668 2005-05-30  Sebastien Pouliot  <sebastien@ximian.com>
4670         * Activator.cs: Added missing validation on parameters.
4672 2005-05-28  Ben Maurer  <bmaurer@ximian.com>
4674         * Type.cs: Check that the arguments of the `types' array are
4675         non-null. Fixes bug 71300
4677 2005-05-28  Sebastien Pouliot  <sebastien@ximian.com>
4679         * AppDomainSetup.cs: Added new 2,0 constructors and the 
4680         ActivationArguments property.
4681         * AppDomainManager.cs: Added using System.Runtime.Hosting as it is the
4682         new location for the ApplicationActivator class.
4683         * ApplicationActivator.cs: Moved to System.Runtime.Hosting namespace.
4685 2005-05-27  Vladimir Vukicevic  <vladimir@pobox.com>
4687         * Environment.cs: bump corlib version for bug #75060.
4689 2005-05-27  Raja R Harinath  <rharinath@novell.com>
4691         * Environment.cs (ExpandEnvironmentVariables): Rewrite
4692         sb.Append (s.SubString (a, b)) to sb.Append (s, a, b).
4693         * String.cs (FormatHelper): Rewrite sb.Append (s.SubString (a)) to
4694         sb.Append (s, a, s.Length - a).  Avoid allocating 'pad' string --
4695         StringBuilder has an appropriate Append overload.
4697 2005-05-26  Zoltan Varga  <vargaz@freemail.hu>
4699         * Type.cs (IsEnum): Special case EnumBuilder here.
4701 2005-05-26  Sebastien Pouliot  <sebastien@ximian.com>
4703         * MonoType.cs: Changed call from GetName to UnprotectedGetName to
4704         allow call to work with serialization under a restrictive policy.
4705         The code path (the protected information) isn't being used.
4707 2005-05-25  Zoltan Varga  <vargaz@freemail.hu>
4709         * Exception.cs: Use the new StackTrace ctor.
4711         * Type.cs: Improve support for user defined type subclasses.
4713 2005-05-25  Atsushi Enomoto  <atsushi@ximian.com>
4715         * DateTime.cs : Added minimum digit parameter to ParseNumber() to
4716           reject 2 digit years for "yyyy".
4717           Use GetAllDateTimePatterns() instead of constant string.
4718           Fixed bug #72788.
4720 2005-05-25  Atsushi Enomoto  <atsushi@ximian.com>
4722         * DateTime.cs : next_not_digit prevented some valid parse.
4723           Just remove it, since now we pass max length to ParseNumber() and
4724           thus it is not needed anymore. Fixed bug 63137.
4726 2005-05-24  Atsushi Enomoto  <atsushi@ximian.com>
4728         * DateTime.cs : HH should not always block tt. Fixed bug #60912.
4729           Reset num after whitespace parsing.
4730           Added "M/d/yyyy HH':'mm':'ss tt" as an invariant pattern.
4732 2005-05-24  Atsushi Enomoto  <atsushi@ximian.com>
4734         * DateTime.cs : Allow ',' where whitespaces are allowed.
4735           Fixed bug #71289.
4737 2005-05-22  Ben Maurer  <bmaurer@ximian.com>
4739         * BitConverter.cs: Speed this up, fixing 74014. Patch from
4740         `Aleksandar Dezelin'.
4742 2005-05-20  Zoltan Varga  <vargaz@freemail.hu>
4744         * Type.cs: Add some helper methods needed by other classes.
4746         * Array.cs: Improve support for user defined Type subclasses.   
4747         
4748         * Type.cs: Rename GetTypeCode icall to GetTypeCodeInternal and add a managed
4749         wrapper function, not used yet.
4751         * Type.cs Array.cs: Revert this as it breaks the build.
4753         * Type.cs Array.cs: Improve support for user defined Type subclasses.
4755 2005-05-19  Ben Maurer  <bmaurer@ximian.com>
4757         * Delegate.cs (Equals): Use `as' to protect in the case where !
4758         (obj is Delegate)
4760 2005-05-19  Raja R Harinath  <rharinath@novell.com>
4762         * Console.cs (Readline) [NET_2_0]: Avoid "uninitialized variable"
4763         error.
4765 2005-05-19  Miguel de Icaza  <miguel@novell.com>
4767         * TermInfoDriver.cs: Removed warning.
4769         * Array.cs (Resize<T>, TrueForAll<T>, ConvertAll<TInput,TOutput>,
4770         FindLastIndex<T>: Parameter names are normative.        
4771         Fix coding style ("Method<T>" not "Method <T>")
4772         Throw argument exceptions per argument.
4773         
4774         (FindAll): Fix bug, actually return the values that were computed,
4775         not a short version of the original array.
4776         
4777 2005-05-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4779         * Console.cs: fix error in the 2_0 side and split ReadLine in 2, one
4780         for each framework version.
4782 2005-05-15  Andreas Nahr  <ClassDevelopment@A-SoftTech.com>
4784         * Attribute.cs:
4785         * Exception.cs: .Net 1.1 already has these interfaces
4787 Mon May 16 18:23:49 CEST 2005 Paolo Molaro <lupus@ximian.com>
4789         * MonoCustomAttrs.cs, Type.cs: do not create a SerializableAttribute
4790         object on GetCustomAttributes (fixes bug #74717).
4792 2005-05-15  Atsushi Enomoto  <atsushi@ximian.com>
4794         * DateTime.cs : for 'z' next_not_digit didn't work as expected.
4795           Fixed bug #74775.
4797 2005-05-15  Atsushi Enomoto  <atsushi@ximian.com>
4799         * DateTime.cs : don't allow extraneous pattern characters also for
4800           non-exact parsing (ParseExact() was fine). Bug #74936 fixed
4802 2005-05-13  Gert Driesen <drieseng@users.sourceforge.net>
4804         * Activator.cs: Match exceptions thrown by MS.NET for
4805         CreateInstance overloads if type is abstract. Fixes bug #74861.
4807 2005-05-09  Gonzalo Paniagua Javier <gonzalo@ximian.com>
4809         * OperatingSystem.cs: PlatformID.Unix.
4811 2005-05-09  Sebastien Pouliot  <sebastien@ximian.com>
4813         * Environment.cs: Patch from Gonzalo to fix Environment.OSVersion.
4814         Platform under NET_2_0 to return PlatformID.Unix. Fix bug #74841.
4816 2005-05-07  Atsushi Enomoto  <atsushi@ximian.com>
4818         * NumberFormatter.cs : roundtrip number is already rounded before
4819           FormatGeneral() and DefaultMaxPrecision was extraneous. This fixes
4820           bug #72955.
4822 2005-05-07  Ben Maurer  <bmaurer@ximian.com>
4824         * Array.cs (BinarySearch): Patch from kazuki to pass arguments to
4825         the comparer in the same order as msft. Fixes #70725
4827 2005-05-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4829         * Enum.cs: the hashtable don't need to be synchronized any more, since
4830         it's only accessed from withint a lock.
4832         * Console.cs: stdin, stdout and stderr will never be finalized. Fixes
4833         bug 74768.
4835 2005-05-06  Zoltan Varga  <vargaz@freemail.hu>
4837         * Array.cs: Remove CLSCompliant (false) attributes.
4839 2005-05-06  Martin Baulig  <martin@ximian.com>
4841         * Predicate.cs, Action.cs, Comparision.cs, Converter.cs: Add
4842         [CLSCompliant(true)] attribute.
4844 2005-05-04  Miguel de Icaza  <miguel@novell.com>
4846         * Enum.cs (MonoEnumInfo): Based on a patch from James Willcox,
4847         initialize cache as a static method.  Fixes #74828.
4849 2005-05-03  Marek Safar  <marek.safar@seznam.cz>
4851         * Console.cs: CancelKeyPress is stubbed.
4853 2005-04-25  Sebastien Pouliot  <sebastien@ximian.com>
4855         * ActivationContext.cs: Updated for beta2.
4856         * AppDomainManager.cs: Updated for beta2.
4857         * ApplicationId.cs: Updated for beta2.
4858         * ApplicationIdentity.cs: Updated for beta2.
4859         * Exception.cs: Now use Assembly.UnprotectedGetName () as Exception 
4860         doesn't leak the code base from the returned AssemblyName.
4862 2005-04-25  Martin Baulig  <martin@ximian.com>
4864         * Environment.cs (Environment.Version): Changed to 2.0.50215.
4866 2005-04-22  Sebastien Pouliot  <sebastien@ximian.com>
4868         * Attribute.cs: Added _Attribute interface to NET_2_0 to reduce the 
4869         number of "missing" in the class status pages.
4871 2005-04-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4873         * MulticastDelegate.cs: (GetInvocationList) when building the list that
4874         is later traversed forward, mark 'this' as the end of the chain.
4875         Fixes bug #74607.
4877 2005-04-19  Zoltan Varga  <vargaz@freemail.hu>
4879         * Environment.cs: Bump corlib version.
4881 2005-04-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4883         * WindowsConsoleDriver.cs: ignore key release events.
4885 2005-04-06  Atsushi Enomoto  <atsushi@ximian.com>
4887         * Char.cs : ToUpper()/ToLower() comparison ranges were incorrect.
4889 2005-04-05  Sebastien Pouliot  <sebastien@ximian.com>
4891         * _AppDomain.cs: Add security checks to the interface. Declarative 
4892         security on events requires BOOTSTRAP_WITH_OLDLIB to work properly 
4893         with older MCS.
4894         * AppDomain.cs: Add some (not complete) security checks. Bug#74411 is
4895         blocking some cases from working properly. Declarative security on 
4896         events requires BOOTSTRAP_WITH_OLDLIB to work properly with older MCS.
4898 2005-04-04  Sebastien Pouliot  <sebastien@ximian.com>
4900         * AppDomain.cs: Use the PolicyLevel to resolve the granted permissions
4901         on the AppDomain. Added an internal property to get the granted set.
4903 2005-04-04  Atsushi Enomoto  <atsushi@ximian.com>
4905         * String.cs,
4906           Char.cs : use TextInfo for ToLower() and ToUpper().
4908 2005-03-31  Sebastien Pouliot  <sebastien@ximian.com>
4910         * Exception.cs: Added Assert for TypeInformation to GetObjectData and
4911         ToString methods (not required for 2.0 as TypeInformation will be 
4912         deprecated). Added null check for GetObjectData.
4914 Tue Mar 29 11:47:19 CEST 2005 Paolo Molaro <lupus@ximian.com>
4916         * Delegate.cs: allow IronPython 0.7 to compile.
4918 2005-03-24  Miguel de Icaza  <miguel@novell.com>
4920         * Delegate.cs: Add CreateDelegate with a target option, currently
4921         internal as it is not exposed by the framework yet.
4923 2005-03-24  Zoltan Varga  <vargaz@freemail.hu>
4925         * String.cs: Add some 2.0 methods.
4927 2005-03-24  Sebastien Pouliot  <sebastien@ximian.com>
4929         * Activator.cs: Now use the supplied evidences when loading 
4930         assemblies. Added LinkDemand for RemotingConfiguration on both
4931         GetObject methods.
4932         * Console.cs: Added Assert for UnmanagedCode on OpenStandard[Error|
4933         Input|Output] as they use a handle on a FileStream (which is
4934         restricted otherwise). Added Demand for UnmanagedCode for the
4935         Set[Error|In|Out] methods.
4936         * MarshalByRefObject.cs: Added LinkDemand for Infrastructure on 
4937         CreateObjRef, GetLifetimeService and InitializeLifetimeService.
4938         * RuntimeMethodHandle.cs: Added Demand for UnmanagedCode on 
4939         GetFunctionPointer method.
4940         * TypedReference.cs: Added LinkDemand for ReflectionPermission's
4941         MemberAccess on MakeTypedReference.
4943 2005-03-14  Sebastien Pouliot  <sebastien@ximian.com>
4945         * Environment.cs: Fix CAS unit tests for NET_1_1.
4946         * Exception.cs: Fix CAS unit tests for NET_1_1.
4948 2005-03-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4950         * Version.cs: don't ignore the last number. Fixes bug #73539.
4952 2005-03-11  Sebastien Pouliot  <sebastien@ximian.com>
4954         * MonoType.cs: When the security manager is active, constructors and
4955         methods will return null if a linkdemand fails during reflection 
4956         query.
4958 2005-03-11  Zoltan Varga  <vargaz@freemail.hu>
4960         * Array.cs (Sort): Bail out early if length <= 1. Fixes #72721.
4962 2005-03-10  Zoltan Varga  <vargaz@freemail.hu>
4964         * Environment.cs: Bump corlib version.
4966 2005-03-10  Martin Baulig  <martin@ximian.com>
4968         * Nullable.cs (Nullable<T>.ToString): Return an empty string if
4969         we're null.
4971 2005-03-09  Zoltan Varga  <vargaz@freemail.hu>
4973         * Activator.cs MonoType.cs: Applied patch from Carlos Alberto Cortez
4974         (carlos@unixmexico.org). Allow creation of valuetypes with no ctor.
4975         Fixes #73432.
4977 2005-03-04  Zoltan Varga  <vargaz@freemail.hu>
4979         * Environment.cs: Bump corlib version.
4981         * Exception.cs (StackTrace): Return the wrapper info as well.
4983 2005-03-02  Kazuki Oikawa  <kazuki@panicode.com>
4985         * NumberFormatter.cs: Some internal classes was converted to structs,
4986         and improved some points.
4988 2005-02-26  Kazuki Oikawa  <kazuki@panicode.com>
4990         * NumberFormatter.cs: Improved performance and memory usage
4991         when integer standard format.
4992         * SByte.cs:
4993         * Int16.cs:
4994         * Int32.cs:
4995         * Int64.cs:
4996         * Byte.cs:
4997         * UInt16.cs:
4998         * UInt32.cs:
4999         * UInt64.cs:
5000         * Single.cs:
5001         * Double.cs:
5002         * TimeSpan.cs: Improved these directly call to NumberFormatter.
5004 2005-02-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5006         * TermInfoDriver.cs: set the xmit mode if available. Handle key input
5007         and translate them into a ConsoleKeyInfo.
5008         * TermInfoReader.cs: added a method to return the bytes of a string
5009         property.
5010         * ConsoleKeyInfo.cs: added copy constructor and setters.
5012 2005-02-24  Zoltan Varga  <vargaz@freemail.hu>
5014         * Array.cs: Add missing 2.0 attributes and correct some parameter names.
5016 2005-02-24  Carlos Alberto Cortez <calberto.cortez@gmail.com>
5018         * AppDomain.cs: Changed GetAssemblies, LoadAssembly, and Load signatures,
5019         and added some to support the reflection only methods. DoAssemblyResolve
5020         was modified to invoke the new PreBindAssemblyResolve event when the
5021         assembly is reflection only.
5022         
5023 2005-02-21  Zoltan Varga  <vargaz@freemail.hu>
5025         * GC.cs Double.cs IntPtr.cs Array.cs Decimal.cs Math.cs Single.cs:
5026         Add net 2.0 ReliabilityContractAttributes.
5028 2005-02-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5030         * TermInfoDriver.cs: cygwin terminals are handled by the windows
5031         console driver.
5033         * TermInfoReader.cs:
5034         * TermInfoNumbers.cs:
5035         * KnownTerminals.cs:
5036         * TermInfoBooleans.cs:
5037         * TermInfoStrings.cs: documented.
5039 2005-02-19  Kazuki Oikawa <kazuki@panicode.com>
5041         * Array.cs: Reverse the order in the Equals calls.
5043 2005-02-18  Zoltan Varga  <vargaz@freemail.hu>
5045         * Exception.cs (StackTrace): Implement this in managed code since it is
5046         needed by CAS. Fixes #72146.
5048 2005-02-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5050         * WindowsConsoleDriver.cs: implemented MoveBufferArea.
5052 2005-02-14  Raja R Harinath  <rharinath@novell.com>
5054         * Array.cs (Array.Swapper) [!BOOTSTRAP_WITH_OLDLIB]: Make nested.
5055         See #72015.
5057 2005-02-12  Ben Maurer  <bmaurer@ximian.com>
5059         * Version.cs (CompareTo, Equals): Make sure the versions for
5060         generics handle `null'. The non-generics versions now just call
5061         the regular versions, to reduce code duplication.
5063         * Boolean.cs (CompareTo): make this really work for generics 
5065         * Type.cs (GetProperty): Passing new Type [0] is different than
5066         null. null means `I don't care how many types this has,' while new
5067         Type [0] means `this must have 0 types.'
5069 2005-02-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5071         * corlib.dll.sources: added WindowsConsoleDriver.cs
5073         * System/ConsoleDriver.cs: use WindowsConsoleDriver on windows and
5074         implemented the few missing properties/methods.
5076         * System/IConsoleDriver.cs: uncommented all methods/properties.
5077         * System/TermInfoDriver.cs: implement changes from IConsoleDriver.
5078         * System/WindowsConsoleDriver.cs: implemented IConsoleDriver for
5079         windows. Only missing MoveBufferArea by now.
5081 2005-02-11  Zoltan Varga  <vargaz@freemail.hu>
5083         * Type.cs (IsAssignableFrom): Add support for TypeBuilders.
5085         * Int32.cs AppDomain.cs: Fix warnings.
5087 2005-02-10  Marek Safar  <marek.safar@seznam.cz>
5089         * IServiceProvider.cs: Is not ComVisible.
5091         * NonSerializedAttribute.cs: Fix AttributeUsage flags.
5093         * Type.cs: Fix ClassInterface attribute.
5095 Tue Feb 8 19:26:47 CET 2005 Paolo Molaro <lupus@ximian.com>
5097         * Delegate.cs: remove the finalizer from Delegate: this
5098         is handled internally by the runtime now.
5100 2005-02-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5102         * Activator.cs: provide the Type name when throwing an exception.
5104 2005-02-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5106         * TimeZone.cs: lock on the static Hashtable instead of 'this'. Fixes
5107         bug #72238.
5109 Fri Feb 4 15:46:04 CET 2005 Paolo Molaro <lupus@ximian.com>
5111         * Array.cs: provide specialized versions of some methods.
5113 Thu Feb 3 15:15:25 CET 2005 Paolo Molaro <lupus@ximian.com>
5115         * String.cs: provide a managed memcpy and memset method
5116         for use both in corlib and from the JIT. Implement
5117         some methods with the managed helpers and remove some icalls.
5119 2005-01-31  Sebastien Pouliot  <sebastien@ximian.com>
5121         * Exception.cs: Added Data property for NET_2_0 (required for new
5122         unit tests).
5124 2005-01-31 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5126         * ConsoleDriver.cs:
5127         * TermInfoDriver.cs:
5128         * IConsoleDriver.cs:
5129         * Console.cs: added BufferWidth and BufferHeight.
5131 2005-01-31 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5133         * ConsoleDriver.cs:
5134         * Console.cs:
5135         * TermInfoDriver.cs:
5136         * IConsoleDriver.cs: added a few more properties and fixed cursor
5137         addressing.
5139 2005-01-31 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5141         * ConsoleDriver.cs: static class that forwards the Console 2.0 class
5142         calls to the proper driver.
5143         * TermInfoDriver.cs: terminfo based console driver.
5144         * IConsoleDriver.cs: interface implemented by console drivers.
5146         * ConsoleCancelEventArgs.cs:
5147         * ConsoleCancelEventHandler.cs:
5149         * ConsoleModifiers.cs: 
5150         * ConsoleSpecialKey.cs:
5151         * ConsoleColor.cs:
5152         * ConsoleKey.cs: new enumerations.
5154         * ConsoleKeyInfo.cs: New file.
5156         * TermInfoReader.cs: reader for terminfo capabilities files.
5158         * TermInfoNumbers.cs:
5159         * TermInfoBooleans.cs:
5160         * TermInfoStrings.cs: enumations for terminfo property names.
5162         * KnownTerminals.cs: byte arrays for selected terminals.
5164         * Console.cs: added more 2.0 methods and implemented some of them.
5167 2005-01-30  Atsushi Enomoto  <atsushi@ximian.com>
5169         * Int32.cs : (FindSign) IndexOf() is better than creating substring.
5171 2005-01-27  Sebastien Pouliot  <sebastien@ximian.com>
5173         * BadImageFormatException.cs: Protect the fusion (GAC) log from being
5174         disclosed unless code has ControlPolicy and ControlEvidence.
5176 2005-01-27  Zoltan Varga  <vargaz@freemail.hu>
5178         * Exception.cs: Compute stack trace on demand.
5180 2005-01-26  Sebastien Pouliot  <sebastien@ximian.com>
5182         * Environment.cs: Removed hack for static class (NET_2_0). Added 
5183         proper security for FailFast (documented in FDBK20543). Added new
5184         method IsRunningOnWindows to replace (Platform == 128) as the logic is
5185         gonna change in the future (Unix is id #4 in NET_2_0).
5187 2005-01-24  Sebastien Pouliot  <sebastien@ximian.com>
5189         * Environment.cs: Added CAS security (both declarative and imperative)
5190         as a test. This shouldn't affect execution unless --security is 
5191         specified.
5193 2005-01-19  Rafael Teixeira  <rafaelteixeirabr@hotmail.com>
5194         * Type.cs: Corrected implementation for the Type.FilterNameIgnoreCase
5195         and Type.FilterName delegates They weren't dealing with the optional '*'
5196         at the end of the filter mask
5198 2005-01-19  Zoltan Varga  <vargaz@freemail.hu>
5200         * Array.cs: Fix a typo in the previous patch.
5201         
5202         * Array.cs: Fix some test failures in the generic methods.
5204         * Array.cs: Implement AsReadOnly.
5206 2005-01-13  Geoff Norton  <gnorton@customerdna.com>
5208         * Guid.cs: Fix endian issues (use Mono.Security.BitConverterLE).  Fixes
5209         #71242
5211 2005-01-11  Sebastien Pouliot  <sebastien@ximian.com>
5213         * AppDomain.cs: Removed Activate and ActivateNewProcess methods. They
5214         have been removed from 2.0.
5216 2005-01-11  Zoltan Varga  <vargaz@freemail.hu>
5218         * Boolean.cs Char.cs Single.cs Double.cs: Implement IComparable<T> in
5219         NET 2.0.
5221 2005-01-10  Sebastien Pouliot  <sebastien@ximian.com>
5223         * ApplicationIdentity.cs: Throw ArgumentNullException if name is null.
5224         Add default culture (neutral) to the name when none is specified.
5225         * AppDomain.cs: Changed IsDefaultAppDomain (2.0). Is seems that we 
5226         can't trust Id ?
5228 2005-01-09  Sebastien Pouliot  <sebastien@ximian.com>
5230         * DateTime.cs: Reverted last patch for utc as it broke all certificate
5231         handling and another unit test in DateTime.
5233 2005-01-09  Miguel de Icaza  <miguel@ximian.com>
5235         * DateTime.cs: Return immediately if useutc is set to true, there
5236         is no need to do the extra computation (which also happened to
5237         create a new DateTime using the `use_localtime' constructor, which
5238         lead to the erroneous date returns when using 'u' or `U'
5239         formats).   
5241         Fixes another bug in the regression test suite.
5243 2005-01-08  Sebastien Pouliot  <sebastien@ximian.com> 
5245         * AppDomain.cs: Fix the DefaultDomain property to return the root 
5246         domain (as it seems that the root's Id isn't always 0).
5247         * BitConverter.cs: The "special support" for ToString(new byte[0]) is
5248         only for NET_2_0 - previously this was an ArgumentOutOfRangeException.
5250 2005-01-08  Miguel de Icaza  <miguel@ximian.com>
5252         * IntegerFormatter.cs: The - sign inside the "negative" section in
5253         a multi-format string means `show the sign' only if it is the
5254         first token, not `copy verbatim'.  In the other sections it means
5255         `copy-verbatim'.
5257         This makes things like:  (-34).ToString ("#;-#") show up as "-34"
5258         instead of "--34".
5260         The bad news is that this code needs to be rewritten to handle all
5261         the formatting cases, see bug #71112 for details.
5263         * Convert.cs (Convert.ToType): Throw an InvalidCastException if
5264         the conversion is invalid, not ArgumentException, this fixes
5265         another regression in our test suite.
5267 2005-01-08  Sebastien Pouliot  <sebastien@ximian.com>
5269         * AppDomain.cs: Add ApplicationIdentity property for 2.0;
5270         * AppDomainManager.cs: Remove HostRefusedSet support (it does not 
5271         exists anymore).
5273 2005-01-08  Zoltan Varga  <vargaz@freemail.hu>
5275         * DateTime.cs: Create MaxValue and MinValue using a different constructor to avoid static 
5276         initialization problems.
5278 2005-01-02  Ben Maurer  <bmaurer@ximian.com>
5280         * Int32.cs: NumberStyles.AllowExponent was supported by the
5281         Int32.Parse function. From Akira <mei@work.email.ne.jp>. Fixes bug
5282         70469.
5284 2005-01-01  Atsushi Enomoto  <atsushi@ximian.com>
5286         * Base64FormattingOptions.cs : it was not in System namespace.
5288 2004-12-21  Atsushi Enomoto  <atsushi@ximian.com>
5290         * DateTime.cs : If no progress on value string, don't regard as
5291           matched. This fixes bug #70707.
5293 2004-12-20  Sebastien Pouliot  <sebastien@ximian.com>
5295         * Environment.cs: Bump corlib version.
5297 2004-12-16  Zoltan Varga  <vargaz@freemail.hu>
5299         * Array.cs (DoBinarySearch): Fix a warning.
5301 2004-12-08  Zoltan Varga  <vargaz@freemail.hu>
5303         * Environment.cs: Bump corlib version.
5305         * AppDomain.cs: Add new DefineInternalDynamicAssembly () method.
5307 2004-12-06  Ben Maurer  <bmaurer@ximian.com>
5309         * Exception.cs: Prevent stringifying the type name on the
5310         ctor. this gets called a few times on every execution to create a
5311         nullref exception.
5313 2004-12-06  Martin Baulig  <martin@ximian.com>
5315         * Decimal.cs: Decimal constant support has been merged into GMCS,
5316         removed the FIXME.
5318 2004-12-06  Zoltan Varga  <vargaz@freemail.hu>
5320         * Environment.cs: Bump corlib version.
5321         
5322         * Environment.cs: Bump corlib version.
5324 2004-11-30  Zoltan Varga  <vargaz@freemail.hu>
5326         * MonoType.cs (UnderlyingSystemType): Make this return this as in
5327         MS.NET. Fixes #56245.
5329 2004-11-29  Atsushi Enomoto  <atsushi@ximian.com>
5331         * GC.cs : Collect(generation) actually does not throw an exception
5332           even if generation > MaxGeneration (MS document bug).
5334 2004-11-28  Zoltan Varga  <vargaz@freemail.hu>
5336         * Exception.cs: Implement _Exception under NET_2_0.
5338         * Byte.cs SByte.cs UInt16.cs Int16.cs: Make these compile under csc 2.0.
5340         * AccessViolationException.cs DataMisalignedException.cs OperationCanceledException.cs
5341         NotCancelableException.cs TimeoutException.cs: New files.
5343 2004-11-23  Raja R Harinath  <rharinath@novell.com>
5345         * Decimal.cs [NET_2_0]: Use old code till GMCS imports decimal
5346         constant support.
5348 2004-11-23  Raja R Harinath  <rharinath@novell.com>
5350         * Decimal.cs [BOOTSTRAP_WITH_OLDLIB]: Use old code for compilers
5351         without decimal constant support.
5353 2004-11-23  Marek Safar  <marek.safar@seznam.cz>
5355         * Decimal.cs: Updated to use compiler decimal constant support.
5357 2004-11-20  Zoltan Varga  <vargaz@freemail.hu>
5359         * MonoType.cs: Revert last change since it breaks remoting.
5361 2004-11-18  Zoltan Varga  <vargaz@freemail.hu>
5363         * MonoType.cs (UnderlyingSystemType): Make this return this as in
5364         MS.NET. Fixes #56245.
5366 2004-11-17  Carlos Alberto Cortez <carlos@unixmexico.org>
5368         * INullable.cs: New interface added.
5369         * Nullable.cs: Methods added. Also a static Nullable class
5370         containing static methods.
5371         
5372 2004-11-15  Sebastien Pouliot  <sebastien@ximian.com>
5374         * BitConverter.cs: Added support for special case when ToString is 
5375         called with (new byte [0]).
5377 2004-11-10  Lluis Sanchez  <lluis@novell.com>
5379         * Exception.cs: Added setter for StackTrace.
5381 2004-11-07  Ben Maurer  <bmaurer@ximian.com>
5383         * IntegerFormatter.cs: Avoid .ToCharArray
5385 2004-11-06  Ben Maurer  <bmaurer@ximian.com>
5387         * Single.cs, Double.cs (GetHashCode): Better hashcode impl
5389 2004-11-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5391         * InvalidOperationException.cs: make the message more meaningful and
5392         real. Fixes bug #69055.
5394 2004-10-28  Ben Maurer  <bmaurer@ximian.com>
5396         * String.cs: Rather than == String.Empty, use .Length == 0. It
5397         is a bit faster (avoids a method call, and the code is less complex).
5399 2004-10-24  Fawad Halim  <fawad@fawad.net>
5400         * Environment.cs: If an Environment variable value isn't found, leave the trailing % of the reference for further matches.
5401         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.
5402         This fixes bug #64995.
5404 2004-10-19  Lluis Sanchez  <lluis@novell.com>
5406         * MarshalByRefObject.cs: Field _identity is not serializable.
5407         This fixes bug #68567.
5409 2004-10-17  Ben Maurer  <bmaurer@ximian.com>
5411         * DateTime.cs (ZeroPad): Use unsafe code to speed this up. We
5412         avoid entering slow integer formatting code.
5414         (_ToString): Use ZeroPad here when possible, as it is faster.
5416 2004-10-11  Martin Baulig  <martin@ximian.com>
5418         * Environment.cs: Bump corlib version to 28.
5420 2004-10-08  Zoltan Varga  <vargaz@freemail.hu>
5422         * Convert.cs (ToType): Throw an exception when converting null to a
5423         valuetype. Fixes #67780.
5425 2004-10-08  Atsushi Enomoto  <atsushi@ximian.com>
5427         * DateTime.cs : Performance fix. ParseExact() implementation should
5428           avoid s = s.Substring(1).
5430 2004-10-08  Atsushi Enomoto  <atsushi@ximian.com>
5432         * DateTime.cs : When it it not exact parse, 'Z' is allowed as a suffix
5433           of m/s/t/z. This fixes bug 66723.
5435 Wed Oct 6 12:37:54 CEST 2004 Paolo Molaro <lupus@ximian.com>
5437         * String.cs: make GetHashCode() managed.
5439 2004-10-04  Zoltan Varga  <vargaz@freemail.hu>
5441         * AppDomain.cs: Make ThreadStatic variables static. Fixes #56614.
5443         * Runtime*Handle.cs ModuleHandle.cs: Add Equals + GetHashCode.
5445         * ModuleHandle.cs: Add missing methods.
5447         * RuntimeTypeHandle.cs: Add GetModuleHandle () method.
5449 2004-10-03  Zoltan Varga  <vargaz@freemail.hu>
5451         * AttributeTargets.cs: Add 2.0 GenericParameter value.
5453         * Environment.cs: Bump corlib version.
5455 2004-10-02  Zoltan Varga  <vargaz@freemail.hu>
5457         * Int32.cs UInt32.cs Byte.cs SByte.cs Int16.cs UInt16.cs Int64.cs UInt64.cs: Implement 2.0 TryParse methods.
5459 2004-09-30  Geoff Norton  <gnorton@customerdna.com>
5461         * Convert.cs: ConvertToBase* was not endian aware.  Implemented EndianSwap
5462         and swapping of all values before going into the BitConverter so that values
5463         are returned with proper endianess.
5465 2004-09-23  Martin Garton  <martin@wrasse.demon.co.uk>
5467         * Convert.cs: ToType was returning unconverted object when it should
5468         fail with an ArgumentException.
5470 2004-09-27  Zoltan Varga  <vargaz@freemail.hu>
5472         * Array.cs: Add stub for AsReadOnly<T>.
5473         
5474 2004-09-25  Zoltan Varga  <vargaz@freemail.hu>
5476         * Type.cs: Add MakePointerType && stub for ReflectionOnlyGetType.
5478         * MonoCustomAttrs.cs (GetCustomAttributesBase): Add support for
5479         parameters.
5481 2004-09-24  Zoltan Varga  <vargaz@freemail.hu>
5483         * MonoCustomAttrs.cs (GetCustomAttributesBase): Add support for
5484         methods and fields.
5485         
5486         * MonoCustomAttrs.cs: Beginnings of support for returning 2.0 pseudo
5487         custom attributes.
5489         * MonoCustomAttrs.cs (RetrieveAttributeUsage): Avoid infinite recursion.
5491         * MonoCustomAttrs.cs (GetCustomAttributes): Fix the 'attributeType is 
5492         sealed' optimization.
5494         * Type.cs: Implement 2.0 StructLayoutAttribute property. 
5496         * Type.cs Add GetPseudoCustomAttributes () method.
5498 2004-09-24  Martin Baulig  <martin@ximian.com>
5500         * Type.cs (Type.GetGenericParameterConstraints): New public method.
5502 2004-09-23  Zoltan Varga  <vargaz@freemail.hu>
5504         * MonoCustomAttrs.cs (GetCustomAttributes): Rename the icall to
5505         GetCustomAttributesInternal and add a 'pseudoAttrs' argument.
5507         * Type.cs: Tweak Module property in 2.0 build.
5509 2004-09-23  Martin Baulig  <martin@ximian.com>
5511         * Type.cs (Type.GenericParameterAttributes): New public property.
5513 2004-09-23  Martin Baulig  <martin@ximian.com>
5515         * GenericParameterAttributes.cs: New file.
5517 2004-09-22  Zoltan Varga  <vargaz@freemail.hu>
5519         * ModuleHandle.cs: Updated after changes to Module class.
5521 2004-09-21  Geoff Norton <gnorton@customerdna.com>
5523         * Type.cs: BindingFlags.IgnoreCase was being ignored, this reimplements
5524         this filter. Fixes bug #65778.
5526 2004-09-20  Zoltan Varga  <vargaz@freemail.hu>
5528         * Environment.cs: Bump corlib version.
5530 2004-09-19  Zoltan Varga  <vargaz@freemail.hu>
5532         * ModuleHandle.cs: New file.
5534         * RuntimeFieldHandle.cs: Add an internal ctor.
5536 2004-09-19  Dick Porter  <dick@ximian.com>
5538         * Console.cs: Use the internal wrappers for StreamReader and
5539         StreamWriter that catch IOException.
5541 2004-09-16  Sebastien Pouliot  <sebastien@ximian.com>
5543         * Environment.cs: Bumped mono_corlib_version to 25.
5545 2004-09-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5547         * AppDomain.cs: added SetupInformationNoCopy property, since
5548         SetupInformation creates a copy now, all updates to it should use the
5549         actual data. Fixes bug #61991 take 2.
5551 2004-09-09  Tim Coleman <tim@timcoleman.com>
5552         * Base64FormattingOptions.cs: New enum
5553         * Convert.cs: Add new ToBase64String methods for Fx 2.0
5555 2004-09-08  Marek Safar  <marek.safar@seznam.cz>
5557         * Console.cs,
5558         * GC.cs: Class is static for NET_2_0.
5560 2004-09-07 Ben Maurer  <bmaurer@users.sourceforge.net>
5562         * Activator.cs: Make sure not to call .GetType on a
5563         null argument. fixes 63852
5565 2004-09-06 Ben Maurer  <bmaurer@users.sourceforge.net>
5567         * Array.cs (Clear): make this an icall.
5569 2004-09-05 Ben Maurer  <bmaurer@users.sourceforge.net>
5571         * MonoCustomAttribute.cs: Avoid the call to GetBase when possible.
5573 2004-09-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5575         * Environment.cs: (ExpandEnvironmentVariables) don't nullify the case
5576         insensitive enironment variables hashtable once we create it.
5578 2004-09-04  Sebastien Pouliot  <sebastien@ximian.com>
5580         * AppDomain.cs: Changed 2 imperative security demands to declarative
5581         (unsupported) so it doesn't (for now) call the security runtime.
5583 2004-09-02  Zoltan Varga  <vargaz@freemail.hu>
5585         * Delegate.cs: Free the delegate trampoline in the finalizer.
5587 2004-08-26  Sebastien Pouliot  <sebastien@ximian.com>
5589         * ApplicationId.cs: Completed GetHashCode using information from MS
5590         (FDBK13339).
5592 2004-08-23  Sebastien Pouliot  <sebastien@ximian.com>
5594         * Boolean.cs: Added TryParse static method for NET_2_0 profile.
5596 2004-08-19  Atsushi Enomoto  <atsushi@ximian.com>
5598         * DateTime.cs : When hour format is "hh", MS.NET (maybe incorrectly)
5599           allows 12, that should not be accepted (13 is rejected) and
5600           interpreted as 0. This fixes bug 63376.
5602 2004-08-17  Sebastien Pouliot  <sebastien@ximian.com>
5604         * Version.cs: Fixed Clone so we can use it on versions with only
5605         major/minor or major/minor/build.
5607 2004-08-17  Martin Baulig  <martin@ximian.com>
5609         * MonoType.cs (MonoType.getFullName): Added `bool full_name'
5610         argument specifying whether or not to include the type arguments.
5611         (MonoType.FullName): Don't include the type arguments.
5612         (MonoType.ToString): Include them here.
5614         * Environment.cs: Bumped mono_corlib_version to 24.
5616 2004-08-16  Duncan Mak  <duncan@ximian.com>
5618         * AttributeUsageAttribute.cs: Change the AttributeUsage to
5619         AttributeTargets.Class, from AttributeTargets.All, fixes Zoltan's
5620         bug #62895.
5622 2004-08-11  Marek Safar  <marek.safar@seznam.cz>
5624         * AppDomain.cs: Fixed typo of DefineDynamicAssembly argument.
5625         Added call to AddPermissionRequests to pass permissions
5626         arguments.
5627         * Environment.cs: Added a few Fx 2.0 methods
5629 2004-08-09  Sebastien Pouliot  <sebastien@ximian.com>
5631         * ApplicationId.cs: Fixed typo to fix NET_2_0 compilation.
5632         * AppDomain.cs: Fixed use of Evidence and AppDomainSetup (copies, not
5633         references). Added (non-obsolete) Fx 2.0 properties and methods.
5634         * AppDomainSetup.cs: Added internal copy constructor.
5635         * DomainManagerInitializationFlags.cs: Fixed values.
5637 2004-08-08  Sebastien Pouliot  <sebastien@ximian.com>
5639         * AppDomainInitializer.cs: New Fx 2.0 class for AppDomain.
5640         * AppDomainManager.cs: New Fx 2.0 class for AppDomain.
5641         * ApplicationActivator.cs: New Fx 2.0 class for AppDomain.
5642         * ApplicationId.cs: New Fx 2.0 class.
5643         * ApplicationIdentity.cs: Fixed ToString.
5644         * DomainManagerInitializationFlags.cs: New Fx 2.0 flags for AppDomain.
5646 2004-08-05  Sebastien Pouliot  <sebastien@ximian.com>
5648         * AppDomain.cs: Added a new icall, getDomainByID, to get the an 
5649         AppDomain using it's Id. Completed SetAppDomainPolicy.
5650         * Environment.cs: Bumped mono_corlib_version to 23.
5652 2004-08-02  Martin Baulig  <martin@ximian.com>
5654         * DateTime.cs, TimeSpan.cs, Guid.cs, Version.cs: Implement IComparable<T>.
5656 2004-07-29  Atsushi Enomoto  <atsushi@ximian.com>
5658         * Environment.cs : GacPath on windows is based on mscorlib.dll, and
5659           now its location is changed.
5661 2004-07-21  Lluis Sanchez Gual  <lluis@novell.com>
5663         * Environment.cs: Return the MS.NET 2.0 beta1 runtime version for the
5664           NET_2_0 profile.
5665         
5666 2004-07-18  Martin Baulig  <martin@ximian.com>
5668         * Array.cs: Ben Maurer implemented all the new generic methods
5669         here :-)
5671 2004-07-17  Martin Baulig  <martin@ximian.com>
5673         * Decimal.cs: Implement IComparable<Decimal>.
5675 2004-07-17  Martin Baulig  <martin@ximian.com>
5677         * Byte.cs, Int16.cs, Int32.cs, Int64.cs, SByte.cs, String.cs,
5678         UInt16.cs, UInt32.cs, UInt64.cs: Implement IComparable<T>.      
5680 2004-07-13  Sebastien Pouliot  <sebastien@ximian.com>
5682         * ActivationContext.cs: New class in Fx 2.0. Required for 
5683         System.Security.Policy.
5684         * ApplicationIdentity.cs: New class in Fx 2.0. Required for 
5685         System.Security.Policy.
5686         * IApplicationDescription.cs: New interface in Fx 2.0. Required for 
5687         System.Security.Policy.
5688         * IHostContext.cs: New interface in Fx 2.0. Required for 
5689         System.Security.Policy.
5691 2004-07-12  Geoff Norton <gnorton@customerdna.com>
5693         * DateTime.cs: Patch for bug #61112.  Our DateTime wasn't roundtripping over timezone
5694           boundaries properly.  This patch checkes ToLocalTime() to see if we're tripping over a boundary
5695           and will add/subtract the hour if needed
5697 2004-07-07  Geoff Norton <gnorton@customerdna.com>
5699         * Monotype.cs: Patch for bug #58844.  Dont throw exceptions right away;
5700           pass through all the possibly BindingInfo's and keep a bool value as to the type
5701           of exception we might need to throw;
5703 2004-07-07  Geoff Norton <gnorton@customerdna.com>
5705         * Patch to fix bug #58973
5707 2004-07-02  Jackson Harper  <jackson@ximian.com>
5709         * PlatformID.cs: New 2.0 values.
5710         
5711 2004-06-25  Ben Maurer <bmaurer@ximian.com>
5712         
5713         * Environment.cs: GetFolderPath has new behavior. r=miguel
5715 2004-06-23  Sebastien Pouliot  <sebastien@ximian.com>
5717         * DateTime.cs: Throw ArgumentOutOfRangeException if the year is
5718         bigger than 9999. Fix bug #41845.
5719         * FloatingPointFormatter.cs: Applied correction from Jon Skeet on
5720         the "R"eversible format for negative numbers.
5722 2004-06-21  Jackson Harper  <jackson@ximian.com>
5724         * Decimal.cs: Make sure to use invariant culture when parsing
5725         floats stringified with the invariant culture. Patch by Rodrigo
5726         B. de Oliveira.
5727         
5728 2004-06-19  Atsushi Enomoto  <atsushi@ximian.com>
5730         * FloatingPointFormatter.cs : Literal string should be kept in the
5731           output.
5733 2004-06-18  Atsushi Enomoto  <atsushi@ximian.com>
5735         * DateTime.cs : Concatenating whitespace removal was not working fine.
5736           Modified FormatException message (1 cent kindness).
5738 2004-06-18  Ben Maurer  <bmaurer@ximian.com>
5739         
5740         * Action.cs, ArraySegment.cs, Comparison.cs, Converter.cs, Predicate.cs:
5741         new generics classes
5742         * IComparable.cs: add the new <T> version.
5743         * EventHandler.cs: new <T> version.
5744         
5745 2004-06-18  Dick Porter  <dick@ximian.com>
5747         * String.cs: The icall can cope with embedded \0 now.
5749 2004-06-18  Atsushi Enomoto  <atsushi@ximian.com>
5751         * DateTime.cs :
5752           - Added new common pattern "yyyy/M/dZ"
5753           - empty string should not be compared in _ParseEnum()
5754           - Use culture independent string comparison in _ParseString()
5755           - Whitespace removal should be checked after '..' token check (some
5756             pattern such like es-ES LongDatePattern contains spaces in '..').
5757           - formats null check should be done (to throw ArgumentNullException)
5758             in ParseExact().
5759           - When specified one character format, dates are incorrectly regarded
5760             as to use invariant culture.
5762 2004-06-18  Gert Driesen <drieseng@users.sourceforge.net>
5764         * ArgIterator.cs: changed layout to Auto
5765         * DateTime.cs: changed layout to Auto
5767 2004-06-18  Gert Driesen <drieseng@users.sourceforge.net>
5769         * DateTime.cs: CRLF to LF
5771 2004-06-17  Sebastien Pouliot  <sebastien@ximian.com>
5773         * Decimal.cs: Fixed regression in System.Data caused by the recent 
5774         changes. Adapted (and moved) the code to correct the scale from 
5775         SqlMoney. Removed unused (and unusable) IsOne and fixed IsZero (where
5776         scale has no importance).
5778 2004-06-17  Lluis Sanchez Gual  <lluis@ximian.com>
5780         * Activator.cs: In CreateInstance(), use Public|Instance if access binding
5781           attributes are omitted.
5783 2004-06-17  Atsushi Enomoto  <atsushi@ximian.com>
5785         * DateTime.cs : GetDateTimeFormats(char, IFormatProvider) should also
5786           check if the format character is valid.
5788 2004-06-17  Atsushi Enomoto  <atsushi@ximian.com>
5790         * DateTime.cs : AddDays(double) rounds the input.
5792 2004-06-17  Atsushi Enomoto  <atsushi@ximian.com>
5794         * DateTime.cs : Incorrect maxvalue comparison in ToUniversalTime().
5795           Fixed ToLocalTime() as well, but it does check range for MinValue.
5797 2004-06-17  Atsushi Enomoto  <atsushi@ximian.com>
5799         * DateTime.cs : Added overflow check in ToUniversalTime() and
5800           ToLocalTime(). Fixed bug #60253.
5802 2004-06-16  Sebastien Pouliot  <sebastien@ximian.com>
5804         * FloatingPointFormatter.cs: Implemented "R" format using Jon Skeet
5805         source code (with permission). Fix (biggest) part of bug #60110.
5806         http://www.yoda.arachsys.com/csharp/floatingpoint.html
5808 2004-06-15  Sebastien Pouliot  <sebastien@ximian.com>
5810         * Decimal.cs: Fixed scale after Round (a different scale is correct 
5811         from a math point of view but affect the string representation of the
5812         value). Note: other operations also have scale problems!
5813         * DecimalFormatter.cs: Fixed FormatGeneral to match Fx 1.1 output.
5814         * FloatingPointFormatter.cs: Fixed ToString which doesn't use banker's
5815         rounding (which is the rounding provided by Math.Round). This fix bug
5816         #60111. The code (new Round methods) should be moved elsewhere (as it
5817         may also be required elsewhere) post Mono 1.0.
5819 2004-06-15  Gert Driesen <drieseng@users.sourceforge.net>
5821         * AppDomainSetup.cs: added TODO for serialization
5822         * ExecutionEngineException.cs: added missing serialization ctor
5823         * InvalidProgramException.cs: added missing serialization ctor
5824         * MulticastNotSupportedException.cs: added missing serialization ctor
5825         * ObsoleteAttribute.cs: fixed serialization compatibility with MS.NET
5826         * Random.cs: fixed serialization compatibility with MS.NET
5828 2004-06-15  Paolo Molaro <lupus@ximian.com>
5830         * Type.cs: removed unused (and non-existing) icall type_is_instance.
5832 2004-06-15  Gonzalo Paniagua Javier <gonzalo@ximian.com>
5834         * Environment.cs: use internalGetHome instead of getting "HOME" as
5835         that variable may not be defined.
5837 2004-06-14  Sebastien Pouliot  <sebastien@ximian.com>
5839         * TimeSpan.cs: Fixed timespan with large values for hours or minutes
5840         (overflow is only checked for days but can also occurs in hours and
5841         minutes which uses Int32 when multiplying). The new results match MS
5842         implementation.
5844 2004-06-14  Atsushi Enomoto  <atsushi@ximian.com>
5846         * FloatingPointFormatter.cs : Recognize '%' and '\u2030' and replace
5847           them with matching NumberFormatInfo properties.
5849 2004-06-14  Atsushi Enomoto  <atsushi@ximian.com>
5851         * Double.cs : Use IFormatProvider.GetFormat() instead of literal '-'.
5852         * FloatingPointFormatter.cs :
5853           Use NumberFormatInfo.NegativeSign. This change saves many XSLT test
5854           failures.
5855           Format Permille pattern (It is undocumented but actually available,
5856           and used in xsl:format-number).
5858 2004-06-14  Raja R Harinath  <rharinath@novell.com>
5860         * Console.cs (Console.Write, Console.WriteLine): Disable __arglist
5861         version with BOOTSTRAP_WITH_OLDLIB.
5862         * String.cs (STring.Concat): Likewise.
5864 2004-06-13  Atsushi Enomoto  <atsushi@ximian.com>
5866         * FloatingPointFormatter.cs :
5867           - Don't format more than 15 fraction digits. Don't report to Pedro
5868             directly (removing the error message with his concent).
5869           - When format string starts with '.', it means integral part format 
5870             is not specified. Ignore '.' characters after the first
5871             appearance. Fixed bug #59890.
5872           - 0.0 is formatted only before the third ';' appearance.
5874 2004-06-11  Sebastien Pouliot  <sebastien@ximian.com>
5876         * DateTime.cs: Added a AddRoundedMilliseconds which use the "old Mono"
5877         rounding logic which worked for FromOADate (while the newer didn't).
5878         * TimeSpan.cs: Now throw an OverflowException when the timespan is
5879         over MaxValue or under MinValue.
5881 2004-06-11  Martin Baulig  <martin@ximian.com>
5883         * Console.cs (Write, WriteLine): Implemented the varargs versions.
5885 2004-06-11  Martin Baulig  <martin@ximian.com>
5887         * String.cs (Concat): Implemented the varargs version.
5889 2004-06-10  Sebastien Pouliot  <sebastien@ximian.com>
5891         * Decimal.cs: Hacked the Parse method to allow the runtime C code to
5892         decode it properly (i.e. matching MS results). Fixed the Round method
5893         for negative decimal numbers (moved code from Math.cs).
5894         * Math.cs: Now use Decimal class for Round(Decimal,int). Required to
5895         fix a bug when rounding a negative decimal.
5897 2004-06-11  Gonzalo Paniagua Javier <gonzalo@ximian.com>
5899         * AppDomain.cs: set the _principal to null when changing the policy.
5900         * Console.cs: remove ClsCompliant attribute from a method marked as
5901         internal and added comment.
5903 2004-06-10  Gert Driesen <drieseng@users.sourceforge.net>
5905         * Delegate.cs: marked protected fields private to match public
5906         API of MS.NET, marked DynamicInvokeImpl and GetMethodImpl
5907         protected to fix public API
5908         * Enum.cs: marked ctor protected to match public API of MS.NET
5909         * MulticastDelegate.cs: marked DynamicInvokeImpl protected to
5910         match public API of MS.NET
5912 2004-06-10  Atsushi Enomoto  <atsushi@ximian.com>
5914         * DateTime.cs : Added more common patterns.
5916 2004-06-09  Sebastien Pouliot  <sebastien@ximian.com>
5918         * Decimal.cs: Fixed banker rounding by calling Math.Round. This won't
5919         be a performance winner (the actual Math code has a note to wait a
5920         better Decimal implementation) but it returns the correct results
5921         (without adding new code in corlib or the runtime). Fix #37744.
5923 2004-06-09  Atsushi Enomoto  <atsushi@ximian.com>
5925         * DateTime.cs :
5926           - A bunch of fixes (patch by Steven Brown). Fraction seconds are 
5927             now represented as double. Strict token check for 'Z'.
5928           - Pattern validity check in GetDateTimeFormats(char).
5929           - Fixed pattern "yyyy/M/d HH:mm:ss".
5931 2004-06-09  Sebastien Pouliot  <sebastien@ximian.com>
5933         * Decimal.cs: Fixed remainder (and optimized some cases not to call 
5934         unmanaged code). Simplified divide. Removed workaround for bug #59793.
5935         Fixed GetHashCode to return different result for X and -X.
5937 2004-06-08  Atsushi Enomoto  <atsushi@ximian.com>
5939         * DateTime.cs :
5940           - Now re-checked all common format patterns. They should be tried
5941             with both current culture and invariant culture. Since '/' covers
5942             '-', removed extraneous patterns. Added more common patterns
5943             such as "yyyy-MM-dd" and X509Certificate pattern (it is valid
5944             only after NET_1_1). Commented out 1 character format patterns.
5945           - The format patterns we should try should not be obtained by
5946             GetAllDateTimePatterns(). Just use 'd', 'D', 't', 'T', ... (one
5947             character patterns), to handle UTC correctly. Examined patterns
5948             are changed, to 1) common patterns with specified (or current)
5949             culture, 2) common patterns with invariant, 3) The above "one
5950             character patterns" with specified (or current) culture.
5951           - When trying to parse some kind of patterns such as RFC1123, 
5952             always use invariant DateTimeFormatInfo so that they can avoid
5953             parsing with culture-dependent calendar.
5954           - Check "GMT" only when doing Parse(). Don't it when ParseExact().
5955           - Removed extraneous '-' case. It is not special one.
5956           - When ParseExact(), allow only '/' for '/' pattern character.
5957           - When Parse(), allow any non-letter & non-number characters.
5958           - When pattern is not fully parsed, reject that format.
5959           - Added "exact" parameter to some ParseExact().
5960           - RFC1123 pattern is (again) now parsed in local time. I regressed
5961             some problems in previous fix.
5963 2004-06-08  Sebastien Pouliot  <sebastien@ximian.com>
5965         * Decimal.cs: Fixed cast to integer types to truncate (not round) the
5966         value.
5968 2004-06-07  Duncan Mak  <duncan@ximian.com>
5970         * Exception.cs (Source): This can return null.
5972 2004-06-07  Sebastien Pouliot  <sebastien@ximian.com>
5974         * DateTime.cs: Fixed FromFileTime for negative values. Fixed 
5975         constructor to limit range of milliseconds from 0,999. Fixed
5976         ToType method to work for object, string and DateTime.
5978 2004-06-07  Sebastien Pouliot  <sebastien@ximian.com>
5980         * DateTime.cs: Fixed OLE Automation date conversions: timezone 
5981         insensitive, wrong exception in FromOADate, handling of Min/Max 
5982         values, negative doubles where integer part is negative but 
5983         decimals are positive! Charming format ;-)
5985 2004-06-06  Sebastien Pouliot  <sebastien@ximian.com>
5987         * String.cs: Fixed Join in case separator parameter is null.
5988         * TimeSpan.cs: Cache format errors during parsing and throw 
5989         FormatException only if there was no overflow.
5991 2004-06-06  Gert Driesen <drieseng@users.sourceforge.net>
5993         * MonoCustomAttrs.cs: fixed issue where an empty array was 
5994         returned when GetCustomAttributes was invoked with null
5995         attribute type and there was only one result
5997 2004-06-06  Sebastien Pouliot  <sebastien@ximian.com>
5999         * Decimal.cs: Fixed ToString(String.Empty) to default ("G").
6000         * Int16.cs: Fixed ToString(String.Empty) to default ("G").
6001         * Int32.cs: Fixed ToString(String.Empty) to default ("G").
6002         * Int64.cs: Fixed ToString(String.Empty) to default ("G").
6003         * SByte.cs: Fixed ToString(String.Empty) to default ("G").
6004         * UInt16.cs: Fixed ToString(String.Empty) to default ("G").
6005         * UInt32.cs: Fixed ToString(String.Empty) to default ("G").
6006         * UInt64.cs: Fixed ToString(String.Empty) to default ("G").
6008 2004-06-05  Sebastien Pouliot  <sebastien@ximian.com>
6010         * Convert.cs: Fixed the convertion of negative integers (byte, short, 
6011         int and long) into string in a specific base (2, 8, 10 or 16).
6013 2004-06-04  Sebastien Pouliot  <sebastien@ximian.com>
6015         * Math.cs: Fixed IEEERemainder to return -0 (0x8000000000000000) when
6016         the dividend is negative and the result is 0 (remainder).
6018 2004-06-03  Sebastien Pouliot  <sebastien@ximian.com>
6020         * Delegate.cs: Fix the NullReferenceException in Combine(Delegate[]).
6022 2004-06-02  Sebastien Pouliot  <sebastien@ximian.com>
6024         * TimeSpan.cs: Fixed overflow issues when delaing with big (days) time
6025         spans. Fixed parsing when only days are presents in the string (which
6026         should be illegal according to the documentation but is supported).
6028 2004-06-01  Sebastien Pouliot  <sebastien@ximian.com>
6030         * TimeSpan.cs: Fixed exceptions in FromXXX methods as they are 
6031         somewhat different from the documentation.
6033 2004-06-01  Gert Driesen <drieseng@users.sourceforge.net>
6035         * Type.cs: added missing attributes on InvokeMember
6037 2004-06-01  Miguel de Icaza  <miguel@ximian.com>
6039         * String.cs: Flag concat with four arguments internal. 
6041 2004-05-31  Sebastien Pouliot  <sebastien@ximian.com>
6043         * Array.cs: Fixed legal case where value is null.
6044         * Byte.cs: Fixed ToString when format is an empty string (use "G").
6045         * Guid.cs: Renamed private fields (and changed some to signed) to 
6046         match MS implementation and allow serialization to work. Fix 
6047         bug #59113.
6049 2004-05-30  Gonzalo Paniagua Javier <gonzalo@ximian.com>
6051         * DateTime.cs: adjust milliseconds for fraction specifier ('f').
6053 2004-05-30  Miguel de Icaza  <miguel@ximian.com>
6055         * Console.cs: Remove *again* the version of WriteLine with four
6056         arguments;  That should *not* be added.  
6058         Flag it as internal as people migrate their code.
6060 2004-05-29  Sebastien Pouliot  <sebastien@ximian.com>
6062         * Convert.cs: Fixed ToSByte(string,IFormatProvider) to throw 
6063         ArgumentNullException (only case, all other returns 0). Fixed exception
6064         reporting for hex prefix only strings. Fixed ChangeTo where null could
6065         be misinterpreted between null and Empty.
6067 2004-05-28  Sebastien Pouliot  <sebastien@ximian.com>
6069         * Convert.cs: Fixed integer parsing for special cases (0x, 0X for base
6070         16), non-base 10 negative numbers ... see new unit tests. Fixed the 
6071         case when we parse Int64.MinValue (positive doesn't fit a signed long).
6073 2004-05-28  Jackson Harper  <jackson@ximian.com>
6075         * Environment.cs: Increment version number.
6076         
6077 2004-05-28  Zoltan Varga  <vargaz@freemail.hu>
6079         * AppDomain.cs (Load): Try loading from assemblyRef.CodeBase if exists.
6080         Fixes #59189.
6082 2004-05-28  Atsushi Enomoto <atsushi@ximian.com>
6084         * DateTime.cs : I reverted my fix by accident :(
6086 2004-05-28  Atsushi Enomoto <atsushi@ximian.com>
6088         * DateTime.cs :
6089           - In ToString(), Don't use culture-dependent daynames to format
6090             Universal/RFC1123 date/time. Also, use FullDateTimePattern for 'U'.
6091           - Fixed GetDateTimeFormats () that generated incorrect 'U' value 
6092             (since the format string is the same as 'F').
6094 2004-05-28  Atsushi Enomoto <atsushi@ximian.com>
6096         * DateTime.cs : don't adjust utc value in ToString(). It must output
6097           the same time value, just adding 'Z' for UTC.
6099 2004-05-28  Atsushi Enomoto <atsushi@ximian.com>
6101         * DateTime.cs : in 'Z' case, remove the 'Z' char from input before
6102           proceeding.
6104 2004-05-28  Gonzalo Paniagua Javier <gonzalo@ximian.com>
6106         * AppDomainSetup.cs: InitAppDomainSetup is not needed now.
6108 2004-05-27  Sebastien Pouliot  <sebastien@ximian.com>
6110         * Byte.cs: Fixed parsing for "-0" which is valid for unsigned types.
6111         * Convert.cs: Convert with a base parameter cannot parse negative 
6112         string numbers, even "-0".
6113         * UInt16.cs: Fixed parsing for "-0" which is valid for unsigned types.
6114         * UInt32.cs: Fixed parsing for "-0" which is valid for unsigned types.
6115         * UInt64.cs: Fixed parsing for "-0" which is valid for unsigned types.
6117 2004-05-27  Atsushi Enomoto <atsushi@ximian.com>
6119         * DateTime.cs : 
6120           - Added "yyyy/MM/dd HH:mm:ss 'GMT'" and "yyyy-MM-dd HH:mm:ss 'GMT'"
6121             to common formats (yes, I know it is nothing more than hack)
6122           - Fixed some GetDateTimeFormats() that just returned patterns.
6123           - For InvariantCulture, now try both supported formats and our
6124             predefined formats.
6125           - It was accepting incorrectly extraneous characters. That caused
6126             some UTC/non-UTC bug.
6127           - RFC1123 string should return universal time. Uncomment again (the
6128             problem should went away because of the extra characters fix above.
6130             With some of the changes above, fixed bug #47720.
6132 2004-05-27  Atsushi Enomoto <atsushi@ximian.com>
6134         * DateTime.cs : quick revert 'Z' support for certificate verifications.
6136 2004-05-26  Sebastien Pouliot  <sebastien@ximian.com>
6138         * Array.cs: Removed duplicate condition if LastIndexOf.
6140 2004-05-26  Atsushi Enomoto <atsushi@ximian.com>
6142         * DateTime.cs :
6143           - Added "yyyy-MM-dd HH:mm:ss" to "compatible patterns".
6144             (Fixed bug #58938.)
6145           - As a quick remedy to accept more patterns, Parse() now also tries
6146             InvariantInfo patterns (this is because we have no more than one
6147             pattern for each pattern component.)
6148           - In _DoParse(), 'Z' should not be read as timezone specifier. Some
6149             culture uses 'Z' as AM/PM designer, and it should be recognized as
6150             part of the UTCpattern (if it actually UTC pattern for the culture
6151             contains 'Z').
6153 2004-05-26  Gert Driesen (drieseng@users.sourceforge.net)
6155         * MonoCustomAttrs.cs: Fixed issue with AllowMultiple, as MS
6156         seems to allow multiple attributes with AllowMultiple at
6157         runtime.
6159 2004-05-26  Sebastien Pouliot  <sebastien@ximian.com>
6161         * Byte.cs: Throw an OverflowException for negative numbers.
6162         * Convert.cs: Accept 0x and 0X as prefix when parsing base16 strings.
6163         * Environment.cs: Bumped mono_corlib_version to 20 (rng interface).
6165 2004-05-25  Sebastien Pouliot  <sebastien@ximian.com>
6167         * Array.cs: Fixed possible integer overflow.
6168         * BitConverter.cs: Fixed a possible integer overflow in ToString.
6169         * Guid.cs: Added an internal method to create a random Guid without
6170         using CryptoConfig (which is heavy on first use). This is only used
6171         in S.R.E.ModuleBuilder to speedup MCS compilation.
6172         * String.cs: Fixed reported exception for PadLeft|Right. Fixed 
6173         possible integer overflow in methods that takes index and count
6174         as parameters.
6176 2004-05-25  Zoltan Varga  <vargaz@freemail.hu>
6178         * String.cs: Add new Strcpy icalls which take a char array as 
6179         parameter.
6181 2004-05-25  Atsushi Enomoto <atsushi@ximian.com>
6183         * DateTime.cs : added more invariant format patterns. This should
6184           really fix bug #57656.
6186 2004-05-25 14:14 CET Patrik Torstensson <totte@hiddenpeaks.com>
6188         * BitConverter.cs (ToBoolean): Return true or false instead
6189         of unsafe returing byte as bool. Fixes bug #58874.
6191 2004-05-25  Atsushi Enomoto <atsushi@ximian.com>
6193         * DateTime.cs : In ToString(string, IFormatProvider), use "G" if
6194           string format argument is null.
6196 2004-05-25  Lluis Sanchez Gual  <lluis@ximian.com>
6198         * Version.cs: Rename of data fields to match those in Microsoft.NET.
6199           Patch by PAF@design.ru.
6201 2004-05-25  Gonzalo Paniagua Javier <gonzalo@ximian.com>
6203         * DateTime.cs: allow double quotes in the formats. Don't set
6204         next_not_digit to true in presence of single or double quotes. Patch by
6205         Martin Probst.
6207 2004-05-24  Zoltan Varga  <vargaz@freemail.hu>
6209         * AppDomainSetup.cs (InitAppDomainSetup): This one returns void.
6211 2004-05-23  Sebastien Pouliot  <sebastien@ximian.com>
6213         * Array.cs: Fixed exception when we try to Clear outside bounds.
6214         * Boolean.cs: Fixed Equals for True!=True (see bugzilla #58874).
6215         * BitConverter.cs: Fixed negative index and integer overflow in
6216         To... methods.
6217         * Buffer.cs: Fixed integer overflow in BlockCopy.
6219 2004-05-22  Sebastien Pouliot  <sebastien@ximian.com>
6221         * Array.cs: Clear can now work on multidimentional arrays.
6222         * IntPtr.cs: We now only accept 32bits values in the long constructor
6223         unless we're on a 64 bits machine.
6224         * UIntPtr.cs: We now only accept 32bits unsigned values in the ulong 
6225         constructor unless we're on a 64 bits machine.
6227 2004-05-22  Duncan Mak  <duncan@ximian.com>
6229         * Convert.cs: The file was mostly in DOS endings already, for the
6230         sake of consistency, converted it all to DOS endings.
6231         (ToType): When value is null, immediately return null and don't
6232         ever throw a NullReferenceException. When conversionType is null,
6233         throw an InvalidCastException. Give a better error message when
6234         attempting to convert to a DBNull as well.
6236 2004-05-21  Sebastien Pouliot  <sebastien@ximian.com>
6238         * Decimal.cs: Fixed To... methods that needs to trunk the integer part
6239         of Decimal (and not use the banker's rounding like Convert.To...).
6240         * Single.cs: Fixed CompareTo and Equals (copied fix from Double) wrt
6241         to NaN compares (see new unit tests).
6243 2004-05-20  Sebastien Pouliot  <sebastien@ximian.com>
6245         * Convert.cs: Added checks for integer overflow for From|ToBase64Char.
6246         Also fixed the case where wide (16 bits) characters were converted to 
6247         bytes.
6249 2004-05-19  Gert Driesen (drieseng@users.sourceforge.net)
6251         * ThreadStaticAttribute.cs
6252         * ContextStaticAttribute.cs
6253         * FlagsAttribute.cs
6254         * ObsoleteAttribute.cs : now that Inherited is false by
6255         default on AttributeUsageAttribute (as it should be) we
6256         need to explicitly set Inherited to false for those
6257         attributes should it be be false.
6259 2004-05-19  Gert Driesen (drieseng@users.sourceforge.net)
6261         * AttributeUsageAttribute.cs: Inherited property should be
6262         true by defaultrs.cs: respect Inherited property, and
6264 2004-05-19  Gert Driesen (drieseng@users.sourceforge.net)
6266         * MonoCustomAttrs.cs: respect Inherited property, and
6267         AllowMultiple property of a CustomAttribute. This fixes
6268         a major issue we had with respect to custom attributes.
6270 2004-05-19  Gert Driesen (drieseng@users.sourceforge.net)
6272         * MonoType.cs: throw ArgumentNullException when type parameter in
6273         GetCustomAttributes(Type, bool) is null
6275 2004-05-18  Sebastien Pouliot  <sebastien@ximian.com>
6277         * Buffer.cs: Added checks for null source and destination. Fix failing
6278         CryptoStream unit test.
6279         * Guid.cs: Fixed thread-safety issue. Simplified implementation to use
6280         pseudo-random numbers to generate GUIDs (as per section 3.4 of the 
6281         spec). This removes the TODO to get the computer MAC address and
6282         the chances to get a duplicate GUID (across different machines).
6284 2004-05-17  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
6286         * TimeSpan.cs: Only catch expected exceptions, if we get other exceptions
6287           than OverflowExceptions then something went wrong internally
6289 2004-05-17  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
6291         * Char.cs: Fix long standing bug with ToLower/ToUpper not being
6292           culture - sensitive
6294 2004-05-14  Zoltan Varga  <vargaz@freemail.hu>
6296         * Buffer.cs: Optimize BlockCopy.
6298         * Environment.cs: Bump corlib version.
6300 2004-05-14  Atsushi Enomoto <atsushi@ximian.com>
6302         * __ComObject.cs : This class is not regarded as CLSCompliant by csc.
6303           See also bug #58478.
6305 2004-05-14  Gonzalo Paniagua Javier <gonzalo@ximian.com>
6307         * AppDomainSetup.cs: don't throw an exception if dynamic_base has not
6308         been set. Just return null as MS. Fixes bug #58120.
6310 2004-05-14  Marek Safar  <marek.safar@seznam.cz>
6312         * Boolean.cs, Byte.cs, Char.cs, DBNull.cs, DateTime.cs,
6313           Decimal.cs, Double.cs, Enum.cs, Int16.cs, Int32.cs,
6314           Int64.cs, IntegerFormatter.cs, SByte.cs, Single.cs,
6315           String.cs, UInt16.cs, UInt32.cs, UInt64.cs: Removed
6316           useless [CLSCompliant (false)]
6319 2004-05-13  Sebastien Pouliot  <sebastien@ximian.com>
6321         * __ComObject.cs: To please corcompare (no implementation).
6323 2004-05-13  Zoltan Varga  <vargaz@freemail.hu>
6325         * Environment.cs: Bump corlib version.
6327 2004-05-13  Sebastien Pouliot  <sebastien@ximian.com>
6329         * Environement.cs: Removed two security attributes for CurrentDirectory
6330         that weren't documented (and anyway we don't support them).
6332 2004-05-11  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
6334         * Char.cs: Fix exceptions
6336 2004-05-11  Lluis Sanchez Gual  <lluis@ximian.com>
6338         * MissingMemberException.cs: Fix in serialization constructor.
6340 2004-05-10  Gonzalo Paniagua Javier <gonzalo@ximian.com>
6342         * Environment.cs: GetGacPath return value is resolved at runtime on
6343         windows.
6345 2004-05-07  Sebastien Pouliot  <sebastien@ximian.com>
6347         * Convert.cs: ToBase64CharArray method was depending on a bug in 
6348         S.S.C.ToBase64Transform class to work. Added an internal method to 
6349         provide the same functionality (multiple block processing).
6351 2004-05-06  Jackson Harper  <jackson@ximian.com>
6353         * Environment.cs: Make $HOME the personal directory.
6355 2004-05-06  Sebastien Pouliot  <sebastien@ximian.com>
6357         * Convert.cs: ToBase64String method was depending on a bug in 
6358         S.S.C.ToBase64Transform class to work. Added an internal method to 
6359         provide the same functionality (multiple block processing).
6361 2004-05-05  Sebastien Pouliot  <sebastien@ximian.com>
6363         * Environment.cs: Completed OSVersion property.
6364         * Version.cs: Added internal CreateFromString() to "try" to build the
6365         best version number form the specified string.
6367 2004-05-01  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
6369         * TimeSpan.cs: Redid a lot of stuff in TimeSpan from scratch.
6370           Fixes several potential bugs and makes things way faster.
6372 2004-05-01  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
6374         * TimeSpan.cs: Formatting changes
6376 2004-04-29 Ben Maurer  <bmaurer@users.sourceforge.net>
6378         * Activator.cs: change _flags to a const.
6379         * IntegerFormatter.cs: make tables readonly.
6380         * Convert.cs: tables readonly
6381         * DateTime.cs: ditto.
6382         * IntPtr.cs: avoid a cctor.
6384 2004-04-29  Jackson Harper  <jackson@ximian.com>
6386         * MonoType.cs: 
6387         * Type.cs: NET_2_0 now instead of 1_2. 
6388         
6389 2004-04-29  Gonzalo Paniagua Javier <gonzalo@ximian.com>
6391         * Environment.cs: implemented GetLogicalDrives.
6393 2004-04-28  Miguel de Icaza  <miguel@ximian.com>
6395         * Applied patch from Atsushi Enomoto that allows Synchronized
6396         writers to have a `dont close' flag, this fixes 52094
6398 2004-04-29  Lluis Sanchez Gual  <lluis@ximian.com>
6400         * MonoCustomAttrs.cs, MonoType.cs: Property.GetGetMethod() does not
6401         return the method if it is private (it did until now because of a
6402         bug). Make sure it works as it worked before the fix.
6403         * Type.cs: Implemented FilterAttribute delegate.
6405 2004-04-28  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
6407         * IntegerFormatter.cs: Prevent the use of the explicit static constuctor
6409 2004-04-27  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
6411         * IntegerFormatter.cs: Made functions internal (needed by other patches)
6413 2004-04-27  Lluis Sanchez Gual  <lluis@ximian.com>
6415         * DateTime.cs: TODO cleaning.
6416         * Delegate.cs: GetObjectData should be virtual.
6417         * IntegerFormatter.cs: Method factorization. I don't want to fix bugs in
6418           30 methods almost identical.
6419         * MulticastDelegate.cs: Implemented GetObjectData.
6420         
6421 2004-04-26  Jackson Harper  <jackson@ximian.com>
6423         * Environment.cs: Things going bump in the night.
6425 2004-04-25  Miguel de Icaza  <miguel@ximian.com>
6427         * Convert.cs (toBase64Transform): Make private.
6429 2004-04-25  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
6431         * Convert.cs:
6432         * Decimal.cs:
6433         * DecimalFormatter.cs:
6434         * FloatingPointFormatter.cs: Call invariant Char functions
6435         * Guid.cs: Call invariant Char and String functions
6436         * String.cs: Call invariant Char functions
6438 2004-04-25  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
6440         * String.cs: Refactored the Invariant ToXXX into its own internal methods
6441           so they are directly callable within corlib (can prevent early
6442           construction of CultureInfo, InvariantCulture and related classes)
6444 2004-04-24  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
6446         * String.cs: Managed impl. of Invariant parts of ToLower, ToUpper
6447         * Char.cs: Managed impl. of Invariant parts of ToLower, ToUpper
6449 2004-04-24  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
6451         * String.cs: Check for null values
6453 2004-04-23  Peter Bartok <pbartok@novell.com>
6455         * Environment.cs: GetLogicalDrives now returns "/" instead of null. Gonzalo
6456           will do a better fix in the future, but this way apps can at least use it.
6458 2004-04-23  Sebastien Pouliot  <sebastien@ximian.com>
6460         * Environment.cs: Better support for GetFolderPath (same results as MS 
6461           on Windows).
6463 2004-04-22  Lluis Sanchez Gual  <lluis@ximian.com>
6465         * Activator.cs: Removed TODOs for finished methods.
6466         * AppDomainSetup.cs: When setting a relative path to ApplicationBase, it
6467           must be relative to the current directory, not the temp directory.
6468           Implemented DynamicBase.
6469         * Convert.cs: No need to create a ToBase64Transform instance at every call
6470           to ToBase64CharArray.
6471         * DateTime.cs: Implemented missing methods FromFileTimeUtc and 
6472           ToFileTimeUtc.
6473         * Decimal.cs: Implemented FromOACurrency and ToOACurrency.
6474         * Delegate.cs: Removed class TODO.
6475         * IntegerFormatter.cs: Use Char.IsLetter and Char.IsDigit instead of ad-hoc
6476           methods.
6477         * Type.cs: Removed TODOs for things already implemented.
6478         
6479 2004-04-21  Lluis Sanchez Gual  <lluis@ximian.com>
6481         * Char.cs: Implemented culture-dependent ToLower and ToUpper methods.
6482         * MulticastDelegate.cs: Removed unused code.
6484 2004-04-19  Lluis Sanchez Gual  <lluis@ximian.com>
6486         * AppDomain.cs: Implemented DynamicDirectory and SetDynamicBase.
6487         * Array.cs: Removed some TODOs in CreateInstance and IndexOf.
6488         * BadImageFormatException.cs: TODO reformat.
6489         * DateTime.cs: Implemented GetDateTimeFormats and GetDateTimeFormats.
6490         * DelegateSerializationHolder.cs: Made class internal.
6491         * Enum.cs: Removed TODO for localization, since this is something that has
6492           to be done for all classes.
6493         * Environment.cs: Removed TODO.
6494         * Exception.cs: Changed ToString to use StringBuilder.
6495         * MonoDummy.cs: Made class internal.
6496         * UnitySerializationHolder.cs: Added support for modules.
6498 2004-04-16  David Sheldon <dave-mono@earth.li>
6500         * DecimalFormatter.cs: Don't append a decimal point after the
6501           end of a number. ((decimal)1).ToString("P0") should be "100 %", not
6502           "100. %"
6504 2004-04-09  Miguel de Icaza  <miguel@ximian.com>
6506         * OutOfMemoryException.cs: Removed the call to Locale.GetText from
6507           this.
6509 2004-04-10  Gert Driesen (drieseng@users.sourceforge.net)
6511         * MonoDummy.cs: added MonoTODO to make sure we remove this class
6512           when its no longer needed
6514 2004-04-09  David Sheldon <dave-mono@earth.li>
6516         * Convert.cs: Allow + signs in strings for ToInt32, and
6517           - if it is base 10.
6519 2004-04-08  Atsushi Enomoto  <atsushi@ximian.com>
6521         * Nullable.cs : usingdecl should also be conditional.
6523 2004-04-07  Martin Baulig  <martin@ximian.com>
6525         * Nullable.cs: New file.
6527 2004-04-07  Martin Baulig  <martin@ximian.com>
6529         * Type.cs (Type.GetGenericArguments): Make this abstract.
6531 2004-04-07  Jackson Harper  <jackson@ximian.com>
6533         * Environment.cs: Increase corlib version number.
6534         
6535 2004-04-07  Gonzalo Paniagua Javier <gonzalo@ximian.com>
6537         * Environment.cs:
6538         (ExpandEnvironmentVariables): on windows, env. vars. are case
6539         insensitive.
6541 2004-04-06  Sebastien Pouliot  <sebastien@ximian.com>
6543         * AppDomain.cs: Added static to [ThreadStatic] _principal field. 
6544         Removed [ThreadStatic] for _principalPolicy (not required).
6546 2004-04-06  Miguel de Icaza  <miguel@ximian.com>
6548         * Guid.cs: Flag as Sequential.
6550 2004-04-02  Dick Porter  <dick@ximian.com>
6552         * String.cs: More sanity checks in Replace().  Fixes bug 55822.
6554 2004-04-02  Sebastien Pouliot  <sebastien@ximian.com>
6556         * Environment.cs: Implement ExpandEnvironmentVariables static method.
6557         Now call the runtime to get the username (fix #56144).
6559 2004-04-02  Gonzalo Paniagua Javier <gonzalo@ximian.com>
6561         * MonoType.cs: AssemblyQualifiedName now displays culture, version...
6562         Fixes bug #56341.
6564 2004-03-29  Miguel de Icaza  <miguel@ximian.com>
6566         * Console.cs: If we fail to open stdin/stdout/stderr, create
6567         readers with a NullStream.  This can happen if our caller does not
6568         setup stdin/stoud/stderr file handles.  #56158 exposed this, but
6569         it will happen elsewhere.
6571 2004-03-29  Lluis Sanchez Gual <lluis@ximian.com>
6573         * Convert.cs: In ToSingle(double), removed checks for Single.MaxValue
6574         and Single.MinValue. MS.NET don't do it. This fixes bug #56005.
6575         * Guid.cs: Added support for guid strings in the "N" and "P" formats in
6576           the constructor. This fixes bug #54019.
6578 2004-03-23  Lluis Sanchez Gual <lluis@ximian.com>
6580         * FloatingPointFormatter.cs: Made the class thread safe. Had to move some
6581           internal variables to structures that are moved around methods.
6582           Factorized some common formatting code into FormatNumberInternal.
6583           
6584 2004-03-23  Dick Porter  <dick@ximian.com>
6586         * DateTime.cs: Allow any character for DateSeparator when parsing,
6587         except TimeSeparator, a digit or a letter.  Fixes bug 54047.  Also
6588         deleted the previous fix for 54721, because this covers it too.
6589         
6590 2004-03-23  Dick Porter  <dick@ximian.com>
6592         * DateTime.cs: Check the date string for too many digits when
6593         parsing.  Fixes bugs 53023 and 53025.
6595 2004-03-22  Dick Porter  <dick@ximian.com>
6597         * String.cs: Use the provider when converting strings to other
6598         types.
6600         * DateTime.cs: Add MM-dd-yyyy to the list of standard date parsing
6601         formats.  Fixes bug 54721.
6603 2004-03-22  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
6605         * Console.cs: Styled, optimized calls
6606         * CrossAppDomainDelegate.cs: Small header fix
6607         * Buffer.cs: Style, improve errors
6608         * BitConverter.cs: Style, improve errors, remove obsolete comment
6609         * Attribute.cs: Style, improve errors, small fix
6610         * Array.cs: Style, improve errors, small fix, added TODOs
6611         * Activator.cs: Style, localized errors, added error checks
6612         * Byte.cs: Style, localized errors, fixed wrong exception parameters
6613         * Char.cs: Style
6614         * Boolean.cs: Style
6615         * AppDomainSetup.cs: Style
6616         * AppDomain.cs: Style, implemented two methods (redirect)
6618 2004-03-21  Jackson Harper  <jackson@ximian.com>
6620         * FloatingPointFormatter.cs: Set precision from number format info
6621         when it is not specified. This fixes bug #54983.
6622         
6623 2004-03-18  Nick Drochak <ndrochak@ieee.org>
6625         * Math.cs: Use IsNaN() method not "x == NaN".
6627 2004-03-16  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
6629         * EntryPointNotFoundException.cs
6630         * DuplicateWaitObjectException.cs
6631         * DllNotFoundException.cs
6632         * DivideByZeroException.cs
6633         * ContextMarshalException.cs
6634         * CannotUnloadAppDomainException.cs
6635         * BadImageFormatException.cs
6636         * ArrayTypeMismatchException.cs
6637         * ArithmeticException.cs
6638         * ArgumentOutOfRangeException.cs
6639         * ArgumentNullException.cs
6640         * ArgumentException.cs
6641         * ApplicationException.cs
6642         * AppDomainUnloadedException.cs: Added missing HResult overrides
6644         * BadImageFormatException.cs: Improved/ Fixed implementation
6646 2004-03-15  Sebastien Pouliot  <sebastien@ximian.com>
6648         * Random.cs: Corrected random value when Next is called with a 
6649         negative value. Testing indictae that our results aren't exactly the 
6650         same as MS, we have a +/- 1 (probably rounding errors due to 
6651         different implementation).
6653 2004-03-15  Gonzalo Paniagua Javier <gonzalo@ximian.com>
6655         * Environment.cs: updated corlib version.
6657 2004-03-15  Lluis Sanchez Gual <lluis@ximian.com>
6659         * Boolean.cs, Byte.cs, Char.cs, Double.cs, Int16.cs, Int32.cs, Int64.cs,
6660           SByte.cs, Single.cs, UInt16.cs, UInt32.cs, UInt64.cs: Renamed internal
6661           field "value" to "m_value", so it is interoperable with MS.NET when 
6662           serializing and deserializing data. Based on the patch from Daniel
6663           Keep.
6665 2004-03-14  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
6667         * TypeInitializationException.cs
6668         * SystemException.cs
6669         * StackOverflowException.cs
6670         * RankException.cs
6671         * OverflowExceptionException.cs
6672         * OutOfMemoryException.cs
6673         * NullReferenceException.cs
6674         * NotSupportedException.cs
6675         * NotFiniteNumberException.cs
6676         * InvalidOperationException.cs
6677         * InvalidCastException.cs
6678         * IndexOutOfRangeException.cs
6679         * FormatException.cs
6680         * ExecutionEngineException.cs: improved parameter names
6682 2004-03-13  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
6684         * Enum.cs
6685         * EntryPointNotFoundException.cs
6686         * DuplicateWaitObjectException.cs
6687         * DoubleFormatter.cs
6688         * DllNotFoundException.cs
6689         * DivideByZeroException.cs
6690         * DelegateSerializationHolder.cs
6691         * Delegate.cs
6692         * DBNull.cs
6693         * ContextStaticAttribute.cs
6694         * ContextMarshalException.cs
6695         * ContextBoundObject.cs
6696         * CLSCompliantAttribute.cs
6697         * CharEnumerator.cs
6698         * CannotUnloadAppDomainException.cs
6699         * BadImageFormatException.cs
6700         * AttributeUsageAttribute.cs
6701         * AttributeTargets.cs
6702         * AsyncCallback.cs
6703         * AssemblyLoadEventHandler.cs
6704         * AssemblyLoadEventArgs.cs
6705         * ArrayTypeMismatchException.cs
6706         * ArithmeticException.cs
6707         * ArgumentOutOfRangeException.cs
6708         * ArgumentNullException.cs
6709         * ArgumentException.cs
6710         * ArgIterator.cs
6711         * ApplicationException.cs
6712         * AppDomainUnloadedException.cs
6713         * AppDomain.cs: Mono styled, fixed exceptions/ locales
6714           removed excess usings
6716 2004-03-10  Sebastien Pouliot  <sebastien@ximian.com>
6718         * Convert.cs: FromBase64 now ignore some characters (tab, LF, CR and
6719         spaces) which fixed #54939. Changed the way that the length is 
6720         validated (multiple of 4) because the ignored characters must not be
6721         included in the count.
6723 2004-03-10  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
6725         * String.cs: Monostyled
6727 2004-03-09  Jackson Harper  <jackson@ximian.com>
6729         * Char.cs: Only use a byte for numeric data.
6730         
6731 2004-03-09  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
6733         * TypedReference.cs: Added missing Attributes
6734         * ParamArrayAttribute.cs: Small style fix
6735         * OperatingSystem.cs: Added .Net 1.1 member
6737 2004-03-09  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
6739         * FieldAccessException.cs
6740         * FormatException.cs
6741         * InvalidCastException.cs
6742         * InvalidOperationException.cs
6743         * MemberAccessException.cs
6744         * MethodAccessException.cs
6745         * MissingFieldException.cs: Locale strings
6746         * MissingMemberException.cs: Locale strings
6747         * MissingMethodException.cs: Locale strings
6748         * NotFiniteNumberException.cs
6749         * NotImplementedException.cs
6750         * NotSupportedException.cs
6751         * NullReferenceException.cs
6752         * ObjectDisposedException.cs
6753         * OutOfMemoryException.cs
6754         * OverflowExceptionException.cs
6755         * PlatformNotSupportedException.cs
6756         * RankException.cs: Added missing HResult overrides
6758 2004-03-09  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
6760         * RuntimeTypeHandle.cs
6761         * RuntimeMethodHandle.cs
6762         * RuntimeFieldHandle.cs: Implemented serialization (partially untested)
6764 2004-03-09  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
6766         * EventArgs.cs
6767         * Exception.cs
6768         * ExecutionEngineException.cs
6769         * FieldAccessException.cs
6770         * FormatException.cs
6771         * GC.cs
6772         * Guid.cs
6773         * IndexOutOfRangeException.cs
6774         * IntPtr.cs
6775         * InvalidCastException.cs
6776         * InvalidOperationException.cs
6777         * InvalidProgramException.cs
6778         * IServiceProvider.cs
6779         * LoaderOptimization.cs
6780         * LoaderOptimizationAttribute.cs
6781         * MarshalByRefObject.cs
6782         * Math.cs
6783         * MemberAccessException.cs
6784         * MethodAccessException.cs
6785         * MissingFieldException.cs
6786         * MissingMemberException.cs
6787         * MissingMethodException.cs
6788         * MultiCastDelegate.cs
6789         * MulticastNotSupportedException.cs
6790         * NonSerializedAttribute.cs
6791         * NotFiniteNumberException.cs
6792         * NotImplementedException.cs
6793         * NotSupportedException.cs
6794         * NullReferenceException.cs
6795         * ObjectDisposedException.cs
6796         * ObsoleteAttribute.cs
6797         * OperatingSystem.cs
6798         * OutOfMemoryException.cs
6799         * OverflowExceptionException.cs
6800         * PlatformID.cs
6801         * PlatformNotSupportedException.cs
6802         * Random.cs
6803         * RankException.cs
6804         * ResolveEventArgs.cs
6805         * ResolveEventHandler.cs
6806         * RuntimeFieldHandle.cs
6807         * RuntimeMethodHandle.cs
6808         * RuntimeTypeHandle.cs: Mono styled, fixed exceptions/ locales
6809           removed excess usings
6811 2004-03-08  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
6813         * SystemException.cs: Exceptions set the HResult
6814         * TypeLoadException.cs: Exceptions set the HResult, fixed wrong exception usage
6815         * SByte.cs: Implemented two missing methods, fix wrong parameters for ArgumentNullException
6817 2004-03-08  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
6819         * TypedReference.cs
6820         * TypeLoadException.cs
6821         * TypeInitializationException.cs
6822         * TypeCode.cs
6823         * TimeZone.cs
6824         * ThreadStaticAttribute.cs
6825         * SystemException.cs
6826         * STAThreadAttribute.cs
6827         * StackOverflowException.cs
6828         * SingleFormatter.cs
6829         * Single.cs
6830         * SerializableAttribute.cs: Mono styled, fixed exceptions/ locales
6831           removed excess usings
6833 2004-03-08  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
6835         * UnauthorizedAccessException.cs: Exceptions set the HResult
6836         * UInt64.cs: Implemented two missing methods
6837         * UInt32.cs: Fix wrong parameters for ArgumentNullException, simpler convert
6838         * UInt16.cs: Fix wrong parameters for ArgumentNullException, simpler convert
6840 2004-03-08  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
6842         * WeakReference.cs
6843         * Void.cs
6844         * Version.cs
6845         * ValueType.cs
6846         * UnitySerializationHolder.cs
6847         * UnhandledExceptionEventHandler.cs
6848         * UnauthorizedAccessException.cs
6849         * UIntPtr.cs
6850         * UInt64.cs
6851         * UInt32.cs
6852         * UInt16.cs: Mono styled, Locale.GetText fixes, msg fixes
6854 2004-03-04  Lluis Sanchez Gual <lluis@ximian.com>
6856         * Environment.cs: Bump corlib version.
6858 2004-03-04  Jackson Harper  <jackson@ximian.com>
6860         * Char.cs: New managed implementation. Modified patch by Andreas Nahr.
6861         
6862 2004-02-27  Lluis Sanchez Gual <lluis@ximian.com>
6864         * String.cs: Concat() fixed crash when one of the arguments is an object
6865           whose ToString() method returns null.
6866         * TypeLoadException.cs: Added some serialization fiels, needed for
6867           compatibility with MS.NET.
6869 2004-02-23 Ben Maurer  <bmaurer@users.sourceforge.net>
6871         * String.cs (Equals): Speed up this method by avoiding Array
6872          Bounds Checks and by comparing by 32 bit words rather than 16 bit chars.
6874         This gives between 0x (for 1 char) and >2x (for large strings)
6875         factor of improvement.
6877         A big thanks to Miguel, who suggested the integer compares.
6879 2004-02-23  Gonzalo Paniagua Javier <gonzalo@ximian.com>
6881         * MonoType.cs: use the binder in GetPropertyImpl.
6883 2004-02-22  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
6885         * Math.cs: MonoStyled, replaced space with tabs,
6886           speedup of some methods by avoiding method calls
6888 2004-02-18  Atsushi Enomoto  <atsushi@ximian.com>
6890         * Char.cs : optimized IsSeparator(), IsWhiteSpace() and IsDigit().
6891           (Moved from InternalCall to Managed code).
6893 2004-02-17  Martin Baulig  <martin@ximian.com>
6895         * MonoType.cs (GetConstructors): Renamed the interncall to
6896         GetConstructors_internal(), made it internal and added a `Type
6897         reflected_type' argument to it.
6898         (GetEvents, GetFields): Likewise.
6899         (GetMethodsByName): Added `Type reflected_type' argument.
6900         (GetPropertiesByName): Likewise.
6902 2004-02-16  Jackson Harper  <jackson@ximian.com>
6904         * FloatingPointFormater.cs: Allow precision to be up to the number
6905         of decimals without rounding.
6906         
6907 2004-02-14  Zoltan Varga  <vargaz@freemail.hu>
6909         * Delegate.cs (Equals): Do not compare method_ptr, since it might
6910         point to a trampoline.
6912 2004-02-12  Jackson Harper  <jackson@ximian.com>
6914         * AppDomainSetup.cs: If relative paths are used they should be
6915         rooted in the temp directory.
6916         
6917 2004-02-11  Marek Safar  <marek.safar@seznam.cz>
6919         * Type.cs (FilterNameIgnoreCase_impl): Added extra check for speedup.
6921 2004-02-10  Zoltan Varga  <vargaz@freemail.hu>
6923         * AppDomain.cs (Load): Check that assemblyRef.Name is not empty, to
6924         avoid an assert in the runtime.
6926 2004-02-08  Duncan Mak  <duncan@ximian.com>
6928         * Convert.cs (ToType): Always let a Convert.ChangeType call
6929         succeed if the source object is already of the destination type.
6931         Patch by Ian MacLean (ianm@activestate.com).
6933 2004-02-05  Sebastien Pouliot  <sebastien@ximian.com>
6935         * AppDomain.cs: Implemented SetPrincipalPolicy and SetThreadPrincipal.
6937 2004-02-02  Zoltan Varga  <vargaz@freemail.hu>
6939         * Environment.cs: Bump corlib version.
6941 2004-02-02  Sebastien Pouliot  <sebastien@ximian.ca>
6943         * DateTime.cs: Corrected support for "Z" in the mask (Parse). This
6944         fix bug #53461.
6946 2004-01-27  Sebastien Pouliot  <spouliot@videotron.ca>
6948         * Exception.cs: Changed ToString to remove the \n when no stack trace
6949         is present (which fixed a unit test for SecurityException). Changed
6950         all \n to Environment.NewLine.
6952 2004-01-27  Lluis Sanchez Gual <lluis@ximian.com>
6954         * ContextBoundObject.cs: Removed TODO.
6956 2004-01-22  Gonzalo Paniagua Javier <gonzalo@ximian.com>
6958         * TimeSpan.cs: fixed bug #52075. Days (int) don't rely on TotalDays
6959         (double), which might round up.
6961 2004-01-19  Jackson Harper <jackson@ximian.com>
6963         * FloatingPointFormatter.cs: Use the default decimal digits count
6964         if they are not specified. This fixes bug #52927.
6965         
6966 2004-01-19  Zoltan Varga  <vargaz@freemail.hu>
6968         * Environment.cs: Bump version number.
6970 2004-01-19  Lluis Sanchez Gual  <lluis@ximian.com>
6972         * Type.cs: Added internal call for IsInstanceOfType. The old implementation
6973         uses IsAssignableFrom(o.GetType()), which is not always valid for 
6974         transparent proxies (because GetType will not return the type of the remote
6975         object if its assembly is not present).
6977 2004-01-18  David Sheldon <dave-mono@earth.li>
6979   * FloatingPointFormatter.cs: Skip the decimal point if we have an 
6980     integer mantassa. So: 1E+15, rather than 1.E+15.
6982 2004-01-18  David Sheldon <dave-mono@earth.li>
6984         * Array.cs (GetValue/SetValue): Throw NullRef exception like .NET 1.1, 
6985         even though docs say it should be an ArgumentNull. Two test cases now
6986   pass. See also nickd's commit of 2003-12-24.
6988 2004-01-16  Gonzalo Paniagua Javier <gonzalo@ximian.com>
6990         * Environment.cs: increased corlib version.
6992 2004-01-14  Lluis Sanchez Gual <lluis@ximian.com>
6994         * MonoCustomAttrs.cs: Removed attribute cache. Attribute instances can't
6995         be reused because they could be modified. This fixes bug #52655.
6997 2004-01-12  Patrik Torstensson
6999         * Environment.cs: Bump corlib version number due to new StringBuilder
7000         
7001         * String.cs: New internal method to support the new StringBuilder that
7002         uses the string as a buffer (until ToString is called)
7004 2004-01-12  Zoltan Varga  <vargaz@freemail.hu>
7006         * Environment.cs: Bump corlib version number for real this time.
7007         
7008         * AppDomain.cs (LoadAssembly): Pass the assembly name as a string to
7009         the runtime, so it can take into account the Culture etc.
7011         * Environment.cs: Bump corlib version number.
7012         
7013 2004-01-12  Gonzalo Paniagua Javier <gonzalo@ximian.com>
7015         * MonoType.cs: GetMethods renamed to GetMethodsByName. It takes a
7016         new parameter with the method name and a boolean for ignoring case.
7017         Removed some string comparisons no longer needed.
7019 2004-01-11  Gonzalo Paniagua Javier <gonzalo@ximian.com>
7021         * MonoType.cs: GetProperties renamed to GetPropetiesByName. It takes a
7022         new parameter with the property name and a boolean for ignoring case.
7023         Fixes bug #52753.
7025 2004-01-11  David Sheldon <dave-mono@earth.li>
7027         * DateTime.cs: Correct processing of formats with multiple '-'s, fixing
7028         bug 52274.
7030 2004-01-10  Zoltan Varga  <vargaz@freemail.hu>
7032         * AppDomain.cs: Keep track of type resolve and assembly resolve 
7033         events in progress to prevent infinite recursion.
7035 2004-01-06  Miguel de Icaza  <miguel@ximian.com>
7037         * Console.cs: Test for UTF-8 being present anywhere on the
7038         string, also do ToUpper instead of ToLower, which will work even
7039         around the ICU bug with different locales (#52065), and addresses #52101
7041 2004-01-05  Zoltan Varga  <vargaz@freemail.hu>
7043         * Environment.cs: Bump version.
7045 2003-12-24 Ben Maurer  <bmaurer@users.sourceforge.net>
7047         * Type.cs (IsNotPublic): One would normally assume that
7048         IsNotPublic == !IsPublic, but this is not the case (note to MS,
7049         make better names ;-). Fixes #52547, `Type.IsNotPublic not 
7050         correct for Nested types'
7052 2003-12-24  Nick Drochak  <ndrochak@ieee.org>
7054         * Array.cs (CreateInstance): Throw NullRef exception like .NET 1.1, 
7055         even though docs say it should be an ArgumentNull. Sent email to MS
7056         about this "bug".
7058 2003-12-23  Lluis Sanchez Gual  <lluis@ximian.com>
7060         * Exception.cs: Several changes to make it compatible with MS.NET (needed
7061         for remoting interoperability): set a default value for hresult, added 
7062         initialization of class_name, serialization field RemoteStackTrace must
7063         be RemoteStackTraceString, added ser. field ExceptionMethod.
7065         * IndexOutOfRangeException.cs: Added serialization constructor.
7067 2003-12-22  Bernie Solomon  <bernard@ugsolutions.com>
7069         * Int32 (Parse):
7070           Int64 (Parse): Fix overflow checking for AllowHexSpecifier
7072 2003-12-20  Zoltan Varga  <vargaz@freemail.hu>
7074         * MonoType.cs (GetMethodImpl): Only call FindMostDerivedMatch if the
7075         user supplied no parameter info, but not when the user supplied an
7076         empty parameter list. This fixes IKVM.
7078         * Environment.cs: Bump corlib version.
7080 2003-12-19  Dick Porter  <dick@ximian.com>
7082         * String.cs: Added Compare shortcut for length==0.
7084 2003-12-17  Zoltan Varga  <vargaz@freemail.hu>
7086         * Environment.cs: Bump corlib version.
7088 2003-12-17  Dick Porter  <dick@ximian.com>
7090         * String.cs: Fix StartsWith and EndsWith when the argument is the
7091         empty string.  Fixes bug 52283.
7093 2003-12-16  Zoltan Varga  <vargaz@freemail.hu>
7095         * Environment.cs (HasShutdownStarted): Implement.
7097 2003-12-15  Zoltan Varga  <vargaz@freemail.hu>
7099         * Environment.cs (HasShutdownStarted): Make this static under NET 1.1.
7100         
7101         * Environment.cs: Bump version number.
7103 2003-12-15  Gonzalo Paniagua Javier <gonzalo@ximian.com>
7105         * DateTime.cs: don't bail out with that year out of range error on
7106         stuff like "MM/dd/yyyy HH:MM:ss".
7108 2003-12-13  Zoltan Varga  <vargaz@freemail.hu>
7110         * Environment.cs: Make it a const instead.
7111         
7112         * Environment.cs: Make version field static.
7114 2003-12-10  Zoltan Varga  <vargaz@freemail.hu>
7116         * Type.cs: Make DefaultBindingFlags protected.
7118         * Environment.cs: Applied patch from Todd Berman (tbermann@gentoo.org).
7119         Add new GacPath property + its associated icall.
7121 2003-12-09 Anirban Bhattacharjee <banirban@novell.com>
7123         * DateTime.cs : Bugs fixed (41845, 51422)
7124         * MonoType.cs : Exception message changed 
7126 2003-12-08  Martin Baulig  <martin@ximian.com>
7128         * Type.cs (MakeByRefType): New public method.
7130 2003-12-08  Zoltan Varga  <vargaz@freemail.hu>
7132         * Environment.cs: Add a version number for the corlib-runtime interface
7133         to make it easier to diagnose problems resulting from a mismatch 
7134         between the two.
7136 2003-12-08  Patrik Torstensson   <p@rxc.se>
7138         * Type.cs (GetMethod): Check type arguments within array
7139         * MonoType.cs (GetMethodImpl): Handle methods with a new slot
7140         (same signature but different classes (derived level)
7142 2003-12-07  Zoltan Varga  <vargaz@freemail.hu>
7144         * Type.cs (MakeArrayType): Add argument checking.
7146 2003-12-06  Dick Porter  <dick@ximian.com>
7148         * String.cs: Don't use CompareInfo for non-culture-sensitive
7149         IndexOf and LastIndexOf methods.
7151 2003-12-06  Ravindra  <rkumar@novell.com>
7153         * DateTime.cs: Made Parse(string, IFormatProvider) method to
7154         use second argument. Fixed bug #51464.
7156 2003-12-04  Martin Baulig  <martin@ximian.com>
7158         * Type.cs (Type.MakeArrayType): New public method.
7160 2003-12-04  Gonzalo Paniagua Javier <gonzalo@ximian.com>
7162         * Buffer.cs:
7163         (BlockCopy): make the exception thrown helpful.
7165 2003-12-03  Dick Porter  <dick@ximian.com>
7167         * String.cs: Calling Replace on an empty string returns itself.
7169 2003-12-03  Zoltan Varga  <vargaz@freemail.hu>
7171         * MonoType.cs: Get rid of get_type_info, use a separate icall for
7172         each property instead.
7174 2003-12-02  Dick Porter  <dick@ximian.com>
7176         * Decimal.cs: Fix NumberFormatInfo lookup.  Patch by
7177         Mohammad DAMT (mdamt@cdl2000.com), fixes bug 51443.
7179 2003-12-01  Dick Porter  <dick@ximian.com>
7181         * String.cs: Make Compare, IndexOf, LastIndexOf, StartsWith,
7182         Replace, ToLower, ToUpper and Equals use the correct CultureInfo.
7184 2003-11-28  Dick Porter  <dick@ximian.com>
7186         * Type.cs: 
7187         * MonoType.cs: 
7188         * Enum.cs: 
7189         * Boolean.cs: Do string compares with the Invariant culture.
7191 2003-11-27 Ben Maurer  <bmaurer@users.sourceforge.net>
7193         * Array.cs: make the enumerator ICloneable
7195 2003-11-27 Ben Maurer  <bmaurer@users.sourceforge.net>
7197         * Decimal.cs (ToXXX): Call Convert.ToXXX.
7199 2003-11-26  Zoltan Varga  <vargaz@freemail.hu>
7201         * AppDomain.cs: Applied patch from ztashev@openlinksw.co.uk (Zdravko Tashev). 
7202         Implement Load(byte[]) methods.
7204         * BadImageFormatException.cs: Fix ToString.
7206 2003-11-24  Zoltan Varga  <vargaz@freemail.hu>
7208         * MonoType.cs: Make Standard|HasThis match Standard in GetMethod and
7209         GetConstructor, as done by MS.
7211 2003-11-19  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
7213         * FloatingPointFormatter.cs: Removed some unused variables to prevent csc compiler warnings
7215 2003-11-18  Lluis Sanchez Gual  <lluis@ximian.com>
7217         * TypeInitializationException.cs: Added missing serialization constructor.
7219 2003-11-18  Gonzalo Paniagua Javier <gonzalo@ximian.com>
7221         * AppDomainSetup.cs: Don't add an extra '/' at the end of 
7222         ApplicationBase. The tests pass now with mono.
7224 2003-11-18  Zoltan Varga  <vargaz@freemail.hu>
7226         * ValueType.cs: New optimized implementation for Equals and GetHashCode.
7228 2003-11-15  Gonzalo Paniagua Javier <gonzalo@ximian.com>
7230         * Environment.cs: use Directory in CurrentDirectory property.
7231         We were not throwing any exception when setting the directory to an
7232         invalid path.
7234 2003-11-14  Gonzalo Paniagua Javier <gonzalo@ximian.com>
7236         * Array.cs:
7237         * Delegate.cs: implemented 1.1 stuff.
7239         * Enum.cs:
7240         * IntPtr.cs: removed extra attribute.
7241         * PlatformID.cs: added WinCE.
7243 2003-11-14  Gonzalo Paniagua Javier <gonzalo@ximian.com>
7245         * ValueType.cs:
7246         (Equals): compare the fields of structs too.
7247         (GetHashCode): combine the hash code of all the fields.
7248         Fixes bug #50901 (will remove the icall in a couple of days).
7250 2003-11-14  Gonzalo Paniagua Javier <gonzalo@ximian.com>
7252         * Array.cs: fixed Clear for non-zero bounded arrays. Fixes bug #50968.
7254 2003-11-14  Gonzalo Paniagua Javier <gonzalo@ximian.com>
7256         * DateTime.cs: handle century when we try to parse 4-digit years and
7257         only 2 digits are present. Fixes bug #49394.
7259 2003-11-13  Miguel de Icaza  <miguel@ximian.com>
7261         * Console.cs: On utf-8 consoles, use unmarked output.
7263 2003-11-13  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
7265         * IAppDomainSetup.cs:
7266         * _AppDomain.cs: 
7267         * Object.cs:
7268         * Type.cs: Added missing attribute
7270 2003-11-12 Lluis Sanchez Gual <lluis@ximian.com>
7272         * Environment.cs: Added internal method for getting the path to 
7273         machine.config.
7274         
7275 2003-11-12 Jackson Harper <jackson@ximian.com>
7277         * Environment.cs: Add MyMusic and MyPictures to the SpecialFolder
7278         enum. This fixes the SWF build.
7279         
7280 2003-11-12  Miguel de Icaza  <miguel@ximian.com>
7282         * PlatformID.cs: Remove Unix platform, we cant expose constants
7283         that are not in the framework.
7285         * OperatingSystem.cs: Adjust for the breakage.
7287         * RuntimeMethodHandle.cs: Fix signature.
7289         * Double.cs: Fix signature of TryParse.
7291         * String.cs (Concat (object, object, object, object)): Add missing method.
7293         * OperatingSystem.cs: Removed Equals, GetHashCode, they were not
7294         in the .NET Framework.
7296         * Enum.cs: Hide constructor.  
7298         Fix ToUint16 to be explicitly implemented.
7300         * Console.cs: Add couple of extra missing methods (Write and
7301         WriteLine overloaded)
7303 2003-11-11  Miguel de Icaza  <miguel@ximian.com>
7305         * AppDomain.cs, Activator.cs: New unimplmented entry points from
7306         1.1 (Com activation related).
7307         
7308         * Exception.cs: Formatting.
7309         
7310         * IServiceProvider.cs: Add ComVisible (true).
7312         * AppDomainSetup.cs: Add a couple more properties from .NET 1.1 
7314 2003-11-03  Lluis Sanchez Gual <lluis@ximian.com>
7316         * AppDomain.cs: Added some null checks in Load methods. This fixes bug
7317           #50356.
7319 2003-11-01  Zoltan Varga  <vargaz@freemail.hu>
7321         * AppDomain.cs: Make the SetDomain icalls private + call InternalInvoke
7322         on MonoMethod instead of Invoke.
7324 2003-11-01  Pedro Martínez Juliá  <yoros@wanadoo.es>
7326         * DateTime.cs: Fixed Add* methods handling. Now it works properly
7327         with extreme values (there is a bug with Overflow and Underflow in
7328         long type).
7330 2003-10-31  Pedro Martínez Juliá  <yoros@wanadoo.es>
7332         * DateTime.cs: Fixed a few format bugs.
7334 2003-10-31  Zoltan Varga  <vargaz@freemail.hu>
7336         * AppDomain.cs (InternalPushDomainRef): New icalls.
7338         * AppDomain.cs (InvokeInDomain): New method to execute code in a 
7339         different appdomain.
7341 2003-10-27  Zoltan Varga  <vargaz@freemail.hu>
7343         * AppDomain.cs: Fix prototype of InternalIsFinalizingForUnload.
7345 2003-10-25  Zoltan Varga  <vargaz@freemail.hu>
7347         * AppDomain.cs (IsFinalizingForUnload): Implement.
7349         * AppDomain.cs (Unload): Move the notification of OnUnload listeners
7350         to unmanaged code.
7352 2003-10-25  Martin Baulig  <martin@ximian.com>
7354         * MonoType.cs: Don't make this sealed.
7356 2003-10-24  Zoltan Varga  <vargaz@freemail.hu>
7358         * AppDomain.cs: Add InternalInvokeInDomain[ByID] icalls.
7360 2003-10-24  Pedro Martínez Juliá  <yoros@wanadoo.es>
7362         * DateTime.cs: When handling '-' as a date separator, MS.NET uses
7363         the same symbol in the parse (not DateTimeFormatInfo.DateSeparator).
7365 2003-10-22  Dick Porter  <dick@ximian.com>
7367         * DateTime.cs: Handle '-' as a date separator when parsing formats.
7369 2003-10-20  Duncan Mak  <duncan@ximian.com>
7371         * Delegate.cs (CreateDelegate): Avoid creating an extra Type array
7372         and merge the two iterations into one.
7374 2003-10-15  Zoltan Varga  <vargaz@freemail.hu>
7376         * TypedReference.cs: Add new field used by the runtime.
7378 2003-10-15  Martin Baulig  <martin@ximian.com>
7380         * Type.cs (Type.DeclaringMethod): For a generic method's type
7381         parameter, return this method - otherwise, return null.
7383 2003-10-14  Martin Baulig  <martin@ximian.com>
7385         The generics API has changed in the spec since it was added here;
7386         these modifications make it match the spec again.
7388         * Type.cs
7389         (GetGenericParameters): Renamed to `GetGenericArguments'.
7390         (HasGenericParameters): Renamed to `HasGenericArguments'.
7391         (HasUnboundGenericParameters): Renamed to `ContainsGenericParameters'.
7392         (IsGenericTypeDefinition): New property.
7393         (IsUnboundGenericParameter): Renamed to `IsGenericParameter'.
7395         * MonoType.cs (ContainsGenericParameters): Implement this here;
7396         this is no interncall anymore.
7398 2003-10-14  Gonzalo Paniagua Javier <gonzalo@ximian.com>
7400         * Delegate.cs: add the method name to the exception when it cannot be
7401         bound.
7402         * Exception.cs: fix nullref in Source.
7404 2003-10-10  Zoltan Varga  <vargaz@freemail.hu>
7406         * Array.cs: Add argument checking to GetValue and SetValue.
7408 2003-10-09  Miguel de Icaza  <miguel@ximian.com>
7410         * DateTime.cs: Patch from Chris Turchin: the DateTime.MaxValue
7411         should not be TimeSpan.MaxValue, because it overflow.  Set this to
7412         be MAX_VALUE_TICKS
7414 2003-10-09  Gonzalo Paniagua Javier <gonzalo@ximian.com>
7416         * MonoCustomAttrs.cs: from_cache is now thread-safe. Yeah, I got a
7417         duplicate entry exception.
7419 2003-10-08 Ben Maurer  <bmaurer@users.sourceforge.net>
7421         * DateTime.cs (ToString): Total rewrite, fixes #49358.
7423 2003-10-03  Zoltan Varga  <vargaz@freemail.hu>
7425         * AppDomain.cs: Change accessibility of DoTypeResolve to fix build.
7427 2003-10-03  Gonzalo Paniagua Javier <gonzalo@ximian.com>
7429         * Enum.cs:
7430         (Equals): check that the object is an Enum before comparing the types.
7432 2003-09-30  Gonzalo Paniagua Javier <gonzalo@ximian.com>
7434         * Array.cs: reduced xsp allocated memory by 1/2.
7436 2003-09-25  Martin Baulig  <martin@ximian.com>
7438         * Type.cs (Type.IsGenericTypeDefinition): Removed this method
7439         since it was identical to GetGenericTypeDefinition().
7440         (Type.IsGenericInstance): New property.
7442 2003-09-24  Duncan Mak  <duncan@ximian.com>
7444         * Math.cs (Abs): Fix double Locale.GetText bug reported by
7445         davejp@volny.cz. This fixes #48788.
7447 2003-09-14  Pedro Martínez Juliá  <yoros@wanadoo.es>
7449         * FloatingPointFormatter.cs: Add the necessary castings to char
7450         conversions.
7452 2003-09-13  Pedro Martínez Juliá  <yoros@wanadoo.es>
7454         * FloatingPointFormatter.cs: Make the method calls more functional
7455         for protecting the values from different threads (make it more
7456         thread safe).
7458 2003-09-13  Pedro Martínez Juliá  <yoros@wanadoo.es>
7460         * FloatingPointFormatter.cs: Fix a bug with the negative value of
7461         count parameter.
7463 2003-09-12  Pedro Martínez Juliá  <yoros@wanadoo.es>
7465         * FloatingPointFormatter.cs: Applied a lot of improvements in string
7466         construction, make use of Append/Insert with the "count" parameter.
7467     Thanks to Ben Maurer.
7469 2003-09-10  Pedro Martínez Juliá  <yoros@wanadoo.es>
7471         * FloatingPointFormatter.cs: Fix a bug with Custm Format.
7473         * FloatingPointFormatter.cs: Fix a little bug I've introduced the
7474         last change.
7476 2003-09-10  Pedro Martínez Juliá  <yoros@wanadoo.es>
7478         * DoubleFormatter.cs: A few optimizations. Now, only one object
7479         is created to convert all double numbers.
7481         * SingleFormatter.cs: A few optimizations. Now, only one object
7482         is created to convert all float numbers.
7484         * FloatingPointFormatter.cs: Split the "number type parameters" from
7485         the "numver value and format parameters". The first ones are in the
7486         constructor and the others are in a method.
7488 2003-09-09  Zoltan Varga  <vargaz@freemail.hu>
7490         * Array.cs: Added argument checking to some NET_1_1 methods.
7492 2003-09-04  Martin Baulig  <martin@ximian.com>
7494         * Type.cs (GetGenericTypeDefinition): Make this method virtual.
7496 2003-08-27  Gonzalo Paniagua Javier <gonzalo@ximian.com>
7498         * Array.cs: added the new overloaded CreateInstance, GetValue, SetValue
7499         taking 'longs'. All tests pass.
7501 2003-08-26 Ben Maurer  <bmaurer@users.sourceforge.net>
7503         * Exception.cs: Add ClassInterface attr. Implement TargetSite and
7504         Source. Remove MonoTODO attributes (class is 100% done). Also
7505         passes all Rotor tests for Exception!
7507 2003-08-26 Ben Maurer  <bmaurer@users.sourceforge.net>
7509         * Enum.cs: Remove [MonoTODO]'s that had been completed.
7511 2003-08-22  Gonzalo Paniagua Javier <gonzalo@ximian.com>
7513         * String.cs: fixed bug #47802.
7515 2003-08-21 Ben Maurer  <bmaurer@users.sourceforge.net>
7517         * String.cs: Created method FormatHelper that does formatting,
7518         using a StringBuilder.
7520 2003-08-20  Gonzalo Paniagua Javier <gonzalo@ximian.com>
7522         * Array.cs: patch by lb@lb.ods.org that fixes bug #47707.
7524 2003-08-11  Gonzalo Paniagua Javier <gonzalo@ximian.com>
7526         * Delegate.cs: CreteDelegate (Type, MethodInfo) only supports static
7527         methods under MS.
7529 2003-08-11  Duncan Mak  <duncan@ximian.com>
7531         * Environment.cs (Version): Return the same numbers as the MS
7532         implementation.
7534 2003-08-10  Miguel de Icaza  <miguel@ximian.com>
7536         * Array.cs: Applied patch from Thong (Tum) Nguyen;  Removed
7537         replicated tests, and have a routine that does the heavy lifting.
7539 2003-08-08  Lluis Sanchez Gual <lluis@ximian.com>
7541         * DateTime.cs: Fixed DoParse. It was calling the wrong constructor
7542           of DateTime.
7543         * Environment.cs: return $HOME for ApplicationData folder.
7545 2003-08-04  Duncan Mak  <duncan@ximian.com>
7547         * FloatingPointFormatter.cs (Normalize): Apply a patch from Aleksey
7548         Demakov <avd@openlinksw.com> to fix formatting for Big power of 10
7549         floating point values. This fixes bug #46175.
7551         * Convert.cs (ToUInt16): Throw an OverflowException correctly, as
7552         noted by c5n4kh6u02@sneakemail.com in
7553         http://bugzilla.ximian.com/show_bug.cgi?id=43098.
7555 Sat Aug  2 13:01:46 BST 2003 Malte Hildingson <malte@amy.udd.htu.se>
7557         * Double.cs: added icall Double.AssertEndianity.
7559 Fri Aug 1 16:47:17 CEST 2003 Paolo Molaro <lupus@ximian.com>
7561         * Type.cs, MonoType.cs: implemented generic-specific methods.
7563 2003-07-29  Miguel de Icaza  <miguel@ximian.com>
7565         * Buffer.cs: Add new internal MemCopy call.
7567         Removed the above.
7569 Tue Jul 29 12:13:16 CEST 2003 Paolo Molaro <lupus@ximian.com>
7571         * Type.cs, MonoType.cs, ArgIterator.cs: pass the handles values
7572         to icalls, to avoid special cases in some call conventions.
7574 2003-07-26  Gonzalo Paniagua Javier <gonzalo@ximian.com>
7576         * Enum.cs: added Serializable attribute.
7578 2003-07-25  Duncan Mak  <duncan@ximian.com>
7580         * AppDomain.cs (Equals):
7581         (GetHashCode): Removed because they do not need to be defined
7582         here.
7584 2003-07-24  Gonzalo Paniagua Javier <gonzalo@ximian.com>
7586         * TypeLoadException.cs: removed unused fields. TypeName returns "" if
7587         cannot even get the type.
7589 2003-07-24  Miguel de Icaza  <miguel@ximian.com>
7591         * Type.cs: Added generics stubs.
7593 2003-07-23  Duncan Mak  <duncan@ximian.com>
7595         * Environment.cs (SpecialFolder): Added 'Desktop' and 'MyComputer'
7596         as values for NET_1_1.
7597         (GetFolderPath): Return the empty string ("") for values of
7598         SpecialFolder that have no corresponding equivalents in
7599         Linux. Return "$HOME/Desktop" for SpecialFolder.DesktopDirectory
7600         and "$HOME" for SpecialFolder.Personal.
7602         * IntPtr.cs (GetObjectData): Mark it as an interface
7603         implementation, instead of a public method.
7605         * Guid.cs (NewGuid): Remove MonoTODOAttribute.
7607         * TypeLoadException.cs (GetObjectData):
7608         Create stubs for the fields that are being serialized.
7610         * UIntPtr.cs: Removed erroneous CLSCompliantAttributes.
7612 2003-07-23  Lluis Sanchez Gual <lluis@ximian.com>
7613         
7614         * Enum.cs: Fixed enum formatting. For flag enums, if one of
7615           the flags is unnamed, ToString() returns the integer value.
7617 2003-07-22  Jerome Laban <jlaban@wanadoo.fr>
7619         * Guid.cs: Fixed ToString (), was producing incorrect string.
7621 2003-07-20  Gonzalo Paniagua Javier <gonzalo@ximian.com>
7623         * AppDomainSetup.cs: fixed bug #46609.
7625 Thu Jul 17 17:28:27 CEST 2003 Paolo Molaro <lupus@ximian.com>
7627         * MonoType.cs: use an icall for IsPrimitiveImpl ().
7629 Thu Jul 17 15:23:17 CEST 2003 Paolo Molaro <lupus@ximian.com>
7631         * Guid.cs: faster ToString ().
7633 2003-07-15  Pedro Martínez Juliá  <yoros@wanadoo.es>
7635         * FloatingPointFormatter.cs: Few changes for get working Rotor
7636         tests.
7638 2003-07-13  Zoltan Varga  <vargaz@freemail.hu>
7640         * Type.cs (IsAssignableFrom): Implement this as an icall since the
7641         runtime already includes the neccessary logic.
7643 2003-07-06  Gonzalo Paniagua Javier <gonzalo@ximian.com>
7645         * AppDomainSetup.cs: remove the "file://" prefix from ApplicationBase
7646         if it's present and get the full path for non-Uri paths.
7648 2003-07-2  Lluis Sanchez Gual <lluis@ximian.com>
7650         * DateTime.cs: Fixed formatting of fractions of second.
7652 2003-06-30  Zoltan Varga  <vargaz@freemail.hu>
7654         * Console.cs: Turn off buffering for the streams returned by
7655         OpenStandardOutput () and OpenStandardError () if the buffer size is 0.
7657 2003-06-28  Lluis Sanchez Gual <lluis@ximian.com>
7659         * Random.cs: Changed behavior of Random to match MS.NET. When Next is
7660           called with maxvalue==0 or minvalue==maxvalue, MS.NET internally generates
7661           a new random number (although it is not needed), while mono did not. 
7662           As a result, the sequence of random numbers could be different for the
7663           same seed.
7665 Thu Jun 26 16:06:35 CEST 2003 Paolo Molaro <lupus@ximian.com>
7667         * FloatingPointFormatter.cs: use dec_len2 as default precision.
7669 2003-06-26  Lluis Sanchez Gual <lluis@ximian.com>
7671         * DateTime.cs: Modified constructor. Check for valid value of TimeSpan must
7672           be done after the correspondig UTC offset has been applied.
7674 2003-06-26  Lluis Sanchez Gual <lluis@ximian.com>
7676         * Object.cs: Object must have the Serializable attribute.
7677         * DateTime.cs: Fixed _DoParse() so it correctly applies the utc offset
7678           to the resulting date. Also fixed _ToString so now correctly formates the
7679           UTC offset.
7681 Wed Jun 18 19:22:22 CEST 2003 Paolo Molaro <lupus@ximian.com>
7683         * Enum.cs: fix race in cache (bug#41841).
7685 Wed Jun 18 18:52:11 CEST 2003 Paolo Molaro <lupus@ximian.com>
7687         * FloatingPointFormatter.cs: if the precision is not specified, use
7688         the default precision for the data type.
7690 Wed Jun 18 18:11:30 CEST 2003 Paolo Molaro <lupus@ximian.com>
7692         * Array.cs: throw ArgumentOutOfRangeException in Copy if needed
7693         (patch by tum@veridicus.com (Thong (Tum) Nguyen)).
7695 2003-06-11  Gonzalo Paniagua Javier <gonzalo@ximian.com>
7697         * MonoType.cs: don't throw nullref when the return type for a property
7698         is specified and the property doesn't have a get accessor.
7700 2003-06-10  Duncan Mak  <duncan@ximian.com>
7702         * Array.cs (CreateInstance): Fixed a typo. It should throw
7703         ArgumentNullException instead of ArgumentException.
7705 2003-06-09  Duncan Mak  <duncan@ximian.com>
7707         * Array.cs: Revert the last revert. I fixed it.
7708         (Sort): Put a try-catch block around qsort, and wrap whatever
7709         Exception we get into a InvalidOperationException.
7711 2003-06-08 Jackson Harper <jackson@latitudegeo.com>
7713         * Array.cs: Revert last patch, it broke some other functionality.
7714                 
7715 2003-06-08  Duncan Mak  <duncan@ximian.com>
7717         * Array.cs: Throw more exceptions. This fixes the errors we see
7718         from the Rotor testsuite.
7720         (CreateInstance): Throw ArgumentNullException when the input are
7721         null. Throw ArgumentOutOfRangeException when bounds + length is
7722         greater than Int32.MaxValue.
7723         (LastIndexOf): Throw ArgumentOutOfRangeException if index is outside
7724         the valid range of indices of array.
7725         (Sort): Throw InvalidOperationException when comparer is null and
7726         none of the elements in keys implements IComparable.
7728 2003-06-08  Duncan Mak  <duncan@ximian.com>
7730         * Array.cs (CreateInstance): Throw a TypeLoadException if the
7731         Length of the input array 'lengths' is greater than 255 so that we
7732         won't see the g_assert that is in mono_array_class_get in class.c.
7734         This fixes bug #44304.
7736 2003-06-05  Nick Drochak  <ndrochak@gol.com>
7738         * UnitySerializataionHolder.cs: Cleanups according to class status page
7740 Wed Jun 4 16:59:39 CEST 2003 Paolo Molaro <lupus@ximian.com>
7742         * ArgIterator.cs, TypedReference.cs, RuntimeArgumentHandle.cs,
7743         RuntimeTypeHandle.cs: implemented the needed stuff to handle
7744         vararg calls.
7746 2003-06-02  Sebastien Pouliot  <spouliot@videotron.ca>
7748         * Random.cs: New implementation based on Knuth ran3 to fix #43597.
7749         See http://www.library.cornell.edu/nr/bookcpdf/c7-1.pdf. Commited
7750         for Ben Maurer after review and testing.
7752 2003-05-28  Ben Maurer <bmaurer@users.sourceforge.net>
7753         
7754         * Array.cs: Added better argument checking to Array.Sort ()
7755         * DBNull.cs: Made the conversions throw like they do in MS.
7757 2003-05-24  Philip Van Hoof  <me@freax.org>
7759         * Math.cs: Add the MS.NET 1.1 methods (BigMul, DivRem, DivRem).
7761 2003-05-21  Pedro Martínez Juliá  <yoros@wanadoo.es>
7763         * FloatingPointFormatter.cs: Take care with the explicit precision
7764         and round the number to that precision.
7766         * DoubleFormatter.cs: Adapt to the two level precision (15 - 17).
7768         * SingleFormatter.cs: Adapt to the two level precision (7 - 8).
7770 2003-05-20  Philip Van Hoof <me@freax.org>
7772         * DateTime.cs (FromOADate, GetDateTimeFormats, ToOADate):
7773         Implemented.
7775 2003-05-20  Zoltan Varga  <vargaz@freemail.hu>
7777         * AppDomainSetup.cs: Added new field which is used to notify the
7778         runtime that the search path has changed.
7780 2003-05-18  Pedro Martínez Juliá  <yoros@wanadoo.es>
7782         * FloatingPointFormatter.cs: Fixed NullReferenceException bug I've
7783         introduced the last change I've done.
7785 2003-05-17  Ben Maurer  <bmaurer@users.sourceforge.net>
7787         * Array.cs: Fixed SyncRoot to behave like MS (return this). Removed 
7788         MonoTODO from SyncRoot (because fixed) and IsSynchronized (it was
7789         behaving correctly).
7790         
7791 2003-05-17  Pedro Martínez Juliá  <yoros@wanadoo.es>
7793         * FloatingPointFormatter.cs: Fixed little format mismatches.
7795 2003-05-16  Pedro Martínez Juliá  <yoros@wanadoo.es>
7797         * FloatingPointFormatter.cs: Fixed "-0" result emited.
7799 2003-05-13  Gonzalo Paniagua Javier <gonzalo@ximian.com>
7801         * AppDomain.cs: Added null argument check in Load().
7802         * Activator.cs: fixed bug #39926.
7804 2003-05-13  Gonzalo Paniagua Javier <gonzalo@ximian.com>
7806         * Enum.cs: fixed bugs #41522 and #42879.
7808 2003-05-12  Zoltan Varga  <vargaz@freemail.hu>
7810         * String.cs: Tweak IndexOf and LastIndexOf to match specification and
7811         undocumented MS behaviour.
7813 2003-05-10  Gonzalo Paniagua Javier <gonzalo@ximian.com>
7815         * Activator.cs: applied patch for bug #39926. Thanks to Jean Marc and
7816         Jaime.
7818 2003-05-10  Gonzalo Paniagua Javier <gonzalo@ximian.com>
7820         * String.cs: fixed bug #41411 and another similar problem in
7821         LastIndexOf (string).
7823 2003-05-10  Gonzalo Paniagua Javier <gonzalo@ximian.com>
7825         * String.cs: patch by Jean Marc <jean-marc.andre@polymtl.ca> that fixes
7826         bug #42695.
7828 2003-05-09  Zoltan Varga  <vargaz@freemail.hu>
7830         * MulticastDelegate.cs (GetInvocationList): Avoid ArrayList 
7831         construction if the delegate list only has one element.
7833 2003-05-01  Pedro Martínez Juliá  <yoros@wanadoo.es>
7835         * Environment.cs: Changed the method GetFolderPath because it must
7836         return at least a directory name (not null).
7838         * Convert.cs: In ToType, if the destination type is unknown, try to
7839         cast the value to object (then, the calling method will downcast it
7840         to the type it wants).
7842 2003-04-30  Gonzalo Paniagua Javier <gonzalo@ximian.com>
7844         * Enum.cs: fixed bug #41522.
7846 Tue Apr 29 13:58:16 CEST 2003 Paolo Molaro <lupus@ximian.com>
7848         * Enum.cs: protect with the lock also the lookup (bug #41841).
7850 Tue Apr 29 13:24:32 CEST 2003 Paolo Molaro <lupus@ximian.com>
7852         * MonoType.cs: allow a null name if InvokeMember is called with
7853         BindingFlags.CreateInstance set.
7855 2003-04-28  Gonzalo Paniagua Javier <gonzalo@ximian.com>
7857         * Enum.cs: reverted my previous patch.
7859 2003-04-27  Gonzalo Paniagua Javier <gonzalo@ximian.com>
7861         * Enum.cs: fixed bug #41841.
7863 2003-04-26  Gonzalo Paniagua Javier <gonzalo@ximian.com>
7865         * MonoType.cs:
7866         (GetPropertyImpl): handle BindingFlags.IgnoreCase.
7868 2003-04-22  Pedro Martínez Juliá  <yoros@wanadoo.es>
7870         * FloatingPointFormatter.cs: Little fixes for get the same results
7871         as MS.NET and show a message when something goes wrong with the
7872         parser of Custom Formats.
7874 2003-04-22  Nick Drochak  <ndrochak@gol.com>
7876         * Double.cs (ToString):
7877         * Single.cs (ToString): Handle case where param is a CultureInfo.
7879 2003-04-18  Zoltan Varga  <vargaz@freemail.hu>
7881         * Object.cs ValueType.cs: Make the Object::GetHashCode() and 
7882         ValueType::Equals() icalls static non-virtual, so they can be called
7883         by the code in RuntimeHelpers.
7885 2003-04-18  Miguel de Icaza  <miguel@ximian.com>
7887         * Delegate.cs (operator ==): Do not crash if the second argument
7888         is null.  Bug fix submitted by Juan Cri.
7890 2003-04-18  Eduardo Garcia Cebollero <kiwnix@yahoo.es>
7892         * Array.cs: Deleted the exception in Array.Initialize(), it looks
7893         like the method do nothing for C#, is still a MonoTODO until
7894         we find a compiler that uses that.
7896 2003-04-14  Miguel de Icaza  <miguel@ximian.com>
7898         * Delegate.cs (Delegate): Seems like a typo, we were checking the
7899         a field rather than the argument 
7901         * MonoType.cs: Make GetNestedType an external method implementation.
7903 2003-04-13  Gonzalo Paniagua Javier <gonzalo@ximian.com>
7905         * Enum.cs: fixed bug #41294.
7907 2003-04-12  Gonzalo Paniagua Javier <gonzalo@ximian.com>
7909         * DateTime.cs: fixes bug #40910, part 2.
7911 2003-04-11  Dietmar Maurer  <dietmar@ximian.com>
7913         * String.cs (Equals): avoid the internal call, code cleanups
7915 2003-04-11  Alan Tam <Tam@SiuLung.com>
7917         * Convert.cs: fixed bug #41085.
7919 2003-04-10  Lluis Sanchez Gual <lluis@ideary.com>
7921         * AppDomain.cs: Added internal method for getting process guid.
7923 2003-04-09  Ville Palo <vi64pa@kolumbus.fi>
7925         * Array.cs: Little fix to compare () method.
7926         
7927 2003-04-09  Zoltan Varga  <vargaz@freemail.hu>
7929         * String.cs (Equals): Add trivial optimization.
7931 2003-04-08  Gonzalo Paniagua Javier <gonzalo@ximian.com>
7933         * DateTime.cs: fixed bug #40910.
7935 2003-04-05  Miguel de Icaza  <miguel@ximian.com>
7937         * Console.cs: Make stderr, stdout and stdin use synchronized
7938         versions of the their readers/writers.
7940 2003-04-04  Dick Porter  <dick@ximian.com>
7942         * Version.cs: Make operator== and operator!= cope with null
7943         objects.  Didn't change operator<, operator<=, operator> or
7944         operator>= because its not meaningful to use those to compare
7945         against null, and throwing a NullReferenceException is probably
7946         the best thing to do there anyway.
7948         Fixes bug 40720.
7950 2003-04-02  Gonzalo Paniagua Javier <gonzalo@ximian.com>
7952         * AppDomain.cs: fixed InvalidCastException.
7954 2003-03-30  Zoltan Varga  <vargaz@freemail.hu>
7956         * Array.cs (Copy): Call FastCopy() earlier to avoid the expensive
7957         type checks and let it decide whenever a fast copy is possible.
7959 2003-03-26  Gonzalo Paniagua Javier <gonzalo@ximian.com>
7961         * MonoType.cs:
7962         (GetMethodImpl): support BindingFlags.IgnoreCase flag. Fixes bug #40322.
7964 2003-03-25  Zoltan Varga  <vargaz@freemail.hu>
7966         * Activator.cs (CreateInstance): Call GetConstructor with the right
7967         arguments so the nonPublic argument is handled correctly.
7969 2003-03-25  Gonzalo Paniagua Javier <gonzalo@ximian.com>
7971         * Type.cs: fixed bug #40123.
7973 2003-03-22  Pedro Martínez Juliá  <yoros@wanadoo.es>
7975         * FloatingPointFormatter.cs: Fixed some bugs for get the same
7976         results than MS.NET. Added simple error recovering, now ToString
7977         will return a general format if there is any exception in the
7978         process of formatting. This make the library more robust while the
7979         formatters are refined.
7981 2003-03-16  Pedro Martínez Juliá  <yoros@wanadoo.es>
7983         * FloatingPointFormatter.cs: Added support for group separators.
7985 2003-03-16  Pedro Martínez Juliá  <yoros@wanadoo.es>
7987         * Single.cs:
7988         * Double.cs: Apply changes of .ToString methods.
7989         * SingleFormatter.cs:
7990         * DoubleFormatter.cs: Simple wrappers to FloatingPointFormatter.
7991         * FloatingPointFormatter.cs: New class. Implementation of double and
7992         single formatters. It is unified now and parametrized with precission
7993         values.
7995 2003-03-15  Lluis Sanchez Gual <lluis@ideary.com>
7997         * AppDomain.cs: fixes bugs #39380 and #39331.
7999 2003-03-06  Nick Drochak  <ndrochak@gol.com>
8001         * TimeSpan.cs (Negate): Throw exception when value is MinValue.
8003 2003-03-04  Dick Porter  <dick@ximian.com>
8005         * Single.cs:
8006         * Double.cs: Temporarily reverted the Double and Single ToString()
8007         change, because it broke nunit.
8010 2003-03-04  Pedro Martínez Juliá  <yoros@wanadoo.es>
8012         * Double.cs: Changed ToString method. Added NumberFormatInfo support
8013         with DoubleFormatter class.
8014         * Single.cs: Changed ToString method. Added NumberFormatInfo support
8015         with SingleFormatter class.
8016         * DoubleFormatter.cs: New class with Double formatting functions.
8017         * SingleFormatter.cs: New class with Single formatting functions.
8019 2003-03-03  Lluis Sanchez Gual <lluis@ideary.com>
8021         * Activator.cs: Added support for activation using activation attributes.
8022         * AppDomain.cs: Added internal method to get the default context from the runtime.
8024 2003-02-28  Elan Feingold  <efeingold@mn.rr.com>
8026         * DateTime.cs: FileTime is expressed in Universal time, and as such must
8027         be converted before subtracting the magic offset.
8028         * DateTime.cs: Strings in the format "2003-02-27T10:05:03-11:00" (note
8029         the timezone at the end) *must* be parsed by DateTime.Parse() for
8030         compatibility with Microsoft.
8032 2003-02-24  Gonzalo Paniagua Javier <gonzalo@ximian.com>
8034         * Attribute.cs:
8035         * MonoCustomAttrs.cs: fix for the regression test failure (see bug
8036         #38238).
8038         * IntPtr.cs: added serialization .ctor
8040 2003-02-19  Gonzalo Paniagua Javier <gonzalo@ximian.com>
8042         * AppDomain.cs: check for null in Unload and changed method name.
8044 2003-02-18  Gonzalo Paniagua Javier <gonzalo@ximian.com>
8046         * MonoCustomAttrs.cs: fixed bug #38238.
8048 2003-02-17  Martin Baulig  <martin@ximian.com>
8050         * Exception.cs (Exception.ToString): Print a newline between the
8051         exception message and the stack trace.
8053 2003-02-17  Gonzalo Paniagua Javier <gonzalo@ximian.com>
8055         * AppDomain.cs: implemented GetCurrentThreadId ().
8057 2003-02-14  Patrik Torstensson
8059         * Exception.cs: Fixed message output formating
8061 2003-02-14  Gonzalo Paniagua Javier <gonzalo@ximian.com>
8063         * Int32.cs:
8064         (Parse): ignore everything after a \0 (MS parses: "512\0hola" as 512).
8066 2003-02-12  Miguel de Icaza  <miguel@ximian.com>
8068         * Type.cs: IsClass should return false for Enumerations
8070 2003-02-11  Gonzalo Paniagua Javier <gonzalo@ximian.com>
8072         * MonoCustomAttrs.cs: return the correct array type in the short case.
8073         Fixes bug #37818.
8075 2003-02-08  Pedro Martíenz Juliá  <yoros@wanadoo.es>
8077         * Math.cs: Fix a few methods (like Round) and add with comments the
8078         new methods: BigMul and DivRem that were in ECMA specs.
8080 2003-02-07  Patrik Torstensson
8082         * Exception.cs: Fixed formating
8084 2003-02-05  Patrik Torstensson
8086         * AppDomain.cs: Partly fixed the unload method 
8087         
8088 2003-02-04  Patrik Torstensson
8090         * AppDomain.cs: Fixed lease issue with appdomain
8092 2003-02-04  Lluis Sanchez Gual <lluis@ideary.com>
8094         * MarshalByRefObject.cs: Implemented GetLifetimeService() and 
8095           InitializeLifetimeService().
8097 2003-02-03  Patrik Torstensson
8099         * AppDomain.cs: New internalcalls for handling domain/context switches
8100         * AppDomain.cs (CreateDomain): Return transparant proxy for appdomain object
8102 2003-02-03  Gonzalo Paniagua Javier <gonzalo@ximian.com>
8104         * AppDomain.cs: implemented AppendPrivatePath, ClearPrivatePath
8105         and ClearShadowCopyPath and fixed GetType ().
8107         * Attribute.cs: clean up.
8109         * Console.cs: removed UnixConsoleEncoding. Use Default.
8111 2003-02-01  Gonzalo Paniagua Javier <gonzalo@ximian.com>
8113         * Attribute.cs: fixed all IsDefined overloads. Gotta fix
8114         GetCustomAttributes later.
8116 2003-01-31  Patrik Torstensson
8118         * Buffer.cs: Changed access level of BlockCopyInternal
8120 Thu Jan 30 19:54:30 CET 2003 Paolo Molaro <lupus@ximian.com>
8122         * String.cs, IntegerFormatter.cs: use const where appropriate.
8124 2003-01-30  Gonzalo Paniagua Javier <gonzalo@ximian.com>
8126         * MonoCustomAttrs.cs: fixed GetBase () for Type. Thanks to Zoltan for
8127         reporting.
8129 2003-01-30  Gonzalo Paniagua Javier <gonzalo@ximian.com>
8131         * MonoCustomAttrs.cs: fixed shortcut in GetCustomAttributes.
8132         The argument ICustomAttributeProvider can be of other types different
8133         from Type. Handle it.
8135 2003-01-28  Zoltan Varga  <vargaz@freemail.hu>
8137         * DateTime.cs: fix FromFileTime so the time returned by 
8138         File::GetLastModificationTime etc. is in the correct timezone.
8140 2003-01-28  Patrik Torstensson
8141         * Exception.cs: reverted formating/endline changes (sorry guys)
8143 2003-01-28  Patrik Torstensson
8145         * MarshalByRefObject.cs: implemented GetObjectIdentity
8146         * Exception.cs: added support for remote exceptions
8148 2003-01-28  Gonzalo Paniagua Javier <gonzalo@ximian.com>
8150         * DateTime.cs: fixed bug #37225.
8152 2003-01-27  Gonzalo Paniagua Javier <gonzalo@ximian.com>
8154         * Enum.cs: Clone the arrays in GetNames and GetValues. Thanks lupus!
8156 2003-01-27  Zoltan Varga  <vargaz@freemail.hu>
8158         * AppDomain.cs: Added DoTypeResolve method which will be called by
8159         the runtime to raise TypeResolve events.
8161 2003-01-27  Duncan Mak  <duncan@ximian.com>
8163         * Enum.cs (ToType): Implement this using Convert.ToType.
8165 2003-01-21  Miguel de Icaza  <miguel@ximian.com>
8167         * Math.cs: Remove Pow's implementation body as it was wrong.  The
8168         C code does the right thing.  The code was trying to handle a
8169         number of cases, and that was incorrect.
8171 2003-01-24  Gonzalo Paniagua Javier <gonzalo@ximian.com>
8173         * CharEnumerator.cs: fix to Current by crainaj@hotmail.com. Closes
8174         bug #37113.
8176 2003-01-24  Gonzalo Paniagua Javier <gonzalo@ximian.com>
8178         * Enum.cs: added caching to GetInfo.
8180 2003-01-23  Dick Porter  <dick@ximian.com>
8182         * Environment.cs (System): Implemented ExitCode
8184 2003-01-23  Zoltan Varga  <vargaz@freemail.hu>
8186         * Type.cs (IsInstanceOfType): fixed regression caused by the change
8187         to IsSubclassOf().
8189 2003-01-17  Gonzalo Paniagua Javier <gonzalo@ximian.com>
8191         * MonoType.cs: re-added lines that were removed in the previous commit.
8193 2003-01-16  Lluis Sanchez Gual <lsg@ctv.es>
8195         * Type.cs: corrected property IsSerializable. It should always return
8196         true for enums and delegates
8197         * MonoType.cs: added serialization support.
8198         * Delegate.cs: added serialization support.
8199         * DBNull.cs: added serialization support.
8200         * UnitySerializationHolder.cs: supports serialization of Assembly,
8201         MonoType and DBNull.
8202         * DelegateSerializationHolder.cs: added.
8204 2003-01-12  Gonzalo Paniagua Javier <gonzalo@ximian.com>
8206         * Exception.cs: changed default message to match MS one.
8208 2003-01-12  Patrik Torstensson <totte@race-x-change.com>
8210         * String.cs: Fixed bug with CompareOrdinal
8212 2003-01-10  Gonzalo Paniagua Javier <gonzalo@ximian.com>
8214         * Enum.cs: implements IFormattable.
8216 2003-01-10  Gonzalo Paniagua Javier <gonzalo@ximian.com>
8218         * AppDomain.cs: implemented DoCallBack method.
8219         * MonoType.cs:
8220         (GetConstructorImpl): when the flag is BindingFlags.Default, set it to
8221         Public, Instance.
8223         NUnit2 tests start moving.
8225 2003-01-09  Gonzalo Paniagua Javier <gonzalo@ximian.com>
8227         * Activator.cs: fixed bug #36052. Also added checks to avoid trying to
8228         instantiate an abstract class.
8230 2003-01-09  Gonzalo Paniagua Javier <gonzalo@ximian.com>
8232         * Type.cs:
8233         (IsSubclassOf): return false when null. Use != instead of Equals.
8235 2003-01-09  Gonzalo Paniagua Javier <gonzalo@ximian.com>
8237         * Type.cs: fixed IsSubclassOf. Patch from Zoltan Varga.
8239 Fri Jan 3 20:18:51 CET 2003 Paolo Molaro <lupus@ximian.com>
8241         * MonoType.cs: fixed Namespace property for nested types.
8243 Fri Jan 3 16:18:27 CET 2003 Paolo Molaro <lupus@ximian.com>
8245         * MonoCustomAttrs.cs: create properly typed arrays when returning
8246         arrays of attributes of a given type.
8248 Fri Jan 3 11:10:14 CET 2003 Paolo Molaro <lupus@ximian.com>
8250         * MonoType.cs: fixed MemberType property for nested types.
8252 2003-01-03  Gonzalo Paniagua Javier <gonzalo@ximian.com>
8254         * String.cs: fixed bug #36209.
8256 2002-12-20 Lluis Sanchez Gual <lsg@ctv.es>
8258         * Activator.cs: implemented method GetObject.
8260 2002-12-28  Marcus Urban <mathpup@mylinuxisp.com>
8262         * Activator.cs: Since the documentation indicates the method
8263         either succeeds or throws one of the listed exceptions, we weren't
8264         expecting that CreateInstance might be returning null.
8266         For more information on the bug, see http://bugs.ximian.com/show_bug.cgi?id=36109
8268 2002-12-20 Lluis Sanchez Gual <lsg@ctv.es>
8270         * MarshalByRefObject.cs: implemented CreateObjRef.
8272 2002-12-19  Gonzalo Paniagua Javier <gonzalo@ximian.com>
8274         * DateTime.cs: fixed bug #30076.
8275         * TimeZone.cs: provide the parameter name in a exception.
8277 2002-12-13  Gonzalo Paniagua Javier <gonzalo@ximian.com>
8279         * DecimalFormatter.cs: fixed bug #35560.
8281 Wed Dec 4 16:04:28 CET 2002 Paolo Molaro <lupus@ximian.com>
8283         * Type.cs: implemented GetInterfaceMap (needs an updated runtime).
8285 2002-12-03  Gonzalo Paniagua Javier <gonzalo@ximian.com>
8287         * Array.cs: use Object.Equals (obj, obj) to compare objects to avoid
8288         nulls. Fixes #34909.
8290 2002-12-03  Gonzalo Paniagua Javier <gonzalo@ximian.com>
8292         * AppDomain.cs: DoAssemblyResolve now returns when one of the handlers
8293         returns a non-null assembly.
8295 2002-12-03  Gonzalo Paniagua Javier <gonzalo@ximian.com>
8297         * MulticastDelegate.cs: make GetInvocationList work for more than 1
8298         delegate.
8300 2002-12-02  Gonzalo Paniagua Javier <gonzalo@ximian.com>
8302         * MulticastDelegate.cs: implemented GetInvocationList. I'll check later
8303         if this is the correct order of invocation.
8305 2002-12-02  Gonzalo Paniagua Javier <gonzalo@ximian.com>
8307         * Type.cs: changed the signature of internal_from_name. Modified
8308         the overloads of GetType to use it and check the typeName argument.
8309         Implemented FindInterfaces.
8311 2002-11-29  Gonzalo Paniagua Javier <gonzalo@ximian.com>
8313         * MarshalByRefObject.cs: undo latest changes. It breaks the build by
8314         some obscure reasons (try make -f makefile.gnu using a corlib which has
8315         the modified version).
8317 2002-11-26  Miguel de Icaza  <miguel@ximian.com>
8319         * String.cs (Concat): Reduce the number of compares required. 
8321 Mon Nov 18 17:54:22 CET 2002 Paolo Molaro <lupus@ximian.com>
8323         * Activator.cs: throw a MissingMethodException if the default
8324         constructor is not found in CreateInstance.
8326 2002-11-13  Gonzalo Paniagua Javier <gonzalo@ximian.com>
8328         * String.cs:
8329         (Equals (str, str)): use 'as' instead of casting to object.
8330         (Equals (obj)): check the length of the strings (until now,
8331         "Hello".Equals ((object) "Hellow World!) was true!).
8333 2002-11-04  Gonzalo Paniagua Javier <gonzalo@ximian.com>
8335         * MonoType.cs: implemented GetEvent (name, flags).
8337 2002-11-03  Gonzalo Paniagua Javier <gonzalo@ximian.com>
8339         * AppDomain.cs: implemented a couple of methods called from the runtime
8340         to fire AssemblyLoad and AssemblyResolve events.
8342 2002-10-31  Dick Porter  <dick@ximian.com>
8344         * Environment.cs: MonoIO methods now have an error parameter
8346 2002-10-29  Zoltan Varga  <vargaz@freemail.hu>
8348         * Enum.cs: Added support for whitespaces in Enum:Parse().
8350 2002-10-29  Gonzalo Paniagua Javier <gonzalo@ximian.com>
8352         * Type.cs: fixed GetProperty (string, Type []) and removed get_property
8353         internal call. Closes bug #32992.
8355 2002-10-29  Gonzalo Paniagua Javier <gonzalo@ximian.com>
8357         * Exception.cs: display the inner exception, if any, in ToString ().
8359 2002-10-24  Gonzalo Paniagua Javier <gonzalo@ximian.com>
8361         * Environment.cs: fixed StackTrace property.
8363 2002-10-16  Nick Drochak  <ndrochak@gol.com>
8365         * Enum.cs (Parse): Then fix the code so that it works too.
8367 2002-10-15  Nick Drochak  <ndrochak@gol.com>
8369         * Enum.cs (Parse): Use unsigned casts to avoid compiler warnings.
8371 2002-10-12  Nick Drochak  <ndrochak@gol.com>
8373         * IntegerFormatter.cs: Fix compiler warnings.
8375 2002-10-11  Tim Haynes <thaynes@openlinksw.com>
8377         * Type.cs (GetConstructors): Use the correct flags.
8379 2002-10-09  Nick Drochak  <ndrochak@gol.com>
8381         * IntegerFormatter.cs: Suppress insignificant leading zeros
8383 Fri Sep 27 15:06:29 CEST 2002 Paolo Molaro <lupus@ximian.com>
8385         * MonoCustomAttrs.cs: applied patch by "Si Jingnan"
8386         <stonewell@21cn.com> to return also derived types.
8388 2002-09-26  Gonzalo Paniagua Javier <gonzalo@ximian.com>
8390         * Activator.cs: little fix in CreateInstance (Type, bool).
8392 2002-09-19  Duncan Mak  <duncan@ximian.com>
8394         * Array.cs (CopyTo): Revert back to 1.40, this is stopping
8395         I18N/Common from building right now.
8397 2002-09-19  Nick Drochak  <ndrochak@gol.com>
8399         * Array.cs (CopyTo): Account for Object type and base (primitive) types
8400         * Type.cs (IsAssignableFrom): return false for a null parameter
8402 2002-09-19  Nick Drochak <ndrochak@gol.com>
8404         * Array.cs (CopyTo): Check that source type can be cast automatically
8405         to the destination type.
8407 2002-09-18  Gonzalo Paniagua Javier <gonzalo@ximian.com>
8409         * Type.cs: implemented IsAssignableFrom, DefaultBinder and
8410         GetDefaultMembers.
8412 2002-09-12  Gonzalo Paniagua Javier <gonzalo@ximian.com>
8414         * Char.cs: implemented ToString (char)
8415         * IntegerFormatter.cs: made it internal.
8417 2002-09-13  Nick Drochak  <ndrochak@gol.com>
8419         * Enum.cs (Format): handle the "d" format for both signed and unsigned
8420         underlying types.
8422 2002-09-12  Dick Porter  <dick@ximian.com>
8424         * UIntPtr.cs: Remove the [StructLayout(LayoutKind.Auto)]
8425         attribute, as there doesn't appear to be any struct
8426         layout-depending code here (and corcompare says it should be
8427         LayoutKind.Sequential)
8429         * Decimal.cs: Stub out missing methods, add
8430         [DecimalConstantAttribute] to the constant fields (as shown by
8431         corcompare).
8433         * LocalDataStoreSlot.cs: 
8434         * Environment.cs: 
8435         * Char.cs: 
8436         * Array.cs: Stub out missing methods.
8438         * TypedReference.cs: 
8439         * ArgIterator.cs: Stub out
8441         * AppDomainSetup.cs: 
8442         * AppDomain.cs: Stub out missing methods, add missing
8443         ClassInterface(ClassInterfaceType.None) attribute.
8445 2002-09-12  Nick Drochak  <ndrochak@gol.com>
8447         * Double.cs (ToString): Throw exception when "X" format is passed in.
8449 Wed Sep 11 15:26:34 CEST 2002 Paolo Molaro <lupus@ximian.com>
8451         * MonoType.cs: implemented Module property.
8453 Wed Sep 11 12:49:51 CEST 2002 Paolo Molaro <lupus@ximian.com>
8455         * MonoType.cs, Type.cs: implemented InvokeMember.
8457 Wed Sep 11 11:06:43 CEST 2002 Paolo Molaro <lupus@ximian.com>
8459         * Delegate.cs: check the type passed to CreateDelegate is a Delegate
8460         type. Check the method signature matches.
8462 Sat Sep 7 10:16:52 CEST 2002 Paolo Molaro <lupus@ximian.com>
8464         * RuntimeMethodHandle.cs: implemented GetFunctionPointer().
8466 2002-09-06  Miguel de Icaza  <miguel@ximian.com>
8468         * Console.cs: Specify an encoder, otherwise we will get the UTF8
8469         encoder that by default emits the byte markers.
8471 Fri Sep 6 20:14:04 CEST 2002 Paolo Molaro <lupus@ximian.com>
8473         * Delegate.cs: look also for non-public methods until we have the
8474         security checks in place.
8476 Fri Sep 6 12:20:06 CEST 2002 Paolo Molaro <lupus@ximian.com>
8478         * MonoType.cs: consider also the full name in GetInterface.
8480 Fri Sep 6 12:11:28 CEST 2002 Paolo Molaro <lupus@ximian.com>
8482         * MonoType.cs: implemented GetMembers, GetConstructorImpl and
8483         GetMethodImpl using the binder.
8484         * Type.cs: GetConstructorImpl/GetConstructor fixes.
8486 2002-09-03  Jonathan Pryor <jonpryor@vt.edu>
8487         * Enum.cs: Get rid of warning CS0162.
8489 2002-09-04  Miguel de Icaza  <miguel@ximian.com>
8491         * Double.cs, Single.cs, Char.cs, Boolean.cs: Use internal for the
8492         actual value instead of public.
8494         * LocalDataStoreSlot.cs: Make constructor internal.
8496         * Int16.cs, UInt16.cs, Int32.cs, UInt32.cs, Int64.cs, UInt64.cs,
8497         SByte.cs, Byte.cs, Char.cs: Use internal for the actual value
8498         instead of public.
8500 2002-09-03  Jonathan Pryor <jonpryor@vt.edu>
8501         * Enum.cs: Fixed Enum.Format so that the "x" format specifier would work
8502                    properly.
8504 2002-08-28  Gonzalo Paniagua Javier <gonzalo@ximian.com>
8506         * DateTime.cs: fixed buglet.
8508 Tue Aug 27 16:39:47 CEST 2002 Paolo Molaro <lupus@ximian.com>
8510         * MonoType.cs: speedup access to common data.
8512 2002-08-23  Gonzalo Paniagua Javier <gonzalo@ximian.com>
8514         * Double.cs: implemented TryParse.
8516         * Math.cs: PowImpl is now private.
8518         * MissingFieldException.cs: implemented Message.
8520         * RuntimeMethodHandle.cs: stubbed GetFunctionPointer.
8522         * _AppDomain.cs: Uncommented ToString.
8524 2002-08-23  Gonzalo Paniagua Javier <gonzalo@ximian.com>
8526         * Type.cs:
8527         (IsValueTypeImpl): it's virtual, not abstract. Implemented.
8529 2002-08-23  Gonzalo Paniagua Javier <gonzalo@ximian.com>
8531         * ArgumentException.cs: use the field instead of the property for
8532         param_name.
8534         * ArgumentOutOfRangeException.cs: modified Message.
8536         * DateTime.cs: 
8537         (_DoParse): throw out of range exception for year. Removed check
8538         for month (it's done in the constructor).
8540 2002-08-21  Miguel de Icaza  <miguel@ximian.com>
8542         * Environment.cs: Implemented OSVersion property.
8544 2002-08-21  Dietmar Maurer  <dietmar@ximian.com>
8546         * Exception.cs: set stack_trace to null
8548 Wed Aug 21 13:02:20 CEST 2002 Paolo Molaro <lupus@ximian.com>
8550         * AppDomain.cs: implemented ToString().
8552 2002-08-20  Gonzalo Paniagua Javier <gonzalo@ximian.com>
8554         * AppDomain.cs: securityInfo can be null in CreateDomain.
8556 2002-08-19  Dick Porter  <dick@ximian.com>
8558         * MonoType.cs: Add a space before the Assembly name in
8559         AssemblyQualifiedName (needed for resource files so the MS runtime
8560         can load types)
8562 2002-08-19  Gonzalo Paniagua Javier <gonzalo@ximian.com>
8564         * AppDomain.cs: parameter name when throwing ArgumentNullException.
8566         * ArgumentException.cs: modified Message to do what MS does.
8568         * ArgumentNullException.cs: don't use {0} in message.
8570         * Exception.cs: use Message property in ToString ().
8572 2002-08-14  Cesar Octavio Lopez Nataren <cesar@ciencias.unam.mx>
8574         * WeakReference.cs: Changed the constructor and GetObjectData
8575         method needed for ISerializable implementation in order to be
8576         compatible with SOAP generated by MS.
8578 Wed Aug 14 17:34:07 CEST 2002 Paolo Molaro <lupus@ximian.com>
8580         * MonoType.cs, Type.cs: DeclaringType/ReflectedType fixes.
8582 2002-08-12  Dietmar Maurer  <dietmar@ximian.com>
8584         * Exception.cs (ToString): changed the ouput format.
8586 2002-08-07  Dietmar Maurer  <dietmar@ximian.com>
8588         * MonoType.cs: moved get_method icall to this class, we can
8589         remove it as soon someone provides a full featured GetMethodImpl.
8591         * Type.cs: use GetMethodImpl everywhere.
8593         * Delegate.cs: new CreateDelegate implementations.
8595 2002-08-06  Tim Coleman <tim@timcoleman.com>
8596         * MonoType.cs: 
8597                 Fix bug #28582.  Now checks parameters for properties
8598                 in GetPropertyImpl.
8600 2002-08-04  Nick Drochak  <ndrochak@gol.com>
8602         * Buffer.cs: Throw correct exception in GetByte() and SetByte().
8604 2002-08-01  Gonzalo Paniagua Javier <gonzalo@ximian.com>
8606         * String.cs:
8607         (FormatSpecifier): allow white space between the comman and the width
8608         specifier.
8610 2002-07-22  Gonzalo Paniagua Javier <gonzalo@ximian.com>
8612         * Int32.cs:
8613         * Int64.cs:
8614         * UInt32.cs:
8615         * UInt64.cs: fixed bug #28050. May be a MS bug?
8617 Thu Jul 18 14:47:03 CEST 2002 Paolo Molaro <lupus@ximian.com>
8619         * MonoType.cs: fix IsArrayImpl.
8621 2002-07-13  Gonzalo Paniagua Javier <gonzalo@ximian.com>
8623         * String.cs: make ToLower (culture) and ToUpper (culture) use the
8624         default ToLower and ToUpper and don't throw NotImplemented.
8626 Sat Jul 13 15:09:01 CEST 2002 Paolo Molaro <lupus@ximian.com>
8628         * Type.cs: make GettTypeCode an icall. Test implementation of
8629         GetMember().
8631 2002-07-13  Gonzalo Paniagua Javier <gonzalo@ximian.com>
8633         * AppDomainSetup.cs: implemented LoaderOptimization.
8635 2002-07-10  Gonzalo Paniagua Javier <gonzalo@ximian.com>
8637         * Activator.cs: some more intermediate results checking in
8638         in CreateInstance and CreateInstanceFrom and use GetConstructor and
8639         Invoke only with Type [] until the other overloaded versions work.
8641 2002-07-09  Gonzalo Paniagua Javier <gonzalo@ximian.com>
8643         * Activator.cs: reformatted. Implemented CreateInstance* methods
8644         that return ObjectHandle.
8646         * AppDomain.cs: implemented CreateInstance*AndUnwrap methods.
8648 2002-07-03  Nick Drochak  <ndrochak@gol.com>
8650         * Decimal.cs (Divide): Short cut the case where the dividend is 0 (and
8651         the divisor is not) and avoid the icall, which seems to have a bug.
8653 2002-07-03  Nick Drochak  <ndrochak@gol.com>
8655         * Double.cs (CompareTo): Correctly handle the case where the instance
8656         is NaN. Also return 0 if the values are equal.
8658 2002/07/03  Nick Drochak <ndrochak@gol.com>
8660         * MissingMethodException: Add missing Message property
8661         * MissingMemberException: Add missing Message property
8663 2002-06-30  Nick Drochak  <ndrochak@gol.com>
8665         * Double.cs (CompareTo): Just see which is bigger.  Don't use the
8666         subtraction trick, it doesn't work when the values have a diference of
8667         less than one.
8669         * Single.cs (CompareTo): same
8671 2002-06-27  Martin Baulig  <martin@gnome.org>
8673         * UIntPtr.cs (UIntPtr.Zero): Use an explicit `u' suffix in the
8674         constructor argument.  [FIXME: The implicit conversion to an
8675         unsigned integer doesn't work with mcs.]
8677 2002-06-26  Martin Baulig  <martin@gnome.org>
8679         * DecimalFormatter.cs: Removed MSTEST stuff, use `System',
8680         not `S = System'.  This file now compiles with mcs.
8682         * String.cs: Removed the already ifdef-outed __arglist Concat function
8683         to make it compile with mcs.
8685 2002-06-24  Gonzalo Paniagua Javier <gonzalo@ximian.com>
8687         * IntegerFormatter.cs:
8688         (FormatParse.FormatNumber): fixed custom format for negative numbers.
8690 2002-06-21  Martin Baulig  <martin@gnome.org>
8692         * Double.cs: Replace the private `enum State' with constants since this
8693         will avoid some bigger headaches in mcs.
8695 Thu Jun 20 17:51:44 CEST 2002 Paolo Molaro <lupus@ximian.com>
8697         * TimeSpan.cs: do not pollute the namespace with the
8698         System.Parser name.
8700 2002-06-18  Nick Drochak  <ndrochak@gol.com>
8702         * ArgumentException.cs: Use the message given in the constructor when
8703         accessing the Message property.  Thanks to Dietmar for the help with 
8704         "base".
8706 2002-06-17  Dietmar Maurer  <dietmar@ximian.com>
8708         * MonoType.cs: GetField is now a InternalCall
8710 2002-06-13  Nick Drochak  <ndrochak@gol.com>
8712         * DateTime.cs: (Parse): Accept dates that have no hour,min,sec. in the
8713         sortable format(s), e.g. "2002-02-25"
8715 2002/06/12  Nick Drochak <ndrochak@gol.com>
8717         * Random.cs (Next): Fix math error.  Return a number within the range.
8719 2002-06-12  Nick Drochak  <ndrochak@gol.com>
8721         * String.cs (IndexOf): Return -1 if start index is equal to string
8722         length.
8724 2002-06-10  Duncan Mak  <duncan@ximian.com>
8726         * Convert.cs (ToDouble): Remove rounding in ToDouble (float).
8727         (ToType): Added null field in conversionTable to avoid
8728         IndexOutOfRangeException. Changed what exceptions we throw to match
8729         the spec.
8730         
8731 2002-06-11  Nick Drochak  <ndrochak@gol.com>
8733         * Int64.cs (Parse): Added unique strings to the messages where we throw
8734         a FormatException. Needed these to debug, so just left them in since
8735         they might be useful later. Fixed Currency parsing where we weren't
8736         looking at CurrencyDecimalSeparator, etc.
8738 2002-06-09  Lawrence Pit  <loz@cable.a2000.nl>
8740         * DateTime.cs: fixes to pass tests M0 to M6:
8741                 if yy pattern then year values >= 30 are in 20th century
8742                 rfc1123 pattern is always in GMT, therefor useutc must be false
8743         made GetNow() internal static so it can be called from TimeZone.
8744         * TimeZone.cs: removed dependency on year 2002 from initialization of 
8745         current timezone.
8747 2002-06-09  Duncan Mak  <duncan@ximian.com>
8749         * Convert.cs (ToType): Rearranged what Exceptions we throw to
8750         match MS behavior.
8752 2002-06-08  Duncan Mak  <duncan@ximian.com>
8754         * Decimal.cs: Added support for the IConvertible interface.
8756 2002-06-08  Martin Baulig  <martin@gnome.org>
8758         * Enum.cs (IsDefined): `value' may be of the enum's type itself, it
8759         doesn't necessarily need to be of the enum's underlying type.
8761 2002/06/07  Nick Drochak <ndrochak@gol.com>
8763         * String.cs: Add [Serializable] to class
8764         * SByte.cs (Parse): Add [CLSCompliant(false)] to all the overloads
8766 2002-06-04  Nick Drochak  <ndrochak@gol.com>
8768         * Double.cs (Parse): Recognize the group separator string, but still we
8769         don't check the format for the proper number of digits between
8770         separators. Also throw OverflowException when we get Pos or Neg
8771         Infinity from runtime.
8773 2002-06-03  Duncan Mak  <duncan@ximian.com>
8775         * Convert.cs (ToDouble): Fixed ToDouble (byte value).
8777 Mon Jun 3 12:18:18 CEST 2002 Paolo Molaro <lupus@ximian.com>
8779         * Type.cs: fixed GetTypeCode.
8781 2002-06-02  Duncan Mak  <duncan@ximian.com>
8783         * Convert.cs (ToInt16): use Convert.ToInt16 (int) instead of a direct
8784         cast from an int so that we throw OverFlowException correctly.
8785         
8786         (ToInt64): Use a new 64bit version of ConvertToBase.
8787         
8788         (ConvertToBase): Add checks for overflow (checks Int32.MinValue
8789         and Int32.MaxValue).
8791         (ConvertFromBase64): New 64-bit version of ConvertFromBase.
8793 2002-06-02  Nick Drochak  <ndrochak@gol.com>
8795         * Convert.cs (ToSByte): Check for special value.
8796         * Single.cs (Parse): 
8797         * UInt16.cs (Parse):
8798         * UInt32.cs (Parse): Throw OverflowException if negative
8800 2002-06-02  Duncan Mak  <duncan@ximian.com>
8802         * Convert.cs (DBNull): Point it to DBNull.Value.
8803         (IsDBNull): Instead of checking typecodes, just check to see if
8804         it's the same as the DBNull field.
8806 2002-06-02  Nick Drochak  <ndrochak@gol.com>
8808         * Convert.cs (ConvertFromBase): Detect bad digits correctly.
8810 2002-06-02  Duncan Mak  <duncan@ximian.com>
8812         * Char.cs (Parse): Simplify the Exception handling.
8814         * Convert.cs (ToDecimal): Remove call to Math.Round () when
8815         converting from a float.
8817 2002-05-30  Martin Baulig  <martin@gnome.org>
8819         * MonoType.cs (GetInterface): Implemented.
8821 Thu May 23 17:17:28 CEST 2002 Paolo Molaro <lupus@ximian.com>
8823         * Activator.cs: implemented CreateInstance ().
8825 2002-05-22  Duncan Mak  <duncan@ximian.com>
8827         * Convert.cs (ConvertToBase): Added new 64bit version.
8828         (BuildConvertedString64): New 64bit version of
8829         BuildConvertedString.
8831         This fixes bug 25068.
8833         (ConvertFromBase): Added additional test for checking if the
8834         digits are valid. Thanks to Miguel for coming up with this test.
8836         This fixes bug 25071.
8837         
8838 2002-05-21  Duncan Mak  <duncan@ximian.com>
8840         * Convert.cs (ToType): Rearranged to fit the new layout of
8841         conversionTable.
8843         (conversionTable): Rearranged to fit the layout of the
8844         System.TypeCode enum.
8846         This should fix bug 25075.
8847         
8848 2002-05-21  Duncan Mak  <duncan@ximian.com>
8850         * Convert.cs (ToString): Fixed the ToString methods. Previously I had
8851         mixed up the two code paths, one for converting to a specific base
8852         (this case), another from converting from a foreign base to base10
8853         (used by ToInt16|32|64 (string, int)). This fixes bug 25068.
8855         * Convert.cs (ToByte)
8856         (ToSByte): Fixed bug 25074. Added more bits to ConvertFromBase so
8857         that we won't confuse FormatException with OverflowException.
8859 2002-05-22  Lawrence Pit  <loz@cable.a2000.nl>
8861         * Environment.cs: CommandLine missed spaces between arguments.
8862         Implemented StackTrace. Returning MachineName in UserDomainName
8863         instead of null.
8864         
8865 Tue May 21 17:25:49 CEST 2002 Paolo Molaro <lupus@ximian.com>
8867         * MonoCustomAttrs.cs: handle inherit argument.
8869 2002-05-21  Nick Drochak  <ndrochak@gol.com>
8871         * Math.cs (Pow): Change icall method name and insert parameter
8872         checks in for infinities and NaN.
8874 2002-05-13  Miguel de Icaza  <miguel@ximian.com>
8876         * Double.cs (Parse): Reimplement by cleaning up the string first,
8877         and then passing to strtof in the mono runtime.
8879         * Single.cs (Parse): Use the Double implementation and cast to
8880         float. 
8882 2002-05-21  Nick Drochak  <ndrochak@gol.com>
8884         * Math.cs 
8885                 (Ceiling): Check for "special" values
8886                 (Floor): Check for "special" values
8887                 (Round): Fix off-by-one error on decimal shifting
8889 2002-05-20  Lawrence Pit  <loz@cable.a2000.nl>
8891         * DateTime.cs: ToString () using "G" format specifier 
8893 2002-05-19  Martin Baulig  <martin@gnome.org>
8895         * Convert.cs (FromBase64CharArray): Do correct exception handling.
8897 2002-05-19  Martin Baulig  <martin@gnome.org>
8899         * Convert.cs (FromBase64CharArray): Convert the char array using
8900         System.Text.UTF8Encoding, not UnicodeEncoding (which is UTF-16) to
8901         a byte array.
8903 2002-05-17  Miguel de Icaza  <miguel@ximian.com>
8905         * MonoType.cs: Style changes.
8907         * Type.cs: Style changes.
8909 2002-05-16  Piers Haken <piersh@friksit.com
8911         * UInt64.cs: fix declaration of IConvertible.To* overrides.
8913 2002-05-16  Nick Drochak  <ndrochak@gol.com>
8915         * BitConverter.cs (ToString): Add parameter check for invalid start 
8916         index.
8918         * Console.cs: Use AutoFlush on the StreamWriter for stdin and stdout
8919         now that StreamWriter uses buffering
8921 2002-05-14  Miguel de Icaza  <miguel@ximian.com>
8923         * Double.cs: Oops.  Also handle exponents without finding a dot.
8925 2002-05-14  Gonzalo Paniagua Javier <gonzalo@ximian.com>
8927         * ChangeLog: removed empty entry at the top of the file.
8929         * Int32.cs: made static functions used by Parse internal.
8931         * Int64.cs:
8932         * UInt32.cs:
8933         * UInt64.cs: removed static fucntions used by Parse and use the ones
8934         in Int32.cs
8936 2002-05-12  Daniel Morgan <danmorg@sc.rr.com>
8938         * IServiceProvider.cs: added using System
8940 2002-05-09  Daniel Morgan <danmorg@sc.rr.com>
8942         * Single.cs: copied ToString() and Parse() methods from 
8943         Double to Single and modified a tiny bit for Single.  
8944         There is still a FIXME for Double and Single about
8945         passing the format and provider info to the icall too.
8947 2002-05-02  Gonzalo Paniagua Javier <gonzalo@ximian.com>
8949         * Int32.cs:
8950         * Int64.cs:
8951         * UInt32.cs:
8952         * UInt64.cs (Parse): don't use Char.IsNumber to test for hex digits.
8953         Don't use a delegate to test for valid digits.
8955 2002-05-01  Duncan Mak  <duncan@ximian.com>
8957         * Convert.cs: 
8958         * Math.cs: Added missing CLSCompliant attributes where necessary.
8959         
8960 2002-04-30  Duncan Mak  <duncan@ximian.com>
8962         * ArgumentException.cs (Message): 
8963         * ArgumentOutOfRangeException.cs (Message): Added.
8965 2002-04-30  Nick Drochak  <ndrochak@gol.com>
8967         * MonoType.cs: Remove unused variable and eliminate a compiler warning.
8969 Mon Apr 29 15:32:02 CEST 2002 Paolo Molaro <lupus@ximian.com>
8971         * Environment.cs: support for Exit(), CommandLine, CommandLineArgs ().
8973 2002-04-28  Duncan Mak  <duncan@ximian.com>
8975         * DivideByZeroException.cs: Added missing serialization constructor.
8977         * UnauthorizedAccessException.cs: Added the missing Serializable attribute.
8979 2002-04-28  Gonzalo Paniagua Javier <gonzalo@ximian.com>
8981         * Math.cs: fix Floor () and Round (). Closes #23960.
8983 2002-04-27  Nick Drochak  <ndrochak@gol.com>
8985         * Array.cs (IList.Contains): Should throw a RankException if this is 
8986         called on a Rank > 1 array. Not in the docs, but this is what the 
8987         MS.NET does.
8989 2002-04-26  Duncan Mak  <duncan@ximian.com>
8991         * MissingMemberException.cs: Made the message variable 'protected'
8992         instead of 'private', so that we can see it in
8993         MissingMethodException and MissingFieldException.
8995         * MissingFieldException.cs:
8996         * MissingMethodException.cs: Added missing (string, string)
8997         constructor, and also the Message property.
8999 2002-04-26  Martin Baulig  <martin@gnome.org>
9001         * Enum.cs: Implemented the IConvertible methods.
9003 2002-04-25  Gonzalo Paniagua Javier <gonzalo@ximian.com>
9005         * SByte.cs: little change in Parse (string) to avoid incorrect
9006         OverflowException thrown (reported by nickd).
9008 2002-04-22  Miguel de Icaza  <miguel@ximian.com>
9010         * ValueType.cs: Add Serializable attribute.
9012         * String.cs: ifdef-out out the __arglist Concat function until I
9013         add support for that to mcs.
9015 2002-04-24      Patrik Torstensson <patrik.torstensson@labs2.com>
9017         * AppDomain.cs (GetValue): usage of the correct icall (bug)
9019 Wed Apr 24 21:15:44 CEST 2002 Paolo Molaro <lupus@ximian.com>
9021         * GC.cs: implement most of the methods as icalls.
9023 2002-04-24  Gonzalo Paniagua Javier <gonzalo@ximian.com>
9025         * DecimalFormatter.cs (ToString): return correct value when the
9026         decimal number is 0.
9028 2002-04-24      Patrik Torstensson <patrik.torstensson@labs2.com>
9029         
9030         * Type.cs (GetProperty): fixed call syntax (needs an empty array not null)
9031         * MonoType.cs (GetPropertyImpl) : basic implementation (ignores types, bindingAttr, modifiers)
9033 2002-04-24  Nick Drochak  <ndrochak@gol.com>
9035         * Double.cs (Parse): Handle case where there are no digits before the 
9036         decimal point, such as ".1".
9038 2002-04-23  Gonzalo Paniagua Javier <gonzalo@ximian.com>
9040         * Int32.cs:
9041         * UInt32.cs:
9042         * Int64.cs:
9043         * UInt64.cs: fixed bug #23738 (hex numbers parsed wrong).
9045 2002-04-23      Patrik Torstensson <patrik.torstensson@labs2.com>
9047         * String.cs (Split): fixed invalid split of count 0 and 1.
9048         
9049 2002-04-23      Patrik Torstensson <patrik.torstensson@labs2.com>
9050         
9051         * String.cs (LastIndexOf): fixed argument checking.
9052         * String.cs (Equals): made internal for performace.
9054 2002-04-23  Nick Drochak  <ndrochak@gol.com>
9056         * String.cs (Join): check argument and throw exception if needed
9058 2002-04-23  Nick Drochak  <ndrochak@gol.com>
9060         * String.cs (StartsWith): check argument and throw exception if needed
9062 2002-04-22  Nick Drochak  <ndrochak@gol.com>
9064         * String.cs (IndexOfAny): check arguments and throw exceptions as
9065         neccessary.  ALso remove some debug WriteLines.
9067 2002-04-20  Dietmar Maurer  <dietmar@ximian.com>
9069         * String.cs: use internal constructors
9070         buf fix in Concat.
9072 Thu Apr 18 17:16:15 CEST 2002 Paolo Molaro <lupus@ximian.com>
9074         * MonoType.cs: make GetElementType its own icall.
9076 2002-04-18  Nick Drochak <ndrochak@gol.com>
9078         * String.cs: Modified file. Re-add methods needed by the unit tests.
9080 Thu Apr 18 12:38:32 CEST 2002 Paolo Molaro <lupus@ximian.com>
9082         * String.cs: some code speedups and restored GetTypeCode().
9084 2002-04-17      Patrik Torstensson <patrik.torstensson@labs2.com>
9086         * String.cs: New implementation using internal calls.
9087         
9088 2002-04-16  Nick Drochak  <ndrochak@gol.com>
9090         * DecimalFormatter.cs: Trim off excess null characters from the string
9091         that decimal2string gives back.
9093 2002-04-16  Nick Drochak  <ndrochak@gol.com>
9095         * String.cs (SubString): revert my change.  I can't reproduce the
9096         problem anymore.
9098 2002-04-13  Gonzalo Paniagua Javier <gonzalo@ximian.com>
9100         * Attribute.cs: added GetHashCode and Equals.
9102 2002-04-12  Gonzalo Paniagua Javier <gonzalo@ximian.com>
9104         * Enum.cs: little improvements to Format ().
9106 Thu Apr 11 12:28:13 CEST 2002 Paolo Molaro <lupus@ximian.com>
9108         * String.cs: internalcall GetHashCode().
9109         * Array.cS: optimize access to elements.
9111 Wed Apr 10 21:20:19 CEST 2002 Paolo Molaro <lupus@ximian.com>
9113         * String.cs: make IndexOfAny() use an internalcall.
9115 2002-04-10  Gonzalo Paniagua Javier <gonzalo@ximian.com>
9117         * Int32.cs:
9118         * UInt32.cs:
9119         * Int64.cs: 
9120         * UInt64.cs: fixed error when testing for validity of flags.
9122 2002-04-11  Nick Drochak  <ndrochak@gol.com>
9124         * Double.cs: Use an internal call for ToString(). This is just a simple
9125         implementation to get away from throwing a NotImplementedException.
9127 2002-04-10  Gonzalo Paniagua Javier <gonzalo@ximian.com>
9129         * Int32.cs:
9130         * UInt32.cs:
9131         * Int64.cs: 
9132         * UInt64.cs: changed Type.GetType () by typeof (), as suggested by
9133         lupus.
9135         * Int32.cs:
9136         * Int64.cs: throw an OverFlowException when parsing a string 
9137         containing a dot followed by any non '0' number.
9139 2002-04-10  Gonzalo Paniagua Javier <gonzalo@ximian.com>
9141         * Byte.cs:
9142         * UInt16.cs:
9143         * UInt32.cs:
9144         * UInt64.cs: added complex Parse ().
9146 2002-04-09  Gonzalo Paniagua Javier <gonzalo@ximian.com>
9148         * SByte.cs:
9149         * Int16.cs:
9150         * Int32.cs:
9151         * Int64.cs: added complex Parse ().
9153 2002-04-09  Nick Drochak  <ndrochak@gol.com>
9155         * Array.cs (BinarySearch): Add checks on paramters before using them
9156         and throw exceptions as needed.
9158         * Enum.cs (Format): Check if [Flags] is applied to enum and convert
9159         "G" format to "F" if so.
9161 Tue Apr 9 13:12:09 CEST 2002 Paolo Molaro <lupus@ximian.com>
9163         * MonoCustomAttrs.cs: return arrays of type Attribute[]
9164         instead of object[].
9166 2002/04/09  Nick Drochak <ndrochak@gol.com>
9168         * String.cs (Substring): Copy only non-null characters to the new
9169         string.
9171 2002-04-09  Nick Drochak  <ndrochak@gol.com>
9173         * IntegerFormatter.cs: Don't use a format character to indicate a
9174         custom format was passed in. It was using 'z' to indicate a custom
9175         format, but really it should throw a format exception if the user
9176         tries to use "z" as the format string. Now it does.
9178         * Activator.cs: New File.
9180 2002-04-08  Nick Drochak  <ndrochak@gol.com>
9182         * Enum.cs (ToString): Big ugly fix for the case where [Flags] is
9183         applied to an enum. Need to handle the different possible integer
9184         types of an enum somehow.  Can anyone say generics?
9186 Mon Apr  8 06:22:42  2002 Piers Haken <piersh@friskit.com>
9188         * Convert.cs: switched the To*(object) methods to use
9189         IConvertible directly instead of calling ChangeType
9191 Sat Apr 6 20:08:41 CEST 2002 Paolo Molaro <lupus@ximian.com>
9193         * ValueType.cs: make Equals() an internalcall.
9195 Fri Apr 5 15:38:54 CEST 2002 Paolo Molaro <lupus@ximian.com>
9197         * Type.cs: also look for nested types in FindMembers.
9198         * MonoType.cs: make GetNestedTypes() an internalcall.
9200 2002-04-05  Nick Drochak  <ndrochak@gol.com>
9202         * Enum.cs (Parse): Handle different underlying types.
9204 2002/04/04 Nick Drochak <ndrochak@gol.com>
9206         * Enum.cs (IsDefined): Throw exception when type of value to look for
9207         is not the correct one.  Attempt to have it work with string values
9208         too, but not sure if the unit tests are getting that far yet.
9210 2002-04-04  Nick Drochak  <ndrochak@gol.com>
9212         * Decimal.cs: Fix a couple of typos.
9214 Wed Apr 3 19:46:00 CEST 2002 Paolo Molaro <lupus@ximian.com>
9216         * Enum.cs: the values array is of the enum and not of the underlying
9217         type. Updates and some bug fixes.
9218         * MonoType.cs: make the internalcall return FullName instead of the
9219         assembly qualified name.
9220         * Type.cs: make ToString () simply return FullName.
9222 2002-04-03  Nick Drochak  <ndrochak@gol.com>
9224         * Type.cs (GetTypeCode): provide some of the implementation for this
9225         method.  It's still too simplistic to be considered complete.
9227 2002-04-02  Dietmar Maurer  <dietmar@ximian.com>
9229         * Object.cs: fixed FieldGetter/FieldSetter signature
9231 2002-04-02  Nick Drochak  <ndrochak@gol.com>
9233         * Environment.cs: add MonoTODO's on parts that should have it.
9235 2002-04-01  Nick Drochak  <ndrochak@gol.com>
9237         * Enum.cs: added reality checks (check parameters to most methods that
9238         need them).
9240 2002-03-30  Dietmar Maurer  <dietmar@ximian.com>
9242         * Object.cs: added FieldGetter/FieldSetter
9244 2002-03-28  Gonzalo Paniagua Javier <gonzalo@ximian.com>
9246         * IntegerFormatter.cs: fixed initialization error in static
9247         constructor.
9249 2002-03-28  Dietmar Maurer  <dietmar@ximian.com>
9251         * Delegate.cs: added new field to store a trampoline function
9253 2002-03-28  Gonzalo Paniagua Javier <gonzalo@ximian.com>
9255         * IntegerFormatter.cs: added workaround for bug #22668. First patch to
9256         make custom format strings work (not fully functional yet).
9258 2002/03/28  Nick Drochak <ndrochak@gol.com>
9260         * IntegerFormatter.cs: Change class from internal to public.  Add
9261         necessary [CLSCompliant(false)] attributes.
9263 2002-03-27  Duco Fijma  <duco@lorentz.xs4all.nl>
9264         * _AppDomain.cs, AppDomain.cs: renamed method GetDate to GetData
9265         (was a typo)
9267 2002-03-28  Nick Drochak  <ndrochak@gol.com>
9269         * Type.cs: Added MonoTODO tags on members that have FIXME, etc.
9271 2002-03-27  Dan Lewis  <dihlewis@yahoo.co.uk>
9273         * Console.cs: Modified to get std handles from MonoIO.
9274         * Environment.cs: removed PAL dependencies.
9276 2002-03-25  Miguel de Icaza  <miguel@ximian.com>
9278         * String.cs (System): Removed internal enumeration, because
9279         bootstrapping the corlib at this point does not support
9280         enumerations. 
9282         * IntPtr.cs: Temporary work-around until I fix the assembly
9283         attributes bug.
9285 2002-03-24  Martin Baulig  <martin@gnome.org>
9287         * Enum.cs (GetValues): According to the docu this is sorted after
9288         values, not names.
9290         * String.cs (System): Removed enumeration, because it is pretty
9291         hard to support enumerations in /nostdlib mode for the core types.
9293 Tue Mar 19 18:18:49 CET 2002 Paolo Molaro <lupus@ximian.com>
9295         * Array.cs: move error handling in the catch block.
9296         * MulticastDelegate.cs: remove == and != operators that were
9297         removed with the delegate changes (when you add stuff, please do not
9298         remove existing functionality!).
9299         * Type.cs: if a property is not found in a type, search for it
9300         in the parent types, too.
9302 2002-03-18  Dan Lewis <dihlewis@yahoo.co.uk>
9303         
9304         * Math.cs: changed to use icall instead of PAL.
9306 2002-03-18  Dietmar Maurer  <dietmar@ximian.com>
9308         * Double.cs: added check for NaN (Bug [22082])
9310 2002-03-19  Nick Drochak  <ndrochak@gol.com>
9312         * Enum.cs (Equals): check for null and throw if it is.
9313         * Enum.cs (Format): check for null parameters and throw if necessary.
9314         This method still needs more argument checking.
9316 2002-03-18  Dietmar Maurer  <dietmar@ximian.com>
9318         * Enum.cs (Equals): check if Enums are of the same type
9320 2002-03-18  Nick Drochak  <ndrochak@gol.com>
9322         * Double.cs: Explicitly handle comparisons in CompareTo() for
9323         Positive/Negative Infinity and NaN. Unit Test now passes on Linux.
9325         * Enum.cs(CompareTo): Check types of values before trying to compare.
9326         Throw exceptions if types are invalid or don't match.
9328 2002-03-14  Miguel de Icaza  <miguel@ximian.com>
9330         * Array.cs: Add some extra debugging information.
9332 2002-03-15  Nick Drochak  <ndrochak@gol.com>
9334         * Array.cs: Added IList and IEnumerable. 
9336 2002-03-14  Miguel de Icaza  <miguel@ximian.com>
9338         * UInt64.cs, UInt32.cs, UInt16.cs: Mark public parse methods as
9339         NonCLSCompliant. 
9341 2002-03-14  Dietmar Maurer  <dietmar@ximian.com>
9343         * Delegate.cs (Equals): also compare method_ptr 
9344         (GetHashCode): returm method_ptr as hash
9346 2002-03-13  Duco Fijma  <duco@lorentz.xs4all.n>
9347         * TimeSpan.cs: removed the use of Custom Numeric Format Strings,
9348         such as 42.ToString("0000000"), as these are (currently) not implemented
9349         in System.IntegerFormatter. TimeSpan luckely can do with Standard
9350         Numeric Format Strings, such as 42.ToString("D7").
9352 2002-03-12  Duncan Mak  <duncan@ximian.com>
9354         * FieldAccessException.cs: 
9355         * MethodAccessException.cs: 
9356         * PlatformNotSupportedException.cs: Inherit from
9357         MemberAccessException, not SystemException.
9359         * ObsoleteAttribute.cs: Made Message and IsError properties
9360         instead of fields.
9362 Tue Mar 12 19:21:18 CET 2002 Paolo Molaro <lupus@ximian.com>
9364         * GC.cs: make SuppressFinalize() a nop.
9365         * Delegate.cs: fix == operator.
9367 2002-03-13  Nick Drochak  <ndrochak@gol.com>
9369         * Enum.cs: Add IConvertible methods. Cyclic dependancy fixed in the
9370         runtime that goes with this patch.
9372 2002-03-10  Martin Baulig  <martin@gnome.org>
9374         * Int32.cs (Parse): Correctly parse negative numbers.
9376 2002-03-08  Martin Baulig  <martin@gnome.org>
9378         * String.cs (Split): Really fix it this time. Also adding several new
9379         testcase to the testsuite.       
9381 2002-03-08  Martin Baulig  <martin@gnome.org>
9383         * Array.cs (Copy): Optimized: removed duplicate null check, removed
9384         two duplicate GetLowerBound() calls and one duplicate IsValueType.
9386 Fri Mar 8 18:49:19 CET 2002 Paolo Molaro <lupus@ximian.com>
9388         * Object.cs: commit my hacked GetHashCode(): it's good enough for now.
9389         * String.cs: use the dumb code for IndexOf(string): this is worth
9390         15-20 % speedup in mcs compile with mint.
9392 Fri Mar 8 12:45:44 CET 2002 Paolo Molaro <lupus@ximian.com>
9394         * String.cs: revert change to Split() that broke the compiler (hi martin!:-).
9396 2002-03-07  Martin Baulig  <martin@gnome.org>
9398         * String.cs (Join): Throw an ArgumentNullException.
9399         (LastIndexOf (string,int,int)): This method does a backwards search,
9400         so startIndex points to the end of value, not to its beginning. Don't
9401         throw an exception if startIndex equals this.Length. Always return -1
9402         if startIndex is smaller than the length of value.
9403         (Replace (string,string)): Replace all occurences of oldValue.
9404         If newValue is null, all occurences of oldValue are to be removed.
9405         (Split (char[],int)): Return an empty array if maxCount is zero, throw
9406         an ArgumentOutOfRangeException if it's less than zero. Return maxValue
9407         elements, not maxValue+1.
9409 Thu Mar 7 17:16:06 CET 2002 Paolo Molaro <lupus@ximian.com>
9411         * MonoType.cs: make GetEvents() an internal call.
9412         * MulticastDelegate.cs: copy the passed in array.
9414 2002-03-06  Martin Baulig  <martin@gnome.org>
9416         * Array.cs (Copy): Use FastCopy when appropriate and do correct
9417         exception handling.
9419 2002-03-06  Duco Fijma  <duco@lorentz.xs4all.nl>
9420         * CharEnumerator.cs: fixes to CharEnumertor.MoveNext, fixing 
9421         some of the failures found be new tests (see ChangeLog in 
9422         Test/System). Comments added to this method, based on
9423         the representation invariant of this class, that (try to) explain
9424         why it now should be correct.
9426 2002-03-06  Dietmar Maurer  <dietmar@ximian.com>
9428         * Int64.cs (Parse): bug fix for max. negative value. 
9430 2002-03-07  Nick Drochak  <ndrochak@gol.com>
9432         * RuntimeTypeHandle.cs: Add Serializable attribute as the docs say.
9433         I need to understand what the difference between the attribute and
9434         the interface is.
9436 2002-03-06  Martin Baulig  <martin@gnome.org>
9438         * Array.cs (Copy): Always throw an ArrayTypeMismatchException, not
9439         an InvalidCastException if the widening conversion failed. See
9440         testcases #M94-#M96.
9442         * Array.cs (CopyTo): Bug fix from Ajay Dwivedi, correctly handle
9443         arrays with non-zero lower bounds. Also adding testcases #F10-#F13
9444         for this.
9446         * Array.cs (CopyTo): Reverted my last change, it was incorrect.
9447         (Copy): Actually allow copying multi-dimensional arrays.
9449 2002-03-05  Duncan Mak  <duncan@ximian.com>
9451         * Convert.cs:
9452         (DBNull) Added the missing field.
9453         (IsDBNull) Fixed typo.
9454         (ToByte (string, int)) Implemented.
9455         (ToString (byte, int)) Implemented.
9456         (ConvertToBase)
9457         (BuildConvertedString) internal functions used for converting values to
9458         a specific base.
9460         * Int16.cs: 
9461         * Int32.cs:
9462         * Int64.cs:
9463         * Single.cs:
9464         * UInt16.cs: 
9465         * UInt32.cs: Implemented the IConvertible interface.    
9467         * CharEnumerator.cs: Renamed to variables to be clearer and
9468         changed some of the tests to conform to the 1.0 spec.
9470 2002-03-06  Martin Baulig  <martin@gnome.org>
9472         * Array.cs (Copy): Calculate absolute array position here and use
9473         GetValueImpl() and SetValueImpl() with that position. We can now
9474         copy multi-dimensional arrays.
9475         (CopyTo): Small bug fix.
9477 2002-03-05  Duco Fijma  <duco@lorentz.xs4all.nl>
9479         * Version.cs: CompareTo changed according the LAMESPEC discovered by 
9480         Nick (See VersionTest.cs).
9481         * CharEnumerator.cs: fixed two bugs in MoveNext. It had an off-by-one
9482         error comparing the current position (idx) against the length of the
9483         string iterated and it set idx to an unrecognized special value (-2)
9485 Tue Mar 5 17:34:14 CET 2002 Paolo Molaro <lupus@ximian.com>
9487         * SByte.cs, UInt64.cs: implement IConvertible interface. Nobody wants
9488         to do this dirty work, but someone has to do it (and I need it to pass
9489         the "200 sample tests compiled on linux" mark).
9491 2002-03-06  Nick Drochak  <ndrochak@gol.com>
9493         * Attribute.cs
9494         * DecimalFormatter.cs
9495         * Delegate.cs
9496         * Double.cs
9497         * GC.cs
9498         * Int16.cs
9499         * Int32.cs
9500         * MonoType.cs
9501         * RuntimeMethodHandle.cs
9502         * RuntimeTypeHandle.cs
9503         * String.cs
9504         * Type.cs:
9505                 Add [MonoTODO]'s to places where we currently throw a
9506                 NotImplementedException.
9508 2002-03-05  Dietmar Maurer  <dietmar@ximian.com>
9510         * Int16.cs (Parse): do not overflow on max negative value
9512         * Int32.cs (Parse): do not overflow on max negative value
9514 Mon Mar 4 20:36:05 CET 2002 Paolo Molaro <lupus@ximian.com>
9516         * Type.cs: fixed IsClass.
9517         * MonoType.cs: fixed MemberType, IsPrimitiveImpl, IsPointerImpl,
9518         IsByRefImpl. Added GetInterfaces().
9519         * IServiceProvider.cs: compilation fix.
9521 Mon Mar 4 18:37:03 CET 2002 Paolo Molaro <lupus@ximian.com>
9523         * Array.cs: allow copying an empty array to an empty array.
9525 Mon Mar 4 17:59:16 CET 2002 Paolo Molaro <lupus@ximian.com>
9527         * String.cs: fixed LastIndexOf (string) to do a bit of argument
9528         checking.
9530 2002-03-04  Duco Fijma  <duco@lorentz.xs4all.nl>
9531         * Version.cs: many fixes to failures found by the newly created
9532         test cases for this class. Specifically, the CompareTo member
9533         returned wrong values due to the use of Int32.MaxValue as a special
9534         value indicating an "undefined" version component. Also implemented the
9535         missing operators (==, <, >, etc.), one missing constructor and
9536         and some exception throwing.
9538 2002-03-04  Nick Drochak  <ndrochak@gol.com>
9540         * IServiceProvider.cs: Add missing attribute: ComVisible(false)
9541         * Attribute.cs: Add missing attributes: Serializable and
9542         AttributeUsage(AttributeTargets.All)
9544 Mon Mar 4 11:26:49 CET 2002 Paolo Molaro <lupus@ximian.com>
9546         * MonoType.cs: implemented GetConstructors(), GetFields(),
9547         GetMethods(), GetProperties().
9548         * Object.cs: added debugging icall obj_address().
9549         * Type.cs: fixed the binding flags for some Get* methods.
9550         Implemented FindMembers() as calls to the specific GetMember
9551         methods.
9553 2002-03-01  Duco Fijma  <duco@lorentz.xs4all.nl>
9554         * BitConverter.cs: fixed one little bug: ToString(s, n, 0) 
9555         should give an exception for n>=s.Length.
9557 2002-03-01  Martin Baulig  <martin@gnome.org>
9559         * Array.cs: More argument checking and bug fixing.
9561 2002-03-01  Miguel de Icaza  <miguel@ximian.com>
9563         * BitConverter.cs: Indentation match
9565         * AppDomain.cs: Added MonoTODOs to this too.
9567         * Buffer.cs: Added MonoTODOs to this.
9569 2002-03-01  Martin Baulig  <martin@gnome.org>
9571         * Array.cs: Added argument checking to all methods where it was missing.
9573 2002-03-01  Duco Fijma  <duco@lorentz.xs4all.nl>
9575         * BitConverter.cs: Fixed bugs in ToString methods
9577 Fri Mar 1 15:20:00 CET 2002 Paolo Molaro <lupus@ximian.com>
9579         * MulticastDelegate.cs: implement operators so mcs3 can be used on linux.
9581 2002-03-01  Nick Drochak  <ndrochak@gol.com>
9583         * BitConverter.cs: Throw ArgumentException like mscorlib, instead of
9584         ArgumentOutOfRangeException like the docs say.
9586 2002-03-01  Martin Baulig  <martin@gnome.org>
9588         * Enum.cs (CompareTo): Correctly override this method from IComparable.
9590         * Console.cs (setIn, setOut, setError): It's called SetIn, SetOut, SetError.
9592 2002-02-28  Martin Baulig  <martin@gnome.org>
9594         * String.cs: This file now passes the testsuite on Linux :-)
9595         
9596         * String.cs (Intern, IsInterned): The interncalls are now called _Intern and _IsInterned;
9597         make them private and provide C# wrappers which do proper argument checking.
9599         * String.cs (Format): Correctly handle escaped brackets.
9601         * String.cs (_CompareChar): New internal function which compares two chars.
9602         (_Compare): Provide an internal compare method which can do all sorts of
9603         comparision and call it from all the Compare() methods. Also fixed a lot of
9604         bugs here, this code now actually passes the testsuite.
9606 2002-02-28  Duncan Mak  <duncan@ximian.com>
9608         * Convert.cs: Added the missing methods. The new class status page
9609         kicks ass, it even found my typos! Woohoo!
9610         (ConvertFromBase): Moved the Exception throwing in here and
9611         removed the other occurances so it's all centralized now.
9612         (ISDBNull): Implemented.
9613         (GetTypeCode): Implemented.
9615 2002-02-27  Duco Fijma  <duco@lorentz.xs4all.nl>
9616         * Guid.cs: Guid.ToString("") and Guid.ToString(null) is now understood as Guid.ToString("D") 
9617         just as in mscorlib. There is (probably) a documentation bug in the MS FrameWork SDK, which
9618         states that a lacking format should be interpreted as "N".  
9619         Also added [Serializable] attribute
9620         * TimeSpan.cs: some formatting and added the [Serializable] attribute
9622 2002-02-26  Duncan Mak  <duncan@ximian.com>
9624         * WeakReference.cs: Committed for Ajay Kumar Dwivedi.   
9626 2002-02-26  Martin Baulig  <martin@gnome.org>
9628         * TimeZone.cs: Use an internal enum rather than magic numbers to access the
9629         fields of the interncall GetTimeZoneData.
9631         * DateTime.cs: Implemented Parse and fixed a few bugs.
9633         * String.cs (TrimStart): Small fix.
9635 2002-02-26  Martin Baulig  <martin@gnome.org>
9637         * DateTime.cs: ParseExact is now fully functional.
9639         * String.cs (TrimEnd): Small fix.
9641 2002-02-26  Duco Fijma <duco@lorentz.xs4all.nl>
9642         * TimeSpan.cs: Added method TimeSpan.FromMilliseconds, mysteriously 
9643         missing for about six months.
9645 Tue Feb 26 14:21:19 CET 2002 Paolo Molaro <lupus@ximian.com>
9647         * UInt64.cs: fixed Parse method () to handle some of the NumberStyle flags.
9649 2002-02-26  Martin Baulig  <martin@gnome.org>
9651         * DateTime.cs: Miguel already committed this, but there was still a
9652         ChangeLog entry for this missing ....
9653         We're now reusing functionality from TimeSpan, printing dates is
9654         fully implemented, currently working on parsing.
9656         * TimeZone.cs: Fully implemented this. There's a new InternCall in the
9657         runtime for this.
9659 Fri Feb 22 18:47:08 CET 2002 Paolo Molaro <lupus@ximian.com>
9661         * MonoType.cs: disable constructor.
9662         * Object.cs: make GetType() an internalcall.
9663         * Type.cs: added correct bindingflags to GetMethods ().
9664         All such calls should be reviewed to use the correct flags.
9666 Thu Feb 21 19:23:46 CET 2002 Paolo Molaro <lupus@ximian.com>
9668         * Type.cs, MonoType.cs: type_is_subtype_of () changed to include extra
9669         argument.
9671 Thu Feb 21 16:56:51 CET 2002 Paolo Molaro <lupus@ximian.com>
9673         * Type.cs: implemented IsAssignableFrom.
9675 2002-02-21  Duco Fijma <duco@lorentz.xs4all.nl>
9676         * Guid.cs: fixed Guid.Guid(string) ctor. Changed format:
9677         "{0xdddddddd,0xdddd,0xdddd,{0xdd},{0xdd},{0xdd},{0xdd},{0xdd},{0xdd}}" 
9678         to "{0xdddddddd,0xdddd,0xdddd,{0xdd,0xdd,0xdd,0xdd,0xdd,0xdd}}" 
9679         The former is documented by Microsoft. The latter is how they
9680         actually implemented it in mscorlib:-)
9682 Tue Feb 19 20:34:35 CET 2002 Paolo Molaro <lupus@ximian.com>
9684         * MonoCustomAttrs.cs: hooks to get the custom attributes from the
9685         runtime.
9686         * MonoType.cs: Implemented custom attributes methods.
9689 2002-02-21  Duco Fijma <duco@lorentz.xs4all.nl>
9690         * Guid.cs: 
9692 Tue Feb 19 20:34:35 CET 2002 Paolo Molaro <lupus@ximian.com>
9694         * MonoCustomAttrs.cs: hooks to get the custom attributes from the
9695         runtime.
9696         * MonoType.cs: Implemented custom attributes methods.
9698 2002-02-19  Dietmar Maurer  <dietmar@ximian.com>
9700         * Array.cs (CopyTo): use GetLength() instead of GetUpperBound() 
9702 2002-02-19  Duncan Mak  <duncan@ximian.com>
9704         * Convert.cs: Finished up the missing methods in Convert. Added a
9705         new private method ConvertFromBase.
9707 2002-02-19  Dietmar Maurer  <dietmar@ximian.com>
9709         * String.cs: impl. IConvertible interface
9711 2002-02-18  Duco Fijma <duco@lorentz.xs4all.nl>
9712         * Guid.cs: actual implementation for Guid.Guid(string) Ctor
9714 2002-02-18  Duncan Mak  <duncan@ximian.com>
9716         * Convert.cs: Changed from using Type.GetType (string) to just
9717         typeof (). Probably will speed things up a bit?         
9719 2002-02-18  Ajay Kumar Dwivedi <AjayKumar.Dwivedi@dresdner-bank.com>
9721         * Array.cs:         
9722         1. Fix for GetUpperBound to return correct values
9723         2. made some Properties virtual
9724         3. Adds IsFixedSize and IsReadOnly properties.
9725         4. changes CreateInstance(Type,int[],int[]) to throw Exception
9726         when third arg is null. InternalCall CreateInstance changed to  
9727         CreateInstanceImpl
9728         5. Fixed array.GetUpperBound at a couple of places
9729         6. IndexOf and LastIndexOf now use Object.Equals instead of "=="
9730         7. Added two FIXME's in BinarySearch functions.
9732 2002-02-17  Duncan Mak  <duncan@ximian.com>
9734         * TimeZone.cs:  Applied the rest of Ajay's patch for    
9735         IsDaylightSavingTime. Thanks a lot for the nice explanation of how
9736         it works!
9738 2002-02-17  Duco Fijma  <duco@lorentz.xs4all.nl>
9739         * Guid.cs: added stub for Guid(string) ctor
9741 2002-02-17  Duncan Mak  <duncan@ximian.com>
9743         * Convert.cs: Near-complete implementation of Convert.cs
9745         Added all the To* methods taking (object) and
9746         (object, IFormatProvider) as parameters.
9748         Added [CLSCompliant (false)] attributes to methods dealing with
9749         unsigned types.
9751         Added the missing section on converting to and from DateTime. Only
9752         6 missing methods, all marked with MonoTODOs. Will tackle them later.           
9754 2002-02-16  Duncan Mak  <duncan@ximian.com>
9756         * TimeZone.cs: patch from Ajay Kumar Dwivedi (adwiv@yahoo.com) to
9757         make IsDaylightSavingTime (DateTime) call 
9758         IsDaylightSavingTime (DateTime, DaylightTime).  
9759         
9760         Added internal class CurrentTimeZone from Ajay. It needs more work
9761         to fill in the appropriate internal calls.
9762         
9763 Sat Feb 16 12:41:41 CET 2002 Paolo Molaro <lupus@ximian.com>
9765         * Type.cs: fix IsClass.
9767 Sat Feb 16 12:02:02 CET 2002 Paolo Molaro <lupus@ximian.com>
9769         * String.cs: fix Trim().
9771 Fri Feb 15 21:02:46 CET 2002 Paolo Molaro <lupus@ximian.com>
9773         * String.cs: fix more off by one errors.
9775 Thu Feb 14 18:54:09 CET 2002 Paolo Molaro <lupus@ximian.com>
9777         * MonoType.cs: fix IsValueTypeImpl.
9778         * Type.cs: fix IsEnum. Implement Equals methods.
9780 Wed Feb 13 21:50:13 CET 2002 Paolo Molaro <lupus@ximian.com>
9782         * Int32.cs: implement IConvertible interface.
9783         
9784 2002-02-12  Duncan Mak  <duncan@ximian.com>
9786         * TimeZone.cs: Implemented and added to CVS.
9788 2002-02-11  Duncan Mak  <duncan@ximian.com>
9790         * Convert.cs: Implemented the ChangeType () methods.
9792 Mon Feb 11 19:48:58 CET 2002 Paolo Molaro <lupus@ximian.com>
9794         * Array.cs: make Clone() an internal call.
9796 2002-02-09  Duco Fijma <duco@lorentz.xs4all.nl>
9797         * Changed Guid.NewGuid so that it can use both System.Random and 
9798           System.Security.Cryptography.RandomNumberGenerator
9800 2002-02-09  Duco Fijma <duco@lorentz.xs4all.nl>
9801         * First version of Guid.NewGuid
9803 2002-02-08  Duncan Mak  <duncan@ximian.com>
9805         * RuntimeArgumentHandle.cs: Added to CVS.
9807 Fri Feb 8 19:14:54 CET 2002 Paolo Molaro <lupus@ximian.com>
9809         * CrossAppDomainDelegate.cs, AssemblyLoadEventHandler.cs,
9810         UnhandledExceptionEventHandler.cs: added delegates.
9812 Fri Feb 8 18:06:20 CET 2002 Paolo Molaro <lupus@ximian.com>
9814         * MarshalByRefObject.cs: add ToString () method
9815         (apparently needed by nunit).
9816         * _AppDomain.cs: uncomment ToString(): dietmar fixed the bug triggered
9817         by it in the runtime.
9819 2002-02-08  Dan Lewis <dihlewis@yahoo.co.uk>
9820         
9821         * String.cs (Format): implemented
9823 2002-02-07  Duncan Mak  <duncan@ximian.com>
9824         
9825         * DuplicateWaitObjectException:
9826         * InvalidCastException:
9827         * NotImplementedException:
9828         * NotSupportedException:
9829         * NullReferenceException:
9830         * OutOfMemoryException:
9831         * OverflowException:
9832         * RankException:
9833         * StackOverflowException.cs:
9834         * UnauthorizedAccessException: Added missing constructor used for serialization.
9836 2002-02-07  Dietmar Maurer  <dietmar@ximian.com>
9838         * String.cs (System.Compare): bug fix 
9840 2002-02-06  Dietmar Maurer  <dietmar@ximian.com>
9842         * Enum.cs (Parse,  GetHashCode): impl. 
9844 2002-02-05  Duncan Mak  <duncan@ximian.com>
9846         * DBNull.cs: This is my first crack at the DBNull class. I think I
9847         actually got most of the IConvertible methods right, but I haven't
9848         done the research to test whether or not this is the correct
9849         behavior. IConvertible.ToType () is the most iffy of all, IMHO.
9851         * DllNotFoundException.cs: Inherits from TypeLoadException, not SystemException.
9853 2002-02-05  Dietmar Maurer  <dietmar@ximian.com>
9855         * Enum.cs: added more functionality (GetName, ToObject, Equals)
9857 2002-01-31  Duncan Mak  <duncan@ximian.com>
9859         * InvalidOperationException.cs:
9860         * NotFiniteNumberException.cs:
9861         * ObjectDisposedException.cs:
9862         * TypeInitializationException.cs: Added missing bits for serialization/
9863         
9864         * AppDomainUnloadedException.cs:
9865         * ApplicationException.cs:
9866         * ArgumentOutOfRangeException.cs:
9867         * ArithmeticException.cs:
9868         * ArrayTypeMismatchException:
9869         * BadImageFormatException.cs:
9870         * Exception.cs:
9871         * MissingMemberException.cs:
9872         * TypeLoadException.cs: Added missing bits for serialization.
9874 2002-01-30  Duco Fijma <duco@lorentz.xs4all.nl>
9875         * Guid.cs: implemented everything but Guid.NewGuid
9877 Tue Jan 29 22:32:36 CET 2002 Paolo Molaro <lupus@ximian.com>
9879         * _AppDomain.cs: remove ToString() method: it doesn't seem right 
9880         to have it in this interface and it screws up the method vtable setup.
9882 2002-01-28  Andrei Zmievski <andrei@php.net>
9884         * Double.cs: implemented IConvertible interface.
9886 2002-01-28  Miguel de Icaza  <miguel@ximian.com>
9888         * ArgumentException.cs: Implement serialization constructor.
9889         (GetObjectData): Implement serializer.
9890         
9891         * ArgumentNullException.cs: Implement serialization constructor.
9893         * Exception.cs: Implement serialization constructor.
9894         (GetObjectData): Implement serializer.
9896 2002-01-23  Miguel de Icaza  <miguel@ximian.com>
9898         * DateTime.cs (UnixEpoch): The Begining of the Unix epoch.
9900 2002-01-23  Duncan Mak  <duncan@ximian.com>
9902         * EntryPointNotFoundException.cs:
9903         * FormatException: Added missing constructor and related bits.
9905         * TypeLoadException: Added missing constructor, methods and properties.
9907 2002-01-23  Miguel de Icaza  <miguel@ximian.com>
9909         * AppDomain.cs (GetAssemblies): Use foreach construct instead of
9910         manually getting the enumerator.
9912         (AppDomain.AppDomain): Prime the loaded assemblies with the
9913         assemblies loaded by the runtime in our behalf.
9915         * AppDomainSetup.cs: Remove private keyword, that is the default.
9916         Add a new property DisallowPublisherPolicy.
9918         * AppDomain.cs (AppDomain.GetAssemblies): Implement.
9920 Tue Jan 22 22:51:48 CET 2002 Paolo Molaro <lupus@ximian.com>
9922         * MonoType.cs, Type.cs: many updates, corrected implementation,
9923         completed stubs.
9925 2002-01-20  Andrei Zmievski <andrei@php.net>
9927         * Byte.cs:
9928         * Char.cs: implemented IConvertible interface.
9930         * Boolean.cs: use our own ToString() method directly.
9932 2002-01-20  Duncan Mak  <duncan@ximian.com>
9934         * Files I commited recently: Fixed indentation style.
9936 2002-01-20 Nick Drochak  <ndrochak@gol.com>
9938         * SerializableAttribute.cs: this attrib can be used on enums, structs, 
9939         and delegates too. Added the appropriate usage flags.
9941 2002-01-18  Duncan Mak  <duncan@ximian.com>
9943         * CharEnumerator.cs: Implemented.
9944         * String.cs (System): Fixed the GetEnumerator () method(s).
9946         * ObsoleteAttribute.cs:
9947         * STAThreadAttribute.cs:
9948         * MTAThreadAttribute.cs:
9949         * ThreadStaticAttribute.cs:
9950         * LoaderOptimizationAttribute.cs:
9951         * PlatformNotSupportedException.cs:
9952         * LoaderOptimization.cs: Added to CVS.
9954 2002-01-18  Duncan Mak  <duncan@ximian.com>
9956         * AppDomainUnloadedException.cs:
9957         * MethodAccessException.cs:
9958         * ContextMarshalException.cs:
9959         * CannotUnloadAppDomainException.cs:
9960         * DllNotFoundException.cs:
9961         * EntryPointNotFoundException.cs:
9962         * FieldAccessException.cs:
9963         * TypeUnloadedException.cs:
9964         * MissingFieldException.cs: Added to CVS.
9966         * ApplicationException.cs: 
9967         * MemberAccessException.cs:
9968         * MissingMemberException.cs
9969         * MissingMethodException.cs:
9970         * SystemException.cs: Added [Serializable] attribute.
9972         * Exception.cs: Added [Serializable] attribute, made properties
9973         'Message', 'Source' and 'StackTrace' virtual methods, per 1.0
9974         spec.
9976         * ContextStaticAttribute.cs: Added [Serializable] attribute and
9977         put in the missing constructor.
9979         * Environment.cs: Commented out references to
9980         EnvironmentPermissionAttribute, because they're just stubbed out
9981         right now and has no implementation.
9983 2002-01-16  Andrei Zmievski <andrei@php.net>
9985         * Boolean.cs: implemented IConvertible interface
9987 2002-01-15  Nick Drochak  <ndrochak@gol.com>
9989         * ResolveEventArgs.cs: class should derive from EventArgs.
9991 2002-01-14  Miguel de Icaza  <miguel@ximian.com>
9993         * String.cs (System): Use DefaultMemberName for the String class.
9995 Mon Jan 14 17:06:40 CET 2002 Paolo Molaro <lupus@ximian.com>
9997         * String.cs: use IndexerName in index char accessor.
9999 Thu Jan 10 21:05:23 CET 2002 Paolo Molaro <lupus@ximian.com>
10001         * MonoType.cs: add rank to MonoTypeInfo and implement GetArrayRank.
10002         * String.c: eliminate 64k+ method calls in search.
10003         * Type.cs: handle byref and array types in ToString ().
10005 2002-01-09  Duco Fijma <duco@lorentz.xs4all.nl>
10007         * Guid.cs: created first version
10009 2002-01-10  Dietmar Maurer  <dietmar@ximian.com>
10011         * MonoType.cs: added missing TypeAttributes to MonoTypeInfo 
10013 Wed Jan 9 19:35:07 CET 2002 Paolo Molaro <lupus@ximian.com>
10015         * MulticastDelegate.cs: add == and != operator stubs.
10016         * String.cs: check for null in == operator.
10017         * Type.cs: use a virtual method to get TypeAttributes.
10019 Tue Jan  8 23:30:19 EST 2002 Matt Kimball <matt@kimball.net>
10020         * String.cs: Fixed several off-by-one errors in LastIndexOf* methods
10022 2002-01-09  Nick Drochak  <ndrochak@gol.com>
10023         
10024         * Environment.cs: Comment out Security attribute and put a MonoTODO
10025         there as a reminder.  We need mcs magic to handle security attributes in
10026         corlib.
10028 2002-01-07  Duco Fijma <duco@lorentz.xs4all.nl>
10029         * Created IAppDomainSetup.cs
10031 2002-01-06  Duco Fijma <duco@lorentz.xs4all.nl>
10032         * Created System._AppDomain interface in _AppDomain.cs
10034 2002-01-06  Nick Drochak  <ndrochak@gol.com>
10036         * ResolveEventArgs.cs: New File, completely implemented! ;)
10038 Sat Jan 5 15:53:50 CET 2002 Paolo Molaro <lupus@ximian.com>
10040         * Enum.cs: dummy ToString impl.
10041         * String.cs: dummy format implementations to get compiler errors
10042         somewhat working.
10043         * Type.cs: implemented filter delegates. FindMembers runs the filter, now.
10045 2002-01-05  Ravi Pratap  <ravi@ximian.com>
10047         * TODOAttribute.cs : Augment some more; provide two constructors
10048         with support for a comment too.
10050 2002-01-05  Nick Drochak  <ndrochak@gol.com>
10052         * Uncommented those MonoTODO's now that Ravi's got
10053         the class in there
10055 2001-01-04  Ravi Pratap  <ravi@ximian.com>
10057         * TODOAttribute.cs : Actually add this time ;-)
10059         Change name to MonoTODO.
10061 2002-01-04  Jeffrey Stedfast  <fejj@ximian.com>
10063         * String.cs (Trim): Fixed a few logic bugs in the code that
10064         calculated how much to trim off the end of the string.
10066 2001-01-04  Nick Drochak  <ndrochak@gol.com>
10067         
10068         * Commented out the [TODO] attributes for now.  We don't have the
10069         class written.  Also changed it to [MonoTODO]
10071 2002-01-04  Ravi Pratap  <ravi@ximian.com>
10073         * TODOAttribute.cs : Add. We use this attribute to tag all bits in
10074         our class libraries that are incomplete.
10076         * Array.cs : Apply attribute wherever we find a FIXME which says
10077         we need something to be implemented there.
10079         * Int32.cs : Ditto.
10081         * MulticastDelegate.cs : Ditto.
10083         * RuntimeFieldHandler.cs, RuntimeMethodHandle.cs,
10084         RuntimeTypeHandle.cs : Ditto.
10086         * String.cs : Ditto.
10088         * Type.cs : Ditto.
10090         * Byte.cs, Char.cs, ContextBoundObject.cs, DateTime.cs, Delegate.cs : Ditto.
10092         * Enum.cs, Environment.cs, Exception.cs, Int64.cs, SByte.cs, Single.cs, 
10093         UInt16.cs, UInt32.cs, ValueType.cs: Ditto.
10095         * Byte.cs, Char.cs, ContextBoundObject.cs, DateTime.cs,
10096         Delegate.cs : Ditto.
10098         * Enum.cs, Environment.cs, Exception.cs, Int64.cs, SByte.cs,
10099         Single.cs, UInt16.cs, UInt32.cs, ValueType.cs: Ditto.
10100         
10101 Thu Jan 3 23:24:04 CET 2002 Paolo Molaro <lupus@ximian.com>
10103         * Delegate.cs: add Remove() stub.
10104         * Enum.cs: add ToObject().
10105         * Type.cs: add IsEnum property.
10107 2002-01-03  Kristian Rietveld  <kris@gtk.org>
10109         * Convert.cs: add non-CLS-compliant ToBoolean methods for char,
10110         DateTime and object.
10112 2001-12-30  Nick Drochak  <ndrochak@gol.com>
10114         * Byte.cs (Parse): Add comments to aid in testing.
10116 2001-12-21  Miguel de Icaza  <miguel@ximian.com>
10118         * Char.cs (Parse): Implement.
10120         * Byte.cs (Parse): Implement a fast parser.
10121         
10122         * SByte.cs (Parse): Implement a fast parser.
10124         * UInt16.cs (Parse): Implement a fast parser.
10125         
10126         * Int16.cs (Parse): Implement a fast parser.
10128         * UInt32.cs (Parse): Implement a fast parser.
10130         * Int32.cs (Parse): Implement a fast parser.
10132 Fri Dec 21 15:14:52 CET 2001 Paolo Molaro <lupus@ximian.com>
10134         * Array.cs: fix null ref in sort code.
10135         * UInt64.cs: add bare-bones parse.
10137 Thu Dec 20 15:29:52 CET 2001 Paolo Molaro <lupus@ximian.com>
10138         
10139         * Byte.cs: removed use of Regexes.
10141 Tue Dec 18 18:39:54 CET 2001 Paolo Molaro <lupus@ximian.com>
10143         * Enum.cs: implemented GetValues(), GetNames(), GetName(),
10144         IsDefined(), GetUnderlyingType().
10145         * String.cs: fix one instance of Compare().
10146         * Type.cs: implemented GetProperties(), GetProperty().
10148 Thu Dec 13 20:10:57 CET 2001 Paolo Molaro <lupus@ximian.com>
10150         * Array.cs: implement CopyTo ().
10151         * Char.cs: implement ToString ().
10152         * Exception.cs: bugfix.
10153         * Int32.cs: bare-bones Parse ().
10154         * MonoType.cs: query the needed info with an internalcall.
10155         * String.cs: speedups, bugfixes, reduced copies.
10156         * Type.cs: added missing fields. Implemented many of the Is*
10157         properties. Implemented GetMethod(), GetConstructor(), GetMethods(),
10158         GetFields(), FindMembers(), ToString().
10159         
10160 2001-12-11  Dick Porter  <dick@ximian.com>
10162         * DateTime.cs: Implemented FromFileTime() and ToFileTime()
10164         * Console.cs: Use handles rather than casting file descriptors
10166 2001-12-08  Nick Drochak  <ndrochak@gol.com>
10168         * Byte.cs (Parse): Start implementation. Parse(string) works, but
10169         now we need to handle other formats
10171 2001-12-06  Dietmar Maurer  <dietmar@ximian.com>
10173         * DateTime.cs: added an icall to GetNow()
10175 2001-12-04  Dietmar Maurer  <dietmar@ximian.com>
10177         * Double.cs: added the parse method from Bob Smith
10179 2001-11-28  Miguel de Icaza  <miguel@ximian.com>
10181         * UInt64.cs: ditto.
10183         * UInt32.cs: ditto.
10185         * Int32.cs (Int32.CompareTo): Fix because we can not just
10186         substract the values.
10188         Return possitive value if the object is null.
10190         * Boolean.cs: (Boolean.CompareTo): ditto.
10192         * Int16.cs (Int16.CompareTo): ditto.
10194         * Byte.cs (Byte.CompareTo): ditto.
10196         * SByte.cs (SByte.CompareTo): ditto.
10198         * Char.cs (Char.CompareTo): ditto.
10199         
10200         * Decimal.cs (Decimal.CompareTo): ditto.
10202         * Int64.cs (Int64.CompareTo): ditto.
10204         * Single.cs: Ditto.
10206         * UInt16.cs: Ditto.
10208 2001-11-28  Nick Drochak <ndrochak@gol.com>
10210         * Byte.cs: Throw NotImplementedException for Parse.
10212 2001-11-27  Derek Holden  <dholden@draper.com>
10214         * IntegerFormatter.cs: Formatting of type "Number" was not
10215         using NumberFormatInfo.NumberNegativePattern.
10217 2001-11-26  Dick Porter  <dick@ximian.com>
10219         * LocalDataStoreSlot.cs: No need to delete a system TLS slot in
10220         the finalise routine any more
10222 2001-11-21  Miguel de Icaza  <miguel@ximian.com>
10224         * ApplicationException.cs: internationalize by adding calls to
10225         Locale.GetText ().  And throw NotImplementedExceptions on calls
10226         that we have to implement.
10228         * Version.cs: Ditto.
10230         * ValueType.cs: ditto.
10232         * UnauthorizedAccessException.cs: ditto.
10234         * UInt32.cs: ditto.
10236         * UInt64.cs: ditto.
10238         * UInt16.cs: ditto.
10240         * TypeLoadException.cs: ditto
10242         * TypeInitializationException.cs: ditto.
10244         * Type.cs: ditto.
10246         * TimeSpan.cs: ditto.
10248         * SystemException.cs: ditto.
10250         * String.cs: ditto.
10252         * StackOverflowException.cs: ditto.x
10254         * Single.cs: ditto.
10256         * SByte.cs: ditto.
10258         * RuntimeTypeHandle.cs: ditto.
10260         * RuntimeMethodHandle.cs: ditto.
10262         * RuntimeFieldHandle.cs: ditto.
10264         * Random.cs: ditto.
10266         * OutOfMemoryException.cs: ditto.
10268         * OperatingSystem.cs: ditto.
10270         * ObjectDisposedException.cs: ditto.
10272         * NullReferenceException.cs: ditto.
10274         * NotImplementedException.cs: ditto.
10276         * NotFiniteNumberException.cs: ditto.o
10278         * MulticastNotSupportedException.cs: ditto.
10280         * MissingMethodException.cs: ditto.
10282         * MemberAccessException.cs: ditto.
10284         * Math.cs: ditto.
10286         * InvalidCastException.cs: ditto.
10288         * IntegerFormatter.cs: ditto.
10290         * Int32.cs: ditto.
10292         * Int16.cs: ditto.
10294         * IndexOutOfRangeException.cs: ditto.
10296         * Environment.cs: ditto
10298         * Enum.cs: ditto.
10300         * DuplicateWaitObjectException.cs: ditto.
10302         * DivideByZeroException.cs: ditto.
10304         * Delegate.cs: ditto
10306         * DecimalFormatter.cs: ditto.
10308         * Decimal.cs: ditto.
10310         * DateTime.cs: ditto.
10312         * Convert.cs: ditto.
10314         * Char.cs: ditto.
10316         * Byte.cs: ditto.
10318         * Boolean.cs: ditto.
10320         * ArrayTypeMismatchException.cs: ditto.
10322         * ArithmeticException.cs: ditto.
10324         * ArgumentOutOfRangeException.cs: ditto.
10326         * ArgumentNullException.cs: ditto.
10328         * Enum.cs: Make it derive from ValueType, add CompareTo method.
10330         * Attribute.cs: Reformat.
10332 2001-11-14  Miguel de Icaza  <miguel@ximian.com>
10334         * Decimal.cs, Double.cs, Byte.cs, Char.cs, Int16, UInt16, Int32,
10335         UInt32, Int64, UInt64, SByte, Single (CompareTo): Throw the
10336         exception if the value is null too.
10338         * Char.cs (CompareTo): ditto.
10340         * ApplicationException.cs: Added constructor that does serialization.
10342         * ParamArrayAttribute.cs: Define attribute correctly.
10344 Wed Nov 14 16:31:19 CET 2001 Paolo Molaro <lupus@ximian.com>
10346         * AppDomain.cs: rename dummy interface _AppDomain to AppDomain_Intf.
10347         * Array.cs: fix Array.Copy.
10348         * AssemblyLoadEventArgs.cs: rename field.
10349         * CLSCompliantAttribute.cs: use correct name for the class.
10350         * Char.cs: fix IsLetter.
10351         * Console.cs, DateTime.cs, Decimal.cs, IConvertible.cs, Math.cs,
10352         SByte.cs, UInt16.cs, UInt32.cs, UInt64.cs, UIntPtr.cs: CLSCompliant updates.
10353         * Convert.cs: CLSCompliant updates, add ChangeType() methods.
10354         * Delegate.cs: renamed target field to m_target.
10355         * Enum.cs: added missing methods.
10356         * MonoType.cs: add a constructor and some needed properties.
10357         * Object.cs: implement GetType().
10358         * String.cs: CLSCompliant updates. Fixes everywhere to remove the
10359         ending 0 char.
10360         * Type.cs: add missing methods/properties.
10362 2001-11-10  Sean MacIsaac  <macisaac@ximian.com>
10364         * AttributeUseage.cs: Should define AttributeUsageAttribute.
10366         * CLSCompliant.cs: Marked with AttributeUsage attribute.
10368         * Decimal.cs: Fixed CLSCompliant attributes.
10370         * Type.cs: changed _impl to internal (needs to be accessable by
10371         subclasses).
10373         (TypeHandle): Marked as abstract, implementation removed.
10375         (IsNotPublic, IsPublic, GetMethods, GetPropery, GetConstructor,
10376         GetMethod): Added stub implementations so NUnit would link against
10377         corlib
10379 Tue Nov 6 09:11:43 CET 2001 Paolo Molaro <lupus@ximian.com>
10381         * AppDomain.cs: use an internal constructor for AssemblyBuilder.
10383 2001-11-05  Miguel de Icaza  <miguel@ximian.com>
10385         * NonSerializedAttribute.cs: Add AttributeUsage rules for this
10386         attribute. 
10388 Fri Nov 2 18:23:15 CET 2001 Paolo Molaro <lupus@ximian.com>
10390         * String.cs: fix a couple of bugs.
10391         * AppDomain.cs: use new AppBuilder constructor.
10392         * Buffer.cs, GC.cs, NonSerializedAttribute.cs,
10393         NotImplementedException.cs, ObjectDisposedException.cs,
10394         UnauthorizedAccessException.cs: add implementation.
10395         * OverflowException.cs: fix class name.
10397 2001-10-28  Jeffrey Stedfast  <fejj@ximian.com>
10399         * String.cs: Don't use a terminating nil char for our internal
10400         array.
10402 2001-10-27  Miguel de Icaza  <miguel@ximian.com>
10404         * Delegate.cs (Delegate.CombineImpl): Implement.
10405         (Delegate.Combine): Implement.
10407         * MulticastDelegate.cs (MulticastDelegate.Equals): Implement.
10409         (MulticastDelegate.CombineImpl): This was not as trivial as I
10410         thought. 
10412         * ContextStaticAttribute.cs: Added AttributeUsage to
10413         ContextStaticAttribute. 
10415         * FlagsAttribute.cs: Add AttributeUsage to FlagsAttribute
10417 2001-10-15  Martin Weindel <martin.weindel@t-online.de>
10419         * added Decimal.cs * added DecimalFormatter.cs (internal class
10420         used from System.Decimal)
10422 2001-10-11  Thomas Neidhart <tome@sbox.tugraz.at>
10424         * Convert.cs: Added methods for Base64 transforming just used the
10425           existing System.Security.Cryptography.ToBase64Transform, should
10426           be changed to use a stand-alone class, e.g. Base64Encoder
10427           
10428 2001-10-10  Derek Holden  <dholden@draper.com>
10430         * IntegerFormatter.cs: Added. Implements ToString for all the
10431         integer data types for all the format types.
10433         * Byte.cs: Using IntegerFormatter for ToString's.
10435         * SByte.cs: Using IntegerFormatter for ToString's.
10437         * Int16.cs: Using IntegerFormatter for ToString's.
10439         * Int32.cs: Using IntegerFormatter for ToString's.
10441         * Int64.cs: Using IntegerFormatter for ToString's.
10443         * UInt16.cs: Using IntegerFormatter for ToString's.
10445         * UInt32.cs: Using IntegerFormatter for ToString's.
10447         * UInt64.cs: Using IntegerFormatter for ToString's.
10449 2001-10-07  Miguel de Icaza  <miguel@ximian.com>
10451         * Exception.cs: Implement bits of serialization.
10453         * RuntimeFieldHandle.cs: Implement Serialization features.
10455         * Type.cs: Implement TypeHandle property.
10457 2001-09-28  Dick Porter  <dick@ximian.com>
10459         * LocalDataStoreSlot.cs: Implemented
10461 Tue Sep 25 19:58:14 CEST 2001 Paolo Molaro <lupus@ximian.com>
10463         * String.cs: fix off-by-one error in Trim().
10465 Tue Sep 25 18:52:14 CEST 2001 Paolo Molaro <lupus@ximian.com>
10467         * Type.cs: added GetType () method.
10469 Tue Sep 25 17:29:02 CEST 2001 Paolo Molaro <lupus@ximian.com>
10471         * MissingMethodException.cs, MissingMemberException.cs,
10472         MemberAccessException.cs: added.
10474 Tue Sep 25 16:46:43 CEST 2001 Paolo Molaro <lupus@ximian.com>
10476         * String.cs: don't access the string array out of bounds in
10477         LastIndexOf.  * Type.cs: fix return type of the Assembly property.
10479 Mon Sep 24 20:35:24 CEST 2001 Paolo Molaro <lupus@ximian.com>
10481         * String.cs: make Intern and IsIntern internalcalls.
10483 2001-09-13  Dick Porter  <dick@ximian.com>
10485         * Type.cs: Added a stub for the IsValueType property.
10487         * SystemException.cs (System): Added the other constructor, so
10488         that System.Threading exceptions can inherit it.
10490 2001-09-08  Jeffrey Stedfast  <fejj@ximian.com>
10492         * String.cs (TrimStart): Don't keep looping through the trimchars
10493         once we've found a match.
10494         (TrimEnd): Same here.
10495         (Trim): And finally here.
10497 2001-09-07  Ravi Pratap  <ravi@ximian.com>
10499         * Char.cs (IsLetterOrDigit): Implement.
10500         (IsLower): Implement, but we need to be Unicode aware.
10501         (IsNumber): Implement.
10502         (IsPunctuation): Implement.
10503         (IsWhiteSpace): Implement.
10504         (ToUpper): Fix to subtract 32 from the ASCII value, not 33 :)
10505         (ToLower): Same here.
10507 2001-09-04  Miguel de Icaza  <miguel@ximian.com>
10509         * Object.cs: Shortcut, if (a == b) then return true.
10511 Fri Sep 7 18:34:48 CEST 2001 Paolo Molaro <lupus@ximian.com>
10513         * Delegate.cs: we need a pointer to the method thunk in
10514         the delegate object.
10516 Fri Sep 7 12:28:01 CEST 2001 Paolo Molaro <lupus@ximian.com>
10518         * AsyncCallback.cs, common.src: add AsyncCallback delegate.
10520 2001-09-06  Jeffrey Stedfast  <fejj@ximian.com>
10522         * String.cs (System): Don't mix uint and int.
10524 2001-09-04  Jeffrey Stedfast  <fejj@ximian.com>
10526         * String.cs (BoyerMoore): Modified to not use pointers and to instead
10527         use indexes.
10528         (IndexOf): Use BoyerMoore.
10530 2001-09-02  Miguel de Icaza  <miguel@ximian.com>
10532         * All over: Use the autogenerated enumerations from the ECMA
10533         documentation that Sergey wrote.
10534         
10535         * PlatformID.cs: Add Unix definition.
10537         * OperatingSystem.cs: Use Unix instead of Linux here.
10539         * MarshalByRefObject.cs: Mark class as [Serializable].
10541 2001-08-28  Dietmar Maurer  <dietmar@ximian.com>
10543         * Console.cs: impl. (write only)
10544         implemented the stdin stuff
10546         * Int32.cs: impl. real op_Equal
10548 2001-08-24  Miguel de Icaza  <miguel@ximian.com>
10550         * (common.src): Removed IAsyncResult as it is not on CVS yet.
10552         * UIntPtr.cs: Removed CLSCompliant attribute before the namespace,
10553         as it breaks the build.
10555 2001-08-23  Michael Lambert <michaellambert@email.com>
10557         * IntPtr.cs: Optimized unsafe declaration, implemented GetObjectData, 
10558         added CLSCompliant attribute
10560         * IAsyncResult.cs: Added
10562         * common.src: Added IAsyncResult.cs
10564 2001-08-23  Michael Lambert <michaellambert@email.com>
10566         * UIntPtr.cs: Added
10568         * common.src: Added UIntPtr.cs
10570 2001-08-20  Dietmar Maurer  <dietmar@ximian.com>
10572         * Attribute.cs: uncomment some code to make it compile again
10574         * mono.src: removed duplicated Attribute.cs
10576 2001-08-16  Nick Drochak <ndrochak@gol.com>
10578         * Attribute.cs: implemented all methods except GetHashCode()
10580         * common.src: added Attribute.cs so it would compile in
10582 2001-08-10  Dietmar Maurer  <dietmar@ximian.com>
10584         * Object.cs: changed MemberWiseClone to MemberwiseClone, and
10585         marked it as InternalCall
10586         
10587         * common.src: removed UriFormatException.cs because the file is
10588         not there.
10590         * RuntimeTypeHandle.cs: replaced IntrPtr with IntPtr
10591         * Char.cs: replaced byte with char
10593         * Array.cs: make it work with the mono interpreter
10595 2001-08-06  Miguel de Icaza  <miguel@ximian.com>
10597         * Version.cs: Make the class sealed
10599 2001-08-08  Bob Smith  <bob@thestuff.net>
10601         * Random.cs: Many compile fixes.
10602         * Random.cs: I read a bad spec. Class updated to match real spec.
10604 2001-08-06  Miguel de Icaza  <miguel@ximian.com>
10606         * IntPtr.cs: Added and Completed implementation.
10608         * Uri.cs: Add a note.
10610 2001-08-06  Bob Smith  <bob@thestuff.net>
10612         * Random.cs: Compile fix. Needs more testing.
10614 2001-08-06 Garrett Rooney <rooneg@electricjellyfish.net>
10616         * Uri.cs: Initial Implementation.  Parsing needs to be fixed to take 
10617         into account IPv6 addresses, url encoding needs to be implemented, and 
10618         various minor methods need to be written, but this is a decent start.
10620 2001-08-06  Dietmar Maurer  <dietmar@ximian.com>
10622         * common.src: added Object.cs
10624         * mono.src: added ValueType.cs
10626 2001-08-02  Dietmar Maurer  <dietmar@ximian.com>
10628         * Math.cs: replaced libc with libm
10630 2001-08-02  Bob Smith  <bob@thestuff.net>
10632         * Random.cs: Implemented. Needs testing.
10634 2001-08-02  Miguel de Icaza  <miguel@ximian.com>
10636         * IServiceProvider.cs, EventHandler.cs: New files.
10638 2001-08-02  Marcel Narings  <marcel@narings.nl>
10639         
10640         * DateTime.cs: Cleaned up a bit. Added the Add* family members.
10641         Added exceptions. Added IConvertible. Still needs some platform 
10642         dependend stuff, the Parse and ToString members
10644 2001-08-01  Dietmar Maurer  <dietmar@ximian.com>
10646         * Type.cs (GetTypeFromHandle): added placeholder 
10648 2001-07-24  Derek Holden  <dholden@draper.com>
10650         * Boolean.cs: Formatted to code style standard. Added GetTypeCode
10651         which is really an IConvertible defined method.
10653         * Byte.cs: Added a missing Parse method. Put in Parse and ToString
10654         behavior, still need to do the main Parse and ToString.
10656         * Char.cs: Added a bunch of missing ECMA methods. Commented a
10657         specification discrepency. Still didn't any unicode stuff, though
10658         every IsFoo(char c) method has an IsFoo(string, index)
10659         counterpart, added wrappers for those.
10660         
10661         * Convert.cs: Fixed NaN/Inf checking and double/float
10662         rounding. Added ToType for IConvertible classes
10664         * Double.cs: Fixed ECMA min and max values. Added IsInfinity /
10665         IsNaN methods. Changed Inf/NaN internals.
10667         * IConvertible.cs: Added comments for using
10668         Convert.ToType. Changed return values to draft base values.
10670         * Int16.cs: Added a missing Parse statement. Put in behavior for
10671         overloaded ToString and Parse methods.
10673         * Int32.cs: Added a missing Parse statement. Put in behavior for
10674         overloaded ToString and Parse methods.
10676         * Int64.cs: Added a missing Parse statement. Put in behavior for
10677         overloaded ToString and Parse methods.
10678         
10679         * Single.cs: Put in ECMA epsilon value. Added IsInfinity / IsNaN
10680         methods. Changed Inf/NaN internals.
10682         * SByte.cs: Added a missing Parse method. Put in Parse and
10683         ToString behavior, still need to do the main Parse and ToString.
10685         * UInt16.cs: Added a missing Parse statement. Put in behavior for
10686         overloaded ToString and Parse methods.
10688         * UInt32.cs: Added a missing Parse statement. Put in behavior for
10689         overloaded ToString and Parse methods.
10691         * UInt64.cs: Added a missing Parse statement. Put in behavior for
10692         overloaded ToString and Parse methods.
10693         
10694 2001-07-20  Miguel de Icaza  <miguel@ximian.com>
10696         * MulticastDelegate.cs: New File.
10698         * Delegate.cs: New file.
10700         * Enum.cs: New file.
10702         * Attribute.cs: New file.
10704         * Type.cs: New file.
10706         * ParamArrayAttribute.cs: New file.
10708         * RuntimeTypeHandle.cs: New file.
10710         * MulticastDelegate.cs: Added.
10712         * DateTime.cs: Added
10714         * Delegate.cs: Added
10716 2001-07-18  Michael Lambert <michaellambert@email.com>
10718         * AttributeTargets.cs: Add.
10720 2001-07-19  Jeffrey Stedfast  <fejj@ximian.com>
10722         * Char.cs: Made ToUpper and ToLower public methods.
10724         * String.cs: Lots and lots of compile fixes - just need to write
10725         DateTime.cs and this should build completely now.
10727 2001-07-19  Bob Smith (bob@thestuff.net)
10729         * Math.cs: Implemented. 
10731 2001-07-19  Miguel de Icaza  <miguel@ximian.com>
10733         * String.cs: Removed tolower and toupper.
10735         * Char.cs: Moved ToLower and ToUpper from string to here. 
10737         * Convert.cs ToByte (float value), ToByte (double value) Use IsNan
10738         instead of comparing the value to Nan.
10740 2001-07-19  Duco Fijma (duco@lorentz.xs4all.nl)
10742         * TimeSpan.cs: New implementation.
10744 2001-07-18  Scott Sanders <scott@stonecobra.com>
10746          * UriFormatExcpetion.cs: Add - 85% complete
10748 2001-07-17  Jeffrey Stedfast  <fejj@ximian.com>
10750         * String.cs (IndexOf): Slight optimization that allows skipping
10751         over a few chars here and there. This isn't as good as using my
10752         Boyer-Moore implementation, however, Boyer-Moore is only really
10753         good for long strings (I plan on making the code decide which
10754         string search algorithm it should use on-the-fly at some point).
10755         (LastIndexOf): Fix to work correctly.
10756         (BoyerMoore): Took out some unneeded code and fixed an edge-case.
10758 2001-07-16  Michael Lambert <michaellambert@email.com>
10760         * EventArgs.cs: Add.
10761         
10762 2001-07-16  Miguel de Icaza  <miguel@ximian.com>
10764         * Version.cs: Remove my buggy comment.
10766 2001-07-15  Sean MacIsaac  <macisaac@ximian.com>
10768         * String.cs: Spelling error of IComparable, object's
10769         MemberwiseClone cannot be overridden.  Made indexer valid for now,
10770         but not sure what to do about this in the long run.  Seems to be a
10771         couple bugs in csc.exe having to do with multiple pointer defs in
10772         the same statement, and returning subclasses of a class in the
10773         return type of an interface function implementation.  Also moved
10774         operators inside of class definition.
10776 2001-07-14  Jeffrey Stedfast  <fejj@ximian.com>
10778         * String.cs: A tom of compile fixes, although we still don't compile.
10780         * IConvertible.cs: The To*Int64() methods return *Int64's, not
10781         *Int32's. Also, it's ToDateTime() not ToDateType().
10783 2001-07-14  Jeffrey Stedfast  <fejj@ximian.com>
10785         * String.cs: Apparently I needed to at least write stubs for the
10786         IConvertible interfaces. *sigh*
10788 2001-07-14  Jeffrey Stedfast  <fejj@ximian.com>
10790         * String.cs: Many logic/other fixes and better usage of the
10791         features of c#
10792         (tolower): New convenience method to help condense code.
10793         (toupper): Another new helper method.
10794         (Compare): Use the new helper methods.
10795         (ToLower): use tolower().
10796         (ToUpper): use toupper().
10797         (LastIndexOfAny): Implemented.
10798         (BoyerMoore): New private helper method that implements a modified
10799         version of the Boyer-Moore search algorithm. Noothing uses it yet
10800         as I'm not 100% sure it even works properly with unicode strings
10801         not to mention it uses a huge lookup-table :-)
10802         (Split): Implemented.
10804 2001-07-13  Jeffrey Stedfast  <fejj@ximian.com>
10806         * TODO: Added things that need to be finished in System.String
10808         * String.cs: New source file implementing the System.String class
10810 2001-07-12  Sean MacIsaac  <macisaac@ximian.com>
10812         * TypeCode.cs: UInt64 was UInt63.
10814         * Object.cs: Fixed a numer of compiler errors.
10816         * Array.cs: Fixed some compiler errors.
10818         * IComparable.cs: Fixed some compiler errors.
10820         * ICloneable.cs: Fixed some compiler errors.
10822         * IConvertible.cs: Fixed some compiler errors.
10824         * IFormattable.cs: Fixed a compiler error.
10826         * IFormatProvider.cs: Fixed a compiler error.
10828         * IDisposable.cs: Fixed a compiler error.
10830         * IFormatProvider.cs: Added public accesability type to
10831         IFormatProvider.
10833         * Exception.cs: Added a using statement to remove compile time
10834         error.
10836         * ApplicationException.cs: Removed a ; that was causing a compiler
10837         error.
10839         * Int16.cs: Fixed some compiler errors.
10841         * Int32.cs: Fixed some compiler errors.
10843         * Int64.cs: Fixed some compiler errors.
10845         * SystemException.cs: Fixed a compiler error.
10847         * UInt16.cs: Fixed some compiler errors.
10849         * UInt32.cs: Fixed some compiler errors.
10851         * UInt64.cs: Fixed some compiler errors.
10853         * Void.cs: Fixed a compiler error.      
10855 2001-07-12  Joe Shaw  <joe@ximian.com>
10857         * Array.cs: Fix backwards parameters to Array.SetValue()
10858         throughout.
10859         (BinarySearch): Fix backward logic surrounding whether to call
10860         value.CompareTo or comparer.Compare.
10861         (LastIndexOf): Stop being stupid. I am so not used to strongly
10862         bounded arrays...
10863         (Sort): Implement a quicksort.
10865 2001-07-11  Joe Shaw  <joe@ximian.com>
10867         * Array.cs: Change all instances of trying to access an array with
10868         the index operator to calls to GetValue and SetValue, and add
10869         InternalGetValue and InternalSetValue which are internal calls
10870         into the runtime. Ew.
10872 2001-07-10  Joe Shaw  <joe@ximian.com>
10874         * Array.cs: Implemented everything but Sort().
10876 2001-07-09  Jeffrey Stedfast  <fejj@ximian.com>
10878         * Object.cs (Object::Equals): Object variable name is `o'.
10880 2001-07-06  Joe Shaw  <joe@ximian.com>
10882         * Int16.cs, Int32.cs, Int64.cs, UInt16.cs, UInt32.cs, UInt64.cs:
10883         Implement the IComparable and IFormattable interfaces. Fix a typo
10884         (publig -> public)
10886         * ApplicationException.cs, ArgumentException.cs,
10887         ArgumentNullException.cs, ArgumentOutOfRangeException.cs,
10888         ArtithmeticException.cs, ArrayTypeMismatchException.cs,
10889         DivideByZeroException.cs, DuplicateWaitObjectException.cs,
10890         ExecutionEngineException.cs, FormatException.cs,
10891         IndexOutOfRangeException.cs, InvalidCastException.cs,
10892         InvalidOperationException.cs, InvalidProgramException.cs,
10893         MulticateNotSupportedException.cs, NotFiniteNumberException.cs,
10894         NotSupportedException.cs, NullReferenceException.cs,
10895         OutOfMemoryException.cs, OverflowException.cs, RankException.cs,
10896         StackOverflowException.cs, SystemException.cs,
10897         TypeInitializationException.cs: Added all of the exceptions
10898         specified by the language spec. Mmmm... bloat.
10900 2001-07-06  Miguel de Icaza  <miguel@ximian.com>
10902         * Int64.cs, Int32.cs: Put.  Parsing and ToString missing.  Should
10903         do a generic routine all of these guys use.
10905         * Int16.cs: identified missing methods.
10907         * UInt16.cs, UInt32.cs, UInt64.cs: Add.
10909 2001-06-26  Miguel de Icaza  <miguel@ximian.com>
10911         * TypeCode.cs: Implement
10913         * Void.cs: Implement.
10915         * TODO: Add file to keep track of pending tasks.
10917         * Object.cs, ValueType.cs: Implement.