2010-04-16 Rodrigo Kumpera <rkumpera@novell.com>
[mono-project.git] / mcs / class / corlib / System / ChangeLog
blob5b55f78df87ef05bd4685fc59a0e630e318ae3dd
1 2010-04-16 Rodrigo Kumpera  <rkumpera@novell.com>
3         * MonoType.cs (GetInterface): Compare against the name
4         of the generic type definition.
6         Fixes #484246.
8 2010-04-16 Rodrigo Kumpera  <rkumpera@novell.com>
10         * MonoCustomAttrs.cs (GetBasePropertyDefinition): Use
11         GetBaseMethod instead of GetMethodDefinition otherwise
12         we skip intermediate overloads.
14         Fixes #499569.
16 2010-04-16  Sebastien Pouliot  <sebastien@ximian.com>
18         * Environment.cs: Ensure elevated trust when calling
19         GetFolderPath on Moonlight
21 2010-04-16  Sebastien Pouliot  <sebastien@ximian.com>
23         * Action.cs: SL4 moved some Action in mscorlib
24         * Funcs.cs: SL4 moved some Func<> in mscorlib
25         * String.cs: Make IsNullOrWhiteSpace available, internally, 
26         before NET_4_0 (or SL4) since it's proving useful.
28 2010-04-15  Jb Evain  <jbevain@novell.com>
30         * Guid.cs: rework the Guid parser to implement the net_4_0
31         [Try]ParseExact methods.
33 2010-04-15  Jérémie Laval  <jeremie.laval@gmail.com>
35         * Tuple.cs:
36         * Tuples.cs: Add BOOTSTRAP_NET_4_0 define
38 2010-04-13 Rodrigo Kumpera  <rkumpera@novell.com>
40         * MonoCustomAttrs.cs: Raise an exception if the runtime
41         returned a null cattr.
43 2010-04-13  Zoltan Varga  <vargaz@gmail.com>
45         * Convert.cs (ToInt32): Do a checked cast. Fixes #596339.
47 2010-04-12  Carlos Alberto Cortez <calberto.cortez@gmail.com>
49         * TimeSpan.cs: Implement support for custom formats parsing. This
50         should as well include the bits required to easily implement the same
51         for ToString methods, when the final release fixes the mess we found
52         in the latest beta.
54 2010-04-08 Rodrigo Kumpera  <rkumpera@novell.com>
56         * Type.cs: Add ResolveInternal virtual call that
57         resolves a given type to it's concrete type.
59 2010-03-07 Rodrigo Kumpera  <rkumpera@novell.com>
61         * Enum.cs (GetInfo): Don't use isinst tests as they can
62         return true for both signed and unsigned version of a
63         primitive type.
65         * Enum.cs (FindPosition): Ditto.
67 2010-04-06  Marek Safar  <marek.safar@gmail.com>
69         * Array.cs: Don't make read-only collection read-only.
71 2010-03-31  Miguel de Icaza  <miguel@novell.com>
73         * UInt32.cs, Int64.cs, UInt64.cs: cope with the case that the
74         IFormatProvider is not a NumberFormatInfo, preventing a crash.
75         This was already handled by Int32.cs, but these other routines
76         were never properly updated. 
78         Fixes #588356
80         * DateTimeOffset.cs: Add support for format K in DateTimeOffset,
81         fixes bug 589227.
83         * DateTime.cs: Add serialization support, fixes #588198.
85         Perhaps we should change the format as well since this is the new
86         format serialized anyways (see bug 592221, it saves 4 bytes of
87         memory as well)
89 2010-03-30  Sebastien Pouliot  <sebastien@ximian.com>
91         * InvalidTimeZoneException.cs
92         * TimeZoneNotFoundException.cs:
93                 Fix Moonlight since these types now reside in mscorlib
94                 (instead of System.Core) for NET_4_0 and also for SL4
96 2010-03-30  Jb Evain  <jbevain@novell.com>
98         * MonoType.cs: let the binder reorder arguments when invoking
99         params methods.
100         * Activator.cs (CreateInstance): use BindToMethod instead of
101         SelectMethod to make sure that params constructors are properly called.
103         Fixes #591877
105 2010-03-29  Carlos Alberto Cortez <calberto.cortez@gmail.com>
107         * TimeSpan.cs: Implement all the overloads of both TryParseExact and
108         ParseExact methods, by detecting the specific semantic changes in the
109         parse process, so we can properly re-utilize our new approach. This
110         included indicating our parser its culture sensitiveness, usage of colon as
111         day separator fallback or as a precise separator, and other minor bits.
112         We are only missing composite parsing right now.
114 2010-03-29  Sebastien Pouliot  <sebastien@ximian.com>
116         * AppDomainSetup.cs: Add new (FX4 and SL4) SetCompatibilitySwitches
117         method (empty is good enough for moonlight testing)
118         * Environment.cs: Expose MyVideos in Moonlight build
120 2010-03-26  Carlos Alberto Cortez <calberto.cortez@gmail.com>
122         * TimeSpan.cs: We always give higher precedence to the first found
123         error, but for versions before 4.0 we need to give a higher one to
124         per-element overflow *specifically* (as opposed to int32 overflow,
125         which remains the same). This is not needed for 4.0, so report
126         per-element overflow as a normal error. 
127         This should fix a compatibility case, as well as simplifying the code.
129 2010-03-25 Gonzalo Paniagua Javier <gonzalo@novell.com>
131         * MonoAsyncCall.cs: remove unused field.
132         * Delegate.cs: add new IsTransparentProxy property.
133         * MulticastDelegate.cs: add new HasSingleTarget property.
134         * Environment.cs: bump up corlib version.
136 2010-03-25  Sebastien Pouliot  <sebastien@ximian.com>
138         * AppDomain.cs: Add new properties that are in both FX4 and SL4
139         since Moonlight needs them (for testing purpose).
140         * Environment.cs: FailFast overloads are present in SL4 (and also
141         needed for testing Moonlight)
143 2010-03-24  Sebastien Pouliot  <sebastien@ximian.com>
145         * AppDomain.cs: Change default value from null to false for new
146         (NET_4_0 and SL4) IsCompatibilitySwitchSet. Not sure when (or even
147         if) it can return null (at least not when testing SL4 RC). 
148         Fix DRT198
150 2010-03-22  Carlos Alberto Cortez <calberto.cortez@gmail.com>
152         * TimeSpan.cs: When parsing ticks, we used to only parse
153         the first 7 digits, and more than that would cause a FormatException -
154         starting in 4.0 we need to throw an OverflowException, however. Also,
155         for hours/minutes/seconds, two or more preceding zeroes will cause an
156         OverflowException as well.
158 2010-03-22  Carlos Alberto Cortez <calberto.cortez@gmail.com>
160         * TimeSpan.cs: Create a new Parser.Execute method for 4.0 -and use the
161         previous impl for 2.0-, to handle the new semantics gracefully -
162         specifically the new 'dd:hh:mm:ss' format and related bits, instead of
163         of a ton of #ifdef blocks. Remove any 4.0 bits from the previous
164         version as well, to keep it clean.
166 2010-03-19  Carlos Alberto Cortez <calberto.cortez@gmail.com>
168         * TimeSpan.cs: Move the error detection code to a separate method.
169         This way depending on the version we decide what error takes
170         precedence: OverlowException in 2.0, and FormatException in 4.0. This
171         also lets us keep the Execute() code cleaner and easier to understand.
173 2010-03-18  Carlos Alberto Cortez <calberto.cortez@gmail.com>
175         * TimeSpan.cs: Put the error info in a single field, to make it easier
176         to preserve the very first error we get while parsing, and discard the
177         next ones. This will help us in a pair of cases where we were
178         overriding the previous error and reporting the wrong exception.
180 2010-03-17  Sebastien Pouliot  <sebastien@ximian.com>
182         * String.cs: SL4 includes new IsNullOrWhiteSpace and Concat/Join 
183         overloads.
185 2010-03-17  Carlos Alberto Cortez <calberto.cortez@gmail.com>
187         * TimeSpan.cs: TimeSpan is actually implementing IFormattable.
189 2010-03-17  Rolf Bjarne Kvinge  <RKvinge@novell.com>
191         * AppDomain.cs: Added MonoTODO for IsCompatibilitySwitchSet.
193 2010-03-16  Carlos Alberto Cortez <calberto.cortez@gmail.com>
195         * TimeSpan.cs: In 4.0 the Parse/TryParse methods always try to use its
196         associated CultureInfo.NumberFormat.NumberDecimalSeparator value, as well as
197         providing backwards compatibility by also supporting '.' as the
198         separator.
200 2010-03-16  Jb Evain  <jbevain@novell.com>
202         * AppDomainSetup.cs
203         * Tuple.cs
204         * ChangeLog
205         * Exception.cs
206         * String.cs
207         * Console.cs
208         * Tuples.cs
209         * Activator.cs
210         * AppDomain.cs:
211                 Use MOONLIGHT symbol to disambiguate MonoTouch and Moonlight code.
213 2010-03-16  Rolf Bjarne Kvinge  <RKvinge@novell.com>
215         * Enum.cs: Added a few 4.0 api to Moonlight.
217 2010-03-16  Rolf Bjarne Kvinge  <RKvinge@novell.com>
219         * AppDomain.cs: Added IsCompatibilitySwitchSet for .NET 4.0 and Moonlight.
221 2010-03-15  Carlos Alberto Cortez <calberto.cortez@gmail.com>
223         * TimeSpan.cs: In 4.0 if the part parsed as days exceeds the allowed
224         range -this is, 23-, then it is processed as days instead - opposed to
225         2.0, where we are throwing an OverflowException.
227 2010-03-15  Carlos Alberto Cortez <calberto.cortez@gmail.com>
229         * TimeSpan.cs: Make the colon parsing optional -and adjust the name to
230         reflect it-, so we can properly parse the case where we only have the
231         hours and minutes. This subtle bug was hidden before, since a string
232         such "10:12" would be parsed correctly, but "10:12  " (trailing white
233         space) was getting a FormatException.
235 2010-03-12  Sebastien Pouliot  <sebastien@ximian.com>
237         * Tuple.cs, Tuples.cs: Add them to NET_2_1 since they are parts
238         of SL4
240 2010-03-08  Carlos Alberto Cortez <calberto.cortez@gmail.com>
242         * TimeSpan.cs: Implement 4.0 overloads of TryParse/Parse.
244 2010-03-08  Carlos Alberto Cortez <calberto.cortez@gmail.com>
246         * TimeSpan.cs: Implement 4.0 ToString overloads.
248 2010-03-06 Rodrigo Kumpera  <rkumpera@novell.com>
250         * UIntPtr.cs: Remove some v4 custom attributes that were
251         on Beta2 but aren't there on RC.
253 2010-03-05  Carlos Alberto Cortez <calberto.cortez@gmail.com>
255         * TimeSpan.cs: Implement correctly the TryParse method, instead of
256         using a try/catch block.
258 2010-03-04 Rodrigo Kumpera  <rkumpera@novell.com>
260         * Type.cs : Fix for bug #574696: don't recurse into base types in GetMember when
261         getting properties.
262         Patch by Eberhard Beilharz <eb1@sil.org>
264 2010-03-03  Miguel de Icaza  <miguel@novell.com>
266         * Decimal.cs: Disable the fast double2decimal code, and go back to
267         string parsing as there is a rounding/precision bug.
269                 //
270                 // We cant use the double2decimal method
271                 // because it incorrectly turns the floating point
272                 // value 1.23456789E-25F which should be:
273                 //    0.0000000000000000000000001235
274                 // into the incorrect:
275                 //   0.0000000000000000000000001234
276                 //
277                 //    The code currently parses the double value 0.6 as
278                 //    0.600000000000000
279                 //
280                 // And we have a patch for that called (trim
282 2010-03-03 Rodrigo Kumpera  <rkumpera@novell.com>
284         * Type.cs (Equals): Better version that does less
285         trips to runtime land.
287 2010-03-03 Rodrigo Kumpera  <rkumpera@novell.com>
289         * MonoType.cs: Add v4 security properties.
291 2010-03-03 Rodrigo Kumpera  <rkumpera@novell.com>
293         * Type.cs: Add v4 security properties.
295 2010-03-03 Rodrigo Kumpera  <rkumpera@novell.com>
297         * Type.cs: Fix identation.
299 2010-03-03 Rodrigo Kumpera  <rkumpera@novell.com>
301         * Activator.cs: : Implement new v4 overloads and [Obsolete].
303 2010-03-03 Rodrigo Kumpera  <rkumpera@novell.com>
305         * AppDomain.cs: Add bunch of trivial overloads.
307 2010-03-01 Rodrigo Kumpera  <rkumpera@novell.com>
309         * TypeSpec.cs: New file. Managed code implementation of type name
310         parsing.
312         * Type.cs: Implement new v4 overloads of GetType.
314 2010-03-01  Zoltan Varga  <vargaz@gmail.com>
316         * Array.cs (CreateArray): Disallow creation of arrays of unfinished types.
318 2010-03-01  Miguel de Icaza  <miguel@novell.com>
320         * DateTime.cs (DoParse): patch from Tom Philpot, while using
321         TryParse if s is null, we should return false, not crash.
323 2010-02-28 Rodrigo Kumpera  <rkumpera@novell.com>
325         * Type.cs: Forgot a pair of #if NET_4_0.
327 2010-02-28  Miguel de Icaza  <miguel@novell.com>
329         * Decimal.cs: If the NumberFormatInfo is broken and contains the
330         same character for grouping than is used for decimals, the decimal
331         separator gets a priority.  This issue was exposed by the
332         Silverlight Test suite.
334         Allow null trailing characters when parsing, this is valid in
335         .NET: "5\0" and "5\0\0\0\0", but "5\05" is not.
337         * Decimal.cs: Enabling the unmanaged double to decimal and float
338         to decimal conversions code again as I am unable to find any
339         regressions in corlib, System.Data, the Silverlight test suite or
340         Rotor's test suite.
342         I am enabling it hoping that we can find the original problem that
343         lead us to use the slow path.
345 2010-02-27 Rodrigo Kumpera  <rkumpera@novell.com>
347         * AggregateException.cs: Fix ctor vibility.
349         * Type.cs: IsEnum and IsSerializable are virtual
350         properties now.
352         * Tuple.cs: Fix Tuple'8 Create method.
354 2010-02-27 Rodrigo Kumpera  <rkumpera@novell.com>
356         * UIntPtr.cs: Add some v4 custom attributes.
358 2010-02-27 Rodrigo Kumpera  <rkumpera@novell.com>
360         * Float.cs: New v4 operators.
362 2010-02-27 Rodrigo Kumpera  <rkumpera@novell.com>
364         * IntPtr.cs: Add some v4 custom attributes.
366 2010-02-27 Rodrigo Kumpera  <rkumpera@novell.com>
368         * Double.cs: New v4 operators.
370 2010-02-27 Rodrigo Kumpera  <rkumpera@novell.com>
372         * Type.cs: Make cor-compare happy.
374 2010-02-26 Rodrigo Kumpera  <rkumpera@novell.com>
376         * Lazy.cs: Implement all lazy modes.
378 2010-02-26 Rodrigo Kumpera  <rkumpera@novell.com>
380         * ExecutionEngineException.cs: Type is obsolete.
382 2010-02-26 Rodrigo Kumpera  <rkumpera@novell.com>
384         * Type.cs: Implement new v4 IsEnumDefined ().
386 2010-02-24 Rodrigo Kumpera  <rkumpera@novell.com>
388         * Type.cs: Implement new v4 GetEnumValue ().
390 2010-02-24 Rodrigo Kumpera  <rkumpera@novell.com>
392         * Type.cs: Implement new v4 GetEnumValues ().
394         * MonoType.cs: Ditto.
396 2010-02-23 Rodrigo Kumpera  <rkumpera@novell.com>
398         * Type.cs: Use the right kind of annotations.
400 2010-02-23 Rodrigo Kumpera  <rkumpera@novell.com>
402         * Type.cs:  Implement new v4 GetEnumNames ().
404 2010-02-22 Rodrigo Kumpera  <rkumpera@novell.com>
406         * Type.cs:  Implement new v4 GetEnumUnderlyingType ().
408 2010-02-22 Rodrigo Kumpera  <rkumpera@novell.com>
410         * Type.cs: Implement new v4 GetTypeCodeImpl ().
412 2010-02-19 Rodrigo Kumpera  <rkumpera@novell.com>
414         * Type.cs: Implement new v4 behavior for Equals.
415         
416 Fri Feb 19 09:05:36 CET 2010 Paolo Molaro <lupus@ximian.com>
418         * Decimal.cs: fixed Remainder (bug #576341).
420 2010-02-13 Gonzalo Paniagua Javier <gonzalo@novell.com>
422         * Environment.cs: implement SystemPageSize.
424 Fri Feb 12 18:38:01 CET 2010 Paolo Molaro <lupus@ximian.com>
426         * InsufficientExecutionStackException.cs: new exception type in 4.0.
428 2010-02-11 Rodrigo Kumpera  <rkumpera@novell.com>
430         * MonoType.cs: Implement GetCustomAttributesData.
432 2010-02-06  Chris Toshok  <toshok@ximian.com>
434         * AppDomain.cs (SetupInformationNoCopy): make this internal for
435         moonlight.
437 2010-02-02  Jérémie Laval  <jeremie.laval@gmail.com>
439         * AggregateException.cs:
440         * OperationCanceledException.cs: Port to .NET 4 beta 2 API
442 2010-01-31  Zoltan Varga  <vargaz@gmail.com>
444         * Enum.cs: Fix a warning.
446 2010-01-29  Carlos Alberto Cortez <calberto.cortez@gmail.com>
448         * Version.cs: Implement Parse and TryParse.
450 2010-01-28  Rolf Bjarne Kvinge  <RKvinge@novell.com>
452         * AppDomain.cs: LoadSatellite: add a boolean parameter specifiying
453         whether we should throw on exceptions or not.
455 2010-01-28  Rolf Bjarne Kvinge  <RKvinge@novell.com>
457         * TimeSpan.cs: TryParse: Handle null values to not throw ANEs.
459 2010-01-25 Gonzalo Paniagua Javier <gonzalo@novell.com>
461         * Array.cs: updates to the API from beta2.
462         * _AppDomain.cs: no GetLifeTimeService() in 4.0
464 2010-01-25  Carlos Alberto Cortez <calberto.cortez@gmail.com>
466         * Enum.cs: Implement TryParse and do the required refactoring of our
467         Parse method to support it.
469 2010-01-25  Atsushi Enomoto  <atsushi@ximian.com>
471         * Single.cs : parse MaxValue and PositiveInfinity as expected.
472           Patch by Tiaan Geldenhuys.
474 2010-01-21  Carlos Alberto Cortez <calberto.cortez@gmail.com>
476         * Activator.cs: When calling CreateInstance() and no default .ctor is
477         found for the type, don't pass the member argument to the
478         MissingMethodException, to have a better and simpler error message.
479         Fixes #396986.
481 2010-01-20 Gonzalo Paniagua Javier <gonzalo@novell.com>
483         * Tuples.cs: explicitly implement IStructural*.
485 2010-01-17  Carlos Alberto Cortez <calberto.cortez@gmail.com>
487         * UInt64.cs: Implement a lightweight version of the Parse method for
488         the overload that does not take IFormatProvider/NumberStyle
489         parameters - this gets us a nice speed up, just like we do for the
490         other number types.
491         Fixes #338022.
493 2010-01-15 Rodrigo Kumpera  <rkumpera@novell.com>
495         * Array.cs: Implement IStructuralComparer.
497 2010-01-15  Carlos Alberto Cortez <calberto.cortez@gmail.com>
499         * Int32.cs: In Parse() cast the parsed value to long *before* changing
500         its sign - this way we preserve the original value, instead of
501         accidentally changing it. This was happening parsing _exactly_
502         MaxValue + 1.
503         Fixes #475815.
505 2010-01-15  Atsushi Enomoto  <atsushi@ximian.com>
507         * DateTime.cs : In AddMilliseconds(), it seems fractional
508           milliseconds are first rounded and then added.
510 2010-01-15  Atsushi Enomoto  <atsushi@ximian.com>
512         * DateTimeOffset.cs : preserve fractions (it is somehow dropped).
514 2010-01-13  Atsushi Enomoto  <atsushi@ximian.com>
516         * Double.cs : no need to preserve old code.
518 2010-01-12  Atsushi Enomoto  <atsushi@ximian.com>
520         * Double.cs : AllowLeading/TrailingWhite should also check those
521           surrounding string constants such as "NaN".
523 2010-01-11  Carlos Alberto Cortez <calberto.cortez@gmail.com>
525         * Int32.cs: Implement support for exponent in the Parse methods.
526         Fixes #542464.
528 2010-01-10  Zoltan Varga  <vargaz@gmail.com>
530         * GC.cs: Add stubs for new net 4.0 methods.
532 2010-01-07  Jb Evain  <jbevain@novell.com>
534         * MonoType.cs (.MemberType): return the proper member type
535         for generic parameters.
537 2010-01-07  Sebastien Pouliot  <sebastien@ximian.com>
539         * Convert.cs: Fix line endings in ToBase64String (bug #568778)
540         and also the default line length. Code changed to not require
541         a BinaryReader over a MemoryStream to reduce memory requirements.
543 2010-01-07  Zoltan Varga  <vargaz@gmail.com>
545         * TermInfoDriver.cs (GetCursorPosition): Avoid waiting 1 sec here.
547 2010-01-03  Zoltan Varga  <vargaz@gmail.com>
549         * Array.cs: Fix ArrayReadOnlyList.CopyTo. Fixes #564095.
551 2010-01-03  Zoltan Varga  <vargaz@gmail.com>
553         * DateTime.cs (TryParseExact): Handle exceptions. Fixes #567857.
555 2009-12-21  Marek Habersack  <mhabersack@novell.com>
557         * Int32.cs: treat terminating null as whitespace
559 2009-12-19  Zoltan Varga  <vargaz@gmail.com>
561         * String.cs: Fix the various IndexOf and LastIndexOf methods so they handle
562         "" and a non-zero startIndex correctly. Fixes #566106.
564 2009-12-17  Sebastien Pouliot  <sebastien@ximian.com>
566         * String.cs: Fix #565602 right-padding empty strings.
568 2009-12-15  Marek Safar  <marek.safar@gmail.com>
570         * Array.cs: Optimize sort operations on all primitive types.
572 2009-12-14 Rodrigo Kumpera  <rkumpera@novell.com>
574         Type.cs (IsCompilerContext): The default implementation now checks if the
575         type's assembly is under compiler context or not.
577 2009-12-12 Rodrigo Kumpera  <rkumpera@novell.com>
579         * Environment.cs: Bump corlib version.
581 2009-12-12 Rodrigo Kumpera  <rkumpera@novell.com>
583         * MonoType.cs: Make the GetConstructorImpl machinery available
584         to be used by others.
586         * Type.cs (MakeGenericType): Is any of the arguments is not a system
587         type create an instance of MonoGenericClass instead. 
589 2009-12-09  Jb Evain  <jbevain@novell.com>
591         * StringComparer.cs (GetHashCode): properly throw
592         an ANE instead of an NRE.
594 2009-12-09  Miguel de Icaza  <miguel@novell.com>
596         * Enum.cs: Add new .NET 4.0 API.
598 2009-12-08  Marek Habersack  <mhabersack@novell.com>
600         * Type.cs: added overloads for the == and != operators (4.0).
602 2009-12-08 Rodrigo Kumpera  <rkumpera@novell.com>
604         * Type.cs: Add virtual property IsCompilerContext to cleanup
605         compiler context resolution across SRE.
607 2009-12-05  Mark Probst  <mark.probst@gmail.com>
609         * String.cs: A new LOS_limit variable which gives the maximum
610         string length that's not put in the LOS.
612         * StringBuilder.cs: Copy the string also if it's in the LOS and
613         chopping it would bring its size below the LOS limit.
615         * Environment.cs: Bump corlib version.
617 2009-12-03  Stephane Delcroix  <stephane@delcroix.org>
619         * DateTimeOffset.cs: fix dates arithmetic to avoid throwing
620         while crossing dst boundaries.
622 2009-12-03  Jb Evain  <jbevain@novell.com>
624         * Attribute.cs: remove code duplication.
626 2009-12-02  Jb Evain  <jbevain@novell.com>
628         * Enum.cs (IConvertible.ToType): properly convert enum values
629         to strings instead of their numeric value.
631 2009-12-02  Jb Evain  <jbevain@novell.com>
633         * Environment.cs (mono_corlib_version): bump.
634         * Attribute.cs: when retrieving custom attributes defined
635         on parameters belonging to a virtual method, walk
636         the inheritance chain to check for parameters attributes
637         all the way down.
639 2009-12-01  Jb Evain  <jbevain@novell.com>
641         * Type.cs (MakeByRefType): throw a TypeLoadException when being
642         called on type which is already ByRef.
644 2009-11-26  Sebastien Pouliot  <sebastien@ximian.com>
646         * Random.cs: Fix case where the diff between min and max
647         is very large in Next(int,int). Fix bug #558593
649 2009-11-25  Zoltan Varga  <vargaz@gmail.com>
651         * Delegate.cs (GetHashCode): Fix this so it is constant.
653 2009-11-24  Jb Evain  <jbevain@novell.com>
655         * Array.cs: use ContainsGenericParameters instead of
656         IsGenericTypeDefinition as it catches more cases.
658 2009-11-24  Jb Evain  <jbevain@novell.com>
660         * Array.cs (IList.this[int]): prevent the use of the IList indexer 
661         when dealing with a multi dimensional array.
663 2009-11-24  Jb Evain  <jbevain@novell.com>
665         * Array.cs (Clear): throw an IndexOutOfRangeException instead
666         of an ArgumentOutRangeException for a negative length.
668 2009-11-24  Jb Evain  <jbevain@novell.com>
670         * Array.cs (CreateInstance): do not allow open generic types.
672 2009-11-24  Jb Evain <jbevain@novell.com>
674         * Array.cs (CreateInstance): do not allow void arrays.
676 2009-11-23  Carlos Alberto Cortez <calberto.cortez@gmail.com>
678         * Array.cs: When sorting and we are sorting value types implementing
679         IComparable<T>, use its corresponding Comparer<T>.Default helper. 
680         This way we avoid casting our values to IComparable<T>, and thus we 
681         avoid *all* the boxing for them. Using Comparer<T>.Default seems to be
682         slower for reference types, so we don't use it for those ones.
684 2009-11-22  Miguel de Icaza  <miguel@novell.com>
686         * Environment (IsUnix): expose this common property, so we avoid
687         duplicating code. 
689 2009-11-18  Marek Safar  <marek.safar@gmail.com>
691         * Type.cs: Use faster string comparers.
693 2009-11-17  Atsushi Enomoto  <atsushi@ximian.com>
695         * DateTimeOffset.cs : fix parse failure on missing colon.
696           Fixed bug #547675, patch by Santa Marta (see bugzilla).
698 2009-11-13  Marek Safar  <marek.safar@gmail.com>
700         * Lazy.cs: Check recursive initializations.
702 2009-11-11 Rodrigo Kumpera  <rkumpera@novell.com>
704         * Type.cs: Fix Make(Array|ByRef|Pointer)Type to not crash
705         with user types. 
707         * Type.cs (MakeGenericType): Don't crash with user types.
709         * Type.cs (GetGenericParameterConstraints): Don't crash with user types.
711         * Type.cs (GenericParameterAttributes): Don't crash with user types.
713         * Type.cs (IsInstanceOfType): Don't crash with user types.
715         * Type.cs (IsAssignableFrom): Better handle User Types.
717         * Type.cs (GetInterfaceMap): Don't crash with user types.
719         * Type.cs (Equals): Fix behavior to be more MS compatible.
721 2009-11-11  Sebastien Pouliot  <sebastien@ximian.com>
723         * Console.cs: Reduce duplication between OpenStandard[Input|
724         Output|Error] and, for Moonlight, don't return a NullStream if
725         security is disabled (e.g. when smcs executes) r: alan
726         Note: include changes from r145773 (2-6) from toshok
728 2009-11-10  Miguel de Icaza  <miguel@novell.com>
730         * Lazy.cs: Updated API to 4.0 Beta 2
732 2009-11-08  Juraj Skripsky  <js@hotfeet.ch>
734         * Array.cs (Sort):
735         - Sort(..) without IComparer param call Sort(.., (IComparer)null) siblings
736         - Sort(keys, items,..) with items == null call Sort(keys,..) siblings
737         Add missing argument checks. Add SortImpl method to be used by
738         List<T>.Sort(Comparison <T>).
740         Part 3 of 3 fixing bug #351638.
742 2009-11-08  Juraj Skripsky  <js@hotfeet.ch>
744         * Array.cs (Sort): Add and call
745         - SortImpl methods which do the real work without argument checking
746         - MoveNullKeysToFront methods which do a null <-> non-null sorting and
747         ensure that all non-null object implement IComparable/IComparable<T>
749         Part 2 of 3 fixing bug #351638.
751 2009-11-08  Juraj Skripsky  <js@hotfeet.ch>
753         * Array.cs (Sort): optimize qsort by employing multiple, faster copies
754         of the inner-most loops:
755         - for case "comparer != null"
756         - for case "pivot is IComparable<T>"
757         - for case "pivot is IComparable"
758         Remove compare methods as the inner loops now do their work.
759         Use GetValueImpl instead of GetValue in swap.
761         Part 1 of 3 fixing bug #351638.
763 2009-11-03  Miguel de Icaza  <miguel@novell.com>
765         * TermInfoDriver.cs (CheckWindowDimensions) Avoid extra checks, as
766         the condition was always checked previously.
768         (WriteSpecialKey): Actually write the tab character.
769         
770 2009-11-02  Miguel de Icaza  <miguel@novell.com>
772         * More NET_2_0 define removal, assume that it is now always true. 
774 2009-10-30  Sebastien Pouliot  <sebastien@ximian.com>
776         * MonoType.cs: Don't pass null value to icalls 
777         GetCorrespondingInflated[Constructor|Method]
779 2009-10-28  Lluis Sanchez Gual  <lluis@novell.com>
781         * MarshalByRefObject.cs: In InitializeLifetimeService, if a lease
782         exists for the object return it, instead of always creating
783         a new one. Fixes bug #544357.
785 2009-10-27  Sebastien Pouliot  <sebastien@ximian.com>
787         * String.cs: Remove unused (and unneeded) internal call defs.
788         Reduce duplication (and fix test) for Concat (object,object).
789         Avoid allocating zero-length strings in the cases where the
790         FX does not do so.
792 2009-10-22  Miguel de Icaza  <miguel@novell.com>
794         *  String.cs (IsNullOrWhiteSpace, Concat, Join): New 4.0 methods. 
796         * IntPtr.cs (Add, Subtract): New 4.0 methods.
798         * Tuple.cs: Updated signature.
800 2009-10-19  Marek Safar  <marek.safar@gmail.com>
802         * IObservable.cs, IObserver.cs: New files.
803         
804         * EventHandler.cs: Cleanup.
806 2009-10-16  Miguel de Icaza  <miguel@novell.com>
808         * Jumbo patch to drop support for pre-NET_2_0 code:
810         Remove ONLY_1_1 code
811         Remove NET_1_0 only code
812         Remove NET_2_0 defines assuming the value is true.
814         Improve one MonoTODO;   Implement one MonoTODO/Niex.
816         Ran a textual diff on the resulting assembly to validate that the
817         restul is the same on NET_2_0
819 2009-10-14  Jonathan Pryor  <jpryor@novell.com>
821         * AppDomain.cs: Re-add BaseDirectory in the MonoTouch profile.
823 2009-10-14  Sebastien Pouliot  <sebastien@ximian.com>
825         * Exception.cs: Use StackFrame.GetSecureFileName to display (or 
826         not) the file names (and paths). Don't serialize Source for
827         Moonlight.
828         * ValueType.cs: Change InternalEquals (icall) visibility to 
829         private since it is not used elsewhere outside the type.
831 2009-10-08  Sebastien Pouliot  <sebastien@ximian.com>
833         * AppDomain.cs: Remove NET_2_1 specific DefineDynamicAssembly(
834         AssemblyName,AssemblyBuilderAccess,bool) since it is not part
835         of SL. Provide a ToString implementation similar to Silverlight
836         for Moonlight (and without directly using an icall)
838 2009-10-07  Sebastien Pouliot  <sebastien@ximian.com>
840         * String.cs: Remove unsafe code duplication in ToCharArray.
841         Define out the unused InternalStrcpy icalls
842         * StringComparer.cs: Seal internal/private inner classes.
844 2009-10-06  Sebastien Pouliot  <sebastien@ximian.com>
846         * Decimal.cs: Use Compare method instead of directly using the
847         decimalCompare internal call.
849 2009-10-06  Sebastien Pouliot  <sebastien@ximian.com> 
851         * Enum.cs: Add an internal Value property as a single point to 
852         call the internal call get_value.
854 2009-10-06  Sebastien Pouliot  <sebastien@ximian.com>
856         * String.cs: Remove normalization methods for Moonlight
858 2009-10-06  Jonathan Chambers  <joncham@gmail.com>
860         * String.cs (Contains): Use CompareOptions.Ordinal. Fixes bug
861         #535425.
863 2009-10-04  Mark Probst  <mark.probst@gmail.com>
865         * AppDomain.cs: Check for static AppDomainInitializer earlier to
866         throw the appropriate exception instead of failing at
867         serialization.
869 2009-10-04  Mark Probst  <mark.probst@gmail.com>
871         * AppDomainSetup.cs: Functionality for serializing a few members
872         to simplify cross-domain copying from within the runtime.
874         * AppDomain.cs (CreateDomain): Make AppDomainSetup serialize the
875         necessary members in preparation for the cross-domain copy.
877         * Environment.cs: Corlib version bump.
879 2009-10-02  Marek Safar  <marek.safar@gmail.com>
881         * Array.cs, Decimal.cs, String.cs, Console.cs, _AppDomain.cs,
882         AppDomain.cs: Removed prehistoric mcs workarounds.
884 2009-09-30  Mark Probst  <mark.probst@gmail.com>
886         * Thread.cs: Remove serialized culture icall stuff from
887         InternalThread.  Implement it by using the cross-domain byte array
888         transfer icalls.
890         * Environment.cs: Corlib version bump.
892 2009-09-29 Gonzalo Paniagua Javier <gonzalo@novell.com>
894         * TermInfoDriver.cs: attempt to fix bug #527487.
896 2009-09-28  Atsushi Enomoto  <atsushi@ximian.com>
898         * Console.cs : do not use codepage 28591. It breaks build on
899           Japanese Windows.
901 2009-09-27 Gonzalo Paniagua Javier <gonzalo@novell.com>
903         * TermInfoDriver.cs: avoid segv if the pointer is not properly
904         initialized.
906 2009-09-26  Mark Probst  <mark.probst@gmail.com>
908         * NumberFormatter.cs: Remove the _thread field.
910 2009-09-26  Mark Probst  <mark.probst@gmail.com>
912         * Environment.cs: Corlib version bump.
914 2009-09-24  Zoltan Varga  <vargaz@gmail.com>
916         * Type.cs: Initialize the Missing field.
918 2009-09-22  Sebastien Pouliot  <sebastien@ximian.com>
920         * Environment.cs: Remove imperative CAS environment
921         permission checks under NET_2_1
923 2009-09-21 Gonzalo Paniagua Javier <gonzalo@novell.com>
925         * Console.cs: mark methods/properties that only work on windows.
926         Fixes bug #540593.
928 2009-09-21  Sebastien Pouliot  <sebastien@ximian.com>
930         * AppDomain.cs: Remove use of IPrincipal, Evidence and
931         PermissionSet types for NET_2_1
933 2009-09-20  Sebastien Pouliot  <sebastien@ximian.com>
935         * Activator.cs: Remove COM related method for NET_2_1
936         * AppDomain.cs: Remove extra methods and properties for NET_2_1
937         * AppDomainSetup.cs: Remove some properties for NET_2_1
939 2009-09-20  Sebastien Pouliot  <sebastien@ximian.com> 
941         * AppDomain.cs, Environment.cs: Remove imperative CAS file IO
942         permission checks under NET_2_1
944 2009-09-20  Sebastien Pouliot  <sebastien@ximian.com>
946         * AppDomainManager.cs: Remove NET_2_1 defines
947         * AppDomainManager_2_1.cs: New. NET_2_1 specific implementation
949 2009-09-04  Miguel de Icaza  <miguel@novell.com>
951         * TermInfoDriver.cs: Handle a few more key combinations.
953 2009-08-14  Miguel de Icaza  <miguel@novell.com>
955         * TermInfoDriver.cs (GetCursorPosition): Before we probe the
956         terminal for the cursor location, read all the pending console
957         input into our internal buffer and then send the cursor location
958         request.
960 2009-08-26  Sebastien Pouliot  <sebastien@ximian.com>
962         * TimeSpan.cs: Fix parsing when seconds are not specified.
964 2009-08-14  Marek Safar  <marek.safar@gmail.com>
966         * Type.cs: Made IsClass work under compiler context.
968 2009-08-12  Zoltan Varga  <vargaz@gmail.com>
970         * ResolveEventArgs.cs: Add net 4.0 RequestingAssembly property.
972 2009-08-11  Jérémie Laval  <jeremie.laval@gmail.com>
974         * Funcs.cs:
975         * Action.cs:
976         * AggregateException.cs: Add BOOTSTRAP_NET_4_0.
978 2009-08-07  Marek Safar  <marek.safar@gmail.com>
980         * AppDomain.cs: IsHomogenous always returns true for now.
982 2009-08-06 Rodrigo Kumpera  <rkumpera@novell.com>
984         * Environment.cs: Bump corlib version.
986 2009-08-04 Rodrigo Kumpera  <rkumpera@novell.com>
988         * Environment.cs: Bump corlib version.
990 2009-08-03  Zoltan Varga  <vargaz@gmail.com>
992         * Environment.cs: Bump corlib version.
994 2009-07-30  Marek Safar  <marek.safar@gmail.com>
996         * AppDomain.cs: Implemented 2.0 CreateDomain.
998 2009-07-28 Rodrigo Kumpera  <rkumpera@novell.com>
1000         Type.cs (MakeArrayType): Handle one-dym multidimensional array
1001         created with Type::MakeArrayType (1).
1003 2009-07-28  Rodrigo Kumpera  <rkumpera@novell.com>
1005         * Type.cs (FindMembers): Fix the ordering of returned members
1006         to method, ctor, property, event, field and nested type.
1008 2009-07-27 Gonzalo Paniagua Javier <gonzalo@novell.com>
1010         * Array.cs: empty arrays just return -1 in LastIndexOf().
1012 2009-07-27  Miguel de Icaza  <miguel@novell.com>
1014         * Value types implementing IConvertible.ToType now throw an
1015         ArgumentNullException if they are passed a null as the
1016         "targetType" argument.
1018         This code can not be put directly in the Convert.ToType method, as
1019         this method is used by Convert.ToType (object o, TypeCode tc)
1020         which uses null as a target to throw a different kind of error
1021         (InvalidCastException).
1023         Fixes a few more bugs in the Silverlight BCL test suite.
1025         Additionally, the parameter type has been renamed.
1027 2009-07-26  Miguel de Icaza  <miguel@novell.com>
1029         * Type.cs: (GetMember) call directly the worker method, instead of
1030         calling through an intermediary.
1032         (GetMember, full): throw if the name is null.
1034 2009-07-19  Robert Jordan  <robertj@gmx.net>
1036         * __ComObject.cs: Factor out Initialize method and expose it to
1037         ComInteropProxy. Fixes bug #520437.
1039 2009-07-14  Rodrigo Kumpera  <rkumpera@novell.com>
1041         * Attribute.cs (GetCustomAttributes): Pass typeof(Attribute)
1042         to GetCustomAttributes to match MS.
1044         * MonoCustomAttrs.cs (GetCustomAttributesBase): Do proper
1045         checking of which types are handled by the runtime.
1047         * MonoCustomAttrs.cs (IsDefined): Same.
1049         Fixes #521885.
1051 2009-07-14  Zoltan Varga  <vargaz@gmail.com>
1053         * Environment.cs: Bump corlib version.
1055 2009-07-07  Rodrigo Kumpera  <rkumpera@novell.com>
1057         * Type.cs (IsUserType): Only TypeDelegator and types
1058         outside of corlib are unhandled usertypes.
1060 2009-07-02  Marek Safar  <marek.safar@gmail.com>
1062         * Type.cs, AppDomain.cs: 4.0 bits.
1064 2009-06-26 Gonzalo Paniagua Javier <gonzalo@novell.com>
1066         * DateTime.cs: if the DateTimeOffset is out of bounds, let Parse
1067         report the error. Fix stupid harmless typo.
1068         * DateTimeOffset.cs: report error if the UTC date/time is out of
1069         bounds.
1071 2009-06-25  Miguel de Icaza  <miguel@novell.com>
1073         * Array.cs: IList.this needs to throw IndexOutOfRangeException
1074         when the index is invalid, not ArgumentOutOfRangeException.
1076         * Int32.cs: Do not crash if the FormatProvider returns a null
1077         value on the call to GetFormat (Type).
1079         Validate the NumberStyles, passes Int/Int32Parse2.exe
1081         Fix regression introduced in 2005, we need to throw
1082         ArgumentNullException on Parse.
1084 2009-06-25  Miguel de Icaza  <miguel@novell.com>
1086         * Int32.cs: Fix regression introduced in 2005, we need to throw
1087         ArgumentNullException on Parse.
1089 2009-06-23 Gonzalo Paniagua Javier <gonzalo@novell.com>
1091         * DateTime.cs: ignore MinValue to avoid DateTimeOffset ctor throwing
1092         when adjusting for TZ.
1094 2009-06-22  Miguel de Icaza  <miguel@novell.com>
1096         * String.cs: In Silverlight the whitespace characters 0x202f and
1097         0x205f are considered for Trim and Split purposes. 
1099 2009-06-21  Marek Safar  <marek.safar@gmail.com>
1101         * Tuples.cs: Add Equals, GetHashCode.
1103 2009-06-21  Zoltan Varga  <vargaz@gmail.com>
1105         * IntPtr.cs (.ctor): Disable the check in the long ctor until we
1106         can figure out how to do it properly.
1108 2009-06-20  Zoltan Varga  <vargaz@gmail.com>
1110         * IntPtr.cs (.ctor): Allow long values whose 31th bit is set.
1112 2009-06-18 Gonzalo Paniagua Javier <gonzalo@novell.com>
1114         * DateTime.cs: quick fix for the 1.x build.
1116 2009-06-18 Gonzalo Paniagua Javier <gonzalo@novell.com>
1118         * AppDomainSetup.cs: update attribute.
1119         * TermInfoDriver.cs: ensure we are initialized in CheckWindowDimensions().
1120         * DateTimeOffset.cs: Implement Parse().
1121         * DateTime.cs: add 'zzz' to the list of default time formats. Return a
1122         DateTimeOffset from _DoParse. Fixed the offset minutes when the
1123         timezone is specified as a negative one.
1124         * Console.cs: updates for MoveBufferArea().
1125         * AppDomainManager.cs: implement EntryAssembly.
1126         * AppDomain.cs: update attribute.
1128 2009-06-15  Atsushi Enomoto  <atsushi@ximian.com>
1130         * Environment.cs : bump corlib version.
1132 2009-06-12  Bill Holmes  <billholmes54@gmail.com>
1134         * Variant.cs (GetValue):  Changing the bool case to use the short value.  
1135           This is to avoid junk in the high word.
1137         Contributed under MIT/X11 license.
1139 2009-06-10  Marek Safar  <marek.safar@gmail.com>
1141         * Predicate.cs, Action.cs, Funcs.cs, Comparison.cs, IComparable.cs,
1142         Converter.cs, EventHandler.cs: Add type variance.
1143         
1144         * InvalidTimeZoneException.cs,
1145         TimeZoneNotFoundException.cs: New file.
1147 2009-05-27  Zoltan Varga  <vargaz@gmail.com>
1149         * AppDomain.cs (DoAssemblyResolve): Fix recursion detection. Fixes #507003.
1151 2009-05-26  Mark Probst  <mark.probst@gmail.com>
1153         * Thread.cs: Don't set the execution context when creating a
1154         thread because the _ec member is thread static and we set the
1155         wrong one.  It's now set by the runtime.  We just provide the
1156         correct one.
1158         * Environment.cs: Bump corlib version.
1160 2009-05-22  Zoltan Varga  <vargaz@gmail.com>
1162         * Tuple.cs Tuples.cs: New files.
1164         * Lazy.cs LazyExecutionMode.cs Funcs.cs: New files.
1166 2009-05-14 Gonzalo Paniagua Javier <gonzalo@novell.com>
1168         * Type.cs: (GetInterfaceMap) 'this' can't be an interface itself.
1169         Fixed bug #503728.
1171 2009-05-03 Gonzalo Paniagua Javier <gonzalo@novell.com>
1173         * TermInfoDriver.cs: replace Peek with DataAvailable.
1175 2009-05-02  Sebastien Pouliot  <sebastien@ximian.com>
1177         * Console.cs: Remove Windows-specific p/invokes and SSC code
1178         from the NET_2_1 build.
1180 2009-05-01  Sebastien Pouliot  <sebastien@ximian.com>
1182         * AppDomainManager.cs: Fix base class for NET_2_1 and implement
1183         CheckSecuritySettings (added in 2.0SP and part of SL API)
1185 2009-04-29 Gonzalo Paniagua Javier <gonzalo@novell.com>
1187         * Enum.cs: return the value as an enum of the right type.
1189 2009-04-28 Gonzalo Paniagua Javier <gonzalo@novell.com>
1191         * Enum.cs: avoid exceptions from ToObject and use Try* instead.
1193 2009-04-25  Miguel de Icaza  <miguel@novell.com>
1195         * TermInfoDriver.cs: Use the new StreamReader.DataAvailable to
1196         load all the data that was added into the `stdin' stream when we
1197         did the `Read'.
1199 2009-04-24  Sebastien Pouliot  <sebastien@ximian.com>
1201         * Environment.cs: #ifdef out code that use the registry for the 
1202         NET_2_1 profile and some other properties (2) that added
1203         [SecuritySafeCritical] methods to audit inside Moonlight.
1205 2009-04-21  Mark Probst  <mark.probst@gmail.com>
1207         * Environment.cs: Bump corlib version.
1209 2009-04-21  Miguel de Icaza  <miguel@novell.com>
1211         * TermInfoDriver.cs: Prevent race condition if two threads try to
1212         initialize the Console at the same time. 
1214         What happens is that inited is set, and elsewhere we try to
1215         dereference native_terminal_size before it is set.
1217         * Reduce code size by using a table instead of manually making a
1218         few hundred calls.
1219         
1220 2009-04-20  Miguel de Icaza  <miguel@novell.com>
1222         * Enum.cs (MonoEnumInfo): Compare bytes, shorts, ints and longs as
1223         unsigned values as specified and to fix 371559, from the bug:
1225                 So the actual difference is that MSFT's Enum.GetValues
1226                 orders the members as unsigned even when the underlying
1227                 type is int.  See the following.  Perhaps that's what's
1228                 being implied by "binary values" in that Enum.GetValues
1229                 MSDN quote above.
1231 2009-04-18  Mark Probst  <mark.probst@gmail.com>
1233         * NumberFormatter.cs: Keep the current thread's number formatter
1234         as a ThreadStatic member.
1236 2009-04-18  Mark Probst  <mark.probst@gmail.com>
1238         * Environment.cs: Bump corlib version.
1240 2009-04-12 Gonzalo Paniagua Javier <gonzalo@novell.com>
1242         * GCNotificationStatus.cs: new enum.
1244 2009-04-10  Zoltan Varga  <vargaz@gmail.com>
1246         * Array.cs: Make some of the InternalArray methods non-generic to cut down
1247         on the number of instantiations. Add implementation for 
1248         ICollection:IsReadOnly.
1250 2009-03-26  Jb Evain  <jbevain@novell.com>
1252         * Delegate.cs (CreateDelegate): Support for delegates
1253         on static methods closed on a null target.
1255 2009-03-26  Zoltan Varga  <vargaz@gmail.com>
1257         * Environment.cs: Bump corlib version.
1259 2009-03-25  Sebastien Pouliot  <sebastien@ximian.com>
1261         * Delegate.cs: Add new parameter to CreateDelegate_internal (icall)
1262         * Environment.cs: Bump mono_corlib_version to 73
1264 2009-03-25  Jb Evain  <jbevain@novell.com>
1266         * Delegate.cs (CreateDelegate): fix checks to deal with
1267         valuetypes -> obj conversions for arguments, and avoid
1268         issues with such unallowed conversion for return types.
1270 2009-03-23  Zoltan Varga  <vargaz@gmail.com>
1272         * String.cs (LastIndexOf): Handle empty strings correctly. Fixes #486234.
1274 2009-03-18  Zoltan Varga  <vargaz@gmail.com>
1276         * Type.cs (GetGenericTypeDefinition): Make this throw an exception to be
1277         consistent with MS.NET. Move the real implementation to MonoType.
1279 2009-03-18  Marek Safar  <marek.safar@gmail.com>
1281         * Decimal.cs: Initialize all fields.
1283 2009-03-16 Gonzalo Paniagua Javier <gonzalo@novell.com>
1285         * ConsoleDriver.cs:
1286         * TermInfoDriver.cs: handle Ctrl-D (or similar) in ReadLine.
1287         Fixes bug #483950.
1289         * ControlCharacters.cs: index to the control characters list.
1290         * Environment.cs: bumped corlib version.
1292 2009-03-14  Miguel de Icaza  <miguel@novell.com>
1294         * Convert.cs (ToType): Control whether this internal function will
1295         call an IConvertible.ToType method or not.  
1297         Classes and structs implementing IConvertible in mscorlib (the
1298         only callers that can access Convert.ToType) must pass false to
1299         avoid a infinite recursion problem and callers from the public
1300         Convert API must call it with true.
1302         This fixes the regression reported in #485377 that was introduced
1303         by the fix for #481687.
1305         * Int16.cs, UInt64.cs, Double.cs, Enum.cs, SByte.cs, UInt16.cs,
1306         Byte.cs, Decimal.cs, Int32.cs, String.cs, Int64.cs, Char.cs,
1307         Boolean.cs, Single.cs, UInt32.cs: Update the call sites.
1309 2009-03-07  Gert Driesen  <drieseng@users.sourceforge.net>
1311         * Convert.cs: Do not throw InvalidCastException if
1312         IConvertible.ToType returns null.
1314 2009-03-06  Andrés G. Aragoneses  <aaragoneses@novell.com>
1316         * Convert.cs: Correct typo in exception message.
1318 2009-03-06  Miguel de Icaza  <miguel@novell.com>
1320         * Convert.cs: Apply patch from Tom Hindle that uses
1321         IConvertible.ToType if there are no other possible conversions
1322         defined. 
1324         Fixes: #481687 
1326 2009-03-06  Rodrigo Kumpera  <rkumpera@novell.com>
1328         * MonoType.cs (MonoTypeInfo): Add default_ctor field.
1330         * MonoType.cs: Add GetDefaultConstructor that caches using
1331         type_info.default_ctor.
1333         * MonoType.cs (FullName): Protects against type_info been replaced
1334         under the hood.
1336         * Activator.cs (CreateInstance): If the type is a MonoType resolve the
1337         default constructor using the new method from MonoType.
1339         Improves Activator::CreateInstance performance by at least 30%, reduces object churn
1340         and domain lock contention.
1342 2009-03-03  Rodrigo Kumpera  <rkumpera@novell.com>
1344         * Guid.cs (BaseToString): Reduce allocations.
1346 2009-03-02  Rodrigo Kumpera  <rkumpera@novell.com>
1348         * Environment.cs: Bump corlib version.
1350 2009-03-02  Rodrigo Kumpera  <rkumpera@novell.com>
1352         * Enum.cs (IsDefined): If the enum underlying type is int32, use
1353         the generic version, which doesn't box every element of the array.
1355 2009-03-02  Rodrigo Kumpera  <rkumpera@novell.com>
1357         * Enum.cs (GetName): If the enum underlying type is int32, use
1358         the generic version, which doesn't box every element of the array.
1360 2009-03-02  Rodrigo Kumpera  <rkumpera@novell.com>
1362         * Enum.cs (MonoEnumInfo::GetInfo): Share the boxed form of the
1363         MonoEnumInfo between both caches.
1365 2009-02-28  Zoltan Varga  <vargaz@gmail.com>
1367         * Enum.cs (FindName): Use a hash table for looking up names instead of
1368         a linear search for enums with a lot of values.
1370 2009-02-27  Rodrigo Kumpera  <rkumpera@novell.com>
1372         * UInt16.cs (CompareTo/short): Make it return the
1373         same values as the /object version.
1375         * Enum.cs (CompareTo): Use new compare_value_to icall to do the comparison.
1376         This avoids two allocations and reduce the number of trips to unmanaged land
1377         by one.
1379         The performance improvement is up to 3.5x with the bonus of reducing the generated
1380         garbage.
1382 2009-02-26  Marek Safar  <marek.safar@gmail.com>
1384         * Nullable.cs: Inline GetValueOrDefault.
1386 2009-02-26  Zoltan Varga  <vargaz@gmail.com>
1388         * String.cs (FormatHelper): If all the arguments are strings, compute an
1389         initial length for the stringbuilder to avoid reallocations.
1391         * MonoType.cs (FullName): Cache the result of this in a field, as
1392         computing it is expensive.
1394         * Environment.cs: Bump corlib version.
1395         
1396 2009-02-25  Zoltan Varga  <vargaz@gmail.com>
1398         * Enum.cs (GetInfo): Add a global cache in addition to the thread-local
1399         caches to accomodate short living threads like threadpool threads.
1401 2009-02-23  Zoltan Varga  <vargaz@gmail.com>
1403         * Type.cs: Add IsUserType internal property.
1405 2009-02-21  Jb Evain  <jbevain@novell.com>
1407         * MonoType.cs (InvokeMember): don't pass a null args to
1408         Binder.BindToMethod. Fix for #471275.
1410 2009-02-12  Robert Jordan  <robertj@gmx.net>
1412         * Exception.cs: Rename remote_stack_trace for MS.NET
1413         compatibility. Fixes #425512.
1415 2009-02-12  Lluis Sanchez Gual  <lluis@novell.com>
1417         * MarshalByRefObject.cs: Implemented MemberwiseClone(bool).
1419 2009-02-10 Gonzalo Paniagua Javier <gonzalo@novell.com>
1421         * AppDomain.cs: this fixes the remoting tests.
1422         Zoltan found out that there was a domain improperly using shadow
1423         copy.
1425 2009-02-04 Gonzalo Paniagua Javier <gonzalo@novell.com>
1427         * DateTime.cs: check for null and empty strings before anything else
1428         in CoreParse.
1430 2009-01-27  Zoltan Varga  <vargaz@gmail.com>
1432         * Type.cs (GetHashCode): Work on UnderlyingSystemType. Fixes #467229.
1434 2009-01-24  Zoltan Varga  <vargaz@gmail.com>
1436         * Variant.cs ApplicationIdentity.cs ActivationContext.cs Environment.cs
1437         AppDomain.cs: Fix warnings.
1439 2009-01-24 Gonzalo Paniagua Javier <gonzalo@novell.com>
1441         * AppDomain.cs: LoadAssembly() returns null instead of throwing now.
1442         Add new LoadSatellite method.
1444 2009-01-20  Mark Probst  <mark.probst@gmail.com>
1446         * Exception.cs: Added a comment explaining the use of trace_ips.
1448 2009-01-12  Bill Holmes  <billholmes54@gmail.com>
1450         * Variant.cs (GetValue):  Handling the NULL IDispatch 
1451           and IUnknown case.
1453         Contributed under MIT/X11 license.
1455 2009-01-09  Miguel de Icaza  <miguel@novell.com>
1457         * DateTime.cs: Implement TryParse in a way that will not depend on
1458         the try/catch statement.   The try/catch statement is still there
1459         *just in case*, I might have missed some codepaths.
1461 2009-01-06  Atsushi Enomoto  <atsushi@ximian.com>
1463         * DateTime.cs : when ".FF..." is specified, allow milliseconds-less
1464           time. Fix #444103.
1466 2008-12-19  Bill Holmes  <billholmes54@gmail.com>
1468         * Environment.cs (GetEnvironmentVariable) :  Avoiding an nre if 
1469           the variable is not set.
1471         * Environment.cs (SetEnvironmentVariable) : Adding a call to 
1472           internalBroadcastSettingChange to notify Windows that an environment 
1473           variable has changed.
1475         Contributed under MIT/X11 license.
1477 2008-12-18  Jb Evain  <jbevain@novell.com>
1479         * String.cs: the Compare methods that were specific to SL2 are now
1480         also in .net 2/3.5 sp1.
1482 2008-12-10  Bill Holmes  <billholmes54@gmail.com>
1484         * Variant.cs (SetValue):   Changing the behavior for COM object in 
1485           VARIANTs to match MS.  Also adding support for BStrWrapper, 
1486           UnknownWrapper, and DispatchWrapper.
1488         Contributed under MIT/X11 license.
1490 2008-11-28  Miguel De Icaza  <miguel@novell.com>
1492         * TermInfoDriver.cs: Also register a mapping to make verase be the
1493         backspace key.  Funny thing: verase was fetched from the termios,
1494         but it was *never* actually used in this file.
1496         VSUSP and VINTR are likewise ignored.   Must ponder this.
1498         This makes the backspace key in MacOS work on interactive
1499         applications.
1500         
1501 2008-11-15  Kornél Pál  <kornelpal@gmail.com>
1503         * Convert.cs: Removed useless check from ToChar (ushort).
1505 2008-11-06  Bill Holmes  <billholmes54@gmail.com>
1507         * Type.cs (FindMembers):  Changing the instantiated type of the 
1508           returned MemberInfo array to match the MemberTypes flag
1509           passed in argument 1.
1511         Contributed under MIT/X11 license.
1513 Mon Nov 3 16:39:37 CET 2008 Paolo Molaro <lupus@ximian.com>
1515         * Array.cs: in the IList set_Item, ensure the array
1516         element is set using the proper type checks (bug #440819).
1518 Mon Oct 13 16:40:56 CEST 2008 Paolo Molaro <lupus@ximian.com>
1520         * Environment.cs, OperatingSystem.cs: complete support for
1521         PlatformID (bug #433108).
1523 2008-10-08 Gonzalo Paniagua Javier <gonzalo@novell.com>
1525         * AppDomain.cs: (Load(AssemblyName)) Use the CodeBase after the Name
1526         when both are provided.
1527         Fixes bug #322228.
1529 2008-10-08  Bill Holmes  <billholmes54@gmail.com>
1531         * Variant.cs : Adding the BRECORD field to ensure the right size on
1532           a 64-bit OS.  32-bit 16 bytes, 32-bit 24 bytes.
1534         Contributed under MIT/X11 license.
1536 2008-10-08  Bill Holmes  <billholmes54@gmail.com>
1538         * Variant.cs (SetValue) : Adding code to handle enums.
1540         Contributed under MIT/X11 license.
1542 2008-10-08  Bill Holmes  <billholmes54@gmail.com>
1544         * Variant.cs : Cleaning up some tab formatting problems.
1546         Contributed under MIT/X11 license.
1548 2008-10-08  Zoltan Varga  <vargaz@gmail.com>
1550         * PlatformID.cs: Define Xbox/MacOSX on the 2.0 profile too, since it
1551         is part of NET 3.5 SP1.
1553 2008-10-07  Marek Habersack  <mhabersack@novell.com>
1555         * Math.cs: implemented the away from zero rounding for the Round
1556         (double, int, MidpointRounding) overload.
1558 2008-10-06  Zoltan Varga  <vargaz@gmail.com>
1560         * Activator.cs (CreateInstance): Don't return the return value of the
1561         ctor.Invoke (object, ...) overload since it is null, return 'newOb' instead.
1563 Mon Oct 6 15:12:25 CEST 2008 Paolo Molaro <lupus@ximian.com>
1565         * Array.cs: better message when keys cannot be compared
1566         when sorting (bug #368455).
1568 2008-09-29  Rodrigo Kumpera  <rkumpera@novell.com>
1570         * Type.cs (MakeGenericType): Only use UnderlyingSystemType for user types.
1571         This must exclude TypeBuilder and EnumBuilder. Fixes #430508.
1573 2008-09-28  Juraj Skripsky  <js@hotfeet.ch>
1575         * String.cs (ReplaceUnchecked): Avoid any unnecessary work and 
1576         string allocations by returning early when no oldValue was found.
1578 2008-09-24  Marek Habersack  <mhabersack@novell.com>
1580         * Double.cs: check whether decimal_separator, group_separator and
1581         currency_symbol strings aren't empty before trying to index them
1582         in Parse ().
1584 2008-09-24  Jb Evain  <jbevain@novell.com>
1586         * AppDomain.cs (CreateDomain): call the domain initializer in
1587         the newly created AppDomain. Fixes #429545.
1589 2008-09-24  Jb Evain  <jbevain@novell.com>
1591         * AppDomain.cs: implement the CreateDomain overload which
1592         takes an AppDomain initializer. Fixes #429545.
1594 2008-09-17  Robert Jordan  <robertj@gmx.net>
1596         * DelegateSerializationHolder.cs: Starting with .NET 2.0, delegates
1597         of non-public methods are allowed to be serialized. Fixes #425345.
1599 2008-09-15  Andy Hume  <andyhume32@yahoo.co.uk>
1601         * DateTimeOffset.cs: DateTimeOffset currently has no
1602         deserialization constructor, thus deserialization
1603         fails ("SerializationException: The constructor to deserialize an
1604         object of type System.DateTimeOffset was not found.")
1606         Patch attached, implements GetObjectData and that constructor.
1607         Also includes tests, which include round-tripping to/from MSFT.
1609 2008-09-14  Zoltan Varga  <vargaz@gmail.com>
1611         * ConsoleDriver.cs: Remove obsolete GetTtySize icall.
1613 2008-09-09  Marek Safar  <marek.safar@gmail.com>
1615         * Convert.cs, Decimal.cs: Fixed float/double to decimal range check.
1617 2008-09-07  Miguel de Icaza  <miguel@novell.com>
1619         * TermInfoDriver.cs: Add support for updating the size of the
1620         terminal when it changes.   
1622 2008-08-27  Miguel de Icaza  <miguel@novell.com>
1624         * TermInfoDriver.cs: Adds support for the Insert and Delete keys
1625         on the keyboard.   
1627 2008-08-26  Miguel de Icaza  <miguel@novell.com>
1629         * New console features are used by gmcs.exe, but since we only
1630         build gmcs.exe with the bootstrap corlib, we need to ensure all
1631         the new stuff is included in BOOTSTRAP_NET_2_0
1633 2008-08-26  Robert Jordan  <robertj@gmx.net>
1635         * AppDomain.cs (get_Evidence): Fix endless recursion exposed
1636         by the test case of bug #420197.
1638 2008-08-24  Miguel de Icaza  <miguel@novell.com>
1640         * TermInfoDriver.cs (GetKeyFromBuffer): Add support for reporting
1641         Alt-LETTER sequences.   They were ignored previously.
1643 2008-08-22  Sebastien Pouliot  <sebastien@ximian.com>
1645         * AppDomainSetup.cs: Remove IAppDomainSetup for SL2. This helps
1646         the tuner since the methods are then defined correctly (wrt to the
1647         implicit implementation of the interfaces)/
1649 2008-08-21  Sebastien Pouliot  <sebastien@ximian.com> 
1651         * Nullable.cs: Add two ComVisible(false) for SL2 profile.
1652         * PlatformID.cs: Add Xbox and MacOX for SL2 profile.
1653         * WeakReference.cs: Add default, protected, ctor for SL2.
1655 2008-08-20  Miguel de Icaza  <miguel@novell.com>
1657         * ConsoleDriver.cs: TtySetup now takes an extra argument: the
1658         keypadXmit string.
1660 2008-08-16  Gert Driesen  <drieseng@users.sourceforge.net>
1662         * Exception.cs: Fixed value of HResult to match MS. Added support for
1663         (de)serializing Data. Use deserialized ClassName, if available, to
1664         when name of type is used.
1666 2008-08-10  Gert Driesen  <drieseng@users.sourceforge.net>
1668         * IServiceProvider.cs: Added ComVisible attribute (1.0 only).
1669         * String.cs: Fixed argument names to match MS.
1671 2008-08-10  Gert Driesen  <drieseng@users.sourceforge.net>
1673         * Boolean.cs
1674         * Byte.cs
1675         * Char.cs
1676         * DateTime.cs
1677         * DBNull.cs
1678         * Decimal.cs
1679         * Double.cs
1680         * Enum.cs
1681         * Int16.cs
1682         * Int32.cs
1683         * Int64.cs
1684         * Single.cs
1685         * String.cs
1686         * UInt16.cs
1687         * UInt32.cs
1688         * UInt64.cs: Added missing CLSCompliant attributes for 1.0 profile.
1690 2008-08-07  Atsushi Enomoto  <atsushi@ximian.com>
1692         * DateTime.cs : zzzz format allows non-fixed length of number, even
1693           in exact parsing mode. Fixed bug #377042.
1695 2008-08-05  Jb Evain  <jbevain@novell.com>
1697         * String.cs: add new NET_2_1 Compare methods.
1699 2008-08-03  Miguel de Icaza  <miguel@novell.com>
1701         * ConsoleDriver.cs: If the terminal is dumb, do not activate the
1702         full terminal support.
1704 2008-08-02  Marek Safar  <marek.safar@gmail.com>
1706         * Type.cs: Removed _MemberInfo from base classes list.
1707         
1708 2008-07-28  Marek Safar  <marek.safar@gmail.com>
1710         * KnownTerminals.cs: Don't initialize rarely used static data.
1712 2008-07-24  Zoltan Varga  <vargaz@gmail.com>
1714         * Delegate.cs: Move the rarely used fields to a separate object, add
1715         'method_code' field.
1717         * Environment.cs: Bump corlib version.
1719         * ConsoleDriver.cs: Remove unused Suspend icall.
1721 2008-07-21  Marek Safar  <marek.safar@gmail.com>
1723         * AppDomain.cs (Load): Check for 0-length assembly name.
1725 2008-07-21  Rodrigo Kumpera  <rkumpera@novell.com>
1727         * Enum.cs (GetHashCode): Use new icall get_hashcode to
1728         avoid allocating a boxed version of the enum basetype.
1730 2008-07-17  Marek Safar  <marek.safar@gmail.com>
1732         * String.cs: reverted GetHashCode changes.
1734 2008-07-08  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
1736         * Char.cs: Remove obsolete lamespecs (it implements IConvertible, small formatting)
1738 2008-07-08  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
1740         * Char.cs: Optimize some Is* checks
1742 2008-07-06  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
1744         * DateTimeOffset.cs: Fix parameter name
1746 2008-07-06  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
1748         * DateTimeOffset.cs: Remove public, make implicit method
1750 2008-07-06  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
1752         * Environment.cs: Add missing attribute
1754 2008-07-04  Rodrigo Kumpera  <rkumpera@novell.com>
1756         * Delegate.cs (get_Method): Use the internal version
1757         of GetMethodFromHandle to avoid the generic class check.
1759 2008-07-04  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
1761         * GCCollectionMode.cs: Add attribute
1762         * GC.cs: Add semi-stubbed missing method, remove obsolete Lamespec, hide non-public method
1764 2008-07-04  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
1766         * Delegate.cs: Fix parameter names for 2.0 profile
1767         * Int64.cs: Fix parameter names
1769 2008-07-04  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
1771         * IntPtr.cs: Fix parameter names, change internal name to accomodate for parameter changes
1773 2008-07-04  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
1775         * Predicate.cs:
1776         * Object.cs:
1777         * Nullable.cs
1778         * MultiCastDelegate.cs
1779         * ModuleHandle.cs
1780         * Math.cs
1781         * MarshalByRefObject.cs
1782         * Int64.cs
1783         * Int32.cs
1784         * Int16.cs
1785         * Environment.cs
1786         * Delegate.cs
1787         * DateTimeOffset.cs
1788         * ConsoleKeyInfo.cs
1789         * Console.cs
1790         * Array.cs
1791         * AppDomain.cs: Fix parameter names
1793 2008-07-03  Rodrigo Kumpera  <rkumpera@novell.com>
1795         * Exception.cs (GetFullNameForStackTrace): Don't do string
1796         concatenation.
1798 2008-06-30  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
1800         * ContextMarshalException.cs:
1801         * DllNotFoundException.cs:
1802         * EntryPointNotFoundException.cs:
1803         * FieldAccessException.cs:
1804         * MethodAccessException.cs:
1805         * MissingFieldException.cs:
1806         * PlatformNotSupportedException.cs: Fix parameter names
1808 2008-06-30  Marek Safar  <marek.safar@gmail.com>
1810         * String.cs: Tweaked hash code methods for better distibution, and speed-up.
1812 2008-06-29  Zoltan Varga  <vargaz@gmail.com>
1814         * MonoCustomAttrs.cs (IsDefined): Avoid calling the .Assembly property in some
1815         cases.
1817 2008-06-30  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
1819         * Char.cs: Fix formatting, rename wrong named param, remove code duplication
1821 2008-06-28  Zoltan Varga  <vargaz@gmail.com>
1823         * Enum.cs (GetUnderlyingType): Implement this using an icall.
1824         
1825         * Enum.cs (Format): Call IsDefined with inherited=false.
1827         * Exception.cs: Fix a warning.
1829 2008-06-27  Zoltan Varga  <vargaz@gmail.com>
1831         * Enum.cs (FindName): Avoid calling String.Compare for the !ignoreCase case.
1833 2008-06-27  Rodrigo Kumpera  <rkumpera@novell.com>
1835         * Exception.cs: Build method traces using the
1836         stack trace StringBuilder.
1838 2008-06-27  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
1840         * Version.cs: Fix parameter names
1841         * UInt64.cs: 
1842         * UInt32.cs:
1843         * UInt16.cs:
1844         * Int64.cs: Fix parameter names
1845         * Int32.cs: Fix parameter names; some small formatting
1846         * Int16.cs: Fix parameter names
1847         * Double.cs: Fix parameter names; small formatting
1848         * Single.cs:
1849         * SByte.cs:
1850         * Byte.cs:
1851         * Boolean.cs:
1852         * DateTime.cs:
1853         * Enum.cs:
1854         * Decimal.cs: Fix parameter names
1856 2008-06-14  Zoltan Varga  <vargaz@gmail.com>
1858         * Environment.cs: Bump corlib version.
1860 2008-06-10  Zoltan Varga  <vargaz@gmail.com>
1862         * Math.cs (IEERemainder): Use the normal BitConverter.Int64BitsToDouble method
1863         here to fix this on sparc.
1865 2008-06-07  Marek Safar  <marek.safar@gmail.com>
1867         * Array.cs (IndexOf, LastIndexOf): Fixed more array element comparers used
1868         instead of tested value comparers.
1870 2008-06-07  Zoltan Varga  <vargaz@gmail.com>
1872         * Environment.cs: Bump corlib version.
1874 2008-06-05  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
1876         * String.cs: Managed replacement for Replace method ;)
1878 2008-06-03  Zoltan Varga  <vargaz@gmail.com>
1880         * Decimal.cs (Divide): Move expensive equality checks to unmanaged code.
1882 2008-06-02  Ivan N. Zlatev  <contact@i-nz.net>
1884         * MonoType.cs: For property reflection we should strictly match the return 
1885         type if available.
1887 2008-06-01  Juraj Skripsky  <js@hotfeet.ch>
1889         * String.cs (Substring): Blocking bug #395904 has been fixed,
1890         re-enable optimization.
1892 2008-06-01  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
1894         * String.cs: Replace Split IndexOf
1896 2008-05-30  Marek Safar  <marek.safar@gmail.com>
1898         * Array.cs (IndexOf): Use an array element comparer instead of tested value
1899         comparer.
1901 2008-05-28  Zoltan Varga  <vargaz@gmail.com>
1903         * Console.cs (.cctor): Make sdout synchronized in the console case too.
1904         Fixes #395069.
1906 2008-05-27  Eyal Alaluf <eyala@mainsoft.com>
1908         * NumberFormatter.jvm.cs: Fix tables to avoid arithemtic overflow
1909           in Double.ToString as exposed by Bug #383531.
1911 2008-05-24  Gert Driesen  <drieseng@users.sourceforge.net>
1913         * String.cs: Comment out 2.0 compatibility fix for SubString, since it
1914         causes regressions in System.Xml.
1916 2008-05-24  Gert Driesen  <drieseng@users.sourceforge.net>
1918         * String.cs: Changed exception to match MS. Fixed ToCharArray to use
1919         startindex for source. In PadLeft and PadRight, only return current
1920         string if totalWidth is less than length.
1922 2008-05-24 Gonzalo Paniagua Javier <gonzalo.mono@gmail.com>
1924         * Enum.cs: use Array.BinarySearch on the values in IsDefined and
1925         GetName instead of looping through the list. Made the cache in
1926         MonoEnumInfo thread static to avoid contention.
1928 2008-05-20  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
1930         * String.cs: Replace Split function
1932 2008-05-19  Sebastien Pouliot  <sebastien@ximian.com>
1934         * Boolean.cs,
1935         * Double.cs,
1936         * Enum.cs,
1937         * Int64.cs,
1938         * Single.cs,
1939         * UInt32.cs,
1940         * UInt64.cs: Avoid unboxing primitive types more than one time.
1941         [Found using Gendarme]
1943 2008-05-19  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
1945         * String.cs: Update Trim functions
1947 2008-05-19  Zoltan Varga  <vargaz@gmail.com>
1949         * ConsoleDriver.cs: Avoid initializing the three driver classes when only one
1950         is needed.
1952 2008-05-18  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
1954         * String.cs: Update Join and Pad functions
1956 2008-05-18  Sebastien Pouliot  <sebastien@ximian.com>
1958         * Environment.cs: Use String.IsNullOrEmpty inside 2.0 code.
1959         [Found using Gendarme]
1961 2008-05-16  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
1963         * String.cs: Directly create charenumerator
1965 2008-05-15  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
1967         * String.cs: Resubmit uncritical parts of String patch
1969 2008-05-15  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
1971         * DateTime.cs: Fix parameter names
1973 2008-05-15  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
1975         * Decimal.cs: Fix parameter names
1977 2008-05-15  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
1979         * Decimal.cs: Tabbify/Format
1981 2008-05-14  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
1983         * Version.cs
1984           UnhandledExceptionEventHandler.cs
1985           UInt64.cs
1986           UInt32.cs
1987           UInt16.cs: Fix parameter names
1988           Type.cs: Fix parameter names, formatting
1989           TimeSpan.cs
1990           StringComparer.cs
1991           Single.cs
1992           SByte.cs: Fix parameter names
1994 2008-05-14  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
1996         * Double.cs
1997           Enum.cs
1998           Exception.cs
1999           IComparable.cs
2000           IEquatable.cs
2001           IFormatProvider.cs
2002           IFormattable.cs
2003           InsufficientMemoryException.cs: Fix parameter names
2005 2008-05-14  Jb Evain  <jbevain@novell.com>
2007         * Exception.cs (ToString): output a new line before the 
2008         inner exception separator. Fixes #390150.
2010 2008-05-12  Gert Driesen  <drieseng@users.sourceforge.net>
2012         * Type.cs: Modifies exceptions to match MS. Changed GetTypeFromHandle
2013         on 1.0 profile to throw ArgumentException when handle is invalid,
2015 2008-05-08  Rodrigo Kumpera  <rkumpera@novell.com>
2017         * Activator.cs (CreateInstance): Check for null types when creating
2018         the error message.
2020 2008-05-07  Robert Jordan  <robertj@gmx.net>
2022         * RuntimeFieldHandle.cs, RuntimeTypeHandle.cs, RuntimeMethodHandle.cs:
2023         Don't try to serialize uninitialized handles. Fixes #386641.
2025 2008-05-06  Marek Safar  <marek.safar@gmail.com>
2027         * IntPtr.cs (eplicit long, GetObjectData): Use ToInt64.
2029 2008-05-05  Zoltan Varga  <vargaz@gmail.com>
2031         * Type.cs (GetTypeFromHandle): Apparently, it is possible to create a 
2032         RuntimeTypeHandle with a zero handle value by calling its ctor. Add an argument
2033         check for that.
2035         * IntPtr.cs (ToInt64): Use (long)(int) on 32 bit platforms to avoid the default
2036         unsigned conversion done by the compiler. Fixes #386466.
2038 2008-05-04  Zoltan Varga  <vargaz@gmail.com>
2040         * Type.cs (UnderlyingSystemType): Add a comment pointing people to 
2041         Enum.GetUnderlyingType ().
2043 2008-04-26  Zoltan Varga  <vargaz@gmail.com>
2045         * Array.cs (LastIndexOf): Return GetLowerBound (0) -1 instead of -1.
2046         
2047         * Array.cs (LastIndexOf): Fix handling of empty arrays. Fixes #383876.
2049 2008-04-13  Zoltan Varga  <vargaz@gmail.com>
2051         * String.cs (Split): Fix the handling of RemoveEmptyEntries when the separator
2052         matches at the beginning of the string. Fixes #374511.
2054 2008-04-13  Jb Evain  <jbevain@novell.com>
2056         * ICloneable.cs: use the INSIDE_CORLIB pattern to
2057         internalize code that is used outside the corlib.
2058         Merged from the Moonlight 2 branch.
2060 2008-04-04  Raja R Harinath  <harinath@hurrynot.org>
2062         * String.cs (EndsWith) [CultureInfo variant]: Handle null 'culture'.
2063         (StartsWith, EndsWith, IndexOf, LastIndexOf) [StringComparison variant]:
2064         Throw exception on invalid StringComparison.
2066 2008-04-01  Eyal Alaluf <eyala@mainsoft.com>
2068         * NumberFormatter.cs NumberFormatter.jvm.cs: Performance optimizations.
2069           Reuse a per thread instance to format all the primitive types. Modify
2070           class accordingly so the same
2071           instance can be used multiple times.
2072         * Int16.cs UInt64.cs Double.cs SByte.cs UInt16.cs Byte.csDecimal.cs
2073           TimeSpan.cs Int32.cs Int64.cs Single.cs UInt32.cs: Change use of
2074           NumberFormatter to adapt to above changes in class interface.
2076 2008-03-31  Mark Probst  <mark.probst@gmail.com>
2078         * MonoType.cs: Don't do CAS security checks in CheckMethodSecurity
2079         for 2.1 profile.
2081 2008-03-28  Marek Safar  <marek.safar@gmail.com>
2083         * Nullable.cs (Box): Do things explicitly and not rely on broken gmcs
2084         behaviour.
2086 2008-03-25  Zoltan Varga  <vargaz@gmail.com>
2088         * AppDomain.cs: Update after MonoMethod.InternalInvoke signature change.
2090         * Environment.cs: Bump corlib version.
2092         * DateTime.cs: Fix a warning.
2094 2008-03-21  Sebastien Pouliot  <sebastien@ximian.com>
2096         * String.cs: Use "this" in Split method instead of calling ToString.
2097         Found using Gendarme.
2099 2008-03-06  Marek Safar  <marek.safar@gmail.com>
2101         * MonoCustomAttrs (GetCustomAttributes): Type cannot be null with
2102         typeof (MonoCustomAttrs) hack.
2104 Wed Mar 5 19:39:01 CET 2008 Paolo Molaro <lupus@ximian.com>
2106         * Type.cs: optimize GetTypeCode () for the common case
2107         (fixes bug #367354).
2109 2008-03-02  Roei Erez  <roeie@mainsoft.com>
2111         * DateTime.cs: Improve the patch supplied by James Purcell to be
2112           dotnet-compatible, and add support for RoundTripKind parsing. 
2113           Fixed reopened bug #352210.
2116 Tue Feb 26 17:50:17 CET 2008 Paolo Molaro <lupus@ximian.com>
2118         * DateTime.cs: instroduce a method that returns ticks monotonically.
2120 2008-02-26  Ivan N. Zlatev  <contact@i-nz.net>
2122         * Attribute.cs, MonoCustomAttrs: MS ignores the inherit param in 
2123         PropertyInfo's ICustomAttributeProvider implementation, but not 
2124         in the Attributes, so directly get the attributes from 
2125         MonoCustomAttrs instead of going throught the PropertyInfo's 
2126         ICustomAttributeProvider.
2127         [Fixes bugs #324472 and #322464]
2129 2008-02-26  Atsushi Enomoto  <atsushi@ximian.com>
2131         * DateTime.cs : fix roundtrip regression in Sys.Xml.XmlConvertTests,
2132           patch by James Purcell (at #352210).
2134 2008-02-25  Atsushi Enomoto  <atsushi@ximian.com>
2136         * DateTime.cs, DateTimeUtils.cs : make Kind value from parse result
2137           as dotnet-compatible. Patch by James Purcell, fixed bug #352210.
2139 2008-02-18  Atsushi Enomoto  <atsushi@ximian.com>
2141         * DBNull.cs : ToType(typeof(DBNull),...) should be allowed.
2143 2008-02-16  Sebastien Pouliot  <sebastien@ximian.com>
2145         * Object.cs: Fix parameter name to match MS implementation. Found
2146         using Gendarme.
2147         * ValueType.cs: Fix parameter name to match MS implementation. 
2148         Found using Gendarme.
2150 2008-02-14  Jb Evain  <jbevain@novell.com>
2152         * Delegate.cs (CreateDelegate): refactor. DRY!
2154 2008-02-12  Gert Driesen  <drieseng@users.sourceforge.net>
2156         * Delegate.cs (CreateDelegate): Walk the inheritance change to find
2157         matching method. Skip methods for which the return type does not match
2158         the delegate. Fixes bug #360784.
2160 2008-02-11  Eyal Alaluf <eyala@mainsoft.com>
2162         * NumberFormatter.cs: Fix ToString("R") for +-Infinity & NaN.
2164 2008-02-08  Sebastien Pouliot  <sebastien@ximian.com>
2166         * Random.cs: Explain (and extend) special case in Next(min,max)
2168 2008-02-08  Juraj Skripsky  <js@hotfeet.ch>
2170         * Random.cs (Next): Use rounding (via implicit conversion) only on
2171         positive values. Fixes bug 359918.
2173 2008-02-03  Sebastien Pouliot  <sebastien@ximian.com>
2175         * Environment.cs: Remove unused method found with Gendarme.
2177 2008-02-02  Gert Driesen  <drieseng@users.sourceforge.net>
2179         * Variant.cs: Fixed line endings.
2180         * MonoType.cs: Fixed parameter name for ArgumentException to match MS.
2182 2008-01-29  Zoltan Varga  <vargaz@gmail.com>
2184         * Type.cs (MakeGenericType): Fix exception message.
2186 2008-01-29  Jb Evain  <jbevain@novell.com>
2188         * AppDomain.cs: add SL overload of DefineDynamicAssembly.
2190 2008-01-29  Marek Safar  <marek.safar@gmail.com>
2192         * Type.cs (MakeGenericType): More argument checks. Fixes #356863 by
2193          Sanghyeon Seo.
2195 2008-01-25  Rodrigo Kumpera  <rkumpera@novell.com>
2197         * MonoType.cs (InvokeMember): Fixed exceptions arguments for last comit.
2199 2008-01-24  Rodrigo Kumpera  <rkumpera@novell.com>
2201         * MonoType.cs (InvokeMember): Check for parameters without default value which
2202         the supplied argument is Missing.Value. Fixes one of the issues of #348522.
2204 2008-01-21  Sebastien Pouliot  <sebastien@ximian.com>
2206         * DateTimeOffset.cs: Avoid NRE on bad cast if null is provided to
2207         Equals(object). Found using Gendarme.
2209 2008-01-16  Zoltan Varga  <vargaz@gmail.com>
2211         * DateTimeOffset.cs: Fix warnings.
2213 2008-01-15  Stephane Delcroix  <sdelcroix@novell.com>
2215         * DateTimeOffset.cs: ParseExact: parse f, F, s too.
2217 2008-01-15  Stephane Delcroix  <sdelcroix@novell.com>
2219         * DateTimeOffset.cs: ParseExact: honor the DateTimeStyles parameter.
2221 2008-01-15  Zoltan Varga  <vargaz@gmail.com>
2223         * AppDomainSetup.cs Buffer.cs Action.cs Array.cs BadImageFormatException.cs Byte.cs
2224         Attribute.cs _AppDomain.cs Boolean.cs AppDomain.cs: Fix some argument names to be 
2225         consistent with MS.
2227 2008-01-14  Sephane Delcroix  <sdelcroix@novell.com>
2229         * DateTimeOffset.cs: start refactoring DoParse.
2231 2008-01-14  Zoltan Varga  <vargaz@gmail.com>
2233         * Type.cs (GetConstructor): Use correct binding flags in type (Type[]) overload.
2234         Fixes #353604.
2236 2008-01-13  Eyal Alaluf <eyala@mainsoft.com>
2238         * NumberFormatter.cs, Double.cs, Single.cs: Fix Single & Double default
2239           ToString to handle +-Infinity & NaN.
2241 2008-01-14  Sephane Delcroix  <sdelcroix@novell.com>
2243         * DateTimeOffset.cs: ParseExact (string, string, IFormatProvider) 
2244         implemented.
2247 2008-01-14  Zoltan Varga  <vargaz@gmail.com>
2249         * NumberFormatter.cs: Remove some redundant assignments.
2251 2008-01-13  Gert Driesen  <drieseng@users.sourceforge.net>
2253         * AppDomain.cs: Also fix bug #350530 for overload taking evidence and
2254         args. On 1.0 profile, throw COMException to match MS and to allow
2255         our unit tests to pass on MS.
2257 2008-01-13  Eyal Alaluf <eyala@mainsoft.com>
2259         * NumberFormatter.cs: Check in redesigned implementation. Improves
2260           double.ToString performance by 2-3 orders of magnitude and other
2261           primitive numeric types ToString performance.
2262         * NumberFormatter.jvm.cs: The TARGET_JVM managed tables for NumberFormatter
2263           class for reuse if a completely managed NumberFormatter is required.
2264         * Int16.cs UInt64.cs Double.cs UInt16.cs SByte.cs Byte.cs TimeSpan.cs
2265           Int32.cs Int64.cs Single.cs UInt32.cs: Adapt to new NumberFormatter.
2267 2008-01-13  Zoltan Varga  <vargaz@gmail.com>
2269         * AppDomain.cs: Check for a missing entry point in the ExecuteAssembly methods.
2270         Fixes #350530.
2272 2008-01-11  Stephane Delcroix  <sdelcroix@novell.com>
2274         * DateTimeOffset.cs: Fixes the MinValue (was equal to MaxValue)...
2276 2008-01-10  Zoltan Varga  <vargaz@gmail.com>
2278         * Delegate.cs: Implement argument checking in CreateDelegate(Type,object,MethodInfo)
2279         method. Make the CreateDelegate(Type,MethodInfo) overload calls this version.
2280         Fixes #352805.
2282 2008-01-10  Stephane Delcroix  <sdelcroix@novell.com>
2284         * DateTimeOffset.cs: chain the Parse* methods together.
2286 2008-01-09  Atsushi Enomoto  <atsushi@ximian.com>
2288         * DateTime.cs : revert the previous fix. It caused regression on
2289           the buildbot.
2291 2008-01-09  Atsushi Enomoto  <atsushi@ximian.com>
2293         * DateTime.cs : fixed bug #352210. Kind is unspecified by default,
2294           while the tick is for local time by default. This fix also involved
2295           special x509 handling.
2297 2008-01-08  Marek Safar  <marek.safar@gmail.com>
2299         * Array.cs (LastIndexOf<T>): Fixed bound checking.
2301 2008-01-06  Zoltan Varga  <vargaz@gmail.com>
2303         * AppDomain.cs: Move the assembly loading in ExecuteAssembly and 
2304         ExecuteAssemblyByName to managed to as said by the MSDN docs. Fixes #350530.
2306         * Environment.cs: Bump corlib version.
2307         
2308 2008-01-02  Marek Habersack  <mhabersack@novell.com>
2310         * Array.cs: fix a typo to unbreak the build.
2312 2008-1-1  Scott Peterson  <lunchtimemama@gmail.com>
2314         * Array.cs: Slight improvement to the quicksort algorithm.
2316 2007-12-28  Gert Driesen  <drieseng@users.sourceforge.net>
2318         * Environment.cs: Bump corlib version.
2320 2007-12-20  Gert Driesen  <drieseng@users.sourceforge.net>
2322         * AppDomain.cs: Added check for null AssemblyName, and invalid
2323         AssemblyName.Name to DefineDynamicAssembly overloads. Loosely based on
2324         patch provided by Cedric Vivier. Fixes bug #349272.
2326 2007-12-20  Stephane Delcroix  <sdelcroix@novell.com>
2328         * DateTimeOffset.cs: set [Min|Max]Value to UTC. Fixes #349621.
2330 2007-12-19  Stephane Delcroix  <sdelcroix@novell.com>
2332         * DateTime.cs:
2333         * DateTimeOffset.cs:
2334         * DateTimeUtils.cs: factored out the common pieces of DT and DTO into DTU.
2336 2007-12-18  Stephane Delcroix  <sdelcroix@novell.com>
2338         * DateTimeOffset.cs: implementing the 4 ToString overloads by reusing
2339         large chunks of System.DateTime code.
2341 2007-12-16  Stephane Delcroix  <sdelcroix@novell.com>
2343         * DateTimeOffset.cs: some bugfix discovered by unit tests.
2345 2007-12-16  Stephane Delcroix  <sdelcroix@novell.com>
2347         * DateTimeOffset.cs: almost complete implementation, still missing the
2348         Parse* and ToString methods.
2350 2007-12-11  Zoltan Varga  <vargaz@gmail.com>
2352         * AppDomain.cs (DoAssemblyResolve): Fix detection of whenever there is a
2353         reflection-only assembly resolve hook.
2355 2007-12-10  Stephane Delcroix  <sdelcroix@novell.com>
2357         * DateTimeOffset.cs: partial implementation. no longer just a stub.
2359 2007-11-30  Zoltan Varga  <vargaz@gmail.com>
2361         * Delegate.cs: Compute the Method property lazily.
2362         
2363         * Delegate.cs: Add a 'method' field.
2365         * Environment.cs: Bump corlib version.
2367 2007-11-21  Zoltan Varga  <vargaz@gmail.com>
2369         * Array.cs: Make the InternalArray_... methods internal.
2371         * Environment.cs: Bump corlib version.
2373 2007-11-21  Atsushi Enomoto  <atsushi@ximian.com>
2375         * AppDomain.cs : filled 2.0 API (extra ones are from 2.0 SP1).
2376         * ContextMarshalException.cs : obsolete in 2.0.
2378 2007-11-21  Atsushi Enomoto  <atsushi@ximian.com>
2380         * MarshalByRefObject.cs : Added MemberwiseClose() stub.
2381           GetLifetimeService() is not virtual (in both 2.0 and 1.1).
2382         * Console.cs : implemented missing 2.0 key members.
2384 2007-11-18  Gert Driesen  <drieseng@users.sourceforge.net>
2386         * Enum.cs: Provided ParamName of Argument(Null)Exceptions. Rewrote
2387         some exception messages.
2389 2007-11-16  Gert Driesen  <drieseng@users.sourceforge.net>
2391         * AppDomain.cs: Added some obsolete messages.
2393 2007-11-15  Gert Driesen  <drieseng@users.sourceforge.net>
2395         * MonoType.cs: Modified ParamName for ArgumentException to match
2396         MS. Provide meaningful exception messages. On 2.0, throw ANE instead
2397         of ArgumentException when args is null.
2399 2007-11-15  Zoltan Varga  <vargaz@gmail.com>
2401         * MonoType.cs (Invoke): Allow BindingFlags.SetField and
2402         BindingFlags.SetProperty to be specified together. Fixes #321735.
2404 2007-11-14  Miguel de Icaza  <miguel@novell.com>
2406         * Console.cs, ConsoleDriver.cs, TermInfoDriver.cs,
2407         TermInfoReader.cs, TermInfoNumber.cs, TermInfoStrings.cs,
2408         CStreamReader.cs, CStreamWriter.cs, NullConsoleDriver.cs,
2409         WindowsConsoleDriver.cs: In the 2.1 profile we do not need the
2410         full-blown Console (the terminal-addressable console) so we shrink
2411         it down to the basic 1.0 Console.
2413 2007-11-14  Marek Safar  <marek.safar@gmail.com>
2415         * Nullable.cs: Optimized to use generic comparers.
2417 2007-11-14  Zoltan Varga  <vargaz@gmail.com>
2419         * Array.cs (Copy): Throw InvalidCastException in more cases.
2421 2007-11-13  Zoltan Varga  <vargaz@gmail.com>
2423         * GCCollectionMode.cs GCLatencyMode.cs: New net 3.5 types.
2425 2007-11-12  Atsushi Enomoto  <atsushi@ximian.com>
2427         * NumberFormatter.cs : revert previous two changes. It does not
2428           really work for float and hence will rather bring confusion.
2430 2007-11-12  Atsushi Enomoto  <atsushi@ximian.com>
2432         * NumberFormatter.cs : limit the situation that needs roundtrip
2433           verification in the previous change to Double.
2435 2007-11-12  Atsushi Enomoto  <atsushi@ximian.com>
2437         * NumberFormatter.cs : applied a quick fix for bug #320433. It needs
2438           true fix to avoid extra perf. loss.
2440 2007-11-08  Sebastien Pouliot  <sebastien@ximian.com>
2442         * TimeZone.cs: Under 2.0 we must return a Local DateTime.MinValue.
2443         Fix the regression on the x86_64 bot which seems to be in it's own
2444         timezone.
2446 2007-11-07  Gert Driesen  <drieseng@users.sourceforge.net>
2448         * Exception.cs: Cosmetic change to default exception message on
2449         2.0 profile.
2451 2007-11-05  Gert Driesen  <drieseng@users.sourceforge.net>
2453         * Array.cs: Distinguish between notstarted and finished state when
2454         throwing IOE in Current, and provide meaningful exception message.
2456 2007-11-05  Sebastien Pouliot  <sebastien@ximian.com>
2458         * Array.cs: Fix Enumerator<T>.Reset (#322248).
2460 2007-11-05  Rodrigo Kumpera  <rkumpera@novell.com>
2462         * Type.cs (MakeGenericType): fix for #331199. If an user-defined type
2463         was used, the runtime would crash. Now we apply UnderlyingSystemType to
2464         all types before handling to the runtime.
2466 2007-11-05  Stephane Delcroix  <sdelcroix@novell.com>
2468         * TimeZone.cs: fix for #323911. The our after DST.Start is already DST.
2470 2007-11-03  Atsushi Enomoto  <atsushi@ximian.com>
2472         * DateTime.cs : fix for #330085. for Local time, convert to Utc
2473           before getting ticks.
2475 2007-11-03  Gert Driesen  <drieseng@users.sourceforge.net>
2477         * ArgumentException.cs: Change default message to match MS. Removed
2478         unnecessary check from Message, since base.Message can never be null.
2480 2007-11-01  Atsushi Enomoto  <atsushi@ximian.com>
2482         * DateTime.cs : ParseExact() should ignore 'K' when there is no
2483           character is left.
2485 2007-11-01  Atsushi Enomoto  <atsushi@ximian.com>
2487         * DateTime.cs : in roundtrip mode, 'Z' should turn the tick value to
2488           utc time and should not result in different ticks.
2489           Fixed bug #338064.
2491 2007-10-30  Miguel de Icaza  <miguel@novell.com>
2493         * UInt32.cs (Parse): Use Jeff Stedfast's parsing code which is
2494         smaller and does not need checked() constructs. 
2496         * Int64.cs, Int32.cs, Int16.cs: small tuneup: do not throw
2497         exception, instead return the exception like every other place in
2498         this code. 
2500         * Int16.cs, Int32.cs, Int64.cs: Use the Jeff Stedfast parsing code
2501         which is smaller.  We no longer use "checked" to check for
2502         overflows, I refactored some stuff and cleaned up the rest and
2503         fixes #331525.
2505 2007-10-27  Zoltan Varga  <vargaz@gmail.com>
2507         * MonoType.cs: Applied patch from Mario A Chavez 
2508         <mario.chavez@gmail.com>. Add support for invoking members with the 
2509         ParamArray attribute. Fixes #336841.
2511 2007-10-26  Zoltan Varga  <vargaz@gmail.com>
2513         * MonoType.cs (InvokeMember): Make sure one operation is passed in the binding
2514         flags. Fixes #336936.
2516 Fri Oct 26 19:43:09 CEST 2007 Paolo Molaro <lupus@ximian.com>
2518         * Environment.cs, String.cs: patch from Tyler Larson
2519         <mono-devel@tlarson.com> to fix the handling of the RemoveEmptyEntries
2520         option in string.Split (bug #322375).
2522 2007-10-26  Dick Porter  <dick@ximian.com>
2524         * Environment.cs: Bump version because of Thread initialisation
2525         changes
2527 2007-10-25  Lluis Sanchez Gual  <lluis@novell.com>
2529         * AppDomain.cs: In DefaultDomain, wrap the returned domain with
2530         a proxy if the current domain is not the root domain.
2532 2007-10-24  Atsushi Enomoto  <atsushi@ximian.com>
2534         * Type.cs : implemented ReflectionOnlyGetType().
2536 2007-10-19  Zoltan Varga  <vargaz@gmail.com>
2538         * AppDomain.cs: Add NET 3.5 DefineDynamicAssembly () overloads.
2540 2007-10-13  Zoltan Varga  <vargaz@gmail.com>
2542         * Delegate.cs (CreateDelegate): Allow binding instance methods to 
2543         delegates with an extra argument, a NET 2.0 feature. Fixes #333647.
2545 Fri Oct 12 08:11:50 CEST 2007 Paolo Molaro <lupus@ximian.com>
2547         * String.cs: reverted unapproved patch that breaks the build.
2549 2007-10-11  Joel Reed  <joelwreed@comcast.com>
2551         * String.cs: fix String.Split(char[],int,StringSplitOptions)
2552         with StringSplitOptions.RemoveEmptyEntries option. The correct 
2553         behavior is to remove empty entries while the string is being split, 
2554         and always return the maximum number of elements possible.
2555         Patch from: Tyler Larson <mono-devel@tlarson.com>
2556         
2557 2007-09-28  Jb Evain  <jbevain@novell.com>
2559         * Object.cs: Make ToString return Type.ToString ()
2560         by default instead of Type.FullName to match .net
2561         behavior. Fix #329419.
2563 2007-09-28  William Holmes  <billholmes54@gmail.com>
2565         * DateTime.cs: Check for AssumeUniversal when parsing string.
2566          Fixes bug #324845
2568 2007-09-21  Gert Driesen  <drieseng@users.sourceforge.net>
2570         * Enum.cs: Use regular single quotes in exception message.
2572 2007-09-14  Paolo Molaro <lupus@ximian.com>
2574         * String.cs: implemented all the string ctors using CreateString
2575         methods, so they can run completely in managed code.
2577 2007-09-13  Marek Safar  <marek.safar@gmail.com>
2579         * DateTimeOffset.cs: Implemented few properties.
2581 2007-09-13  Atsushi Enomoto  <atsushi@ximian.com>
2583         * Decimal.cs, Math.cs : implemented midpoint rounding.
2585 2007-09-13  Atsushi Enomoto  <atsushi@ximian.com>
2587         * Activator.cs : implemented 2.0 CreateInstance()
2588           and CreateInstanceFrom () overloads.
2590 2007-09-12  Sebastien Pouliot  <sebastien@ximian.com>
2592         * Decimal.cs: More explicit text in exception (old and almost 
2593         forgetten patch on laptop ;-)
2595 2007-09-10  Atsushi Enomoto  <atsushi@ximian.com>
2597         * OperatingSystem.cs : implemented ISerializable.
2599 2007-08-28  Zoltan Varga  <vargaz@gmail.com>
2601         * DateTime.cs: Fix a warning.
2603 2007-08-25  Robert Jordan  <robertj@gmx.net>
2605         * DateTime.cs: Implement internal To/FromBinary for the 1.1 profile.
2607 2007-08-25  Alan McGovern  <amcgovern@novell.com>
2609         * DateTime.cs: Reverted DateTime changes.
2611 2007-08-25  Robert Jordan  <robertj@gmx.net>
2613         * DateTime.cs: Implement internal To/FromBinary for the 1.1 profile.
2615 2007-08-24  Zoltan Varga  <vargaz@gmail.com>
2617         * Array.cs: Fix min + max / 2 overflows in the BinarySearch and qsort methods.
2618         Fixes #82469.
2620 2007-08-23  Marek Safar  <marek.safar@gmail.com>
2622         * DateTimeOffset.cs: New .NET 3.5 struct for 2.0 mscorlib.
2623         
2624 2007-08-23  Eyal Alaluf <eyala@mainsoft.com>
2626         * DateTime.cs: Numerous improvements to DateTime.Parse. It handles a lot
2627           more possible formats and more correctly at that. It is also now easier
2628           to manage the formats DateTime.Parse supports.
2630 2007-08-17  Zoltan Varga  <vargaz@gmail.com>
2632         * Exception.cs: Make 1.0 and 2.0 object layout the same since this class is seen
2633         by the runtime. Fixes #82459.
2635 2007-08-16  Gert Driesen  <drieseng@users.sourceforge.net>
2637         * MonoCustomAttrs.cs: In IsDefined, throw ArgumentNullException if
2638         attributeType is null to avoid a SIGSEGV (and match MS). Only partial
2639         fix for bug #82431 on 1.0 profile; it fully fixes the problem for the
2640         1.0 profile, but more changes (in the runtime) are required for the
2641         2.0 profile. Added a FIXME explaining the problem.
2643 2007-08-15  Gert Driesen  <drieseng@users.sourceforge.net>
2645         * MonoCustomAttrs.cs: In IsDefined, only walk inheritance chain if
2646         both AttributeUsage.Inherited and inherit are true. Fixed bug #82431.
2648 2007-08-13  Gert Driesen  <drieseng@users.sourceforge.net>
2650         * ArgumentException.cs: Ignore zero-length ParamName for Message.
2651         Use ParamName property instead of field, since the property is marked
2652         virtual.
2653         * Array.cs: Provide more meaningful exception message when destination
2654         array is not long enough.
2656 2007-08-11  Zoltan Varga  <vargaz@gmail.com>
2658         * Array.cs: Implement InternalArray__set_Item. Fixes #82345.
2660 2007-08-08  Atsushi Enomoto  <atsushi@ximian.com>
2662         * IntPtr.cs : oops, do not ignore format in ToString(string).
2664 2007-08-08  Atsushi Enomoto  <atsushi@ximian.com>
2666         * GC.cs, Exception.cs, IntPtr.cs, Enum.cs, DateTime.cs, Convert.cs
2667           ConsoleKeyInfo.cs, String.cs, Object.cs, Attribute.cs,
2668           Version.cs : couple of cosmetic 2.0 API fixes.
2670 2007-08-06  Aaron Bockover  <abockover@novell.com>
2672         * Environment.cs (ReadXdgUserDir): Support the changes to the
2673         xdg-user-dirs spec that allow $HOME to start the path; also allows
2674         for quotes surrounding the path (Patch ported from Banshee,
2675         BGO #461596)
2677 2007-07-28  Miguel de Icaza  <miguel@novell.com>
2679         * MulticastDelegate.cs (Equals): do not cast to avoid exceptions,
2680         instead use the "as" operator, as pointed out by Jesse Jones'
2681         tool. 
2683 2007-07-21  Gert Driesen  <drieseng@users.sourceforge.net>
2685         * BitConverter.cs: Fixed exceptions to match MS. Fixed invalid use
2686         of ArgumentOutOfRangeException and ArgumentException ctors that take
2687         both parameter name and message. In ToString throws ArgumentException
2688         instead of ArgumentOutOfRangeException when length is negative, and
2689         return zero-length string when length is 0.
2691 2007-07-20  Atsushi Enomoto  <atsushi@ximian.com>
2693         * AppDomainSetup.cs : fix serialization regression.
2695 2007-07-20  Atsushi Enomoto  <atsushi@ximian.com>
2697         * AppDomainSetup.cs :
2698           MonoTODO AppDomainInitializer as its implementation is wrong.
2700 2007-07-20  Atsushi Enomoto  <atsushi@ximian.com>
2702         * AppDomainSetup.cs : added missing 2.0 members.
2703         * AppDomain.cs : support AppDomainInitializer.
2705 2007-06-06  Miguel de Icaza  <miguel@novell.com>
2707         * Int16.cs, UInt64.cs, SByte.cs, UInt16.cs, Byte.cs, Int32.cs,
2708         Int64.cs, UInt32.cs: Fix for 81775.
2710         I removed Parse from a Byte.cs and UInt16.cs as in various cases
2711         they still depended on UInt32.cs for parsing, there is no reason
2712         to keep all of this code duplicated (UInt64 is a different case
2713         though). 
2715         I was hoping for some feedback on whether my tests are correct,
2716         but so far no takers.
2718 2007-07-14  Zoltan Varga  <vargaz@gmail.com>
2720         * ModuleHandle.cs: Implement the generic versions of the ResolveXXXHandle () methods.
2721         
2722         * ModuleHandle.cs: Add stubs for generic ResolveXXXHandle () methods.
2724 2007-07-10  Alan McGovern <amcgovern@novell.com>
2726         * Guid.cs: All whitespace should be trimmed from before and
2727         after a string passed into the Guid constructor. Fixes #81958
2729 2007-07-10  Zoltan Varga  <vargaz@gmail.com>
2731         * RuntimeTypeHandle.cs: Fix signatures of == and != operators.
2733         * ModuleHandle.cs: Add missing 2.0 stuff.
2735 2007-07-08  Zoltan Varga  <vargaz@gmail.com>
2737         * *.cs: Add missing ComVisible attributes.
2739         * Delegate.cs: Add missing 2.0 CreateDelegate () methods.
2741 2007-07-07  Gert Driesen  <drieseng@users.sourceforge.net>
2743         * DateTime.cs: In ParseExact, throw ArgumentNullException if format
2744         is null; throw FormatException if formats array is empty or if one of
2745         items is null or a zero-length string.
2747 2007-07-06  Rodrigo Kumpera  <rkumpera@novell.com>
2749         * Double.cs (Parse): Fix for string ending in garbaga, it was just ignoring it
2750         instead of throwing FormatException. Fixes #81777
2752 2007-07-06  Rodrigo Kumpera  <rkumpera@novell.com>
2754         * Double.cs (Parse): Fix for whitespace only strings, it was returning zero 
2755         instead of throwing FormatException. Fixes #81630 
2757 2007-07-06  Alan McGovern  <amcgovern@novell.com>
2759         * DateTime.cs: If the format is null or empty, it should default to 'G'.
2760         Fixes bug 81778
2762 2007-07-06  Jonathan Chambers  <joncham@gmail.com>
2764         * __ComObject.cs: Support ExtensibleClassFactory.
2767 2007-07-06  Aaron Bockover  <abockover@novell.com>
2769         * Environment.cs (InternalGetFolderPath): Try reading some
2770         paths from ~/.config/user-dirs.dirs (XDG user dirs spec);
2771         always return something for MyPictures
2773 2007-07-04  Atsushi Enomoto  <atsushi@ximian.com>
2775         * Type.cs : 2.0 TypeHandle and ContainsGenericParameters are virtual
2776           (required fix for 2.0 reflection API fixes).
2778 2007-06-22  Jonathan Chambers  <joncham@gmail.com>
2780         * __ComObject.cs: Move interface lookup to unmanaged.
2782 2007-06-21  Zoltan Varga  <vargaz@gmail.com>
2784         * Environment.cs: Bump corlib version.
2786         * Delegate.cs: Applied patch from Robert Jordan (robertj@gmx.net). Keep
2787         the dynamic method referenced by a delegate alive.
2789 2007-06-05  David Ferguson <davecferguson@gmail.com>
2791         * DateTime.cs: Changed DateTime.Parse() to throw a FormatException
2792           instead of an ArgumentOutOfRangeException for .NET 2.0.  An
2793           ArgumentOutOfRangeException is still thrown for .NET 1.1.
2794           Fixes bug #77633
2795           
2796 Mon Jun 4 14:52:17 CEST 2007 Paolo Molaro <lupus@ximian.com>
2798         * String.cs: optimized CompareOrdinal ().
2800 2007-06-02  Zoltan Varga  <vargaz@gmail.com>
2802         * MonoCustomAttrs.cs (GetBase): Revert last change as it breaks the build.
2803         
2804         * MonoCustomAttrs.cs (GetBase): Handle properties correctly. Fixes #81797.
2806 2007-05-31  Zoltan Varga  <vargaz@gmail.com>
2808         * Delegate.cs: Add invoke_impl field. Reorder fields for better cache behavior. Add
2809         SetMulticastDelegate icall.
2811         * MulticastDelegate.cs (CombineImpl): Call SetMulticastDelegate () on newly created
2812         delegate.
2814         * Environment.cs: Bump corlib version.
2815         
2816 2007-05-25  Jonathan Chambers  <joncham@gmail.com>
2818         * __ComObject.cs: Add overload to GetInterface to allow
2819         not throwing exceptions. Fixes as and is operators for COM objects.
2821 2007-05-23  Atsushi Enomoto  <atsushi@ximian.com>
2823         * Array.cs : reverting Array.cs fixes since the runtime depends on
2824           those method attributes.
2826 2007-05-23  Atsushi Enomoto  <atsushi@ximian.com>
2828         * Int16.cs UInt64.cs UIntPtr.cs Double.cs CrossAppDomainDelegate.cs
2829           ResolveEventHandler.cs IntPtr.cs UnhandledExceptionEventHandler.cs
2830           Void.cs AssemblyLoadEventHandler.cs SByte.cs UInt16.cs DateTime.cs
2831           Byte.cs TimeSpan.cs Decimal.cs Int32.cs Delegate.cs
2832           AppDomainInitializer.cs MulticastDelegate.cs Int64.cs
2833           EventHandler.cs Single.cs UInt32.cs AsyncCallback.cs :
2834           cosmetic attribute fixes (ComVisible/Serializable).
2836 2007-05-22  Atsushi Enomoto  <atsushi@ximian.com>
2838         * Convert.cs : completed 2.0 (ToBase64CharArray).
2839         * String.cs : removed MonoTODO.
2840         * DataMisalignedException.cs : removed extra .ctor().
2841         * Array.cs : internalize extra members. Fixed reliability contract.
2843 2007-05-17  Atsushi Enomoto  <atsushi@ximian.com>
2845         * DateTime.cs : added support for 'K'.
2847 2007-05-11  Jonathan Chambers  <joncham@gmail.com>
2849         * __ComObject.cs: No need to call CoInitialize anymore since
2850         Thread.ApartmentState was implemented.
2852 2007-05-11  Jeffrey Stedfast  <fejj@novell.com>
2854         Fixes bug #81540
2856         * TermInfoDriver.cs (WriteSpecialKey): Actually clear the screen
2857         and reset the cursor position to 0,0 when the key is
2858         ConsoleKey.Clear.
2859         (Clear): Reset the cursor position to 0,0
2861 2007-05-09  Marek Safar  <marek.safar@gmail.com>
2863         * MulticastDelegate.cs: Fixed operators logic.
2865 2007-05-09  Marek Habersack  <mhabersack@novell.com>
2867         * DateTime.cs: add a format used in ASP.NET QuickStarts 
2868           ("HH':'mm tt MM/dd/yyyy")
2870 2007-04-30  Zoltan Varga  <vargaz@gmail.com>
2872         * Type.cs (Equals): Allow a null argument.
2874 2007-04-27  Zoltan Varga  <vargaz@gmail.com>
2876         * Environment.cs (StackTrace): Avoid skipping a frame to be
2877         compatible with MS.
2879 2007-04-25  Atsushi Enomoto  <atsushi@ximian.com>
2881         * DateTimeTest.cs : looks like 'F' even removes preceding '.' ...
2883 2007-04-25  Atsushi Enomoto  <atsushi@ximian.com>
2885         * DateTime.cs : implemented new-2.0 'F' pattern letter.
2887 2007-04-24  Jeffrey Stedfast  <fejj@novell.com>
2889         Fixes the last of the bugs listed in bug #77525
2891         * TermInfoDriver.cs (ctor): For known terminal types, set color16
2892         to true (since we know they support 16 colours).
2893         (Init): set the setlfgcolor and setlbgcolor format strings.
2894         (BackgroundColor): Use the appropriate formatter string for
2895         setting the bgcolor.
2896         (ForegroundColor): Use the appropriate formatter string for
2897         setting the fgcolor.
2898         (TranslateColor): Now takes (and sets appropriately) an output
2899         'bool light' argument.
2901 2007-04-24  Marek Habersack  <mhabersack@novell.com>
2903         * TermInfoDriver.cs: don't include debug stuff by default - it
2904         breaks multithreaded applications (they all attempt to open
2905         console.log and fail because of sharing violation).
2907 2007-04-23  Jeffrey Stedfast  <fejj@novell.com>
2909         * TermInfoDriver.cs (ReadKeyInternal): Since our input stream is
2910         buffered, check if it has more buffered input in addition to our
2911         timeout check. This makes it such that we will actually correctly
2912         match multi-char escape sequences.
2913         (Read): Changed the logic slightly wrt 'fresh' echoing. Once we
2914         encounter a fresh char, all chars afterward should also be
2915         considered 'fresh' even if 'fresh' is returned as false later.
2916         (ReadLine): Same logic here.
2918 2007-04-23  Jeffrey Stedfast  <fejj@novell.com>
2920         Fixes bug #80702 (via getting rid of the casting) and more.
2922         The following change makes it such that even if an application
2923         calls Console.SetOut() with its own output stream, we can still
2924         properly echo user-input from stdin to the real stdout.
2926         * TermInfoDriver.cs (ctor): Grab a reference to the original
2927         Console.stdout so we can be sure we always echo to console.
2928         (QueueEcho): No need to cast Console.stdout anymore.
2929         (EchoFlush): Same.
2930         (WriteConsole: Here too.
2932 2007-04-20  Jeffrey Stedfast  <fejj@novell.com>
2934         * TermInfoDriver.cs (QueueEcho): Renamed from Echo(char). Use
2935         CStreamWriter's new InternalWriteChars().
2936         (Echo): Since we can no longer go thru CStreamWriter's ::Write()
2937         method that does checks for special keys, do the checks here
2938         instead - if it is a special key, flush the echo buffer and then
2939         write the special key.
2940         (EchoFlush): Also updated to use CStreamWriter's new
2941         InternalWriteChars().
2942         (Read): Use the Echo(key) variety.
2943         (ReadKey): Same.
2944         (ReadLine): And here too.
2946         * CStreamWriter.cs (InternalWriteChars): Write a char array
2947         directly to stdout. Do not pass Go, do not collect $200.
2949 2007-04-19  Jeffrey Stedfast  <fejj@novell.com>
2951         Optimization for echoing keypresses back to the console when the
2952         user pastes a block of text rather than manually typing text.
2954         * TermInfoDriver.cs (Echo): A new convenience function for echoing
2955         characters/keys back to the console with an optimization twist and
2956         a bit of lime.
2957         (EchoFlush): Flush our pending echo queue
2958         (Read): Make use of Echo() both for convenience and for speed.
2959         (ReadLine): Same.
2960         (ReadKey): Make use of Echo()/EchoFlush() for simplicity of code,
2961         but we won't get the same optimization out of it.
2963 2007-04-19  Jeffrey Stedfast  <fejj@novell.com>
2965         Fix for bug #81373.
2967         * TermInfoDriver.cs: Changed 'buffer' to be a char array instead
2968         of a byte array and stdin is now a StreamReader rather than a
2969         Stream.
2970         (Init): Setup stdin as a StreamReader using Console.InputEncoding
2971         as our encoding.
2972         (GetCursorPosition): Use stdin.Read() instead of the old
2973         ReadByte() code.
2974         (AddToBuffer): Updated to allocate the correct array type for
2975         'buffer'.
2976         (ReadKeyInternal): Updated to use stdin.Read() rather than
2977         stdin.ReadByte(). This is the main reason we needed to use chars
2978         instead of bytes. Characters entered by the user need to be
2979         represented as unicode chars and not bytes like before.
2980         (Match): Now takes a char[] buffer argument instad of byte[] and
2981         compares the input buffer to the byte-map as chars.
2983 2007-04-18  Jeffrey Stedfast  <fejj@novell.com>
2985         Fixes bug #81159: behave the same as mscorlib
2987         * TermInfoDriver.cs (ReadKeyInternal): Now has an 'out bool fresh'
2988         argument which is used to tell our caller if the key was freshly
2989         read from the console or pre-buffered.
2990         (Read): New implementation of Console.In.Read(char[], int, int)
2991         that behaves exactly like mscorlib's implementation.
2992         (ReadKey): Updated for the ReadKeyInternal() API change - only
2993         echo if the key was fresh.
2994         (ReadLine): Same.
2996         * CStreamReader.cs (Read): Call the new TermInfoDriver.Read()
2998 2007-04-17  Jeffrey Stedfast  <fejj@novell.com>
3000         * CStreamWriter.cs (Write): Optimized this some more, we don't
3001         need a temporary buffer. Just blit chunks of the src buffer
3002         instead.
3004         * CStreamReader.cs (Read): Need to increment our array index so
3005         that we don't store each byte read into the same
3006         position. Discovered this while testing bug #81159 (which appears
3007         to work as expected with current svn, other than this buglet).
3009         * TermInfoDriver.cs (CursorTop::set): SetCursorPosition() sets our
3010         internal cursorTop variable, so no need to explicitly set it again
3011         after calling SetCursorPosition().
3012         (CursorLeft::set): Same idea here.
3014 2007-04-17  Jeffrey Stedfast  <fejj@novell.com>
3016         * TermInfoDriver.cs (ReadLine): Implemented a workaround for
3017         IronPython going behind System.Console's back when writing text to
3018         the screen (it doesn't seem to use Console.stdout, instead it
3019         creates its own file stream or something which just so happens to
3020         write to the same file descriptor) by querying for the cursor
3021         position in ReadLine(), so we lose no real performance (since we
3022         have to wait for user input anyway).
3024 2007-04-17  Jeffrey Stedfast  <fejj@novell.com>
3026         * TermInfoDriver.cs (Init): SetEcho(false), we'll be manually
3027         echoing from now on (ReadLine() has already been doing this, might
3028         as well make ReadKey() behave the same).
3029         (GetCursorPosition): No longer need to disable/re-enable echo
3030         anymore since it is now always false.
3031         (ReadKey): Manually echo the key back to the console just like
3032         ReadLine() has been doing (in the interest of consistancy) if
3033         intercept is false.
3034         (ReadLine): No longer need to disable/re-enable echo, echo is
3035         always off now. Also, fixed what appears to have been a typo.
3037 2007-04-17  Jeffrey Stedfast  <fejj@novell.com>
3039         * TermInfoDriver.cs (IsSpecialKey): Oops, Enter should not be
3040         treated as a special key. Just update out cursor state here like
3041         we do with normal chars.
3042         (WriteSpecialKey): Enter is a no-op now because it is not treated
3043         as a special key anymore.
3045         * CStreamWriter.cs (Write): Only flush our buffer if j > 0
3047 2007-04-17  Jeffrey Stedfast  <fejj@gnome.org>
3049         Turns out my last patch was broken wrt handling some special keys
3050         like Backspace and anything else that changed the cursor position
3051         in some non-standard way.
3053         * CStreamWriter.cs (Write): Instead of calling NotifyWrite(), we
3054         instead need to check IsSpecialKey(), and, if so, flush whatever
3055         we have saved in our temporary buffer and then call
3056         WriteSpecialKey(). Otherwise go on as we did in the last patch.
3058         * TermInfoDriver.cs (NotifyWrite): Broken up into 2 functions:
3059         (IsSpecialKey): Returns true if we need to do some special voodoo
3060         for this key
3061         (WriteSpecialKey): Write the special key (using whatever voodoo
3062         necessary)
3064 2007-04-16  Jeffrey Stedfast  <fejj@gnome.org>
3066         * CStreamWriter.cs (Write): Instead of writing 1 char at a time,
3067         copy the bytes into a temporary char array (with a fixed max size)
3068         so that we can minimize the number of Write() calls we make on the
3069         underlying stream (and thus on the write() system call).
3071 2007-04-17  Alp Toker  <alp@atoker.com>
3073         * Array.cs: Make GetRank() icall private. Subclasses should use the
3074         public Rank property.
3076 2007-04-16  Jeffrey Stedfast  <fejj@novell.com>
3078         * WindowsConsoleDriver.cs: Get rid of unused Echo property.
3080         * NullConsoleDriver.cs: Get rid of Echo property.
3082         * IConsoleDriver.cs: Get rid of Echo property.
3084         * ConsoleDriver.cs (Echo::get/set): Removed, not needed.
3086         * TermInfoDriver.cs (Echo::get/set): Removed, this isn't necessary
3087         and is confusing.
3088         (ReadKey): If we are intercepting the key, call SetEcho (false)
3089         and then reset back to true after reading the key.
3090         (ReadLine): Same idea here.
3091         (GetCursorPosition): We no longer need to keep track of the
3092         previous echo state, we no longer have it :)
3094 2007-04-16  Jeffrey Stedfast  <fejj@novell.com>
3096         Fix for bug #80710 (and a bug I introduced in my last fix due to
3097         this code assuming the underlying term echo state was always
3098         false) and other buglets that I noticed.
3100         * TermInfoDriver.cs (ReadLine): Set (term) Echo to false as we do
3101         our own manual echoing which prevents ^H from getting displayed on
3102         the screen when the user hits backspace.
3103         (ReadLine): If the user hits Backspace and builder.Length is 0, DO
3104         NOT echo the backspace back to the console, ever.
3105         (ReadLine): Only echo characters back to the console if echo is
3106         set to true. Seems the Echo ConsoleDriver property is a Mono
3107         extension, and I'm assuming this is the intended behavior? I can't
3108         see what else the Echo property would be useful for...
3110 2007-04-16  Jeffrey Stedfast  <fejj@novell.com>
3112         Fixes bug #81050
3114         * TermInfoDriver.cs: Renamed the noEcho variable to echo, makes
3115         the logic cleaner/simpler/etc. Plus it was never actually used
3116         other than in the property methods which are called Echo.
3117         (Init): Call ConsoleDriver.SetEcho() with the 'echo' value -
3118         allows for a slight optimization if called from within the
3119         Echo::set property.
3120         (GetCursorPosition): Instead of calling the Echo property methods,
3121         call ConsoleDriver.SetEcho() directly to toggle echo off (if echo
3122         isn't already off, and then back on once we're finished getting
3123         the position - assuming the echo state is on, of course) - this
3124         avoids calling back into Init() which just felt dirty.
3125         (Echo::set): If the Echo state differs from our current state,
3126         call ConsoleDriver.SetEcho() with the new state (this is the
3127         important piece of the fix for bug #81050).
3128         (ReadKey): Simplified the echo logic to make it a bit clearer.
3129         (ReadLine): Same.
3131 2007-04-16  Marek Safar  <marek.safar@gmail.com>
3133         * Char.cs (IsLetter): Faster version.
3135 2007-04-15  Alp Toker  <alp@atoker.com>
3137         * Decimal.cs: Provide 2.0 Round() overloads using System.Math.
3139 2007-04-15  Alp Toker  <alp@atoker.com>
3141         * Activator.cs: CreateInstance(Type,object[]) was not params before
3142         2.0.
3144 2007-04-15  Alp Toker  <alp@atoker.com>
3146         * NonSerializedAttribute.cs: Inherited=false in 2.0.
3148 2007-04-05  Dick Porter  <dick@ximian.com>
3150         * Environment.cs: Increment mono_corlib_version
3152 2007-04-03  Alp Toker  <alp@atoker.com>
3154         * Array.cs: CreateInstance(Type,int[]) is params.
3155         * AppDomain.cs: ExecuteAssemblyByName(string,Evidence,string[]) is
3156         params.
3158 2007-04-03  Alp Toker  <alp@atoker.com>
3160         * Convert.cs:
3161         * Math.cs: Should be static classes in 2.0.
3163 2007-04-03  Alp Toker  <alp@atoker.com>
3165         * Delegate.cs: DynamicInvoke(object[]) is params in 2.0.
3167 2007-04-03  Alp Toker  <alp@atoker.com>
3169         * Delegate.cs: Combine(Delegate[]) is params in 2.0.
3171 2007-03-27  Dick Porter  <dick@ximian.com>
3173         * Environment.cs: Increment mono_corlib_version;
3175 2007-03-16  Miguel de Icaza  <miguel@novell.com>
3177         * BitConverter.cs: Revert the patch from 72237 as that introduces
3178         a regression and we are not sure yet what we will be doing about
3179         that.
3181         Introduce a new InternalInt64BitsToDouble method that provides the
3182         fixed functionality, mark it as internal.
3184         Introduce a new SwappableToDouble method that includes the
3185         swapping ToDouble routine as introduced by Zoltan on 72237, this
3186         is used by InternalInt64BitsToDouble.
3188         * Math.cs (IEEERemainder): Use the InternalInt64BitsToDouble
3189         routine here to preserve the semantics from Zoltan.  
3191         The problem with BitConverter.cs is that it is completely hossed.
3192         In .NET 1.1 it is a bitwise copy, no attempt is ever done to do
3193         endian-specific swapping.   In .NET 2.0 it is *almost* like that,
3194         but it is subtly broken: if data is unaligned then endian
3195         conversions happen.  If the data is properly aligned it behaves
3196         like 1.0.
3198         In general BitConverter is a sad class that offers little control,
3199         we will be introducing a new mono bit converter and encourage
3200         users to use that instead of the entirely broken
3201         System.BitConverter. 
3203 2007-03-11  Gert Driesen  <drieseng@users.sourceforge.net>
3205         * Delegate.cs: Fixed bootstrap build.
3207 2007-03-08  Gert Driesen  <drieseng@users.sourceforge.net>
3209         * StringComparer.cs: Renamed StringComparer classes and promoted them
3210         to top-level classes. Merged Ordinal and OrdinalIgnoreCase comparers.
3211         Fixes binary serialization compatibility with MS.
3213 2007-03-06  Zoltan Varga  <vargaz@gmail.com>
3214   
3215         * Type.cs (Equals): Remove a useless check.
3217         * Type.cs: Rename Type:Equals(Type) to EqualsInternal, and add support for checking
3218         UnderlyingSystemType. Fixes #81037.
3220 2007-03-05 Gonzalo Paniagua Javier <gonzalo.mono@gmail.com>
3222         * TermInfoDriver.cs: adjust buffer indexes after *every* read. Fixes
3223         bug #80329. Robert Jordan attached a similar patch to the bug report
3224         but I didn't see it until after my commit...
3226 2007-03-05  Peter Dettman <peter.dettman@iinet.net.au>
3228         * Enum.cs: The above patch makes the formatting for specifiers 'x'
3229         and 'X' behave like MS.NET, including the correct length for each
3230         possible underlying type, and correctly using capital letters for
3231         the 'X' case.
3233         Patch also includes some more test cases in EnumTests.cs.
3235 2007-02-25  Gert Driesen  <drieseng@users.sourceforge.net>
3237         * AppDomainSetup.cs: If configuration file is not an absolute path,
3238         then throw a MemberAccessException if ApplicationBase is not set,
3239         or otherwise consider it as a path relative to ApplicationBase.
3240         Fixes bug #80934. Patch provided by Jamie Cansdale.
3241         * AppDomain.cs: In CreateDomain, construct AppDomain with
3242         ApplicationBase of default domain if not explicitly set in specified
3243         AppDomainSetup. If config file is not set, then use filename of the
3244         default domain config file. Base on patch provided by Jamie Cansdale.
3246 2007-02-16  Sebastien Pouliot  <sebastien@ximian.com>
3248         * Random.cs: Fix exception messages ("then" -> "than"). Spotted by
3249         Mark A. Nicolosi (#80873).
3251 2007-02-12  Miguel de Icaza  <miguel@novell.com>
3253         * CStreamWriter.cs (Write with char []): take the lock once for
3254         all characters and call manually the InternalWriteChar properly to
3255         speed things up.
3257         (Write with string parameter): same thing, if the driver is not
3258         initialized use a fast path.
3260         If the driver has not been initialized, use a fast path instead. 
3262 Mon Feb 12 21:54:57 CET 2007 Paolo Molaro <lupus@ximian.com>
3264         * MonoType.cs: patch from Cedric Vivier <cedricv@neonux.com> to
3265         get correctly non-public fields from generic types.
3267 2007-02-08  Jonathan Chambers  <joncham@gmail.com>
3269         * __ComObject.cs: Add IUnknown field to object. Cleanup icalls.
3270         
3271 2007-02-03  Zoltan Varga  <vargaz@gmail.com>
3273         * BitConverter.cs (ToDouble): Fix this on big-endian machines.
3275 2007-01-30  Atsushi Enomoto  <atsushi@ximian.com>
3277         * TimeZone.cs: According to the docs, we should not throw when
3278         converting to Localtime if we are a negative value.  Instead we
3279         return DateTime.MinValue.
3281 2007-01-25  Atsushi Enomoto  <atsushi@ximian.com>
3283         * DateTime.cs : copy Kind in those members that return DateTime.
3284           Fixed bug #80614.
3286 2007-01-20  Miguel de Icaza  <miguel@novell.com>
3288         * Array.cs (InternalArray__ICollection_Contains,
3289         InternalArray__IndexOf): Cope with null values in the array (See
3290         bug #80563).
3292 2007-01-19  Marek Habersack  <grendello@gmail.com>
3294         * AppDomain.cs: Make sure that domain
3295         SetupInformation.ConfigurationFile is never null. MS.NET by
3296         default copies the default domain's ConfigurationFile value
3297         there. Fixes bug #80547.
3299 2007-01-14  Jensen Somers <jensen.somers@gmail.com>
3301         * ArraySegment.cs: Added Equals() method, operator == and !=
3302         overloading and GetHashCode().
3304 2007-01-10  Andy Hume <andyhume32@yahoo.co.uk>
3306         * Fixes to a number of exception classes.
3307         
3308         A project of mine uses #ctor(String,Exception) on 
3309         ObjectDisposedException, so I looked at adding that, and any 
3310         other similar constructors missing as per the class status report.
3311         
3312         I also spotted inconsistent setting of HResult, and fixed 
3313         those too.  For instance, ArgumentNullException sets HResult 
3314         only in three out of the four constuctors; not setting it in 
3315         the v2 (String,Exception) one -- and correctly not in the 
3316         Serialization constructor.
3317         
3318         
3319         So, I fixed the remaining missing (String,Exception) 
3320         constructors in corlib (2 of), and fixed the Hresult setting 
3321         in all exceptions there (4 of).
3322         
3323         The remaining Exception constructor omission listed was 
3324         InvalidCastException.ctor(System.String, System.Int32).  MSDN   says:
3325         "This constructor supplies an HRESULT value that is 
3326         accessible to inheritors of the InvalidCastException class, 
3327         via the protected HResult property of the Exception class."
3328         I added that method too, setting the HResult property from 
3329         the Int32 argument.
3331 2007-01-10  Atsushi Enomoto  <atsushi@ximian.com>
3333         * String.cs, StringComparer.cs : avoid extra string creation in
3334           StringComparer.OrdinalIgnoreCase.
3336 2007-01-05  Sebastien Pouliot  <sebastien@ximian.com>
3338         * DateTime.cs: Under 2.0 fix ParseExact to set DateTimeKind.Utc when
3339         DateTimeStyles.AdjustToUniversal is used.
3341 2007-01-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3343         * TermInfoDriver.cs: honor the backspace in ReadLine.
3345 2006-12-30  Marek Safar  <marek.safar@gmail.com>
3347         * String.cs: Character based method only.
3348         (IndexOf, LastIndexOf, Replace, IndexOfAny): Performance improvements.
3349         (Substring): Returns same instance when index is 0.
3351 2006-12-30  Alp Toker  <alp@atoker.com>
3353         * Decimal.cs:
3354         * Math.cs: Implement missing Decimal.Ceiling methods for 2.0.
3355         Closes #80384.
3357 2006-12-22  Sebastien Pouliot  <sebastien@ximian.com> 
3359         * DateTime.cs: Implement missing [To|From]Binary methods for 2.0.
3360         * OperatingSystem.cs: Implement missing ServicePack and VersionString
3361         properties (2.0).
3362         * Version.cs: Add missing Major|MinorRevision properties for 2.0.
3364 2006-12-14  Raja R Harinath  <rharinath@novell.com>
3366         * Type.cs (MakeGenericType): Can only be called on a generic type
3367         definition.
3369 2006-12-03  Miguel de Icaza  <miguel@novell.com>
3371         * DateTime.cs: Fix this on the 2.0 profile, return the
3372         DateTimeKind for the Now property
3374 2006-12-01  Duncan Mak  <duncan@a-chinaman.com>
3376         * ArgumentOutOfRangeException.cs (.ctor): 
3377         * NotFiniteNumberException.cs (.ctor): Add the 2.0 constructor
3378         that takes a string and an inner Exception.
3380 2006-12-01  Atsushi Enomoto  <atsushi@ximian.com>
3382         * DateTime.cs :
3383           When comparing enumerations, two or more enumeration values might
3384           match. Thus basically we should do complete matching, but right
3385           now just do reverse order search since only numbered abbrev month
3386           names matter (and full iteration is a mess). Fixed bug #80094.
3388 2006-12-01  Atsushi Enomoto  <atsushi@ximian.com>
3390         * DateTime.cs :
3391           use new internal clone-less DateTimeFormatInfo members.
3393 2006-11-29  Martin Baulig  <martin@ximian.com>
3395         * INullableValue.cs: Removed.
3397 2006-11-28  Duncan Mak  <duncan@novell.com>
3399         * ArgumentNullException.cs (.ctor): Added new constructor that's
3400         new in .NET 2.0.
3402         * InsufficientMemoryException.cs: Added missing 2.0 exception.
3403         
3404 2006-11-27  Jonathan Chambers  <joncham@gmail.com>
3406         * __ComObject.cs: Removed IDispatchMono.
3407         
3408 2006-11-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3410         * TermInfoDriver.cs:
3411         * Console.cs: lazy initialization of Console 2.0 (also when
3412         CancelKeyPress is used).
3414 2006-11-27  Miguel de Icaza  <miguel@novell.com>
3416         * Exception.cs (GetType): New method in 2.x, Another Moma catch. 
3418 Mon Nov 27 19:34:16 CET 2006 Paolo Molaro <lupus@ximian.com>
3420         * GC.cs: implemented the needed methods with icalls.
3422 2006-11-26  Miguel de Icaza  <miguel@novell.com>
3424         * Math.cs: Add Floor(Decimal d), for CreativeDocs.NET.
3426         Go Moma!  http://www.mono-project.com/Moma
3428         * Decimal.cs: Refactor code to implement TryParse.
3430         Also, avoid initializing messages on every call to stripStyles
3432 2006-11-22  Miguel de Icaza  <miguel@novell.com>
3434         * DateTime.cs: A small performance hit, we store the actual time
3435         span in a boxed object.   This way, it can be updated from other
3436         threads if necessary.   We always unbox to get the value before
3437         any potential updates. 
3439         Thanks to Gonzalo for catching this.
3441 2006-11-21  Miguel de Icaza  <miguel@novell.com>
3443         * TimeZone.cs (CurrentSystemTimeZone): Cache the current year
3444         daylight savings time in static variables.
3446         (CurrentSystemTimeZone.OnDeserialization): Initialize
3447         this_year_dlt and this_year on this method.
3449         (TimeZone): init statically the currentTimeZone instead of
3450         delaying that to the static property, avoiding a compare. 
3452 2006-11-22  Lluis Sanchez Gual  <lluis@novell.com>
3454         * Array.cs: (compare<T>) if a comparer is provided, it has
3455           priority over other comparison methods.
3457 2006-11-14  Miguel de Icaza  <miguel@novell.com>
3459         * Array.cs: TODOs will from now on be used to flag information
3460         that will be developer-visible, not to flag internal information
3461         that none of us reads or bothers about.
3463         For those, use "FIXME" strings in the source code instead. 
3465         * AppDomain.cs: Update to be more useful.
3467 2006-11-13  Atsushi Enomoto  <atsushi@ximian.com>
3469         * String.cs : fixed incorrect startIndex/length count in
3470           IndexOf(string,StringComparison).
3472 2006-11-07  Marek Safar  <marek.safar@gmail.com>
3474         * String.cs (LastIndexOf): If value is Empty, the return value is
3475         the start index position in value.
3477 2006-10-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3479         * TermInfoDriver.cs: prevent an invalid cast.
3481 2006-10-26  Marek Safar  <marek.safar@seznam.cz>
3483         * String.cs (Concat): Add fast-path for empty strings.
3485 2006-10-20  Jonathan Chambers  <joncham@gmail.com>
3487         * Variant.cs: Add support for bool and interfaces.
3488         
3489 2006-10-18  Kornél Pál  <kornelpal@gmail.com>
3491         * Type.cs: Removed is_subtype_of because IsSubclassOf should be used
3492           that is public and virtual. IsClass: Checking for ValueType is
3493           unnecessary. IsEnum: UnderlyingSystemType is not used anymore so
3494           no EnumBuilder hack is necessary. Checking for Enum is
3495           unnecessary. IsSerializable: Walk BaseType for user defined types.
3496           IsSubclassOf: Walk BaseType for user defined types.
3498         * MonoType.cs: IsValueTypeImpl is unnecessary. IsSubclassOf: Unlike
3499           Type system types throw ArgumentNullException on null Type
3500           argument.
3502 2006-10-14  Gert Driesen  <drieseng@users.sourceforge.net>
3504         * BadImageFormatException.cs: Changed message for default ctor to
3505         match MS. Use internal message field of Exception to check whether
3506         Message is null. Match MS default messages when no message is 
3507         set. Fixed ToString to match MS.
3509 2006-10-09  Miguel de Icaza  <miguel@novell.com>
3511         * Environment.cs: Handle SpecialFolder.MyMusic
3513 2006-10-07 Gert Driesen <drieseng@users.sourceforge.net>
3515         * Enum.cs: Use different exception message depending on whether the
3516         type of the passed in value is an Enum or not. Avoid looking up the
3517         enum's underlying type twice in case of "D" or "d" format specifier.
3519 2006-10-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3521         * TermInfoDriver.cs: don't allow backspace if we're at the beginning
3522         position for a ReadLine.
3524 2006-10-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3526         * TermInfoDriver.cs: ironpython autocompletion works now.
3528 2006-09-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3530         * Console.cs: avoid casting on windows.
3532 2006-09-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3534         * ConsoleDriver.cs:
3535         * TermInfoDriver.cs:
3536         * IConsoleDriver.cs:
3537         * CStreamWriter.cs:
3538         * ConsoleKeyInfo.cs:
3539         * NullConsoleDriver.cs:
3540         * Console.cs:
3541         * CStreamReader.cs:
3542         * WindowsConsoleDriver.cs: initial changes to handle cursor position
3543         and screen buffers.
3545 2006-09-21  Gert Driesen  <drieseng@users.sourceforge.net>
3547         * ArithmeticException.cs: Modified default message to match MS, to
3548         ensure a local regression test passes on both Mono and .NET.
3550 2006-09-21  Gert Driesen  <drieseng@users.sourceforge.net>
3552         * Exception.cs: Marked message internal to allow derived classes to
3553         access the raw message (without changing the public API).
3555 2006-09-19  Gonzalo Paniagua Javier <gonzalo@ximian.com>
3557         * ConsoleDriver.cs:
3558         * TermInfoDriver.cs:
3559         * IConsoleDriver.cs:
3560         * Console.cs:
3561         * WindowsConsoleDriver.cs: don't switch to the alternate window.
3562         Trigger the cancel event. Retrieve the cursor position at the
3563         beginning, as we're going to keep track of it instead of querying it
3564         all the time.
3566 2006-09-14  Jonathan Chambers  <joncham@gmail.com>
3568         * Environment.cs (ProcessorCount): Implement as icall.
3569         Patch by Jason McFall.
3571 2006-09-05  Raja R Harinath  <rharinath@novell.com>
3573         * DateTime.cs (Today) [NET_2_0]: Set kind to Local.
3575 2006-09-02  Zoltan Varga  <vargaz@gmail.com>
3577         * Enum.cs (Equals): Use the generic Equals implementation from ValueType which
3578         is faster and avoids allocations.
3580 2006-09-01  Martin Baulig  <martin@ximian.com>
3582         * Array.cs (Array.InternalArray): Removed the helper class;
3583         instead we use private generic methods in System.Array which are
3584         inserted into the vtable at runtime.
3586 2006-08-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3588         * ConsoleCancelEventArgs.cs: fix my build.
3590 2006-08-22  Miguel de Icaza  <miguel@novell.com>
3592         * MulticastDelegate.cs: Make DynamicInvokeImpl internal in 2.0 
3594         * Converter.cs: update signature to final.
3596         * ModuleHandle.cs: Removed the [Obsolete] flags as they removed
3597         those in the final 2.0
3599         * DateTime.cs: Fixed the signature. 
3601         * Convert.cs: Removed API calls that were deprecated in final 2.0
3603         * Enum.cs: Updated to use the obsoletes flagged in 2.0.
3605         * ConsoleCancelEventArgs.cs: Updated to 2.0
3607 2006-08-19  Miguel de Icaza  <miguel@novell.com>
3609         * Attribute.cs: This needs to do a deep compare, not a shallow
3610         one.   Ran into this bug with the VBNC compiler that compares two
3611         separate attributes for equality using this.
3613         * String.cs (StartsWith): Fix the overloaded constructor that
3614         takes a CultureInfo, if that is null, it means to use the current
3615         culture. 
3617         * TermInfoDriver.cs: Do not throw exceptions on the driver for
3618         SetWindowSize and SetWindowPosition, they can be treated as nops.
3620 2006-08-18  Zoltan Varga  <vargaz@gmail.com>
3622         * *.cs: Use String.Empty instead of "" in a lot of places.
3624 2006-08-17  Sebastien Pouliot  <sebastien@ximian.com>
3626         * DateTime.cs: Remove last patch to DateTime as the fix wasn't correct
3627         and made most x.509 unit tests fails. However the original problem is 
3628         back (only on 2.0).
3630 2006-08-14  Raja R Harinath  <rharinath@novell.com>
3632         Fix #78943
3633         * Activator.cs (CreateInstance): Throw ArgumentException on open
3634         generic types.
3636 2006-08-14  Miguel de Icaza  <miguel@novell.com>
3638         * MonoType.cs: Do the argument testinf for SetField later,
3639         otherwise the implicit (and not documented, but already considered
3640         side effect of checking SetProperty) did not work.
3642         Bug fix #79023
3644 2006-08-13  Atsushi Enomoto  <atsushi@ximian.com>
3646         * String.cs : Normalize() and IsNormalized() implementation.
3648 2006-08-10  Jonathan Chambers  <joncham@gmail.com>
3650         * __ComObject.cs: Added defintion of IDispatch interface, and
3651         property. Get CLSID of supertype for creation if class not
3652         ComImport attributed (allows for inheritance of RCW).
3653         * MonoType.cs: Implement IsCOMObjectImpl.
3655 2006-08-09  Atsushi Enomoto  <atsushi@ximian.com>
3657         * DateTime.cs : fixed X509Certificate() case that regressed only
3658           under NET_2_0.
3660 2006-08-07  Kornél Pál  <kornelpal@gmail.com>
3662         * Console.cs: Use correct code pages on Windows and initialize
3663           InputEncoding and OutputEncoding to the actual encodings used.
3665 2006-08-05  Duncan Mak  <duncan@novell.com>
3667         * Char.cs (TryParse): Implemented missing 2.0 method, which fixed
3668         bug #79007.
3670 2006-07-28  Jonathan Chambers  <joncham@gmail.com>
3672         * __ComObject.cs: Added support for marshalling objects.
3673         
3674 2006-07-24  Atsushi Enomoto  <atsushi@ximian.com>
3676         * Char.cs : implemented utf32 conversion methods thus fixed bug #78856.
3678 2006-07-19  John Luke  <john.luke@gmail.com>
3680         * TermInfoDriver.cs: switch order of alt and control when
3681         calling new ConsoleKeyInfo()
3683 2006-07-19  Kornél Pál  <kornelpal@gmail.com>
3685         * String.cs: Improve CreateString () performance when length is zero.
3687 2006-07-18  Kornél Pál  <kornelpal@gmail.com>
3689         * String.cs: Added CreateString () methods. Constructors with matching
3690           argument list are redirected to these methods that improves
3691           performance as well as fixes bug #78703.
3693 2006-07-15  Jonathan Chambers  <joncham@gmail.com>
3695         * __ComObject.cs: Begin implementing COM Interop.
3696         * Environment.cs: Increment corlib version.
3697         
3698 2006-07-12  Zoltan Varga  <vargaz@gmail.com>
3700         * Delegate.cs (DynamicInvokeImpl): Add support for bound delegates in Net 2.0.
3702 2006-07-11  Zoltan Varga  <vargaz@gmail.com>
3704         * Double.cs (Parse): Fix handling of inner whitespace.
3706 2006-07-09  Zoltan Varga  <vargaz@gmail.com>
3708         * Int32.cs: Fix a warning.
3710 2006-07-07  Atsushi Enomoto  <atsushi@ximian.com>
3712         * TimeZone.cs : consider DateTimeKind in ToLocalTime() and 
3713           ToUniversalTime(). Fixed bug #78784. Patch by Thong Nguyen.
3714         * DateTime.cs : DateTimeKind for UtcNow should be Utc.
3716 2006-06-28  Kornél Pál  <kornelpal@gmail.com>
3718         * Char.cs: Implemented IsHighSurrogate and IsLowSurrogate methods.
3720 2006-06-27  Atsushi Enomoto  <atsushi@ximian.com>
3722         * Double.cs : don't throw Exception in TryParse() for 'E'.
3723           Fixed bug #78546.
3725 2006-06-20  Jb Evain  <jbevain@gmail.com>
3727         * Math.cs: implement Math.Truncate.
3729 2006-06-13  Atsushi Enomoto  <atsushi@ximian.com>
3731         * DateTime.cs :
3732           Another lame win32 dependent pattern. Fixed bug #78618.
3734 2006-06-09  Jonathan Chambers  <jonathan.chambers@ansys.com>
3736         * Environment.cs: Implement Set/GetEnvironmentVariable for User/Machine.        
3738 2006-06-07  Kornél Pál  <kornelpal@gmail.com>
3740         * Environment.cs: Use Consts.FxFileVersion for Environment.Version
3741           as Consts.RuntimeVersion was removed.
3743 2006-06-05  Jonathan Chambers  <jonathan.chambers@ansys.com>
3745         * Variant.cs: Added.
3746         * Environment.cs: Incremented corlib version since adding Variant.      
3747         
3748 2006-06-01  Raja R Harinath  <rharinath@novell.com>
3750         * Nullable.cs (operator==, operator!=): Remove.
3752 2006-05-31  Zoltan Varga  <vargaz@gmail.com>
3754         * MonoDummy.cs: Removed as it is no longer needed.
3756         * Environment.cs: Bump corlib version.
3757         
3758         * Environment.cs: Revert the last change.
3759         
3760         * Environment.cs: Bump corlib version.
3762         * MonoAsyncCall.cs: New file.
3764 2006-05-30  Gert Driesen  <drieseng@users.sourceforge.net>
3766         * Char.cs: Removed duplicate (explicit) interface implementation.
3767         * String.cs: Removed duplicate (explicit) interface implemenation.
3768         * MulticastDelegate.cs: Fixed API mismatches.
3770 2006-05-29 Paolo Molaro <lupus@ximian.com>
3772         * String.cs: make sure that the chars truncated by a stringbuilder
3773         are zeroed.
3775 2006-05-29  Martin Baulig  <martin@ximian.com>
3777         * Exception.cs
3778         (Exception.StackTrace): Use the new stack trace format which is
3779         very similar to the one of MS.NET - method name goes first,
3780         file / line number last and in the method name, we separate class
3781         and method name by `.'.
3783         * Environment.cs
3784         (Environment.StackTrace): Enable line-number information.
3786 2006-05-24  Atsushi Enomoto  <atsushi@ximian.com>
3788         * DateTime.cs :
3789           Implement 2.0 TryParseExact(). Patch by Seo Sanghyeon.
3791 2006-05-17  Kazuki Oikawa  <kazuki@panicode.com>
3793         * Array.cs : added internal sort method used
3794           in System.Collections.Generics.List<T>.Sort(Comparison<T>).
3796 2006-05-15  Zoltan Varga  <vargaz@gmail.com>
3798         * Environment.cs: Bump corlib version.
3800 2006-05-10  Zoltan Varga  <vargaz@gmail.com>
3802         * MonoType.cs (GetMethodImpl): Fix a warning.
3804 2006-05-08  Atsushi Enomoto  <atsushi@ximian.com>
3806         * ArrayTest.cs : use proper comparer in IndexOf() and LastIndexOf().
3807           Patch by Kazuki Oikawa. Fixed bug #77277.
3809 2006-05-07  Zoltan Varga  <vargaz@gmail.com>
3811         * Nullable.cs (Equals): Fix comparison to null. Fixes #78322.
3813 2006-04-28  Atsushi Enomoto  <atsushi@ximian.com>
3815         * Nullable.cs : updated Nullable<T> API to 2.0 RTM.
3817 2006-04-26  Atsushi Enomoto  <atsushi@ximian.com>
3819         * Double.cs : (Parse) handle currency symbol when
3820           AllowCurrencySymbol is passed as part of the style. Patch by
3821           nede@aliquant.com, modified to eliminate redundant Substring().
3822           This fixes bug #77721.
3824 2006-04-26  Atsushi Enomoto  <atsushi@ximian.com>
3826         * MonoType.cs : (GetMethod) when zero-length type[] is explicitly
3827           passed, don't return methods with some arguments. Fixed bug #77367.
3829 2006-04-21  Gert Driesen  <drieseng@users.souceforge.net>
3831         * Enum.cs: Provide meaningful message when type of passed in value
3832         does not match enum type.
3834 2006-04-19  Raja R Harinath  <rharinath@novell.com>
3836         * Char.cs (Equals): Don't access 'm_value' field of other
3837         instances.  Cast directly to 'char'.
3839 2006-04-13  Atsushi Enomoto  <atsushi@ximian.com>
3841         * DateTime.cs : implement SpecifyKind(). Patch by Thong Nguyen.
3843 2006-04-13  Atsushi Enomoto  <atsushi@ximian.com>
3845         * NumberFormatter.cs : general performance improvements. Avoid 
3846           extraneous evaluation for simple formatting. Details are seen in 
3847           bug #77792. Patch by Kazuki Oikawa.
3849 2006-04-13  Atsushi Enomoto  <atsushi@ximian.com>
3851         * DateTime.cs : implement IsDaylightSavingTime().
3852           Patch by Seo Sanghyeon <tinuviel@sparcs.kaist.ac.kr>.
3854 2006-04-04  Atsushi Enomoto  <atsushi@ximian.com>
3856         * Array.cs :
3857           added some more [ReliabilityContract].
3858           removed some [CLSCompliant].
3859           renamed generic method parameter names.
3861 2006-03-31  Zoltan Varga  <vargaz@gmail.com>
3863         * Environment.cs (SetEnvironmentVariable): Implement.
3865 2006-03-28  Atsushi Enomoto  <atsushi@ximian.com>
3867         * Array.cs : oops, the last change caused regression. The array must
3868           be transparent to ReadOnlyCollection, not create another list.
3870 2006-03-28  Atsushi Enomoto  <atsushi@ximian.com>
3872         * Array.cs : AsReadOnly<T>() in RTM returns ReadOnlyCollection<T>.
3873           Thus removed ReadOnlyArray<T> and ReadOnlyArrayEnumerator<T>.
3874           In 2.0 some members became non-virtual.
3876 2006-03-23  Atsushi Enomoto  <atsushi@ximian.com>
3878         * String.cs : oops, NET_2_0.
3880 2006-03-23  Atsushi Enomoto  <atsushi@ximian.com>
3882         * String.cs : added new IndexOf() and LastIndexOf() overloads, and
3883           IEnumerable<char>.GetEnumerator().
3885 2006-03-21  Kornél Pál  <kornelpal@gmail.com>
3887         * String.cs: Make memcpy4 private as it is a helper method.
3888           Make memcpy internal to can be used from UnicodeEncoding.
3890 2006-03-19  Marek Safar  <marek.safar@seznam.cz>
3892         * Nullable.cs (Compare, Equals): Added constrain as gmcs now correctly
3893         reports an error here.
3895 2006-03-16  Atsushi Enomoto  <atsushi@ximian.com>
3897         * Double.cs : (Parse) reject String.Empty.
3899 Wed Mar 15 16:30:51 CET 2006 Paolo Molaro <lupus@ximian.com>
3901         * LocalDataStoreSlot.cs: implement as index in an array.
3902         Implemented finalizer and allow it to remove the data stored
3903         in the slot.
3905 2006-03-15  Zoltan Varga  <vargaz@gmail.com>
3907         * Environment.cs: Bump corlib version.
3909 2006-03-10  Zoltan Varga  <vargaz@gmail.com>
3911         * MonoCustomAttrs.cs (IsDefined): Avoid a runtime assert if a type
3912         overwrites GetCustomAttributes () but not IsDefined ().
3914 2006-03-07  Peter Dennis Bartok  <pbartok@novell.com>
3916         * Environment.cs: Bumped corlib version to 48 (due to r57532)
3918 2006-03-07  Martin Baulig  <martin@ximian.com>
3920         * String.cs (String.FormatHelper): Try getting an `ICustomFormatter'
3921         from the `provider' if possible.
3923 2006-02-26  Gert Driesen  <drieseng@users.souceforge.net>
3925         * DecimalFormatter.cs: Removed obsolete class, as it has been replaced
3926         by NumberFormatter.
3927         * DoubleFormatter.cs: Same.
3928         * SingleFormatter.cs: Same.
3930 2006-02-21  Marek Safar  <marek.safar@seznam.cz>
3932         * String.cs (Equals): Optimized for speed.
3934 2006-02-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3936         * TermInfoDriver.cs: patch by Mike Hull that fixes bug #77518.
3938 Mon Feb 20 11:19:54 CET 2006 Paolo Molaro <lupus@ximian.com>
3940         * MonoType.cs: patch from Joachim Ante <joe@otee.dk> to
3941         improve error messages.
3943 2006-02-15  Martin Baulig  <martin@ximian.com>
3945         * Type.cs (Type.IsGenericInstance): Removed.
3947 2006-02-14  Ankit Jain  <jankit@novell.com>
3948             Raja R Harinath  <rharinath@novell.com>
3950         * ArraySegment.cs (.ctor): Fix bounds check. Rename param 'length' to
3951         'count'.
3953 2006-02-11  Zoltan Varga  <vargaz@gmail.com>
3955         * TermInfoDriver.cs (CreateKeyInfoFromInt): Fix handling of tab and its
3956         friends.
3957         
3958         * TermInfoDriver.cs (GetWindowDimensions): Obtain the exact terminal
3959         size using an icall.
3960         (GetCursorPosition): Convert the row and column to 0 based indexing. 
3961         Also fix reading of large values.
3962         (CreateKeyInfoFromInt): Convert LF to ConsoleKey.Enter.
3964         * ConsoleDriver.cs (GetTtySize): New icall.
3966 2006-02-10  Zoltan Varga  <vargaz@gmail.com>
3968         * Array.cs: Fix some methods which previously returned Nullable<T>.
3970         * Nullable.cs: Add T: struct constraint and fix constructor.
3972 Fri Feb 3 11:01:46 CET 2006 Paolo Molaro <lupus@ximian.com>
3974         * String.cs: changed StartsWith/EndsWith to faster versions.
3976 2006-02-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3978         * String.cs: implement 2.0 StartsWith and EndsWith new overloads. Based
3979         on a patch by Thong Nguyen.
3981 2006-01-31  Zoltan Varga  <vargaz@gmail.com>
3983         * String.cs: Implement one of the new net 2.0 Split methods.
3985 2006-01-31  Atsushi Enomoto  <atsushi@ximian.com>
3987         * String.cs : (LastIndexOf) Fixed bug #77412. It should not expect
3988           that value length is bigger than its index.
3990 2006-01-27  Zoltan Varga  <vargaz@gmail.com>
3992         * DateTime.cs: Add some 2.0 methods and properties.
3994 2006-01-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3996         * Console.cs: if InternalCodePage returns -1, use the default encoding.
3997         Also match the UTF8 one properly. Patch by wall_john@sohu.com.
3999 2006-01-19  Atsushi Enomoto  <atsushi@ximian.com>
4001         * ModuleHandle.cs : GetPEKind() is not public in 2.0 RTM.
4003 2006-01-16  Alp Toker  <alp@atoker.com>
4005         * TimeSpan.cs: Simple implementation of NET 2.0 TryParse() using
4006         try/catch
4008 2006-01-05  Raja R Harinath  <rharinath@novell.com>
4010         Fix regressions introduced by the fix to #71300.
4011         * Activator.cs (CreateInstance): Use Binder.SelectMethod instead
4012         of home-grown FindBestCtor.
4013         (FindBestCtor): Delete.
4015 2006-01-03  Zoltan Varga  <vargaz@gmail.com>
4017         * Nullable.cs: Update to Net 2.0 RTM.
4018         
4019         * Nullable.cs: Add comments about runtime dependencies on the layout of
4020         this type.
4022 2006-01-02  Sebastien Pouliot  <sebastien@ximian.com>
4024         * Activator.cs: Now find the best ctor when null are used for 
4025         paramaters. Fix bug #71300. Added checks for specific types (void,
4026         TypedReference, ArgIterator and RuntimeArgumentHandle).
4027         * Console.cs: Re-use Environment logic to detect Windows.
4028         * Type.cs: Re-applied r45150 as the real bug was in Activator.
4030 2006-01-02  Zoltan Varga  <vargaz@gmail.com>
4032         * Activator.cs: Add a 'params' to one of the CreateInstance overloads.
4034         * RuntimeTypeHandle.cs RuntimeMethodHandle.cs RuntimeFieldHandle.cs:
4035         Add == and != operators.
4037 2005-12-23  Sebastien Pouliot  <sebastien@ximian.com>
4039         * Environment.cs: Bump corlib version to 46.
4040         * TimeZone.cs: Partial fix for #76094. Added [Serializable] attribute 
4041         and renamed internal CurrentTimeZone class to CurrentSystemTimeZone 
4042         (like MS). This allows serialization roundtrip to work in Mono but 
4043         there's still an issue when deserializing a stream from MS. 
4045 2005-12-23  Sebastien Pouliot  <sebastien@ximian.com> 
4047         * NumberFormatter.cs: Fixed rounding for float and the string output
4048         now includes all the precision (not counting preceding zeros). This
4049         fix the DecimalTest.TestConstructSingleRounding_NotWorking test cases.
4051 2005-12-21  Sebastien Pouliot  <sebastien@ximian.com> 
4053         * Array.cs: Fixed Sort<T> with IComparable (generic or not) bug #77039
4055 2005-12-20  Carlos Alberto Cortez <calberto.cortez@gmail.com>
4057         * Array.cs: Added the Sort<T> methods (generics). 
4059 2005-12-19  Sebastien Pouliot  <sebastien@ximian.com> 
4061         * Array.cs: Fixed BinarySearch when the array is empty (#77030). Added
4062         some null check which throws ArgumentNullException under 2.0.
4064 2005-12-15  Sebastien Pouliot  <sebastien@ximian.com>
4066         * DateTime.cs: Added MonoTODO to ctor accepting a Calandar instance.
4067         * Double.cs: Under 2.0 throw a ArgumentException when parsing with
4068          NumberStyles.AllowHexSpecifier. Partial fix for #72221. Added the
4069         second, simpler, TryParse method (2.0).
4070         * Single.cs: Added the TryParse methods for 2.0.
4072 2005-12-15  Raja R Harinath  <rharinath@novell.com>
4074         * Type.cs (IsGenericType): Make virtual.
4076 2005-12-08  Sebastien Pouliot  <sebastien@ximian.com> 
4078         * AppDomainSetup.cs: ApplicationBase throw exception on get (not on 
4079         set). New behaviour is more like MS - but most issues (unit tests)
4080         were really path issues. Fix bug #71291.
4081         * DateTime.cs: Add more information when throwing an exception in 
4082         ctor(long). Useful for debugging.
4084 2005-12-07  Zoltan Varga  <vargaz@gmail.com>
4086         * Single.cs Double.cs: Fix warnings.
4088 2005-12-06  Sebastien Pouliot  <sebastien@ximian.com> 
4090         * Convert.cs: ToBase64String method didn't use the option parameter so
4091         we always included new lines. Fix bug #76876.
4093 2005-12-06  Sebastien Pouliot  <sebastien@ximian.com>
4095         * AppDomainSetup.cs: Added missing ComVisible and removed LAMESPEC 
4096         (the docs were fixed).
4097         * NumberFormatter.cs: Fixed the "NotWorking" case where 1.15 was 
4098         misrounded compared to MS implementation. Extra care is required when
4099         dealing with the extra 2 digits information (e.g. double precision is
4100         15 digits but 17 are kept - for a reason ;-)
4102 2005-12-05  Ben Maurer  <bmaurer@ximian.com>
4104         * Environment.cs: Bump version
4106         * Nullable.cs: New Box and Unbox methods for the jit
4108 2004-12-05  Peter Dennis Bartok <pbartok@novell.com>
4110         * Enum.cs: Properly handle "No bits set" case even if the sorted numbers
4111           list does not have enum value 0 as the first item. Fixes #76921
4113 2005-12-05  Sebastien Pouliot  <sebastien@ximian.com>
4115         * AppDomain.cs: CreateComInstanceFrom isn't static in any profile.
4117 Mon Dec 5 15:14:59 CET 2005 Paolo Molaro <lupus@ximian.com>
4119         * Double.cs: remove unused icall.
4120         * BitConverter.cs: handle double binary format on ARM FPA.
4122 2005-12-02  Alp Toker  <alp@atoker.com>
4124         * MonoType.cs:
4125         * Type.cs: DeclaringMethod should return MethodBase, not MethodInfo
4127 2005-12-02  Alp Toker  <alp@atoker.com>
4129         * AppDomain.cs: ReflectionOnlyPreBindAssemblyResolve renamed to
4130         ReflectionOnlyAssemblyResolve in 2.0 final
4132 2005-12-01  Alp Toker  <alp@atoker.com>
4134         * String.cs: Add static and non-static Equals(... StringComparison) for
4135         2.0.
4137 2005-12-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4139         * TermInfoDriver.cs: special case for the escape key. Fixes bug #76781.
4141 2005-11-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4143         * TermInfoDriver.cs: if the cursor_address capability contains a %i, we
4144         have to add 1 to x and y when setting the cursor position.
4145         Fixes bug #76856.
4147         * Convert.cs: remove unused variables.
4149 Wed Nov 30 12:14:20 EST 2005 Paolo Molaro <lupus@ximian.com>
4151         * NumberFormatter.cs: work around arch-specific ulong cast behaviour
4152         with large numbers.
4154 Tue Nov 29 05:38:37 EST 2005 Paolo Molaro <lupus@ximian.com>
4156         * Convert.cs: fix endianess issue when converting to base-8
4157         format. All the base code would need a rewrite for efficience.
4159 2005-11-25  Sebastien Pouliot  <sebastien@ximian.com>
4161         * String.cs: Added support for Compare(... StringComparison) in 2.0.
4163 2005-11-25  Alp Toker  <alp@atoker.com>
4165         * Type.cs (IsVisible): New 2.0 property, implemented recursively.
4167 2005-11-17  Dick Porter  <dick@ximian.com>
4169         * Environment.cs: Incremented corlib version
4171 2005-11-14  Carlos Alberto Cortez <calberto.cortez@gmail.com>
4173         * Int32.cs, UInt32.cs, Int16.cs, UInt16.cs, Int64.cs,
4174         UInt64.cs, Byte.cs, SByte.cs, Double.cs : Modify internal Parse
4175         methods to return the exception as an out parameter,
4176         instead of throwing it. This will be of special help
4177         to TryParse methods.
4178         * Environment.cs: Update corlib version to 42.
4179         
4180 2005-11-14  Raja R Harinath  <rharinath@novell.com>
4182         * EventHandler.cs (EventHandler<TEventArgs>): Rename from EventHandler<T>.
4184 2005-11-11  Zoltan Varga  <vargaz@gmail.com>
4186         * Type.cs (GetPseudoCustomAttributes): Return ComImportAttribute as well.
4188 2005-11-11  Lluis Sanchez Gual  <lluis@novell.com>
4190         * TimeZone.cs: Removed incorrect double-check lock and unneeded
4191         hashtable access.
4193 2005-11-11  Marek Safar  <marek.safar@seznam.cz>
4195         * Type.cs: IsNested implemented, signature fixes.
4197 2005-11-11  Raja R Harinath  <rharinath@novell.com>
4199         * Array.cs (Resize<T>) [2-argument variant]: Fix nullref.
4201 2005-11-10  Zoltan Varga  <vargaz@gmail.com>
4203         * Array.cs (Resize<T>): New internal method which takes a 'length' argument
4204         as well to avoid copying the whole array.
4206 2005-11-09  Atsushi Enomoto  <atsushi@ximian.com>
4208         * Int64.cs : ditto for long.
4210 2005-11-09  Atsushi Enomoto  <atsushi@ximian.com>
4212         * Int32.cs : Parse("2147483648", format_provider) should be rejected.
4214 2005-11-09  Sebastien Pouliot  <sebastien@ximian.com>
4216         * AttributeTargets.cs: Added [ComVisible (true)] and [Serializable] 
4217         in 2.0 profile.
4218         * Base64FormattingOptions.cs: Added missing [Flags] attribute.
4219         * ConsoleKey.cs: Removed old BackSpace and WhiteSpace (they were 
4220         already replaced by Backspace and Whitespace)
4221         * DateTime.cs: Moved DayOfWeek enum to it's own file.
4222         * DateTimeKind.cs: New (2.0) enum.
4223         * DayOfWeek.cs: New file (extracted from DateTime.cs).
4224         * DomainManagerInitializationFlags.cs: Removed extra [Serializable].
4225         * EnvironmentVariableTarget.cs: Added [ComVisible (true)] and fixed 
4226         values (-1 to all of them).
4227         *  Exception.cs: Added a LinkDemand for SerializationFormatter on
4228         GetObjectData method.
4229         *  LoaderOptimization.cs: Added [ComVisible (true)] and [Serializable] 
4230         on enum and added [Obsolete] to DomainMask and DisallowBindings in 2.0
4231         profile.
4232         * PlatformID.cs: Added [ComVisible (true)] and [Serializable] in 2.0 
4233         profile.
4234         * StringComparison.cs: New (2.0) enum (needed for Uri).
4235         * TermInfoDriver.cs: Fixed BackSpace -> Backspace (see ConsoleKey.cs).
4236         * TypeCode.cs: Added [ComVisible (true)] and [Serializable] in 2.0 
4237         profile.
4239 2005-11-08  Atsushi Enomoto  <atsushi@ximian.com>
4241         * Type.cs : I forgot to mention, some '(' were missing in the
4242           improved patch ;-)
4244 2005-11-08  Zoltan Varga  <vargaz@freemail.hu>
4246         * Type.cs (GetPseudoCustomAttributes): Check for TypeAttributes.Serializable instead of
4247         IsSerializable property, since the latter returns true for delegates/enums.
4249 2005-11-05  Kornél Pál  <kornelpal@hotmail.com>
4251         * Environment.cs: Use Consts.RuntimeVersion as Environment.Version that
4252           makes maintenance easier.
4254 2005-10-24  Martin Baulig  <martin@ximian.com>
4256         * Type.cs (Type.IsGenericTypeDefinition): Make this virtual.
4258 2005-10-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4260         * String.cs: fix bound checkings for LastIndexOfAny. Closes bug #76519.
4262 2005-10-20  Raja R Harinath  <rharinath@novell.com>
4264         * Array.cs (Swapper): Remove NET_2_0 guards from nested declaration.
4266 2005-10-16  Michal Moskal  <malekith@nemerle.org>
4268        * TermInfoDriver.cs: Call Init () in Background/ForegroundColor.
4270 2005-10-14  Atsushi Enomoto  <atsushi@ximian.com>
4272         * DateTime.cs : another crappy Windows dependent format.
4274 2005-10-14  Ben Maurer  <bmaurer@ximian.com>
4276         * DateTime.cs: Speed up when parsing date time objects by not
4277         duplicating cultureinfo arrays.
4279 2005-10-13  Zoltan Varga  <vargaz@gmail.com>
4281         * Type.cs (GetTypeCode): Applied patch from 
4282         Mike Welham <mwelham@gmail.com>. Return TypeCode.Empty when null is
4283         passed in.
4285 2005-10-07  Zoltan Varga  <vargaz@gmail.com>
4287         * Delegate.cs: Add support for delegate covariance and contravariance
4288         from net 2.0.
4290 2005-10-03  Atsushi Enomoto  <atsushi@ximian.com>
4292         * StringComparer.cs : (OrdinalIgnoreCaseComparer.Equals()) reverse.
4294 2005-09-26  Zoltan Varga  <vargaz@gmail.com>
4296         * String.cs (ParseFormatSpecifier): Fix skipping of whitespace. Fixes
4297         #76204.
4299 2005-09-23  Miguel de Icaza  <miguel@novell.com>
4301         * Decimal.cs: Fix typo, patch from Tomas Kukol <tomas.kukol@gmail.com>
4303 2005-09-19  Zoltan Varga  <vargaz@gmail.com>
4305         * MonoCustomAttrs.cs (GetCustomAttributesInternal): Add
4306         attributeType parameter.
4307         (IsDefined): New icall.
4309         * MonoCustomAttrs.cs: Avoid instantiating all custom attrs of an
4310         object when only a specific attribute type is requested. Fixes #76062.
4312         * Environment.cs: Bump corlib version.
4314 2005-09-09  Zoltan Varga  <vargaz@gmail.com>
4316         * TypeLoadException.cs MissingMethodException.cs MissingFieldException.cs: Add new ctors called by the runtime. Improve Message property.
4318 2005-09-14  Atsushi Enomoto  <atsushi@ximian.com>
4320         * DateTime.cs : (_DoParse) don't check ticks range before computing
4321           the actual value. Fixed bug #76082.
4323 2005-09-14  Atsushi Enomoto  <atsushi@ximian.com>
4325         * TimeZone.cs : When the target DateTime is in the range of
4326           DST end to DST + delta, don't adjust UtcOffset gap between that of
4327           DST and that of STD. This should fix bug #75985.
4329 2005-09-06  Atsushi Enomoto  <atsushi@ximian.com>
4331         * TimeZone.cs, DateTime.cs :
4332           - ToLocalTime() and ToUniversalTime() are moved to TimeZone.
4333           - Added more COM patterns. Patch by Ankit Jain. Fixed bug #72132.
4334           - use ToLocalTime() and don't depend on the own offset computation.
4335             Parse() with 'Z' pattern is closer to correct value on switching
4336             Daylight Saving Time. See bug #75985.
4338 2005-09-06  Atsushi Enomoto  <atsushi@ximian.com>
4340         * DateTime.cs : (DoParse) DateTimeStyles.AdjustToUniversal was not
4341           handled as expected and it kept time value as local one.
4342           Patch by Brion Vibber. Fixed bug #75995.
4344 2005-09-06  Atsushi Enomoto  <atsushi@ximian.com>
4346         * DateTime.cs : Literal escape (\) was not checking format as
4347           expected. Fixed bug #75213.
4349 2005-09-05  Miguel de Icaza  <miguel@novell.com>
4351         * MonoType.cs: Patch from Jonathan Chambers to implement
4352         Type.GUID. 
4354 2005-09-05  Martin Baulig  <martin@ximian.com>
4356         Reflect latest API changes in the August CTP.
4358         * Type.cs (Type.HasGenericArguments): Removed.
4359         (Type.BindGenericParameters): Renamed to MakeGenericType().
4361 2005-09-01  Atsushi Enomoto  <atsushi@ximian.com>
4363         * DateTime.cs : another idiotic COM dependent format.
4365 2005-09-01  Kornél Pál  <kornelpal@hotmail.com>
4367         * __ComObject.cs: Fixed to be internal. Removed CLSCompliant attribute.
4368         Added some comments about the class.
4370 2005-08-30  Sebastien Pouliot  <sebastien@ximian.com>
4372         * AppDomain.cs: Use the more concise property syntax for declarative
4373         security.
4374         * AppDomainManager.cs: Default HostSecurityManager is null.
4376 2005-08-25  Atsushi Enomoto  <atsushi@ximian.com>
4378         * NumberFormatter.cs : eliminate non-ASCII character.
4380 2005-08-25  Marek Safar  <marek.safar@seznam.cz>
4382         * Enum.cs: Better exception message.
4383         
4384 2005-08-21  Gert Driesen  <drieseng@users.sourceforge.net>
4386         * Convert.cs: In FromBase64String, return empty byte array for zero
4387         length string. Pass bool to InternalFromBase64String to control 
4388         whether to allow a whitespace-only string.
4389         * Environment.cs: Bump corlib version.
4391 2005-08-20  Zoltan Varga  <vargaz@freemail.hu>
4393         * Environment.cs: Bump corlib version.
4395 2005-08-19  Zoltan Varga  <vargaz@freemail.hu>
4397         * Math.cs: Implement a new 2.0 Round method.
4399 2005-08-19  Gert Driesen  <drieseng@users.sourceforge.net>
4401         * Convert.cs: Throw OverflowException if result is larger than
4402         ushort.MaxValue to match MS.NET. Remove commented code.
4404 2005-08-17  Gert Driesen  <drieseng@users.sourceforge.net>
4406         * Convert.cs: For now, do not throw OverflowException if hex prefixed
4407         value is negative for signed types (other than int64). Need to look
4408         into this further.      
4410 2005-08-17  Gert Driesen  <drieseng@users.sourceforge.net>
4412         * Convert.cs: Numerous fixed in overloads taking base to match 
4413         behaviour of MS.NET. Throw ArgumentOutOfRangeException is string is
4414         empty. If base is 16, 8 or 2, then throw ArgumentException if first 
4415         character is a negative sign. Throw OverflowException if hex prefixed 
4416         value is negative for signed types (other than int64) to match MS.NET. 
4418 2005-08-16  Atsushi Enomoto  <atsushi@ximian.com>
4420         * DateTime.cs : added another COM dependent pattern (rather to describe
4421           how it works on .NET than to add the pattern itself...).
4423 2005-08-16  Atsushi Enomoto  <atsushi@ximian.com>
4425         * DateTime.cs : added case for bug #53023.
4427 2005-08-10  Zoltan Varga  <vargaz@freemail.hu>
4429         * Type.cs: Add IsGenericType property from NET 2.0.
4431 2005-08-10  Atsushi Enomoto  <atsushi@ximian.com>
4433         * String.cs : added new StartsWith()/EndsWith() override, fixing
4434           existing EndsWith() which incorrectly assumed that both string
4435           lengths must be equivalent (they are not always equal).
4436         * StringComparer.cs : added Ordinal and OrdinalIgnoreCase.
4438 2005-08-09  Zoltan Varga  <vargaz@freemail.hu>
4440         * String.cs: Implement Split(String[]) methods.
4442 2005-08-09  Miguel de Icaza  <miguel@novell.com>
4444         * AppDomainSetup.cs: Full-pathization of the appBase should only
4445         be done on Windows, the ":" condition never applied to Linux.
4447         * ConsoleKey.cs: Include a few aliases for a few values that were
4448         introduced recently.
4450 2005-08-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4452         * ConsoleKey.cs: added Backspace, which has the same value as BackSpace.
4453         Fixes bug #75697.
4455 2005-08-08  Atsushi Enomoto  <atsushi@ximian.com>
4457         * String.cs : (StartsWith) compared string lengths are not always the
4458           same in culture-sensitive comparison.
4460 2005-08-05  Gert Driesen  <drieseng@users.sourceforge.net>
4462         * Array.cs: Changed protected ctor to private. Fixes API compatibility
4463         with MS.NET.
4464         * RuntimeFieldHandle.cs: Equals methods and GetHashCode should only
4465         be exposed in 2.0 profile.
4466         * RuntimeMethodHandle.cs: Equals methods and GetHashCode should only
4467         be exposed in 2.0 profile.
4468         * RuntimeTypeHandle.cs: Equals methods and GetHashCode should only
4469         be exposed in 2.0 profile.
4470         * Type.cs: Added GetType method and implemented _Type interface.
4471         Fixes API compatibility with MS.NET.
4473 2005-07-28  Marek Safar  <marek.safar@seznam.cz>
4475         * StringComparer.cs: Add generics version of string interfaces.
4477 2005-07-26  Atsushi Enomoto  <atsushi@ximian.com>
4479         * StringComparer.cs : implemented StringCultureComparer.GetHashCode().
4481 2005-07-26  Zoltan Varga  <vargaz@freemail.hu>
4483         * StringSplitOptions.cs MidpointRounding.cs: New files.
4485         * String.cs Math.cs: Add stubs for some new 2.0 APIs.
4487 2005-07-26  Marek Safar  <marek.safar@seznam.cz>
4489         * StringComparer.cs: New file.
4491 2005-07-26  Raja R Harinath  <harinath@gmail.com>
4493         * Enum.cs (GetValue): Make private.  Return an ulong.
4494         (Parse): Tighten scope of couple of variables.  Use ulong when
4495         twiddling bits.
4497 2005-07-25  Raja R Harinath  <rharinath@novell.com>
4499         * Enum.cs (FindName, GetValue): New.  Carved out of ...
4500         (Parse): ... this.  Refactor and simplify code.  Avoid incurring
4501         exceptions when parsing names.  Avoid allocating arrays unless
4502         necessary.  Avoid conversion of an enumeration constant to its own
4503         type.  (Incorporates ideas from a patch by Gonzalo Paniagua Javier.)
4505 2005-07-13  Lluis Sanchez Gual  <lluis@novell.com>
4507         * MarshalByRefObject.cs: GetLifetimeService() should be virtual.
4508         Fixes bug #75527.
4510 2005-07-13  Miguel de Icaza  <miguel@novell.com>
4512         * Array.cs: Patch from rodrigobamboo@gmail.com that fixes the
4513         signature for GetValue and SetValue to make the long [] argument
4514         be a params argument. 
4516 2005-07-11  Pedro Martínez Juliá  <pedromj@gmail.com>
4518         * Convert.cs: Fix the bug when Convert.ChangeType was using
4519         NumberFormatInfo instead of DateTimeFormatInfo when the type to
4520         change is a DateTime.
4522 2005-07-11  Martin Baulig  <martin@ximian.com>
4524         * Array.cs: Use Type.Equals() instead of `==' to compare type
4525         parameters.     
4527 2005-07-10  Kamil Skalski <nazgul@nemerle.org>
4529         * Type.cs: Mark BindGenericParameters as deprecated. Use
4530         MakeGenericType as default implementation with updated signature.
4532 2005-07-09  Zoltan Varga  <vargaz@freemail.hu>
4534         * Attribute.cs (IsDefined): Fix IsDefined for ParameterInfo's. Fixes
4535         #75514.
4537 2005-07-05  Lluis Sanchez Gual  <lluis@novell.com>
4539         * DelegateSerializationHolder.cs: When the deserialized target is
4540         a proxy, call IsInstanceOfType to force the proxy to load the
4541         real type of the remote object. This is needed to make sure that
4542         subsequent calls to GetType() return the expected type. This fixes
4543         bug #75447.
4545 2005-07-03  Ben Maurer  <bmaurer@ximian.com>
4547         * OperatingSystem.cs: patch from Aleksandar Dezelin to fix
4548         serialization.
4550 2005-06-30  Sebastien Pouliot  <sebastien@ximian.com> 
4552         * Guid.cs: Avoid code duplication between overriden methods (new in 
4553         2.0). Avoid exception processing when possible. Renamed parameters to
4554         match the framework. Added ComVisible to NET_2_0.
4556 2005-06-28  Elliott Draper  <el@eldiablo.co.uk>
4558         * Activator.cs: This implements the generic Activator.CreateInstance<T>()
4559         function for NET_2_0. It's full signature is:
4560                 public static T CreateInstance<T>();
4562 2005-06-28  Lluis Sanchez Gual  <lluis@novell.com>
4564         * Decimal.cs: Renamed internal fields for the sake of serialization
4565         interoperability with MS.NET.
4566         * Exception.cs: In the StackTrace property, return the stack trace
4567         if it has a value, even if the exception has not been thrown
4568         (it may have been deserialized).
4570 2005-06-28  Martin Baulig  <martin@ximian.com>
4572         * Array.cs (Array.InternalArray<T>): New nested class; derives
4573         from Array.  This is now used by the runtime for arrays; fixes #74953.
4575 2005-06-27  Atsushi Enomoto  <atsushi@ximian.com>
4577         * String.cs : added some extra whitespace characters for Trim().
4578           Fixed bug #75259.
4580 2005-06-13  Michal Moskal <malekith@nemerle.org>
4581         
4582         * MonoType.cs: Don't use MethodHandle in GetMethod/GetConstructor,
4583         since it now throws on MethodBuilders. Don't use FieldHandle in
4584         GetField (throws on FieldBuilder) - just use the name.
4586 2005-06-13  Martin Baulig  <martin@ximian.com>
4588         * MonoType.cs
4589         (MonoType.getFullName): Added `bool assembly_qualified' argument.
4590         (MonoType.AssemblyQualifiedName): The interncall now adds the
4591         assembly name, so we don't need to do it here.
4592         (MonoType.FullName): Use the new getFullName() API.
4594 2005-06-14  Sebastien Pouliot  <sebastien@ximian.com>
4596         * Char.cs: ToLowerInvariant and ToUpperInvariant are now public in 
4597         NET_2_0. Added "new" white char and ComVisible for 2.0.
4599 2005-06-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4601         * Convert.cs: FromBase64String and FromBase64CharArray are now internal
4602         calls to avoid extra allocations.
4604 2005-06-09  Kamil Skalski <nazgul@nemerle.org>
4606         * Type.cs: Add MakeGenericType method form .NET 2.0 beta 2 API
4608         * Type.cs MonoType.cs: Add internal virtual
4609         Get{Method,Constructor,Field} for obtaining instanciated *Info objects
4610         from non-instanciated counterparts
4612 2005-06-09  Zoltan Varga  <vargaz@freemail.hu>
4614         * ModuleHandle RuntimeMethodHandle.cs RuntimeTypeHandle.cs RuntimeFieldHandle.cs RuntimeArgumentHandle.cs: Add missing 2.0 attributes.
4616 2005-06-08  Zoltan Varga  <vargaz@freemail.hu>
4618         * Type.cs: Add missing 2.0 attributes.
4620 2005-06-07  Carlos Alberto Cortez <calberto.cortez@gmail.com>
4622         * MonoCustomAttrs.cs: Added GetCustomAttributesDataInternal icall, and
4623         also internal method GetCustomAttributesData, used by 
4624         System.Reflection.CustomAttributeData.
4625         
4626 2005-06-06  Sebastien Pouliot  <sebastien@ximian.com>
4628         * Activator.cs: Added  _Activator interface (and members) for 1.1 and
4629         missing attributes (for both 1.1 and 2.0).
4630         * String.cs: Made internal To[Lower|Upper]Invariant methods public for
4631         2.0. Reworked Trim() to skip a useless call. Added missing attribute
4632         for 2.0.
4633         * Type.cs: Added  _Type, _MemberInfo interfaces (1.1/2.0). Added 
4634         missing attribute for 2.0. Hided some public/protected methods.
4636 2005-06-06  Zoltan Varga  <vargaz@freemail.hu>
4638         * ModuleHandle.cs: Update after PortableExecutableKinds name change.
4640 2005-06-06  Sebastien Pouliot  <sebastien@ximian.com>
4642         * _AppDomain.cs: Added new members in the interface (added in 1.1 SP1)
4643         * AppDomain.cs: Added new members from _AppDomain interface.
4644         * AppDomainManager.cs: Fixed flags and added attributes.
4645         * DomainManagerInitializationFlags.cs: The flag has been renamed to 
4646         AppDomainManagerInitializationOptions in beta2.
4648 2005-06-06  Zoltan Varga  <vargaz@freemail.hu>
4650         * Type.cs MonoCustomAttrs.cs: Return SerializableAttribute for types as well.
4652 2005-06-06  Sebastien Pouliot  <sebastien@ximian.com>
4654         * Exception.cs: Implements _Exception only for 2.0.
4656 2005-06-06  Zoltan Varga  <vargaz@freemail.hu>
4658         * GC.cs: Fix build.
4659         
4660         * GC.cs UnhandledExceptionEventArgs.cs IntPtr.cs RuntimeFieldHandle.cs 
4661           String.cs Object.cs Math.cs RuntimeMethodHandle.cs ModuleHandle.cs 
4662           RuntimeTypeHandle.cs AppDomain.cs: Add some missing 2.0 methods/attributes.
4664 2005-06-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4666         * Environment.cs:
4667         * AppDomain.cs: if the assembly is loaded from a byte array, Location
4668         returns "". Fixes bug #74958.
4670 2005-06-04  Ben Maurer  <bmaurer@ximian.com>
4672         * *.cs: More 2.0 API fixups
4674         * *.cs: In beta 2, generics are no longer non-cls-compliant.
4676 2005-06-05  Kazuki Oikawa  <kazuki@panicode.com>
4678         * NumberFormatter.cs: Fixed the output of 0.ToString("00.00E00")
4679         that was different from MSFT.
4680         * String.cs: Fixed IndexOfAny thrown an exception
4681         when startIndex of arguments equals Length. (Closes bug #75083.)
4683         * Decimal.cs: Changed to use NumberFormatter in ToString.
4684         * NumberFormatter.cs: Implemented decimal formatter.
4686 2005-06-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4688         * Type.cs: reverted wrong fix for bug #71300 in r45150. This makes SSL
4689         support in System.Net work again.
4691 2005-06-01  Ben Maurer  <bmaurer@ximian.com>
4693         * CharEnumerator.cs: add IEnumerable <char> support
4695 2005-05-30  Sebastien Pouliot  <sebastien@ximian.com>
4697         * Activator.cs: Added missing validation on parameters.
4699 2005-05-28  Ben Maurer  <bmaurer@ximian.com>
4701         * Type.cs: Check that the arguments of the `types' array are
4702         non-null. Fixes bug 71300
4704 2005-05-28  Sebastien Pouliot  <sebastien@ximian.com>
4706         * AppDomainSetup.cs: Added new 2,0 constructors and the 
4707         ActivationArguments property.
4708         * AppDomainManager.cs: Added using System.Runtime.Hosting as it is the
4709         new location for the ApplicationActivator class.
4710         * ApplicationActivator.cs: Moved to System.Runtime.Hosting namespace.
4712 2005-05-27  Vladimir Vukicevic  <vladimir@pobox.com>
4714         * Environment.cs: bump corlib version for bug #75060.
4716 2005-05-27  Raja R Harinath  <rharinath@novell.com>
4718         * Environment.cs (ExpandEnvironmentVariables): Rewrite
4719         sb.Append (s.SubString (a, b)) to sb.Append (s, a, b).
4720         * String.cs (FormatHelper): Rewrite sb.Append (s.SubString (a)) to
4721         sb.Append (s, a, s.Length - a).  Avoid allocating 'pad' string --
4722         StringBuilder has an appropriate Append overload.
4724 2005-05-26  Zoltan Varga  <vargaz@freemail.hu>
4726         * Type.cs (IsEnum): Special case EnumBuilder here.
4728 2005-05-26  Sebastien Pouliot  <sebastien@ximian.com>
4730         * MonoType.cs: Changed call from GetName to UnprotectedGetName to
4731         allow call to work with serialization under a restrictive policy.
4732         The code path (the protected information) isn't being used.
4734 2005-05-25  Zoltan Varga  <vargaz@freemail.hu>
4736         * Exception.cs: Use the new StackTrace ctor.
4738         * Type.cs: Improve support for user defined type subclasses.
4740 2005-05-25  Atsushi Enomoto  <atsushi@ximian.com>
4742         * DateTime.cs : Added minimum digit parameter to ParseNumber() to
4743           reject 2 digit years for "yyyy".
4744           Use GetAllDateTimePatterns() instead of constant string.
4745           Fixed bug #72788.
4747 2005-05-25  Atsushi Enomoto  <atsushi@ximian.com>
4749         * DateTime.cs : next_not_digit prevented some valid parse.
4750           Just remove it, since now we pass max length to ParseNumber() and
4751           thus it is not needed anymore. Fixed bug 63137.
4753 2005-05-24  Atsushi Enomoto  <atsushi@ximian.com>
4755         * DateTime.cs : HH should not always block tt. Fixed bug #60912.
4756           Reset num after whitespace parsing.
4757           Added "M/d/yyyy HH':'mm':'ss tt" as an invariant pattern.
4759 2005-05-24  Atsushi Enomoto  <atsushi@ximian.com>
4761         * DateTime.cs : Allow ',' where whitespaces are allowed.
4762           Fixed bug #71289.
4764 2005-05-22  Ben Maurer  <bmaurer@ximian.com>
4766         * BitConverter.cs: Speed this up, fixing 74014. Patch from
4767         `Aleksandar Dezelin'.
4769 2005-05-20  Zoltan Varga  <vargaz@freemail.hu>
4771         * Type.cs: Add some helper methods needed by other classes.
4773         * Array.cs: Improve support for user defined Type subclasses.   
4774         
4775         * Type.cs: Rename GetTypeCode icall to GetTypeCodeInternal and add a managed
4776         wrapper function, not used yet.
4778         * Type.cs Array.cs: Revert this as it breaks the build.
4780         * Type.cs Array.cs: Improve support for user defined Type subclasses.
4782 2005-05-19  Ben Maurer  <bmaurer@ximian.com>
4784         * Delegate.cs (Equals): Use `as' to protect in the case where !
4785         (obj is Delegate)
4787 2005-05-19  Raja R Harinath  <rharinath@novell.com>
4789         * Console.cs (Readline) [NET_2_0]: Avoid "uninitialized variable"
4790         error.
4792 2005-05-19  Miguel de Icaza  <miguel@novell.com>
4794         * TermInfoDriver.cs: Removed warning.
4796         * Array.cs (Resize<T>, TrueForAll<T>, ConvertAll<TInput,TOutput>,
4797         FindLastIndex<T>: Parameter names are normative.        
4798         Fix coding style ("Method<T>" not "Method <T>")
4799         Throw argument exceptions per argument.
4800         
4801         (FindAll): Fix bug, actually return the values that were computed,
4802         not a short version of the original array.
4803         
4804 2005-05-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4806         * Console.cs: fix error in the 2_0 side and split ReadLine in 2, one
4807         for each framework version.
4809 2005-05-15  Andreas Nahr  <ClassDevelopment@A-SoftTech.com>
4811         * Attribute.cs:
4812         * Exception.cs: .Net 1.1 already has these interfaces
4814 Mon May 16 18:23:49 CEST 2005 Paolo Molaro <lupus@ximian.com>
4816         * MonoCustomAttrs.cs, Type.cs: do not create a SerializableAttribute
4817         object on GetCustomAttributes (fixes bug #74717).
4819 2005-05-15  Atsushi Enomoto  <atsushi@ximian.com>
4821         * DateTime.cs : for 'z' next_not_digit didn't work as expected.
4822           Fixed bug #74775.
4824 2005-05-15  Atsushi Enomoto  <atsushi@ximian.com>
4826         * DateTime.cs : don't allow extraneous pattern characters also for
4827           non-exact parsing (ParseExact() was fine). Bug #74936 fixed
4829 2005-05-13  Gert Driesen <drieseng@users.sourceforge.net>
4831         * Activator.cs: Match exceptions thrown by MS.NET for
4832         CreateInstance overloads if type is abstract. Fixes bug #74861.
4834 2005-05-09  Gonzalo Paniagua Javier <gonzalo@ximian.com>
4836         * OperatingSystem.cs: PlatformID.Unix.
4838 2005-05-09  Sebastien Pouliot  <sebastien@ximian.com>
4840         * Environment.cs: Patch from Gonzalo to fix Environment.OSVersion.
4841         Platform under NET_2_0 to return PlatformID.Unix. Fix bug #74841.
4843 2005-05-07  Atsushi Enomoto  <atsushi@ximian.com>
4845         * NumberFormatter.cs : roundtrip number is already rounded before
4846           FormatGeneral() and DefaultMaxPrecision was extraneous. This fixes
4847           bug #72955.
4849 2005-05-07  Ben Maurer  <bmaurer@ximian.com>
4851         * Array.cs (BinarySearch): Patch from kazuki to pass arguments to
4852         the comparer in the same order as msft. Fixes #70725
4854 2005-05-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4856         * Enum.cs: the hashtable don't need to be synchronized any more, since
4857         it's only accessed from withint a lock.
4859         * Console.cs: stdin, stdout and stderr will never be finalized. Fixes
4860         bug 74768.
4862 2005-05-06  Zoltan Varga  <vargaz@freemail.hu>
4864         * Array.cs: Remove CLSCompliant (false) attributes.
4866 2005-05-06  Martin Baulig  <martin@ximian.com>
4868         * Predicate.cs, Action.cs, Comparision.cs, Converter.cs: Add
4869         [CLSCompliant(true)] attribute.
4871 2005-05-04  Miguel de Icaza  <miguel@novell.com>
4873         * Enum.cs (MonoEnumInfo): Based on a patch from James Willcox,
4874         initialize cache as a static method.  Fixes #74828.
4876 2005-05-03  Marek Safar  <marek.safar@seznam.cz>
4878         * Console.cs: CancelKeyPress is stubbed.
4880 2005-04-25  Sebastien Pouliot  <sebastien@ximian.com>
4882         * ActivationContext.cs: Updated for beta2.
4883         * AppDomainManager.cs: Updated for beta2.
4884         * ApplicationId.cs: Updated for beta2.
4885         * ApplicationIdentity.cs: Updated for beta2.
4886         * Exception.cs: Now use Assembly.UnprotectedGetName () as Exception 
4887         doesn't leak the code base from the returned AssemblyName.
4889 2005-04-25  Martin Baulig  <martin@ximian.com>
4891         * Environment.cs (Environment.Version): Changed to 2.0.50215.
4893 2005-04-22  Sebastien Pouliot  <sebastien@ximian.com>
4895         * Attribute.cs: Added _Attribute interface to NET_2_0 to reduce the 
4896         number of "missing" in the class status pages.
4898 2005-04-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4900         * MulticastDelegate.cs: (GetInvocationList) when building the list that
4901         is later traversed forward, mark 'this' as the end of the chain.
4902         Fixes bug #74607.
4904 2005-04-19  Zoltan Varga  <vargaz@freemail.hu>
4906         * Environment.cs: Bump corlib version.
4908 2005-04-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4910         * WindowsConsoleDriver.cs: ignore key release events.
4912 2005-04-06  Atsushi Enomoto  <atsushi@ximian.com>
4914         * Char.cs : ToUpper()/ToLower() comparison ranges were incorrect.
4916 2005-04-05  Sebastien Pouliot  <sebastien@ximian.com>
4918         * _AppDomain.cs: Add security checks to the interface. Declarative 
4919         security on events requires BOOTSTRAP_WITH_OLDLIB to work properly 
4920         with older MCS.
4921         * AppDomain.cs: Add some (not complete) security checks. Bug#74411 is
4922         blocking some cases from working properly. Declarative security on 
4923         events requires BOOTSTRAP_WITH_OLDLIB to work properly with older MCS.
4925 2005-04-04  Sebastien Pouliot  <sebastien@ximian.com>
4927         * AppDomain.cs: Use the PolicyLevel to resolve the granted permissions
4928         on the AppDomain. Added an internal property to get the granted set.
4930 2005-04-04  Atsushi Enomoto  <atsushi@ximian.com>
4932         * String.cs,
4933           Char.cs : use TextInfo for ToLower() and ToUpper().
4935 2005-03-31  Sebastien Pouliot  <sebastien@ximian.com>
4937         * Exception.cs: Added Assert for TypeInformation to GetObjectData and
4938         ToString methods (not required for 2.0 as TypeInformation will be 
4939         deprecated). Added null check for GetObjectData.
4941 Tue Mar 29 11:47:19 CEST 2005 Paolo Molaro <lupus@ximian.com>
4943         * Delegate.cs: allow IronPython 0.7 to compile.
4945 2005-03-24  Miguel de Icaza  <miguel@novell.com>
4947         * Delegate.cs: Add CreateDelegate with a target option, currently
4948         internal as it is not exposed by the framework yet.
4950 2005-03-24  Zoltan Varga  <vargaz@freemail.hu>
4952         * String.cs: Add some 2.0 methods.
4954 2005-03-24  Sebastien Pouliot  <sebastien@ximian.com>
4956         * Activator.cs: Now use the supplied evidences when loading 
4957         assemblies. Added LinkDemand for RemotingConfiguration on both
4958         GetObject methods.
4959         * Console.cs: Added Assert for UnmanagedCode on OpenStandard[Error|
4960         Input|Output] as they use a handle on a FileStream (which is
4961         restricted otherwise). Added Demand for UnmanagedCode for the
4962         Set[Error|In|Out] methods.
4963         * MarshalByRefObject.cs: Added LinkDemand for Infrastructure on 
4964         CreateObjRef, GetLifetimeService and InitializeLifetimeService.
4965         * RuntimeMethodHandle.cs: Added Demand for UnmanagedCode on 
4966         GetFunctionPointer method.
4967         * TypedReference.cs: Added LinkDemand for ReflectionPermission's
4968         MemberAccess on MakeTypedReference.
4970 2005-03-14  Sebastien Pouliot  <sebastien@ximian.com>
4972         * Environment.cs: Fix CAS unit tests for NET_1_1.
4973         * Exception.cs: Fix CAS unit tests for NET_1_1.
4975 2005-03-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4977         * Version.cs: don't ignore the last number. Fixes bug #73539.
4979 2005-03-11  Sebastien Pouliot  <sebastien@ximian.com>
4981         * MonoType.cs: When the security manager is active, constructors and
4982         methods will return null if a linkdemand fails during reflection 
4983         query.
4985 2005-03-11  Zoltan Varga  <vargaz@freemail.hu>
4987         * Array.cs (Sort): Bail out early if length <= 1. Fixes #72721.
4989 2005-03-10  Zoltan Varga  <vargaz@freemail.hu>
4991         * Environment.cs: Bump corlib version.
4993 2005-03-10  Martin Baulig  <martin@ximian.com>
4995         * Nullable.cs (Nullable<T>.ToString): Return an empty string if
4996         we're null.
4998 2005-03-09  Zoltan Varga  <vargaz@freemail.hu>
5000         * Activator.cs MonoType.cs: Applied patch from Carlos Alberto Cortez
5001         (carlos@unixmexico.org). Allow creation of valuetypes with no ctor.
5002         Fixes #73432.
5004 2005-03-04  Zoltan Varga  <vargaz@freemail.hu>
5006         * Environment.cs: Bump corlib version.
5008         * Exception.cs (StackTrace): Return the wrapper info as well.
5010 2005-03-02  Kazuki Oikawa  <kazuki@panicode.com>
5012         * NumberFormatter.cs: Some internal classes was converted to structs,
5013         and improved some points.
5015 2005-02-26  Kazuki Oikawa  <kazuki@panicode.com>
5017         * NumberFormatter.cs: Improved performance and memory usage
5018         when integer standard format.
5019         * SByte.cs:
5020         * Int16.cs:
5021         * Int32.cs:
5022         * Int64.cs:
5023         * Byte.cs:
5024         * UInt16.cs:
5025         * UInt32.cs:
5026         * UInt64.cs:
5027         * Single.cs:
5028         * Double.cs:
5029         * TimeSpan.cs: Improved these directly call to NumberFormatter.
5031 2005-02-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5033         * TermInfoDriver.cs: set the xmit mode if available. Handle key input
5034         and translate them into a ConsoleKeyInfo.
5035         * TermInfoReader.cs: added a method to return the bytes of a string
5036         property.
5037         * ConsoleKeyInfo.cs: added copy constructor and setters.
5039 2005-02-24  Zoltan Varga  <vargaz@freemail.hu>
5041         * Array.cs: Add missing 2.0 attributes and correct some parameter names.
5043 2005-02-24  Carlos Alberto Cortez <calberto.cortez@gmail.com>
5045         * AppDomain.cs: Changed GetAssemblies, LoadAssembly, and Load signatures,
5046         and added some to support the reflection only methods. DoAssemblyResolve
5047         was modified to invoke the new PreBindAssemblyResolve event when the
5048         assembly is reflection only.
5049         
5050 2005-02-21  Zoltan Varga  <vargaz@freemail.hu>
5052         * GC.cs Double.cs IntPtr.cs Array.cs Decimal.cs Math.cs Single.cs:
5053         Add net 2.0 ReliabilityContractAttributes.
5055 2005-02-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5057         * TermInfoDriver.cs: cygwin terminals are handled by the windows
5058         console driver.
5060         * TermInfoReader.cs:
5061         * TermInfoNumbers.cs:
5062         * KnownTerminals.cs:
5063         * TermInfoBooleans.cs:
5064         * TermInfoStrings.cs: documented.
5066 2005-02-19  Kazuki Oikawa <kazuki@panicode.com>
5068         * Array.cs: Reverse the order in the Equals calls.
5070 2005-02-18  Zoltan Varga  <vargaz@freemail.hu>
5072         * Exception.cs (StackTrace): Implement this in managed code since it is
5073         needed by CAS. Fixes #72146.
5075 2005-02-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5077         * WindowsConsoleDriver.cs: implemented MoveBufferArea.
5079 2005-02-14  Raja R Harinath  <rharinath@novell.com>
5081         * Array.cs (Array.Swapper) [!BOOTSTRAP_WITH_OLDLIB]: Make nested.
5082         See #72015.
5084 2005-02-12  Ben Maurer  <bmaurer@ximian.com>
5086         * Version.cs (CompareTo, Equals): Make sure the versions for
5087         generics handle `null'. The non-generics versions now just call
5088         the regular versions, to reduce code duplication.
5090         * Boolean.cs (CompareTo): make this really work for generics 
5092         * Type.cs (GetProperty): Passing new Type [0] is different than
5093         null. null means `I don't care how many types this has,' while new
5094         Type [0] means `this must have 0 types.'
5096 2005-02-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5098         * corlib.dll.sources: added WindowsConsoleDriver.cs
5100         * System/ConsoleDriver.cs: use WindowsConsoleDriver on windows and
5101         implemented the few missing properties/methods.
5103         * System/IConsoleDriver.cs: uncommented all methods/properties.
5104         * System/TermInfoDriver.cs: implement changes from IConsoleDriver.
5105         * System/WindowsConsoleDriver.cs: implemented IConsoleDriver for
5106         windows. Only missing MoveBufferArea by now.
5108 2005-02-11  Zoltan Varga  <vargaz@freemail.hu>
5110         * Type.cs (IsAssignableFrom): Add support for TypeBuilders.
5112         * Int32.cs AppDomain.cs: Fix warnings.
5114 2005-02-10  Marek Safar  <marek.safar@seznam.cz>
5116         * IServiceProvider.cs: Is not ComVisible.
5118         * NonSerializedAttribute.cs: Fix AttributeUsage flags.
5120         * Type.cs: Fix ClassInterface attribute.
5122 Tue Feb 8 19:26:47 CET 2005 Paolo Molaro <lupus@ximian.com>
5124         * Delegate.cs: remove the finalizer from Delegate: this
5125         is handled internally by the runtime now.
5127 2005-02-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5129         * Activator.cs: provide the Type name when throwing an exception.
5131 2005-02-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5133         * TimeZone.cs: lock on the static Hashtable instead of 'this'. Fixes
5134         bug #72238.
5136 Fri Feb 4 15:46:04 CET 2005 Paolo Molaro <lupus@ximian.com>
5138         * Array.cs: provide specialized versions of some methods.
5140 Thu Feb 3 15:15:25 CET 2005 Paolo Molaro <lupus@ximian.com>
5142         * String.cs: provide a managed memcpy and memset method
5143         for use both in corlib and from the JIT. Implement
5144         some methods with the managed helpers and remove some icalls.
5146 2005-01-31  Sebastien Pouliot  <sebastien@ximian.com>
5148         * Exception.cs: Added Data property for NET_2_0 (required for new
5149         unit tests).
5151 2005-01-31 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5153         * ConsoleDriver.cs:
5154         * TermInfoDriver.cs:
5155         * IConsoleDriver.cs:
5156         * Console.cs: added BufferWidth and BufferHeight.
5158 2005-01-31 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5160         * ConsoleDriver.cs:
5161         * Console.cs:
5162         * TermInfoDriver.cs:
5163         * IConsoleDriver.cs: added a few more properties and fixed cursor
5164         addressing.
5166 2005-01-31 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5168         * ConsoleDriver.cs: static class that forwards the Console 2.0 class
5169         calls to the proper driver.
5170         * TermInfoDriver.cs: terminfo based console driver.
5171         * IConsoleDriver.cs: interface implemented by console drivers.
5173         * ConsoleCancelEventArgs.cs:
5174         * ConsoleCancelEventHandler.cs:
5176         * ConsoleModifiers.cs: 
5177         * ConsoleSpecialKey.cs:
5178         * ConsoleColor.cs:
5179         * ConsoleKey.cs: new enumerations.
5181         * ConsoleKeyInfo.cs: New file.
5183         * TermInfoReader.cs: reader for terminfo capabilities files.
5185         * TermInfoNumbers.cs:
5186         * TermInfoBooleans.cs:
5187         * TermInfoStrings.cs: enumations for terminfo property names.
5189         * KnownTerminals.cs: byte arrays for selected terminals.
5191         * Console.cs: added more 2.0 methods and implemented some of them.
5194 2005-01-30  Atsushi Enomoto  <atsushi@ximian.com>
5196         * Int32.cs : (FindSign) IndexOf() is better than creating substring.
5198 2005-01-27  Sebastien Pouliot  <sebastien@ximian.com>
5200         * BadImageFormatException.cs: Protect the fusion (GAC) log from being
5201         disclosed unless code has ControlPolicy and ControlEvidence.
5203 2005-01-27  Zoltan Varga  <vargaz@freemail.hu>
5205         * Exception.cs: Compute stack trace on demand.
5207 2005-01-26  Sebastien Pouliot  <sebastien@ximian.com>
5209         * Environment.cs: Removed hack for static class (NET_2_0). Added 
5210         proper security for FailFast (documented in FDBK20543). Added new
5211         method IsRunningOnWindows to replace (Platform == 128) as the logic is
5212         gonna change in the future (Unix is id #4 in NET_2_0).
5214 2005-01-24  Sebastien Pouliot  <sebastien@ximian.com>
5216         * Environment.cs: Added CAS security (both declarative and imperative)
5217         as a test. This shouldn't affect execution unless --security is 
5218         specified.
5220 2005-01-19  Rafael Teixeira  <rafaelteixeirabr@hotmail.com>
5221         * Type.cs: Corrected implementation for the Type.FilterNameIgnoreCase
5222         and Type.FilterName delegates They weren't dealing with the optional '*'
5223         at the end of the filter mask
5225 2005-01-19  Zoltan Varga  <vargaz@freemail.hu>
5227         * Array.cs: Fix a typo in the previous patch.
5228         
5229         * Array.cs: Fix some test failures in the generic methods.
5231         * Array.cs: Implement AsReadOnly.
5233 2005-01-13  Geoff Norton  <gnorton@customerdna.com>
5235         * Guid.cs: Fix endian issues (use Mono.Security.BitConverterLE).  Fixes
5236         #71242
5238 2005-01-11  Sebastien Pouliot  <sebastien@ximian.com>
5240         * AppDomain.cs: Removed Activate and ActivateNewProcess methods. They
5241         have been removed from 2.0.
5243 2005-01-11  Zoltan Varga  <vargaz@freemail.hu>
5245         * Boolean.cs Char.cs Single.cs Double.cs: Implement IComparable<T> in
5246         NET 2.0.
5248 2005-01-10  Sebastien Pouliot  <sebastien@ximian.com>
5250         * ApplicationIdentity.cs: Throw ArgumentNullException if name is null.
5251         Add default culture (neutral) to the name when none is specified.
5252         * AppDomain.cs: Changed IsDefaultAppDomain (2.0). Is seems that we 
5253         can't trust Id ?
5255 2005-01-09  Sebastien Pouliot  <sebastien@ximian.com>
5257         * DateTime.cs: Reverted last patch for utc as it broke all certificate
5258         handling and another unit test in DateTime.
5260 2005-01-09  Miguel de Icaza  <miguel@ximian.com>
5262         * DateTime.cs: Return immediately if useutc is set to true, there
5263         is no need to do the extra computation (which also happened to
5264         create a new DateTime using the `use_localtime' constructor, which
5265         lead to the erroneous date returns when using 'u' or `U'
5266         formats).   
5268         Fixes another bug in the regression test suite.
5270 2005-01-08  Sebastien Pouliot  <sebastien@ximian.com> 
5272         * AppDomain.cs: Fix the DefaultDomain property to return the root 
5273         domain (as it seems that the root's Id isn't always 0).
5274         * BitConverter.cs: The "special support" for ToString(new byte[0]) is
5275         only for NET_2_0 - previously this was an ArgumentOutOfRangeException.
5277 2005-01-08  Miguel de Icaza  <miguel@ximian.com>
5279         * IntegerFormatter.cs: The - sign inside the "negative" section in
5280         a multi-format string means `show the sign' only if it is the
5281         first token, not `copy verbatim'.  In the other sections it means
5282         `copy-verbatim'.
5284         This makes things like:  (-34).ToString ("#;-#") show up as "-34"
5285         instead of "--34".
5287         The bad news is that this code needs to be rewritten to handle all
5288         the formatting cases, see bug #71112 for details.
5290         * Convert.cs (Convert.ToType): Throw an InvalidCastException if
5291         the conversion is invalid, not ArgumentException, this fixes
5292         another regression in our test suite.
5294 2005-01-08  Sebastien Pouliot  <sebastien@ximian.com>
5296         * AppDomain.cs: Add ApplicationIdentity property for 2.0;
5297         * AppDomainManager.cs: Remove HostRefusedSet support (it does not 
5298         exists anymore).
5300 2005-01-08  Zoltan Varga  <vargaz@freemail.hu>
5302         * DateTime.cs: Create MaxValue and MinValue using a different constructor to avoid static 
5303         initialization problems.
5305 2005-01-02  Ben Maurer  <bmaurer@ximian.com>
5307         * Int32.cs: NumberStyles.AllowExponent was supported by the
5308         Int32.Parse function. From Akira <mei@work.email.ne.jp>. Fixes bug
5309         70469.
5311 2005-01-01  Atsushi Enomoto  <atsushi@ximian.com>
5313         * Base64FormattingOptions.cs : it was not in System namespace.
5315 2004-12-21  Atsushi Enomoto  <atsushi@ximian.com>
5317         * DateTime.cs : If no progress on value string, don't regard as
5318           matched. This fixes bug #70707.
5320 2004-12-20  Sebastien Pouliot  <sebastien@ximian.com>
5322         * Environment.cs: Bump corlib version.
5324 2004-12-16  Zoltan Varga  <vargaz@freemail.hu>
5326         * Array.cs (DoBinarySearch): Fix a warning.
5328 2004-12-08  Zoltan Varga  <vargaz@freemail.hu>
5330         * Environment.cs: Bump corlib version.
5332         * AppDomain.cs: Add new DefineInternalDynamicAssembly () method.
5334 2004-12-06  Ben Maurer  <bmaurer@ximian.com>
5336         * Exception.cs: Prevent stringifying the type name on the
5337         ctor. this gets called a few times on every execution to create a
5338         nullref exception.
5340 2004-12-06  Martin Baulig  <martin@ximian.com>
5342         * Decimal.cs: Decimal constant support has been merged into GMCS,
5343         removed the FIXME.
5345 2004-12-06  Zoltan Varga  <vargaz@freemail.hu>
5347         * Environment.cs: Bump corlib version.
5348         
5349         * Environment.cs: Bump corlib version.
5351 2004-11-30  Zoltan Varga  <vargaz@freemail.hu>
5353         * MonoType.cs (UnderlyingSystemType): Make this return this as in
5354         MS.NET. Fixes #56245.
5356 2004-11-29  Atsushi Enomoto  <atsushi@ximian.com>
5358         * GC.cs : Collect(generation) actually does not throw an exception
5359           even if generation > MaxGeneration (MS document bug).
5361 2004-11-28  Zoltan Varga  <vargaz@freemail.hu>
5363         * Exception.cs: Implement _Exception under NET_2_0.
5365         * Byte.cs SByte.cs UInt16.cs Int16.cs: Make these compile under csc 2.0.
5367         * AccessViolationException.cs DataMisalignedException.cs OperationCanceledException.cs
5368         NotCancelableException.cs TimeoutException.cs: New files.
5370 2004-11-23  Raja R Harinath  <rharinath@novell.com>
5372         * Decimal.cs [NET_2_0]: Use old code till GMCS imports decimal
5373         constant support.
5375 2004-11-23  Raja R Harinath  <rharinath@novell.com>
5377         * Decimal.cs [BOOTSTRAP_WITH_OLDLIB]: Use old code for compilers
5378         without decimal constant support.
5380 2004-11-23  Marek Safar  <marek.safar@seznam.cz>
5382         * Decimal.cs: Updated to use compiler decimal constant support.
5384 2004-11-20  Zoltan Varga  <vargaz@freemail.hu>
5386         * MonoType.cs: Revert last change since it breaks remoting.
5388 2004-11-18  Zoltan Varga  <vargaz@freemail.hu>
5390         * MonoType.cs (UnderlyingSystemType): Make this return this as in
5391         MS.NET. Fixes #56245.
5393 2004-11-17  Carlos Alberto Cortez <carlos@unixmexico.org>
5395         * INullable.cs: New interface added.
5396         * Nullable.cs: Methods added. Also a static Nullable class
5397         containing static methods.
5398         
5399 2004-11-15  Sebastien Pouliot  <sebastien@ximian.com>
5401         * BitConverter.cs: Added support for special case when ToString is 
5402         called with (new byte [0]).
5404 2004-11-10  Lluis Sanchez  <lluis@novell.com>
5406         * Exception.cs: Added setter for StackTrace.
5408 2004-11-07  Ben Maurer  <bmaurer@ximian.com>
5410         * IntegerFormatter.cs: Avoid .ToCharArray
5412 2004-11-06  Ben Maurer  <bmaurer@ximian.com>
5414         * Single.cs, Double.cs (GetHashCode): Better hashcode impl
5416 2004-11-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5418         * InvalidOperationException.cs: make the message more meaningful and
5419         real. Fixes bug #69055.
5421 2004-10-28  Ben Maurer  <bmaurer@ximian.com>
5423         * String.cs: Rather than == String.Empty, use .Length == 0. It
5424         is a bit faster (avoids a method call, and the code is less complex).
5426 2004-10-24  Fawad Halim  <fawad@fawad.net>
5427         * Environment.cs: If an Environment variable value isn't found, leave the trailing % of the reference for further matches.
5428         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.
5429         This fixes bug #64995.
5431 2004-10-19  Lluis Sanchez  <lluis@novell.com>
5433         * MarshalByRefObject.cs: Field _identity is not serializable.
5434         This fixes bug #68567.
5436 2004-10-17  Ben Maurer  <bmaurer@ximian.com>
5438         * DateTime.cs (ZeroPad): Use unsafe code to speed this up. We
5439         avoid entering slow integer formatting code.
5441         (_ToString): Use ZeroPad here when possible, as it is faster.
5443 2004-10-11  Martin Baulig  <martin@ximian.com>
5445         * Environment.cs: Bump corlib version to 28.
5447 2004-10-08  Zoltan Varga  <vargaz@freemail.hu>
5449         * Convert.cs (ToType): Throw an exception when converting null to a
5450         valuetype. Fixes #67780.
5452 2004-10-08  Atsushi Enomoto  <atsushi@ximian.com>
5454         * DateTime.cs : Performance fix. ParseExact() implementation should
5455           avoid s = s.Substring(1).
5457 2004-10-08  Atsushi Enomoto  <atsushi@ximian.com>
5459         * DateTime.cs : When it it not exact parse, 'Z' is allowed as a suffix
5460           of m/s/t/z. This fixes bug 66723.
5462 Wed Oct 6 12:37:54 CEST 2004 Paolo Molaro <lupus@ximian.com>
5464         * String.cs: make GetHashCode() managed.
5466 2004-10-04  Zoltan Varga  <vargaz@freemail.hu>
5468         * AppDomain.cs: Make ThreadStatic variables static. Fixes #56614.
5470         * Runtime*Handle.cs ModuleHandle.cs: Add Equals + GetHashCode.
5472         * ModuleHandle.cs: Add missing methods.
5474         * RuntimeTypeHandle.cs: Add GetModuleHandle () method.
5476 2004-10-03  Zoltan Varga  <vargaz@freemail.hu>
5478         * AttributeTargets.cs: Add 2.0 GenericParameter value.
5480         * Environment.cs: Bump corlib version.
5482 2004-10-02  Zoltan Varga  <vargaz@freemail.hu>
5484         * Int32.cs UInt32.cs Byte.cs SByte.cs Int16.cs UInt16.cs Int64.cs UInt64.cs: Implement 2.0 TryParse methods.
5486 2004-09-30  Geoff Norton  <gnorton@customerdna.com>
5488         * Convert.cs: ConvertToBase* was not endian aware.  Implemented EndianSwap
5489         and swapping of all values before going into the BitConverter so that values
5490         are returned with proper endianess.
5492 2004-09-23  Martin Garton  <martin@wrasse.demon.co.uk>
5494         * Convert.cs: ToType was returning unconverted object when it should
5495         fail with an ArgumentException.
5497 2004-09-27  Zoltan Varga  <vargaz@freemail.hu>
5499         * Array.cs: Add stub for AsReadOnly<T>.
5500         
5501 2004-09-25  Zoltan Varga  <vargaz@freemail.hu>
5503         * Type.cs: Add MakePointerType && stub for ReflectionOnlyGetType.
5505         * MonoCustomAttrs.cs (GetCustomAttributesBase): Add support for
5506         parameters.
5508 2004-09-24  Zoltan Varga  <vargaz@freemail.hu>
5510         * MonoCustomAttrs.cs (GetCustomAttributesBase): Add support for
5511         methods and fields.
5512         
5513         * MonoCustomAttrs.cs: Beginnings of support for returning 2.0 pseudo
5514         custom attributes.
5516         * MonoCustomAttrs.cs (RetrieveAttributeUsage): Avoid infinite recursion.
5518         * MonoCustomAttrs.cs (GetCustomAttributes): Fix the 'attributeType is 
5519         sealed' optimization.
5521         * Type.cs: Implement 2.0 StructLayoutAttribute property. 
5523         * Type.cs Add GetPseudoCustomAttributes () method.
5525 2004-09-24  Martin Baulig  <martin@ximian.com>
5527         * Type.cs (Type.GetGenericParameterConstraints): New public method.
5529 2004-09-23  Zoltan Varga  <vargaz@freemail.hu>
5531         * MonoCustomAttrs.cs (GetCustomAttributes): Rename the icall to
5532         GetCustomAttributesInternal and add a 'pseudoAttrs' argument.
5534         * Type.cs: Tweak Module property in 2.0 build.
5536 2004-09-23  Martin Baulig  <martin@ximian.com>
5538         * Type.cs (Type.GenericParameterAttributes): New public property.
5540 2004-09-23  Martin Baulig  <martin@ximian.com>
5542         * GenericParameterAttributes.cs: New file.
5544 2004-09-22  Zoltan Varga  <vargaz@freemail.hu>
5546         * ModuleHandle.cs: Updated after changes to Module class.
5548 2004-09-21  Geoff Norton <gnorton@customerdna.com>
5550         * Type.cs: BindingFlags.IgnoreCase was being ignored, this reimplements
5551         this filter. Fixes bug #65778.
5553 2004-09-20  Zoltan Varga  <vargaz@freemail.hu>
5555         * Environment.cs: Bump corlib version.
5557 2004-09-19  Zoltan Varga  <vargaz@freemail.hu>
5559         * ModuleHandle.cs: New file.
5561         * RuntimeFieldHandle.cs: Add an internal ctor.
5563 2004-09-19  Dick Porter  <dick@ximian.com>
5565         * Console.cs: Use the internal wrappers for StreamReader and
5566         StreamWriter that catch IOException.
5568 2004-09-16  Sebastien Pouliot  <sebastien@ximian.com>
5570         * Environment.cs: Bumped mono_corlib_version to 25.
5572 2004-09-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5574         * AppDomain.cs: added SetupInformationNoCopy property, since
5575         SetupInformation creates a copy now, all updates to it should use the
5576         actual data. Fixes bug #61991 take 2.
5578 2004-09-09  Tim Coleman <tim@timcoleman.com>
5579         * Base64FormattingOptions.cs: New enum
5580         * Convert.cs: Add new ToBase64String methods for Fx 2.0
5582 2004-09-08  Marek Safar  <marek.safar@seznam.cz>
5584         * Console.cs,
5585         * GC.cs: Class is static for NET_2_0.
5587 2004-09-07 Ben Maurer  <bmaurer@users.sourceforge.net>
5589         * Activator.cs: Make sure not to call .GetType on a
5590         null argument. fixes 63852
5592 2004-09-06 Ben Maurer  <bmaurer@users.sourceforge.net>
5594         * Array.cs (Clear): make this an icall.
5596 2004-09-05 Ben Maurer  <bmaurer@users.sourceforge.net>
5598         * MonoCustomAttribute.cs: Avoid the call to GetBase when possible.
5600 2004-09-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5602         * Environment.cs: (ExpandEnvironmentVariables) don't nullify the case
5603         insensitive enironment variables hashtable once we create it.
5605 2004-09-04  Sebastien Pouliot  <sebastien@ximian.com>
5607         * AppDomain.cs: Changed 2 imperative security demands to declarative
5608         (unsupported) so it doesn't (for now) call the security runtime.
5610 2004-09-02  Zoltan Varga  <vargaz@freemail.hu>
5612         * Delegate.cs: Free the delegate trampoline in the finalizer.
5614 2004-08-26  Sebastien Pouliot  <sebastien@ximian.com>
5616         * ApplicationId.cs: Completed GetHashCode using information from MS
5617         (FDBK13339).
5619 2004-08-23  Sebastien Pouliot  <sebastien@ximian.com>
5621         * Boolean.cs: Added TryParse static method for NET_2_0 profile.
5623 2004-08-19  Atsushi Enomoto  <atsushi@ximian.com>
5625         * DateTime.cs : When hour format is "hh", MS.NET (maybe incorrectly)
5626           allows 12, that should not be accepted (13 is rejected) and
5627           interpreted as 0. This fixes bug 63376.
5629 2004-08-17  Sebastien Pouliot  <sebastien@ximian.com>
5631         * Version.cs: Fixed Clone so we can use it on versions with only
5632         major/minor or major/minor/build.
5634 2004-08-17  Martin Baulig  <martin@ximian.com>
5636         * MonoType.cs (MonoType.getFullName): Added `bool full_name'
5637         argument specifying whether or not to include the type arguments.
5638         (MonoType.FullName): Don't include the type arguments.
5639         (MonoType.ToString): Include them here.
5641         * Environment.cs: Bumped mono_corlib_version to 24.
5643 2004-08-16  Duncan Mak  <duncan@ximian.com>
5645         * AttributeUsageAttribute.cs: Change the AttributeUsage to
5646         AttributeTargets.Class, from AttributeTargets.All, fixes Zoltan's
5647         bug #62895.
5649 2004-08-11  Marek Safar  <marek.safar@seznam.cz>
5651         * AppDomain.cs: Fixed typo of DefineDynamicAssembly argument.
5652         Added call to AddPermissionRequests to pass permissions
5653         arguments.
5654         * Environment.cs: Added a few Fx 2.0 methods
5656 2004-08-09  Sebastien Pouliot  <sebastien@ximian.com>
5658         * ApplicationId.cs: Fixed typo to fix NET_2_0 compilation.
5659         * AppDomain.cs: Fixed use of Evidence and AppDomainSetup (copies, not
5660         references). Added (non-obsolete) Fx 2.0 properties and methods.
5661         * AppDomainSetup.cs: Added internal copy constructor.
5662         * DomainManagerInitializationFlags.cs: Fixed values.
5664 2004-08-08  Sebastien Pouliot  <sebastien@ximian.com>
5666         * AppDomainInitializer.cs: New Fx 2.0 class for AppDomain.
5667         * AppDomainManager.cs: New Fx 2.0 class for AppDomain.
5668         * ApplicationActivator.cs: New Fx 2.0 class for AppDomain.
5669         * ApplicationId.cs: New Fx 2.0 class.
5670         * ApplicationIdentity.cs: Fixed ToString.
5671         * DomainManagerInitializationFlags.cs: New Fx 2.0 flags for AppDomain.
5673 2004-08-05  Sebastien Pouliot  <sebastien@ximian.com>
5675         * AppDomain.cs: Added a new icall, getDomainByID, to get the an 
5676         AppDomain using it's Id. Completed SetAppDomainPolicy.
5677         * Environment.cs: Bumped mono_corlib_version to 23.
5679 2004-08-02  Martin Baulig  <martin@ximian.com>
5681         * DateTime.cs, TimeSpan.cs, Guid.cs, Version.cs: Implement IComparable<T>.
5683 2004-07-29  Atsushi Enomoto  <atsushi@ximian.com>
5685         * Environment.cs : GacPath on windows is based on mscorlib.dll, and
5686           now its location is changed.
5688 2004-07-21  Lluis Sanchez Gual  <lluis@novell.com>
5690         * Environment.cs: Return the MS.NET 2.0 beta1 runtime version for the
5691           NET_2_0 profile.
5692         
5693 2004-07-18  Martin Baulig  <martin@ximian.com>
5695         * Array.cs: Ben Maurer implemented all the new generic methods
5696         here :-)
5698 2004-07-17  Martin Baulig  <martin@ximian.com>
5700         * Decimal.cs: Implement IComparable<Decimal>.
5702 2004-07-17  Martin Baulig  <martin@ximian.com>
5704         * Byte.cs, Int16.cs, Int32.cs, Int64.cs, SByte.cs, String.cs,
5705         UInt16.cs, UInt32.cs, UInt64.cs: Implement IComparable<T>.      
5707 2004-07-13  Sebastien Pouliot  <sebastien@ximian.com>
5709         * ActivationContext.cs: New class in Fx 2.0. Required for 
5710         System.Security.Policy.
5711         * ApplicationIdentity.cs: New class in Fx 2.0. Required for 
5712         System.Security.Policy.
5713         * IApplicationDescription.cs: New interface in Fx 2.0. Required for 
5714         System.Security.Policy.
5715         * IHostContext.cs: New interface in Fx 2.0. Required for 
5716         System.Security.Policy.
5718 2004-07-12  Geoff Norton <gnorton@customerdna.com>
5720         * DateTime.cs: Patch for bug #61112.  Our DateTime wasn't roundtripping over timezone
5721           boundaries properly.  This patch checkes ToLocalTime() to see if we're tripping over a boundary
5722           and will add/subtract the hour if needed
5724 2004-07-07  Geoff Norton <gnorton@customerdna.com>
5726         * Monotype.cs: Patch for bug #58844.  Dont throw exceptions right away;
5727           pass through all the possibly BindingInfo's and keep a bool value as to the type
5728           of exception we might need to throw;
5730 2004-07-07  Geoff Norton <gnorton@customerdna.com>
5732         * Patch to fix bug #58973
5734 2004-07-02  Jackson Harper  <jackson@ximian.com>
5736         * PlatformID.cs: New 2.0 values.
5737         
5738 2004-06-25  Ben Maurer <bmaurer@ximian.com>
5739         
5740         * Environment.cs: GetFolderPath has new behavior. r=miguel
5742 2004-06-23  Sebastien Pouliot  <sebastien@ximian.com>
5744         * DateTime.cs: Throw ArgumentOutOfRangeException if the year is
5745         bigger than 9999. Fix bug #41845.
5746         * FloatingPointFormatter.cs: Applied correction from Jon Skeet on
5747         the "R"eversible format for negative numbers.
5749 2004-06-21  Jackson Harper  <jackson@ximian.com>
5751         * Decimal.cs: Make sure to use invariant culture when parsing
5752         floats stringified with the invariant culture. Patch by Rodrigo
5753         B. de Oliveira.
5754         
5755 2004-06-19  Atsushi Enomoto  <atsushi@ximian.com>
5757         * FloatingPointFormatter.cs : Literal string should be kept in the
5758           output.
5760 2004-06-18  Atsushi Enomoto  <atsushi@ximian.com>
5762         * DateTime.cs : Concatenating whitespace removal was not working fine.
5763           Modified FormatException message (1 cent kindness).
5765 2004-06-18  Ben Maurer  <bmaurer@ximian.com>
5766         
5767         * Action.cs, ArraySegment.cs, Comparison.cs, Converter.cs, Predicate.cs:
5768         new generics classes
5769         * IComparable.cs: add the new <T> version.
5770         * EventHandler.cs: new <T> version.
5771         
5772 2004-06-18  Dick Porter  <dick@ximian.com>
5774         * String.cs: The icall can cope with embedded \0 now.
5776 2004-06-18  Atsushi Enomoto  <atsushi@ximian.com>
5778         * DateTime.cs :
5779           - Added new common pattern "yyyy/M/dZ"
5780           - empty string should not be compared in _ParseEnum()
5781           - Use culture independent string comparison in _ParseString()
5782           - Whitespace removal should be checked after '..' token check (some
5783             pattern such like es-ES LongDatePattern contains spaces in '..').
5784           - formats null check should be done (to throw ArgumentNullException)
5785             in ParseExact().
5786           - When specified one character format, dates are incorrectly regarded
5787             as to use invariant culture.
5789 2004-06-18  Gert Driesen <drieseng@users.sourceforge.net>
5791         * ArgIterator.cs: changed layout to Auto
5792         * DateTime.cs: changed layout to Auto
5794 2004-06-18  Gert Driesen <drieseng@users.sourceforge.net>
5796         * DateTime.cs: CRLF to LF
5798 2004-06-17  Sebastien Pouliot  <sebastien@ximian.com>
5800         * Decimal.cs: Fixed regression in System.Data caused by the recent 
5801         changes. Adapted (and moved) the code to correct the scale from 
5802         SqlMoney. Removed unused (and unusable) IsOne and fixed IsZero (where
5803         scale has no importance).
5805 2004-06-17  Lluis Sanchez Gual  <lluis@ximian.com>
5807         * Activator.cs: In CreateInstance(), use Public|Instance if access binding
5808           attributes are omitted.
5810 2004-06-17  Atsushi Enomoto  <atsushi@ximian.com>
5812         * DateTime.cs : GetDateTimeFormats(char, IFormatProvider) should also
5813           check if the format character is valid.
5815 2004-06-17  Atsushi Enomoto  <atsushi@ximian.com>
5817         * DateTime.cs : AddDays(double) rounds the input.
5819 2004-06-17  Atsushi Enomoto  <atsushi@ximian.com>
5821         * DateTime.cs : Incorrect maxvalue comparison in ToUniversalTime().
5822           Fixed ToLocalTime() as well, but it does check range for MinValue.
5824 2004-06-17  Atsushi Enomoto  <atsushi@ximian.com>
5826         * DateTime.cs : Added overflow check in ToUniversalTime() and
5827           ToLocalTime(). Fixed bug #60253.
5829 2004-06-16  Sebastien Pouliot  <sebastien@ximian.com>
5831         * FloatingPointFormatter.cs: Implemented "R" format using Jon Skeet
5832         source code (with permission). Fix (biggest) part of bug #60110.
5833         http://www.yoda.arachsys.com/csharp/floatingpoint.html
5835 2004-06-15  Sebastien Pouliot  <sebastien@ximian.com>
5837         * Decimal.cs: Fixed scale after Round (a different scale is correct 
5838         from a math point of view but affect the string representation of the
5839         value). Note: other operations also have scale problems!
5840         * DecimalFormatter.cs: Fixed FormatGeneral to match Fx 1.1 output.
5841         * FloatingPointFormatter.cs: Fixed ToString which doesn't use banker's
5842         rounding (which is the rounding provided by Math.Round). This fix bug
5843         #60111. The code (new Round methods) should be moved elsewhere (as it
5844         may also be required elsewhere) post Mono 1.0.
5846 2004-06-15  Gert Driesen <drieseng@users.sourceforge.net>
5848         * AppDomainSetup.cs: added TODO for serialization
5849         * ExecutionEngineException.cs: added missing serialization ctor
5850         * InvalidProgramException.cs: added missing serialization ctor
5851         * MulticastNotSupportedException.cs: added missing serialization ctor
5852         * ObsoleteAttribute.cs: fixed serialization compatibility with MS.NET
5853         * Random.cs: fixed serialization compatibility with MS.NET
5855 2004-06-15  Paolo Molaro <lupus@ximian.com>
5857         * Type.cs: removed unused (and non-existing) icall type_is_instance.
5859 2004-06-15  Gonzalo Paniagua Javier <gonzalo@ximian.com>
5861         * Environment.cs: use internalGetHome instead of getting "HOME" as
5862         that variable may not be defined.
5864 2004-06-14  Sebastien Pouliot  <sebastien@ximian.com>
5866         * TimeSpan.cs: Fixed timespan with large values for hours or minutes
5867         (overflow is only checked for days but can also occurs in hours and
5868         minutes which uses Int32 when multiplying). The new results match MS
5869         implementation.
5871 2004-06-14  Atsushi Enomoto  <atsushi@ximian.com>
5873         * FloatingPointFormatter.cs : Recognize '%' and '\u2030' and replace
5874           them with matching NumberFormatInfo properties.
5876 2004-06-14  Atsushi Enomoto  <atsushi@ximian.com>
5878         * Double.cs : Use IFormatProvider.GetFormat() instead of literal '-'.
5879         * FloatingPointFormatter.cs :
5880           Use NumberFormatInfo.NegativeSign. This change saves many XSLT test
5881           failures.
5882           Format Permille pattern (It is undocumented but actually available,
5883           and used in xsl:format-number).
5885 2004-06-14  Raja R Harinath  <rharinath@novell.com>
5887         * Console.cs (Console.Write, Console.WriteLine): Disable __arglist
5888         version with BOOTSTRAP_WITH_OLDLIB.
5889         * String.cs (STring.Concat): Likewise.
5891 2004-06-13  Atsushi Enomoto  <atsushi@ximian.com>
5893         * FloatingPointFormatter.cs :
5894           - Don't format more than 15 fraction digits. Don't report to Pedro
5895             directly (removing the error message with his concent).
5896           - When format string starts with '.', it means integral part format 
5897             is not specified. Ignore '.' characters after the first
5898             appearance. Fixed bug #59890.
5899           - 0.0 is formatted only before the third ';' appearance.
5901 2004-06-11  Sebastien Pouliot  <sebastien@ximian.com>
5903         * DateTime.cs: Added a AddRoundedMilliseconds which use the "old Mono"
5904         rounding logic which worked for FromOADate (while the newer didn't).
5905         * TimeSpan.cs: Now throw an OverflowException when the timespan is
5906         over MaxValue or under MinValue.
5908 2004-06-11  Martin Baulig  <martin@ximian.com>
5910         * Console.cs (Write, WriteLine): Implemented the varargs versions.
5912 2004-06-11  Martin Baulig  <martin@ximian.com>
5914         * String.cs (Concat): Implemented the varargs version.
5916 2004-06-10  Sebastien Pouliot  <sebastien@ximian.com>
5918         * Decimal.cs: Hacked the Parse method to allow the runtime C code to
5919         decode it properly (i.e. matching MS results). Fixed the Round method
5920         for negative decimal numbers (moved code from Math.cs).
5921         * Math.cs: Now use Decimal class for Round(Decimal,int). Required to
5922         fix a bug when rounding a negative decimal.
5924 2004-06-11  Gonzalo Paniagua Javier <gonzalo@ximian.com>
5926         * AppDomain.cs: set the _principal to null when changing the policy.
5927         * Console.cs: remove ClsCompliant attribute from a method marked as
5928         internal and added comment.
5930 2004-06-10  Gert Driesen <drieseng@users.sourceforge.net>
5932         * Delegate.cs: marked protected fields private to match public
5933         API of MS.NET, marked DynamicInvokeImpl and GetMethodImpl
5934         protected to fix public API
5935         * Enum.cs: marked ctor protected to match public API of MS.NET
5936         * MulticastDelegate.cs: marked DynamicInvokeImpl protected to
5937         match public API of MS.NET
5939 2004-06-10  Atsushi Enomoto  <atsushi@ximian.com>
5941         * DateTime.cs : Added more common patterns.
5943 2004-06-09  Sebastien Pouliot  <sebastien@ximian.com>
5945         * Decimal.cs: Fixed banker rounding by calling Math.Round. This won't
5946         be a performance winner (the actual Math code has a note to wait a
5947         better Decimal implementation) but it returns the correct results
5948         (without adding new code in corlib or the runtime). Fix #37744.
5950 2004-06-09  Atsushi Enomoto  <atsushi@ximian.com>
5952         * DateTime.cs :
5953           - A bunch of fixes (patch by Steven Brown). Fraction seconds are 
5954             now represented as double. Strict token check for 'Z'.
5955           - Pattern validity check in GetDateTimeFormats(char).
5956           - Fixed pattern "yyyy/M/d HH:mm:ss".
5958 2004-06-09  Sebastien Pouliot  <sebastien@ximian.com>
5960         * Decimal.cs: Fixed remainder (and optimized some cases not to call 
5961         unmanaged code). Simplified divide. Removed workaround for bug #59793.
5962         Fixed GetHashCode to return different result for X and -X.
5964 2004-06-08  Atsushi Enomoto  <atsushi@ximian.com>
5966         * DateTime.cs :
5967           - Now re-checked all common format patterns. They should be tried
5968             with both current culture and invariant culture. Since '/' covers
5969             '-', removed extraneous patterns. Added more common patterns
5970             such as "yyyy-MM-dd" and X509Certificate pattern (it is valid
5971             only after NET_1_1). Commented out 1 character format patterns.
5972           - The format patterns we should try should not be obtained by
5973             GetAllDateTimePatterns(). Just use 'd', 'D', 't', 'T', ... (one
5974             character patterns), to handle UTC correctly. Examined patterns
5975             are changed, to 1) common patterns with specified (or current)
5976             culture, 2) common patterns with invariant, 3) The above "one
5977             character patterns" with specified (or current) culture.
5978           - When trying to parse some kind of patterns such as RFC1123, 
5979             always use invariant DateTimeFormatInfo so that they can avoid
5980             parsing with culture-dependent calendar.
5981           - Check "GMT" only when doing Parse(). Don't it when ParseExact().
5982           - Removed extraneous '-' case. It is not special one.
5983           - When ParseExact(), allow only '/' for '/' pattern character.
5984           - When Parse(), allow any non-letter & non-number characters.
5985           - When pattern is not fully parsed, reject that format.
5986           - Added "exact" parameter to some ParseExact().
5987           - RFC1123 pattern is (again) now parsed in local time. I regressed
5988             some problems in previous fix.
5990 2004-06-08  Sebastien Pouliot  <sebastien@ximian.com>
5992         * Decimal.cs: Fixed cast to integer types to truncate (not round) the
5993         value.
5995 2004-06-07  Duncan Mak  <duncan@ximian.com>
5997         * Exception.cs (Source): This can return null.
5999 2004-06-07  Sebastien Pouliot  <sebastien@ximian.com>
6001         * DateTime.cs: Fixed FromFileTime for negative values. Fixed 
6002         constructor to limit range of milliseconds from 0,999. Fixed
6003         ToType method to work for object, string and DateTime.
6005 2004-06-07  Sebastien Pouliot  <sebastien@ximian.com>
6007         * DateTime.cs: Fixed OLE Automation date conversions: timezone 
6008         insensitive, wrong exception in FromOADate, handling of Min/Max 
6009         values, negative doubles where integer part is negative but 
6010         decimals are positive! Charming format ;-)
6012 2004-06-06  Sebastien Pouliot  <sebastien@ximian.com>
6014         * String.cs: Fixed Join in case separator parameter is null.
6015         * TimeSpan.cs: Cache format errors during parsing and throw 
6016         FormatException only if there was no overflow.
6018 2004-06-06  Gert Driesen <drieseng@users.sourceforge.net>
6020         * MonoCustomAttrs.cs: fixed issue where an empty array was 
6021         returned when GetCustomAttributes was invoked with null
6022         attribute type and there was only one result
6024 2004-06-06  Sebastien Pouliot  <sebastien@ximian.com>
6026         * Decimal.cs: Fixed ToString(String.Empty) to default ("G").
6027         * Int16.cs: Fixed ToString(String.Empty) to default ("G").
6028         * Int32.cs: Fixed ToString(String.Empty) to default ("G").
6029         * Int64.cs: Fixed ToString(String.Empty) to default ("G").
6030         * SByte.cs: Fixed ToString(String.Empty) to default ("G").
6031         * UInt16.cs: Fixed ToString(String.Empty) to default ("G").
6032         * UInt32.cs: Fixed ToString(String.Empty) to default ("G").
6033         * UInt64.cs: Fixed ToString(String.Empty) to default ("G").
6035 2004-06-05  Sebastien Pouliot  <sebastien@ximian.com>
6037         * Convert.cs: Fixed the convertion of negative integers (byte, short, 
6038         int and long) into string in a specific base (2, 8, 10 or 16).
6040 2004-06-04  Sebastien Pouliot  <sebastien@ximian.com>
6042         * Math.cs: Fixed IEEERemainder to return -0 (0x8000000000000000) when
6043         the dividend is negative and the result is 0 (remainder).
6045 2004-06-03  Sebastien Pouliot  <sebastien@ximian.com>
6047         * Delegate.cs: Fix the NullReferenceException in Combine(Delegate[]).
6049 2004-06-02  Sebastien Pouliot  <sebastien@ximian.com>
6051         * TimeSpan.cs: Fixed overflow issues when delaing with big (days) time
6052         spans. Fixed parsing when only days are presents in the string (which
6053         should be illegal according to the documentation but is supported).
6055 2004-06-01  Sebastien Pouliot  <sebastien@ximian.com>
6057         * TimeSpan.cs: Fixed exceptions in FromXXX methods as they are 
6058         somewhat different from the documentation.
6060 2004-06-01  Gert Driesen <drieseng@users.sourceforge.net>
6062         * Type.cs: added missing attributes on InvokeMember
6064 2004-06-01  Miguel de Icaza  <miguel@ximian.com>
6066         * String.cs: Flag concat with four arguments internal. 
6068 2004-05-31  Sebastien Pouliot  <sebastien@ximian.com>
6070         * Array.cs: Fixed legal case where value is null.
6071         * Byte.cs: Fixed ToString when format is an empty string (use "G").
6072         * Guid.cs: Renamed private fields (and changed some to signed) to 
6073         match MS implementation and allow serialization to work. Fix 
6074         bug #59113.
6076 2004-05-30  Gonzalo Paniagua Javier <gonzalo@ximian.com>
6078         * DateTime.cs: adjust milliseconds for fraction specifier ('f').
6080 2004-05-30  Miguel de Icaza  <miguel@ximian.com>
6082         * Console.cs: Remove *again* the version of WriteLine with four
6083         arguments;  That should *not* be added.  
6085         Flag it as internal as people migrate their code.
6087 2004-05-29  Sebastien Pouliot  <sebastien@ximian.com>
6089         * Convert.cs: Fixed ToSByte(string,IFormatProvider) to throw 
6090         ArgumentNullException (only case, all other returns 0). Fixed exception
6091         reporting for hex prefix only strings. Fixed ChangeTo where null could
6092         be misinterpreted between null and Empty.
6094 2004-05-28  Sebastien Pouliot  <sebastien@ximian.com>
6096         * Convert.cs: Fixed integer parsing for special cases (0x, 0X for base
6097         16), non-base 10 negative numbers ... see new unit tests. Fixed the 
6098         case when we parse Int64.MinValue (positive doesn't fit a signed long).
6100 2004-05-28  Jackson Harper  <jackson@ximian.com>
6102         * Environment.cs: Increment version number.
6103         
6104 2004-05-28  Zoltan Varga  <vargaz@freemail.hu>
6106         * AppDomain.cs (Load): Try loading from assemblyRef.CodeBase if exists.
6107         Fixes #59189.
6109 2004-05-28  Atsushi Enomoto <atsushi@ximian.com>
6111         * DateTime.cs : I reverted my fix by accident :(
6113 2004-05-28  Atsushi Enomoto <atsushi@ximian.com>
6115         * DateTime.cs :
6116           - In ToString(), Don't use culture-dependent daynames to format
6117             Universal/RFC1123 date/time. Also, use FullDateTimePattern for 'U'.
6118           - Fixed GetDateTimeFormats () that generated incorrect 'U' value 
6119             (since the format string is the same as 'F').
6121 2004-05-28  Atsushi Enomoto <atsushi@ximian.com>
6123         * DateTime.cs : don't adjust utc value in ToString(). It must output
6124           the same time value, just adding 'Z' for UTC.
6126 2004-05-28  Atsushi Enomoto <atsushi@ximian.com>
6128         * DateTime.cs : in 'Z' case, remove the 'Z' char from input before
6129           proceeding.
6131 2004-05-28  Gonzalo Paniagua Javier <gonzalo@ximian.com>
6133         * AppDomainSetup.cs: InitAppDomainSetup is not needed now.
6135 2004-05-27  Sebastien Pouliot  <sebastien@ximian.com>
6137         * Byte.cs: Fixed parsing for "-0" which is valid for unsigned types.
6138         * Convert.cs: Convert with a base parameter cannot parse negative 
6139         string numbers, even "-0".
6140         * UInt16.cs: Fixed parsing for "-0" which is valid for unsigned types.
6141         * UInt32.cs: Fixed parsing for "-0" which is valid for unsigned types.
6142         * UInt64.cs: Fixed parsing for "-0" which is valid for unsigned types.
6144 2004-05-27  Atsushi Enomoto <atsushi@ximian.com>
6146         * DateTime.cs : 
6147           - Added "yyyy/MM/dd HH:mm:ss 'GMT'" and "yyyy-MM-dd HH:mm:ss 'GMT'"
6148             to common formats (yes, I know it is nothing more than hack)
6149           - Fixed some GetDateTimeFormats() that just returned patterns.
6150           - For InvariantCulture, now try both supported formats and our
6151             predefined formats.
6152           - It was accepting incorrectly extraneous characters. That caused
6153             some UTC/non-UTC bug.
6154           - RFC1123 string should return universal time. Uncomment again (the
6155             problem should went away because of the extra characters fix above.
6157             With some of the changes above, fixed bug #47720.
6159 2004-05-27  Atsushi Enomoto <atsushi@ximian.com>
6161         * DateTime.cs : quick revert 'Z' support for certificate verifications.
6163 2004-05-26  Sebastien Pouliot  <sebastien@ximian.com>
6165         * Array.cs: Removed duplicate condition if LastIndexOf.
6167 2004-05-26  Atsushi Enomoto <atsushi@ximian.com>
6169         * DateTime.cs :
6170           - Added "yyyy-MM-dd HH:mm:ss" to "compatible patterns".
6171             (Fixed bug #58938.)
6172           - As a quick remedy to accept more patterns, Parse() now also tries
6173             InvariantInfo patterns (this is because we have no more than one
6174             pattern for each pattern component.)
6175           - In _DoParse(), 'Z' should not be read as timezone specifier. Some
6176             culture uses 'Z' as AM/PM designer, and it should be recognized as
6177             part of the UTCpattern (if it actually UTC pattern for the culture
6178             contains 'Z').
6180 2004-05-26  Gert Driesen (drieseng@users.sourceforge.net)
6182         * MonoCustomAttrs.cs: Fixed issue with AllowMultiple, as MS
6183         seems to allow multiple attributes with AllowMultiple at
6184         runtime.
6186 2004-05-26  Sebastien Pouliot  <sebastien@ximian.com>
6188         * Byte.cs: Throw an OverflowException for negative numbers.
6189         * Convert.cs: Accept 0x and 0X as prefix when parsing base16 strings.
6190         * Environment.cs: Bumped mono_corlib_version to 20 (rng interface).
6192 2004-05-25  Sebastien Pouliot  <sebastien@ximian.com>
6194         * Array.cs: Fixed possible integer overflow.
6195         * BitConverter.cs: Fixed a possible integer overflow in ToString.
6196         * Guid.cs: Added an internal method to create a random Guid without
6197         using CryptoConfig (which is heavy on first use). This is only used
6198         in S.R.E.ModuleBuilder to speedup MCS compilation.
6199         * String.cs: Fixed reported exception for PadLeft|Right. Fixed 
6200         possible integer overflow in methods that takes index and count
6201         as parameters.
6203 2004-05-25  Zoltan Varga  <vargaz@freemail.hu>
6205         * String.cs: Add new Strcpy icalls which take a char array as 
6206         parameter.
6208 2004-05-25  Atsushi Enomoto <atsushi@ximian.com>
6210         * DateTime.cs : added more invariant format patterns. This should
6211           really fix bug #57656.
6213 2004-05-25 14:14 CET Patrik Torstensson <totte@hiddenpeaks.com>
6215         * BitConverter.cs (ToBoolean): Return true or false instead
6216         of unsafe returing byte as bool. Fixes bug #58874.
6218 2004-05-25  Atsushi Enomoto <atsushi@ximian.com>
6220         * DateTime.cs : In ToString(string, IFormatProvider), use "G" if
6221           string format argument is null.
6223 2004-05-25  Lluis Sanchez Gual  <lluis@ximian.com>
6225         * Version.cs: Rename of data fields to match those in Microsoft.NET.
6226           Patch by PAF@design.ru.
6228 2004-05-25  Gonzalo Paniagua Javier <gonzalo@ximian.com>
6230         * DateTime.cs: allow double quotes in the formats. Don't set
6231         next_not_digit to true in presence of single or double quotes. Patch by
6232         Martin Probst.
6234 2004-05-24  Zoltan Varga  <vargaz@freemail.hu>
6236         * AppDomainSetup.cs (InitAppDomainSetup): This one returns void.
6238 2004-05-23  Sebastien Pouliot  <sebastien@ximian.com>
6240         * Array.cs: Fixed exception when we try to Clear outside bounds.
6241         * Boolean.cs: Fixed Equals for True!=True (see bugzilla #58874).
6242         * BitConverter.cs: Fixed negative index and integer overflow in
6243         To... methods.
6244         * Buffer.cs: Fixed integer overflow in BlockCopy.
6246 2004-05-22  Sebastien Pouliot  <sebastien@ximian.com>
6248         * Array.cs: Clear can now work on multidimentional arrays.
6249         * IntPtr.cs: We now only accept 32bits values in the long constructor
6250         unless we're on a 64 bits machine.
6251         * UIntPtr.cs: We now only accept 32bits unsigned values in the ulong 
6252         constructor unless we're on a 64 bits machine.
6254 2004-05-22  Duncan Mak  <duncan@ximian.com>
6256         * Convert.cs: The file was mostly in DOS endings already, for the
6257         sake of consistency, converted it all to DOS endings.
6258         (ToType): When value is null, immediately return null and don't
6259         ever throw a NullReferenceException. When conversionType is null,
6260         throw an InvalidCastException. Give a better error message when
6261         attempting to convert to a DBNull as well.
6263 2004-05-21  Sebastien Pouliot  <sebastien@ximian.com>
6265         * Decimal.cs: Fixed To... methods that needs to trunk the integer part
6266         of Decimal (and not use the banker's rounding like Convert.To...).
6267         * Single.cs: Fixed CompareTo and Equals (copied fix from Double) wrt
6268         to NaN compares (see new unit tests).
6270 2004-05-20  Sebastien Pouliot  <sebastien@ximian.com>
6272         * Convert.cs: Added checks for integer overflow for From|ToBase64Char.
6273         Also fixed the case where wide (16 bits) characters were converted to 
6274         bytes.
6276 2004-05-19  Gert Driesen (drieseng@users.sourceforge.net)
6278         * ThreadStaticAttribute.cs
6279         * ContextStaticAttribute.cs
6280         * FlagsAttribute.cs
6281         * ObsoleteAttribute.cs : now that Inherited is false by
6282         default on AttributeUsageAttribute (as it should be) we
6283         need to explicitly set Inherited to false for those
6284         attributes should it be be false.
6286 2004-05-19  Gert Driesen (drieseng@users.sourceforge.net)
6288         * AttributeUsageAttribute.cs: Inherited property should be
6289         true by defaultrs.cs: respect Inherited property, and
6291 2004-05-19  Gert Driesen (drieseng@users.sourceforge.net)
6293         * MonoCustomAttrs.cs: respect Inherited property, and
6294         AllowMultiple property of a CustomAttribute. This fixes
6295         a major issue we had with respect to custom attributes.
6297 2004-05-19  Gert Driesen (drieseng@users.sourceforge.net)
6299         * MonoType.cs: throw ArgumentNullException when type parameter in
6300         GetCustomAttributes(Type, bool) is null
6302 2004-05-18  Sebastien Pouliot  <sebastien@ximian.com>
6304         * Buffer.cs: Added checks for null source and destination. Fix failing
6305         CryptoStream unit test.
6306         * Guid.cs: Fixed thread-safety issue. Simplified implementation to use
6307         pseudo-random numbers to generate GUIDs (as per section 3.4 of the 
6308         spec). This removes the TODO to get the computer MAC address and
6309         the chances to get a duplicate GUID (across different machines).
6311 2004-05-17  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
6313         * TimeSpan.cs: Only catch expected exceptions, if we get other exceptions
6314           than OverflowExceptions then something went wrong internally
6316 2004-05-17  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
6318         * Char.cs: Fix long standing bug with ToLower/ToUpper not being
6319           culture - sensitive
6321 2004-05-14  Zoltan Varga  <vargaz@freemail.hu>
6323         * Buffer.cs: Optimize BlockCopy.
6325         * Environment.cs: Bump corlib version.
6327 2004-05-14  Atsushi Enomoto <atsushi@ximian.com>
6329         * __ComObject.cs : This class is not regarded as CLSCompliant by csc.
6330           See also bug #58478.
6332 2004-05-14  Gonzalo Paniagua Javier <gonzalo@ximian.com>
6334         * AppDomainSetup.cs: don't throw an exception if dynamic_base has not
6335         been set. Just return null as MS. Fixes bug #58120.
6337 2004-05-14  Marek Safar  <marek.safar@seznam.cz>
6339         * Boolean.cs, Byte.cs, Char.cs, DBNull.cs, DateTime.cs,
6340           Decimal.cs, Double.cs, Enum.cs, Int16.cs, Int32.cs,
6341           Int64.cs, IntegerFormatter.cs, SByte.cs, Single.cs,
6342           String.cs, UInt16.cs, UInt32.cs, UInt64.cs: Removed
6343           useless [CLSCompliant (false)]
6346 2004-05-13  Sebastien Pouliot  <sebastien@ximian.com>
6348         * __ComObject.cs: To please corcompare (no implementation).
6350 2004-05-13  Zoltan Varga  <vargaz@freemail.hu>
6352         * Environment.cs: Bump corlib version.
6354 2004-05-13  Sebastien Pouliot  <sebastien@ximian.com>
6356         * Environement.cs: Removed two security attributes for CurrentDirectory
6357         that weren't documented (and anyway we don't support them).
6359 2004-05-11  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
6361         * Char.cs: Fix exceptions
6363 2004-05-11  Lluis Sanchez Gual  <lluis@ximian.com>
6365         * MissingMemberException.cs: Fix in serialization constructor.
6367 2004-05-10  Gonzalo Paniagua Javier <gonzalo@ximian.com>
6369         * Environment.cs: GetGacPath return value is resolved at runtime on
6370         windows.
6372 2004-05-07  Sebastien Pouliot  <sebastien@ximian.com>
6374         * Convert.cs: ToBase64CharArray method was depending on a bug in 
6375         S.S.C.ToBase64Transform class to work. Added an internal method to 
6376         provide the same functionality (multiple block processing).
6378 2004-05-06  Jackson Harper  <jackson@ximian.com>
6380         * Environment.cs: Make $HOME the personal directory.
6382 2004-05-06  Sebastien Pouliot  <sebastien@ximian.com>
6384         * Convert.cs: ToBase64String method was depending on a bug in 
6385         S.S.C.ToBase64Transform class to work. Added an internal method to 
6386         provide the same functionality (multiple block processing).
6388 2004-05-05  Sebastien Pouliot  <sebastien@ximian.com>
6390         * Environment.cs: Completed OSVersion property.
6391         * Version.cs: Added internal CreateFromString() to "try" to build the
6392         best version number form the specified string.
6394 2004-05-01  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
6396         * TimeSpan.cs: Redid a lot of stuff in TimeSpan from scratch.
6397           Fixes several potential bugs and makes things way faster.
6399 2004-05-01  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
6401         * TimeSpan.cs: Formatting changes
6403 2004-04-29 Ben Maurer  <bmaurer@users.sourceforge.net>
6405         * Activator.cs: change _flags to a const.
6406         * IntegerFormatter.cs: make tables readonly.
6407         * Convert.cs: tables readonly
6408         * DateTime.cs: ditto.
6409         * IntPtr.cs: avoid a cctor.
6411 2004-04-29  Jackson Harper  <jackson@ximian.com>
6413         * MonoType.cs: 
6414         * Type.cs: NET_2_0 now instead of 1_2. 
6415         
6416 2004-04-29  Gonzalo Paniagua Javier <gonzalo@ximian.com>
6418         * Environment.cs: implemented GetLogicalDrives.
6420 2004-04-28  Miguel de Icaza  <miguel@ximian.com>
6422         * Applied patch from Atsushi Enomoto that allows Synchronized
6423         writers to have a `dont close' flag, this fixes 52094
6425 2004-04-29  Lluis Sanchez Gual  <lluis@ximian.com>
6427         * MonoCustomAttrs.cs, MonoType.cs: Property.GetGetMethod() does not
6428         return the method if it is private (it did until now because of a
6429         bug). Make sure it works as it worked before the fix.
6430         * Type.cs: Implemented FilterAttribute delegate.
6432 2004-04-28  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
6434         * IntegerFormatter.cs: Prevent the use of the explicit static constuctor
6436 2004-04-27  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
6438         * IntegerFormatter.cs: Made functions internal (needed by other patches)
6440 2004-04-27  Lluis Sanchez Gual  <lluis@ximian.com>
6442         * DateTime.cs: TODO cleaning.
6443         * Delegate.cs: GetObjectData should be virtual.
6444         * IntegerFormatter.cs: Method factorization. I don't want to fix bugs in
6445           30 methods almost identical.
6446         * MulticastDelegate.cs: Implemented GetObjectData.
6447         
6448 2004-04-26  Jackson Harper  <jackson@ximian.com>
6450         * Environment.cs: Things going bump in the night.
6452 2004-04-25  Miguel de Icaza  <miguel@ximian.com>
6454         * Convert.cs (toBase64Transform): Make private.
6456 2004-04-25  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
6458         * Convert.cs:
6459         * Decimal.cs:
6460         * DecimalFormatter.cs:
6461         * FloatingPointFormatter.cs: Call invariant Char functions
6462         * Guid.cs: Call invariant Char and String functions
6463         * String.cs: Call invariant Char functions
6465 2004-04-25  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
6467         * String.cs: Refactored the Invariant ToXXX into its own internal methods
6468           so they are directly callable within corlib (can prevent early
6469           construction of CultureInfo, InvariantCulture and related classes)
6471 2004-04-24  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
6473         * String.cs: Managed impl. of Invariant parts of ToLower, ToUpper
6474         * Char.cs: Managed impl. of Invariant parts of ToLower, ToUpper
6476 2004-04-24  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
6478         * String.cs: Check for null values
6480 2004-04-23  Peter Bartok <pbartok@novell.com>
6482         * Environment.cs: GetLogicalDrives now returns "/" instead of null. Gonzalo
6483           will do a better fix in the future, but this way apps can at least use it.
6485 2004-04-23  Sebastien Pouliot  <sebastien@ximian.com>
6487         * Environment.cs: Better support for GetFolderPath (same results as MS 
6488           on Windows).
6490 2004-04-22  Lluis Sanchez Gual  <lluis@ximian.com>
6492         * Activator.cs: Removed TODOs for finished methods.
6493         * AppDomainSetup.cs: When setting a relative path to ApplicationBase, it
6494           must be relative to the current directory, not the temp directory.
6495           Implemented DynamicBase.
6496         * Convert.cs: No need to create a ToBase64Transform instance at every call
6497           to ToBase64CharArray.
6498         * DateTime.cs: Implemented missing methods FromFileTimeUtc and 
6499           ToFileTimeUtc.
6500         * Decimal.cs: Implemented FromOACurrency and ToOACurrency.
6501         * Delegate.cs: Removed class TODO.
6502         * IntegerFormatter.cs: Use Char.IsLetter and Char.IsDigit instead of ad-hoc
6503           methods.
6504         * Type.cs: Removed TODOs for things already implemented.
6505         
6506 2004-04-21  Lluis Sanchez Gual  <lluis@ximian.com>
6508         * Char.cs: Implemented culture-dependent ToLower and ToUpper methods.
6509         * MulticastDelegate.cs: Removed unused code.
6511 2004-04-19  Lluis Sanchez Gual  <lluis@ximian.com>
6513         * AppDomain.cs: Implemented DynamicDirectory and SetDynamicBase.
6514         * Array.cs: Removed some TODOs in CreateInstance and IndexOf.
6515         * BadImageFormatException.cs: TODO reformat.
6516         * DateTime.cs: Implemented GetDateTimeFormats and GetDateTimeFormats.
6517         * DelegateSerializationHolder.cs: Made class internal.
6518         * Enum.cs: Removed TODO for localization, since this is something that has
6519           to be done for all classes.
6520         * Environment.cs: Removed TODO.
6521         * Exception.cs: Changed ToString to use StringBuilder.
6522         * MonoDummy.cs: Made class internal.
6523         * UnitySerializationHolder.cs: Added support for modules.
6525 2004-04-16  David Sheldon <dave-mono@earth.li>
6527         * DecimalFormatter.cs: Don't append a decimal point after the
6528           end of a number. ((decimal)1).ToString("P0") should be "100 %", not
6529           "100. %"
6531 2004-04-09  Miguel de Icaza  <miguel@ximian.com>
6533         * OutOfMemoryException.cs: Removed the call to Locale.GetText from
6534           this.
6536 2004-04-10  Gert Driesen (drieseng@users.sourceforge.net)
6538         * MonoDummy.cs: added MonoTODO to make sure we remove this class
6539           when its no longer needed
6541 2004-04-09  David Sheldon <dave-mono@earth.li>
6543         * Convert.cs: Allow + signs in strings for ToInt32, and
6544           - if it is base 10.
6546 2004-04-08  Atsushi Enomoto  <atsushi@ximian.com>
6548         * Nullable.cs : usingdecl should also be conditional.
6550 2004-04-07  Martin Baulig  <martin@ximian.com>
6552         * Nullable.cs: New file.
6554 2004-04-07  Martin Baulig  <martin@ximian.com>
6556         * Type.cs (Type.GetGenericArguments): Make this abstract.
6558 2004-04-07  Jackson Harper  <jackson@ximian.com>
6560         * Environment.cs: Increase corlib version number.
6561         
6562 2004-04-07  Gonzalo Paniagua Javier <gonzalo@ximian.com>
6564         * Environment.cs:
6565         (ExpandEnvironmentVariables): on windows, env. vars. are case
6566         insensitive.
6568 2004-04-06  Sebastien Pouliot  <sebastien@ximian.com>
6570         * AppDomain.cs: Added static to [ThreadStatic] _principal field. 
6571         Removed [ThreadStatic] for _principalPolicy (not required).
6573 2004-04-06  Miguel de Icaza  <miguel@ximian.com>
6575         * Guid.cs: Flag as Sequential.
6577 2004-04-02  Dick Porter  <dick@ximian.com>
6579         * String.cs: More sanity checks in Replace().  Fixes bug 55822.
6581 2004-04-02  Sebastien Pouliot  <sebastien@ximian.com>
6583         * Environment.cs: Implement ExpandEnvironmentVariables static method.
6584         Now call the runtime to get the username (fix #56144).
6586 2004-04-02  Gonzalo Paniagua Javier <gonzalo@ximian.com>
6588         * MonoType.cs: AssemblyQualifiedName now displays culture, version...
6589         Fixes bug #56341.
6591 2004-03-29  Miguel de Icaza  <miguel@ximian.com>
6593         * Console.cs: If we fail to open stdin/stdout/stderr, create
6594         readers with a NullStream.  This can happen if our caller does not
6595         setup stdin/stoud/stderr file handles.  #56158 exposed this, but
6596         it will happen elsewhere.
6598 2004-03-29  Lluis Sanchez Gual <lluis@ximian.com>
6600         * Convert.cs: In ToSingle(double), removed checks for Single.MaxValue
6601         and Single.MinValue. MS.NET don't do it. This fixes bug #56005.
6602         * Guid.cs: Added support for guid strings in the "N" and "P" formats in
6603           the constructor. This fixes bug #54019.
6605 2004-03-23  Lluis Sanchez Gual <lluis@ximian.com>
6607         * FloatingPointFormatter.cs: Made the class thread safe. Had to move some
6608           internal variables to structures that are moved around methods.
6609           Factorized some common formatting code into FormatNumberInternal.
6610           
6611 2004-03-23  Dick Porter  <dick@ximian.com>
6613         * DateTime.cs: Allow any character for DateSeparator when parsing,
6614         except TimeSeparator, a digit or a letter.  Fixes bug 54047.  Also
6615         deleted the previous fix for 54721, because this covers it too.
6616         
6617 2004-03-23  Dick Porter  <dick@ximian.com>
6619         * DateTime.cs: Check the date string for too many digits when
6620         parsing.  Fixes bugs 53023 and 53025.
6622 2004-03-22  Dick Porter  <dick@ximian.com>
6624         * String.cs: Use the provider when converting strings to other
6625         types.
6627         * DateTime.cs: Add MM-dd-yyyy to the list of standard date parsing
6628         formats.  Fixes bug 54721.
6630 2004-03-22  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
6632         * Console.cs: Styled, optimized calls
6633         * CrossAppDomainDelegate.cs: Small header fix
6634         * Buffer.cs: Style, improve errors
6635         * BitConverter.cs: Style, improve errors, remove obsolete comment
6636         * Attribute.cs: Style, improve errors, small fix
6637         * Array.cs: Style, improve errors, small fix, added TODOs
6638         * Activator.cs: Style, localized errors, added error checks
6639         * Byte.cs: Style, localized errors, fixed wrong exception parameters
6640         * Char.cs: Style
6641         * Boolean.cs: Style
6642         * AppDomainSetup.cs: Style
6643         * AppDomain.cs: Style, implemented two methods (redirect)
6645 2004-03-21  Jackson Harper  <jackson@ximian.com>
6647         * FloatingPointFormatter.cs: Set precision from number format info
6648         when it is not specified. This fixes bug #54983.
6649         
6650 2004-03-18  Nick Drochak <ndrochak@ieee.org>
6652         * Math.cs: Use IsNaN() method not "x == NaN".
6654 2004-03-16  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
6656         * EntryPointNotFoundException.cs
6657         * DuplicateWaitObjectException.cs
6658         * DllNotFoundException.cs
6659         * DivideByZeroException.cs
6660         * ContextMarshalException.cs
6661         * CannotUnloadAppDomainException.cs
6662         * BadImageFormatException.cs
6663         * ArrayTypeMismatchException.cs
6664         * ArithmeticException.cs
6665         * ArgumentOutOfRangeException.cs
6666         * ArgumentNullException.cs
6667         * ArgumentException.cs
6668         * ApplicationException.cs
6669         * AppDomainUnloadedException.cs: Added missing HResult overrides
6671         * BadImageFormatException.cs: Improved/ Fixed implementation
6673 2004-03-15  Sebastien Pouliot  <sebastien@ximian.com>
6675         * Random.cs: Corrected random value when Next is called with a 
6676         negative value. Testing indictae that our results aren't exactly the 
6677         same as MS, we have a +/- 1 (probably rounding errors due to 
6678         different implementation).
6680 2004-03-15  Gonzalo Paniagua Javier <gonzalo@ximian.com>
6682         * Environment.cs: updated corlib version.
6684 2004-03-15  Lluis Sanchez Gual <lluis@ximian.com>
6686         * Boolean.cs, Byte.cs, Char.cs, Double.cs, Int16.cs, Int32.cs, Int64.cs,
6687           SByte.cs, Single.cs, UInt16.cs, UInt32.cs, UInt64.cs: Renamed internal
6688           field "value" to "m_value", so it is interoperable with MS.NET when 
6689           serializing and deserializing data. Based on the patch from Daniel
6690           Keep.
6692 2004-03-14  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
6694         * TypeInitializationException.cs
6695         * SystemException.cs
6696         * StackOverflowException.cs
6697         * RankException.cs
6698         * OverflowExceptionException.cs
6699         * OutOfMemoryException.cs
6700         * NullReferenceException.cs
6701         * NotSupportedException.cs
6702         * NotFiniteNumberException.cs
6703         * InvalidOperationException.cs
6704         * InvalidCastException.cs
6705         * IndexOutOfRangeException.cs
6706         * FormatException.cs
6707         * ExecutionEngineException.cs: improved parameter names
6709 2004-03-13  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
6711         * Enum.cs
6712         * EntryPointNotFoundException.cs
6713         * DuplicateWaitObjectException.cs
6714         * DoubleFormatter.cs
6715         * DllNotFoundException.cs
6716         * DivideByZeroException.cs
6717         * DelegateSerializationHolder.cs
6718         * Delegate.cs
6719         * DBNull.cs
6720         * ContextStaticAttribute.cs
6721         * ContextMarshalException.cs
6722         * ContextBoundObject.cs
6723         * CLSCompliantAttribute.cs
6724         * CharEnumerator.cs
6725         * CannotUnloadAppDomainException.cs
6726         * BadImageFormatException.cs
6727         * AttributeUsageAttribute.cs
6728         * AttributeTargets.cs
6729         * AsyncCallback.cs
6730         * AssemblyLoadEventHandler.cs
6731         * AssemblyLoadEventArgs.cs
6732         * ArrayTypeMismatchException.cs
6733         * ArithmeticException.cs
6734         * ArgumentOutOfRangeException.cs
6735         * ArgumentNullException.cs
6736         * ArgumentException.cs
6737         * ArgIterator.cs
6738         * ApplicationException.cs
6739         * AppDomainUnloadedException.cs
6740         * AppDomain.cs: Mono styled, fixed exceptions/ locales
6741           removed excess usings
6743 2004-03-10  Sebastien Pouliot  <sebastien@ximian.com>
6745         * Convert.cs: FromBase64 now ignore some characters (tab, LF, CR and
6746         spaces) which fixed #54939. Changed the way that the length is 
6747         validated (multiple of 4) because the ignored characters must not be
6748         included in the count.
6750 2004-03-10  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
6752         * String.cs: Monostyled
6754 2004-03-09  Jackson Harper  <jackson@ximian.com>
6756         * Char.cs: Only use a byte for numeric data.
6757         
6758 2004-03-09  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
6760         * TypedReference.cs: Added missing Attributes
6761         * ParamArrayAttribute.cs: Small style fix
6762         * OperatingSystem.cs: Added .Net 1.1 member
6764 2004-03-09  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
6766         * FieldAccessException.cs
6767         * FormatException.cs
6768         * InvalidCastException.cs
6769         * InvalidOperationException.cs
6770         * MemberAccessException.cs
6771         * MethodAccessException.cs
6772         * MissingFieldException.cs: Locale strings
6773         * MissingMemberException.cs: Locale strings
6774         * MissingMethodException.cs: Locale strings
6775         * NotFiniteNumberException.cs
6776         * NotImplementedException.cs
6777         * NotSupportedException.cs
6778         * NullReferenceException.cs
6779         * ObjectDisposedException.cs
6780         * OutOfMemoryException.cs
6781         * OverflowExceptionException.cs
6782         * PlatformNotSupportedException.cs
6783         * RankException.cs: Added missing HResult overrides
6785 2004-03-09  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
6787         * RuntimeTypeHandle.cs
6788         * RuntimeMethodHandle.cs
6789         * RuntimeFieldHandle.cs: Implemented serialization (partially untested)
6791 2004-03-09  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
6793         * EventArgs.cs
6794         * Exception.cs
6795         * ExecutionEngineException.cs
6796         * FieldAccessException.cs
6797         * FormatException.cs
6798         * GC.cs
6799         * Guid.cs
6800         * IndexOutOfRangeException.cs
6801         * IntPtr.cs
6802         * InvalidCastException.cs
6803         * InvalidOperationException.cs
6804         * InvalidProgramException.cs
6805         * IServiceProvider.cs
6806         * LoaderOptimization.cs
6807         * LoaderOptimizationAttribute.cs
6808         * MarshalByRefObject.cs
6809         * Math.cs
6810         * MemberAccessException.cs
6811         * MethodAccessException.cs
6812         * MissingFieldException.cs
6813         * MissingMemberException.cs
6814         * MissingMethodException.cs
6815         * MultiCastDelegate.cs
6816         * MulticastNotSupportedException.cs
6817         * NonSerializedAttribute.cs
6818         * NotFiniteNumberException.cs
6819         * NotImplementedException.cs
6820         * NotSupportedException.cs
6821         * NullReferenceException.cs
6822         * ObjectDisposedException.cs
6823         * ObsoleteAttribute.cs
6824         * OperatingSystem.cs
6825         * OutOfMemoryException.cs
6826         * OverflowExceptionException.cs
6827         * PlatformID.cs
6828         * PlatformNotSupportedException.cs
6829         * Random.cs
6830         * RankException.cs
6831         * ResolveEventArgs.cs
6832         * ResolveEventHandler.cs
6833         * RuntimeFieldHandle.cs
6834         * RuntimeMethodHandle.cs
6835         * RuntimeTypeHandle.cs: Mono styled, fixed exceptions/ locales
6836           removed excess usings
6838 2004-03-08  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
6840         * SystemException.cs: Exceptions set the HResult
6841         * TypeLoadException.cs: Exceptions set the HResult, fixed wrong exception usage
6842         * SByte.cs: Implemented two missing methods, fix wrong parameters for ArgumentNullException
6844 2004-03-08  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
6846         * TypedReference.cs
6847         * TypeLoadException.cs
6848         * TypeInitializationException.cs
6849         * TypeCode.cs
6850         * TimeZone.cs
6851         * ThreadStaticAttribute.cs
6852         * SystemException.cs
6853         * STAThreadAttribute.cs
6854         * StackOverflowException.cs
6855         * SingleFormatter.cs
6856         * Single.cs
6857         * SerializableAttribute.cs: Mono styled, fixed exceptions/ locales
6858           removed excess usings
6860 2004-03-08  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
6862         * UnauthorizedAccessException.cs: Exceptions set the HResult
6863         * UInt64.cs: Implemented two missing methods
6864         * UInt32.cs: Fix wrong parameters for ArgumentNullException, simpler convert
6865         * UInt16.cs: Fix wrong parameters for ArgumentNullException, simpler convert
6867 2004-03-08  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
6869         * WeakReference.cs
6870         * Void.cs
6871         * Version.cs
6872         * ValueType.cs
6873         * UnitySerializationHolder.cs
6874         * UnhandledExceptionEventHandler.cs
6875         * UnauthorizedAccessException.cs
6876         * UIntPtr.cs
6877         * UInt64.cs
6878         * UInt32.cs
6879         * UInt16.cs: Mono styled, Locale.GetText fixes, msg fixes
6881 2004-03-04  Lluis Sanchez Gual <lluis@ximian.com>
6883         * Environment.cs: Bump corlib version.
6885 2004-03-04  Jackson Harper  <jackson@ximian.com>
6887         * Char.cs: New managed implementation. Modified patch by Andreas Nahr.
6888         
6889 2004-02-27  Lluis Sanchez Gual <lluis@ximian.com>
6891         * String.cs: Concat() fixed crash when one of the arguments is an object
6892           whose ToString() method returns null.
6893         * TypeLoadException.cs: Added some serialization fiels, needed for
6894           compatibility with MS.NET.
6896 2004-02-23 Ben Maurer  <bmaurer@users.sourceforge.net>
6898         * String.cs (Equals): Speed up this method by avoiding Array
6899          Bounds Checks and by comparing by 32 bit words rather than 16 bit chars.
6901         This gives between 0x (for 1 char) and >2x (for large strings)
6902         factor of improvement.
6904         A big thanks to Miguel, who suggested the integer compares.
6906 2004-02-23  Gonzalo Paniagua Javier <gonzalo@ximian.com>
6908         * MonoType.cs: use the binder in GetPropertyImpl.
6910 2004-02-22  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
6912         * Math.cs: MonoStyled, replaced space with tabs,
6913           speedup of some methods by avoiding method calls
6915 2004-02-18  Atsushi Enomoto  <atsushi@ximian.com>
6917         * Char.cs : optimized IsSeparator(), IsWhiteSpace() and IsDigit().
6918           (Moved from InternalCall to Managed code).
6920 2004-02-17  Martin Baulig  <martin@ximian.com>
6922         * MonoType.cs (GetConstructors): Renamed the interncall to
6923         GetConstructors_internal(), made it internal and added a `Type
6924         reflected_type' argument to it.
6925         (GetEvents, GetFields): Likewise.
6926         (GetMethodsByName): Added `Type reflected_type' argument.
6927         (GetPropertiesByName): Likewise.
6929 2004-02-16  Jackson Harper  <jackson@ximian.com>
6931         * FloatingPointFormater.cs: Allow precision to be up to the number
6932         of decimals without rounding.
6933         
6934 2004-02-14  Zoltan Varga  <vargaz@freemail.hu>
6936         * Delegate.cs (Equals): Do not compare method_ptr, since it might
6937         point to a trampoline.
6939 2004-02-12  Jackson Harper  <jackson@ximian.com>
6941         * AppDomainSetup.cs: If relative paths are used they should be
6942         rooted in the temp directory.
6943         
6944 2004-02-11  Marek Safar  <marek.safar@seznam.cz>
6946         * Type.cs (FilterNameIgnoreCase_impl): Added extra check for speedup.
6948 2004-02-10  Zoltan Varga  <vargaz@freemail.hu>
6950         * AppDomain.cs (Load): Check that assemblyRef.Name is not empty, to
6951         avoid an assert in the runtime.
6953 2004-02-08  Duncan Mak  <duncan@ximian.com>
6955         * Convert.cs (ToType): Always let a Convert.ChangeType call
6956         succeed if the source object is already of the destination type.
6958         Patch by Ian MacLean (ianm@activestate.com).
6960 2004-02-05  Sebastien Pouliot  <sebastien@ximian.com>
6962         * AppDomain.cs: Implemented SetPrincipalPolicy and SetThreadPrincipal.
6964 2004-02-02  Zoltan Varga  <vargaz@freemail.hu>
6966         * Environment.cs: Bump corlib version.
6968 2004-02-02  Sebastien Pouliot  <sebastien@ximian.ca>
6970         * DateTime.cs: Corrected support for "Z" in the mask (Parse). This
6971         fix bug #53461.
6973 2004-01-27  Sebastien Pouliot  <spouliot@videotron.ca>
6975         * Exception.cs: Changed ToString to remove the \n when no stack trace
6976         is present (which fixed a unit test for SecurityException). Changed
6977         all \n to Environment.NewLine.
6979 2004-01-27  Lluis Sanchez Gual <lluis@ximian.com>
6981         * ContextBoundObject.cs: Removed TODO.
6983 2004-01-22  Gonzalo Paniagua Javier <gonzalo@ximian.com>
6985         * TimeSpan.cs: fixed bug #52075. Days (int) don't rely on TotalDays
6986         (double), which might round up.
6988 2004-01-19  Jackson Harper <jackson@ximian.com>
6990         * FloatingPointFormatter.cs: Use the default decimal digits count
6991         if they are not specified. This fixes bug #52927.
6992         
6993 2004-01-19  Zoltan Varga  <vargaz@freemail.hu>
6995         * Environment.cs: Bump version number.
6997 2004-01-19  Lluis Sanchez Gual  <lluis@ximian.com>
6999         * Type.cs: Added internal call for IsInstanceOfType. The old implementation
7000         uses IsAssignableFrom(o.GetType()), which is not always valid for 
7001         transparent proxies (because GetType will not return the type of the remote
7002         object if its assembly is not present).
7004 2004-01-18  David Sheldon <dave-mono@earth.li>
7006   * FloatingPointFormatter.cs: Skip the decimal point if we have an 
7007     integer mantassa. So: 1E+15, rather than 1.E+15.
7009 2004-01-18  David Sheldon <dave-mono@earth.li>
7011         * Array.cs (GetValue/SetValue): Throw NullRef exception like .NET 1.1, 
7012         even though docs say it should be an ArgumentNull. Two test cases now
7013   pass. See also nickd's commit of 2003-12-24.
7015 2004-01-16  Gonzalo Paniagua Javier <gonzalo@ximian.com>
7017         * Environment.cs: increased corlib version.
7019 2004-01-14  Lluis Sanchez Gual <lluis@ximian.com>
7021         * MonoCustomAttrs.cs: Removed attribute cache. Attribute instances can't
7022         be reused because they could be modified. This fixes bug #52655.
7024 2004-01-12  Patrik Torstensson
7026         * Environment.cs: Bump corlib version number due to new StringBuilder
7027         
7028         * String.cs: New internal method to support the new StringBuilder that
7029         uses the string as a buffer (until ToString is called)
7031 2004-01-12  Zoltan Varga  <vargaz@freemail.hu>
7033         * Environment.cs: Bump corlib version number for real this time.
7034         
7035         * AppDomain.cs (LoadAssembly): Pass the assembly name as a string to
7036         the runtime, so it can take into account the Culture etc.
7038         * Environment.cs: Bump corlib version number.
7039         
7040 2004-01-12  Gonzalo Paniagua Javier <gonzalo@ximian.com>
7042         * MonoType.cs: GetMethods renamed to GetMethodsByName. It takes a
7043         new parameter with the method name and a boolean for ignoring case.
7044         Removed some string comparisons no longer needed.
7046 2004-01-11  Gonzalo Paniagua Javier <gonzalo@ximian.com>
7048         * MonoType.cs: GetProperties renamed to GetPropetiesByName. It takes a
7049         new parameter with the property name and a boolean for ignoring case.
7050         Fixes bug #52753.
7052 2004-01-11  David Sheldon <dave-mono@earth.li>
7054         * DateTime.cs: Correct processing of formats with multiple '-'s, fixing
7055         bug 52274.
7057 2004-01-10  Zoltan Varga  <vargaz@freemail.hu>
7059         * AppDomain.cs: Keep track of type resolve and assembly resolve 
7060         events in progress to prevent infinite recursion.
7062 2004-01-06  Miguel de Icaza  <miguel@ximian.com>
7064         * Console.cs: Test for UTF-8 being present anywhere on the
7065         string, also do ToUpper instead of ToLower, which will work even
7066         around the ICU bug with different locales (#52065), and addresses #52101
7068 2004-01-05  Zoltan Varga  <vargaz@freemail.hu>
7070         * Environment.cs: Bump version.
7072 2003-12-24 Ben Maurer  <bmaurer@users.sourceforge.net>
7074         * Type.cs (IsNotPublic): One would normally assume that
7075         IsNotPublic == !IsPublic, but this is not the case (note to MS,
7076         make better names ;-). Fixes #52547, `Type.IsNotPublic not 
7077         correct for Nested types'
7079 2003-12-24  Nick Drochak  <ndrochak@ieee.org>
7081         * Array.cs (CreateInstance): Throw NullRef exception like .NET 1.1, 
7082         even though docs say it should be an ArgumentNull. Sent email to MS
7083         about this "bug".
7085 2003-12-23  Lluis Sanchez Gual  <lluis@ximian.com>
7087         * Exception.cs: Several changes to make it compatible with MS.NET (needed
7088         for remoting interoperability): set a default value for hresult, added 
7089         initialization of class_name, serialization field RemoteStackTrace must
7090         be RemoteStackTraceString, added ser. field ExceptionMethod.
7092         * IndexOutOfRangeException.cs: Added serialization constructor.
7094 2003-12-22  Bernie Solomon  <bernard@ugsolutions.com>
7096         * Int32 (Parse):
7097           Int64 (Parse): Fix overflow checking for AllowHexSpecifier
7099 2003-12-20  Zoltan Varga  <vargaz@freemail.hu>
7101         * MonoType.cs (GetMethodImpl): Only call FindMostDerivedMatch if the
7102         user supplied no parameter info, but not when the user supplied an
7103         empty parameter list. This fixes IKVM.
7105         * Environment.cs: Bump corlib version.
7107 2003-12-19  Dick Porter  <dick@ximian.com>
7109         * String.cs: Added Compare shortcut for length==0.
7111 2003-12-17  Zoltan Varga  <vargaz@freemail.hu>
7113         * Environment.cs: Bump corlib version.
7115 2003-12-17  Dick Porter  <dick@ximian.com>
7117         * String.cs: Fix StartsWith and EndsWith when the argument is the
7118         empty string.  Fixes bug 52283.
7120 2003-12-16  Zoltan Varga  <vargaz@freemail.hu>
7122         * Environment.cs (HasShutdownStarted): Implement.
7124 2003-12-15  Zoltan Varga  <vargaz@freemail.hu>
7126         * Environment.cs (HasShutdownStarted): Make this static under NET 1.1.
7127         
7128         * Environment.cs: Bump version number.
7130 2003-12-15  Gonzalo Paniagua Javier <gonzalo@ximian.com>
7132         * DateTime.cs: don't bail out with that year out of range error on
7133         stuff like "MM/dd/yyyy HH:MM:ss".
7135 2003-12-13  Zoltan Varga  <vargaz@freemail.hu>
7137         * Environment.cs: Make it a const instead.
7138         
7139         * Environment.cs: Make version field static.
7141 2003-12-10  Zoltan Varga  <vargaz@freemail.hu>
7143         * Type.cs: Make DefaultBindingFlags protected.
7145         * Environment.cs: Applied patch from Todd Berman (tbermann@gentoo.org).
7146         Add new GacPath property + its associated icall.
7148 2003-12-09 Anirban Bhattacharjee <banirban@novell.com>
7150         * DateTime.cs : Bugs fixed (41845, 51422)
7151         * MonoType.cs : Exception message changed 
7153 2003-12-08  Martin Baulig  <martin@ximian.com>
7155         * Type.cs (MakeByRefType): New public method.
7157 2003-12-08  Zoltan Varga  <vargaz@freemail.hu>
7159         * Environment.cs: Add a version number for the corlib-runtime interface
7160         to make it easier to diagnose problems resulting from a mismatch 
7161         between the two.
7163 2003-12-08  Patrik Torstensson   <p@rxc.se>
7165         * Type.cs (GetMethod): Check type arguments within array
7166         * MonoType.cs (GetMethodImpl): Handle methods with a new slot
7167         (same signature but different classes (derived level)
7169 2003-12-07  Zoltan Varga  <vargaz@freemail.hu>
7171         * Type.cs (MakeArrayType): Add argument checking.
7173 2003-12-06  Dick Porter  <dick@ximian.com>
7175         * String.cs: Don't use CompareInfo for non-culture-sensitive
7176         IndexOf and LastIndexOf methods.
7178 2003-12-06  Ravindra  <rkumar@novell.com>
7180         * DateTime.cs: Made Parse(string, IFormatProvider) method to
7181         use second argument. Fixed bug #51464.
7183 2003-12-04  Martin Baulig  <martin@ximian.com>
7185         * Type.cs (Type.MakeArrayType): New public method.
7187 2003-12-04  Gonzalo Paniagua Javier <gonzalo@ximian.com>
7189         * Buffer.cs:
7190         (BlockCopy): make the exception thrown helpful.
7192 2003-12-03  Dick Porter  <dick@ximian.com>
7194         * String.cs: Calling Replace on an empty string returns itself.
7196 2003-12-03  Zoltan Varga  <vargaz@freemail.hu>
7198         * MonoType.cs: Get rid of get_type_info, use a separate icall for
7199         each property instead.
7201 2003-12-02  Dick Porter  <dick@ximian.com>
7203         * Decimal.cs: Fix NumberFormatInfo lookup.  Patch by
7204         Mohammad DAMT (mdamt@cdl2000.com), fixes bug 51443.
7206 2003-12-01  Dick Porter  <dick@ximian.com>
7208         * String.cs: Make Compare, IndexOf, LastIndexOf, StartsWith,
7209         Replace, ToLower, ToUpper and Equals use the correct CultureInfo.
7211 2003-11-28  Dick Porter  <dick@ximian.com>
7213         * Type.cs: 
7214         * MonoType.cs: 
7215         * Enum.cs: 
7216         * Boolean.cs: Do string compares with the Invariant culture.
7218 2003-11-27 Ben Maurer  <bmaurer@users.sourceforge.net>
7220         * Array.cs: make the enumerator ICloneable
7222 2003-11-27 Ben Maurer  <bmaurer@users.sourceforge.net>
7224         * Decimal.cs (ToXXX): Call Convert.ToXXX.
7226 2003-11-26  Zoltan Varga  <vargaz@freemail.hu>
7228         * AppDomain.cs: Applied patch from ztashev@openlinksw.co.uk (Zdravko Tashev). 
7229         Implement Load(byte[]) methods.
7231         * BadImageFormatException.cs: Fix ToString.
7233 2003-11-24  Zoltan Varga  <vargaz@freemail.hu>
7235         * MonoType.cs: Make Standard|HasThis match Standard in GetMethod and
7236         GetConstructor, as done by MS.
7238 2003-11-19  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
7240         * FloatingPointFormatter.cs: Removed some unused variables to prevent csc compiler warnings
7242 2003-11-18  Lluis Sanchez Gual  <lluis@ximian.com>
7244         * TypeInitializationException.cs: Added missing serialization constructor.
7246 2003-11-18  Gonzalo Paniagua Javier <gonzalo@ximian.com>
7248         * AppDomainSetup.cs: Don't add an extra '/' at the end of 
7249         ApplicationBase. The tests pass now with mono.
7251 2003-11-18  Zoltan Varga  <vargaz@freemail.hu>
7253         * ValueType.cs: New optimized implementation for Equals and GetHashCode.
7255 2003-11-15  Gonzalo Paniagua Javier <gonzalo@ximian.com>
7257         * Environment.cs: use Directory in CurrentDirectory property.
7258         We were not throwing any exception when setting the directory to an
7259         invalid path.
7261 2003-11-14  Gonzalo Paniagua Javier <gonzalo@ximian.com>
7263         * Array.cs:
7264         * Delegate.cs: implemented 1.1 stuff.
7266         * Enum.cs:
7267         * IntPtr.cs: removed extra attribute.
7268         * PlatformID.cs: added WinCE.
7270 2003-11-14  Gonzalo Paniagua Javier <gonzalo@ximian.com>
7272         * ValueType.cs:
7273         (Equals): compare the fields of structs too.
7274         (GetHashCode): combine the hash code of all the fields.
7275         Fixes bug #50901 (will remove the icall in a couple of days).
7277 2003-11-14  Gonzalo Paniagua Javier <gonzalo@ximian.com>
7279         * Array.cs: fixed Clear for non-zero bounded arrays. Fixes bug #50968.
7281 2003-11-14  Gonzalo Paniagua Javier <gonzalo@ximian.com>
7283         * DateTime.cs: handle century when we try to parse 4-digit years and
7284         only 2 digits are present. Fixes bug #49394.
7286 2003-11-13  Miguel de Icaza  <miguel@ximian.com>
7288         * Console.cs: On utf-8 consoles, use unmarked output.
7290 2003-11-13  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
7292         * IAppDomainSetup.cs:
7293         * _AppDomain.cs: 
7294         * Object.cs:
7295         * Type.cs: Added missing attribute
7297 2003-11-12 Lluis Sanchez Gual <lluis@ximian.com>
7299         * Environment.cs: Added internal method for getting the path to 
7300         machine.config.
7301         
7302 2003-11-12 Jackson Harper <jackson@ximian.com>
7304         * Environment.cs: Add MyMusic and MyPictures to the SpecialFolder
7305         enum. This fixes the SWF build.
7306         
7307 2003-11-12  Miguel de Icaza  <miguel@ximian.com>
7309         * PlatformID.cs: Remove Unix platform, we cant expose constants
7310         that are not in the framework.
7312         * OperatingSystem.cs: Adjust for the breakage.
7314         * RuntimeMethodHandle.cs: Fix signature.
7316         * Double.cs: Fix signature of TryParse.
7318         * String.cs (Concat (object, object, object, object)): Add missing method.
7320         * OperatingSystem.cs: Removed Equals, GetHashCode, they were not
7321         in the .NET Framework.
7323         * Enum.cs: Hide constructor.  
7325         Fix ToUint16 to be explicitly implemented.
7327         * Console.cs: Add couple of extra missing methods (Write and
7328         WriteLine overloaded)
7330 2003-11-11  Miguel de Icaza  <miguel@ximian.com>
7332         * AppDomain.cs, Activator.cs: New unimplmented entry points from
7333         1.1 (Com activation related).
7334         
7335         * Exception.cs: Formatting.
7336         
7337         * IServiceProvider.cs: Add ComVisible (true).
7339         * AppDomainSetup.cs: Add a couple more properties from .NET 1.1 
7341 2003-11-03  Lluis Sanchez Gual <lluis@ximian.com>
7343         * AppDomain.cs: Added some null checks in Load methods. This fixes bug
7344           #50356.
7346 2003-11-01  Zoltan Varga  <vargaz@freemail.hu>
7348         * AppDomain.cs: Make the SetDomain icalls private + call InternalInvoke
7349         on MonoMethod instead of Invoke.
7351 2003-11-01  Pedro Martínez Juliá  <yoros@wanadoo.es>
7353         * DateTime.cs: Fixed Add* methods handling. Now it works properly
7354         with extreme values (there is a bug with Overflow and Underflow in
7355         long type).
7357 2003-10-31  Pedro Martínez Juliá  <yoros@wanadoo.es>
7359         * DateTime.cs: Fixed a few format bugs.
7361 2003-10-31  Zoltan Varga  <vargaz@freemail.hu>
7363         * AppDomain.cs (InternalPushDomainRef): New icalls.
7365         * AppDomain.cs (InvokeInDomain): New method to execute code in a 
7366         different appdomain.
7368 2003-10-27  Zoltan Varga  <vargaz@freemail.hu>
7370         * AppDomain.cs: Fix prototype of InternalIsFinalizingForUnload.
7372 2003-10-25  Zoltan Varga  <vargaz@freemail.hu>
7374         * AppDomain.cs (IsFinalizingForUnload): Implement.
7376         * AppDomain.cs (Unload): Move the notification of OnUnload listeners
7377         to unmanaged code.
7379 2003-10-25  Martin Baulig  <martin@ximian.com>
7381         * MonoType.cs: Don't make this sealed.
7383 2003-10-24  Zoltan Varga  <vargaz@freemail.hu>
7385         * AppDomain.cs: Add InternalInvokeInDomain[ByID] icalls.
7387 2003-10-24  Pedro Martínez Juliá  <yoros@wanadoo.es>
7389         * DateTime.cs: When handling '-' as a date separator, MS.NET uses
7390         the same symbol in the parse (not DateTimeFormatInfo.DateSeparator).
7392 2003-10-22  Dick Porter  <dick@ximian.com>
7394         * DateTime.cs: Handle '-' as a date separator when parsing formats.
7396 2003-10-20  Duncan Mak  <duncan@ximian.com>
7398         * Delegate.cs (CreateDelegate): Avoid creating an extra Type array
7399         and merge the two iterations into one.
7401 2003-10-15  Zoltan Varga  <vargaz@freemail.hu>
7403         * TypedReference.cs: Add new field used by the runtime.
7405 2003-10-15  Martin Baulig  <martin@ximian.com>
7407         * Type.cs (Type.DeclaringMethod): For a generic method's type
7408         parameter, return this method - otherwise, return null.
7410 2003-10-14  Martin Baulig  <martin@ximian.com>
7412         The generics API has changed in the spec since it was added here;
7413         these modifications make it match the spec again.
7415         * Type.cs
7416         (GetGenericParameters): Renamed to `GetGenericArguments'.
7417         (HasGenericParameters): Renamed to `HasGenericArguments'.
7418         (HasUnboundGenericParameters): Renamed to `ContainsGenericParameters'.
7419         (IsGenericTypeDefinition): New property.
7420         (IsUnboundGenericParameter): Renamed to `IsGenericParameter'.
7422         * MonoType.cs (ContainsGenericParameters): Implement this here;
7423         this is no interncall anymore.
7425 2003-10-14  Gonzalo Paniagua Javier <gonzalo@ximian.com>
7427         * Delegate.cs: add the method name to the exception when it cannot be
7428         bound.
7429         * Exception.cs: fix nullref in Source.
7431 2003-10-10  Zoltan Varga  <vargaz@freemail.hu>
7433         * Array.cs: Add argument checking to GetValue and SetValue.
7435 2003-10-09  Miguel de Icaza  <miguel@ximian.com>
7437         * DateTime.cs: Patch from Chris Turchin: the DateTime.MaxValue
7438         should not be TimeSpan.MaxValue, because it overflow.  Set this to
7439         be MAX_VALUE_TICKS
7441 2003-10-09  Gonzalo Paniagua Javier <gonzalo@ximian.com>
7443         * MonoCustomAttrs.cs: from_cache is now thread-safe. Yeah, I got a
7444         duplicate entry exception.
7446 2003-10-08 Ben Maurer  <bmaurer@users.sourceforge.net>
7448         * DateTime.cs (ToString): Total rewrite, fixes #49358.
7450 2003-10-03  Zoltan Varga  <vargaz@freemail.hu>
7452         * AppDomain.cs: Change accessibility of DoTypeResolve to fix build.
7454 2003-10-03  Gonzalo Paniagua Javier <gonzalo@ximian.com>
7456         * Enum.cs:
7457         (Equals): check that the object is an Enum before comparing the types.
7459 2003-09-30  Gonzalo Paniagua Javier <gonzalo@ximian.com>
7461         * Array.cs: reduced xsp allocated memory by 1/2.
7463 2003-09-25  Martin Baulig  <martin@ximian.com>
7465         * Type.cs (Type.IsGenericTypeDefinition): Removed this method
7466         since it was identical to GetGenericTypeDefinition().
7467         (Type.IsGenericInstance): New property.
7469 2003-09-24  Duncan Mak  <duncan@ximian.com>
7471         * Math.cs (Abs): Fix double Locale.GetText bug reported by
7472         davejp@volny.cz. This fixes #48788.
7474 2003-09-14  Pedro Martínez Juliá  <yoros@wanadoo.es>
7476         * FloatingPointFormatter.cs: Add the necessary castings to char
7477         conversions.
7479 2003-09-13  Pedro Martínez Juliá  <yoros@wanadoo.es>
7481         * FloatingPointFormatter.cs: Make the method calls more functional
7482         for protecting the values from different threads (make it more
7483         thread safe).
7485 2003-09-13  Pedro Martínez Juliá  <yoros@wanadoo.es>
7487         * FloatingPointFormatter.cs: Fix a bug with the negative value of
7488         count parameter.
7490 2003-09-12  Pedro Martínez Juliá  <yoros@wanadoo.es>
7492         * FloatingPointFormatter.cs: Applied a lot of improvements in string
7493         construction, make use of Append/Insert with the "count" parameter.
7494     Thanks to Ben Maurer.
7496 2003-09-10  Pedro Martínez Juliá  <yoros@wanadoo.es>
7498         * FloatingPointFormatter.cs: Fix a bug with Custm Format.
7500         * FloatingPointFormatter.cs: Fix a little bug I've introduced the
7501         last change.
7503 2003-09-10  Pedro Martínez Juliá  <yoros@wanadoo.es>
7505         * DoubleFormatter.cs: A few optimizations. Now, only one object
7506         is created to convert all double numbers.
7508         * SingleFormatter.cs: A few optimizations. Now, only one object
7509         is created to convert all float numbers.
7511         * FloatingPointFormatter.cs: Split the "number type parameters" from
7512         the "numver value and format parameters". The first ones are in the
7513         constructor and the others are in a method.
7515 2003-09-09  Zoltan Varga  <vargaz@freemail.hu>
7517         * Array.cs: Added argument checking to some NET_1_1 methods.
7519 2003-09-04  Martin Baulig  <martin@ximian.com>
7521         * Type.cs (GetGenericTypeDefinition): Make this method virtual.
7523 2003-08-27  Gonzalo Paniagua Javier <gonzalo@ximian.com>
7525         * Array.cs: added the new overloaded CreateInstance, GetValue, SetValue
7526         taking 'longs'. All tests pass.
7528 2003-08-26 Ben Maurer  <bmaurer@users.sourceforge.net>
7530         * Exception.cs: Add ClassInterface attr. Implement TargetSite and
7531         Source. Remove MonoTODO attributes (class is 100% done). Also
7532         passes all Rotor tests for Exception!
7534 2003-08-26 Ben Maurer  <bmaurer@users.sourceforge.net>
7536         * Enum.cs: Remove [MonoTODO]'s that had been completed.
7538 2003-08-22  Gonzalo Paniagua Javier <gonzalo@ximian.com>
7540         * String.cs: fixed bug #47802.
7542 2003-08-21 Ben Maurer  <bmaurer@users.sourceforge.net>
7544         * String.cs: Created method FormatHelper that does formatting,
7545         using a StringBuilder.
7547 2003-08-20  Gonzalo Paniagua Javier <gonzalo@ximian.com>
7549         * Array.cs: patch by lb@lb.ods.org that fixes bug #47707.
7551 2003-08-11  Gonzalo Paniagua Javier <gonzalo@ximian.com>
7553         * Delegate.cs: CreteDelegate (Type, MethodInfo) only supports static
7554         methods under MS.
7556 2003-08-11  Duncan Mak  <duncan@ximian.com>
7558         * Environment.cs (Version): Return the same numbers as the MS
7559         implementation.
7561 2003-08-10  Miguel de Icaza  <miguel@ximian.com>
7563         * Array.cs: Applied patch from Thong (Tum) Nguyen;  Removed
7564         replicated tests, and have a routine that does the heavy lifting.
7566 2003-08-08  Lluis Sanchez Gual <lluis@ximian.com>
7568         * DateTime.cs: Fixed DoParse. It was calling the wrong constructor
7569           of DateTime.
7570         * Environment.cs: return $HOME for ApplicationData folder.
7572 2003-08-04  Duncan Mak  <duncan@ximian.com>
7574         * FloatingPointFormatter.cs (Normalize): Apply a patch from Aleksey
7575         Demakov <avd@openlinksw.com> to fix formatting for Big power of 10
7576         floating point values. This fixes bug #46175.
7578         * Convert.cs (ToUInt16): Throw an OverflowException correctly, as
7579         noted by c5n4kh6u02@sneakemail.com in
7580         http://bugzilla.ximian.com/show_bug.cgi?id=43098.
7582 Sat Aug  2 13:01:46 BST 2003 Malte Hildingson <malte@amy.udd.htu.se>
7584         * Double.cs: added icall Double.AssertEndianity.
7586 Fri Aug 1 16:47:17 CEST 2003 Paolo Molaro <lupus@ximian.com>
7588         * Type.cs, MonoType.cs: implemented generic-specific methods.
7590 2003-07-29  Miguel de Icaza  <miguel@ximian.com>
7592         * Buffer.cs: Add new internal MemCopy call.
7594         Removed the above.
7596 Tue Jul 29 12:13:16 CEST 2003 Paolo Molaro <lupus@ximian.com>
7598         * Type.cs, MonoType.cs, ArgIterator.cs: pass the handles values
7599         to icalls, to avoid special cases in some call conventions.
7601 2003-07-26  Gonzalo Paniagua Javier <gonzalo@ximian.com>
7603         * Enum.cs: added Serializable attribute.
7605 2003-07-25  Duncan Mak  <duncan@ximian.com>
7607         * AppDomain.cs (Equals):
7608         (GetHashCode): Removed because they do not need to be defined
7609         here.
7611 2003-07-24  Gonzalo Paniagua Javier <gonzalo@ximian.com>
7613         * TypeLoadException.cs: removed unused fields. TypeName returns "" if
7614         cannot even get the type.
7616 2003-07-24  Miguel de Icaza  <miguel@ximian.com>
7618         * Type.cs: Added generics stubs.
7620 2003-07-23  Duncan Mak  <duncan@ximian.com>
7622         * Environment.cs (SpecialFolder): Added 'Desktop' and 'MyComputer'
7623         as values for NET_1_1.
7624         (GetFolderPath): Return the empty string ("") for values of
7625         SpecialFolder that have no corresponding equivalents in
7626         Linux. Return "$HOME/Desktop" for SpecialFolder.DesktopDirectory
7627         and "$HOME" for SpecialFolder.Personal.
7629         * IntPtr.cs (GetObjectData): Mark it as an interface
7630         implementation, instead of a public method.
7632         * Guid.cs (NewGuid): Remove MonoTODOAttribute.
7634         * TypeLoadException.cs (GetObjectData):
7635         Create stubs for the fields that are being serialized.
7637         * UIntPtr.cs: Removed erroneous CLSCompliantAttributes.
7639 2003-07-23  Lluis Sanchez Gual <lluis@ximian.com>
7640         
7641         * Enum.cs: Fixed enum formatting. For flag enums, if one of
7642           the flags is unnamed, ToString() returns the integer value.
7644 2003-07-22  Jerome Laban <jlaban@wanadoo.fr>
7646         * Guid.cs: Fixed ToString (), was producing incorrect string.
7648 2003-07-20  Gonzalo Paniagua Javier <gonzalo@ximian.com>
7650         * AppDomainSetup.cs: fixed bug #46609.
7652 Thu Jul 17 17:28:27 CEST 2003 Paolo Molaro <lupus@ximian.com>
7654         * MonoType.cs: use an icall for IsPrimitiveImpl ().
7656 Thu Jul 17 15:23:17 CEST 2003 Paolo Molaro <lupus@ximian.com>
7658         * Guid.cs: faster ToString ().
7660 2003-07-15  Pedro Martínez Juliá  <yoros@wanadoo.es>
7662         * FloatingPointFormatter.cs: Few changes for get working Rotor
7663         tests.
7665 2003-07-13  Zoltan Varga  <vargaz@freemail.hu>
7667         * Type.cs (IsAssignableFrom): Implement this as an icall since the
7668         runtime already includes the neccessary logic.
7670 2003-07-06  Gonzalo Paniagua Javier <gonzalo@ximian.com>
7672         * AppDomainSetup.cs: remove the "file://" prefix from ApplicationBase
7673         if it's present and get the full path for non-Uri paths.
7675 2003-07-2  Lluis Sanchez Gual <lluis@ximian.com>
7677         * DateTime.cs: Fixed formatting of fractions of second.
7679 2003-06-30  Zoltan Varga  <vargaz@freemail.hu>
7681         * Console.cs: Turn off buffering for the streams returned by
7682         OpenStandardOutput () and OpenStandardError () if the buffer size is 0.
7684 2003-06-28  Lluis Sanchez Gual <lluis@ximian.com>
7686         * Random.cs: Changed behavior of Random to match MS.NET. When Next is
7687           called with maxvalue==0 or minvalue==maxvalue, MS.NET internally generates
7688           a new random number (although it is not needed), while mono did not. 
7689           As a result, the sequence of random numbers could be different for the
7690           same seed.
7692 Thu Jun 26 16:06:35 CEST 2003 Paolo Molaro <lupus@ximian.com>
7694         * FloatingPointFormatter.cs: use dec_len2 as default precision.
7696 2003-06-26  Lluis Sanchez Gual <lluis@ximian.com>
7698         * DateTime.cs: Modified constructor. Check for valid value of TimeSpan must
7699           be done after the correspondig UTC offset has been applied.
7701 2003-06-26  Lluis Sanchez Gual <lluis@ximian.com>
7703         * Object.cs: Object must have the Serializable attribute.
7704         * DateTime.cs: Fixed _DoParse() so it correctly applies the utc offset
7705           to the resulting date. Also fixed _ToString so now correctly formates the
7706           UTC offset.
7708 Wed Jun 18 19:22:22 CEST 2003 Paolo Molaro <lupus@ximian.com>
7710         * Enum.cs: fix race in cache (bug#41841).
7712 Wed Jun 18 18:52:11 CEST 2003 Paolo Molaro <lupus@ximian.com>
7714         * FloatingPointFormatter.cs: if the precision is not specified, use
7715         the default precision for the data type.
7717 Wed Jun 18 18:11:30 CEST 2003 Paolo Molaro <lupus@ximian.com>
7719         * Array.cs: throw ArgumentOutOfRangeException in Copy if needed
7720         (patch by tum@veridicus.com (Thong (Tum) Nguyen)).
7722 2003-06-11  Gonzalo Paniagua Javier <gonzalo@ximian.com>
7724         * MonoType.cs: don't throw nullref when the return type for a property
7725         is specified and the property doesn't have a get accessor.
7727 2003-06-10  Duncan Mak  <duncan@ximian.com>
7729         * Array.cs (CreateInstance): Fixed a typo. It should throw
7730         ArgumentNullException instead of ArgumentException.
7732 2003-06-09  Duncan Mak  <duncan@ximian.com>
7734         * Array.cs: Revert the last revert. I fixed it.
7735         (Sort): Put a try-catch block around qsort, and wrap whatever
7736         Exception we get into a InvalidOperationException.
7738 2003-06-08 Jackson Harper <jackson@latitudegeo.com>
7740         * Array.cs: Revert last patch, it broke some other functionality.
7741                 
7742 2003-06-08  Duncan Mak  <duncan@ximian.com>
7744         * Array.cs: Throw more exceptions. This fixes the errors we see
7745         from the Rotor testsuite.
7747         (CreateInstance): Throw ArgumentNullException when the input are
7748         null. Throw ArgumentOutOfRangeException when bounds + length is
7749         greater than Int32.MaxValue.
7750         (LastIndexOf): Throw ArgumentOutOfRangeException if index is outside
7751         the valid range of indices of array.
7752         (Sort): Throw InvalidOperationException when comparer is null and
7753         none of the elements in keys implements IComparable.
7755 2003-06-08  Duncan Mak  <duncan@ximian.com>
7757         * Array.cs (CreateInstance): Throw a TypeLoadException if the
7758         Length of the input array 'lengths' is greater than 255 so that we
7759         won't see the g_assert that is in mono_array_class_get in class.c.
7761         This fixes bug #44304.
7763 2003-06-05  Nick Drochak  <ndrochak@gol.com>
7765         * UnitySerializataionHolder.cs: Cleanups according to class status page
7767 Wed Jun 4 16:59:39 CEST 2003 Paolo Molaro <lupus@ximian.com>
7769         * ArgIterator.cs, TypedReference.cs, RuntimeArgumentHandle.cs,
7770         RuntimeTypeHandle.cs: implemented the needed stuff to handle
7771         vararg calls.
7773 2003-06-02  Sebastien Pouliot  <spouliot@videotron.ca>
7775         * Random.cs: New implementation based on Knuth ran3 to fix #43597.
7776         See http://www.library.cornell.edu/nr/bookcpdf/c7-1.pdf. Commited
7777         for Ben Maurer after review and testing.
7779 2003-05-28  Ben Maurer <bmaurer@users.sourceforge.net>
7780         
7781         * Array.cs: Added better argument checking to Array.Sort ()
7782         * DBNull.cs: Made the conversions throw like they do in MS.
7784 2003-05-24  Philip Van Hoof  <me@freax.org>
7786         * Math.cs: Add the MS.NET 1.1 methods (BigMul, DivRem, DivRem).
7788 2003-05-21  Pedro Martínez Juliá  <yoros@wanadoo.es>
7790         * FloatingPointFormatter.cs: Take care with the explicit precision
7791         and round the number to that precision.
7793         * DoubleFormatter.cs: Adapt to the two level precision (15 - 17).
7795         * SingleFormatter.cs: Adapt to the two level precision (7 - 8).
7797 2003-05-20  Philip Van Hoof <me@freax.org>
7799         * DateTime.cs (FromOADate, GetDateTimeFormats, ToOADate):
7800         Implemented.
7802 2003-05-20  Zoltan Varga  <vargaz@freemail.hu>
7804         * AppDomainSetup.cs: Added new field which is used to notify the
7805         runtime that the search path has changed.
7807 2003-05-18  Pedro Martínez Juliá  <yoros@wanadoo.es>
7809         * FloatingPointFormatter.cs: Fixed NullReferenceException bug I've
7810         introduced the last change I've done.
7812 2003-05-17  Ben Maurer  <bmaurer@users.sourceforge.net>
7814         * Array.cs: Fixed SyncRoot to behave like MS (return this). Removed 
7815         MonoTODO from SyncRoot (because fixed) and IsSynchronized (it was
7816         behaving correctly).
7817         
7818 2003-05-17  Pedro Martínez Juliá  <yoros@wanadoo.es>
7820         * FloatingPointFormatter.cs: Fixed little format mismatches.
7822 2003-05-16  Pedro Martínez Juliá  <yoros@wanadoo.es>
7824         * FloatingPointFormatter.cs: Fixed "-0" result emited.
7826 2003-05-13  Gonzalo Paniagua Javier <gonzalo@ximian.com>
7828         * AppDomain.cs: Added null argument check in Load().
7829         * Activator.cs: fixed bug #39926.
7831 2003-05-13  Gonzalo Paniagua Javier <gonzalo@ximian.com>
7833         * Enum.cs: fixed bugs #41522 and #42879.
7835 2003-05-12  Zoltan Varga  <vargaz@freemail.hu>
7837         * String.cs: Tweak IndexOf and LastIndexOf to match specification and
7838         undocumented MS behaviour.
7840 2003-05-10  Gonzalo Paniagua Javier <gonzalo@ximian.com>
7842         * Activator.cs: applied patch for bug #39926. Thanks to Jean Marc and
7843         Jaime.
7845 2003-05-10  Gonzalo Paniagua Javier <gonzalo@ximian.com>
7847         * String.cs: fixed bug #41411 and another similar problem in
7848         LastIndexOf (string).
7850 2003-05-10  Gonzalo Paniagua Javier <gonzalo@ximian.com>
7852         * String.cs: patch by Jean Marc <jean-marc.andre@polymtl.ca> that fixes
7853         bug #42695.
7855 2003-05-09  Zoltan Varga  <vargaz@freemail.hu>
7857         * MulticastDelegate.cs (GetInvocationList): Avoid ArrayList 
7858         construction if the delegate list only has one element.
7860 2003-05-01  Pedro Martínez Juliá  <yoros@wanadoo.es>
7862         * Environment.cs: Changed the method GetFolderPath because it must
7863         return at least a directory name (not null).
7865         * Convert.cs: In ToType, if the destination type is unknown, try to
7866         cast the value to object (then, the calling method will downcast it
7867         to the type it wants).
7869 2003-04-30  Gonzalo Paniagua Javier <gonzalo@ximian.com>
7871         * Enum.cs: fixed bug #41522.
7873 Tue Apr 29 13:58:16 CEST 2003 Paolo Molaro <lupus@ximian.com>
7875         * Enum.cs: protect with the lock also the lookup (bug #41841).
7877 Tue Apr 29 13:24:32 CEST 2003 Paolo Molaro <lupus@ximian.com>
7879         * MonoType.cs: allow a null name if InvokeMember is called with
7880         BindingFlags.CreateInstance set.
7882 2003-04-28  Gonzalo Paniagua Javier <gonzalo@ximian.com>
7884         * Enum.cs: reverted my previous patch.
7886 2003-04-27  Gonzalo Paniagua Javier <gonzalo@ximian.com>
7888         * Enum.cs: fixed bug #41841.
7890 2003-04-26  Gonzalo Paniagua Javier <gonzalo@ximian.com>
7892         * MonoType.cs:
7893         (GetPropertyImpl): handle BindingFlags.IgnoreCase.
7895 2003-04-22  Pedro Martínez Juliá  <yoros@wanadoo.es>
7897         * FloatingPointFormatter.cs: Little fixes for get the same results
7898         as MS.NET and show a message when something goes wrong with the
7899         parser of Custom Formats.
7901 2003-04-22  Nick Drochak  <ndrochak@gol.com>
7903         * Double.cs (ToString):
7904         * Single.cs (ToString): Handle case where param is a CultureInfo.
7906 2003-04-18  Zoltan Varga  <vargaz@freemail.hu>
7908         * Object.cs ValueType.cs: Make the Object::GetHashCode() and 
7909         ValueType::Equals() icalls static non-virtual, so they can be called
7910         by the code in RuntimeHelpers.
7912 2003-04-18  Miguel de Icaza  <miguel@ximian.com>
7914         * Delegate.cs (operator ==): Do not crash if the second argument
7915         is null.  Bug fix submitted by Juan Cri.
7917 2003-04-18  Eduardo Garcia Cebollero <kiwnix@yahoo.es>
7919         * Array.cs: Deleted the exception in Array.Initialize(), it looks
7920         like the method do nothing for C#, is still a MonoTODO until
7921         we find a compiler that uses that.
7923 2003-04-14  Miguel de Icaza  <miguel@ximian.com>
7925         * Delegate.cs (Delegate): Seems like a typo, we were checking the
7926         a field rather than the argument 
7928         * MonoType.cs: Make GetNestedType an external method implementation.
7930 2003-04-13  Gonzalo Paniagua Javier <gonzalo@ximian.com>
7932         * Enum.cs: fixed bug #41294.
7934 2003-04-12  Gonzalo Paniagua Javier <gonzalo@ximian.com>
7936         * DateTime.cs: fixes bug #40910, part 2.
7938 2003-04-11  Dietmar Maurer  <dietmar@ximian.com>
7940         * String.cs (Equals): avoid the internal call, code cleanups
7942 2003-04-11  Alan Tam <Tam@SiuLung.com>
7944         * Convert.cs: fixed bug #41085.
7946 2003-04-10  Lluis Sanchez Gual <lluis@ideary.com>
7948         * AppDomain.cs: Added internal method for getting process guid.
7950 2003-04-09  Ville Palo <vi64pa@kolumbus.fi>
7952         * Array.cs: Little fix to compare () method.
7953         
7954 2003-04-09  Zoltan Varga  <vargaz@freemail.hu>
7956         * String.cs (Equals): Add trivial optimization.
7958 2003-04-08  Gonzalo Paniagua Javier <gonzalo@ximian.com>
7960         * DateTime.cs: fixed bug #40910.
7962 2003-04-05  Miguel de Icaza  <miguel@ximian.com>
7964         * Console.cs: Make stderr, stdout and stdin use synchronized
7965         versions of the their readers/writers.
7967 2003-04-04  Dick Porter  <dick@ximian.com>
7969         * Version.cs: Make operator== and operator!= cope with null
7970         objects.  Didn't change operator<, operator<=, operator> or
7971         operator>= because its not meaningful to use those to compare
7972         against null, and throwing a NullReferenceException is probably
7973         the best thing to do there anyway.
7975         Fixes bug 40720.
7977 2003-04-02  Gonzalo Paniagua Javier <gonzalo@ximian.com>
7979         * AppDomain.cs: fixed InvalidCastException.
7981 2003-03-30  Zoltan Varga  <vargaz@freemail.hu>
7983         * Array.cs (Copy): Call FastCopy() earlier to avoid the expensive
7984         type checks and let it decide whenever a fast copy is possible.
7986 2003-03-26  Gonzalo Paniagua Javier <gonzalo@ximian.com>
7988         * MonoType.cs:
7989         (GetMethodImpl): support BindingFlags.IgnoreCase flag. Fixes bug #40322.
7991 2003-03-25  Zoltan Varga  <vargaz@freemail.hu>
7993         * Activator.cs (CreateInstance): Call GetConstructor with the right
7994         arguments so the nonPublic argument is handled correctly.
7996 2003-03-25  Gonzalo Paniagua Javier <gonzalo@ximian.com>
7998         * Type.cs: fixed bug #40123.
8000 2003-03-22  Pedro Martínez Juliá  <yoros@wanadoo.es>
8002         * FloatingPointFormatter.cs: Fixed some bugs for get the same
8003         results than MS.NET. Added simple error recovering, now ToString
8004         will return a general format if there is any exception in the
8005         process of formatting. This make the library more robust while the
8006         formatters are refined.
8008 2003-03-16  Pedro Martínez Juliá  <yoros@wanadoo.es>
8010         * FloatingPointFormatter.cs: Added support for group separators.
8012 2003-03-16  Pedro Martínez Juliá  <yoros@wanadoo.es>
8014         * Single.cs:
8015         * Double.cs: Apply changes of .ToString methods.
8016         * SingleFormatter.cs:
8017         * DoubleFormatter.cs: Simple wrappers to FloatingPointFormatter.
8018         * FloatingPointFormatter.cs: New class. Implementation of double and
8019         single formatters. It is unified now and parametrized with precission
8020         values.
8022 2003-03-15  Lluis Sanchez Gual <lluis@ideary.com>
8024         * AppDomain.cs: fixes bugs #39380 and #39331.
8026 2003-03-06  Nick Drochak  <ndrochak@gol.com>
8028         * TimeSpan.cs (Negate): Throw exception when value is MinValue.
8030 2003-03-04  Dick Porter  <dick@ximian.com>
8032         * Single.cs:
8033         * Double.cs: Temporarily reverted the Double and Single ToString()
8034         change, because it broke nunit.
8037 2003-03-04  Pedro Martínez Juliá  <yoros@wanadoo.es>
8039         * Double.cs: Changed ToString method. Added NumberFormatInfo support
8040         with DoubleFormatter class.
8041         * Single.cs: Changed ToString method. Added NumberFormatInfo support
8042         with SingleFormatter class.
8043         * DoubleFormatter.cs: New class with Double formatting functions.
8044         * SingleFormatter.cs: New class with Single formatting functions.
8046 2003-03-03  Lluis Sanchez Gual <lluis@ideary.com>
8048         * Activator.cs: Added support for activation using activation attributes.
8049         * AppDomain.cs: Added internal method to get the default context from the runtime.
8051 2003-02-28  Elan Feingold  <efeingold@mn.rr.com>
8053         * DateTime.cs: FileTime is expressed in Universal time, and as such must
8054         be converted before subtracting the magic offset.
8055         * DateTime.cs: Strings in the format "2003-02-27T10:05:03-11:00" (note
8056         the timezone at the end) *must* be parsed by DateTime.Parse() for
8057         compatibility with Microsoft.
8059 2003-02-24  Gonzalo Paniagua Javier <gonzalo@ximian.com>
8061         * Attribute.cs:
8062         * MonoCustomAttrs.cs: fix for the regression test failure (see bug
8063         #38238).
8065         * IntPtr.cs: added serialization .ctor
8067 2003-02-19  Gonzalo Paniagua Javier <gonzalo@ximian.com>
8069         * AppDomain.cs: check for null in Unload and changed method name.
8071 2003-02-18  Gonzalo Paniagua Javier <gonzalo@ximian.com>
8073         * MonoCustomAttrs.cs: fixed bug #38238.
8075 2003-02-17  Martin Baulig  <martin@ximian.com>
8077         * Exception.cs (Exception.ToString): Print a newline between the
8078         exception message and the stack trace.
8080 2003-02-17  Gonzalo Paniagua Javier <gonzalo@ximian.com>
8082         * AppDomain.cs: implemented GetCurrentThreadId ().
8084 2003-02-14  Patrik Torstensson
8086         * Exception.cs: Fixed message output formating
8088 2003-02-14  Gonzalo Paniagua Javier <gonzalo@ximian.com>
8090         * Int32.cs:
8091         (Parse): ignore everything after a \0 (MS parses: "512\0hola" as 512).
8093 2003-02-12  Miguel de Icaza  <miguel@ximian.com>
8095         * Type.cs: IsClass should return false for Enumerations
8097 2003-02-11  Gonzalo Paniagua Javier <gonzalo@ximian.com>
8099         * MonoCustomAttrs.cs: return the correct array type in the short case.
8100         Fixes bug #37818.
8102 2003-02-08  Pedro Martíenz Juliá  <yoros@wanadoo.es>
8104         * Math.cs: Fix a few methods (like Round) and add with comments the
8105         new methods: BigMul and DivRem that were in ECMA specs.
8107 2003-02-07  Patrik Torstensson
8109         * Exception.cs: Fixed formating
8111 2003-02-05  Patrik Torstensson
8113         * AppDomain.cs: Partly fixed the unload method 
8114         
8115 2003-02-04  Patrik Torstensson
8117         * AppDomain.cs: Fixed lease issue with appdomain
8119 2003-02-04  Lluis Sanchez Gual <lluis@ideary.com>
8121         * MarshalByRefObject.cs: Implemented GetLifetimeService() and 
8122           InitializeLifetimeService().
8124 2003-02-03  Patrik Torstensson
8126         * AppDomain.cs: New internalcalls for handling domain/context switches
8127         * AppDomain.cs (CreateDomain): Return transparant proxy for appdomain object
8129 2003-02-03  Gonzalo Paniagua Javier <gonzalo@ximian.com>
8131         * AppDomain.cs: implemented AppendPrivatePath, ClearPrivatePath
8132         and ClearShadowCopyPath and fixed GetType ().
8134         * Attribute.cs: clean up.
8136         * Console.cs: removed UnixConsoleEncoding. Use Default.
8138 2003-02-01  Gonzalo Paniagua Javier <gonzalo@ximian.com>
8140         * Attribute.cs: fixed all IsDefined overloads. Gotta fix
8141         GetCustomAttributes later.
8143 2003-01-31  Patrik Torstensson
8145         * Buffer.cs: Changed access level of BlockCopyInternal
8147 Thu Jan 30 19:54:30 CET 2003 Paolo Molaro <lupus@ximian.com>
8149         * String.cs, IntegerFormatter.cs: use const where appropriate.
8151 2003-01-30  Gonzalo Paniagua Javier <gonzalo@ximian.com>
8153         * MonoCustomAttrs.cs: fixed GetBase () for Type. Thanks to Zoltan for
8154         reporting.
8156 2003-01-30  Gonzalo Paniagua Javier <gonzalo@ximian.com>
8158         * MonoCustomAttrs.cs: fixed shortcut in GetCustomAttributes.
8159         The argument ICustomAttributeProvider can be of other types different
8160         from Type. Handle it.
8162 2003-01-28  Zoltan Varga  <vargaz@freemail.hu>
8164         * DateTime.cs: fix FromFileTime so the time returned by 
8165         File::GetLastModificationTime etc. is in the correct timezone.
8167 2003-01-28  Patrik Torstensson
8168         * Exception.cs: reverted formating/endline changes (sorry guys)
8170 2003-01-28  Patrik Torstensson
8172         * MarshalByRefObject.cs: implemented GetObjectIdentity
8173         * Exception.cs: added support for remote exceptions
8175 2003-01-28  Gonzalo Paniagua Javier <gonzalo@ximian.com>
8177         * DateTime.cs: fixed bug #37225.
8179 2003-01-27  Gonzalo Paniagua Javier <gonzalo@ximian.com>
8181         * Enum.cs: Clone the arrays in GetNames and GetValues. Thanks lupus!
8183 2003-01-27  Zoltan Varga  <vargaz@freemail.hu>
8185         * AppDomain.cs: Added DoTypeResolve method which will be called by
8186         the runtime to raise TypeResolve events.
8188 2003-01-27  Duncan Mak  <duncan@ximian.com>
8190         * Enum.cs (ToType): Implement this using Convert.ToType.
8192 2003-01-21  Miguel de Icaza  <miguel@ximian.com>
8194         * Math.cs: Remove Pow's implementation body as it was wrong.  The
8195         C code does the right thing.  The code was trying to handle a
8196         number of cases, and that was incorrect.
8198 2003-01-24  Gonzalo Paniagua Javier <gonzalo@ximian.com>
8200         * CharEnumerator.cs: fix to Current by crainaj@hotmail.com. Closes
8201         bug #37113.
8203 2003-01-24  Gonzalo Paniagua Javier <gonzalo@ximian.com>
8205         * Enum.cs: added caching to GetInfo.
8207 2003-01-23  Dick Porter  <dick@ximian.com>
8209         * Environment.cs (System): Implemented ExitCode
8211 2003-01-23  Zoltan Varga  <vargaz@freemail.hu>
8213         * Type.cs (IsInstanceOfType): fixed regression caused by the change
8214         to IsSubclassOf().
8216 2003-01-17  Gonzalo Paniagua Javier <gonzalo@ximian.com>
8218         * MonoType.cs: re-added lines that were removed in the previous commit.
8220 2003-01-16  Lluis Sanchez Gual <lsg@ctv.es>
8222         * Type.cs: corrected property IsSerializable. It should always return
8223         true for enums and delegates
8224         * MonoType.cs: added serialization support.
8225         * Delegate.cs: added serialization support.
8226         * DBNull.cs: added serialization support.
8227         * UnitySerializationHolder.cs: supports serialization of Assembly,
8228         MonoType and DBNull.
8229         * DelegateSerializationHolder.cs: added.
8231 2003-01-12  Gonzalo Paniagua Javier <gonzalo@ximian.com>
8233         * Exception.cs: changed default message to match MS one.
8235 2003-01-12  Patrik Torstensson <totte@race-x-change.com>
8237         * String.cs: Fixed bug with CompareOrdinal
8239 2003-01-10  Gonzalo Paniagua Javier <gonzalo@ximian.com>
8241         * Enum.cs: implements IFormattable.
8243 2003-01-10  Gonzalo Paniagua Javier <gonzalo@ximian.com>
8245         * AppDomain.cs: implemented DoCallBack method.
8246         * MonoType.cs:
8247         (GetConstructorImpl): when the flag is BindingFlags.Default, set it to
8248         Public, Instance.
8250         NUnit2 tests start moving.
8252 2003-01-09  Gonzalo Paniagua Javier <gonzalo@ximian.com>
8254         * Activator.cs: fixed bug #36052. Also added checks to avoid trying to
8255         instantiate an abstract class.
8257 2003-01-09  Gonzalo Paniagua Javier <gonzalo@ximian.com>
8259         * Type.cs:
8260         (IsSubclassOf): return false when null. Use != instead of Equals.
8262 2003-01-09  Gonzalo Paniagua Javier <gonzalo@ximian.com>
8264         * Type.cs: fixed IsSubclassOf. Patch from Zoltan Varga.
8266 Fri Jan 3 20:18:51 CET 2003 Paolo Molaro <lupus@ximian.com>
8268         * MonoType.cs: fixed Namespace property for nested types.
8270 Fri Jan 3 16:18:27 CET 2003 Paolo Molaro <lupus@ximian.com>
8272         * MonoCustomAttrs.cs: create properly typed arrays when returning
8273         arrays of attributes of a given type.
8275 Fri Jan 3 11:10:14 CET 2003 Paolo Molaro <lupus@ximian.com>
8277         * MonoType.cs: fixed MemberType property for nested types.
8279 2003-01-03  Gonzalo Paniagua Javier <gonzalo@ximian.com>
8281         * String.cs: fixed bug #36209.
8283 2002-12-20 Lluis Sanchez Gual <lsg@ctv.es>
8285         * Activator.cs: implemented method GetObject.
8287 2002-12-28  Marcus Urban <mathpup@mylinuxisp.com>
8289         * Activator.cs: Since the documentation indicates the method
8290         either succeeds or throws one of the listed exceptions, we weren't
8291         expecting that CreateInstance might be returning null.
8293         For more information on the bug, see http://bugs.ximian.com/show_bug.cgi?id=36109
8295 2002-12-20 Lluis Sanchez Gual <lsg@ctv.es>
8297         * MarshalByRefObject.cs: implemented CreateObjRef.
8299 2002-12-19  Gonzalo Paniagua Javier <gonzalo@ximian.com>
8301         * DateTime.cs: fixed bug #30076.
8302         * TimeZone.cs: provide the parameter name in a exception.
8304 2002-12-13  Gonzalo Paniagua Javier <gonzalo@ximian.com>
8306         * DecimalFormatter.cs: fixed bug #35560.
8308 Wed Dec 4 16:04:28 CET 2002 Paolo Molaro <lupus@ximian.com>
8310         * Type.cs: implemented GetInterfaceMap (needs an updated runtime).
8312 2002-12-03  Gonzalo Paniagua Javier <gonzalo@ximian.com>
8314         * Array.cs: use Object.Equals (obj, obj) to compare objects to avoid
8315         nulls. Fixes #34909.
8317 2002-12-03  Gonzalo Paniagua Javier <gonzalo@ximian.com>
8319         * AppDomain.cs: DoAssemblyResolve now returns when one of the handlers
8320         returns a non-null assembly.
8322 2002-12-03  Gonzalo Paniagua Javier <gonzalo@ximian.com>
8324         * MulticastDelegate.cs: make GetInvocationList work for more than 1
8325         delegate.
8327 2002-12-02  Gonzalo Paniagua Javier <gonzalo@ximian.com>
8329         * MulticastDelegate.cs: implemented GetInvocationList. I'll check later
8330         if this is the correct order of invocation.
8332 2002-12-02  Gonzalo Paniagua Javier <gonzalo@ximian.com>
8334         * Type.cs: changed the signature of internal_from_name. Modified
8335         the overloads of GetType to use it and check the typeName argument.
8336         Implemented FindInterfaces.
8338 2002-11-29  Gonzalo Paniagua Javier <gonzalo@ximian.com>
8340         * MarshalByRefObject.cs: undo latest changes. It breaks the build by
8341         some obscure reasons (try make -f makefile.gnu using a corlib which has
8342         the modified version).
8344 2002-11-26  Miguel de Icaza  <miguel@ximian.com>
8346         * String.cs (Concat): Reduce the number of compares required. 
8348 Mon Nov 18 17:54:22 CET 2002 Paolo Molaro <lupus@ximian.com>
8350         * Activator.cs: throw a MissingMethodException if the default
8351         constructor is not found in CreateInstance.
8353 2002-11-13  Gonzalo Paniagua Javier <gonzalo@ximian.com>
8355         * String.cs:
8356         (Equals (str, str)): use 'as' instead of casting to object.
8357         (Equals (obj)): check the length of the strings (until now,
8358         "Hello".Equals ((object) "Hellow World!) was true!).
8360 2002-11-04  Gonzalo Paniagua Javier <gonzalo@ximian.com>
8362         * MonoType.cs: implemented GetEvent (name, flags).
8364 2002-11-03  Gonzalo Paniagua Javier <gonzalo@ximian.com>
8366         * AppDomain.cs: implemented a couple of methods called from the runtime
8367         to fire AssemblyLoad and AssemblyResolve events.
8369 2002-10-31  Dick Porter  <dick@ximian.com>
8371         * Environment.cs: MonoIO methods now have an error parameter
8373 2002-10-29  Zoltan Varga  <vargaz@freemail.hu>
8375         * Enum.cs: Added support for whitespaces in Enum:Parse().
8377 2002-10-29  Gonzalo Paniagua Javier <gonzalo@ximian.com>
8379         * Type.cs: fixed GetProperty (string, Type []) and removed get_property
8380         internal call. Closes bug #32992.
8382 2002-10-29  Gonzalo Paniagua Javier <gonzalo@ximian.com>
8384         * Exception.cs: display the inner exception, if any, in ToString ().
8386 2002-10-24  Gonzalo Paniagua Javier <gonzalo@ximian.com>
8388         * Environment.cs: fixed StackTrace property.
8390 2002-10-16  Nick Drochak  <ndrochak@gol.com>
8392         * Enum.cs (Parse): Then fix the code so that it works too.
8394 2002-10-15  Nick Drochak  <ndrochak@gol.com>
8396         * Enum.cs (Parse): Use unsigned casts to avoid compiler warnings.
8398 2002-10-12  Nick Drochak  <ndrochak@gol.com>
8400         * IntegerFormatter.cs: Fix compiler warnings.
8402 2002-10-11  Tim Haynes <thaynes@openlinksw.com>
8404         * Type.cs (GetConstructors): Use the correct flags.
8406 2002-10-09  Nick Drochak  <ndrochak@gol.com>
8408         * IntegerFormatter.cs: Suppress insignificant leading zeros
8410 Fri Sep 27 15:06:29 CEST 2002 Paolo Molaro <lupus@ximian.com>
8412         * MonoCustomAttrs.cs: applied patch by "Si Jingnan"
8413         <stonewell@21cn.com> to return also derived types.
8415 2002-09-26  Gonzalo Paniagua Javier <gonzalo@ximian.com>
8417         * Activator.cs: little fix in CreateInstance (Type, bool).
8419 2002-09-19  Duncan Mak  <duncan@ximian.com>
8421         * Array.cs (CopyTo): Revert back to 1.40, this is stopping
8422         I18N/Common from building right now.
8424 2002-09-19  Nick Drochak  <ndrochak@gol.com>
8426         * Array.cs (CopyTo): Account for Object type and base (primitive) types
8427         * Type.cs (IsAssignableFrom): return false for a null parameter
8429 2002-09-19  Nick Drochak <ndrochak@gol.com>
8431         * Array.cs (CopyTo): Check that source type can be cast automatically
8432         to the destination type.
8434 2002-09-18  Gonzalo Paniagua Javier <gonzalo@ximian.com>
8436         * Type.cs: implemented IsAssignableFrom, DefaultBinder and
8437         GetDefaultMembers.
8439 2002-09-12  Gonzalo Paniagua Javier <gonzalo@ximian.com>
8441         * Char.cs: implemented ToString (char)
8442         * IntegerFormatter.cs: made it internal.
8444 2002-09-13  Nick Drochak  <ndrochak@gol.com>
8446         * Enum.cs (Format): handle the "d" format for both signed and unsigned
8447         underlying types.
8449 2002-09-12  Dick Porter  <dick@ximian.com>
8451         * UIntPtr.cs: Remove the [StructLayout(LayoutKind.Auto)]
8452         attribute, as there doesn't appear to be any struct
8453         layout-depending code here (and corcompare says it should be
8454         LayoutKind.Sequential)
8456         * Decimal.cs: Stub out missing methods, add
8457         [DecimalConstantAttribute] to the constant fields (as shown by
8458         corcompare).
8460         * LocalDataStoreSlot.cs: 
8461         * Environment.cs: 
8462         * Char.cs: 
8463         * Array.cs: Stub out missing methods.
8465         * TypedReference.cs: 
8466         * ArgIterator.cs: Stub out
8468         * AppDomainSetup.cs: 
8469         * AppDomain.cs: Stub out missing methods, add missing
8470         ClassInterface(ClassInterfaceType.None) attribute.
8472 2002-09-12  Nick Drochak  <ndrochak@gol.com>
8474         * Double.cs (ToString): Throw exception when "X" format is passed in.
8476 Wed Sep 11 15:26:34 CEST 2002 Paolo Molaro <lupus@ximian.com>
8478         * MonoType.cs: implemented Module property.
8480 Wed Sep 11 12:49:51 CEST 2002 Paolo Molaro <lupus@ximian.com>
8482         * MonoType.cs, Type.cs: implemented InvokeMember.
8484 Wed Sep 11 11:06:43 CEST 2002 Paolo Molaro <lupus@ximian.com>
8486         * Delegate.cs: check the type passed to CreateDelegate is a Delegate
8487         type. Check the method signature matches.
8489 Sat Sep 7 10:16:52 CEST 2002 Paolo Molaro <lupus@ximian.com>
8491         * RuntimeMethodHandle.cs: implemented GetFunctionPointer().
8493 2002-09-06  Miguel de Icaza  <miguel@ximian.com>
8495         * Console.cs: Specify an encoder, otherwise we will get the UTF8
8496         encoder that by default emits the byte markers.
8498 Fri Sep 6 20:14:04 CEST 2002 Paolo Molaro <lupus@ximian.com>
8500         * Delegate.cs: look also for non-public methods until we have the
8501         security checks in place.
8503 Fri Sep 6 12:20:06 CEST 2002 Paolo Molaro <lupus@ximian.com>
8505         * MonoType.cs: consider also the full name in GetInterface.
8507 Fri Sep 6 12:11:28 CEST 2002 Paolo Molaro <lupus@ximian.com>
8509         * MonoType.cs: implemented GetMembers, GetConstructorImpl and
8510         GetMethodImpl using the binder.
8511         * Type.cs: GetConstructorImpl/GetConstructor fixes.
8513 2002-09-03  Jonathan Pryor <jonpryor@vt.edu>
8514         * Enum.cs: Get rid of warning CS0162.
8516 2002-09-04  Miguel de Icaza  <miguel@ximian.com>
8518         * Double.cs, Single.cs, Char.cs, Boolean.cs: Use internal for the
8519         actual value instead of public.
8521         * LocalDataStoreSlot.cs: Make constructor internal.
8523         * Int16.cs, UInt16.cs, Int32.cs, UInt32.cs, Int64.cs, UInt64.cs,
8524         SByte.cs, Byte.cs, Char.cs: Use internal for the actual value
8525         instead of public.
8527 2002-09-03  Jonathan Pryor <jonpryor@vt.edu>
8528         * Enum.cs: Fixed Enum.Format so that the "x" format specifier would work
8529                    properly.
8531 2002-08-28  Gonzalo Paniagua Javier <gonzalo@ximian.com>
8533         * DateTime.cs: fixed buglet.
8535 Tue Aug 27 16:39:47 CEST 2002 Paolo Molaro <lupus@ximian.com>
8537         * MonoType.cs: speedup access to common data.
8539 2002-08-23  Gonzalo Paniagua Javier <gonzalo@ximian.com>
8541         * Double.cs: implemented TryParse.
8543         * Math.cs: PowImpl is now private.
8545         * MissingFieldException.cs: implemented Message.
8547         * RuntimeMethodHandle.cs: stubbed GetFunctionPointer.
8549         * _AppDomain.cs: Uncommented ToString.
8551 2002-08-23  Gonzalo Paniagua Javier <gonzalo@ximian.com>
8553         * Type.cs:
8554         (IsValueTypeImpl): it's virtual, not abstract. Implemented.
8556 2002-08-23  Gonzalo Paniagua Javier <gonzalo@ximian.com>
8558         * ArgumentException.cs: use the field instead of the property for
8559         param_name.
8561         * ArgumentOutOfRangeException.cs: modified Message.
8563         * DateTime.cs: 
8564         (_DoParse): throw out of range exception for year. Removed check
8565         for month (it's done in the constructor).
8567 2002-08-21  Miguel de Icaza  <miguel@ximian.com>
8569         * Environment.cs: Implemented OSVersion property.
8571 2002-08-21  Dietmar Maurer  <dietmar@ximian.com>
8573         * Exception.cs: set stack_trace to null
8575 Wed Aug 21 13:02:20 CEST 2002 Paolo Molaro <lupus@ximian.com>
8577         * AppDomain.cs: implemented ToString().
8579 2002-08-20  Gonzalo Paniagua Javier <gonzalo@ximian.com>
8581         * AppDomain.cs: securityInfo can be null in CreateDomain.
8583 2002-08-19  Dick Porter  <dick@ximian.com>
8585         * MonoType.cs: Add a space before the Assembly name in
8586         AssemblyQualifiedName (needed for resource files so the MS runtime
8587         can load types)
8589 2002-08-19  Gonzalo Paniagua Javier <gonzalo@ximian.com>
8591         * AppDomain.cs: parameter name when throwing ArgumentNullException.
8593         * ArgumentException.cs: modified Message to do what MS does.
8595         * ArgumentNullException.cs: don't use {0} in message.
8597         * Exception.cs: use Message property in ToString ().
8599 2002-08-14  Cesar Octavio Lopez Nataren <cesar@ciencias.unam.mx>
8601         * WeakReference.cs: Changed the constructor and GetObjectData
8602         method needed for ISerializable implementation in order to be
8603         compatible with SOAP generated by MS.
8605 Wed Aug 14 17:34:07 CEST 2002 Paolo Molaro <lupus@ximian.com>
8607         * MonoType.cs, Type.cs: DeclaringType/ReflectedType fixes.
8609 2002-08-12  Dietmar Maurer  <dietmar@ximian.com>
8611         * Exception.cs (ToString): changed the ouput format.
8613 2002-08-07  Dietmar Maurer  <dietmar@ximian.com>
8615         * MonoType.cs: moved get_method icall to this class, we can
8616         remove it as soon someone provides a full featured GetMethodImpl.
8618         * Type.cs: use GetMethodImpl everywhere.
8620         * Delegate.cs: new CreateDelegate implementations.
8622 2002-08-06  Tim Coleman <tim@timcoleman.com>
8623         * MonoType.cs: 
8624                 Fix bug #28582.  Now checks parameters for properties
8625                 in GetPropertyImpl.
8627 2002-08-04  Nick Drochak  <ndrochak@gol.com>
8629         * Buffer.cs: Throw correct exception in GetByte() and SetByte().
8631 2002-08-01  Gonzalo Paniagua Javier <gonzalo@ximian.com>
8633         * String.cs:
8634         (FormatSpecifier): allow white space between the comman and the width
8635         specifier.
8637 2002-07-22  Gonzalo Paniagua Javier <gonzalo@ximian.com>
8639         * Int32.cs:
8640         * Int64.cs:
8641         * UInt32.cs:
8642         * UInt64.cs: fixed bug #28050. May be a MS bug?
8644 Thu Jul 18 14:47:03 CEST 2002 Paolo Molaro <lupus@ximian.com>
8646         * MonoType.cs: fix IsArrayImpl.
8648 2002-07-13  Gonzalo Paniagua Javier <gonzalo@ximian.com>
8650         * String.cs: make ToLower (culture) and ToUpper (culture) use the
8651         default ToLower and ToUpper and don't throw NotImplemented.
8653 Sat Jul 13 15:09:01 CEST 2002 Paolo Molaro <lupus@ximian.com>
8655         * Type.cs: make GettTypeCode an icall. Test implementation of
8656         GetMember().
8658 2002-07-13  Gonzalo Paniagua Javier <gonzalo@ximian.com>
8660         * AppDomainSetup.cs: implemented LoaderOptimization.
8662 2002-07-10  Gonzalo Paniagua Javier <gonzalo@ximian.com>
8664         * Activator.cs: some more intermediate results checking in
8665         in CreateInstance and CreateInstanceFrom and use GetConstructor and
8666         Invoke only with Type [] until the other overloaded versions work.
8668 2002-07-09  Gonzalo Paniagua Javier <gonzalo@ximian.com>
8670         * Activator.cs: reformatted. Implemented CreateInstance* methods
8671         that return ObjectHandle.
8673         * AppDomain.cs: implemented CreateInstance*AndUnwrap methods.
8675 2002-07-03  Nick Drochak  <ndrochak@gol.com>
8677         * Decimal.cs (Divide): Short cut the case where the dividend is 0 (and
8678         the divisor is not) and avoid the icall, which seems to have a bug.
8680 2002-07-03  Nick Drochak  <ndrochak@gol.com>
8682         * Double.cs (CompareTo): Correctly handle the case where the instance
8683         is NaN. Also return 0 if the values are equal.
8685 2002/07/03  Nick Drochak <ndrochak@gol.com>
8687         * MissingMethodException: Add missing Message property
8688         * MissingMemberException: Add missing Message property
8690 2002-06-30  Nick Drochak  <ndrochak@gol.com>
8692         * Double.cs (CompareTo): Just see which is bigger.  Don't use the
8693         subtraction trick, it doesn't work when the values have a diference of
8694         less than one.
8696         * Single.cs (CompareTo): same
8698 2002-06-27  Martin Baulig  <martin@gnome.org>
8700         * UIntPtr.cs (UIntPtr.Zero): Use an explicit `u' suffix in the
8701         constructor argument.  [FIXME: The implicit conversion to an
8702         unsigned integer doesn't work with mcs.]
8704 2002-06-26  Martin Baulig  <martin@gnome.org>
8706         * DecimalFormatter.cs: Removed MSTEST stuff, use `System',
8707         not `S = System'.  This file now compiles with mcs.
8709         * String.cs: Removed the already ifdef-outed __arglist Concat function
8710         to make it compile with mcs.
8712 2002-06-24  Gonzalo Paniagua Javier <gonzalo@ximian.com>
8714         * IntegerFormatter.cs:
8715         (FormatParse.FormatNumber): fixed custom format for negative numbers.
8717 2002-06-21  Martin Baulig  <martin@gnome.org>
8719         * Double.cs: Replace the private `enum State' with constants since this
8720         will avoid some bigger headaches in mcs.
8722 Thu Jun 20 17:51:44 CEST 2002 Paolo Molaro <lupus@ximian.com>
8724         * TimeSpan.cs: do not pollute the namespace with the
8725         System.Parser name.
8727 2002-06-18  Nick Drochak  <ndrochak@gol.com>
8729         * ArgumentException.cs: Use the message given in the constructor when
8730         accessing the Message property.  Thanks to Dietmar for the help with 
8731         "base".
8733 2002-06-17  Dietmar Maurer  <dietmar@ximian.com>
8735         * MonoType.cs: GetField is now a InternalCall
8737 2002-06-13  Nick Drochak  <ndrochak@gol.com>
8739         * DateTime.cs: (Parse): Accept dates that have no hour,min,sec. in the
8740         sortable format(s), e.g. "2002-02-25"
8742 2002/06/12  Nick Drochak <ndrochak@gol.com>
8744         * Random.cs (Next): Fix math error.  Return a number within the range.
8746 2002-06-12  Nick Drochak  <ndrochak@gol.com>
8748         * String.cs (IndexOf): Return -1 if start index is equal to string
8749         length.
8751 2002-06-10  Duncan Mak  <duncan@ximian.com>
8753         * Convert.cs (ToDouble): Remove rounding in ToDouble (float).
8754         (ToType): Added null field in conversionTable to avoid
8755         IndexOutOfRangeException. Changed what exceptions we throw to match
8756         the spec.
8757         
8758 2002-06-11  Nick Drochak  <ndrochak@gol.com>
8760         * Int64.cs (Parse): Added unique strings to the messages where we throw
8761         a FormatException. Needed these to debug, so just left them in since
8762         they might be useful later. Fixed Currency parsing where we weren't
8763         looking at CurrencyDecimalSeparator, etc.
8765 2002-06-09  Lawrence Pit  <loz@cable.a2000.nl>
8767         * DateTime.cs: fixes to pass tests M0 to M6:
8768                 if yy pattern then year values >= 30 are in 20th century
8769                 rfc1123 pattern is always in GMT, therefor useutc must be false
8770         made GetNow() internal static so it can be called from TimeZone.
8771         * TimeZone.cs: removed dependency on year 2002 from initialization of 
8772         current timezone.
8774 2002-06-09  Duncan Mak  <duncan@ximian.com>
8776         * Convert.cs (ToType): Rearranged what Exceptions we throw to
8777         match MS behavior.
8779 2002-06-08  Duncan Mak  <duncan@ximian.com>
8781         * Decimal.cs: Added support for the IConvertible interface.
8783 2002-06-08  Martin Baulig  <martin@gnome.org>
8785         * Enum.cs (IsDefined): `value' may be of the enum's type itself, it
8786         doesn't necessarily need to be of the enum's underlying type.
8788 2002/06/07  Nick Drochak <ndrochak@gol.com>
8790         * String.cs: Add [Serializable] to class
8791         * SByte.cs (Parse): Add [CLSCompliant(false)] to all the overloads
8793 2002-06-04  Nick Drochak  <ndrochak@gol.com>
8795         * Double.cs (Parse): Recognize the group separator string, but still we
8796         don't check the format for the proper number of digits between
8797         separators. Also throw OverflowException when we get Pos or Neg
8798         Infinity from runtime.
8800 2002-06-03  Duncan Mak  <duncan@ximian.com>
8802         * Convert.cs (ToDouble): Fixed ToDouble (byte value).
8804 Mon Jun 3 12:18:18 CEST 2002 Paolo Molaro <lupus@ximian.com>
8806         * Type.cs: fixed GetTypeCode.
8808 2002-06-02  Duncan Mak  <duncan@ximian.com>
8810         * Convert.cs (ToInt16): use Convert.ToInt16 (int) instead of a direct
8811         cast from an int so that we throw OverFlowException correctly.
8812         
8813         (ToInt64): Use a new 64bit version of ConvertToBase.
8814         
8815         (ConvertToBase): Add checks for overflow (checks Int32.MinValue
8816         and Int32.MaxValue).
8818         (ConvertFromBase64): New 64-bit version of ConvertFromBase.
8820 2002-06-02  Nick Drochak  <ndrochak@gol.com>
8822         * Convert.cs (ToSByte): Check for special value.
8823         * Single.cs (Parse): 
8824         * UInt16.cs (Parse):
8825         * UInt32.cs (Parse): Throw OverflowException if negative
8827 2002-06-02  Duncan Mak  <duncan@ximian.com>
8829         * Convert.cs (DBNull): Point it to DBNull.Value.
8830         (IsDBNull): Instead of checking typecodes, just check to see if
8831         it's the same as the DBNull field.
8833 2002-06-02  Nick Drochak  <ndrochak@gol.com>
8835         * Convert.cs (ConvertFromBase): Detect bad digits correctly.
8837 2002-06-02  Duncan Mak  <duncan@ximian.com>
8839         * Char.cs (Parse): Simplify the Exception handling.
8841         * Convert.cs (ToDecimal): Remove call to Math.Round () when
8842         converting from a float.
8844 2002-05-30  Martin Baulig  <martin@gnome.org>
8846         * MonoType.cs (GetInterface): Implemented.
8848 Thu May 23 17:17:28 CEST 2002 Paolo Molaro <lupus@ximian.com>
8850         * Activator.cs: implemented CreateInstance ().
8852 2002-05-22  Duncan Mak  <duncan@ximian.com>
8854         * Convert.cs (ConvertToBase): Added new 64bit version.
8855         (BuildConvertedString64): New 64bit version of
8856         BuildConvertedString.
8858         This fixes bug 25068.
8860         (ConvertFromBase): Added additional test for checking if the
8861         digits are valid. Thanks to Miguel for coming up with this test.
8863         This fixes bug 25071.
8864         
8865 2002-05-21  Duncan Mak  <duncan@ximian.com>
8867         * Convert.cs (ToType): Rearranged to fit the new layout of
8868         conversionTable.
8870         (conversionTable): Rearranged to fit the layout of the
8871         System.TypeCode enum.
8873         This should fix bug 25075.
8874         
8875 2002-05-21  Duncan Mak  <duncan@ximian.com>
8877         * Convert.cs (ToString): Fixed the ToString methods. Previously I had
8878         mixed up the two code paths, one for converting to a specific base
8879         (this case), another from converting from a foreign base to base10
8880         (used by ToInt16|32|64 (string, int)). This fixes bug 25068.
8882         * Convert.cs (ToByte)
8883         (ToSByte): Fixed bug 25074. Added more bits to ConvertFromBase so
8884         that we won't confuse FormatException with OverflowException.
8886 2002-05-22  Lawrence Pit  <loz@cable.a2000.nl>
8888         * Environment.cs: CommandLine missed spaces between arguments.
8889         Implemented StackTrace. Returning MachineName in UserDomainName
8890         instead of null.
8891         
8892 Tue May 21 17:25:49 CEST 2002 Paolo Molaro <lupus@ximian.com>
8894         * MonoCustomAttrs.cs: handle inherit argument.
8896 2002-05-21  Nick Drochak  <ndrochak@gol.com>
8898         * Math.cs (Pow): Change icall method name and insert parameter
8899         checks in for infinities and NaN.
8901 2002-05-13  Miguel de Icaza  <miguel@ximian.com>
8903         * Double.cs (Parse): Reimplement by cleaning up the string first,
8904         and then passing to strtof in the mono runtime.
8906         * Single.cs (Parse): Use the Double implementation and cast to
8907         float. 
8909 2002-05-21  Nick Drochak  <ndrochak@gol.com>
8911         * Math.cs 
8912                 (Ceiling): Check for "special" values
8913                 (Floor): Check for "special" values
8914                 (Round): Fix off-by-one error on decimal shifting
8916 2002-05-20  Lawrence Pit  <loz@cable.a2000.nl>
8918         * DateTime.cs: ToString () using "G" format specifier 
8920 2002-05-19  Martin Baulig  <martin@gnome.org>
8922         * Convert.cs (FromBase64CharArray): Do correct exception handling.
8924 2002-05-19  Martin Baulig  <martin@gnome.org>
8926         * Convert.cs (FromBase64CharArray): Convert the char array using
8927         System.Text.UTF8Encoding, not UnicodeEncoding (which is UTF-16) to
8928         a byte array.
8930 2002-05-17  Miguel de Icaza  <miguel@ximian.com>
8932         * MonoType.cs: Style changes.
8934         * Type.cs: Style changes.
8936 2002-05-16  Piers Haken <piersh@friksit.com
8938         * UInt64.cs: fix declaration of IConvertible.To* overrides.
8940 2002-05-16  Nick Drochak  <ndrochak@gol.com>
8942         * BitConverter.cs (ToString): Add parameter check for invalid start 
8943         index.
8945         * Console.cs: Use AutoFlush on the StreamWriter for stdin and stdout
8946         now that StreamWriter uses buffering
8948 2002-05-14  Miguel de Icaza  <miguel@ximian.com>
8950         * Double.cs: Oops.  Also handle exponents without finding a dot.
8952 2002-05-14  Gonzalo Paniagua Javier <gonzalo@ximian.com>
8954         * ChangeLog: removed empty entry at the top of the file.
8956         * Int32.cs: made static functions used by Parse internal.
8958         * Int64.cs:
8959         * UInt32.cs:
8960         * UInt64.cs: removed static fucntions used by Parse and use the ones
8961         in Int32.cs
8963 2002-05-12  Daniel Morgan <danmorg@sc.rr.com>
8965         * IServiceProvider.cs: added using System
8967 2002-05-09  Daniel Morgan <danmorg@sc.rr.com>
8969         * Single.cs: copied ToString() and Parse() methods from 
8970         Double to Single and modified a tiny bit for Single.  
8971         There is still a FIXME for Double and Single about
8972         passing the format and provider info to the icall too.
8974 2002-05-02  Gonzalo Paniagua Javier <gonzalo@ximian.com>
8976         * Int32.cs:
8977         * Int64.cs:
8978         * UInt32.cs:
8979         * UInt64.cs (Parse): don't use Char.IsNumber to test for hex digits.
8980         Don't use a delegate to test for valid digits.
8982 2002-05-01  Duncan Mak  <duncan@ximian.com>
8984         * Convert.cs: 
8985         * Math.cs: Added missing CLSCompliant attributes where necessary.
8986         
8987 2002-04-30  Duncan Mak  <duncan@ximian.com>
8989         * ArgumentException.cs (Message): 
8990         * ArgumentOutOfRangeException.cs (Message): Added.
8992 2002-04-30  Nick Drochak  <ndrochak@gol.com>
8994         * MonoType.cs: Remove unused variable and eliminate a compiler warning.
8996 Mon Apr 29 15:32:02 CEST 2002 Paolo Molaro <lupus@ximian.com>
8998         * Environment.cs: support for Exit(), CommandLine, CommandLineArgs ().
9000 2002-04-28  Duncan Mak  <duncan@ximian.com>
9002         * DivideByZeroException.cs: Added missing serialization constructor.
9004         * UnauthorizedAccessException.cs: Added the missing Serializable attribute.
9006 2002-04-28  Gonzalo Paniagua Javier <gonzalo@ximian.com>
9008         * Math.cs: fix Floor () and Round (). Closes #23960.
9010 2002-04-27  Nick Drochak  <ndrochak@gol.com>
9012         * Array.cs (IList.Contains): Should throw a RankException if this is 
9013         called on a Rank > 1 array. Not in the docs, but this is what the 
9014         MS.NET does.
9016 2002-04-26  Duncan Mak  <duncan@ximian.com>
9018         * MissingMemberException.cs: Made the message variable 'protected'
9019         instead of 'private', so that we can see it in
9020         MissingMethodException and MissingFieldException.
9022         * MissingFieldException.cs:
9023         * MissingMethodException.cs: Added missing (string, string)
9024         constructor, and also the Message property.
9026 2002-04-26  Martin Baulig  <martin@gnome.org>
9028         * Enum.cs: Implemented the IConvertible methods.
9030 2002-04-25  Gonzalo Paniagua Javier <gonzalo@ximian.com>
9032         * SByte.cs: little change in Parse (string) to avoid incorrect
9033         OverflowException thrown (reported by nickd).
9035 2002-04-22  Miguel de Icaza  <miguel@ximian.com>
9037         * ValueType.cs: Add Serializable attribute.
9039         * String.cs: ifdef-out out the __arglist Concat function until I
9040         add support for that to mcs.
9042 2002-04-24      Patrik Torstensson <patrik.torstensson@labs2.com>
9044         * AppDomain.cs (GetValue): usage of the correct icall (bug)
9046 Wed Apr 24 21:15:44 CEST 2002 Paolo Molaro <lupus@ximian.com>
9048         * GC.cs: implement most of the methods as icalls.
9050 2002-04-24  Gonzalo Paniagua Javier <gonzalo@ximian.com>
9052         * DecimalFormatter.cs (ToString): return correct value when the
9053         decimal number is 0.
9055 2002-04-24      Patrik Torstensson <patrik.torstensson@labs2.com>
9056         
9057         * Type.cs (GetProperty): fixed call syntax (needs an empty array not null)
9058         * MonoType.cs (GetPropertyImpl) : basic implementation (ignores types, bindingAttr, modifiers)
9060 2002-04-24  Nick Drochak  <ndrochak@gol.com>
9062         * Double.cs (Parse): Handle case where there are no digits before the 
9063         decimal point, such as ".1".
9065 2002-04-23  Gonzalo Paniagua Javier <gonzalo@ximian.com>
9067         * Int32.cs:
9068         * UInt32.cs:
9069         * Int64.cs:
9070         * UInt64.cs: fixed bug #23738 (hex numbers parsed wrong).
9072 2002-04-23      Patrik Torstensson <patrik.torstensson@labs2.com>
9074         * String.cs (Split): fixed invalid split of count 0 and 1.
9075         
9076 2002-04-23      Patrik Torstensson <patrik.torstensson@labs2.com>
9077         
9078         * String.cs (LastIndexOf): fixed argument checking.
9079         * String.cs (Equals): made internal for performace.
9081 2002-04-23  Nick Drochak  <ndrochak@gol.com>
9083         * String.cs (Join): check argument and throw exception if needed
9085 2002-04-23  Nick Drochak  <ndrochak@gol.com>
9087         * String.cs (StartsWith): check argument and throw exception if needed
9089 2002-04-22  Nick Drochak  <ndrochak@gol.com>
9091         * String.cs (IndexOfAny): check arguments and throw exceptions as
9092         neccessary.  ALso remove some debug WriteLines.
9094 2002-04-20  Dietmar Maurer  <dietmar@ximian.com>
9096         * String.cs: use internal constructors
9097         buf fix in Concat.
9099 Thu Apr 18 17:16:15 CEST 2002 Paolo Molaro <lupus@ximian.com>
9101         * MonoType.cs: make GetElementType its own icall.
9103 2002-04-18  Nick Drochak <ndrochak@gol.com>
9105         * String.cs: Modified file. Re-add methods needed by the unit tests.
9107 Thu Apr 18 12:38:32 CEST 2002 Paolo Molaro <lupus@ximian.com>
9109         * String.cs: some code speedups and restored GetTypeCode().
9111 2002-04-17      Patrik Torstensson <patrik.torstensson@labs2.com>
9113         * String.cs: New implementation using internal calls.
9114         
9115 2002-04-16  Nick Drochak  <ndrochak@gol.com>
9117         * DecimalFormatter.cs: Trim off excess null characters from the string
9118         that decimal2string gives back.
9120 2002-04-16  Nick Drochak  <ndrochak@gol.com>
9122         * String.cs (SubString): revert my change.  I can't reproduce the
9123         problem anymore.
9125 2002-04-13  Gonzalo Paniagua Javier <gonzalo@ximian.com>
9127         * Attribute.cs: added GetHashCode and Equals.
9129 2002-04-12  Gonzalo Paniagua Javier <gonzalo@ximian.com>
9131         * Enum.cs: little improvements to Format ().
9133 Thu Apr 11 12:28:13 CEST 2002 Paolo Molaro <lupus@ximian.com>
9135         * String.cs: internalcall GetHashCode().
9136         * Array.cS: optimize access to elements.
9138 Wed Apr 10 21:20:19 CEST 2002 Paolo Molaro <lupus@ximian.com>
9140         * String.cs: make IndexOfAny() use an internalcall.
9142 2002-04-10  Gonzalo Paniagua Javier <gonzalo@ximian.com>
9144         * Int32.cs:
9145         * UInt32.cs:
9146         * Int64.cs: 
9147         * UInt64.cs: fixed error when testing for validity of flags.
9149 2002-04-11  Nick Drochak  <ndrochak@gol.com>
9151         * Double.cs: Use an internal call for ToString(). This is just a simple
9152         implementation to get away from throwing a NotImplementedException.
9154 2002-04-10  Gonzalo Paniagua Javier <gonzalo@ximian.com>
9156         * Int32.cs:
9157         * UInt32.cs:
9158         * Int64.cs: 
9159         * UInt64.cs: changed Type.GetType () by typeof (), as suggested by
9160         lupus.
9162         * Int32.cs:
9163         * Int64.cs: throw an OverFlowException when parsing a string 
9164         containing a dot followed by any non '0' number.
9166 2002-04-10  Gonzalo Paniagua Javier <gonzalo@ximian.com>
9168         * Byte.cs:
9169         * UInt16.cs:
9170         * UInt32.cs:
9171         * UInt64.cs: added complex Parse ().
9173 2002-04-09  Gonzalo Paniagua Javier <gonzalo@ximian.com>
9175         * SByte.cs:
9176         * Int16.cs:
9177         * Int32.cs:
9178         * Int64.cs: added complex Parse ().
9180 2002-04-09  Nick Drochak  <ndrochak@gol.com>
9182         * Array.cs (BinarySearch): Add checks on paramters before using them
9183         and throw exceptions as needed.
9185         * Enum.cs (Format): Check if [Flags] is applied to enum and convert
9186         "G" format to "F" if so.
9188 Tue Apr 9 13:12:09 CEST 2002 Paolo Molaro <lupus@ximian.com>
9190         * MonoCustomAttrs.cs: return arrays of type Attribute[]
9191         instead of object[].
9193 2002/04/09  Nick Drochak <ndrochak@gol.com>
9195         * String.cs (Substring): Copy only non-null characters to the new
9196         string.
9198 2002-04-09  Nick Drochak  <ndrochak@gol.com>
9200         * IntegerFormatter.cs: Don't use a format character to indicate a
9201         custom format was passed in. It was using 'z' to indicate a custom
9202         format, but really it should throw a format exception if the user
9203         tries to use "z" as the format string. Now it does.
9205         * Activator.cs: New File.
9207 2002-04-08  Nick Drochak  <ndrochak@gol.com>
9209         * Enum.cs (ToString): Big ugly fix for the case where [Flags] is
9210         applied to an enum. Need to handle the different possible integer
9211         types of an enum somehow.  Can anyone say generics?
9213 Mon Apr  8 06:22:42  2002 Piers Haken <piersh@friskit.com>
9215         * Convert.cs: switched the To*(object) methods to use
9216         IConvertible directly instead of calling ChangeType
9218 Sat Apr 6 20:08:41 CEST 2002 Paolo Molaro <lupus@ximian.com>
9220         * ValueType.cs: make Equals() an internalcall.
9222 Fri Apr 5 15:38:54 CEST 2002 Paolo Molaro <lupus@ximian.com>
9224         * Type.cs: also look for nested types in FindMembers.
9225         * MonoType.cs: make GetNestedTypes() an internalcall.
9227 2002-04-05  Nick Drochak  <ndrochak@gol.com>
9229         * Enum.cs (Parse): Handle different underlying types.
9231 2002/04/04 Nick Drochak <ndrochak@gol.com>
9233         * Enum.cs (IsDefined): Throw exception when type of value to look for
9234         is not the correct one.  Attempt to have it work with string values
9235         too, but not sure if the unit tests are getting that far yet.
9237 2002-04-04  Nick Drochak  <ndrochak@gol.com>
9239         * Decimal.cs: Fix a couple of typos.
9241 Wed Apr 3 19:46:00 CEST 2002 Paolo Molaro <lupus@ximian.com>
9243         * Enum.cs: the values array is of the enum and not of the underlying
9244         type. Updates and some bug fixes.
9245         * MonoType.cs: make the internalcall return FullName instead of the
9246         assembly qualified name.
9247         * Type.cs: make ToString () simply return FullName.
9249 2002-04-03  Nick Drochak  <ndrochak@gol.com>
9251         * Type.cs (GetTypeCode): provide some of the implementation for this
9252         method.  It's still too simplistic to be considered complete.
9254 2002-04-02  Dietmar Maurer  <dietmar@ximian.com>
9256         * Object.cs: fixed FieldGetter/FieldSetter signature
9258 2002-04-02  Nick Drochak  <ndrochak@gol.com>
9260         * Environment.cs: add MonoTODO's on parts that should have it.
9262 2002-04-01  Nick Drochak  <ndrochak@gol.com>
9264         * Enum.cs: added reality checks (check parameters to most methods that
9265         need them).
9267 2002-03-30  Dietmar Maurer  <dietmar@ximian.com>
9269         * Object.cs: added FieldGetter/FieldSetter
9271 2002-03-28  Gonzalo Paniagua Javier <gonzalo@ximian.com>
9273         * IntegerFormatter.cs: fixed initialization error in static
9274         constructor.
9276 2002-03-28  Dietmar Maurer  <dietmar@ximian.com>
9278         * Delegate.cs: added new field to store a trampoline function
9280 2002-03-28  Gonzalo Paniagua Javier <gonzalo@ximian.com>
9282         * IntegerFormatter.cs: added workaround for bug #22668. First patch to
9283         make custom format strings work (not fully functional yet).
9285 2002/03/28  Nick Drochak <ndrochak@gol.com>
9287         * IntegerFormatter.cs: Change class from internal to public.  Add
9288         necessary [CLSCompliant(false)] attributes.
9290 2002-03-27  Duco Fijma  <duco@lorentz.xs4all.nl>
9291         * _AppDomain.cs, AppDomain.cs: renamed method GetDate to GetData
9292         (was a typo)
9294 2002-03-28  Nick Drochak  <ndrochak@gol.com>
9296         * Type.cs: Added MonoTODO tags on members that have FIXME, etc.
9298 2002-03-27  Dan Lewis  <dihlewis@yahoo.co.uk>
9300         * Console.cs: Modified to get std handles from MonoIO.
9301         * Environment.cs: removed PAL dependencies.
9303 2002-03-25  Miguel de Icaza  <miguel@ximian.com>
9305         * String.cs (System): Removed internal enumeration, because
9306         bootstrapping the corlib at this point does not support
9307         enumerations. 
9309         * IntPtr.cs: Temporary work-around until I fix the assembly
9310         attributes bug.
9312 2002-03-24  Martin Baulig  <martin@gnome.org>
9314         * Enum.cs (GetValues): According to the docu this is sorted after
9315         values, not names.
9317         * String.cs (System): Removed enumeration, because it is pretty
9318         hard to support enumerations in /nostdlib mode for the core types.
9320 Tue Mar 19 18:18:49 CET 2002 Paolo Molaro <lupus@ximian.com>
9322         * Array.cs: move error handling in the catch block.
9323         * MulticastDelegate.cs: remove == and != operators that were
9324         removed with the delegate changes (when you add stuff, please do not
9325         remove existing functionality!).
9326         * Type.cs: if a property is not found in a type, search for it
9327         in the parent types, too.
9329 2002-03-18  Dan Lewis <dihlewis@yahoo.co.uk>
9330         
9331         * Math.cs: changed to use icall instead of PAL.
9333 2002-03-18  Dietmar Maurer  <dietmar@ximian.com>
9335         * Double.cs: added check for NaN (Bug [22082])
9337 2002-03-19  Nick Drochak  <ndrochak@gol.com>
9339         * Enum.cs (Equals): check for null and throw if it is.
9340         * Enum.cs (Format): check for null parameters and throw if necessary.
9341         This method still needs more argument checking.
9343 2002-03-18  Dietmar Maurer  <dietmar@ximian.com>
9345         * Enum.cs (Equals): check if Enums are of the same type
9347 2002-03-18  Nick Drochak  <ndrochak@gol.com>
9349         * Double.cs: Explicitly handle comparisons in CompareTo() for
9350         Positive/Negative Infinity and NaN. Unit Test now passes on Linux.
9352         * Enum.cs(CompareTo): Check types of values before trying to compare.
9353         Throw exceptions if types are invalid or don't match.
9355 2002-03-14  Miguel de Icaza  <miguel@ximian.com>
9357         * Array.cs: Add some extra debugging information.
9359 2002-03-15  Nick Drochak  <ndrochak@gol.com>
9361         * Array.cs: Added IList and IEnumerable. 
9363 2002-03-14  Miguel de Icaza  <miguel@ximian.com>
9365         * UInt64.cs, UInt32.cs, UInt16.cs: Mark public parse methods as
9366         NonCLSCompliant. 
9368 2002-03-14  Dietmar Maurer  <dietmar@ximian.com>
9370         * Delegate.cs (Equals): also compare method_ptr 
9371         (GetHashCode): returm method_ptr as hash
9373 2002-03-13  Duco Fijma  <duco@lorentz.xs4all.n>
9374         * TimeSpan.cs: removed the use of Custom Numeric Format Strings,
9375         such as 42.ToString("0000000"), as these are (currently) not implemented
9376         in System.IntegerFormatter. TimeSpan luckely can do with Standard
9377         Numeric Format Strings, such as 42.ToString("D7").
9379 2002-03-12  Duncan Mak  <duncan@ximian.com>
9381         * FieldAccessException.cs: 
9382         * MethodAccessException.cs: 
9383         * PlatformNotSupportedException.cs: Inherit from
9384         MemberAccessException, not SystemException.
9386         * ObsoleteAttribute.cs: Made Message and IsError properties
9387         instead of fields.
9389 Tue Mar 12 19:21:18 CET 2002 Paolo Molaro <lupus@ximian.com>
9391         * GC.cs: make SuppressFinalize() a nop.
9392         * Delegate.cs: fix == operator.
9394 2002-03-13  Nick Drochak  <ndrochak@gol.com>
9396         * Enum.cs: Add IConvertible methods. Cyclic dependancy fixed in the
9397         runtime that goes with this patch.
9399 2002-03-10  Martin Baulig  <martin@gnome.org>
9401         * Int32.cs (Parse): Correctly parse negative numbers.
9403 2002-03-08  Martin Baulig  <martin@gnome.org>
9405         * String.cs (Split): Really fix it this time. Also adding several new
9406         testcase to the testsuite.       
9408 2002-03-08  Martin Baulig  <martin@gnome.org>
9410         * Array.cs (Copy): Optimized: removed duplicate null check, removed
9411         two duplicate GetLowerBound() calls and one duplicate IsValueType.
9413 Fri Mar 8 18:49:19 CET 2002 Paolo Molaro <lupus@ximian.com>
9415         * Object.cs: commit my hacked GetHashCode(): it's good enough for now.
9416         * String.cs: use the dumb code for IndexOf(string): this is worth
9417         15-20 % speedup in mcs compile with mint.
9419 Fri Mar 8 12:45:44 CET 2002 Paolo Molaro <lupus@ximian.com>
9421         * String.cs: revert change to Split() that broke the compiler (hi martin!:-).
9423 2002-03-07  Martin Baulig  <martin@gnome.org>
9425         * String.cs (Join): Throw an ArgumentNullException.
9426         (LastIndexOf (string,int,int)): This method does a backwards search,
9427         so startIndex points to the end of value, not to its beginning. Don't
9428         throw an exception if startIndex equals this.Length. Always return -1
9429         if startIndex is smaller than the length of value.
9430         (Replace (string,string)): Replace all occurences of oldValue.
9431         If newValue is null, all occurences of oldValue are to be removed.
9432         (Split (char[],int)): Return an empty array if maxCount is zero, throw
9433         an ArgumentOutOfRangeException if it's less than zero. Return maxValue
9434         elements, not maxValue+1.
9436 Thu Mar 7 17:16:06 CET 2002 Paolo Molaro <lupus@ximian.com>
9438         * MonoType.cs: make GetEvents() an internal call.
9439         * MulticastDelegate.cs: copy the passed in array.
9441 2002-03-06  Martin Baulig  <martin@gnome.org>
9443         * Array.cs (Copy): Use FastCopy when appropriate and do correct
9444         exception handling.
9446 2002-03-06  Duco Fijma  <duco@lorentz.xs4all.nl>
9447         * CharEnumerator.cs: fixes to CharEnumertor.MoveNext, fixing 
9448         some of the failures found be new tests (see ChangeLog in 
9449         Test/System). Comments added to this method, based on
9450         the representation invariant of this class, that (try to) explain
9451         why it now should be correct.
9453 2002-03-06  Dietmar Maurer  <dietmar@ximian.com>
9455         * Int64.cs (Parse): bug fix for max. negative value. 
9457 2002-03-07  Nick Drochak  <ndrochak@gol.com>
9459         * RuntimeTypeHandle.cs: Add Serializable attribute as the docs say.
9460         I need to understand what the difference between the attribute and
9461         the interface is.
9463 2002-03-06  Martin Baulig  <martin@gnome.org>
9465         * Array.cs (Copy): Always throw an ArrayTypeMismatchException, not
9466         an InvalidCastException if the widening conversion failed. See
9467         testcases #M94-#M96.
9469         * Array.cs (CopyTo): Bug fix from Ajay Dwivedi, correctly handle
9470         arrays with non-zero lower bounds. Also adding testcases #F10-#F13
9471         for this.
9473         * Array.cs (CopyTo): Reverted my last change, it was incorrect.
9474         (Copy): Actually allow copying multi-dimensional arrays.
9476 2002-03-05  Duncan Mak  <duncan@ximian.com>
9478         * Convert.cs:
9479         (DBNull) Added the missing field.
9480         (IsDBNull) Fixed typo.
9481         (ToByte (string, int)) Implemented.
9482         (ToString (byte, int)) Implemented.
9483         (ConvertToBase)
9484         (BuildConvertedString) internal functions used for converting values to
9485         a specific base.
9487         * Int16.cs: 
9488         * Int32.cs:
9489         * Int64.cs:
9490         * Single.cs:
9491         * UInt16.cs: 
9492         * UInt32.cs: Implemented the IConvertible interface.    
9494         * CharEnumerator.cs: Renamed to variables to be clearer and
9495         changed some of the tests to conform to the 1.0 spec.
9497 2002-03-06  Martin Baulig  <martin@gnome.org>
9499         * Array.cs (Copy): Calculate absolute array position here and use
9500         GetValueImpl() and SetValueImpl() with that position. We can now
9501         copy multi-dimensional arrays.
9502         (CopyTo): Small bug fix.
9504 2002-03-05  Duco Fijma  <duco@lorentz.xs4all.nl>
9506         * Version.cs: CompareTo changed according the LAMESPEC discovered by 
9507         Nick (See VersionTest.cs).
9508         * CharEnumerator.cs: fixed two bugs in MoveNext. It had an off-by-one
9509         error comparing the current position (idx) against the length of the
9510         string iterated and it set idx to an unrecognized special value (-2)
9512 Tue Mar 5 17:34:14 CET 2002 Paolo Molaro <lupus@ximian.com>
9514         * SByte.cs, UInt64.cs: implement IConvertible interface. Nobody wants
9515         to do this dirty work, but someone has to do it (and I need it to pass
9516         the "200 sample tests compiled on linux" mark).
9518 2002-03-06  Nick Drochak  <ndrochak@gol.com>
9520         * Attribute.cs
9521         * DecimalFormatter.cs
9522         * Delegate.cs
9523         * Double.cs
9524         * GC.cs
9525         * Int16.cs
9526         * Int32.cs
9527         * MonoType.cs
9528         * RuntimeMethodHandle.cs
9529         * RuntimeTypeHandle.cs
9530         * String.cs
9531         * Type.cs:
9532                 Add [MonoTODO]'s to places where we currently throw a
9533                 NotImplementedException.
9535 2002-03-05  Dietmar Maurer  <dietmar@ximian.com>
9537         * Int16.cs (Parse): do not overflow on max negative value
9539         * Int32.cs (Parse): do not overflow on max negative value
9541 Mon Mar 4 20:36:05 CET 2002 Paolo Molaro <lupus@ximian.com>
9543         * Type.cs: fixed IsClass.
9544         * MonoType.cs: fixed MemberType, IsPrimitiveImpl, IsPointerImpl,
9545         IsByRefImpl. Added GetInterfaces().
9546         * IServiceProvider.cs: compilation fix.
9548 Mon Mar 4 18:37:03 CET 2002 Paolo Molaro <lupus@ximian.com>
9550         * Array.cs: allow copying an empty array to an empty array.
9552 Mon Mar 4 17:59:16 CET 2002 Paolo Molaro <lupus@ximian.com>
9554         * String.cs: fixed LastIndexOf (string) to do a bit of argument
9555         checking.
9557 2002-03-04  Duco Fijma  <duco@lorentz.xs4all.nl>
9558         * Version.cs: many fixes to failures found by the newly created
9559         test cases for this class. Specifically, the CompareTo member
9560         returned wrong values due to the use of Int32.MaxValue as a special
9561         value indicating an "undefined" version component. Also implemented the
9562         missing operators (==, <, >, etc.), one missing constructor and
9563         and some exception throwing.
9565 2002-03-04  Nick Drochak  <ndrochak@gol.com>
9567         * IServiceProvider.cs: Add missing attribute: ComVisible(false)
9568         * Attribute.cs: Add missing attributes: Serializable and
9569         AttributeUsage(AttributeTargets.All)
9571 Mon Mar 4 11:26:49 CET 2002 Paolo Molaro <lupus@ximian.com>
9573         * MonoType.cs: implemented GetConstructors(), GetFields(),
9574         GetMethods(), GetProperties().
9575         * Object.cs: added debugging icall obj_address().
9576         * Type.cs: fixed the binding flags for some Get* methods.
9577         Implemented FindMembers() as calls to the specific GetMember
9578         methods.
9580 2002-03-01  Duco Fijma  <duco@lorentz.xs4all.nl>
9581         * BitConverter.cs: fixed one little bug: ToString(s, n, 0) 
9582         should give an exception for n>=s.Length.
9584 2002-03-01  Martin Baulig  <martin@gnome.org>
9586         * Array.cs: More argument checking and bug fixing.
9588 2002-03-01  Miguel de Icaza  <miguel@ximian.com>
9590         * BitConverter.cs: Indentation match
9592         * AppDomain.cs: Added MonoTODOs to this too.
9594         * Buffer.cs: Added MonoTODOs to this.
9596 2002-03-01  Martin Baulig  <martin@gnome.org>
9598         * Array.cs: Added argument checking to all methods where it was missing.
9600 2002-03-01  Duco Fijma  <duco@lorentz.xs4all.nl>
9602         * BitConverter.cs: Fixed bugs in ToString methods
9604 Fri Mar 1 15:20:00 CET 2002 Paolo Molaro <lupus@ximian.com>
9606         * MulticastDelegate.cs: implement operators so mcs3 can be used on linux.
9608 2002-03-01  Nick Drochak  <ndrochak@gol.com>
9610         * BitConverter.cs: Throw ArgumentException like mscorlib, instead of
9611         ArgumentOutOfRangeException like the docs say.
9613 2002-03-01  Martin Baulig  <martin@gnome.org>
9615         * Enum.cs (CompareTo): Correctly override this method from IComparable.
9617         * Console.cs (setIn, setOut, setError): It's called SetIn, SetOut, SetError.
9619 2002-02-28  Martin Baulig  <martin@gnome.org>
9621         * String.cs: This file now passes the testsuite on Linux :-)
9622         
9623         * String.cs (Intern, IsInterned): The interncalls are now called _Intern and _IsInterned;
9624         make them private and provide C# wrappers which do proper argument checking.
9626         * String.cs (Format): Correctly handle escaped brackets.
9628         * String.cs (_CompareChar): New internal function which compares two chars.
9629         (_Compare): Provide an internal compare method which can do all sorts of
9630         comparision and call it from all the Compare() methods. Also fixed a lot of
9631         bugs here, this code now actually passes the testsuite.
9633 2002-02-28  Duncan Mak  <duncan@ximian.com>
9635         * Convert.cs: Added the missing methods. The new class status page
9636         kicks ass, it even found my typos! Woohoo!
9637         (ConvertFromBase): Moved the Exception throwing in here and
9638         removed the other occurances so it's all centralized now.
9639         (ISDBNull): Implemented.
9640         (GetTypeCode): Implemented.
9642 2002-02-27  Duco Fijma  <duco@lorentz.xs4all.nl>
9643         * Guid.cs: Guid.ToString("") and Guid.ToString(null) is now understood as Guid.ToString("D") 
9644         just as in mscorlib. There is (probably) a documentation bug in the MS FrameWork SDK, which
9645         states that a lacking format should be interpreted as "N".  
9646         Also added [Serializable] attribute
9647         * TimeSpan.cs: some formatting and added the [Serializable] attribute
9649 2002-02-26  Duncan Mak  <duncan@ximian.com>
9651         * WeakReference.cs: Committed for Ajay Kumar Dwivedi.   
9653 2002-02-26  Martin Baulig  <martin@gnome.org>
9655         * TimeZone.cs: Use an internal enum rather than magic numbers to access the
9656         fields of the interncall GetTimeZoneData.
9658         * DateTime.cs: Implemented Parse and fixed a few bugs.
9660         * String.cs (TrimStart): Small fix.
9662 2002-02-26  Martin Baulig  <martin@gnome.org>
9664         * DateTime.cs: ParseExact is now fully functional.
9666         * String.cs (TrimEnd): Small fix.
9668 2002-02-26  Duco Fijma <duco@lorentz.xs4all.nl>
9669         * TimeSpan.cs: Added method TimeSpan.FromMilliseconds, mysteriously 
9670         missing for about six months.
9672 Tue Feb 26 14:21:19 CET 2002 Paolo Molaro <lupus@ximian.com>
9674         * UInt64.cs: fixed Parse method () to handle some of the NumberStyle flags.
9676 2002-02-26  Martin Baulig  <martin@gnome.org>
9678         * DateTime.cs: Miguel already committed this, but there was still a
9679         ChangeLog entry for this missing ....
9680         We're now reusing functionality from TimeSpan, printing dates is
9681         fully implemented, currently working on parsing.
9683         * TimeZone.cs: Fully implemented this. There's a new InternCall in the
9684         runtime for this.
9686 Fri Feb 22 18:47:08 CET 2002 Paolo Molaro <lupus@ximian.com>
9688         * MonoType.cs: disable constructor.
9689         * Object.cs: make GetType() an internalcall.
9690         * Type.cs: added correct bindingflags to GetMethods ().
9691         All such calls should be reviewed to use the correct flags.
9693 Thu Feb 21 19:23:46 CET 2002 Paolo Molaro <lupus@ximian.com>
9695         * Type.cs, MonoType.cs: type_is_subtype_of () changed to include extra
9696         argument.
9698 Thu Feb 21 16:56:51 CET 2002 Paolo Molaro <lupus@ximian.com>
9700         * Type.cs: implemented IsAssignableFrom.
9702 2002-02-21  Duco Fijma <duco@lorentz.xs4all.nl>
9703         * Guid.cs: fixed Guid.Guid(string) ctor. Changed format:
9704         "{0xdddddddd,0xdddd,0xdddd,{0xdd},{0xdd},{0xdd},{0xdd},{0xdd},{0xdd}}" 
9705         to "{0xdddddddd,0xdddd,0xdddd,{0xdd,0xdd,0xdd,0xdd,0xdd,0xdd}}" 
9706         The former is documented by Microsoft. The latter is how they
9707         actually implemented it in mscorlib:-)
9709 Tue Feb 19 20:34:35 CET 2002 Paolo Molaro <lupus@ximian.com>
9711         * MonoCustomAttrs.cs: hooks to get the custom attributes from the
9712         runtime.
9713         * MonoType.cs: Implemented custom attributes methods.
9716 2002-02-21  Duco Fijma <duco@lorentz.xs4all.nl>
9717         * Guid.cs: 
9719 Tue Feb 19 20:34:35 CET 2002 Paolo Molaro <lupus@ximian.com>
9721         * MonoCustomAttrs.cs: hooks to get the custom attributes from the
9722         runtime.
9723         * MonoType.cs: Implemented custom attributes methods.
9725 2002-02-19  Dietmar Maurer  <dietmar@ximian.com>
9727         * Array.cs (CopyTo): use GetLength() instead of GetUpperBound() 
9729 2002-02-19  Duncan Mak  <duncan@ximian.com>
9731         * Convert.cs: Finished up the missing methods in Convert. Added a
9732         new private method ConvertFromBase.
9734 2002-02-19  Dietmar Maurer  <dietmar@ximian.com>
9736         * String.cs: impl. IConvertible interface
9738 2002-02-18  Duco Fijma <duco@lorentz.xs4all.nl>
9739         * Guid.cs: actual implementation for Guid.Guid(string) Ctor
9741 2002-02-18  Duncan Mak  <duncan@ximian.com>
9743         * Convert.cs: Changed from using Type.GetType (string) to just
9744         typeof (). Probably will speed things up a bit?         
9746 2002-02-18  Ajay Kumar Dwivedi <AjayKumar.Dwivedi@dresdner-bank.com>
9748         * Array.cs:         
9749         1. Fix for GetUpperBound to return correct values
9750         2. made some Properties virtual
9751         3. Adds IsFixedSize and IsReadOnly properties.
9752         4. changes CreateInstance(Type,int[],int[]) to throw Exception
9753         when third arg is null. InternalCall CreateInstance changed to  
9754         CreateInstanceImpl
9755         5. Fixed array.GetUpperBound at a couple of places
9756         6. IndexOf and LastIndexOf now use Object.Equals instead of "=="
9757         7. Added two FIXME's in BinarySearch functions.
9759 2002-02-17  Duncan Mak  <duncan@ximian.com>
9761         * TimeZone.cs:  Applied the rest of Ajay's patch for    
9762         IsDaylightSavingTime. Thanks a lot for the nice explanation of how
9763         it works!
9765 2002-02-17  Duco Fijma  <duco@lorentz.xs4all.nl>
9766         * Guid.cs: added stub for Guid(string) ctor
9768 2002-02-17  Duncan Mak  <duncan@ximian.com>
9770         * Convert.cs: Near-complete implementation of Convert.cs
9772         Added all the To* methods taking (object) and
9773         (object, IFormatProvider) as parameters.
9775         Added [CLSCompliant (false)] attributes to methods dealing with
9776         unsigned types.
9778         Added the missing section on converting to and from DateTime. Only
9779         6 missing methods, all marked with MonoTODOs. Will tackle them later.           
9781 2002-02-16  Duncan Mak  <duncan@ximian.com>
9783         * TimeZone.cs: patch from Ajay Kumar Dwivedi (adwiv@yahoo.com) to
9784         make IsDaylightSavingTime (DateTime) call 
9785         IsDaylightSavingTime (DateTime, DaylightTime).  
9786         
9787         Added internal class CurrentTimeZone from Ajay. It needs more work
9788         to fill in the appropriate internal calls.
9789         
9790 Sat Feb 16 12:41:41 CET 2002 Paolo Molaro <lupus@ximian.com>
9792         * Type.cs: fix IsClass.
9794 Sat Feb 16 12:02:02 CET 2002 Paolo Molaro <lupus@ximian.com>
9796         * String.cs: fix Trim().
9798 Fri Feb 15 21:02:46 CET 2002 Paolo Molaro <lupus@ximian.com>
9800         * String.cs: fix more off by one errors.
9802 Thu Feb 14 18:54:09 CET 2002 Paolo Molaro <lupus@ximian.com>
9804         * MonoType.cs: fix IsValueTypeImpl.
9805         * Type.cs: fix IsEnum. Implement Equals methods.
9807 Wed Feb 13 21:50:13 CET 2002 Paolo Molaro <lupus@ximian.com>
9809         * Int32.cs: implement IConvertible interface.
9810         
9811 2002-02-12  Duncan Mak  <duncan@ximian.com>
9813         * TimeZone.cs: Implemented and added to CVS.
9815 2002-02-11  Duncan Mak  <duncan@ximian.com>
9817         * Convert.cs: Implemented the ChangeType () methods.
9819 Mon Feb 11 19:48:58 CET 2002 Paolo Molaro <lupus@ximian.com>
9821         * Array.cs: make Clone() an internal call.
9823 2002-02-09  Duco Fijma <duco@lorentz.xs4all.nl>
9824         * Changed Guid.NewGuid so that it can use both System.Random and 
9825           System.Security.Cryptography.RandomNumberGenerator
9827 2002-02-09  Duco Fijma <duco@lorentz.xs4all.nl>
9828         * First version of Guid.NewGuid
9830 2002-02-08  Duncan Mak  <duncan@ximian.com>
9832         * RuntimeArgumentHandle.cs: Added to CVS.
9834 Fri Feb 8 19:14:54 CET 2002 Paolo Molaro <lupus@ximian.com>
9836         * CrossAppDomainDelegate.cs, AssemblyLoadEventHandler.cs,
9837         UnhandledExceptionEventHandler.cs: added delegates.
9839 Fri Feb 8 18:06:20 CET 2002 Paolo Molaro <lupus@ximian.com>
9841         * MarshalByRefObject.cs: add ToString () method
9842         (apparently needed by nunit).
9843         * _AppDomain.cs: uncomment ToString(): dietmar fixed the bug triggered
9844         by it in the runtime.
9846 2002-02-08  Dan Lewis <dihlewis@yahoo.co.uk>
9847         
9848         * String.cs (Format): implemented
9850 2002-02-07  Duncan Mak  <duncan@ximian.com>
9851         
9852         * DuplicateWaitObjectException:
9853         * InvalidCastException:
9854         * NotImplementedException:
9855         * NotSupportedException:
9856         * NullReferenceException:
9857         * OutOfMemoryException:
9858         * OverflowException:
9859         * RankException:
9860         * StackOverflowException.cs:
9861         * UnauthorizedAccessException: Added missing constructor used for serialization.
9863 2002-02-07  Dietmar Maurer  <dietmar@ximian.com>
9865         * String.cs (System.Compare): bug fix 
9867 2002-02-06  Dietmar Maurer  <dietmar@ximian.com>
9869         * Enum.cs (Parse,  GetHashCode): impl. 
9871 2002-02-05  Duncan Mak  <duncan@ximian.com>
9873         * DBNull.cs: This is my first crack at the DBNull class. I think I
9874         actually got most of the IConvertible methods right, but I haven't
9875         done the research to test whether or not this is the correct
9876         behavior. IConvertible.ToType () is the most iffy of all, IMHO.
9878         * DllNotFoundException.cs: Inherits from TypeLoadException, not SystemException.
9880 2002-02-05  Dietmar Maurer  <dietmar@ximian.com>
9882         * Enum.cs: added more functionality (GetName, ToObject, Equals)
9884 2002-01-31  Duncan Mak  <duncan@ximian.com>
9886         * InvalidOperationException.cs:
9887         * NotFiniteNumberException.cs:
9888         * ObjectDisposedException.cs:
9889         * TypeInitializationException.cs: Added missing bits for serialization/
9890         
9891         * AppDomainUnloadedException.cs:
9892         * ApplicationException.cs:
9893         * ArgumentOutOfRangeException.cs:
9894         * ArithmeticException.cs:
9895         * ArrayTypeMismatchException:
9896         * BadImageFormatException.cs:
9897         * Exception.cs:
9898         * MissingMemberException.cs:
9899         * TypeLoadException.cs: Added missing bits for serialization.
9901 2002-01-30  Duco Fijma <duco@lorentz.xs4all.nl>
9902         * Guid.cs: implemented everything but Guid.NewGuid
9904 Tue Jan 29 22:32:36 CET 2002 Paolo Molaro <lupus@ximian.com>
9906         * _AppDomain.cs: remove ToString() method: it doesn't seem right 
9907         to have it in this interface and it screws up the method vtable setup.
9909 2002-01-28  Andrei Zmievski <andrei@php.net>
9911         * Double.cs: implemented IConvertible interface.
9913 2002-01-28  Miguel de Icaza  <miguel@ximian.com>
9915         * ArgumentException.cs: Implement serialization constructor.
9916         (GetObjectData): Implement serializer.
9917         
9918         * ArgumentNullException.cs: Implement serialization constructor.
9920         * Exception.cs: Implement serialization constructor.
9921         (GetObjectData): Implement serializer.
9923 2002-01-23  Miguel de Icaza  <miguel@ximian.com>
9925         * DateTime.cs (UnixEpoch): The Begining of the Unix epoch.
9927 2002-01-23  Duncan Mak  <duncan@ximian.com>
9929         * EntryPointNotFoundException.cs:
9930         * FormatException: Added missing constructor and related bits.
9932         * TypeLoadException: Added missing constructor, methods and properties.
9934 2002-01-23  Miguel de Icaza  <miguel@ximian.com>
9936         * AppDomain.cs (GetAssemblies): Use foreach construct instead of
9937         manually getting the enumerator.
9939         (AppDomain.AppDomain): Prime the loaded assemblies with the
9940         assemblies loaded by the runtime in our behalf.
9942         * AppDomainSetup.cs: Remove private keyword, that is the default.
9943         Add a new property DisallowPublisherPolicy.
9945         * AppDomain.cs (AppDomain.GetAssemblies): Implement.
9947 Tue Jan 22 22:51:48 CET 2002 Paolo Molaro <lupus@ximian.com>
9949         * MonoType.cs, Type.cs: many updates, corrected implementation,
9950         completed stubs.
9952 2002-01-20  Andrei Zmievski <andrei@php.net>
9954         * Byte.cs:
9955         * Char.cs: implemented IConvertible interface.
9957         * Boolean.cs: use our own ToString() method directly.
9959 2002-01-20  Duncan Mak  <duncan@ximian.com>
9961         * Files I commited recently: Fixed indentation style.
9963 2002-01-20 Nick Drochak  <ndrochak@gol.com>
9965         * SerializableAttribute.cs: this attrib can be used on enums, structs, 
9966         and delegates too. Added the appropriate usage flags.
9968 2002-01-18  Duncan Mak  <duncan@ximian.com>
9970         * CharEnumerator.cs: Implemented.
9971         * String.cs (System): Fixed the GetEnumerator () method(s).
9973         * ObsoleteAttribute.cs:
9974         * STAThreadAttribute.cs:
9975         * MTAThreadAttribute.cs:
9976         * ThreadStaticAttribute.cs:
9977         * LoaderOptimizationAttribute.cs:
9978         * PlatformNotSupportedException.cs:
9979         * LoaderOptimization.cs: Added to CVS.
9981 2002-01-18  Duncan Mak  <duncan@ximian.com>
9983         * AppDomainUnloadedException.cs:
9984         * MethodAccessException.cs:
9985         * ContextMarshalException.cs:
9986         * CannotUnloadAppDomainException.cs:
9987         * DllNotFoundException.cs:
9988         * EntryPointNotFoundException.cs:
9989         * FieldAccessException.cs:
9990         * TypeUnloadedException.cs:
9991         * MissingFieldException.cs: Added to CVS.
9993         * ApplicationException.cs: 
9994         * MemberAccessException.cs:
9995         * MissingMemberException.cs
9996         * MissingMethodException.cs:
9997         * SystemException.cs: Added [Serializable] attribute.
9999         * Exception.cs: Added [Serializable] attribute, made properties
10000         'Message', 'Source' and 'StackTrace' virtual methods, per 1.0
10001         spec.
10003         * ContextStaticAttribute.cs: Added [Serializable] attribute and
10004         put in the missing constructor.
10006         * Environment.cs: Commented out references to
10007         EnvironmentPermissionAttribute, because they're just stubbed out
10008         right now and has no implementation.
10010 2002-01-16  Andrei Zmievski <andrei@php.net>
10012         * Boolean.cs: implemented IConvertible interface
10014 2002-01-15  Nick Drochak  <ndrochak@gol.com>
10016         * ResolveEventArgs.cs: class should derive from EventArgs.
10018 2002-01-14  Miguel de Icaza  <miguel@ximian.com>
10020         * String.cs (System): Use DefaultMemberName for the String class.
10022 Mon Jan 14 17:06:40 CET 2002 Paolo Molaro <lupus@ximian.com>
10024         * String.cs: use IndexerName in index char accessor.
10026 Thu Jan 10 21:05:23 CET 2002 Paolo Molaro <lupus@ximian.com>
10028         * MonoType.cs: add rank to MonoTypeInfo and implement GetArrayRank.
10029         * String.c: eliminate 64k+ method calls in search.
10030         * Type.cs: handle byref and array types in ToString ().
10032 2002-01-09  Duco Fijma <duco@lorentz.xs4all.nl>
10034         * Guid.cs: created first version
10036 2002-01-10  Dietmar Maurer  <dietmar@ximian.com>
10038         * MonoType.cs: added missing TypeAttributes to MonoTypeInfo 
10040 Wed Jan 9 19:35:07 CET 2002 Paolo Molaro <lupus@ximian.com>
10042         * MulticastDelegate.cs: add == and != operator stubs.
10043         * String.cs: check for null in == operator.
10044         * Type.cs: use a virtual method to get TypeAttributes.
10046 Tue Jan  8 23:30:19 EST 2002 Matt Kimball <matt@kimball.net>
10047         * String.cs: Fixed several off-by-one errors in LastIndexOf* methods
10049 2002-01-09  Nick Drochak  <ndrochak@gol.com>
10050         
10051         * Environment.cs: Comment out Security attribute and put a MonoTODO
10052         there as a reminder.  We need mcs magic to handle security attributes in
10053         corlib.
10055 2002-01-07  Duco Fijma <duco@lorentz.xs4all.nl>
10056         * Created IAppDomainSetup.cs
10058 2002-01-06  Duco Fijma <duco@lorentz.xs4all.nl>
10059         * Created System._AppDomain interface in _AppDomain.cs
10061 2002-01-06  Nick Drochak  <ndrochak@gol.com>
10063         * ResolveEventArgs.cs: New File, completely implemented! ;)
10065 Sat Jan 5 15:53:50 CET 2002 Paolo Molaro <lupus@ximian.com>
10067         * Enum.cs: dummy ToString impl.
10068         * String.cs: dummy format implementations to get compiler errors
10069         somewhat working.
10070         * Type.cs: implemented filter delegates. FindMembers runs the filter, now.
10072 2002-01-05  Ravi Pratap  <ravi@ximian.com>
10074         * TODOAttribute.cs : Augment some more; provide two constructors
10075         with support for a comment too.
10077 2002-01-05  Nick Drochak  <ndrochak@gol.com>
10079         * Uncommented those MonoTODO's now that Ravi's got
10080         the class in there
10082 2001-01-04  Ravi Pratap  <ravi@ximian.com>
10084         * TODOAttribute.cs : Actually add this time ;-)
10086         Change name to MonoTODO.
10088 2002-01-04  Jeffrey Stedfast  <fejj@ximian.com>
10090         * String.cs (Trim): Fixed a few logic bugs in the code that
10091         calculated how much to trim off the end of the string.
10093 2001-01-04  Nick Drochak  <ndrochak@gol.com>
10094         
10095         * Commented out the [TODO] attributes for now.  We don't have the
10096         class written.  Also changed it to [MonoTODO]
10098 2002-01-04  Ravi Pratap  <ravi@ximian.com>
10100         * TODOAttribute.cs : Add. We use this attribute to tag all bits in
10101         our class libraries that are incomplete.
10103         * Array.cs : Apply attribute wherever we find a FIXME which says
10104         we need something to be implemented there.
10106         * Int32.cs : Ditto.
10108         * MulticastDelegate.cs : Ditto.
10110         * RuntimeFieldHandler.cs, RuntimeMethodHandle.cs,
10111         RuntimeTypeHandle.cs : Ditto.
10113         * String.cs : Ditto.
10115         * Type.cs : Ditto.
10117         * Byte.cs, Char.cs, ContextBoundObject.cs, DateTime.cs, Delegate.cs : Ditto.
10119         * Enum.cs, Environment.cs, Exception.cs, Int64.cs, SByte.cs, Single.cs, 
10120         UInt16.cs, UInt32.cs, ValueType.cs: Ditto.
10122         * Byte.cs, Char.cs, ContextBoundObject.cs, DateTime.cs,
10123         Delegate.cs : Ditto.
10125         * Enum.cs, Environment.cs, Exception.cs, Int64.cs, SByte.cs,
10126         Single.cs, UInt16.cs, UInt32.cs, ValueType.cs: Ditto.
10127         
10128 Thu Jan 3 23:24:04 CET 2002 Paolo Molaro <lupus@ximian.com>
10130         * Delegate.cs: add Remove() stub.
10131         * Enum.cs: add ToObject().
10132         * Type.cs: add IsEnum property.
10134 2002-01-03  Kristian Rietveld  <kris@gtk.org>
10136         * Convert.cs: add non-CLS-compliant ToBoolean methods for char,
10137         DateTime and object.
10139 2001-12-30  Nick Drochak  <ndrochak@gol.com>
10141         * Byte.cs (Parse): Add comments to aid in testing.
10143 2001-12-21  Miguel de Icaza  <miguel@ximian.com>
10145         * Char.cs (Parse): Implement.
10147         * Byte.cs (Parse): Implement a fast parser.
10148         
10149         * SByte.cs (Parse): Implement a fast parser.
10151         * UInt16.cs (Parse): Implement a fast parser.
10152         
10153         * Int16.cs (Parse): Implement a fast parser.
10155         * UInt32.cs (Parse): Implement a fast parser.
10157         * Int32.cs (Parse): Implement a fast parser.
10159 Fri Dec 21 15:14:52 CET 2001 Paolo Molaro <lupus@ximian.com>
10161         * Array.cs: fix null ref in sort code.
10162         * UInt64.cs: add bare-bones parse.
10164 Thu Dec 20 15:29:52 CET 2001 Paolo Molaro <lupus@ximian.com>
10165         
10166         * Byte.cs: removed use of Regexes.
10168 Tue Dec 18 18:39:54 CET 2001 Paolo Molaro <lupus@ximian.com>
10170         * Enum.cs: implemented GetValues(), GetNames(), GetName(),
10171         IsDefined(), GetUnderlyingType().
10172         * String.cs: fix one instance of Compare().
10173         * Type.cs: implemented GetProperties(), GetProperty().
10175 Thu Dec 13 20:10:57 CET 2001 Paolo Molaro <lupus@ximian.com>
10177         * Array.cs: implement CopyTo ().
10178         * Char.cs: implement ToString ().
10179         * Exception.cs: bugfix.
10180         * Int32.cs: bare-bones Parse ().
10181         * MonoType.cs: query the needed info with an internalcall.
10182         * String.cs: speedups, bugfixes, reduced copies.
10183         * Type.cs: added missing fields. Implemented many of the Is*
10184         properties. Implemented GetMethod(), GetConstructor(), GetMethods(),
10185         GetFields(), FindMembers(), ToString().
10186         
10187 2001-12-11  Dick Porter  <dick@ximian.com>
10189         * DateTime.cs: Implemented FromFileTime() and ToFileTime()
10191         * Console.cs: Use handles rather than casting file descriptors
10193 2001-12-08  Nick Drochak  <ndrochak@gol.com>
10195         * Byte.cs (Parse): Start implementation. Parse(string) works, but
10196         now we need to handle other formats
10198 2001-12-06  Dietmar Maurer  <dietmar@ximian.com>
10200         * DateTime.cs: added an icall to GetNow()
10202 2001-12-04  Dietmar Maurer  <dietmar@ximian.com>
10204         * Double.cs: added the parse method from Bob Smith
10206 2001-11-28  Miguel de Icaza  <miguel@ximian.com>
10208         * UInt64.cs: ditto.
10210         * UInt32.cs: ditto.
10212         * Int32.cs (Int32.CompareTo): Fix because we can not just
10213         substract the values.
10215         Return possitive value if the object is null.
10217         * Boolean.cs: (Boolean.CompareTo): ditto.
10219         * Int16.cs (Int16.CompareTo): ditto.
10221         * Byte.cs (Byte.CompareTo): ditto.
10223         * SByte.cs (SByte.CompareTo): ditto.
10225         * Char.cs (Char.CompareTo): ditto.
10226         
10227         * Decimal.cs (Decimal.CompareTo): ditto.
10229         * Int64.cs (Int64.CompareTo): ditto.
10231         * Single.cs: Ditto.
10233         * UInt16.cs: Ditto.
10235 2001-11-28  Nick Drochak <ndrochak@gol.com>
10237         * Byte.cs: Throw NotImplementedException for Parse.
10239 2001-11-27  Derek Holden  <dholden@draper.com>
10241         * IntegerFormatter.cs: Formatting of type "Number" was not
10242         using NumberFormatInfo.NumberNegativePattern.
10244 2001-11-26  Dick Porter  <dick@ximian.com>
10246         * LocalDataStoreSlot.cs: No need to delete a system TLS slot in
10247         the finalise routine any more
10249 2001-11-21  Miguel de Icaza  <miguel@ximian.com>
10251         * ApplicationException.cs: internationalize by adding calls to
10252         Locale.GetText ().  And throw NotImplementedExceptions on calls
10253         that we have to implement.
10255         * Version.cs: Ditto.
10257         * ValueType.cs: ditto.
10259         * UnauthorizedAccessException.cs: ditto.
10261         * UInt32.cs: ditto.
10263         * UInt64.cs: ditto.
10265         * UInt16.cs: ditto.
10267         * TypeLoadException.cs: ditto
10269         * TypeInitializationException.cs: ditto.
10271         * Type.cs: ditto.
10273         * TimeSpan.cs: ditto.
10275         * SystemException.cs: ditto.
10277         * String.cs: ditto.
10279         * StackOverflowException.cs: ditto.x
10281         * Single.cs: ditto.
10283         * SByte.cs: ditto.
10285         * RuntimeTypeHandle.cs: ditto.
10287         * RuntimeMethodHandle.cs: ditto.
10289         * RuntimeFieldHandle.cs: ditto.
10291         * Random.cs: ditto.
10293         * OutOfMemoryException.cs: ditto.
10295         * OperatingSystem.cs: ditto.
10297         * ObjectDisposedException.cs: ditto.
10299         * NullReferenceException.cs: ditto.
10301         * NotImplementedException.cs: ditto.
10303         * NotFiniteNumberException.cs: ditto.o
10305         * MulticastNotSupportedException.cs: ditto.
10307         * MissingMethodException.cs: ditto.
10309         * MemberAccessException.cs: ditto.
10311         * Math.cs: ditto.
10313         * InvalidCastException.cs: ditto.
10315         * IntegerFormatter.cs: ditto.
10317         * Int32.cs: ditto.
10319         * Int16.cs: ditto.
10321         * IndexOutOfRangeException.cs: ditto.
10323         * Environment.cs: ditto
10325         * Enum.cs: ditto.
10327         * DuplicateWaitObjectException.cs: ditto.
10329         * DivideByZeroException.cs: ditto.
10331         * Delegate.cs: ditto
10333         * DecimalFormatter.cs: ditto.
10335         * Decimal.cs: ditto.
10337         * DateTime.cs: ditto.
10339         * Convert.cs: ditto.
10341         * Char.cs: ditto.
10343         * Byte.cs: ditto.
10345         * Boolean.cs: ditto.
10347         * ArrayTypeMismatchException.cs: ditto.
10349         * ArithmeticException.cs: ditto.
10351         * ArgumentOutOfRangeException.cs: ditto.
10353         * ArgumentNullException.cs: ditto.
10355         * Enum.cs: Make it derive from ValueType, add CompareTo method.
10357         * Attribute.cs: Reformat.
10359 2001-11-14  Miguel de Icaza  <miguel@ximian.com>
10361         * Decimal.cs, Double.cs, Byte.cs, Char.cs, Int16, UInt16, Int32,
10362         UInt32, Int64, UInt64, SByte, Single (CompareTo): Throw the
10363         exception if the value is null too.
10365         * Char.cs (CompareTo): ditto.
10367         * ApplicationException.cs: Added constructor that does serialization.
10369         * ParamArrayAttribute.cs: Define attribute correctly.
10371 Wed Nov 14 16:31:19 CET 2001 Paolo Molaro <lupus@ximian.com>
10373         * AppDomain.cs: rename dummy interface _AppDomain to AppDomain_Intf.
10374         * Array.cs: fix Array.Copy.
10375         * AssemblyLoadEventArgs.cs: rename field.
10376         * CLSCompliantAttribute.cs: use correct name for the class.
10377         * Char.cs: fix IsLetter.
10378         * Console.cs, DateTime.cs, Decimal.cs, IConvertible.cs, Math.cs,
10379         SByte.cs, UInt16.cs, UInt32.cs, UInt64.cs, UIntPtr.cs: CLSCompliant updates.
10380         * Convert.cs: CLSCompliant updates, add ChangeType() methods.
10381         * Delegate.cs: renamed target field to m_target.
10382         * Enum.cs: added missing methods.
10383         * MonoType.cs: add a constructor and some needed properties.
10384         * Object.cs: implement GetType().
10385         * String.cs: CLSCompliant updates. Fixes everywhere to remove the
10386         ending 0 char.
10387         * Type.cs: add missing methods/properties.
10389 2001-11-10  Sean MacIsaac  <macisaac@ximian.com>
10391         * AttributeUseage.cs: Should define AttributeUsageAttribute.
10393         * CLSCompliant.cs: Marked with AttributeUsage attribute.
10395         * Decimal.cs: Fixed CLSCompliant attributes.
10397         * Type.cs: changed _impl to internal (needs to be accessable by
10398         subclasses).
10400         (TypeHandle): Marked as abstract, implementation removed.
10402         (IsNotPublic, IsPublic, GetMethods, GetPropery, GetConstructor,
10403         GetMethod): Added stub implementations so NUnit would link against
10404         corlib
10406 Tue Nov 6 09:11:43 CET 2001 Paolo Molaro <lupus@ximian.com>
10408         * AppDomain.cs: use an internal constructor for AssemblyBuilder.
10410 2001-11-05  Miguel de Icaza  <miguel@ximian.com>
10412         * NonSerializedAttribute.cs: Add AttributeUsage rules for this
10413         attribute. 
10415 Fri Nov 2 18:23:15 CET 2001 Paolo Molaro <lupus@ximian.com>
10417         * String.cs: fix a couple of bugs.
10418         * AppDomain.cs: use new AppBuilder constructor.
10419         * Buffer.cs, GC.cs, NonSerializedAttribute.cs,
10420         NotImplementedException.cs, ObjectDisposedException.cs,
10421         UnauthorizedAccessException.cs: add implementation.
10422         * OverflowException.cs: fix class name.
10424 2001-10-28  Jeffrey Stedfast  <fejj@ximian.com>
10426         * String.cs: Don't use a terminating nil char for our internal
10427         array.
10429 2001-10-27  Miguel de Icaza  <miguel@ximian.com>
10431         * Delegate.cs (Delegate.CombineImpl): Implement.
10432         (Delegate.Combine): Implement.
10434         * MulticastDelegate.cs (MulticastDelegate.Equals): Implement.
10436         (MulticastDelegate.CombineImpl): This was not as trivial as I
10437         thought. 
10439         * ContextStaticAttribute.cs: Added AttributeUsage to
10440         ContextStaticAttribute. 
10442         * FlagsAttribute.cs: Add AttributeUsage to FlagsAttribute
10444 2001-10-15  Martin Weindel <martin.weindel@t-online.de>
10446         * added Decimal.cs * added DecimalFormatter.cs (internal class
10447         used from System.Decimal)
10449 2001-10-11  Thomas Neidhart <tome@sbox.tugraz.at>
10451         * Convert.cs: Added methods for Base64 transforming just used the
10452           existing System.Security.Cryptography.ToBase64Transform, should
10453           be changed to use a stand-alone class, e.g. Base64Encoder
10454           
10455 2001-10-10  Derek Holden  <dholden@draper.com>
10457         * IntegerFormatter.cs: Added. Implements ToString for all the
10458         integer data types for all the format types.
10460         * Byte.cs: Using IntegerFormatter for ToString's.
10462         * SByte.cs: Using IntegerFormatter for ToString's.
10464         * Int16.cs: Using IntegerFormatter for ToString's.
10466         * Int32.cs: Using IntegerFormatter for ToString's.
10468         * Int64.cs: Using IntegerFormatter for ToString's.
10470         * UInt16.cs: Using IntegerFormatter for ToString's.
10472         * UInt32.cs: Using IntegerFormatter for ToString's.
10474         * UInt64.cs: Using IntegerFormatter for ToString's.
10476 2001-10-07  Miguel de Icaza  <miguel@ximian.com>
10478         * Exception.cs: Implement bits of serialization.
10480         * RuntimeFieldHandle.cs: Implement Serialization features.
10482         * Type.cs: Implement TypeHandle property.
10484 2001-09-28  Dick Porter  <dick@ximian.com>
10486         * LocalDataStoreSlot.cs: Implemented
10488 Tue Sep 25 19:58:14 CEST 2001 Paolo Molaro <lupus@ximian.com>
10490         * String.cs: fix off-by-one error in Trim().
10492 Tue Sep 25 18:52:14 CEST 2001 Paolo Molaro <lupus@ximian.com>
10494         * Type.cs: added GetType () method.
10496 Tue Sep 25 17:29:02 CEST 2001 Paolo Molaro <lupus@ximian.com>
10498         * MissingMethodException.cs, MissingMemberException.cs,
10499         MemberAccessException.cs: added.
10501 Tue Sep 25 16:46:43 CEST 2001 Paolo Molaro <lupus@ximian.com>
10503         * String.cs: don't access the string array out of bounds in
10504         LastIndexOf.  * Type.cs: fix return type of the Assembly property.
10506 Mon Sep 24 20:35:24 CEST 2001 Paolo Molaro <lupus@ximian.com>
10508         * String.cs: make Intern and IsIntern internalcalls.
10510 2001-09-13  Dick Porter  <dick@ximian.com>
10512         * Type.cs: Added a stub for the IsValueType property.
10514         * SystemException.cs (System): Added the other constructor, so
10515         that System.Threading exceptions can inherit it.
10517 2001-09-08  Jeffrey Stedfast  <fejj@ximian.com>
10519         * String.cs (TrimStart): Don't keep looping through the trimchars
10520         once we've found a match.
10521         (TrimEnd): Same here.
10522         (Trim): And finally here.
10524 2001-09-07  Ravi Pratap  <ravi@ximian.com>
10526         * Char.cs (IsLetterOrDigit): Implement.
10527         (IsLower): Implement, but we need to be Unicode aware.
10528         (IsNumber): Implement.
10529         (IsPunctuation): Implement.
10530         (IsWhiteSpace): Implement.
10531         (ToUpper): Fix to subtract 32 from the ASCII value, not 33 :)
10532         (ToLower): Same here.
10534 2001-09-04  Miguel de Icaza  <miguel@ximian.com>
10536         * Object.cs: Shortcut, if (a == b) then return true.
10538 Fri Sep 7 18:34:48 CEST 2001 Paolo Molaro <lupus@ximian.com>
10540         * Delegate.cs: we need a pointer to the method thunk in
10541         the delegate object.
10543 Fri Sep 7 12:28:01 CEST 2001 Paolo Molaro <lupus@ximian.com>
10545         * AsyncCallback.cs, common.src: add AsyncCallback delegate.
10547 2001-09-06  Jeffrey Stedfast  <fejj@ximian.com>
10549         * String.cs (System): Don't mix uint and int.
10551 2001-09-04  Jeffrey Stedfast  <fejj@ximian.com>
10553         * String.cs (BoyerMoore): Modified to not use pointers and to instead
10554         use indexes.
10555         (IndexOf): Use BoyerMoore.
10557 2001-09-02  Miguel de Icaza  <miguel@ximian.com>
10559         * All over: Use the autogenerated enumerations from the ECMA
10560         documentation that Sergey wrote.
10561         
10562         * PlatformID.cs: Add Unix definition.
10564         * OperatingSystem.cs: Use Unix instead of Linux here.
10566         * MarshalByRefObject.cs: Mark class as [Serializable].
10568 2001-08-28  Dietmar Maurer  <dietmar@ximian.com>
10570         * Console.cs: impl. (write only)
10571         implemented the stdin stuff
10573         * Int32.cs: impl. real op_Equal
10575 2001-08-24  Miguel de Icaza  <miguel@ximian.com>
10577         * (common.src): Removed IAsyncResult as it is not on CVS yet.
10579         * UIntPtr.cs: Removed CLSCompliant attribute before the namespace,
10580         as it breaks the build.
10582 2001-08-23  Michael Lambert <michaellambert@email.com>
10584         * IntPtr.cs: Optimized unsafe declaration, implemented GetObjectData, 
10585         added CLSCompliant attribute
10587         * IAsyncResult.cs: Added
10589         * common.src: Added IAsyncResult.cs
10591 2001-08-23  Michael Lambert <michaellambert@email.com>
10593         * UIntPtr.cs: Added
10595         * common.src: Added UIntPtr.cs
10597 2001-08-20  Dietmar Maurer  <dietmar@ximian.com>
10599         * Attribute.cs: uncomment some code to make it compile again
10601         * mono.src: removed duplicated Attribute.cs
10603 2001-08-16  Nick Drochak <ndrochak@gol.com>
10605         * Attribute.cs: implemented all methods except GetHashCode()
10607         * common.src: added Attribute.cs so it would compile in
10609 2001-08-10  Dietmar Maurer  <dietmar@ximian.com>
10611         * Object.cs: changed MemberWiseClone to MemberwiseClone, and
10612         marked it as InternalCall
10613         
10614         * common.src: removed UriFormatException.cs because the file is
10615         not there.
10617         * RuntimeTypeHandle.cs: replaced IntrPtr with IntPtr
10618         * Char.cs: replaced byte with char
10620         * Array.cs: make it work with the mono interpreter
10622 2001-08-06  Miguel de Icaza  <miguel@ximian.com>
10624         * Version.cs: Make the class sealed
10626 2001-08-08  Bob Smith  <bob@thestuff.net>
10628         * Random.cs: Many compile fixes.
10629         * Random.cs: I read a bad spec. Class updated to match real spec.
10631 2001-08-06  Miguel de Icaza  <miguel@ximian.com>
10633         * IntPtr.cs: Added and Completed implementation.
10635         * Uri.cs: Add a note.
10637 2001-08-06  Bob Smith  <bob@thestuff.net>
10639         * Random.cs: Compile fix. Needs more testing.
10641 2001-08-06 Garrett Rooney <rooneg@electricjellyfish.net>
10643         * Uri.cs: Initial Implementation.  Parsing needs to be fixed to take 
10644         into account IPv6 addresses, url encoding needs to be implemented, and 
10645         various minor methods need to be written, but this is a decent start.
10647 2001-08-06  Dietmar Maurer  <dietmar@ximian.com>
10649         * common.src: added Object.cs
10651         * mono.src: added ValueType.cs
10653 2001-08-02  Dietmar Maurer  <dietmar@ximian.com>
10655         * Math.cs: replaced libc with libm
10657 2001-08-02  Bob Smith  <bob@thestuff.net>
10659         * Random.cs: Implemented. Needs testing.
10661 2001-08-02  Miguel de Icaza  <miguel@ximian.com>
10663         * IServiceProvider.cs, EventHandler.cs: New files.
10665 2001-08-02  Marcel Narings  <marcel@narings.nl>
10666         
10667         * DateTime.cs: Cleaned up a bit. Added the Add* family members.
10668         Added exceptions. Added IConvertible. Still needs some platform 
10669         dependend stuff, the Parse and ToString members
10671 2001-08-01  Dietmar Maurer  <dietmar@ximian.com>
10673         * Type.cs (GetTypeFromHandle): added placeholder 
10675 2001-07-24  Derek Holden  <dholden@draper.com>
10677         * Boolean.cs: Formatted to code style standard. Added GetTypeCode
10678         which is really an IConvertible defined method.
10680         * Byte.cs: Added a missing Parse method. Put in Parse and ToString
10681         behavior, still need to do the main Parse and ToString.
10683         * Char.cs: Added a bunch of missing ECMA methods. Commented a
10684         specification discrepency. Still didn't any unicode stuff, though
10685         every IsFoo(char c) method has an IsFoo(string, index)
10686         counterpart, added wrappers for those.
10687         
10688         * Convert.cs: Fixed NaN/Inf checking and double/float
10689         rounding. Added ToType for IConvertible classes
10691         * Double.cs: Fixed ECMA min and max values. Added IsInfinity /
10692         IsNaN methods. Changed Inf/NaN internals.
10694         * IConvertible.cs: Added comments for using
10695         Convert.ToType. Changed return values to draft base values.
10697         * Int16.cs: Added a missing Parse statement. Put in behavior for
10698         overloaded ToString and Parse methods.
10700         * Int32.cs: Added a missing Parse statement. Put in behavior for
10701         overloaded ToString and Parse methods.
10703         * Int64.cs: Added a missing Parse statement. Put in behavior for
10704         overloaded ToString and Parse methods.
10705         
10706         * Single.cs: Put in ECMA epsilon value. Added IsInfinity / IsNaN
10707         methods. Changed Inf/NaN internals.
10709         * SByte.cs: Added a missing Parse method. Put in Parse and
10710         ToString behavior, still need to do the main Parse and ToString.
10712         * UInt16.cs: Added a missing Parse statement. Put in behavior for
10713         overloaded ToString and Parse methods.
10715         * UInt32.cs: Added a missing Parse statement. Put in behavior for
10716         overloaded ToString and Parse methods.
10718         * UInt64.cs: Added a missing Parse statement. Put in behavior for
10719         overloaded ToString and Parse methods.
10720         
10721 2001-07-20  Miguel de Icaza  <miguel@ximian.com>
10723         * MulticastDelegate.cs: New File.
10725         * Delegate.cs: New file.
10727         * Enum.cs: New file.
10729         * Attribute.cs: New file.
10731         * Type.cs: New file.
10733         * ParamArrayAttribute.cs: New file.
10735         * RuntimeTypeHandle.cs: New file.
10737         * MulticastDelegate.cs: Added.
10739         * DateTime.cs: Added
10741         * Delegate.cs: Added
10743 2001-07-18  Michael Lambert <michaellambert@email.com>
10745         * AttributeTargets.cs: Add.
10747 2001-07-19  Jeffrey Stedfast  <fejj@ximian.com>
10749         * Char.cs: Made ToUpper and ToLower public methods.
10751         * String.cs: Lots and lots of compile fixes - just need to write
10752         DateTime.cs and this should build completely now.
10754 2001-07-19  Bob Smith (bob@thestuff.net)
10756         * Math.cs: Implemented. 
10758 2001-07-19  Miguel de Icaza  <miguel@ximian.com>
10760         * String.cs: Removed tolower and toupper.
10762         * Char.cs: Moved ToLower and ToUpper from string to here. 
10764         * Convert.cs ToByte (float value), ToByte (double value) Use IsNan
10765         instead of comparing the value to Nan.
10767 2001-07-19  Duco Fijma (duco@lorentz.xs4all.nl)
10769         * TimeSpan.cs: New implementation.
10771 2001-07-18  Scott Sanders <scott@stonecobra.com>
10773          * UriFormatExcpetion.cs: Add - 85% complete
10775 2001-07-17  Jeffrey Stedfast  <fejj@ximian.com>
10777         * String.cs (IndexOf): Slight optimization that allows skipping
10778         over a few chars here and there. This isn't as good as using my
10779         Boyer-Moore implementation, however, Boyer-Moore is only really
10780         good for long strings (I plan on making the code decide which
10781         string search algorithm it should use on-the-fly at some point).
10782         (LastIndexOf): Fix to work correctly.
10783         (BoyerMoore): Took out some unneeded code and fixed an edge-case.
10785 2001-07-16  Michael Lambert <michaellambert@email.com>
10787         * EventArgs.cs: Add.
10788         
10789 2001-07-16  Miguel de Icaza  <miguel@ximian.com>
10791         * Version.cs: Remove my buggy comment.
10793 2001-07-15  Sean MacIsaac  <macisaac@ximian.com>
10795         * String.cs: Spelling error of IComparable, object's
10796         MemberwiseClone cannot be overridden.  Made indexer valid for now,
10797         but not sure what to do about this in the long run.  Seems to be a
10798         couple bugs in csc.exe having to do with multiple pointer defs in
10799         the same statement, and returning subclasses of a class in the
10800         return type of an interface function implementation.  Also moved
10801         operators inside of class definition.
10803 2001-07-14  Jeffrey Stedfast  <fejj@ximian.com>
10805         * String.cs: A tom of compile fixes, although we still don't compile.
10807         * IConvertible.cs: The To*Int64() methods return *Int64's, not
10808         *Int32's. Also, it's ToDateTime() not ToDateType().
10810 2001-07-14  Jeffrey Stedfast  <fejj@ximian.com>
10812         * String.cs: Apparently I needed to at least write stubs for the
10813         IConvertible interfaces. *sigh*
10815 2001-07-14  Jeffrey Stedfast  <fejj@ximian.com>
10817         * String.cs: Many logic/other fixes and better usage of the
10818         features of c#
10819         (tolower): New convenience method to help condense code.
10820         (toupper): Another new helper method.
10821         (Compare): Use the new helper methods.
10822         (ToLower): use tolower().
10823         (ToUpper): use toupper().
10824         (LastIndexOfAny): Implemented.
10825         (BoyerMoore): New private helper method that implements a modified
10826         version of the Boyer-Moore search algorithm. Noothing uses it yet
10827         as I'm not 100% sure it even works properly with unicode strings
10828         not to mention it uses a huge lookup-table :-)
10829         (Split): Implemented.
10831 2001-07-13  Jeffrey Stedfast  <fejj@ximian.com>
10833         * TODO: Added things that need to be finished in System.String
10835         * String.cs: New source file implementing the System.String class
10837 2001-07-12  Sean MacIsaac  <macisaac@ximian.com>
10839         * TypeCode.cs: UInt64 was UInt63.
10841         * Object.cs: Fixed a numer of compiler errors.
10843         * Array.cs: Fixed some compiler errors.
10845         * IComparable.cs: Fixed some compiler errors.
10847         * ICloneable.cs: Fixed some compiler errors.
10849         * IConvertible.cs: Fixed some compiler errors.
10851         * IFormattable.cs: Fixed a compiler error.
10853         * IFormatProvider.cs: Fixed a compiler error.
10855         * IDisposable.cs: Fixed a compiler error.
10857         * IFormatProvider.cs: Added public accesability type to
10858         IFormatProvider.
10860         * Exception.cs: Added a using statement to remove compile time
10861         error.
10863         * ApplicationException.cs: Removed a ; that was causing a compiler
10864         error.
10866         * Int16.cs: Fixed some compiler errors.
10868         * Int32.cs: Fixed some compiler errors.
10870         * Int64.cs: Fixed some compiler errors.
10872         * SystemException.cs: Fixed a compiler error.
10874         * UInt16.cs: Fixed some compiler errors.
10876         * UInt32.cs: Fixed some compiler errors.
10878         * UInt64.cs: Fixed some compiler errors.
10880         * Void.cs: Fixed a compiler error.      
10882 2001-07-12  Joe Shaw  <joe@ximian.com>
10884         * Array.cs: Fix backwards parameters to Array.SetValue()
10885         throughout.
10886         (BinarySearch): Fix backward logic surrounding whether to call
10887         value.CompareTo or comparer.Compare.
10888         (LastIndexOf): Stop being stupid. I am so not used to strongly
10889         bounded arrays...
10890         (Sort): Implement a quicksort.
10892 2001-07-11  Joe Shaw  <joe@ximian.com>
10894         * Array.cs: Change all instances of trying to access an array with
10895         the index operator to calls to GetValue and SetValue, and add
10896         InternalGetValue and InternalSetValue which are internal calls
10897         into the runtime. Ew.
10899 2001-07-10  Joe Shaw  <joe@ximian.com>
10901         * Array.cs: Implemented everything but Sort().
10903 2001-07-09  Jeffrey Stedfast  <fejj@ximian.com>
10905         * Object.cs (Object::Equals): Object variable name is `o'.
10907 2001-07-06  Joe Shaw  <joe@ximian.com>
10909         * Int16.cs, Int32.cs, Int64.cs, UInt16.cs, UInt32.cs, UInt64.cs:
10910         Implement the IComparable and IFormattable interfaces. Fix a typo
10911         (publig -> public)
10913         * ApplicationException.cs, ArgumentException.cs,
10914         ArgumentNullException.cs, ArgumentOutOfRangeException.cs,
10915         ArtithmeticException.cs, ArrayTypeMismatchException.cs,
10916         DivideByZeroException.cs, DuplicateWaitObjectException.cs,
10917         ExecutionEngineException.cs, FormatException.cs,
10918         IndexOutOfRangeException.cs, InvalidCastException.cs,
10919         InvalidOperationException.cs, InvalidProgramException.cs,
10920         MulticateNotSupportedException.cs, NotFiniteNumberException.cs,
10921         NotSupportedException.cs, NullReferenceException.cs,
10922         OutOfMemoryException.cs, OverflowException.cs, RankException.cs,
10923         StackOverflowException.cs, SystemException.cs,
10924         TypeInitializationException.cs: Added all of the exceptions
10925         specified by the language spec. Mmmm... bloat.
10927 2001-07-06  Miguel de Icaza  <miguel@ximian.com>
10929         * Int64.cs, Int32.cs: Put.  Parsing and ToString missing.  Should
10930         do a generic routine all of these guys use.
10932         * Int16.cs: identified missing methods.
10934         * UInt16.cs, UInt32.cs, UInt64.cs: Add.
10936 2001-06-26  Miguel de Icaza  <miguel@ximian.com>
10938         * TypeCode.cs: Implement
10940         * Void.cs: Implement.
10942         * TODO: Add file to keep track of pending tasks.
10944         * Object.cs, ValueType.cs: Implement.