1 2010-05-06 Rodrigo Kumpera <rkumpera@novell.com>
3 * GC.cs: Add new register_ephemeron_array icall.
5 2010-04-25 Carlos Alberto Cortez <calberto.cortez@gmail.com>
7 * TimeSpan.cs: Support custom formats in ToString().
9 2010-04-23 Rolf Bjarne Kvinge <RKvinge@novell.com>
11 * Lazy.cs: Include in Moonlight build.
13 2010-04-22 Carlos Alberto Cortez <calberto.cortez@gmail.com>
15 * TimeSpan.cs: The final 4.0 release removed the restriction of
16 preceding zeroes when parsing, and it also added 't' and 'T' as valid
17 formats equivalent to 'c' (default).
19 2010-04-16 Rodrigo Kumpera <rkumpera@novell.com>
21 * MonoType.cs (GetInterface): Compare against the name
22 of the generic type definition.
26 2010-04-16 Rodrigo Kumpera <rkumpera@novell.com>
28 * MonoCustomAttrs.cs (GetBasePropertyDefinition): Use
29 GetBaseMethod instead of GetMethodDefinition otherwise
30 we skip intermediate overloads.
34 2010-04-16 Sebastien Pouliot <sebastien@ximian.com>
36 * Environment.cs: Ensure elevated trust when calling
37 GetFolderPath on Moonlight
39 2010-04-16 Sebastien Pouliot <sebastien@ximian.com>
41 * Action.cs: SL4 moved some Action in mscorlib
42 * Funcs.cs: SL4 moved some Func<> in mscorlib
43 * String.cs: Make IsNullOrWhiteSpace available, internally,
44 before NET_4_0 (or SL4) since it's proving useful.
46 2010-04-15 Jb Evain <jbevain@novell.com>
48 * Guid.cs: rework the Guid parser to implement the net_4_0
49 [Try]ParseExact methods.
51 2010-04-15 Jérémie Laval <jeremie.laval@gmail.com>
54 * Tuples.cs: Add BOOTSTRAP_NET_4_0 define
56 2010-04-13 Rodrigo Kumpera <rkumpera@novell.com>
58 * MonoCustomAttrs.cs: Raise an exception if the runtime
59 returned a null cattr.
61 2010-04-13 Zoltan Varga <vargaz@gmail.com>
63 * Convert.cs (ToInt32): Do a checked cast. Fixes #596339.
65 2010-04-12 Carlos Alberto Cortez <calberto.cortez@gmail.com>
67 * TimeSpan.cs: Implement support for custom formats parsing. This
68 should as well include the bits required to easily implement the same
69 for ToString methods, when the final release fixes the mess we found
72 2010-04-08 Rodrigo Kumpera <rkumpera@novell.com>
74 * Type.cs: Add ResolveInternal virtual call that
75 resolves a given type to it's concrete type.
77 2010-03-07 Rodrigo Kumpera <rkumpera@novell.com>
79 * Enum.cs (GetInfo): Don't use isinst tests as they can
80 return true for both signed and unsigned version of a
83 * Enum.cs (FindPosition): Ditto.
85 2010-04-06 Marek Safar <marek.safar@gmail.com>
87 * Array.cs: Don't make read-only collection read-only.
89 2010-03-31 Miguel de Icaza <miguel@novell.com>
91 * UInt32.cs, Int64.cs, UInt64.cs: cope with the case that the
92 IFormatProvider is not a NumberFormatInfo, preventing a crash.
93 This was already handled by Int32.cs, but these other routines
94 were never properly updated.
98 * DateTimeOffset.cs: Add support for format K in DateTimeOffset,
101 * DateTime.cs: Add serialization support, fixes #588198.
103 Perhaps we should change the format as well since this is the new
104 format serialized anyways (see bug 592221, it saves 4 bytes of
107 2010-03-30 Sebastien Pouliot <sebastien@ximian.com>
109 * InvalidTimeZoneException.cs
110 * TimeZoneNotFoundException.cs:
111 Fix Moonlight since these types now reside in mscorlib
112 (instead of System.Core) for NET_4_0 and also for SL4
114 2010-03-30 Jb Evain <jbevain@novell.com>
116 * MonoType.cs: let the binder reorder arguments when invoking
118 * Activator.cs (CreateInstance): use BindToMethod instead of
119 SelectMethod to make sure that params constructors are properly called.
123 2010-03-29 Carlos Alberto Cortez <calberto.cortez@gmail.com>
125 * TimeSpan.cs: Implement all the overloads of both TryParseExact and
126 ParseExact methods, by detecting the specific semantic changes in the
127 parse process, so we can properly re-utilize our new approach. This
128 included indicating our parser its culture sensitiveness, usage of colon as
129 day separator fallback or as a precise separator, and other minor bits.
130 We are only missing composite parsing right now.
132 2010-03-29 Sebastien Pouliot <sebastien@ximian.com>
134 * AppDomainSetup.cs: Add new (FX4 and SL4) SetCompatibilitySwitches
135 method (empty is good enough for moonlight testing)
136 * Environment.cs: Expose MyVideos in Moonlight build
138 2010-03-26 Carlos Alberto Cortez <calberto.cortez@gmail.com>
140 * TimeSpan.cs: We always give higher precedence to the first found
141 error, but for versions before 4.0 we need to give a higher one to
142 per-element overflow *specifically* (as opposed to int32 overflow,
143 which remains the same). This is not needed for 4.0, so report
144 per-element overflow as a normal error.
145 This should fix a compatibility case, as well as simplifying the code.
147 2010-03-25 Gonzalo Paniagua Javier <gonzalo@novell.com>
149 * MonoAsyncCall.cs: remove unused field.
150 * Delegate.cs: add new IsTransparentProxy property.
151 * MulticastDelegate.cs: add new HasSingleTarget property.
152 * Environment.cs: bump up corlib version.
154 2010-03-25 Sebastien Pouliot <sebastien@ximian.com>
156 * AppDomain.cs: Add new properties that are in both FX4 and SL4
157 since Moonlight needs them (for testing purpose).
158 * Environment.cs: FailFast overloads are present in SL4 (and also
159 needed for testing Moonlight)
161 2010-03-24 Sebastien Pouliot <sebastien@ximian.com>
163 * AppDomain.cs: Change default value from null to false for new
164 (NET_4_0 and SL4) IsCompatibilitySwitchSet. Not sure when (or even
165 if) it can return null (at least not when testing SL4 RC).
168 2010-03-22 Carlos Alberto Cortez <calberto.cortez@gmail.com>
170 * TimeSpan.cs: When parsing ticks, we used to only parse
171 the first 7 digits, and more than that would cause a FormatException -
172 starting in 4.0 we need to throw an OverflowException, however. Also,
173 for hours/minutes/seconds, two or more preceding zeroes will cause an
174 OverflowException as well.
176 2010-03-22 Carlos Alberto Cortez <calberto.cortez@gmail.com>
178 * TimeSpan.cs: Create a new Parser.Execute method for 4.0 -and use the
179 previous impl for 2.0-, to handle the new semantics gracefully -
180 specifically the new 'dd:hh:mm:ss' format and related bits, instead of
181 of a ton of #ifdef blocks. Remove any 4.0 bits from the previous
182 version as well, to keep it clean.
184 2010-03-19 Carlos Alberto Cortez <calberto.cortez@gmail.com>
186 * TimeSpan.cs: Move the error detection code to a separate method.
187 This way depending on the version we decide what error takes
188 precedence: OverlowException in 2.0, and FormatException in 4.0. This
189 also lets us keep the Execute() code cleaner and easier to understand.
191 2010-03-18 Carlos Alberto Cortez <calberto.cortez@gmail.com>
193 * TimeSpan.cs: Put the error info in a single field, to make it easier
194 to preserve the very first error we get while parsing, and discard the
195 next ones. This will help us in a pair of cases where we were
196 overriding the previous error and reporting the wrong exception.
198 2010-03-17 Sebastien Pouliot <sebastien@ximian.com>
200 * String.cs: SL4 includes new IsNullOrWhiteSpace and Concat/Join
203 2010-03-17 Carlos Alberto Cortez <calberto.cortez@gmail.com>
205 * TimeSpan.cs: TimeSpan is actually implementing IFormattable.
207 2010-03-17 Rolf Bjarne Kvinge <RKvinge@novell.com>
209 * AppDomain.cs: Added MonoTODO for IsCompatibilitySwitchSet.
211 2010-03-16 Carlos Alberto Cortez <calberto.cortez@gmail.com>
213 * TimeSpan.cs: In 4.0 the Parse/TryParse methods always try to use its
214 associated CultureInfo.NumberFormat.NumberDecimalSeparator value, as well as
215 providing backwards compatibility by also supporting '.' as the
218 2010-03-16 Jb Evain <jbevain@novell.com>
229 Use MOONLIGHT symbol to disambiguate MonoTouch and Moonlight code.
231 2010-03-16 Rolf Bjarne Kvinge <RKvinge@novell.com>
233 * Enum.cs: Added a few 4.0 api to Moonlight.
235 2010-03-16 Rolf Bjarne Kvinge <RKvinge@novell.com>
237 * AppDomain.cs: Added IsCompatibilitySwitchSet for .NET 4.0 and Moonlight.
239 2010-03-15 Carlos Alberto Cortez <calberto.cortez@gmail.com>
241 * TimeSpan.cs: In 4.0 if the part parsed as days exceeds the allowed
242 range -this is, 23-, then it is processed as days instead - opposed to
243 2.0, where we are throwing an OverflowException.
245 2010-03-15 Carlos Alberto Cortez <calberto.cortez@gmail.com>
247 * TimeSpan.cs: Make the colon parsing optional -and adjust the name to
248 reflect it-, so we can properly parse the case where we only have the
249 hours and minutes. This subtle bug was hidden before, since a string
250 such "10:12" would be parsed correctly, but "10:12 " (trailing white
251 space) was getting a FormatException.
253 2010-03-12 Sebastien Pouliot <sebastien@ximian.com>
255 * Tuple.cs, Tuples.cs: Add them to NET_2_1 since they are parts
258 2010-03-08 Carlos Alberto Cortez <calberto.cortez@gmail.com>
260 * TimeSpan.cs: Implement 4.0 overloads of TryParse/Parse.
262 2010-03-08 Carlos Alberto Cortez <calberto.cortez@gmail.com>
264 * TimeSpan.cs: Implement 4.0 ToString overloads.
266 2010-03-06 Rodrigo Kumpera <rkumpera@novell.com>
268 * UIntPtr.cs: Remove some v4 custom attributes that were
269 on Beta2 but aren't there on RC.
271 2010-03-05 Carlos Alberto Cortez <calberto.cortez@gmail.com>
273 * TimeSpan.cs: Implement correctly the TryParse method, instead of
274 using a try/catch block.
276 2010-03-04 Rodrigo Kumpera <rkumpera@novell.com>
278 * Type.cs : Fix for bug #574696: don't recurse into base types in GetMember when
280 Patch by Eberhard Beilharz <eb1@sil.org>
282 2010-03-03 Miguel de Icaza <miguel@novell.com>
284 * Decimal.cs: Disable the fast double2decimal code, and go back to
285 string parsing as there is a rounding/precision bug.
288 // We cant use the double2decimal method
289 // because it incorrectly turns the floating point
290 // value 1.23456789E-25F which should be:
291 // 0.0000000000000000000000001235
292 // into the incorrect:
293 // 0.0000000000000000000000001234
295 // The code currently parses the double value 0.6 as
298 // And we have a patch for that called (trim
300 2010-03-03 Rodrigo Kumpera <rkumpera@novell.com>
302 * Type.cs (Equals): Better version that does less
303 trips to runtime land.
305 2010-03-03 Rodrigo Kumpera <rkumpera@novell.com>
307 * MonoType.cs: Add v4 security properties.
309 2010-03-03 Rodrigo Kumpera <rkumpera@novell.com>
311 * Type.cs: Add v4 security properties.
313 2010-03-03 Rodrigo Kumpera <rkumpera@novell.com>
315 * Type.cs: Fix identation.
317 2010-03-03 Rodrigo Kumpera <rkumpera@novell.com>
319 * Activator.cs: : Implement new v4 overloads and [Obsolete].
321 2010-03-03 Rodrigo Kumpera <rkumpera@novell.com>
323 * AppDomain.cs: Add bunch of trivial overloads.
325 2010-03-01 Rodrigo Kumpera <rkumpera@novell.com>
327 * TypeSpec.cs: New file. Managed code implementation of type name
330 * Type.cs: Implement new v4 overloads of GetType.
332 2010-03-01 Zoltan Varga <vargaz@gmail.com>
334 * Array.cs (CreateArray): Disallow creation of arrays of unfinished types.
336 2010-03-01 Miguel de Icaza <miguel@novell.com>
338 * DateTime.cs (DoParse): patch from Tom Philpot, while using
339 TryParse if s is null, we should return false, not crash.
341 2010-02-28 Rodrigo Kumpera <rkumpera@novell.com>
343 * Type.cs: Forgot a pair of #if NET_4_0.
345 2010-02-28 Miguel de Icaza <miguel@novell.com>
347 * Decimal.cs: If the NumberFormatInfo is broken and contains the
348 same character for grouping than is used for decimals, the decimal
349 separator gets a priority. This issue was exposed by the
350 Silverlight Test suite.
352 Allow null trailing characters when parsing, this is valid in
353 .NET: "5\0" and "5\0\0\0\0", but "5\05" is not.
355 * Decimal.cs: Enabling the unmanaged double to decimal and float
356 to decimal conversions code again as I am unable to find any
357 regressions in corlib, System.Data, the Silverlight test suite or
360 I am enabling it hoping that we can find the original problem that
361 lead us to use the slow path.
363 2010-02-27 Rodrigo Kumpera <rkumpera@novell.com>
365 * AggregateException.cs: Fix ctor vibility.
367 * Type.cs: IsEnum and IsSerializable are virtual
370 * Tuple.cs: Fix Tuple'8 Create method.
372 2010-02-27 Rodrigo Kumpera <rkumpera@novell.com>
374 * UIntPtr.cs: Add some v4 custom attributes.
376 2010-02-27 Rodrigo Kumpera <rkumpera@novell.com>
378 * Float.cs: New v4 operators.
380 2010-02-27 Rodrigo Kumpera <rkumpera@novell.com>
382 * IntPtr.cs: Add some v4 custom attributes.
384 2010-02-27 Rodrigo Kumpera <rkumpera@novell.com>
386 * Double.cs: New v4 operators.
388 2010-02-27 Rodrigo Kumpera <rkumpera@novell.com>
390 * Type.cs: Make cor-compare happy.
392 2010-02-26 Rodrigo Kumpera <rkumpera@novell.com>
394 * Lazy.cs: Implement all lazy modes.
396 2010-02-26 Rodrigo Kumpera <rkumpera@novell.com>
398 * ExecutionEngineException.cs: Type is obsolete.
400 2010-02-26 Rodrigo Kumpera <rkumpera@novell.com>
402 * Type.cs: Implement new v4 IsEnumDefined ().
404 2010-02-24 Rodrigo Kumpera <rkumpera@novell.com>
406 * Type.cs: Implement new v4 GetEnumValue ().
408 2010-02-24 Rodrigo Kumpera <rkumpera@novell.com>
410 * Type.cs: Implement new v4 GetEnumValues ().
412 * MonoType.cs: Ditto.
414 2010-02-23 Rodrigo Kumpera <rkumpera@novell.com>
416 * Type.cs: Use the right kind of annotations.
418 2010-02-23 Rodrigo Kumpera <rkumpera@novell.com>
420 * Type.cs: Implement new v4 GetEnumNames ().
422 2010-02-22 Rodrigo Kumpera <rkumpera@novell.com>
424 * Type.cs: Implement new v4 GetEnumUnderlyingType ().
426 2010-02-22 Rodrigo Kumpera <rkumpera@novell.com>
428 * Type.cs: Implement new v4 GetTypeCodeImpl ().
430 2010-02-19 Rodrigo Kumpera <rkumpera@novell.com>
432 * Type.cs: Implement new v4 behavior for Equals.
434 Fri Feb 19 09:05:36 CET 2010 Paolo Molaro <lupus@ximian.com>
436 * Decimal.cs: fixed Remainder (bug #576341).
438 2010-02-13 Gonzalo Paniagua Javier <gonzalo@novell.com>
440 * Environment.cs: implement SystemPageSize.
442 Fri Feb 12 18:38:01 CET 2010 Paolo Molaro <lupus@ximian.com>
444 * InsufficientExecutionStackException.cs: new exception type in 4.0.
446 2010-02-11 Rodrigo Kumpera <rkumpera@novell.com>
448 * MonoType.cs: Implement GetCustomAttributesData.
450 2010-02-06 Chris Toshok <toshok@ximian.com>
452 * AppDomain.cs (SetupInformationNoCopy): make this internal for
455 2010-02-02 Jérémie Laval <jeremie.laval@gmail.com>
457 * AggregateException.cs:
458 * OperationCanceledException.cs: Port to .NET 4 beta 2 API
460 2010-01-31 Zoltan Varga <vargaz@gmail.com>
462 * Enum.cs: Fix a warning.
464 2010-01-29 Carlos Alberto Cortez <calberto.cortez@gmail.com>
466 * Version.cs: Implement Parse and TryParse.
468 2010-01-28 Rolf Bjarne Kvinge <RKvinge@novell.com>
470 * AppDomain.cs: LoadSatellite: add a boolean parameter specifiying
471 whether we should throw on exceptions or not.
473 2010-01-28 Rolf Bjarne Kvinge <RKvinge@novell.com>
475 * TimeSpan.cs: TryParse: Handle null values to not throw ANEs.
477 2010-01-25 Gonzalo Paniagua Javier <gonzalo@novell.com>
479 * Array.cs: updates to the API from beta2.
480 * _AppDomain.cs: no GetLifeTimeService() in 4.0
482 2010-01-25 Carlos Alberto Cortez <calberto.cortez@gmail.com>
484 * Enum.cs: Implement TryParse and do the required refactoring of our
485 Parse method to support it.
487 2010-01-25 Atsushi Enomoto <atsushi@ximian.com>
489 * Single.cs : parse MaxValue and PositiveInfinity as expected.
490 Patch by Tiaan Geldenhuys.
492 2010-01-21 Carlos Alberto Cortez <calberto.cortez@gmail.com>
494 * Activator.cs: When calling CreateInstance() and no default .ctor is
495 found for the type, don't pass the member argument to the
496 MissingMethodException, to have a better and simpler error message.
499 2010-01-20 Gonzalo Paniagua Javier <gonzalo@novell.com>
501 * Tuples.cs: explicitly implement IStructural*.
503 2010-01-17 Carlos Alberto Cortez <calberto.cortez@gmail.com>
505 * UInt64.cs: Implement a lightweight version of the Parse method for
506 the overload that does not take IFormatProvider/NumberStyle
507 parameters - this gets us a nice speed up, just like we do for the
511 2010-01-15 Rodrigo Kumpera <rkumpera@novell.com>
513 * Array.cs: Implement IStructuralComparer.
515 2010-01-15 Carlos Alberto Cortez <calberto.cortez@gmail.com>
517 * Int32.cs: In Parse() cast the parsed value to long *before* changing
518 its sign - this way we preserve the original value, instead of
519 accidentally changing it. This was happening parsing _exactly_
523 2010-01-15 Atsushi Enomoto <atsushi@ximian.com>
525 * DateTime.cs : In AddMilliseconds(), it seems fractional
526 milliseconds are first rounded and then added.
528 2010-01-15 Atsushi Enomoto <atsushi@ximian.com>
530 * DateTimeOffset.cs : preserve fractions (it is somehow dropped).
532 2010-01-13 Atsushi Enomoto <atsushi@ximian.com>
534 * Double.cs : no need to preserve old code.
536 2010-01-12 Atsushi Enomoto <atsushi@ximian.com>
538 * Double.cs : AllowLeading/TrailingWhite should also check those
539 surrounding string constants such as "NaN".
541 2010-01-11 Carlos Alberto Cortez <calberto.cortez@gmail.com>
543 * Int32.cs: Implement support for exponent in the Parse methods.
546 2010-01-10 Zoltan Varga <vargaz@gmail.com>
548 * GC.cs: Add stubs for new net 4.0 methods.
550 2010-01-07 Jb Evain <jbevain@novell.com>
552 * MonoType.cs (.MemberType): return the proper member type
553 for generic parameters.
555 2010-01-07 Sebastien Pouliot <sebastien@ximian.com>
557 * Convert.cs: Fix line endings in ToBase64String (bug #568778)
558 and also the default line length. Code changed to not require
559 a BinaryReader over a MemoryStream to reduce memory requirements.
561 2010-01-07 Zoltan Varga <vargaz@gmail.com>
563 * TermInfoDriver.cs (GetCursorPosition): Avoid waiting 1 sec here.
565 2010-01-03 Zoltan Varga <vargaz@gmail.com>
567 * Array.cs: Fix ArrayReadOnlyList.CopyTo. Fixes #564095.
569 2010-01-03 Zoltan Varga <vargaz@gmail.com>
571 * DateTime.cs (TryParseExact): Handle exceptions. Fixes #567857.
573 2009-12-21 Marek Habersack <mhabersack@novell.com>
575 * Int32.cs: treat terminating null as whitespace
577 2009-12-19 Zoltan Varga <vargaz@gmail.com>
579 * String.cs: Fix the various IndexOf and LastIndexOf methods so they handle
580 "" and a non-zero startIndex correctly. Fixes #566106.
582 2009-12-17 Sebastien Pouliot <sebastien@ximian.com>
584 * String.cs: Fix #565602 right-padding empty strings.
586 2009-12-15 Marek Safar <marek.safar@gmail.com>
588 * Array.cs: Optimize sort operations on all primitive types.
590 2009-12-14 Rodrigo Kumpera <rkumpera@novell.com>
592 Type.cs (IsCompilerContext): The default implementation now checks if the
593 type's assembly is under compiler context or not.
595 2009-12-12 Rodrigo Kumpera <rkumpera@novell.com>
597 * Environment.cs: Bump corlib version.
599 2009-12-12 Rodrigo Kumpera <rkumpera@novell.com>
601 * MonoType.cs: Make the GetConstructorImpl machinery available
602 to be used by others.
604 * Type.cs (MakeGenericType): Is any of the arguments is not a system
605 type create an instance of MonoGenericClass instead.
607 2009-12-09 Jb Evain <jbevain@novell.com>
609 * StringComparer.cs (GetHashCode): properly throw
610 an ANE instead of an NRE.
612 2009-12-09 Miguel de Icaza <miguel@novell.com>
614 * Enum.cs: Add new .NET 4.0 API.
616 2009-12-08 Marek Habersack <mhabersack@novell.com>
618 * Type.cs: added overloads for the == and != operators (4.0).
620 2009-12-08 Rodrigo Kumpera <rkumpera@novell.com>
622 * Type.cs: Add virtual property IsCompilerContext to cleanup
623 compiler context resolution across SRE.
625 2009-12-05 Mark Probst <mark.probst@gmail.com>
627 * String.cs: A new LOS_limit variable which gives the maximum
628 string length that's not put in the LOS.
630 * StringBuilder.cs: Copy the string also if it's in the LOS and
631 chopping it would bring its size below the LOS limit.
633 * Environment.cs: Bump corlib version.
635 2009-12-03 Stephane Delcroix <stephane@delcroix.org>
637 * DateTimeOffset.cs: fix dates arithmetic to avoid throwing
638 while crossing dst boundaries.
640 2009-12-03 Jb Evain <jbevain@novell.com>
642 * Attribute.cs: remove code duplication.
644 2009-12-02 Jb Evain <jbevain@novell.com>
646 * Enum.cs (IConvertible.ToType): properly convert enum values
647 to strings instead of their numeric value.
649 2009-12-02 Jb Evain <jbevain@novell.com>
651 * Environment.cs (mono_corlib_version): bump.
652 * Attribute.cs: when retrieving custom attributes defined
653 on parameters belonging to a virtual method, walk
654 the inheritance chain to check for parameters attributes
657 2009-12-01 Jb Evain <jbevain@novell.com>
659 * Type.cs (MakeByRefType): throw a TypeLoadException when being
660 called on type which is already ByRef.
662 2009-11-26 Sebastien Pouliot <sebastien@ximian.com>
664 * Random.cs: Fix case where the diff between min and max
665 is very large in Next(int,int). Fix bug #558593
667 2009-11-25 Zoltan Varga <vargaz@gmail.com>
669 * Delegate.cs (GetHashCode): Fix this so it is constant.
671 2009-11-24 Jb Evain <jbevain@novell.com>
673 * Array.cs: use ContainsGenericParameters instead of
674 IsGenericTypeDefinition as it catches more cases.
676 2009-11-24 Jb Evain <jbevain@novell.com>
678 * Array.cs (IList.this[int]): prevent the use of the IList indexer
679 when dealing with a multi dimensional array.
681 2009-11-24 Jb Evain <jbevain@novell.com>
683 * Array.cs (Clear): throw an IndexOutOfRangeException instead
684 of an ArgumentOutRangeException for a negative length.
686 2009-11-24 Jb Evain <jbevain@novell.com>
688 * Array.cs (CreateInstance): do not allow open generic types.
690 2009-11-24 Jb Evain <jbevain@novell.com>
692 * Array.cs (CreateInstance): do not allow void arrays.
694 2009-11-23 Carlos Alberto Cortez <calberto.cortez@gmail.com>
696 * Array.cs: When sorting and we are sorting value types implementing
697 IComparable<T>, use its corresponding Comparer<T>.Default helper.
698 This way we avoid casting our values to IComparable<T>, and thus we
699 avoid *all* the boxing for them. Using Comparer<T>.Default seems to be
700 slower for reference types, so we don't use it for those ones.
702 2009-11-22 Miguel de Icaza <miguel@novell.com>
704 * Environment (IsUnix): expose this common property, so we avoid
707 2009-11-18 Marek Safar <marek.safar@gmail.com>
709 * Type.cs: Use faster string comparers.
711 2009-11-17 Atsushi Enomoto <atsushi@ximian.com>
713 * DateTimeOffset.cs : fix parse failure on missing colon.
714 Fixed bug #547675, patch by Santa Marta (see bugzilla).
716 2009-11-13 Marek Safar <marek.safar@gmail.com>
718 * Lazy.cs: Check recursive initializations.
720 2009-11-11 Rodrigo Kumpera <rkumpera@novell.com>
722 * Type.cs: Fix Make(Array|ByRef|Pointer)Type to not crash
725 * Type.cs (MakeGenericType): Don't crash with user types.
727 * Type.cs (GetGenericParameterConstraints): Don't crash with user types.
729 * Type.cs (GenericParameterAttributes): Don't crash with user types.
731 * Type.cs (IsInstanceOfType): Don't crash with user types.
733 * Type.cs (IsAssignableFrom): Better handle User Types.
735 * Type.cs (GetInterfaceMap): Don't crash with user types.
737 * Type.cs (Equals): Fix behavior to be more MS compatible.
739 2009-11-11 Sebastien Pouliot <sebastien@ximian.com>
741 * Console.cs: Reduce duplication between OpenStandard[Input|
742 Output|Error] and, for Moonlight, don't return a NullStream if
743 security is disabled (e.g. when smcs executes) r: alan
744 Note: include changes from r145773 (2-6) from toshok
746 2009-11-10 Miguel de Icaza <miguel@novell.com>
748 * Lazy.cs: Updated API to 4.0 Beta 2
750 2009-11-08 Juraj Skripsky <js@hotfeet.ch>
753 - Sort(..) without IComparer param call Sort(.., (IComparer)null) siblings
754 - Sort(keys, items,..) with items == null call Sort(keys,..) siblings
755 Add missing argument checks. Add SortImpl method to be used by
756 List<T>.Sort(Comparison <T>).
758 Part 3 of 3 fixing bug #351638.
760 2009-11-08 Juraj Skripsky <js@hotfeet.ch>
762 * Array.cs (Sort): Add and call
763 - SortImpl methods which do the real work without argument checking
764 - MoveNullKeysToFront methods which do a null <-> non-null sorting and
765 ensure that all non-null object implement IComparable/IComparable<T>
767 Part 2 of 3 fixing bug #351638.
769 2009-11-08 Juraj Skripsky <js@hotfeet.ch>
771 * Array.cs (Sort): optimize qsort by employing multiple, faster copies
772 of the inner-most loops:
773 - for case "comparer != null"
774 - for case "pivot is IComparable<T>"
775 - for case "pivot is IComparable"
776 Remove compare methods as the inner loops now do their work.
777 Use GetValueImpl instead of GetValue in swap.
779 Part 1 of 3 fixing bug #351638.
781 2009-11-03 Miguel de Icaza <miguel@novell.com>
783 * TermInfoDriver.cs (CheckWindowDimensions) Avoid extra checks, as
784 the condition was always checked previously.
786 (WriteSpecialKey): Actually write the tab character.
788 2009-11-02 Miguel de Icaza <miguel@novell.com>
790 * More NET_2_0 define removal, assume that it is now always true.
792 2009-10-30 Sebastien Pouliot <sebastien@ximian.com>
794 * MonoType.cs: Don't pass null value to icalls
795 GetCorrespondingInflated[Constructor|Method]
797 2009-10-28 Lluis Sanchez Gual <lluis@novell.com>
799 * MarshalByRefObject.cs: In InitializeLifetimeService, if a lease
800 exists for the object return it, instead of always creating
801 a new one. Fixes bug #544357.
803 2009-10-27 Sebastien Pouliot <sebastien@ximian.com>
805 * String.cs: Remove unused (and unneeded) internal call defs.
806 Reduce duplication (and fix test) for Concat (object,object).
807 Avoid allocating zero-length strings in the cases where the
810 2009-10-22 Miguel de Icaza <miguel@novell.com>
812 * String.cs (IsNullOrWhiteSpace, Concat, Join): New 4.0 methods.
814 * IntPtr.cs (Add, Subtract): New 4.0 methods.
816 * Tuple.cs: Updated signature.
818 2009-10-19 Marek Safar <marek.safar@gmail.com>
820 * IObservable.cs, IObserver.cs: New files.
822 * EventHandler.cs: Cleanup.
824 2009-10-16 Miguel de Icaza <miguel@novell.com>
826 * Jumbo patch to drop support for pre-NET_2_0 code:
829 Remove NET_1_0 only code
830 Remove NET_2_0 defines assuming the value is true.
832 Improve one MonoTODO; Implement one MonoTODO/Niex.
834 Ran a textual diff on the resulting assembly to validate that the
835 restul is the same on NET_2_0
837 2009-10-14 Jonathan Pryor <jpryor@novell.com>
839 * AppDomain.cs: Re-add BaseDirectory in the MonoTouch profile.
841 2009-10-14 Sebastien Pouliot <sebastien@ximian.com>
843 * Exception.cs: Use StackFrame.GetSecureFileName to display (or
844 not) the file names (and paths). Don't serialize Source for
846 * ValueType.cs: Change InternalEquals (icall) visibility to
847 private since it is not used elsewhere outside the type.
849 2009-10-08 Sebastien Pouliot <sebastien@ximian.com>
851 * AppDomain.cs: Remove NET_2_1 specific DefineDynamicAssembly(
852 AssemblyName,AssemblyBuilderAccess,bool) since it is not part
853 of SL. Provide a ToString implementation similar to Silverlight
854 for Moonlight (and without directly using an icall)
856 2009-10-07 Sebastien Pouliot <sebastien@ximian.com>
858 * String.cs: Remove unsafe code duplication in ToCharArray.
859 Define out the unused InternalStrcpy icalls
860 * StringComparer.cs: Seal internal/private inner classes.
862 2009-10-06 Sebastien Pouliot <sebastien@ximian.com>
864 * Decimal.cs: Use Compare method instead of directly using the
865 decimalCompare internal call.
867 2009-10-06 Sebastien Pouliot <sebastien@ximian.com>
869 * Enum.cs: Add an internal Value property as a single point to
870 call the internal call get_value.
872 2009-10-06 Sebastien Pouliot <sebastien@ximian.com>
874 * String.cs: Remove normalization methods for Moonlight
876 2009-10-06 Jonathan Chambers <joncham@gmail.com>
878 * String.cs (Contains): Use CompareOptions.Ordinal. Fixes bug
881 2009-10-04 Mark Probst <mark.probst@gmail.com>
883 * AppDomain.cs: Check for static AppDomainInitializer earlier to
884 throw the appropriate exception instead of failing at
887 2009-10-04 Mark Probst <mark.probst@gmail.com>
889 * AppDomainSetup.cs: Functionality for serializing a few members
890 to simplify cross-domain copying from within the runtime.
892 * AppDomain.cs (CreateDomain): Make AppDomainSetup serialize the
893 necessary members in preparation for the cross-domain copy.
895 * Environment.cs: Corlib version bump.
897 2009-10-02 Marek Safar <marek.safar@gmail.com>
899 * Array.cs, Decimal.cs, String.cs, Console.cs, _AppDomain.cs,
900 AppDomain.cs: Removed prehistoric mcs workarounds.
902 2009-09-30 Mark Probst <mark.probst@gmail.com>
904 * Thread.cs: Remove serialized culture icall stuff from
905 InternalThread. Implement it by using the cross-domain byte array
908 * Environment.cs: Corlib version bump.
910 2009-09-29 Gonzalo Paniagua Javier <gonzalo@novell.com>
912 * TermInfoDriver.cs: attempt to fix bug #527487.
914 2009-09-28 Atsushi Enomoto <atsushi@ximian.com>
916 * Console.cs : do not use codepage 28591. It breaks build on
919 2009-09-27 Gonzalo Paniagua Javier <gonzalo@novell.com>
921 * TermInfoDriver.cs: avoid segv if the pointer is not properly
924 2009-09-26 Mark Probst <mark.probst@gmail.com>
926 * NumberFormatter.cs: Remove the _thread field.
928 2009-09-26 Mark Probst <mark.probst@gmail.com>
930 * Environment.cs: Corlib version bump.
932 2009-09-24 Zoltan Varga <vargaz@gmail.com>
934 * Type.cs: Initialize the Missing field.
936 2009-09-22 Sebastien Pouliot <sebastien@ximian.com>
938 * Environment.cs: Remove imperative CAS environment
939 permission checks under NET_2_1
941 2009-09-21 Gonzalo Paniagua Javier <gonzalo@novell.com>
943 * Console.cs: mark methods/properties that only work on windows.
946 2009-09-21 Sebastien Pouliot <sebastien@ximian.com>
948 * AppDomain.cs: Remove use of IPrincipal, Evidence and
949 PermissionSet types for NET_2_1
951 2009-09-20 Sebastien Pouliot <sebastien@ximian.com>
953 * Activator.cs: Remove COM related method for NET_2_1
954 * AppDomain.cs: Remove extra methods and properties for NET_2_1
955 * AppDomainSetup.cs: Remove some properties for NET_2_1
957 2009-09-20 Sebastien Pouliot <sebastien@ximian.com>
959 * AppDomain.cs, Environment.cs: Remove imperative CAS file IO
960 permission checks under NET_2_1
962 2009-09-20 Sebastien Pouliot <sebastien@ximian.com>
964 * AppDomainManager.cs: Remove NET_2_1 defines
965 * AppDomainManager_2_1.cs: New. NET_2_1 specific implementation
967 2009-09-04 Miguel de Icaza <miguel@novell.com>
969 * TermInfoDriver.cs: Handle a few more key combinations.
971 2009-08-14 Miguel de Icaza <miguel@novell.com>
973 * TermInfoDriver.cs (GetCursorPosition): Before we probe the
974 terminal for the cursor location, read all the pending console
975 input into our internal buffer and then send the cursor location
978 2009-08-26 Sebastien Pouliot <sebastien@ximian.com>
980 * TimeSpan.cs: Fix parsing when seconds are not specified.
982 2009-08-14 Marek Safar <marek.safar@gmail.com>
984 * Type.cs: Made IsClass work under compiler context.
986 2009-08-12 Zoltan Varga <vargaz@gmail.com>
988 * ResolveEventArgs.cs: Add net 4.0 RequestingAssembly property.
990 2009-08-11 Jérémie Laval <jeremie.laval@gmail.com>
994 * AggregateException.cs: Add BOOTSTRAP_NET_4_0.
996 2009-08-07 Marek Safar <marek.safar@gmail.com>
998 * AppDomain.cs: IsHomogenous always returns true for now.
1000 2009-08-06 Rodrigo Kumpera <rkumpera@novell.com>
1002 * Environment.cs: Bump corlib version.
1004 2009-08-04 Rodrigo Kumpera <rkumpera@novell.com>
1006 * Environment.cs: Bump corlib version.
1008 2009-08-03 Zoltan Varga <vargaz@gmail.com>
1010 * Environment.cs: Bump corlib version.
1012 2009-07-30 Marek Safar <marek.safar@gmail.com>
1014 * AppDomain.cs: Implemented 2.0 CreateDomain.
1016 2009-07-28 Rodrigo Kumpera <rkumpera@novell.com>
1018 Type.cs (MakeArrayType): Handle one-dym multidimensional array
1019 created with Type::MakeArrayType (1).
1021 2009-07-28 Rodrigo Kumpera <rkumpera@novell.com>
1023 * Type.cs (FindMembers): Fix the ordering of returned members
1024 to method, ctor, property, event, field and nested type.
1026 2009-07-27 Gonzalo Paniagua Javier <gonzalo@novell.com>
1028 * Array.cs: empty arrays just return -1 in LastIndexOf().
1030 2009-07-27 Miguel de Icaza <miguel@novell.com>
1032 * Value types implementing IConvertible.ToType now throw an
1033 ArgumentNullException if they are passed a null as the
1034 "targetType" argument.
1036 This code can not be put directly in the Convert.ToType method, as
1037 this method is used by Convert.ToType (object o, TypeCode tc)
1038 which uses null as a target to throw a different kind of error
1039 (InvalidCastException).
1041 Fixes a few more bugs in the Silverlight BCL test suite.
1043 Additionally, the parameter type has been renamed.
1045 2009-07-26 Miguel de Icaza <miguel@novell.com>
1047 * Type.cs: (GetMember) call directly the worker method, instead of
1048 calling through an intermediary.
1050 (GetMember, full): throw if the name is null.
1052 2009-07-19 Robert Jordan <robertj@gmx.net>
1054 * __ComObject.cs: Factor out Initialize method and expose it to
1055 ComInteropProxy. Fixes bug #520437.
1057 2009-07-14 Rodrigo Kumpera <rkumpera@novell.com>
1059 * Attribute.cs (GetCustomAttributes): Pass typeof(Attribute)
1060 to GetCustomAttributes to match MS.
1062 * MonoCustomAttrs.cs (GetCustomAttributesBase): Do proper
1063 checking of which types are handled by the runtime.
1065 * MonoCustomAttrs.cs (IsDefined): Same.
1069 2009-07-14 Zoltan Varga <vargaz@gmail.com>
1071 * Environment.cs: Bump corlib version.
1073 2009-07-07 Rodrigo Kumpera <rkumpera@novell.com>
1075 * Type.cs (IsUserType): Only TypeDelegator and types
1076 outside of corlib are unhandled usertypes.
1078 2009-07-02 Marek Safar <marek.safar@gmail.com>
1080 * Type.cs, AppDomain.cs: 4.0 bits.
1082 2009-06-26 Gonzalo Paniagua Javier <gonzalo@novell.com>
1084 * DateTime.cs: if the DateTimeOffset is out of bounds, let Parse
1085 report the error. Fix stupid harmless typo.
1086 * DateTimeOffset.cs: report error if the UTC date/time is out of
1089 2009-06-25 Miguel de Icaza <miguel@novell.com>
1091 * Array.cs: IList.this needs to throw IndexOutOfRangeException
1092 when the index is invalid, not ArgumentOutOfRangeException.
1094 * Int32.cs: Do not crash if the FormatProvider returns a null
1095 value on the call to GetFormat (Type).
1097 Validate the NumberStyles, passes Int/Int32Parse2.exe
1099 Fix regression introduced in 2005, we need to throw
1100 ArgumentNullException on Parse.
1102 2009-06-25 Miguel de Icaza <miguel@novell.com>
1104 * Int32.cs: Fix regression introduced in 2005, we need to throw
1105 ArgumentNullException on Parse.
1107 2009-06-23 Gonzalo Paniagua Javier <gonzalo@novell.com>
1109 * DateTime.cs: ignore MinValue to avoid DateTimeOffset ctor throwing
1110 when adjusting for TZ.
1112 2009-06-22 Miguel de Icaza <miguel@novell.com>
1114 * String.cs: In Silverlight the whitespace characters 0x202f and
1115 0x205f are considered for Trim and Split purposes.
1117 2009-06-21 Marek Safar <marek.safar@gmail.com>
1119 * Tuples.cs: Add Equals, GetHashCode.
1121 2009-06-21 Zoltan Varga <vargaz@gmail.com>
1123 * IntPtr.cs (.ctor): Disable the check in the long ctor until we
1124 can figure out how to do it properly.
1126 2009-06-20 Zoltan Varga <vargaz@gmail.com>
1128 * IntPtr.cs (.ctor): Allow long values whose 31th bit is set.
1130 2009-06-18 Gonzalo Paniagua Javier <gonzalo@novell.com>
1132 * DateTime.cs: quick fix for the 1.x build.
1134 2009-06-18 Gonzalo Paniagua Javier <gonzalo@novell.com>
1136 * AppDomainSetup.cs: update attribute.
1137 * TermInfoDriver.cs: ensure we are initialized in CheckWindowDimensions().
1138 * DateTimeOffset.cs: Implement Parse().
1139 * DateTime.cs: add 'zzz' to the list of default time formats. Return a
1140 DateTimeOffset from _DoParse. Fixed the offset minutes when the
1141 timezone is specified as a negative one.
1142 * Console.cs: updates for MoveBufferArea().
1143 * AppDomainManager.cs: implement EntryAssembly.
1144 * AppDomain.cs: update attribute.
1146 2009-06-15 Atsushi Enomoto <atsushi@ximian.com>
1148 * Environment.cs : bump corlib version.
1150 2009-06-12 Bill Holmes <billholmes54@gmail.com>
1152 * Variant.cs (GetValue): Changing the bool case to use the short value.
1153 This is to avoid junk in the high word.
1155 Contributed under MIT/X11 license.
1157 2009-06-10 Marek Safar <marek.safar@gmail.com>
1159 * Predicate.cs, Action.cs, Funcs.cs, Comparison.cs, IComparable.cs,
1160 Converter.cs, EventHandler.cs: Add type variance.
1162 * InvalidTimeZoneException.cs,
1163 TimeZoneNotFoundException.cs: New file.
1165 2009-05-27 Zoltan Varga <vargaz@gmail.com>
1167 * AppDomain.cs (DoAssemblyResolve): Fix recursion detection. Fixes #507003.
1169 2009-05-26 Mark Probst <mark.probst@gmail.com>
1171 * Thread.cs: Don't set the execution context when creating a
1172 thread because the _ec member is thread static and we set the
1173 wrong one. It's now set by the runtime. We just provide the
1176 * Environment.cs: Bump corlib version.
1178 2009-05-22 Zoltan Varga <vargaz@gmail.com>
1180 * Tuple.cs Tuples.cs: New files.
1182 * Lazy.cs LazyExecutionMode.cs Funcs.cs: New files.
1184 2009-05-14 Gonzalo Paniagua Javier <gonzalo@novell.com>
1186 * Type.cs: (GetInterfaceMap) 'this' can't be an interface itself.
1189 2009-05-03 Gonzalo Paniagua Javier <gonzalo@novell.com>
1191 * TermInfoDriver.cs: replace Peek with DataAvailable.
1193 2009-05-02 Sebastien Pouliot <sebastien@ximian.com>
1195 * Console.cs: Remove Windows-specific p/invokes and SSC code
1196 from the NET_2_1 build.
1198 2009-05-01 Sebastien Pouliot <sebastien@ximian.com>
1200 * AppDomainManager.cs: Fix base class for NET_2_1 and implement
1201 CheckSecuritySettings (added in 2.0SP and part of SL API)
1203 2009-04-29 Gonzalo Paniagua Javier <gonzalo@novell.com>
1205 * Enum.cs: return the value as an enum of the right type.
1207 2009-04-28 Gonzalo Paniagua Javier <gonzalo@novell.com>
1209 * Enum.cs: avoid exceptions from ToObject and use Try* instead.
1211 2009-04-25 Miguel de Icaza <miguel@novell.com>
1213 * TermInfoDriver.cs: Use the new StreamReader.DataAvailable to
1214 load all the data that was added into the `stdin' stream when we
1217 2009-04-24 Sebastien Pouliot <sebastien@ximian.com>
1219 * Environment.cs: #ifdef out code that use the registry for the
1220 NET_2_1 profile and some other properties (2) that added
1221 [SecuritySafeCritical] methods to audit inside Moonlight.
1223 2009-04-21 Mark Probst <mark.probst@gmail.com>
1225 * Environment.cs: Bump corlib version.
1227 2009-04-21 Miguel de Icaza <miguel@novell.com>
1229 * TermInfoDriver.cs: Prevent race condition if two threads try to
1230 initialize the Console at the same time.
1232 What happens is that inited is set, and elsewhere we try to
1233 dereference native_terminal_size before it is set.
1235 * Reduce code size by using a table instead of manually making a
1238 2009-04-20 Miguel de Icaza <miguel@novell.com>
1240 * Enum.cs (MonoEnumInfo): Compare bytes, shorts, ints and longs as
1241 unsigned values as specified and to fix 371559, from the bug:
1243 So the actual difference is that MSFT's Enum.GetValues
1244 orders the members as unsigned even when the underlying
1245 type is int. See the following. Perhaps that's what's
1246 being implied by "binary values" in that Enum.GetValues
1249 2009-04-18 Mark Probst <mark.probst@gmail.com>
1251 * NumberFormatter.cs: Keep the current thread's number formatter
1252 as a ThreadStatic member.
1254 2009-04-18 Mark Probst <mark.probst@gmail.com>
1256 * Environment.cs: Bump corlib version.
1258 2009-04-12 Gonzalo Paniagua Javier <gonzalo@novell.com>
1260 * GCNotificationStatus.cs: new enum.
1262 2009-04-10 Zoltan Varga <vargaz@gmail.com>
1264 * Array.cs: Make some of the InternalArray methods non-generic to cut down
1265 on the number of instantiations. Add implementation for
1266 ICollection:IsReadOnly.
1268 2009-03-26 Jb Evain <jbevain@novell.com>
1270 * Delegate.cs (CreateDelegate): Support for delegates
1271 on static methods closed on a null target.
1273 2009-03-26 Zoltan Varga <vargaz@gmail.com>
1275 * Environment.cs: Bump corlib version.
1277 2009-03-25 Sebastien Pouliot <sebastien@ximian.com>
1279 * Delegate.cs: Add new parameter to CreateDelegate_internal (icall)
1280 * Environment.cs: Bump mono_corlib_version to 73
1282 2009-03-25 Jb Evain <jbevain@novell.com>
1284 * Delegate.cs (CreateDelegate): fix checks to deal with
1285 valuetypes -> obj conversions for arguments, and avoid
1286 issues with such unallowed conversion for return types.
1288 2009-03-23 Zoltan Varga <vargaz@gmail.com>
1290 * String.cs (LastIndexOf): Handle empty strings correctly. Fixes #486234.
1292 2009-03-18 Zoltan Varga <vargaz@gmail.com>
1294 * Type.cs (GetGenericTypeDefinition): Make this throw an exception to be
1295 consistent with MS.NET. Move the real implementation to MonoType.
1297 2009-03-18 Marek Safar <marek.safar@gmail.com>
1299 * Decimal.cs: Initialize all fields.
1301 2009-03-16 Gonzalo Paniagua Javier <gonzalo@novell.com>
1304 * TermInfoDriver.cs: handle Ctrl-D (or similar) in ReadLine.
1307 * ControlCharacters.cs: index to the control characters list.
1308 * Environment.cs: bumped corlib version.
1310 2009-03-14 Miguel de Icaza <miguel@novell.com>
1312 * Convert.cs (ToType): Control whether this internal function will
1313 call an IConvertible.ToType method or not.
1315 Classes and structs implementing IConvertible in mscorlib (the
1316 only callers that can access Convert.ToType) must pass false to
1317 avoid a infinite recursion problem and callers from the public
1318 Convert API must call it with true.
1320 This fixes the regression reported in #485377 that was introduced
1321 by the fix for #481687.
1323 * Int16.cs, UInt64.cs, Double.cs, Enum.cs, SByte.cs, UInt16.cs,
1324 Byte.cs, Decimal.cs, Int32.cs, String.cs, Int64.cs, Char.cs,
1325 Boolean.cs, Single.cs, UInt32.cs: Update the call sites.
1327 2009-03-07 Gert Driesen <drieseng@users.sourceforge.net>
1329 * Convert.cs: Do not throw InvalidCastException if
1330 IConvertible.ToType returns null.
1332 2009-03-06 Andrés G. Aragoneses <aaragoneses@novell.com>
1334 * Convert.cs: Correct typo in exception message.
1336 2009-03-06 Miguel de Icaza <miguel@novell.com>
1338 * Convert.cs: Apply patch from Tom Hindle that uses
1339 IConvertible.ToType if there are no other possible conversions
1344 2009-03-06 Rodrigo Kumpera <rkumpera@novell.com>
1346 * MonoType.cs (MonoTypeInfo): Add default_ctor field.
1348 * MonoType.cs: Add GetDefaultConstructor that caches using
1349 type_info.default_ctor.
1351 * MonoType.cs (FullName): Protects against type_info been replaced
1354 * Activator.cs (CreateInstance): If the type is a MonoType resolve the
1355 default constructor using the new method from MonoType.
1357 Improves Activator::CreateInstance performance by at least 30%, reduces object churn
1358 and domain lock contention.
1360 2009-03-03 Rodrigo Kumpera <rkumpera@novell.com>
1362 * Guid.cs (BaseToString): Reduce allocations.
1364 2009-03-02 Rodrigo Kumpera <rkumpera@novell.com>
1366 * Environment.cs: Bump corlib version.
1368 2009-03-02 Rodrigo Kumpera <rkumpera@novell.com>
1370 * Enum.cs (IsDefined): If the enum underlying type is int32, use
1371 the generic version, which doesn't box every element of the array.
1373 2009-03-02 Rodrigo Kumpera <rkumpera@novell.com>
1375 * Enum.cs (GetName): If the enum underlying type is int32, use
1376 the generic version, which doesn't box every element of the array.
1378 2009-03-02 Rodrigo Kumpera <rkumpera@novell.com>
1380 * Enum.cs (MonoEnumInfo::GetInfo): Share the boxed form of the
1381 MonoEnumInfo between both caches.
1383 2009-02-28 Zoltan Varga <vargaz@gmail.com>
1385 * Enum.cs (FindName): Use a hash table for looking up names instead of
1386 a linear search for enums with a lot of values.
1388 2009-02-27 Rodrigo Kumpera <rkumpera@novell.com>
1390 * UInt16.cs (CompareTo/short): Make it return the
1391 same values as the /object version.
1393 * Enum.cs (CompareTo): Use new compare_value_to icall to do the comparison.
1394 This avoids two allocations and reduce the number of trips to unmanaged land
1397 The performance improvement is up to 3.5x with the bonus of reducing the generated
1400 2009-02-26 Marek Safar <marek.safar@gmail.com>
1402 * Nullable.cs: Inline GetValueOrDefault.
1404 2009-02-26 Zoltan Varga <vargaz@gmail.com>
1406 * String.cs (FormatHelper): If all the arguments are strings, compute an
1407 initial length for the stringbuilder to avoid reallocations.
1409 * MonoType.cs (FullName): Cache the result of this in a field, as
1410 computing it is expensive.
1412 * Environment.cs: Bump corlib version.
1414 2009-02-25 Zoltan Varga <vargaz@gmail.com>
1416 * Enum.cs (GetInfo): Add a global cache in addition to the thread-local
1417 caches to accomodate short living threads like threadpool threads.
1419 2009-02-23 Zoltan Varga <vargaz@gmail.com>
1421 * Type.cs: Add IsUserType internal property.
1423 2009-02-21 Jb Evain <jbevain@novell.com>
1425 * MonoType.cs (InvokeMember): don't pass a null args to
1426 Binder.BindToMethod. Fix for #471275.
1428 2009-02-12 Robert Jordan <robertj@gmx.net>
1430 * Exception.cs: Rename remote_stack_trace for MS.NET
1431 compatibility. Fixes #425512.
1433 2009-02-12 Lluis Sanchez Gual <lluis@novell.com>
1435 * MarshalByRefObject.cs: Implemented MemberwiseClone(bool).
1437 2009-02-10 Gonzalo Paniagua Javier <gonzalo@novell.com>
1439 * AppDomain.cs: this fixes the remoting tests.
1440 Zoltan found out that there was a domain improperly using shadow
1443 2009-02-04 Gonzalo Paniagua Javier <gonzalo@novell.com>
1445 * DateTime.cs: check for null and empty strings before anything else
1448 2009-01-27 Zoltan Varga <vargaz@gmail.com>
1450 * Type.cs (GetHashCode): Work on UnderlyingSystemType. Fixes #467229.
1452 2009-01-24 Zoltan Varga <vargaz@gmail.com>
1454 * Variant.cs ApplicationIdentity.cs ActivationContext.cs Environment.cs
1455 AppDomain.cs: Fix warnings.
1457 2009-01-24 Gonzalo Paniagua Javier <gonzalo@novell.com>
1459 * AppDomain.cs: LoadAssembly() returns null instead of throwing now.
1460 Add new LoadSatellite method.
1462 2009-01-20 Mark Probst <mark.probst@gmail.com>
1464 * Exception.cs: Added a comment explaining the use of trace_ips.
1466 2009-01-12 Bill Holmes <billholmes54@gmail.com>
1468 * Variant.cs (GetValue): Handling the NULL IDispatch
1471 Contributed under MIT/X11 license.
1473 2009-01-09 Miguel de Icaza <miguel@novell.com>
1475 * DateTime.cs: Implement TryParse in a way that will not depend on
1476 the try/catch statement. The try/catch statement is still there
1477 *just in case*, I might have missed some codepaths.
1479 2009-01-06 Atsushi Enomoto <atsushi@ximian.com>
1481 * DateTime.cs : when ".FF..." is specified, allow milliseconds-less
1484 2008-12-19 Bill Holmes <billholmes54@gmail.com>
1486 * Environment.cs (GetEnvironmentVariable) : Avoiding an nre if
1487 the variable is not set.
1489 * Environment.cs (SetEnvironmentVariable) : Adding a call to
1490 internalBroadcastSettingChange to notify Windows that an environment
1491 variable has changed.
1493 Contributed under MIT/X11 license.
1495 2008-12-18 Jb Evain <jbevain@novell.com>
1497 * String.cs: the Compare methods that were specific to SL2 are now
1498 also in .net 2/3.5 sp1.
1500 2008-12-10 Bill Holmes <billholmes54@gmail.com>
1502 * Variant.cs (SetValue): Changing the behavior for COM object in
1503 VARIANTs to match MS. Also adding support for BStrWrapper,
1504 UnknownWrapper, and DispatchWrapper.
1506 Contributed under MIT/X11 license.
1508 2008-11-28 Miguel De Icaza <miguel@novell.com>
1510 * TermInfoDriver.cs: Also register a mapping to make verase be the
1511 backspace key. Funny thing: verase was fetched from the termios,
1512 but it was *never* actually used in this file.
1514 VSUSP and VINTR are likewise ignored. Must ponder this.
1516 This makes the backspace key in MacOS work on interactive
1519 2008-11-15 Kornél Pál <kornelpal@gmail.com>
1521 * Convert.cs: Removed useless check from ToChar (ushort).
1523 2008-11-06 Bill Holmes <billholmes54@gmail.com>
1525 * Type.cs (FindMembers): Changing the instantiated type of the
1526 returned MemberInfo array to match the MemberTypes flag
1527 passed in argument 1.
1529 Contributed under MIT/X11 license.
1531 Mon Nov 3 16:39:37 CET 2008 Paolo Molaro <lupus@ximian.com>
1533 * Array.cs: in the IList set_Item, ensure the array
1534 element is set using the proper type checks (bug #440819).
1536 Mon Oct 13 16:40:56 CEST 2008 Paolo Molaro <lupus@ximian.com>
1538 * Environment.cs, OperatingSystem.cs: complete support for
1539 PlatformID (bug #433108).
1541 2008-10-08 Gonzalo Paniagua Javier <gonzalo@novell.com>
1543 * AppDomain.cs: (Load(AssemblyName)) Use the CodeBase after the Name
1544 when both are provided.
1547 2008-10-08 Bill Holmes <billholmes54@gmail.com>
1549 * Variant.cs : Adding the BRECORD field to ensure the right size on
1550 a 64-bit OS. 32-bit 16 bytes, 32-bit 24 bytes.
1552 Contributed under MIT/X11 license.
1554 2008-10-08 Bill Holmes <billholmes54@gmail.com>
1556 * Variant.cs (SetValue) : Adding code to handle enums.
1558 Contributed under MIT/X11 license.
1560 2008-10-08 Bill Holmes <billholmes54@gmail.com>
1562 * Variant.cs : Cleaning up some tab formatting problems.
1564 Contributed under MIT/X11 license.
1566 2008-10-08 Zoltan Varga <vargaz@gmail.com>
1568 * PlatformID.cs: Define Xbox/MacOSX on the 2.0 profile too, since it
1569 is part of NET 3.5 SP1.
1571 2008-10-07 Marek Habersack <mhabersack@novell.com>
1573 * Math.cs: implemented the away from zero rounding for the Round
1574 (double, int, MidpointRounding) overload.
1576 2008-10-06 Zoltan Varga <vargaz@gmail.com>
1578 * Activator.cs (CreateInstance): Don't return the return value of the
1579 ctor.Invoke (object, ...) overload since it is null, return 'newOb' instead.
1581 Mon Oct 6 15:12:25 CEST 2008 Paolo Molaro <lupus@ximian.com>
1583 * Array.cs: better message when keys cannot be compared
1584 when sorting (bug #368455).
1586 2008-09-29 Rodrigo Kumpera <rkumpera@novell.com>
1588 * Type.cs (MakeGenericType): Only use UnderlyingSystemType for user types.
1589 This must exclude TypeBuilder and EnumBuilder. Fixes #430508.
1591 2008-09-28 Juraj Skripsky <js@hotfeet.ch>
1593 * String.cs (ReplaceUnchecked): Avoid any unnecessary work and
1594 string allocations by returning early when no oldValue was found.
1596 2008-09-24 Marek Habersack <mhabersack@novell.com>
1598 * Double.cs: check whether decimal_separator, group_separator and
1599 currency_symbol strings aren't empty before trying to index them
1602 2008-09-24 Jb Evain <jbevain@novell.com>
1604 * AppDomain.cs (CreateDomain): call the domain initializer in
1605 the newly created AppDomain. Fixes #429545.
1607 2008-09-24 Jb Evain <jbevain@novell.com>
1609 * AppDomain.cs: implement the CreateDomain overload which
1610 takes an AppDomain initializer. Fixes #429545.
1612 2008-09-17 Robert Jordan <robertj@gmx.net>
1614 * DelegateSerializationHolder.cs: Starting with .NET 2.0, delegates
1615 of non-public methods are allowed to be serialized. Fixes #425345.
1617 2008-09-15 Andy Hume <andyhume32@yahoo.co.uk>
1619 * DateTimeOffset.cs: DateTimeOffset currently has no
1620 deserialization constructor, thus deserialization
1621 fails ("SerializationException: The constructor to deserialize an
1622 object of type System.DateTimeOffset was not found.")
1624 Patch attached, implements GetObjectData and that constructor.
1625 Also includes tests, which include round-tripping to/from MSFT.
1627 2008-09-14 Zoltan Varga <vargaz@gmail.com>
1629 * ConsoleDriver.cs: Remove obsolete GetTtySize icall.
1631 2008-09-09 Marek Safar <marek.safar@gmail.com>
1633 * Convert.cs, Decimal.cs: Fixed float/double to decimal range check.
1635 2008-09-07 Miguel de Icaza <miguel@novell.com>
1637 * TermInfoDriver.cs: Add support for updating the size of the
1638 terminal when it changes.
1640 2008-08-27 Miguel de Icaza <miguel@novell.com>
1642 * TermInfoDriver.cs: Adds support for the Insert and Delete keys
1645 2008-08-26 Miguel de Icaza <miguel@novell.com>
1647 * New console features are used by gmcs.exe, but since we only
1648 build gmcs.exe with the bootstrap corlib, we need to ensure all
1649 the new stuff is included in BOOTSTRAP_NET_2_0
1651 2008-08-26 Robert Jordan <robertj@gmx.net>
1653 * AppDomain.cs (get_Evidence): Fix endless recursion exposed
1654 by the test case of bug #420197.
1656 2008-08-24 Miguel de Icaza <miguel@novell.com>
1658 * TermInfoDriver.cs (GetKeyFromBuffer): Add support for reporting
1659 Alt-LETTER sequences. They were ignored previously.
1661 2008-08-22 Sebastien Pouliot <sebastien@ximian.com>
1663 * AppDomainSetup.cs: Remove IAppDomainSetup for SL2. This helps
1664 the tuner since the methods are then defined correctly (wrt to the
1665 implicit implementation of the interfaces)/
1667 2008-08-21 Sebastien Pouliot <sebastien@ximian.com>
1669 * Nullable.cs: Add two ComVisible(false) for SL2 profile.
1670 * PlatformID.cs: Add Xbox and MacOX for SL2 profile.
1671 * WeakReference.cs: Add default, protected, ctor for SL2.
1673 2008-08-20 Miguel de Icaza <miguel@novell.com>
1675 * ConsoleDriver.cs: TtySetup now takes an extra argument: the
1678 2008-08-16 Gert Driesen <drieseng@users.sourceforge.net>
1680 * Exception.cs: Fixed value of HResult to match MS. Added support for
1681 (de)serializing Data. Use deserialized ClassName, if available, to
1682 when name of type is used.
1684 2008-08-10 Gert Driesen <drieseng@users.sourceforge.net>
1686 * IServiceProvider.cs: Added ComVisible attribute (1.0 only).
1687 * String.cs: Fixed argument names to match MS.
1689 2008-08-10 Gert Driesen <drieseng@users.sourceforge.net>
1706 * UInt64.cs: Added missing CLSCompliant attributes for 1.0 profile.
1708 2008-08-07 Atsushi Enomoto <atsushi@ximian.com>
1710 * DateTime.cs : zzzz format allows non-fixed length of number, even
1711 in exact parsing mode. Fixed bug #377042.
1713 2008-08-05 Jb Evain <jbevain@novell.com>
1715 * String.cs: add new NET_2_1 Compare methods.
1717 2008-08-03 Miguel de Icaza <miguel@novell.com>
1719 * ConsoleDriver.cs: If the terminal is dumb, do not activate the
1720 full terminal support.
1722 2008-08-02 Marek Safar <marek.safar@gmail.com>
1724 * Type.cs: Removed _MemberInfo from base classes list.
1726 2008-07-28 Marek Safar <marek.safar@gmail.com>
1728 * KnownTerminals.cs: Don't initialize rarely used static data.
1730 2008-07-24 Zoltan Varga <vargaz@gmail.com>
1732 * Delegate.cs: Move the rarely used fields to a separate object, add
1733 'method_code' field.
1735 * Environment.cs: Bump corlib version.
1737 * ConsoleDriver.cs: Remove unused Suspend icall.
1739 2008-07-21 Marek Safar <marek.safar@gmail.com>
1741 * AppDomain.cs (Load): Check for 0-length assembly name.
1743 2008-07-21 Rodrigo Kumpera <rkumpera@novell.com>
1745 * Enum.cs (GetHashCode): Use new icall get_hashcode to
1746 avoid allocating a boxed version of the enum basetype.
1748 2008-07-17 Marek Safar <marek.safar@gmail.com>
1750 * String.cs: reverted GetHashCode changes.
1752 2008-07-08 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
1754 * Char.cs: Remove obsolete lamespecs (it implements IConvertible, small formatting)
1756 2008-07-08 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
1758 * Char.cs: Optimize some Is* checks
1760 2008-07-06 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
1762 * DateTimeOffset.cs: Fix parameter name
1764 2008-07-06 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
1766 * DateTimeOffset.cs: Remove public, make implicit method
1768 2008-07-06 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
1770 * Environment.cs: Add missing attribute
1772 2008-07-04 Rodrigo Kumpera <rkumpera@novell.com>
1774 * Delegate.cs (get_Method): Use the internal version
1775 of GetMethodFromHandle to avoid the generic class check.
1777 2008-07-04 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
1779 * GCCollectionMode.cs: Add attribute
1780 * GC.cs: Add semi-stubbed missing method, remove obsolete Lamespec, hide non-public method
1782 2008-07-04 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
1784 * Delegate.cs: Fix parameter names for 2.0 profile
1785 * Int64.cs: Fix parameter names
1787 2008-07-04 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
1789 * IntPtr.cs: Fix parameter names, change internal name to accomodate for parameter changes
1791 2008-07-04 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
1796 * MultiCastDelegate.cs
1799 * MarshalByRefObject.cs
1809 * AppDomain.cs: Fix parameter names
1811 2008-07-03 Rodrigo Kumpera <rkumpera@novell.com>
1813 * Exception.cs (GetFullNameForStackTrace): Don't do string
1816 2008-06-30 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
1818 * ContextMarshalException.cs:
1819 * DllNotFoundException.cs:
1820 * EntryPointNotFoundException.cs:
1821 * FieldAccessException.cs:
1822 * MethodAccessException.cs:
1823 * MissingFieldException.cs:
1824 * PlatformNotSupportedException.cs: Fix parameter names
1826 2008-06-30 Marek Safar <marek.safar@gmail.com>
1828 * String.cs: Tweaked hash code methods for better distibution, and speed-up.
1830 2008-06-29 Zoltan Varga <vargaz@gmail.com>
1832 * MonoCustomAttrs.cs (IsDefined): Avoid calling the .Assembly property in some
1835 2008-06-30 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
1837 * Char.cs: Fix formatting, rename wrong named param, remove code duplication
1839 2008-06-28 Zoltan Varga <vargaz@gmail.com>
1841 * Enum.cs (GetUnderlyingType): Implement this using an icall.
1843 * Enum.cs (Format): Call IsDefined with inherited=false.
1845 * Exception.cs: Fix a warning.
1847 2008-06-27 Zoltan Varga <vargaz@gmail.com>
1849 * Enum.cs (FindName): Avoid calling String.Compare for the !ignoreCase case.
1851 2008-06-27 Rodrigo Kumpera <rkumpera@novell.com>
1853 * Exception.cs: Build method traces using the
1854 stack trace StringBuilder.
1856 2008-06-27 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
1858 * Version.cs: Fix parameter names
1862 * Int64.cs: Fix parameter names
1863 * Int32.cs: Fix parameter names; some small formatting
1864 * Int16.cs: Fix parameter names
1865 * Double.cs: Fix parameter names; small formatting
1872 * Decimal.cs: Fix parameter names
1874 2008-06-14 Zoltan Varga <vargaz@gmail.com>
1876 * Environment.cs: Bump corlib version.
1878 2008-06-10 Zoltan Varga <vargaz@gmail.com>
1880 * Math.cs (IEERemainder): Use the normal BitConverter.Int64BitsToDouble method
1881 here to fix this on sparc.
1883 2008-06-07 Marek Safar <marek.safar@gmail.com>
1885 * Array.cs (IndexOf, LastIndexOf): Fixed more array element comparers used
1886 instead of tested value comparers.
1888 2008-06-07 Zoltan Varga <vargaz@gmail.com>
1890 * Environment.cs: Bump corlib version.
1892 2008-06-05 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
1894 * String.cs: Managed replacement for Replace method ;)
1896 2008-06-03 Zoltan Varga <vargaz@gmail.com>
1898 * Decimal.cs (Divide): Move expensive equality checks to unmanaged code.
1900 2008-06-02 Ivan N. Zlatev <contact@i-nz.net>
1902 * MonoType.cs: For property reflection we should strictly match the return
1905 2008-06-01 Juraj Skripsky <js@hotfeet.ch>
1907 * String.cs (Substring): Blocking bug #395904 has been fixed,
1908 re-enable optimization.
1910 2008-06-01 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
1912 * String.cs: Replace Split IndexOf
1914 2008-05-30 Marek Safar <marek.safar@gmail.com>
1916 * Array.cs (IndexOf): Use an array element comparer instead of tested value
1919 2008-05-28 Zoltan Varga <vargaz@gmail.com>
1921 * Console.cs (.cctor): Make sdout synchronized in the console case too.
1924 2008-05-27 Eyal Alaluf <eyala@mainsoft.com>
1926 * NumberFormatter.jvm.cs: Fix tables to avoid arithemtic overflow
1927 in Double.ToString as exposed by Bug #383531.
1929 2008-05-24 Gert Driesen <drieseng@users.sourceforge.net>
1931 * String.cs: Comment out 2.0 compatibility fix for SubString, since it
1932 causes regressions in System.Xml.
1934 2008-05-24 Gert Driesen <drieseng@users.sourceforge.net>
1936 * String.cs: Changed exception to match MS. Fixed ToCharArray to use
1937 startindex for source. In PadLeft and PadRight, only return current
1938 string if totalWidth is less than length.
1940 2008-05-24 Gonzalo Paniagua Javier <gonzalo.mono@gmail.com>
1942 * Enum.cs: use Array.BinarySearch on the values in IsDefined and
1943 GetName instead of looping through the list. Made the cache in
1944 MonoEnumInfo thread static to avoid contention.
1946 2008-05-20 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
1948 * String.cs: Replace Split function
1950 2008-05-19 Sebastien Pouliot <sebastien@ximian.com>
1958 * UInt64.cs: Avoid unboxing primitive types more than one time.
1959 [Found using Gendarme]
1961 2008-05-19 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
1963 * String.cs: Update Trim functions
1965 2008-05-19 Zoltan Varga <vargaz@gmail.com>
1967 * ConsoleDriver.cs: Avoid initializing the three driver classes when only one
1970 2008-05-18 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
1972 * String.cs: Update Join and Pad functions
1974 2008-05-18 Sebastien Pouliot <sebastien@ximian.com>
1976 * Environment.cs: Use String.IsNullOrEmpty inside 2.0 code.
1977 [Found using Gendarme]
1979 2008-05-16 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
1981 * String.cs: Directly create charenumerator
1983 2008-05-15 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
1985 * String.cs: Resubmit uncritical parts of String patch
1987 2008-05-15 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
1989 * DateTime.cs: Fix parameter names
1991 2008-05-15 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
1993 * Decimal.cs: Fix parameter names
1995 2008-05-15 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
1997 * Decimal.cs: Tabbify/Format
1999 2008-05-14 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
2002 UnhandledExceptionEventHandler.cs
2005 UInt16.cs: Fix parameter names
2006 Type.cs: Fix parameter names, formatting
2010 SByte.cs: Fix parameter names
2012 2008-05-14 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
2021 InsufficientMemoryException.cs: Fix parameter names
2023 2008-05-14 Jb Evain <jbevain@novell.com>
2025 * Exception.cs (ToString): output a new line before the
2026 inner exception separator. Fixes #390150.
2028 2008-05-12 Gert Driesen <drieseng@users.sourceforge.net>
2030 * Type.cs: Modifies exceptions to match MS. Changed GetTypeFromHandle
2031 on 1.0 profile to throw ArgumentException when handle is invalid,
2033 2008-05-08 Rodrigo Kumpera <rkumpera@novell.com>
2035 * Activator.cs (CreateInstance): Check for null types when creating
2038 2008-05-07 Robert Jordan <robertj@gmx.net>
2040 * RuntimeFieldHandle.cs, RuntimeTypeHandle.cs, RuntimeMethodHandle.cs:
2041 Don't try to serialize uninitialized handles. Fixes #386641.
2043 2008-05-06 Marek Safar <marek.safar@gmail.com>
2045 * IntPtr.cs (eplicit long, GetObjectData): Use ToInt64.
2047 2008-05-05 Zoltan Varga <vargaz@gmail.com>
2049 * Type.cs (GetTypeFromHandle): Apparently, it is possible to create a
2050 RuntimeTypeHandle with a zero handle value by calling its ctor. Add an argument
2053 * IntPtr.cs (ToInt64): Use (long)(int) on 32 bit platforms to avoid the default
2054 unsigned conversion done by the compiler. Fixes #386466.
2056 2008-05-04 Zoltan Varga <vargaz@gmail.com>
2058 * Type.cs (UnderlyingSystemType): Add a comment pointing people to
2059 Enum.GetUnderlyingType ().
2061 2008-04-26 Zoltan Varga <vargaz@gmail.com>
2063 * Array.cs (LastIndexOf): Return GetLowerBound (0) -1 instead of -1.
2065 * Array.cs (LastIndexOf): Fix handling of empty arrays. Fixes #383876.
2067 2008-04-13 Zoltan Varga <vargaz@gmail.com>
2069 * String.cs (Split): Fix the handling of RemoveEmptyEntries when the separator
2070 matches at the beginning of the string. Fixes #374511.
2072 2008-04-13 Jb Evain <jbevain@novell.com>
2074 * ICloneable.cs: use the INSIDE_CORLIB pattern to
2075 internalize code that is used outside the corlib.
2076 Merged from the Moonlight 2 branch.
2078 2008-04-04 Raja R Harinath <harinath@hurrynot.org>
2080 * String.cs (EndsWith) [CultureInfo variant]: Handle null 'culture'.
2081 (StartsWith, EndsWith, IndexOf, LastIndexOf) [StringComparison variant]:
2082 Throw exception on invalid StringComparison.
2084 2008-04-01 Eyal Alaluf <eyala@mainsoft.com>
2086 * NumberFormatter.cs NumberFormatter.jvm.cs: Performance optimizations.
2087 Reuse a per thread instance to format all the primitive types. Modify
2088 class accordingly so the same
2089 instance can be used multiple times.
2090 * Int16.cs UInt64.cs Double.cs SByte.cs UInt16.cs Byte.csDecimal.cs
2091 TimeSpan.cs Int32.cs Int64.cs Single.cs UInt32.cs: Change use of
2092 NumberFormatter to adapt to above changes in class interface.
2094 2008-03-31 Mark Probst <mark.probst@gmail.com>
2096 * MonoType.cs: Don't do CAS security checks in CheckMethodSecurity
2099 2008-03-28 Marek Safar <marek.safar@gmail.com>
2101 * Nullable.cs (Box): Do things explicitly and not rely on broken gmcs
2104 2008-03-25 Zoltan Varga <vargaz@gmail.com>
2106 * AppDomain.cs: Update after MonoMethod.InternalInvoke signature change.
2108 * Environment.cs: Bump corlib version.
2110 * DateTime.cs: Fix a warning.
2112 2008-03-21 Sebastien Pouliot <sebastien@ximian.com>
2114 * String.cs: Use "this" in Split method instead of calling ToString.
2115 Found using Gendarme.
2117 2008-03-06 Marek Safar <marek.safar@gmail.com>
2119 * MonoCustomAttrs (GetCustomAttributes): Type cannot be null with
2120 typeof (MonoCustomAttrs) hack.
2122 Wed Mar 5 19:39:01 CET 2008 Paolo Molaro <lupus@ximian.com>
2124 * Type.cs: optimize GetTypeCode () for the common case
2125 (fixes bug #367354).
2127 2008-03-02 Roei Erez <roeie@mainsoft.com>
2129 * DateTime.cs: Improve the patch supplied by James Purcell to be
2130 dotnet-compatible, and add support for RoundTripKind parsing.
2131 Fixed reopened bug #352210.
2134 Tue Feb 26 17:50:17 CET 2008 Paolo Molaro <lupus@ximian.com>
2136 * DateTime.cs: instroduce a method that returns ticks monotonically.
2138 2008-02-26 Ivan N. Zlatev <contact@i-nz.net>
2140 * Attribute.cs, MonoCustomAttrs: MS ignores the inherit param in
2141 PropertyInfo's ICustomAttributeProvider implementation, but not
2142 in the Attributes, so directly get the attributes from
2143 MonoCustomAttrs instead of going throught the PropertyInfo's
2144 ICustomAttributeProvider.
2145 [Fixes bugs #324472 and #322464]
2147 2008-02-26 Atsushi Enomoto <atsushi@ximian.com>
2149 * DateTime.cs : fix roundtrip regression in Sys.Xml.XmlConvertTests,
2150 patch by James Purcell (at #352210).
2152 2008-02-25 Atsushi Enomoto <atsushi@ximian.com>
2154 * DateTime.cs, DateTimeUtils.cs : make Kind value from parse result
2155 as dotnet-compatible. Patch by James Purcell, fixed bug #352210.
2157 2008-02-18 Atsushi Enomoto <atsushi@ximian.com>
2159 * DBNull.cs : ToType(typeof(DBNull),...) should be allowed.
2161 2008-02-16 Sebastien Pouliot <sebastien@ximian.com>
2163 * Object.cs: Fix parameter name to match MS implementation. Found
2165 * ValueType.cs: Fix parameter name to match MS implementation.
2166 Found using Gendarme.
2168 2008-02-14 Jb Evain <jbevain@novell.com>
2170 * Delegate.cs (CreateDelegate): refactor. DRY!
2172 2008-02-12 Gert Driesen <drieseng@users.sourceforge.net>
2174 * Delegate.cs (CreateDelegate): Walk the inheritance change to find
2175 matching method. Skip methods for which the return type does not match
2176 the delegate. Fixes bug #360784.
2178 2008-02-11 Eyal Alaluf <eyala@mainsoft.com>
2180 * NumberFormatter.cs: Fix ToString("R") for +-Infinity & NaN.
2182 2008-02-08 Sebastien Pouliot <sebastien@ximian.com>
2184 * Random.cs: Explain (and extend) special case in Next(min,max)
2186 2008-02-08 Juraj Skripsky <js@hotfeet.ch>
2188 * Random.cs (Next): Use rounding (via implicit conversion) only on
2189 positive values. Fixes bug 359918.
2191 2008-02-03 Sebastien Pouliot <sebastien@ximian.com>
2193 * Environment.cs: Remove unused method found with Gendarme.
2195 2008-02-02 Gert Driesen <drieseng@users.sourceforge.net>
2197 * Variant.cs: Fixed line endings.
2198 * MonoType.cs: Fixed parameter name for ArgumentException to match MS.
2200 2008-01-29 Zoltan Varga <vargaz@gmail.com>
2202 * Type.cs (MakeGenericType): Fix exception message.
2204 2008-01-29 Jb Evain <jbevain@novell.com>
2206 * AppDomain.cs: add SL overload of DefineDynamicAssembly.
2208 2008-01-29 Marek Safar <marek.safar@gmail.com>
2210 * Type.cs (MakeGenericType): More argument checks. Fixes #356863 by
2213 2008-01-25 Rodrigo Kumpera <rkumpera@novell.com>
2215 * MonoType.cs (InvokeMember): Fixed exceptions arguments for last comit.
2217 2008-01-24 Rodrigo Kumpera <rkumpera@novell.com>
2219 * MonoType.cs (InvokeMember): Check for parameters without default value which
2220 the supplied argument is Missing.Value. Fixes one of the issues of #348522.
2222 2008-01-21 Sebastien Pouliot <sebastien@ximian.com>
2224 * DateTimeOffset.cs: Avoid NRE on bad cast if null is provided to
2225 Equals(object). Found using Gendarme.
2227 2008-01-16 Zoltan Varga <vargaz@gmail.com>
2229 * DateTimeOffset.cs: Fix warnings.
2231 2008-01-15 Stephane Delcroix <sdelcroix@novell.com>
2233 * DateTimeOffset.cs: ParseExact: parse f, F, s too.
2235 2008-01-15 Stephane Delcroix <sdelcroix@novell.com>
2237 * DateTimeOffset.cs: ParseExact: honor the DateTimeStyles parameter.
2239 2008-01-15 Zoltan Varga <vargaz@gmail.com>
2241 * AppDomainSetup.cs Buffer.cs Action.cs Array.cs BadImageFormatException.cs Byte.cs
2242 Attribute.cs _AppDomain.cs Boolean.cs AppDomain.cs: Fix some argument names to be
2245 2008-01-14 Sephane Delcroix <sdelcroix@novell.com>
2247 * DateTimeOffset.cs: start refactoring DoParse.
2249 2008-01-14 Zoltan Varga <vargaz@gmail.com>
2251 * Type.cs (GetConstructor): Use correct binding flags in type (Type[]) overload.
2254 2008-01-13 Eyal Alaluf <eyala@mainsoft.com>
2256 * NumberFormatter.cs, Double.cs, Single.cs: Fix Single & Double default
2257 ToString to handle +-Infinity & NaN.
2259 2008-01-14 Sephane Delcroix <sdelcroix@novell.com>
2261 * DateTimeOffset.cs: ParseExact (string, string, IFormatProvider)
2265 2008-01-14 Zoltan Varga <vargaz@gmail.com>
2267 * NumberFormatter.cs: Remove some redundant assignments.
2269 2008-01-13 Gert Driesen <drieseng@users.sourceforge.net>
2271 * AppDomain.cs: Also fix bug #350530 for overload taking evidence and
2272 args. On 1.0 profile, throw COMException to match MS and to allow
2273 our unit tests to pass on MS.
2275 2008-01-13 Eyal Alaluf <eyala@mainsoft.com>
2277 * NumberFormatter.cs: Check in redesigned implementation. Improves
2278 double.ToString performance by 2-3 orders of magnitude and other
2279 primitive numeric types ToString performance.
2280 * NumberFormatter.jvm.cs: The TARGET_JVM managed tables for NumberFormatter
2281 class for reuse if a completely managed NumberFormatter is required.
2282 * Int16.cs UInt64.cs Double.cs UInt16.cs SByte.cs Byte.cs TimeSpan.cs
2283 Int32.cs Int64.cs Single.cs UInt32.cs: Adapt to new NumberFormatter.
2285 2008-01-13 Zoltan Varga <vargaz@gmail.com>
2287 * AppDomain.cs: Check for a missing entry point in the ExecuteAssembly methods.
2290 2008-01-11 Stephane Delcroix <sdelcroix@novell.com>
2292 * DateTimeOffset.cs: Fixes the MinValue (was equal to MaxValue)...
2294 2008-01-10 Zoltan Varga <vargaz@gmail.com>
2296 * Delegate.cs: Implement argument checking in CreateDelegate(Type,object,MethodInfo)
2297 method. Make the CreateDelegate(Type,MethodInfo) overload calls this version.
2300 2008-01-10 Stephane Delcroix <sdelcroix@novell.com>
2302 * DateTimeOffset.cs: chain the Parse* methods together.
2304 2008-01-09 Atsushi Enomoto <atsushi@ximian.com>
2306 * DateTime.cs : revert the previous fix. It caused regression on
2309 2008-01-09 Atsushi Enomoto <atsushi@ximian.com>
2311 * DateTime.cs : fixed bug #352210. Kind is unspecified by default,
2312 while the tick is for local time by default. This fix also involved
2313 special x509 handling.
2315 2008-01-08 Marek Safar <marek.safar@gmail.com>
2317 * Array.cs (LastIndexOf<T>): Fixed bound checking.
2319 2008-01-06 Zoltan Varga <vargaz@gmail.com>
2321 * AppDomain.cs: Move the assembly loading in ExecuteAssembly and
2322 ExecuteAssemblyByName to managed to as said by the MSDN docs. Fixes #350530.
2324 * Environment.cs: Bump corlib version.
2326 2008-01-02 Marek Habersack <mhabersack@novell.com>
2328 * Array.cs: fix a typo to unbreak the build.
2330 2008-1-1 Scott Peterson <lunchtimemama@gmail.com>
2332 * Array.cs: Slight improvement to the quicksort algorithm.
2334 2007-12-28 Gert Driesen <drieseng@users.sourceforge.net>
2336 * Environment.cs: Bump corlib version.
2338 2007-12-20 Gert Driesen <drieseng@users.sourceforge.net>
2340 * AppDomain.cs: Added check for null AssemblyName, and invalid
2341 AssemblyName.Name to DefineDynamicAssembly overloads. Loosely based on
2342 patch provided by Cedric Vivier. Fixes bug #349272.
2344 2007-12-20 Stephane Delcroix <sdelcroix@novell.com>
2346 * DateTimeOffset.cs: set [Min|Max]Value to UTC. Fixes #349621.
2348 2007-12-19 Stephane Delcroix <sdelcroix@novell.com>
2351 * DateTimeOffset.cs:
2352 * DateTimeUtils.cs: factored out the common pieces of DT and DTO into DTU.
2354 2007-12-18 Stephane Delcroix <sdelcroix@novell.com>
2356 * DateTimeOffset.cs: implementing the 4 ToString overloads by reusing
2357 large chunks of System.DateTime code.
2359 2007-12-16 Stephane Delcroix <sdelcroix@novell.com>
2361 * DateTimeOffset.cs: some bugfix discovered by unit tests.
2363 2007-12-16 Stephane Delcroix <sdelcroix@novell.com>
2365 * DateTimeOffset.cs: almost complete implementation, still missing the
2366 Parse* and ToString methods.
2368 2007-12-11 Zoltan Varga <vargaz@gmail.com>
2370 * AppDomain.cs (DoAssemblyResolve): Fix detection of whenever there is a
2371 reflection-only assembly resolve hook.
2373 2007-12-10 Stephane Delcroix <sdelcroix@novell.com>
2375 * DateTimeOffset.cs: partial implementation. no longer just a stub.
2377 2007-11-30 Zoltan Varga <vargaz@gmail.com>
2379 * Delegate.cs: Compute the Method property lazily.
2381 * Delegate.cs: Add a 'method' field.
2383 * Environment.cs: Bump corlib version.
2385 2007-11-21 Zoltan Varga <vargaz@gmail.com>
2387 * Array.cs: Make the InternalArray_... methods internal.
2389 * Environment.cs: Bump corlib version.
2391 2007-11-21 Atsushi Enomoto <atsushi@ximian.com>
2393 * AppDomain.cs : filled 2.0 API (extra ones are from 2.0 SP1).
2394 * ContextMarshalException.cs : obsolete in 2.0.
2396 2007-11-21 Atsushi Enomoto <atsushi@ximian.com>
2398 * MarshalByRefObject.cs : Added MemberwiseClose() stub.
2399 GetLifetimeService() is not virtual (in both 2.0 and 1.1).
2400 * Console.cs : implemented missing 2.0 key members.
2402 2007-11-18 Gert Driesen <drieseng@users.sourceforge.net>
2404 * Enum.cs: Provided ParamName of Argument(Null)Exceptions. Rewrote
2405 some exception messages.
2407 2007-11-16 Gert Driesen <drieseng@users.sourceforge.net>
2409 * AppDomain.cs: Added some obsolete messages.
2411 2007-11-15 Gert Driesen <drieseng@users.sourceforge.net>
2413 * MonoType.cs: Modified ParamName for ArgumentException to match
2414 MS. Provide meaningful exception messages. On 2.0, throw ANE instead
2415 of ArgumentException when args is null.
2417 2007-11-15 Zoltan Varga <vargaz@gmail.com>
2419 * MonoType.cs (Invoke): Allow BindingFlags.SetField and
2420 BindingFlags.SetProperty to be specified together. Fixes #321735.
2422 2007-11-14 Miguel de Icaza <miguel@novell.com>
2424 * Console.cs, ConsoleDriver.cs, TermInfoDriver.cs,
2425 TermInfoReader.cs, TermInfoNumber.cs, TermInfoStrings.cs,
2426 CStreamReader.cs, CStreamWriter.cs, NullConsoleDriver.cs,
2427 WindowsConsoleDriver.cs: In the 2.1 profile we do not need the
2428 full-blown Console (the terminal-addressable console) so we shrink
2429 it down to the basic 1.0 Console.
2431 2007-11-14 Marek Safar <marek.safar@gmail.com>
2433 * Nullable.cs: Optimized to use generic comparers.
2435 2007-11-14 Zoltan Varga <vargaz@gmail.com>
2437 * Array.cs (Copy): Throw InvalidCastException in more cases.
2439 2007-11-13 Zoltan Varga <vargaz@gmail.com>
2441 * GCCollectionMode.cs GCLatencyMode.cs: New net 3.5 types.
2443 2007-11-12 Atsushi Enomoto <atsushi@ximian.com>
2445 * NumberFormatter.cs : revert previous two changes. It does not
2446 really work for float and hence will rather bring confusion.
2448 2007-11-12 Atsushi Enomoto <atsushi@ximian.com>
2450 * NumberFormatter.cs : limit the situation that needs roundtrip
2451 verification in the previous change to Double.
2453 2007-11-12 Atsushi Enomoto <atsushi@ximian.com>
2455 * NumberFormatter.cs : applied a quick fix for bug #320433. It needs
2456 true fix to avoid extra perf. loss.
2458 2007-11-08 Sebastien Pouliot <sebastien@ximian.com>
2460 * TimeZone.cs: Under 2.0 we must return a Local DateTime.MinValue.
2461 Fix the regression on the x86_64 bot which seems to be in it's own
2464 2007-11-07 Gert Driesen <drieseng@users.sourceforge.net>
2466 * Exception.cs: Cosmetic change to default exception message on
2469 2007-11-05 Gert Driesen <drieseng@users.sourceforge.net>
2471 * Array.cs: Distinguish between notstarted and finished state when
2472 throwing IOE in Current, and provide meaningful exception message.
2474 2007-11-05 Sebastien Pouliot <sebastien@ximian.com>
2476 * Array.cs: Fix Enumerator<T>.Reset (#322248).
2478 2007-11-05 Rodrigo Kumpera <rkumpera@novell.com>
2480 * Type.cs (MakeGenericType): fix for #331199. If an user-defined type
2481 was used, the runtime would crash. Now we apply UnderlyingSystemType to
2482 all types before handling to the runtime.
2484 2007-11-05 Stephane Delcroix <sdelcroix@novell.com>
2486 * TimeZone.cs: fix for #323911. The our after DST.Start is already DST.
2488 2007-11-03 Atsushi Enomoto <atsushi@ximian.com>
2490 * DateTime.cs : fix for #330085. for Local time, convert to Utc
2491 before getting ticks.
2493 2007-11-03 Gert Driesen <drieseng@users.sourceforge.net>
2495 * ArgumentException.cs: Change default message to match MS. Removed
2496 unnecessary check from Message, since base.Message can never be null.
2498 2007-11-01 Atsushi Enomoto <atsushi@ximian.com>
2500 * DateTime.cs : ParseExact() should ignore 'K' when there is no
2503 2007-11-01 Atsushi Enomoto <atsushi@ximian.com>
2505 * DateTime.cs : in roundtrip mode, 'Z' should turn the tick value to
2506 utc time and should not result in different ticks.
2509 2007-10-30 Miguel de Icaza <miguel@novell.com>
2511 * UInt32.cs (Parse): Use Jeff Stedfast's parsing code which is
2512 smaller and does not need checked() constructs.
2514 * Int64.cs, Int32.cs, Int16.cs: small tuneup: do not throw
2515 exception, instead return the exception like every other place in
2518 * Int16.cs, Int32.cs, Int64.cs: Use the Jeff Stedfast parsing code
2519 which is smaller. We no longer use "checked" to check for
2520 overflows, I refactored some stuff and cleaned up the rest and
2523 2007-10-27 Zoltan Varga <vargaz@gmail.com>
2525 * MonoType.cs: Applied patch from Mario A Chavez
2526 <mario.chavez@gmail.com>. Add support for invoking members with the
2527 ParamArray attribute. Fixes #336841.
2529 2007-10-26 Zoltan Varga <vargaz@gmail.com>
2531 * MonoType.cs (InvokeMember): Make sure one operation is passed in the binding
2532 flags. Fixes #336936.
2534 Fri Oct 26 19:43:09 CEST 2007 Paolo Molaro <lupus@ximian.com>
2536 * Environment.cs, String.cs: patch from Tyler Larson
2537 <mono-devel@tlarson.com> to fix the handling of the RemoveEmptyEntries
2538 option in string.Split (bug #322375).
2540 2007-10-26 Dick Porter <dick@ximian.com>
2542 * Environment.cs: Bump version because of Thread initialisation
2545 2007-10-25 Lluis Sanchez Gual <lluis@novell.com>
2547 * AppDomain.cs: In DefaultDomain, wrap the returned domain with
2548 a proxy if the current domain is not the root domain.
2550 2007-10-24 Atsushi Enomoto <atsushi@ximian.com>
2552 * Type.cs : implemented ReflectionOnlyGetType().
2554 2007-10-19 Zoltan Varga <vargaz@gmail.com>
2556 * AppDomain.cs: Add NET 3.5 DefineDynamicAssembly () overloads.
2558 2007-10-13 Zoltan Varga <vargaz@gmail.com>
2560 * Delegate.cs (CreateDelegate): Allow binding instance methods to
2561 delegates with an extra argument, a NET 2.0 feature. Fixes #333647.
2563 Fri Oct 12 08:11:50 CEST 2007 Paolo Molaro <lupus@ximian.com>
2565 * String.cs: reverted unapproved patch that breaks the build.
2567 2007-10-11 Joel Reed <joelwreed@comcast.com>
2569 * String.cs: fix String.Split(char[],int,StringSplitOptions)
2570 with StringSplitOptions.RemoveEmptyEntries option. The correct
2571 behavior is to remove empty entries while the string is being split,
2572 and always return the maximum number of elements possible.
2573 Patch from: Tyler Larson <mono-devel@tlarson.com>
2575 2007-09-28 Jb Evain <jbevain@novell.com>
2577 * Object.cs: Make ToString return Type.ToString ()
2578 by default instead of Type.FullName to match .net
2579 behavior. Fix #329419.
2581 2007-09-28 William Holmes <billholmes54@gmail.com>
2583 * DateTime.cs: Check for AssumeUniversal when parsing string.
2586 2007-09-21 Gert Driesen <drieseng@users.sourceforge.net>
2588 * Enum.cs: Use regular single quotes in exception message.
2590 2007-09-14 Paolo Molaro <lupus@ximian.com>
2592 * String.cs: implemented all the string ctors using CreateString
2593 methods, so they can run completely in managed code.
2595 2007-09-13 Marek Safar <marek.safar@gmail.com>
2597 * DateTimeOffset.cs: Implemented few properties.
2599 2007-09-13 Atsushi Enomoto <atsushi@ximian.com>
2601 * Decimal.cs, Math.cs : implemented midpoint rounding.
2603 2007-09-13 Atsushi Enomoto <atsushi@ximian.com>
2605 * Activator.cs : implemented 2.0 CreateInstance()
2606 and CreateInstanceFrom () overloads.
2608 2007-09-12 Sebastien Pouliot <sebastien@ximian.com>
2610 * Decimal.cs: More explicit text in exception (old and almost
2611 forgetten patch on laptop ;-)
2613 2007-09-10 Atsushi Enomoto <atsushi@ximian.com>
2615 * OperatingSystem.cs : implemented ISerializable.
2617 2007-08-28 Zoltan Varga <vargaz@gmail.com>
2619 * DateTime.cs: Fix a warning.
2621 2007-08-25 Robert Jordan <robertj@gmx.net>
2623 * DateTime.cs: Implement internal To/FromBinary for the 1.1 profile.
2625 2007-08-25 Alan McGovern <amcgovern@novell.com>
2627 * DateTime.cs: Reverted DateTime changes.
2629 2007-08-25 Robert Jordan <robertj@gmx.net>
2631 * DateTime.cs: Implement internal To/FromBinary for the 1.1 profile.
2633 2007-08-24 Zoltan Varga <vargaz@gmail.com>
2635 * Array.cs: Fix min + max / 2 overflows in the BinarySearch and qsort methods.
2638 2007-08-23 Marek Safar <marek.safar@gmail.com>
2640 * DateTimeOffset.cs: New .NET 3.5 struct for 2.0 mscorlib.
2642 2007-08-23 Eyal Alaluf <eyala@mainsoft.com>
2644 * DateTime.cs: Numerous improvements to DateTime.Parse. It handles a lot
2645 more possible formats and more correctly at that. It is also now easier
2646 to manage the formats DateTime.Parse supports.
2648 2007-08-17 Zoltan Varga <vargaz@gmail.com>
2650 * Exception.cs: Make 1.0 and 2.0 object layout the same since this class is seen
2651 by the runtime. Fixes #82459.
2653 2007-08-16 Gert Driesen <drieseng@users.sourceforge.net>
2655 * MonoCustomAttrs.cs: In IsDefined, throw ArgumentNullException if
2656 attributeType is null to avoid a SIGSEGV (and match MS). Only partial
2657 fix for bug #82431 on 1.0 profile; it fully fixes the problem for the
2658 1.0 profile, but more changes (in the runtime) are required for the
2659 2.0 profile. Added a FIXME explaining the problem.
2661 2007-08-15 Gert Driesen <drieseng@users.sourceforge.net>
2663 * MonoCustomAttrs.cs: In IsDefined, only walk inheritance chain if
2664 both AttributeUsage.Inherited and inherit are true. Fixed bug #82431.
2666 2007-08-13 Gert Driesen <drieseng@users.sourceforge.net>
2668 * ArgumentException.cs: Ignore zero-length ParamName for Message.
2669 Use ParamName property instead of field, since the property is marked
2671 * Array.cs: Provide more meaningful exception message when destination
2672 array is not long enough.
2674 2007-08-11 Zoltan Varga <vargaz@gmail.com>
2676 * Array.cs: Implement InternalArray__set_Item. Fixes #82345.
2678 2007-08-08 Atsushi Enomoto <atsushi@ximian.com>
2680 * IntPtr.cs : oops, do not ignore format in ToString(string).
2682 2007-08-08 Atsushi Enomoto <atsushi@ximian.com>
2684 * GC.cs, Exception.cs, IntPtr.cs, Enum.cs, DateTime.cs, Convert.cs
2685 ConsoleKeyInfo.cs, String.cs, Object.cs, Attribute.cs,
2686 Version.cs : couple of cosmetic 2.0 API fixes.
2688 2007-08-06 Aaron Bockover <abockover@novell.com>
2690 * Environment.cs (ReadXdgUserDir): Support the changes to the
2691 xdg-user-dirs spec that allow $HOME to start the path; also allows
2692 for quotes surrounding the path (Patch ported from Banshee,
2695 2007-07-28 Miguel de Icaza <miguel@novell.com>
2697 * MulticastDelegate.cs (Equals): do not cast to avoid exceptions,
2698 instead use the "as" operator, as pointed out by Jesse Jones'
2701 2007-07-21 Gert Driesen <drieseng@users.sourceforge.net>
2703 * BitConverter.cs: Fixed exceptions to match MS. Fixed invalid use
2704 of ArgumentOutOfRangeException and ArgumentException ctors that take
2705 both parameter name and message. In ToString throws ArgumentException
2706 instead of ArgumentOutOfRangeException when length is negative, and
2707 return zero-length string when length is 0.
2709 2007-07-20 Atsushi Enomoto <atsushi@ximian.com>
2711 * AppDomainSetup.cs : fix serialization regression.
2713 2007-07-20 Atsushi Enomoto <atsushi@ximian.com>
2715 * AppDomainSetup.cs :
2716 MonoTODO AppDomainInitializer as its implementation is wrong.
2718 2007-07-20 Atsushi Enomoto <atsushi@ximian.com>
2720 * AppDomainSetup.cs : added missing 2.0 members.
2721 * AppDomain.cs : support AppDomainInitializer.
2723 2007-06-06 Miguel de Icaza <miguel@novell.com>
2725 * Int16.cs, UInt64.cs, SByte.cs, UInt16.cs, Byte.cs, Int32.cs,
2726 Int64.cs, UInt32.cs: Fix for 81775.
2728 I removed Parse from a Byte.cs and UInt16.cs as in various cases
2729 they still depended on UInt32.cs for parsing, there is no reason
2730 to keep all of this code duplicated (UInt64 is a different case
2733 I was hoping for some feedback on whether my tests are correct,
2734 but so far no takers.
2736 2007-07-14 Zoltan Varga <vargaz@gmail.com>
2738 * ModuleHandle.cs: Implement the generic versions of the ResolveXXXHandle () methods.
2740 * ModuleHandle.cs: Add stubs for generic ResolveXXXHandle () methods.
2742 2007-07-10 Alan McGovern <amcgovern@novell.com>
2744 * Guid.cs: All whitespace should be trimmed from before and
2745 after a string passed into the Guid constructor. Fixes #81958
2747 2007-07-10 Zoltan Varga <vargaz@gmail.com>
2749 * RuntimeTypeHandle.cs: Fix signatures of == and != operators.
2751 * ModuleHandle.cs: Add missing 2.0 stuff.
2753 2007-07-08 Zoltan Varga <vargaz@gmail.com>
2755 * *.cs: Add missing ComVisible attributes.
2757 * Delegate.cs: Add missing 2.0 CreateDelegate () methods.
2759 2007-07-07 Gert Driesen <drieseng@users.sourceforge.net>
2761 * DateTime.cs: In ParseExact, throw ArgumentNullException if format
2762 is null; throw FormatException if formats array is empty or if one of
2763 items is null or a zero-length string.
2765 2007-07-06 Rodrigo Kumpera <rkumpera@novell.com>
2767 * Double.cs (Parse): Fix for string ending in garbaga, it was just ignoring it
2768 instead of throwing FormatException. Fixes #81777
2770 2007-07-06 Rodrigo Kumpera <rkumpera@novell.com>
2772 * Double.cs (Parse): Fix for whitespace only strings, it was returning zero
2773 instead of throwing FormatException. Fixes #81630
2775 2007-07-06 Alan McGovern <amcgovern@novell.com>
2777 * DateTime.cs: If the format is null or empty, it should default to 'G'.
2780 2007-07-06 Jonathan Chambers <joncham@gmail.com>
2782 * __ComObject.cs: Support ExtensibleClassFactory.
2785 2007-07-06 Aaron Bockover <abockover@novell.com>
2787 * Environment.cs (InternalGetFolderPath): Try reading some
2788 paths from ~/.config/user-dirs.dirs (XDG user dirs spec);
2789 always return something for MyPictures
2791 2007-07-04 Atsushi Enomoto <atsushi@ximian.com>
2793 * Type.cs : 2.0 TypeHandle and ContainsGenericParameters are virtual
2794 (required fix for 2.0 reflection API fixes).
2796 2007-06-22 Jonathan Chambers <joncham@gmail.com>
2798 * __ComObject.cs: Move interface lookup to unmanaged.
2800 2007-06-21 Zoltan Varga <vargaz@gmail.com>
2802 * Environment.cs: Bump corlib version.
2804 * Delegate.cs: Applied patch from Robert Jordan (robertj@gmx.net). Keep
2805 the dynamic method referenced by a delegate alive.
2807 2007-06-05 David Ferguson <davecferguson@gmail.com>
2809 * DateTime.cs: Changed DateTime.Parse() to throw a FormatException
2810 instead of an ArgumentOutOfRangeException for .NET 2.0. An
2811 ArgumentOutOfRangeException is still thrown for .NET 1.1.
2814 Mon Jun 4 14:52:17 CEST 2007 Paolo Molaro <lupus@ximian.com>
2816 * String.cs: optimized CompareOrdinal ().
2818 2007-06-02 Zoltan Varga <vargaz@gmail.com>
2820 * MonoCustomAttrs.cs (GetBase): Revert last change as it breaks the build.
2822 * MonoCustomAttrs.cs (GetBase): Handle properties correctly. Fixes #81797.
2824 2007-05-31 Zoltan Varga <vargaz@gmail.com>
2826 * Delegate.cs: Add invoke_impl field. Reorder fields for better cache behavior. Add
2827 SetMulticastDelegate icall.
2829 * MulticastDelegate.cs (CombineImpl): Call SetMulticastDelegate () on newly created
2832 * Environment.cs: Bump corlib version.
2834 2007-05-25 Jonathan Chambers <joncham@gmail.com>
2836 * __ComObject.cs: Add overload to GetInterface to allow
2837 not throwing exceptions. Fixes as and is operators for COM objects.
2839 2007-05-23 Atsushi Enomoto <atsushi@ximian.com>
2841 * Array.cs : reverting Array.cs fixes since the runtime depends on
2842 those method attributes.
2844 2007-05-23 Atsushi Enomoto <atsushi@ximian.com>
2846 * Int16.cs UInt64.cs UIntPtr.cs Double.cs CrossAppDomainDelegate.cs
2847 ResolveEventHandler.cs IntPtr.cs UnhandledExceptionEventHandler.cs
2848 Void.cs AssemblyLoadEventHandler.cs SByte.cs UInt16.cs DateTime.cs
2849 Byte.cs TimeSpan.cs Decimal.cs Int32.cs Delegate.cs
2850 AppDomainInitializer.cs MulticastDelegate.cs Int64.cs
2851 EventHandler.cs Single.cs UInt32.cs AsyncCallback.cs :
2852 cosmetic attribute fixes (ComVisible/Serializable).
2854 2007-05-22 Atsushi Enomoto <atsushi@ximian.com>
2856 * Convert.cs : completed 2.0 (ToBase64CharArray).
2857 * String.cs : removed MonoTODO.
2858 * DataMisalignedException.cs : removed extra .ctor().
2859 * Array.cs : internalize extra members. Fixed reliability contract.
2861 2007-05-17 Atsushi Enomoto <atsushi@ximian.com>
2863 * DateTime.cs : added support for 'K'.
2865 2007-05-11 Jonathan Chambers <joncham@gmail.com>
2867 * __ComObject.cs: No need to call CoInitialize anymore since
2868 Thread.ApartmentState was implemented.
2870 2007-05-11 Jeffrey Stedfast <fejj@novell.com>
2874 * TermInfoDriver.cs (WriteSpecialKey): Actually clear the screen
2875 and reset the cursor position to 0,0 when the key is
2877 (Clear): Reset the cursor position to 0,0
2879 2007-05-09 Marek Safar <marek.safar@gmail.com>
2881 * MulticastDelegate.cs: Fixed operators logic.
2883 2007-05-09 Marek Habersack <mhabersack@novell.com>
2885 * DateTime.cs: add a format used in ASP.NET QuickStarts
2886 ("HH':'mm tt MM/dd/yyyy")
2888 2007-04-30 Zoltan Varga <vargaz@gmail.com>
2890 * Type.cs (Equals): Allow a null argument.
2892 2007-04-27 Zoltan Varga <vargaz@gmail.com>
2894 * Environment.cs (StackTrace): Avoid skipping a frame to be
2897 2007-04-25 Atsushi Enomoto <atsushi@ximian.com>
2899 * DateTimeTest.cs : looks like 'F' even removes preceding '.' ...
2901 2007-04-25 Atsushi Enomoto <atsushi@ximian.com>
2903 * DateTime.cs : implemented new-2.0 'F' pattern letter.
2905 2007-04-24 Jeffrey Stedfast <fejj@novell.com>
2907 Fixes the last of the bugs listed in bug #77525
2909 * TermInfoDriver.cs (ctor): For known terminal types, set color16
2910 to true (since we know they support 16 colours).
2911 (Init): set the setlfgcolor and setlbgcolor format strings.
2912 (BackgroundColor): Use the appropriate formatter string for
2913 setting the bgcolor.
2914 (ForegroundColor): Use the appropriate formatter string for
2915 setting the fgcolor.
2916 (TranslateColor): Now takes (and sets appropriately) an output
2917 'bool light' argument.
2919 2007-04-24 Marek Habersack <mhabersack@novell.com>
2921 * TermInfoDriver.cs: don't include debug stuff by default - it
2922 breaks multithreaded applications (they all attempt to open
2923 console.log and fail because of sharing violation).
2925 2007-04-23 Jeffrey Stedfast <fejj@novell.com>
2927 * TermInfoDriver.cs (ReadKeyInternal): Since our input stream is
2928 buffered, check if it has more buffered input in addition to our
2929 timeout check. This makes it such that we will actually correctly
2930 match multi-char escape sequences.
2931 (Read): Changed the logic slightly wrt 'fresh' echoing. Once we
2932 encounter a fresh char, all chars afterward should also be
2933 considered 'fresh' even if 'fresh' is returned as false later.
2934 (ReadLine): Same logic here.
2936 2007-04-23 Jeffrey Stedfast <fejj@novell.com>
2938 Fixes bug #80702 (via getting rid of the casting) and more.
2940 The following change makes it such that even if an application
2941 calls Console.SetOut() with its own output stream, we can still
2942 properly echo user-input from stdin to the real stdout.
2944 * TermInfoDriver.cs (ctor): Grab a reference to the original
2945 Console.stdout so we can be sure we always echo to console.
2946 (QueueEcho): No need to cast Console.stdout anymore.
2948 (WriteConsole: Here too.
2950 2007-04-20 Jeffrey Stedfast <fejj@novell.com>
2952 * TermInfoDriver.cs (QueueEcho): Renamed from Echo(char). Use
2953 CStreamWriter's new InternalWriteChars().
2954 (Echo): Since we can no longer go thru CStreamWriter's ::Write()
2955 method that does checks for special keys, do the checks here
2956 instead - if it is a special key, flush the echo buffer and then
2957 write the special key.
2958 (EchoFlush): Also updated to use CStreamWriter's new
2959 InternalWriteChars().
2960 (Read): Use the Echo(key) variety.
2962 (ReadLine): And here too.
2964 * CStreamWriter.cs (InternalWriteChars): Write a char array
2965 directly to stdout. Do not pass Go, do not collect $200.
2967 2007-04-19 Jeffrey Stedfast <fejj@novell.com>
2969 Optimization for echoing keypresses back to the console when the
2970 user pastes a block of text rather than manually typing text.
2972 * TermInfoDriver.cs (Echo): A new convenience function for echoing
2973 characters/keys back to the console with an optimization twist and
2975 (EchoFlush): Flush our pending echo queue
2976 (Read): Make use of Echo() both for convenience and for speed.
2978 (ReadKey): Make use of Echo()/EchoFlush() for simplicity of code,
2979 but we won't get the same optimization out of it.
2981 2007-04-19 Jeffrey Stedfast <fejj@novell.com>
2985 * TermInfoDriver.cs: Changed 'buffer' to be a char array instead
2986 of a byte array and stdin is now a StreamReader rather than a
2988 (Init): Setup stdin as a StreamReader using Console.InputEncoding
2990 (GetCursorPosition): Use stdin.Read() instead of the old
2992 (AddToBuffer): Updated to allocate the correct array type for
2994 (ReadKeyInternal): Updated to use stdin.Read() rather than
2995 stdin.ReadByte(). This is the main reason we needed to use chars
2996 instead of bytes. Characters entered by the user need to be
2997 represented as unicode chars and not bytes like before.
2998 (Match): Now takes a char[] buffer argument instad of byte[] and
2999 compares the input buffer to the byte-map as chars.
3001 2007-04-18 Jeffrey Stedfast <fejj@novell.com>
3003 Fixes bug #81159: behave the same as mscorlib
3005 * TermInfoDriver.cs (ReadKeyInternal): Now has an 'out bool fresh'
3006 argument which is used to tell our caller if the key was freshly
3007 read from the console or pre-buffered.
3008 (Read): New implementation of Console.In.Read(char[], int, int)
3009 that behaves exactly like mscorlib's implementation.
3010 (ReadKey): Updated for the ReadKeyInternal() API change - only
3011 echo if the key was fresh.
3014 * CStreamReader.cs (Read): Call the new TermInfoDriver.Read()
3016 2007-04-17 Jeffrey Stedfast <fejj@novell.com>
3018 * CStreamWriter.cs (Write): Optimized this some more, we don't
3019 need a temporary buffer. Just blit chunks of the src buffer
3022 * CStreamReader.cs (Read): Need to increment our array index so
3023 that we don't store each byte read into the same
3024 position. Discovered this while testing bug #81159 (which appears
3025 to work as expected with current svn, other than this buglet).
3027 * TermInfoDriver.cs (CursorTop::set): SetCursorPosition() sets our
3028 internal cursorTop variable, so no need to explicitly set it again
3029 after calling SetCursorPosition().
3030 (CursorLeft::set): Same idea here.
3032 2007-04-17 Jeffrey Stedfast <fejj@novell.com>
3034 * TermInfoDriver.cs (ReadLine): Implemented a workaround for
3035 IronPython going behind System.Console's back when writing text to
3036 the screen (it doesn't seem to use Console.stdout, instead it
3037 creates its own file stream or something which just so happens to
3038 write to the same file descriptor) by querying for the cursor
3039 position in ReadLine(), so we lose no real performance (since we
3040 have to wait for user input anyway).
3042 2007-04-17 Jeffrey Stedfast <fejj@novell.com>
3044 * TermInfoDriver.cs (Init): SetEcho(false), we'll be manually
3045 echoing from now on (ReadLine() has already been doing this, might
3046 as well make ReadKey() behave the same).
3047 (GetCursorPosition): No longer need to disable/re-enable echo
3048 anymore since it is now always false.
3049 (ReadKey): Manually echo the key back to the console just like
3050 ReadLine() has been doing (in the interest of consistancy) if
3052 (ReadLine): No longer need to disable/re-enable echo, echo is
3053 always off now. Also, fixed what appears to have been a typo.
3055 2007-04-17 Jeffrey Stedfast <fejj@novell.com>
3057 * TermInfoDriver.cs (IsSpecialKey): Oops, Enter should not be
3058 treated as a special key. Just update out cursor state here like
3059 we do with normal chars.
3060 (WriteSpecialKey): Enter is a no-op now because it is not treated
3061 as a special key anymore.
3063 * CStreamWriter.cs (Write): Only flush our buffer if j > 0
3065 2007-04-17 Jeffrey Stedfast <fejj@gnome.org>
3067 Turns out my last patch was broken wrt handling some special keys
3068 like Backspace and anything else that changed the cursor position
3069 in some non-standard way.
3071 * CStreamWriter.cs (Write): Instead of calling NotifyWrite(), we
3072 instead need to check IsSpecialKey(), and, if so, flush whatever
3073 we have saved in our temporary buffer and then call
3074 WriteSpecialKey(). Otherwise go on as we did in the last patch.
3076 * TermInfoDriver.cs (NotifyWrite): Broken up into 2 functions:
3077 (IsSpecialKey): Returns true if we need to do some special voodoo
3079 (WriteSpecialKey): Write the special key (using whatever voodoo
3082 2007-04-16 Jeffrey Stedfast <fejj@gnome.org>
3084 * CStreamWriter.cs (Write): Instead of writing 1 char at a time,
3085 copy the bytes into a temporary char array (with a fixed max size)
3086 so that we can minimize the number of Write() calls we make on the
3087 underlying stream (and thus on the write() system call).
3089 2007-04-17 Alp Toker <alp@atoker.com>
3091 * Array.cs: Make GetRank() icall private. Subclasses should use the
3092 public Rank property.
3094 2007-04-16 Jeffrey Stedfast <fejj@novell.com>
3096 * WindowsConsoleDriver.cs: Get rid of unused Echo property.
3098 * NullConsoleDriver.cs: Get rid of Echo property.
3100 * IConsoleDriver.cs: Get rid of Echo property.
3102 * ConsoleDriver.cs (Echo::get/set): Removed, not needed.
3104 * TermInfoDriver.cs (Echo::get/set): Removed, this isn't necessary
3106 (ReadKey): If we are intercepting the key, call SetEcho (false)
3107 and then reset back to true after reading the key.
3108 (ReadLine): Same idea here.
3109 (GetCursorPosition): We no longer need to keep track of the
3110 previous echo state, we no longer have it :)
3112 2007-04-16 Jeffrey Stedfast <fejj@novell.com>
3114 Fix for bug #80710 (and a bug I introduced in my last fix due to
3115 this code assuming the underlying term echo state was always
3116 false) and other buglets that I noticed.
3118 * TermInfoDriver.cs (ReadLine): Set (term) Echo to false as we do
3119 our own manual echoing which prevents ^H from getting displayed on
3120 the screen when the user hits backspace.
3121 (ReadLine): If the user hits Backspace and builder.Length is 0, DO
3122 NOT echo the backspace back to the console, ever.
3123 (ReadLine): Only echo characters back to the console if echo is
3124 set to true. Seems the Echo ConsoleDriver property is a Mono
3125 extension, and I'm assuming this is the intended behavior? I can't
3126 see what else the Echo property would be useful for...
3128 2007-04-16 Jeffrey Stedfast <fejj@novell.com>
3132 * TermInfoDriver.cs: Renamed the noEcho variable to echo, makes
3133 the logic cleaner/simpler/etc. Plus it was never actually used
3134 other than in the property methods which are called Echo.
3135 (Init): Call ConsoleDriver.SetEcho() with the 'echo' value -
3136 allows for a slight optimization if called from within the
3138 (GetCursorPosition): Instead of calling the Echo property methods,
3139 call ConsoleDriver.SetEcho() directly to toggle echo off (if echo
3140 isn't already off, and then back on once we're finished getting
3141 the position - assuming the echo state is on, of course) - this
3142 avoids calling back into Init() which just felt dirty.
3143 (Echo::set): If the Echo state differs from our current state,
3144 call ConsoleDriver.SetEcho() with the new state (this is the
3145 important piece of the fix for bug #81050).
3146 (ReadKey): Simplified the echo logic to make it a bit clearer.
3149 2007-04-16 Marek Safar <marek.safar@gmail.com>
3151 * Char.cs (IsLetter): Faster version.
3153 2007-04-15 Alp Toker <alp@atoker.com>
3155 * Decimal.cs: Provide 2.0 Round() overloads using System.Math.
3157 2007-04-15 Alp Toker <alp@atoker.com>
3159 * Activator.cs: CreateInstance(Type,object[]) was not params before
3162 2007-04-15 Alp Toker <alp@atoker.com>
3164 * NonSerializedAttribute.cs: Inherited=false in 2.0.
3166 2007-04-05 Dick Porter <dick@ximian.com>
3168 * Environment.cs: Increment mono_corlib_version
3170 2007-04-03 Alp Toker <alp@atoker.com>
3172 * Array.cs: CreateInstance(Type,int[]) is params.
3173 * AppDomain.cs: ExecuteAssemblyByName(string,Evidence,string[]) is
3176 2007-04-03 Alp Toker <alp@atoker.com>
3179 * Math.cs: Should be static classes in 2.0.
3181 2007-04-03 Alp Toker <alp@atoker.com>
3183 * Delegate.cs: DynamicInvoke(object[]) is params in 2.0.
3185 2007-04-03 Alp Toker <alp@atoker.com>
3187 * Delegate.cs: Combine(Delegate[]) is params in 2.0.
3189 2007-03-27 Dick Porter <dick@ximian.com>
3191 * Environment.cs: Increment mono_corlib_version;
3193 2007-03-16 Miguel de Icaza <miguel@novell.com>
3195 * BitConverter.cs: Revert the patch from 72237 as that introduces
3196 a regression and we are not sure yet what we will be doing about
3199 Introduce a new InternalInt64BitsToDouble method that provides the
3200 fixed functionality, mark it as internal.
3202 Introduce a new SwappableToDouble method that includes the
3203 swapping ToDouble routine as introduced by Zoltan on 72237, this
3204 is used by InternalInt64BitsToDouble.
3206 * Math.cs (IEEERemainder): Use the InternalInt64BitsToDouble
3207 routine here to preserve the semantics from Zoltan.
3209 The problem with BitConverter.cs is that it is completely hossed.
3210 In .NET 1.1 it is a bitwise copy, no attempt is ever done to do
3211 endian-specific swapping. In .NET 2.0 it is *almost* like that,
3212 but it is subtly broken: if data is unaligned then endian
3213 conversions happen. If the data is properly aligned it behaves
3216 In general BitConverter is a sad class that offers little control,
3217 we will be introducing a new mono bit converter and encourage
3218 users to use that instead of the entirely broken
3219 System.BitConverter.
3221 2007-03-11 Gert Driesen <drieseng@users.sourceforge.net>
3223 * Delegate.cs: Fixed bootstrap build.
3225 2007-03-08 Gert Driesen <drieseng@users.sourceforge.net>
3227 * StringComparer.cs: Renamed StringComparer classes and promoted them
3228 to top-level classes. Merged Ordinal and OrdinalIgnoreCase comparers.
3229 Fixes binary serialization compatibility with MS.
3231 2007-03-06 Zoltan Varga <vargaz@gmail.com>
3233 * Type.cs (Equals): Remove a useless check.
3235 * Type.cs: Rename Type:Equals(Type) to EqualsInternal, and add support for checking
3236 UnderlyingSystemType. Fixes #81037.
3238 2007-03-05 Gonzalo Paniagua Javier <gonzalo.mono@gmail.com>
3240 * TermInfoDriver.cs: adjust buffer indexes after *every* read. Fixes
3241 bug #80329. Robert Jordan attached a similar patch to the bug report
3242 but I didn't see it until after my commit...
3244 2007-03-05 Peter Dettman <peter.dettman@iinet.net.au>
3246 * Enum.cs: The above patch makes the formatting for specifiers 'x'
3247 and 'X' behave like MS.NET, including the correct length for each
3248 possible underlying type, and correctly using capital letters for
3251 Patch also includes some more test cases in EnumTests.cs.
3253 2007-02-25 Gert Driesen <drieseng@users.sourceforge.net>
3255 * AppDomainSetup.cs: If configuration file is not an absolute path,
3256 then throw a MemberAccessException if ApplicationBase is not set,
3257 or otherwise consider it as a path relative to ApplicationBase.
3258 Fixes bug #80934. Patch provided by Jamie Cansdale.
3259 * AppDomain.cs: In CreateDomain, construct AppDomain with
3260 ApplicationBase of default domain if not explicitly set in specified
3261 AppDomainSetup. If config file is not set, then use filename of the
3262 default domain config file. Base on patch provided by Jamie Cansdale.
3264 2007-02-16 Sebastien Pouliot <sebastien@ximian.com>
3266 * Random.cs: Fix exception messages ("then" -> "than"). Spotted by
3267 Mark A. Nicolosi (#80873).
3269 2007-02-12 Miguel de Icaza <miguel@novell.com>
3271 * CStreamWriter.cs (Write with char []): take the lock once for
3272 all characters and call manually the InternalWriteChar properly to
3275 (Write with string parameter): same thing, if the driver is not
3276 initialized use a fast path.
3278 If the driver has not been initialized, use a fast path instead.
3280 Mon Feb 12 21:54:57 CET 2007 Paolo Molaro <lupus@ximian.com>
3282 * MonoType.cs: patch from Cedric Vivier <cedricv@neonux.com> to
3283 get correctly non-public fields from generic types.
3285 2007-02-08 Jonathan Chambers <joncham@gmail.com>
3287 * __ComObject.cs: Add IUnknown field to object. Cleanup icalls.
3289 2007-02-03 Zoltan Varga <vargaz@gmail.com>
3291 * BitConverter.cs (ToDouble): Fix this on big-endian machines.
3293 2007-01-30 Atsushi Enomoto <atsushi@ximian.com>
3295 * TimeZone.cs: According to the docs, we should not throw when
3296 converting to Localtime if we are a negative value. Instead we
3297 return DateTime.MinValue.
3299 2007-01-25 Atsushi Enomoto <atsushi@ximian.com>
3301 * DateTime.cs : copy Kind in those members that return DateTime.
3304 2007-01-20 Miguel de Icaza <miguel@novell.com>
3306 * Array.cs (InternalArray__ICollection_Contains,
3307 InternalArray__IndexOf): Cope with null values in the array (See
3310 2007-01-19 Marek Habersack <grendello@gmail.com>
3312 * AppDomain.cs: Make sure that domain
3313 SetupInformation.ConfigurationFile is never null. MS.NET by
3314 default copies the default domain's ConfigurationFile value
3315 there. Fixes bug #80547.
3317 2007-01-14 Jensen Somers <jensen.somers@gmail.com>
3319 * ArraySegment.cs: Added Equals() method, operator == and !=
3320 overloading and GetHashCode().
3322 2007-01-10 Andy Hume <andyhume32@yahoo.co.uk>
3324 * Fixes to a number of exception classes.
3326 A project of mine uses #ctor(String,Exception) on
3327 ObjectDisposedException, so I looked at adding that, and any
3328 other similar constructors missing as per the class status report.
3330 I also spotted inconsistent setting of HResult, and fixed
3331 those too. For instance, ArgumentNullException sets HResult
3332 only in three out of the four constuctors; not setting it in
3333 the v2 (String,Exception) one -- and correctly not in the
3334 Serialization constructor.
3337 So, I fixed the remaining missing (String,Exception)
3338 constructors in corlib (2 of), and fixed the Hresult setting
3339 in all exceptions there (4 of).
3341 The remaining Exception constructor omission listed was
3342 InvalidCastException.ctor(System.String, System.Int32). MSDN says:
3343 "This constructor supplies an HRESULT value that is
3344 accessible to inheritors of the InvalidCastException class,
3345 via the protected HResult property of the Exception class."
3346 I added that method too, setting the HResult property from
3349 2007-01-10 Atsushi Enomoto <atsushi@ximian.com>
3351 * String.cs, StringComparer.cs : avoid extra string creation in
3352 StringComparer.OrdinalIgnoreCase.
3354 2007-01-05 Sebastien Pouliot <sebastien@ximian.com>
3356 * DateTime.cs: Under 2.0 fix ParseExact to set DateTimeKind.Utc when
3357 DateTimeStyles.AdjustToUniversal is used.
3359 2007-01-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3361 * TermInfoDriver.cs: honor the backspace in ReadLine.
3363 2006-12-30 Marek Safar <marek.safar@gmail.com>
3365 * String.cs: Character based method only.
3366 (IndexOf, LastIndexOf, Replace, IndexOfAny): Performance improvements.
3367 (Substring): Returns same instance when index is 0.
3369 2006-12-30 Alp Toker <alp@atoker.com>
3372 * Math.cs: Implement missing Decimal.Ceiling methods for 2.0.
3375 2006-12-22 Sebastien Pouliot <sebastien@ximian.com>
3377 * DateTime.cs: Implement missing [To|From]Binary methods for 2.0.
3378 * OperatingSystem.cs: Implement missing ServicePack and VersionString
3380 * Version.cs: Add missing Major|MinorRevision properties for 2.0.
3382 2006-12-14 Raja R Harinath <rharinath@novell.com>
3384 * Type.cs (MakeGenericType): Can only be called on a generic type
3387 2006-12-03 Miguel de Icaza <miguel@novell.com>
3389 * DateTime.cs: Fix this on the 2.0 profile, return the
3390 DateTimeKind for the Now property
3392 2006-12-01 Duncan Mak <duncan@a-chinaman.com>
3394 * ArgumentOutOfRangeException.cs (.ctor):
3395 * NotFiniteNumberException.cs (.ctor): Add the 2.0 constructor
3396 that takes a string and an inner Exception.
3398 2006-12-01 Atsushi Enomoto <atsushi@ximian.com>
3401 When comparing enumerations, two or more enumeration values might
3402 match. Thus basically we should do complete matching, but right
3403 now just do reverse order search since only numbered abbrev month
3404 names matter (and full iteration is a mess). Fixed bug #80094.
3406 2006-12-01 Atsushi Enomoto <atsushi@ximian.com>
3409 use new internal clone-less DateTimeFormatInfo members.
3411 2006-11-29 Martin Baulig <martin@ximian.com>
3413 * INullableValue.cs: Removed.
3415 2006-11-28 Duncan Mak <duncan@novell.com>
3417 * ArgumentNullException.cs (.ctor): Added new constructor that's
3420 * InsufficientMemoryException.cs: Added missing 2.0 exception.
3422 2006-11-27 Jonathan Chambers <joncham@gmail.com>
3424 * __ComObject.cs: Removed IDispatchMono.
3426 2006-11-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3428 * TermInfoDriver.cs:
3429 * Console.cs: lazy initialization of Console 2.0 (also when
3430 CancelKeyPress is used).
3432 2006-11-27 Miguel de Icaza <miguel@novell.com>
3434 * Exception.cs (GetType): New method in 2.x, Another Moma catch.
3436 Mon Nov 27 19:34:16 CET 2006 Paolo Molaro <lupus@ximian.com>
3438 * GC.cs: implemented the needed methods with icalls.
3440 2006-11-26 Miguel de Icaza <miguel@novell.com>
3442 * Math.cs: Add Floor(Decimal d), for CreativeDocs.NET.
3444 Go Moma! http://www.mono-project.com/Moma
3446 * Decimal.cs: Refactor code to implement TryParse.
3448 Also, avoid initializing messages on every call to stripStyles
3450 2006-11-22 Miguel de Icaza <miguel@novell.com>
3452 * DateTime.cs: A small performance hit, we store the actual time
3453 span in a boxed object. This way, it can be updated from other
3454 threads if necessary. We always unbox to get the value before
3455 any potential updates.
3457 Thanks to Gonzalo for catching this.
3459 2006-11-21 Miguel de Icaza <miguel@novell.com>
3461 * TimeZone.cs (CurrentSystemTimeZone): Cache the current year
3462 daylight savings time in static variables.
3464 (CurrentSystemTimeZone.OnDeserialization): Initialize
3465 this_year_dlt and this_year on this method.
3467 (TimeZone): init statically the currentTimeZone instead of
3468 delaying that to the static property, avoiding a compare.
3470 2006-11-22 Lluis Sanchez Gual <lluis@novell.com>
3472 * Array.cs: (compare<T>) if a comparer is provided, it has
3473 priority over other comparison methods.
3475 2006-11-14 Miguel de Icaza <miguel@novell.com>
3477 * Array.cs: TODOs will from now on be used to flag information
3478 that will be developer-visible, not to flag internal information
3479 that none of us reads or bothers about.
3481 For those, use "FIXME" strings in the source code instead.
3483 * AppDomain.cs: Update to be more useful.
3485 2006-11-13 Atsushi Enomoto <atsushi@ximian.com>
3487 * String.cs : fixed incorrect startIndex/length count in
3488 IndexOf(string,StringComparison).
3490 2006-11-07 Marek Safar <marek.safar@gmail.com>
3492 * String.cs (LastIndexOf): If value is Empty, the return value is
3493 the start index position in value.
3495 2006-10-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3497 * TermInfoDriver.cs: prevent an invalid cast.
3499 2006-10-26 Marek Safar <marek.safar@seznam.cz>
3501 * String.cs (Concat): Add fast-path for empty strings.
3503 2006-10-20 Jonathan Chambers <joncham@gmail.com>
3505 * Variant.cs: Add support for bool and interfaces.
3507 2006-10-18 Kornél Pál <kornelpal@gmail.com>
3509 * Type.cs: Removed is_subtype_of because IsSubclassOf should be used
3510 that is public and virtual. IsClass: Checking for ValueType is
3511 unnecessary. IsEnum: UnderlyingSystemType is not used anymore so
3512 no EnumBuilder hack is necessary. Checking for Enum is
3513 unnecessary. IsSerializable: Walk BaseType for user defined types.
3514 IsSubclassOf: Walk BaseType for user defined types.
3516 * MonoType.cs: IsValueTypeImpl is unnecessary. IsSubclassOf: Unlike
3517 Type system types throw ArgumentNullException on null Type
3520 2006-10-14 Gert Driesen <drieseng@users.sourceforge.net>
3522 * BadImageFormatException.cs: Changed message for default ctor to
3523 match MS. Use internal message field of Exception to check whether
3524 Message is null. Match MS default messages when no message is
3525 set. Fixed ToString to match MS.
3527 2006-10-09 Miguel de Icaza <miguel@novell.com>
3529 * Environment.cs: Handle SpecialFolder.MyMusic
3531 2006-10-07 Gert Driesen <drieseng@users.sourceforge.net>
3533 * Enum.cs: Use different exception message depending on whether the
3534 type of the passed in value is an Enum or not. Avoid looking up the
3535 enum's underlying type twice in case of "D" or "d" format specifier.
3537 2006-10-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3539 * TermInfoDriver.cs: don't allow backspace if we're at the beginning
3540 position for a ReadLine.
3542 2006-10-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3544 * TermInfoDriver.cs: ironpython autocompletion works now.
3546 2006-09-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3548 * Console.cs: avoid casting on windows.
3550 2006-09-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3553 * TermInfoDriver.cs:
3554 * IConsoleDriver.cs:
3556 * ConsoleKeyInfo.cs:
3557 * NullConsoleDriver.cs:
3560 * WindowsConsoleDriver.cs: initial changes to handle cursor position
3563 2006-09-21 Gert Driesen <drieseng@users.sourceforge.net>
3565 * ArithmeticException.cs: Modified default message to match MS, to
3566 ensure a local regression test passes on both Mono and .NET.
3568 2006-09-21 Gert Driesen <drieseng@users.sourceforge.net>
3570 * Exception.cs: Marked message internal to allow derived classes to
3571 access the raw message (without changing the public API).
3573 2006-09-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3576 * TermInfoDriver.cs:
3577 * IConsoleDriver.cs:
3579 * WindowsConsoleDriver.cs: don't switch to the alternate window.
3580 Trigger the cancel event. Retrieve the cursor position at the
3581 beginning, as we're going to keep track of it instead of querying it
3584 2006-09-14 Jonathan Chambers <joncham@gmail.com>
3586 * Environment.cs (ProcessorCount): Implement as icall.
3587 Patch by Jason McFall.
3589 2006-09-05 Raja R Harinath <rharinath@novell.com>
3591 * DateTime.cs (Today) [NET_2_0]: Set kind to Local.
3593 2006-09-02 Zoltan Varga <vargaz@gmail.com>
3595 * Enum.cs (Equals): Use the generic Equals implementation from ValueType which
3596 is faster and avoids allocations.
3598 2006-09-01 Martin Baulig <martin@ximian.com>
3600 * Array.cs (Array.InternalArray): Removed the helper class;
3601 instead we use private generic methods in System.Array which are
3602 inserted into the vtable at runtime.
3604 2006-08-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3606 * ConsoleCancelEventArgs.cs: fix my build.
3608 2006-08-22 Miguel de Icaza <miguel@novell.com>
3610 * MulticastDelegate.cs: Make DynamicInvokeImpl internal in 2.0
3612 * Converter.cs: update signature to final.
3614 * ModuleHandle.cs: Removed the [Obsolete] flags as they removed
3615 those in the final 2.0
3617 * DateTime.cs: Fixed the signature.
3619 * Convert.cs: Removed API calls that were deprecated in final 2.0
3621 * Enum.cs: Updated to use the obsoletes flagged in 2.0.
3623 * ConsoleCancelEventArgs.cs: Updated to 2.0
3625 2006-08-19 Miguel de Icaza <miguel@novell.com>
3627 * Attribute.cs: This needs to do a deep compare, not a shallow
3628 one. Ran into this bug with the VBNC compiler that compares two
3629 separate attributes for equality using this.
3631 * String.cs (StartsWith): Fix the overloaded constructor that
3632 takes a CultureInfo, if that is null, it means to use the current
3635 * TermInfoDriver.cs: Do not throw exceptions on the driver for
3636 SetWindowSize and SetWindowPosition, they can be treated as nops.
3638 2006-08-18 Zoltan Varga <vargaz@gmail.com>
3640 * *.cs: Use String.Empty instead of "" in a lot of places.
3642 2006-08-17 Sebastien Pouliot <sebastien@ximian.com>
3644 * DateTime.cs: Remove last patch to DateTime as the fix wasn't correct
3645 and made most x.509 unit tests fails. However the original problem is
3648 2006-08-14 Raja R Harinath <rharinath@novell.com>
3651 * Activator.cs (CreateInstance): Throw ArgumentException on open
3654 2006-08-14 Miguel de Icaza <miguel@novell.com>
3656 * MonoType.cs: Do the argument testinf for SetField later,
3657 otherwise the implicit (and not documented, but already considered
3658 side effect of checking SetProperty) did not work.
3662 2006-08-13 Atsushi Enomoto <atsushi@ximian.com>
3664 * String.cs : Normalize() and IsNormalized() implementation.
3666 2006-08-10 Jonathan Chambers <joncham@gmail.com>
3668 * __ComObject.cs: Added defintion of IDispatch interface, and
3669 property. Get CLSID of supertype for creation if class not
3670 ComImport attributed (allows for inheritance of RCW).
3671 * MonoType.cs: Implement IsCOMObjectImpl.
3673 2006-08-09 Atsushi Enomoto <atsushi@ximian.com>
3675 * DateTime.cs : fixed X509Certificate() case that regressed only
3678 2006-08-07 Kornél Pál <kornelpal@gmail.com>
3680 * Console.cs: Use correct code pages on Windows and initialize
3681 InputEncoding and OutputEncoding to the actual encodings used.
3683 2006-08-05 Duncan Mak <duncan@novell.com>
3685 * Char.cs (TryParse): Implemented missing 2.0 method, which fixed
3688 2006-07-28 Jonathan Chambers <joncham@gmail.com>
3690 * __ComObject.cs: Added support for marshalling objects.
3692 2006-07-24 Atsushi Enomoto <atsushi@ximian.com>
3694 * Char.cs : implemented utf32 conversion methods thus fixed bug #78856.
3696 2006-07-19 John Luke <john.luke@gmail.com>
3698 * TermInfoDriver.cs: switch order of alt and control when
3699 calling new ConsoleKeyInfo()
3701 2006-07-19 Kornél Pál <kornelpal@gmail.com>
3703 * String.cs: Improve CreateString () performance when length is zero.
3705 2006-07-18 Kornél Pál <kornelpal@gmail.com>
3707 * String.cs: Added CreateString () methods. Constructors with matching
3708 argument list are redirected to these methods that improves
3709 performance as well as fixes bug #78703.
3711 2006-07-15 Jonathan Chambers <joncham@gmail.com>
3713 * __ComObject.cs: Begin implementing COM Interop.
3714 * Environment.cs: Increment corlib version.
3716 2006-07-12 Zoltan Varga <vargaz@gmail.com>
3718 * Delegate.cs (DynamicInvokeImpl): Add support for bound delegates in Net 2.0.
3720 2006-07-11 Zoltan Varga <vargaz@gmail.com>
3722 * Double.cs (Parse): Fix handling of inner whitespace.
3724 2006-07-09 Zoltan Varga <vargaz@gmail.com>
3726 * Int32.cs: Fix a warning.
3728 2006-07-07 Atsushi Enomoto <atsushi@ximian.com>
3730 * TimeZone.cs : consider DateTimeKind in ToLocalTime() and
3731 ToUniversalTime(). Fixed bug #78784. Patch by Thong Nguyen.
3732 * DateTime.cs : DateTimeKind for UtcNow should be Utc.
3734 2006-06-28 Kornél Pál <kornelpal@gmail.com>
3736 * Char.cs: Implemented IsHighSurrogate and IsLowSurrogate methods.
3738 2006-06-27 Atsushi Enomoto <atsushi@ximian.com>
3740 * Double.cs : don't throw Exception in TryParse() for 'E'.
3743 2006-06-20 Jb Evain <jbevain@gmail.com>
3745 * Math.cs: implement Math.Truncate.
3747 2006-06-13 Atsushi Enomoto <atsushi@ximian.com>
3750 Another lame win32 dependent pattern. Fixed bug #78618.
3752 2006-06-09 Jonathan Chambers <jonathan.chambers@ansys.com>
3754 * Environment.cs: Implement Set/GetEnvironmentVariable for User/Machine.
3756 2006-06-07 Kornél Pál <kornelpal@gmail.com>
3758 * Environment.cs: Use Consts.FxFileVersion for Environment.Version
3759 as Consts.RuntimeVersion was removed.
3761 2006-06-05 Jonathan Chambers <jonathan.chambers@ansys.com>
3763 * Variant.cs: Added.
3764 * Environment.cs: Incremented corlib version since adding Variant.
3766 2006-06-01 Raja R Harinath <rharinath@novell.com>
3768 * Nullable.cs (operator==, operator!=): Remove.
3770 2006-05-31 Zoltan Varga <vargaz@gmail.com>
3772 * MonoDummy.cs: Removed as it is no longer needed.
3774 * Environment.cs: Bump corlib version.
3776 * Environment.cs: Revert the last change.
3778 * Environment.cs: Bump corlib version.
3780 * MonoAsyncCall.cs: New file.
3782 2006-05-30 Gert Driesen <drieseng@users.sourceforge.net>
3784 * Char.cs: Removed duplicate (explicit) interface implementation.
3785 * String.cs: Removed duplicate (explicit) interface implemenation.
3786 * MulticastDelegate.cs: Fixed API mismatches.
3788 2006-05-29 Paolo Molaro <lupus@ximian.com>
3790 * String.cs: make sure that the chars truncated by a stringbuilder
3793 2006-05-29 Martin Baulig <martin@ximian.com>
3796 (Exception.StackTrace): Use the new stack trace format which is
3797 very similar to the one of MS.NET - method name goes first,
3798 file / line number last and in the method name, we separate class
3799 and method name by `.'.
3802 (Environment.StackTrace): Enable line-number information.
3804 2006-05-24 Atsushi Enomoto <atsushi@ximian.com>
3807 Implement 2.0 TryParseExact(). Patch by Seo Sanghyeon.
3809 2006-05-17 Kazuki Oikawa <kazuki@panicode.com>
3811 * Array.cs : added internal sort method used
3812 in System.Collections.Generics.List<T>.Sort(Comparison<T>).
3814 2006-05-15 Zoltan Varga <vargaz@gmail.com>
3816 * Environment.cs: Bump corlib version.
3818 2006-05-10 Zoltan Varga <vargaz@gmail.com>
3820 * MonoType.cs (GetMethodImpl): Fix a warning.
3822 2006-05-08 Atsushi Enomoto <atsushi@ximian.com>
3824 * ArrayTest.cs : use proper comparer in IndexOf() and LastIndexOf().
3825 Patch by Kazuki Oikawa. Fixed bug #77277.
3827 2006-05-07 Zoltan Varga <vargaz@gmail.com>
3829 * Nullable.cs (Equals): Fix comparison to null. Fixes #78322.
3831 2006-04-28 Atsushi Enomoto <atsushi@ximian.com>
3833 * Nullable.cs : updated Nullable<T> API to 2.0 RTM.
3835 2006-04-26 Atsushi Enomoto <atsushi@ximian.com>
3837 * Double.cs : (Parse) handle currency symbol when
3838 AllowCurrencySymbol is passed as part of the style. Patch by
3839 nede@aliquant.com, modified to eliminate redundant Substring().
3840 This fixes bug #77721.
3842 2006-04-26 Atsushi Enomoto <atsushi@ximian.com>
3844 * MonoType.cs : (GetMethod) when zero-length type[] is explicitly
3845 passed, don't return methods with some arguments. Fixed bug #77367.
3847 2006-04-21 Gert Driesen <drieseng@users.souceforge.net>
3849 * Enum.cs: Provide meaningful message when type of passed in value
3850 does not match enum type.
3852 2006-04-19 Raja R Harinath <rharinath@novell.com>
3854 * Char.cs (Equals): Don't access 'm_value' field of other
3855 instances. Cast directly to 'char'.
3857 2006-04-13 Atsushi Enomoto <atsushi@ximian.com>
3859 * DateTime.cs : implement SpecifyKind(). Patch by Thong Nguyen.
3861 2006-04-13 Atsushi Enomoto <atsushi@ximian.com>
3863 * NumberFormatter.cs : general performance improvements. Avoid
3864 extraneous evaluation for simple formatting. Details are seen in
3865 bug #77792. Patch by Kazuki Oikawa.
3867 2006-04-13 Atsushi Enomoto <atsushi@ximian.com>
3869 * DateTime.cs : implement IsDaylightSavingTime().
3870 Patch by Seo Sanghyeon <tinuviel@sparcs.kaist.ac.kr>.
3872 2006-04-04 Atsushi Enomoto <atsushi@ximian.com>
3875 added some more [ReliabilityContract].
3876 removed some [CLSCompliant].
3877 renamed generic method parameter names.
3879 2006-03-31 Zoltan Varga <vargaz@gmail.com>
3881 * Environment.cs (SetEnvironmentVariable): Implement.
3883 2006-03-28 Atsushi Enomoto <atsushi@ximian.com>
3885 * Array.cs : oops, the last change caused regression. The array must
3886 be transparent to ReadOnlyCollection, not create another list.
3888 2006-03-28 Atsushi Enomoto <atsushi@ximian.com>
3890 * Array.cs : AsReadOnly<T>() in RTM returns ReadOnlyCollection<T>.
3891 Thus removed ReadOnlyArray<T> and ReadOnlyArrayEnumerator<T>.
3892 In 2.0 some members became non-virtual.
3894 2006-03-23 Atsushi Enomoto <atsushi@ximian.com>
3896 * String.cs : oops, NET_2_0.
3898 2006-03-23 Atsushi Enomoto <atsushi@ximian.com>
3900 * String.cs : added new IndexOf() and LastIndexOf() overloads, and
3901 IEnumerable<char>.GetEnumerator().
3903 2006-03-21 Kornél Pál <kornelpal@gmail.com>
3905 * String.cs: Make memcpy4 private as it is a helper method.
3906 Make memcpy internal to can be used from UnicodeEncoding.
3908 2006-03-19 Marek Safar <marek.safar@seznam.cz>
3910 * Nullable.cs (Compare, Equals): Added constrain as gmcs now correctly
3911 reports an error here.
3913 2006-03-16 Atsushi Enomoto <atsushi@ximian.com>
3915 * Double.cs : (Parse) reject String.Empty.
3917 Wed Mar 15 16:30:51 CET 2006 Paolo Molaro <lupus@ximian.com>
3919 * LocalDataStoreSlot.cs: implement as index in an array.
3920 Implemented finalizer and allow it to remove the data stored
3923 2006-03-15 Zoltan Varga <vargaz@gmail.com>
3925 * Environment.cs: Bump corlib version.
3927 2006-03-10 Zoltan Varga <vargaz@gmail.com>
3929 * MonoCustomAttrs.cs (IsDefined): Avoid a runtime assert if a type
3930 overwrites GetCustomAttributes () but not IsDefined ().
3932 2006-03-07 Peter Dennis Bartok <pbartok@novell.com>
3934 * Environment.cs: Bumped corlib version to 48 (due to r57532)
3936 2006-03-07 Martin Baulig <martin@ximian.com>
3938 * String.cs (String.FormatHelper): Try getting an `ICustomFormatter'
3939 from the `provider' if possible.
3941 2006-02-26 Gert Driesen <drieseng@users.souceforge.net>
3943 * DecimalFormatter.cs: Removed obsolete class, as it has been replaced
3945 * DoubleFormatter.cs: Same.
3946 * SingleFormatter.cs: Same.
3948 2006-02-21 Marek Safar <marek.safar@seznam.cz>
3950 * String.cs (Equals): Optimized for speed.
3952 2006-02-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3954 * TermInfoDriver.cs: patch by Mike Hull that fixes bug #77518.
3956 Mon Feb 20 11:19:54 CET 2006 Paolo Molaro <lupus@ximian.com>
3958 * MonoType.cs: patch from Joachim Ante <joe@otee.dk> to
3959 improve error messages.
3961 2006-02-15 Martin Baulig <martin@ximian.com>
3963 * Type.cs (Type.IsGenericInstance): Removed.
3965 2006-02-14 Ankit Jain <jankit@novell.com>
3966 Raja R Harinath <rharinath@novell.com>
3968 * ArraySegment.cs (.ctor): Fix bounds check. Rename param 'length' to
3971 2006-02-11 Zoltan Varga <vargaz@gmail.com>
3973 * TermInfoDriver.cs (CreateKeyInfoFromInt): Fix handling of tab and its
3976 * TermInfoDriver.cs (GetWindowDimensions): Obtain the exact terminal
3977 size using an icall.
3978 (GetCursorPosition): Convert the row and column to 0 based indexing.
3979 Also fix reading of large values.
3980 (CreateKeyInfoFromInt): Convert LF to ConsoleKey.Enter.
3982 * ConsoleDriver.cs (GetTtySize): New icall.
3984 2006-02-10 Zoltan Varga <vargaz@gmail.com>
3986 * Array.cs: Fix some methods which previously returned Nullable<T>.
3988 * Nullable.cs: Add T: struct constraint and fix constructor.
3990 Fri Feb 3 11:01:46 CET 2006 Paolo Molaro <lupus@ximian.com>
3992 * String.cs: changed StartsWith/EndsWith to faster versions.
3994 2006-02-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3996 * String.cs: implement 2.0 StartsWith and EndsWith new overloads. Based
3997 on a patch by Thong Nguyen.
3999 2006-01-31 Zoltan Varga <vargaz@gmail.com>
4001 * String.cs: Implement one of the new net 2.0 Split methods.
4003 2006-01-31 Atsushi Enomoto <atsushi@ximian.com>
4005 * String.cs : (LastIndexOf) Fixed bug #77412. It should not expect
4006 that value length is bigger than its index.
4008 2006-01-27 Zoltan Varga <vargaz@gmail.com>
4010 * DateTime.cs: Add some 2.0 methods and properties.
4012 2006-01-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4014 * Console.cs: if InternalCodePage returns -1, use the default encoding.
4015 Also match the UTF8 one properly. Patch by wall_john@sohu.com.
4017 2006-01-19 Atsushi Enomoto <atsushi@ximian.com>
4019 * ModuleHandle.cs : GetPEKind() is not public in 2.0 RTM.
4021 2006-01-16 Alp Toker <alp@atoker.com>
4023 * TimeSpan.cs: Simple implementation of NET 2.0 TryParse() using
4026 2006-01-05 Raja R Harinath <rharinath@novell.com>
4028 Fix regressions introduced by the fix to #71300.
4029 * Activator.cs (CreateInstance): Use Binder.SelectMethod instead
4030 of home-grown FindBestCtor.
4031 (FindBestCtor): Delete.
4033 2006-01-03 Zoltan Varga <vargaz@gmail.com>
4035 * Nullable.cs: Update to Net 2.0 RTM.
4037 * Nullable.cs: Add comments about runtime dependencies on the layout of
4040 2006-01-02 Sebastien Pouliot <sebastien@ximian.com>
4042 * Activator.cs: Now find the best ctor when null are used for
4043 paramaters. Fix bug #71300. Added checks for specific types (void,
4044 TypedReference, ArgIterator and RuntimeArgumentHandle).
4045 * Console.cs: Re-use Environment logic to detect Windows.
4046 * Type.cs: Re-applied r45150 as the real bug was in Activator.
4048 2006-01-02 Zoltan Varga <vargaz@gmail.com>
4050 * Activator.cs: Add a 'params' to one of the CreateInstance overloads.
4052 * RuntimeTypeHandle.cs RuntimeMethodHandle.cs RuntimeFieldHandle.cs:
4053 Add == and != operators.
4055 2005-12-23 Sebastien Pouliot <sebastien@ximian.com>
4057 * Environment.cs: Bump corlib version to 46.
4058 * TimeZone.cs: Partial fix for #76094. Added [Serializable] attribute
4059 and renamed internal CurrentTimeZone class to CurrentSystemTimeZone
4060 (like MS). This allows serialization roundtrip to work in Mono but
4061 there's still an issue when deserializing a stream from MS.
4063 2005-12-23 Sebastien Pouliot <sebastien@ximian.com>
4065 * NumberFormatter.cs: Fixed rounding for float and the string output
4066 now includes all the precision (not counting preceding zeros). This
4067 fix the DecimalTest.TestConstructSingleRounding_NotWorking test cases.
4069 2005-12-21 Sebastien Pouliot <sebastien@ximian.com>
4071 * Array.cs: Fixed Sort<T> with IComparable (generic or not) bug #77039
4073 2005-12-20 Carlos Alberto Cortez <calberto.cortez@gmail.com>
4075 * Array.cs: Added the Sort<T> methods (generics).
4077 2005-12-19 Sebastien Pouliot <sebastien@ximian.com>
4079 * Array.cs: Fixed BinarySearch when the array is empty (#77030). Added
4080 some null check which throws ArgumentNullException under 2.0.
4082 2005-12-15 Sebastien Pouliot <sebastien@ximian.com>
4084 * DateTime.cs: Added MonoTODO to ctor accepting a Calandar instance.
4085 * Double.cs: Under 2.0 throw a ArgumentException when parsing with
4086 NumberStyles.AllowHexSpecifier. Partial fix for #72221. Added the
4087 second, simpler, TryParse method (2.0).
4088 * Single.cs: Added the TryParse methods for 2.0.
4090 2005-12-15 Raja R Harinath <rharinath@novell.com>
4092 * Type.cs (IsGenericType): Make virtual.
4094 2005-12-08 Sebastien Pouliot <sebastien@ximian.com>
4096 * AppDomainSetup.cs: ApplicationBase throw exception on get (not on
4097 set). New behaviour is more like MS - but most issues (unit tests)
4098 were really path issues. Fix bug #71291.
4099 * DateTime.cs: Add more information when throwing an exception in
4100 ctor(long). Useful for debugging.
4102 2005-12-07 Zoltan Varga <vargaz@gmail.com>
4104 * Single.cs Double.cs: Fix warnings.
4106 2005-12-06 Sebastien Pouliot <sebastien@ximian.com>
4108 * Convert.cs: ToBase64String method didn't use the option parameter so
4109 we always included new lines. Fix bug #76876.
4111 2005-12-06 Sebastien Pouliot <sebastien@ximian.com>
4113 * AppDomainSetup.cs: Added missing ComVisible and removed LAMESPEC
4114 (the docs were fixed).
4115 * NumberFormatter.cs: Fixed the "NotWorking" case where 1.15 was
4116 misrounded compared to MS implementation. Extra care is required when
4117 dealing with the extra 2 digits information (e.g. double precision is
4118 15 digits but 17 are kept - for a reason ;-)
4120 2005-12-05 Ben Maurer <bmaurer@ximian.com>
4122 * Environment.cs: Bump version
4124 * Nullable.cs: New Box and Unbox methods for the jit
4126 2004-12-05 Peter Dennis Bartok <pbartok@novell.com>
4128 * Enum.cs: Properly handle "No bits set" case even if the sorted numbers
4129 list does not have enum value 0 as the first item. Fixes #76921
4131 2005-12-05 Sebastien Pouliot <sebastien@ximian.com>
4133 * AppDomain.cs: CreateComInstanceFrom isn't static in any profile.
4135 Mon Dec 5 15:14:59 CET 2005 Paolo Molaro <lupus@ximian.com>
4137 * Double.cs: remove unused icall.
4138 * BitConverter.cs: handle double binary format on ARM FPA.
4140 2005-12-02 Alp Toker <alp@atoker.com>
4143 * Type.cs: DeclaringMethod should return MethodBase, not MethodInfo
4145 2005-12-02 Alp Toker <alp@atoker.com>
4147 * AppDomain.cs: ReflectionOnlyPreBindAssemblyResolve renamed to
4148 ReflectionOnlyAssemblyResolve in 2.0 final
4150 2005-12-01 Alp Toker <alp@atoker.com>
4152 * String.cs: Add static and non-static Equals(... StringComparison) for
4155 2005-12-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4157 * TermInfoDriver.cs: special case for the escape key. Fixes bug #76781.
4159 2005-11-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4161 * TermInfoDriver.cs: if the cursor_address capability contains a %i, we
4162 have to add 1 to x and y when setting the cursor position.
4165 * Convert.cs: remove unused variables.
4167 Wed Nov 30 12:14:20 EST 2005 Paolo Molaro <lupus@ximian.com>
4169 * NumberFormatter.cs: work around arch-specific ulong cast behaviour
4172 Tue Nov 29 05:38:37 EST 2005 Paolo Molaro <lupus@ximian.com>
4174 * Convert.cs: fix endianess issue when converting to base-8
4175 format. All the base code would need a rewrite for efficience.
4177 2005-11-25 Sebastien Pouliot <sebastien@ximian.com>
4179 * String.cs: Added support for Compare(... StringComparison) in 2.0.
4181 2005-11-25 Alp Toker <alp@atoker.com>
4183 * Type.cs (IsVisible): New 2.0 property, implemented recursively.
4185 2005-11-17 Dick Porter <dick@ximian.com>
4187 * Environment.cs: Incremented corlib version
4189 2005-11-14 Carlos Alberto Cortez <calberto.cortez@gmail.com>
4191 * Int32.cs, UInt32.cs, Int16.cs, UInt16.cs, Int64.cs,
4192 UInt64.cs, Byte.cs, SByte.cs, Double.cs : Modify internal Parse
4193 methods to return the exception as an out parameter,
4194 instead of throwing it. This will be of special help
4195 to TryParse methods.
4196 * Environment.cs: Update corlib version to 42.
4198 2005-11-14 Raja R Harinath <rharinath@novell.com>
4200 * EventHandler.cs (EventHandler<TEventArgs>): Rename from EventHandler<T>.
4202 2005-11-11 Zoltan Varga <vargaz@gmail.com>
4204 * Type.cs (GetPseudoCustomAttributes): Return ComImportAttribute as well.
4206 2005-11-11 Lluis Sanchez Gual <lluis@novell.com>
4208 * TimeZone.cs: Removed incorrect double-check lock and unneeded
4211 2005-11-11 Marek Safar <marek.safar@seznam.cz>
4213 * Type.cs: IsNested implemented, signature fixes.
4215 2005-11-11 Raja R Harinath <rharinath@novell.com>
4217 * Array.cs (Resize<T>) [2-argument variant]: Fix nullref.
4219 2005-11-10 Zoltan Varga <vargaz@gmail.com>
4221 * Array.cs (Resize<T>): New internal method which takes a 'length' argument
4222 as well to avoid copying the whole array.
4224 2005-11-09 Atsushi Enomoto <atsushi@ximian.com>
4226 * Int64.cs : ditto for long.
4228 2005-11-09 Atsushi Enomoto <atsushi@ximian.com>
4230 * Int32.cs : Parse("2147483648", format_provider) should be rejected.
4232 2005-11-09 Sebastien Pouliot <sebastien@ximian.com>
4234 * AttributeTargets.cs: Added [ComVisible (true)] and [Serializable]
4236 * Base64FormattingOptions.cs: Added missing [Flags] attribute.
4237 * ConsoleKey.cs: Removed old BackSpace and WhiteSpace (they were
4238 already replaced by Backspace and Whitespace)
4239 * DateTime.cs: Moved DayOfWeek enum to it's own file.
4240 * DateTimeKind.cs: New (2.0) enum.
4241 * DayOfWeek.cs: New file (extracted from DateTime.cs).
4242 * DomainManagerInitializationFlags.cs: Removed extra [Serializable].
4243 * EnvironmentVariableTarget.cs: Added [ComVisible (true)] and fixed
4244 values (-1 to all of them).
4245 * Exception.cs: Added a LinkDemand for SerializationFormatter on
4246 GetObjectData method.
4247 * LoaderOptimization.cs: Added [ComVisible (true)] and [Serializable]
4248 on enum and added [Obsolete] to DomainMask and DisallowBindings in 2.0
4250 * PlatformID.cs: Added [ComVisible (true)] and [Serializable] in 2.0
4252 * StringComparison.cs: New (2.0) enum (needed for Uri).
4253 * TermInfoDriver.cs: Fixed BackSpace -> Backspace (see ConsoleKey.cs).
4254 * TypeCode.cs: Added [ComVisible (true)] and [Serializable] in 2.0
4257 2005-11-08 Atsushi Enomoto <atsushi@ximian.com>
4259 * Type.cs : I forgot to mention, some '(' were missing in the
4262 2005-11-08 Zoltan Varga <vargaz@freemail.hu>
4264 * Type.cs (GetPseudoCustomAttributes): Check for TypeAttributes.Serializable instead of
4265 IsSerializable property, since the latter returns true for delegates/enums.
4267 2005-11-05 Kornél Pál <kornelpal@hotmail.com>
4269 * Environment.cs: Use Consts.RuntimeVersion as Environment.Version that
4270 makes maintenance easier.
4272 2005-10-24 Martin Baulig <martin@ximian.com>
4274 * Type.cs (Type.IsGenericTypeDefinition): Make this virtual.
4276 2005-10-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4278 * String.cs: fix bound checkings for LastIndexOfAny. Closes bug #76519.
4280 2005-10-20 Raja R Harinath <rharinath@novell.com>
4282 * Array.cs (Swapper): Remove NET_2_0 guards from nested declaration.
4284 2005-10-16 Michal Moskal <malekith@nemerle.org>
4286 * TermInfoDriver.cs: Call Init () in Background/ForegroundColor.
4288 2005-10-14 Atsushi Enomoto <atsushi@ximian.com>
4290 * DateTime.cs : another crappy Windows dependent format.
4292 2005-10-14 Ben Maurer <bmaurer@ximian.com>
4294 * DateTime.cs: Speed up when parsing date time objects by not
4295 duplicating cultureinfo arrays.
4297 2005-10-13 Zoltan Varga <vargaz@gmail.com>
4299 * Type.cs (GetTypeCode): Applied patch from
4300 Mike Welham <mwelham@gmail.com>. Return TypeCode.Empty when null is
4303 2005-10-07 Zoltan Varga <vargaz@gmail.com>
4305 * Delegate.cs: Add support for delegate covariance and contravariance
4308 2005-10-03 Atsushi Enomoto <atsushi@ximian.com>
4310 * StringComparer.cs : (OrdinalIgnoreCaseComparer.Equals()) reverse.
4312 2005-09-26 Zoltan Varga <vargaz@gmail.com>
4314 * String.cs (ParseFormatSpecifier): Fix skipping of whitespace. Fixes
4317 2005-09-23 Miguel de Icaza <miguel@novell.com>
4319 * Decimal.cs: Fix typo, patch from Tomas Kukol <tomas.kukol@gmail.com>
4321 2005-09-19 Zoltan Varga <vargaz@gmail.com>
4323 * MonoCustomAttrs.cs (GetCustomAttributesInternal): Add
4324 attributeType parameter.
4325 (IsDefined): New icall.
4327 * MonoCustomAttrs.cs: Avoid instantiating all custom attrs of an
4328 object when only a specific attribute type is requested. Fixes #76062.
4330 * Environment.cs: Bump corlib version.
4332 2005-09-09 Zoltan Varga <vargaz@gmail.com>
4334 * TypeLoadException.cs MissingMethodException.cs MissingFieldException.cs: Add new ctors called by the runtime. Improve Message property.
4336 2005-09-14 Atsushi Enomoto <atsushi@ximian.com>
4338 * DateTime.cs : (_DoParse) don't check ticks range before computing
4339 the actual value. Fixed bug #76082.
4341 2005-09-14 Atsushi Enomoto <atsushi@ximian.com>
4343 * TimeZone.cs : When the target DateTime is in the range of
4344 DST end to DST + delta, don't adjust UtcOffset gap between that of
4345 DST and that of STD. This should fix bug #75985.
4347 2005-09-06 Atsushi Enomoto <atsushi@ximian.com>
4349 * TimeZone.cs, DateTime.cs :
4350 - ToLocalTime() and ToUniversalTime() are moved to TimeZone.
4351 - Added more COM patterns. Patch by Ankit Jain. Fixed bug #72132.
4352 - use ToLocalTime() and don't depend on the own offset computation.
4353 Parse() with 'Z' pattern is closer to correct value on switching
4354 Daylight Saving Time. See bug #75985.
4356 2005-09-06 Atsushi Enomoto <atsushi@ximian.com>
4358 * DateTime.cs : (DoParse) DateTimeStyles.AdjustToUniversal was not
4359 handled as expected and it kept time value as local one.
4360 Patch by Brion Vibber. Fixed bug #75995.
4362 2005-09-06 Atsushi Enomoto <atsushi@ximian.com>
4364 * DateTime.cs : Literal escape (\) was not checking format as
4365 expected. Fixed bug #75213.
4367 2005-09-05 Miguel de Icaza <miguel@novell.com>
4369 * MonoType.cs: Patch from Jonathan Chambers to implement
4372 2005-09-05 Martin Baulig <martin@ximian.com>
4374 Reflect latest API changes in the August CTP.
4376 * Type.cs (Type.HasGenericArguments): Removed.
4377 (Type.BindGenericParameters): Renamed to MakeGenericType().
4379 2005-09-01 Atsushi Enomoto <atsushi@ximian.com>
4381 * DateTime.cs : another idiotic COM dependent format.
4383 2005-09-01 Kornél Pál <kornelpal@hotmail.com>
4385 * __ComObject.cs: Fixed to be internal. Removed CLSCompliant attribute.
4386 Added some comments about the class.
4388 2005-08-30 Sebastien Pouliot <sebastien@ximian.com>
4390 * AppDomain.cs: Use the more concise property syntax for declarative
4392 * AppDomainManager.cs: Default HostSecurityManager is null.
4394 2005-08-25 Atsushi Enomoto <atsushi@ximian.com>
4396 * NumberFormatter.cs : eliminate non-ASCII character.
4398 2005-08-25 Marek Safar <marek.safar@seznam.cz>
4400 * Enum.cs: Better exception message.
4402 2005-08-21 Gert Driesen <drieseng@users.sourceforge.net>
4404 * Convert.cs: In FromBase64String, return empty byte array for zero
4405 length string. Pass bool to InternalFromBase64String to control
4406 whether to allow a whitespace-only string.
4407 * Environment.cs: Bump corlib version.
4409 2005-08-20 Zoltan Varga <vargaz@freemail.hu>
4411 * Environment.cs: Bump corlib version.
4413 2005-08-19 Zoltan Varga <vargaz@freemail.hu>
4415 * Math.cs: Implement a new 2.0 Round method.
4417 2005-08-19 Gert Driesen <drieseng@users.sourceforge.net>
4419 * Convert.cs: Throw OverflowException if result is larger than
4420 ushort.MaxValue to match MS.NET. Remove commented code.
4422 2005-08-17 Gert Driesen <drieseng@users.sourceforge.net>
4424 * Convert.cs: For now, do not throw OverflowException if hex prefixed
4425 value is negative for signed types (other than int64). Need to look
4428 2005-08-17 Gert Driesen <drieseng@users.sourceforge.net>
4430 * Convert.cs: Numerous fixed in overloads taking base to match
4431 behaviour of MS.NET. Throw ArgumentOutOfRangeException is string is
4432 empty. If base is 16, 8 or 2, then throw ArgumentException if first
4433 character is a negative sign. Throw OverflowException if hex prefixed
4434 value is negative for signed types (other than int64) to match MS.NET.
4436 2005-08-16 Atsushi Enomoto <atsushi@ximian.com>
4438 * DateTime.cs : added another COM dependent pattern (rather to describe
4439 how it works on .NET than to add the pattern itself...).
4441 2005-08-16 Atsushi Enomoto <atsushi@ximian.com>
4443 * DateTime.cs : added case for bug #53023.
4445 2005-08-10 Zoltan Varga <vargaz@freemail.hu>
4447 * Type.cs: Add IsGenericType property from NET 2.0.
4449 2005-08-10 Atsushi Enomoto <atsushi@ximian.com>
4451 * String.cs : added new StartsWith()/EndsWith() override, fixing
4452 existing EndsWith() which incorrectly assumed that both string
4453 lengths must be equivalent (they are not always equal).
4454 * StringComparer.cs : added Ordinal and OrdinalIgnoreCase.
4456 2005-08-09 Zoltan Varga <vargaz@freemail.hu>
4458 * String.cs: Implement Split(String[]) methods.
4460 2005-08-09 Miguel de Icaza <miguel@novell.com>
4462 * AppDomainSetup.cs: Full-pathization of the appBase should only
4463 be done on Windows, the ":" condition never applied to Linux.
4465 * ConsoleKey.cs: Include a few aliases for a few values that were
4466 introduced recently.
4468 2005-08-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4470 * ConsoleKey.cs: added Backspace, which has the same value as BackSpace.
4473 2005-08-08 Atsushi Enomoto <atsushi@ximian.com>
4475 * String.cs : (StartsWith) compared string lengths are not always the
4476 same in culture-sensitive comparison.
4478 2005-08-05 Gert Driesen <drieseng@users.sourceforge.net>
4480 * Array.cs: Changed protected ctor to private. Fixes API compatibility
4482 * RuntimeFieldHandle.cs: Equals methods and GetHashCode should only
4483 be exposed in 2.0 profile.
4484 * RuntimeMethodHandle.cs: Equals methods and GetHashCode should only
4485 be exposed in 2.0 profile.
4486 * RuntimeTypeHandle.cs: Equals methods and GetHashCode should only
4487 be exposed in 2.0 profile.
4488 * Type.cs: Added GetType method and implemented _Type interface.
4489 Fixes API compatibility with MS.NET.
4491 2005-07-28 Marek Safar <marek.safar@seznam.cz>
4493 * StringComparer.cs: Add generics version of string interfaces.
4495 2005-07-26 Atsushi Enomoto <atsushi@ximian.com>
4497 * StringComparer.cs : implemented StringCultureComparer.GetHashCode().
4499 2005-07-26 Zoltan Varga <vargaz@freemail.hu>
4501 * StringSplitOptions.cs MidpointRounding.cs: New files.
4503 * String.cs Math.cs: Add stubs for some new 2.0 APIs.
4505 2005-07-26 Marek Safar <marek.safar@seznam.cz>
4507 * StringComparer.cs: New file.
4509 2005-07-26 Raja R Harinath <harinath@gmail.com>
4511 * Enum.cs (GetValue): Make private. Return an ulong.
4512 (Parse): Tighten scope of couple of variables. Use ulong when
4515 2005-07-25 Raja R Harinath <rharinath@novell.com>
4517 * Enum.cs (FindName, GetValue): New. Carved out of ...
4518 (Parse): ... this. Refactor and simplify code. Avoid incurring
4519 exceptions when parsing names. Avoid allocating arrays unless
4520 necessary. Avoid conversion of an enumeration constant to its own
4521 type. (Incorporates ideas from a patch by Gonzalo Paniagua Javier.)
4523 2005-07-13 Lluis Sanchez Gual <lluis@novell.com>
4525 * MarshalByRefObject.cs: GetLifetimeService() should be virtual.
4528 2005-07-13 Miguel de Icaza <miguel@novell.com>
4530 * Array.cs: Patch from rodrigobamboo@gmail.com that fixes the
4531 signature for GetValue and SetValue to make the long [] argument
4532 be a params argument.
4534 2005-07-11 Pedro Martínez Juliá <pedromj@gmail.com>
4536 * Convert.cs: Fix the bug when Convert.ChangeType was using
4537 NumberFormatInfo instead of DateTimeFormatInfo when the type to
4538 change is a DateTime.
4540 2005-07-11 Martin Baulig <martin@ximian.com>
4542 * Array.cs: Use Type.Equals() instead of `==' to compare type
4545 2005-07-10 Kamil Skalski <nazgul@nemerle.org>
4547 * Type.cs: Mark BindGenericParameters as deprecated. Use
4548 MakeGenericType as default implementation with updated signature.
4550 2005-07-09 Zoltan Varga <vargaz@freemail.hu>
4552 * Attribute.cs (IsDefined): Fix IsDefined for ParameterInfo's. Fixes
4555 2005-07-05 Lluis Sanchez Gual <lluis@novell.com>
4557 * DelegateSerializationHolder.cs: When the deserialized target is
4558 a proxy, call IsInstanceOfType to force the proxy to load the
4559 real type of the remote object. This is needed to make sure that
4560 subsequent calls to GetType() return the expected type. This fixes
4563 2005-07-03 Ben Maurer <bmaurer@ximian.com>
4565 * OperatingSystem.cs: patch from Aleksandar Dezelin to fix
4568 2005-06-30 Sebastien Pouliot <sebastien@ximian.com>
4570 * Guid.cs: Avoid code duplication between overriden methods (new in
4571 2.0). Avoid exception processing when possible. Renamed parameters to
4572 match the framework. Added ComVisible to NET_2_0.
4574 2005-06-28 Elliott Draper <el@eldiablo.co.uk>
4576 * Activator.cs: This implements the generic Activator.CreateInstance<T>()
4577 function for NET_2_0. It's full signature is:
4578 public static T CreateInstance<T>();
4580 2005-06-28 Lluis Sanchez Gual <lluis@novell.com>
4582 * Decimal.cs: Renamed internal fields for the sake of serialization
4583 interoperability with MS.NET.
4584 * Exception.cs: In the StackTrace property, return the stack trace
4585 if it has a value, even if the exception has not been thrown
4586 (it may have been deserialized).
4588 2005-06-28 Martin Baulig <martin@ximian.com>
4590 * Array.cs (Array.InternalArray<T>): New nested class; derives
4591 from Array. This is now used by the runtime for arrays; fixes #74953.
4593 2005-06-27 Atsushi Enomoto <atsushi@ximian.com>
4595 * String.cs : added some extra whitespace characters for Trim().
4598 2005-06-13 Michal Moskal <malekith@nemerle.org>
4600 * MonoType.cs: Don't use MethodHandle in GetMethod/GetConstructor,
4601 since it now throws on MethodBuilders. Don't use FieldHandle in
4602 GetField (throws on FieldBuilder) - just use the name.
4604 2005-06-13 Martin Baulig <martin@ximian.com>
4607 (MonoType.getFullName): Added `bool assembly_qualified' argument.
4608 (MonoType.AssemblyQualifiedName): The interncall now adds the
4609 assembly name, so we don't need to do it here.
4610 (MonoType.FullName): Use the new getFullName() API.
4612 2005-06-14 Sebastien Pouliot <sebastien@ximian.com>
4614 * Char.cs: ToLowerInvariant and ToUpperInvariant are now public in
4615 NET_2_0. Added "new" white char and ComVisible for 2.0.
4617 2005-06-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4619 * Convert.cs: FromBase64String and FromBase64CharArray are now internal
4620 calls to avoid extra allocations.
4622 2005-06-09 Kamil Skalski <nazgul@nemerle.org>
4624 * Type.cs: Add MakeGenericType method form .NET 2.0 beta 2 API
4626 * Type.cs MonoType.cs: Add internal virtual
4627 Get{Method,Constructor,Field} for obtaining instanciated *Info objects
4628 from non-instanciated counterparts
4630 2005-06-09 Zoltan Varga <vargaz@freemail.hu>
4632 * ModuleHandle RuntimeMethodHandle.cs RuntimeTypeHandle.cs RuntimeFieldHandle.cs RuntimeArgumentHandle.cs: Add missing 2.0 attributes.
4634 2005-06-08 Zoltan Varga <vargaz@freemail.hu>
4636 * Type.cs: Add missing 2.0 attributes.
4638 2005-06-07 Carlos Alberto Cortez <calberto.cortez@gmail.com>
4640 * MonoCustomAttrs.cs: Added GetCustomAttributesDataInternal icall, and
4641 also internal method GetCustomAttributesData, used by
4642 System.Reflection.CustomAttributeData.
4644 2005-06-06 Sebastien Pouliot <sebastien@ximian.com>
4646 * Activator.cs: Added _Activator interface (and members) for 1.1 and
4647 missing attributes (for both 1.1 and 2.0).
4648 * String.cs: Made internal To[Lower|Upper]Invariant methods public for
4649 2.0. Reworked Trim() to skip a useless call. Added missing attribute
4651 * Type.cs: Added _Type, _MemberInfo interfaces (1.1/2.0). Added
4652 missing attribute for 2.0. Hided some public/protected methods.
4654 2005-06-06 Zoltan Varga <vargaz@freemail.hu>
4656 * ModuleHandle.cs: Update after PortableExecutableKinds name change.
4658 2005-06-06 Sebastien Pouliot <sebastien@ximian.com>
4660 * _AppDomain.cs: Added new members in the interface (added in 1.1 SP1)
4661 * AppDomain.cs: Added new members from _AppDomain interface.
4662 * AppDomainManager.cs: Fixed flags and added attributes.
4663 * DomainManagerInitializationFlags.cs: The flag has been renamed to
4664 AppDomainManagerInitializationOptions in beta2.
4666 2005-06-06 Zoltan Varga <vargaz@freemail.hu>
4668 * Type.cs MonoCustomAttrs.cs: Return SerializableAttribute for types as well.
4670 2005-06-06 Sebastien Pouliot <sebastien@ximian.com>
4672 * Exception.cs: Implements _Exception only for 2.0.
4674 2005-06-06 Zoltan Varga <vargaz@freemail.hu>
4678 * GC.cs UnhandledExceptionEventArgs.cs IntPtr.cs RuntimeFieldHandle.cs
4679 String.cs Object.cs Math.cs RuntimeMethodHandle.cs ModuleHandle.cs
4680 RuntimeTypeHandle.cs AppDomain.cs: Add some missing 2.0 methods/attributes.
4682 2005-06-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4685 * AppDomain.cs: if the assembly is loaded from a byte array, Location
4686 returns "". Fixes bug #74958.
4688 2005-06-04 Ben Maurer <bmaurer@ximian.com>
4690 * *.cs: More 2.0 API fixups
4692 * *.cs: In beta 2, generics are no longer non-cls-compliant.
4694 2005-06-05 Kazuki Oikawa <kazuki@panicode.com>
4696 * NumberFormatter.cs: Fixed the output of 0.ToString("00.00E00")
4697 that was different from MSFT.
4698 * String.cs: Fixed IndexOfAny thrown an exception
4699 when startIndex of arguments equals Length. (Closes bug #75083.)
4701 * Decimal.cs: Changed to use NumberFormatter in ToString.
4702 * NumberFormatter.cs: Implemented decimal formatter.
4704 2005-06-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4706 * Type.cs: reverted wrong fix for bug #71300 in r45150. This makes SSL
4707 support in System.Net work again.
4709 2005-06-01 Ben Maurer <bmaurer@ximian.com>
4711 * CharEnumerator.cs: add IEnumerable <char> support
4713 2005-05-30 Sebastien Pouliot <sebastien@ximian.com>
4715 * Activator.cs: Added missing validation on parameters.
4717 2005-05-28 Ben Maurer <bmaurer@ximian.com>
4719 * Type.cs: Check that the arguments of the `types' array are
4720 non-null. Fixes bug 71300
4722 2005-05-28 Sebastien Pouliot <sebastien@ximian.com>
4724 * AppDomainSetup.cs: Added new 2,0 constructors and the
4725 ActivationArguments property.
4726 * AppDomainManager.cs: Added using System.Runtime.Hosting as it is the
4727 new location for the ApplicationActivator class.
4728 * ApplicationActivator.cs: Moved to System.Runtime.Hosting namespace.
4730 2005-05-27 Vladimir Vukicevic <vladimir@pobox.com>
4732 * Environment.cs: bump corlib version for bug #75060.
4734 2005-05-27 Raja R Harinath <rharinath@novell.com>
4736 * Environment.cs (ExpandEnvironmentVariables): Rewrite
4737 sb.Append (s.SubString (a, b)) to sb.Append (s, a, b).
4738 * String.cs (FormatHelper): Rewrite sb.Append (s.SubString (a)) to
4739 sb.Append (s, a, s.Length - a). Avoid allocating 'pad' string --
4740 StringBuilder has an appropriate Append overload.
4742 2005-05-26 Zoltan Varga <vargaz@freemail.hu>
4744 * Type.cs (IsEnum): Special case EnumBuilder here.
4746 2005-05-26 Sebastien Pouliot <sebastien@ximian.com>
4748 * MonoType.cs: Changed call from GetName to UnprotectedGetName to
4749 allow call to work with serialization under a restrictive policy.
4750 The code path (the protected information) isn't being used.
4752 2005-05-25 Zoltan Varga <vargaz@freemail.hu>
4754 * Exception.cs: Use the new StackTrace ctor.
4756 * Type.cs: Improve support for user defined type subclasses.
4758 2005-05-25 Atsushi Enomoto <atsushi@ximian.com>
4760 * DateTime.cs : Added minimum digit parameter to ParseNumber() to
4761 reject 2 digit years for "yyyy".
4762 Use GetAllDateTimePatterns() instead of constant string.
4765 2005-05-25 Atsushi Enomoto <atsushi@ximian.com>
4767 * DateTime.cs : next_not_digit prevented some valid parse.
4768 Just remove it, since now we pass max length to ParseNumber() and
4769 thus it is not needed anymore. Fixed bug 63137.
4771 2005-05-24 Atsushi Enomoto <atsushi@ximian.com>
4773 * DateTime.cs : HH should not always block tt. Fixed bug #60912.
4774 Reset num after whitespace parsing.
4775 Added "M/d/yyyy HH':'mm':'ss tt" as an invariant pattern.
4777 2005-05-24 Atsushi Enomoto <atsushi@ximian.com>
4779 * DateTime.cs : Allow ',' where whitespaces are allowed.
4782 2005-05-22 Ben Maurer <bmaurer@ximian.com>
4784 * BitConverter.cs: Speed this up, fixing 74014. Patch from
4785 `Aleksandar Dezelin'.
4787 2005-05-20 Zoltan Varga <vargaz@freemail.hu>
4789 * Type.cs: Add some helper methods needed by other classes.
4791 * Array.cs: Improve support for user defined Type subclasses.
4793 * Type.cs: Rename GetTypeCode icall to GetTypeCodeInternal and add a managed
4794 wrapper function, not used yet.
4796 * Type.cs Array.cs: Revert this as it breaks the build.
4798 * Type.cs Array.cs: Improve support for user defined Type subclasses.
4800 2005-05-19 Ben Maurer <bmaurer@ximian.com>
4802 * Delegate.cs (Equals): Use `as' to protect in the case where !
4805 2005-05-19 Raja R Harinath <rharinath@novell.com>
4807 * Console.cs (Readline) [NET_2_0]: Avoid "uninitialized variable"
4810 2005-05-19 Miguel de Icaza <miguel@novell.com>
4812 * TermInfoDriver.cs: Removed warning.
4814 * Array.cs (Resize<T>, TrueForAll<T>, ConvertAll<TInput,TOutput>,
4815 FindLastIndex<T>: Parameter names are normative.
4816 Fix coding style ("Method<T>" not "Method <T>")
4817 Throw argument exceptions per argument.
4819 (FindAll): Fix bug, actually return the values that were computed,
4820 not a short version of the original array.
4822 2005-05-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4824 * Console.cs: fix error in the 2_0 side and split ReadLine in 2, one
4825 for each framework version.
4827 2005-05-15 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
4830 * Exception.cs: .Net 1.1 already has these interfaces
4832 Mon May 16 18:23:49 CEST 2005 Paolo Molaro <lupus@ximian.com>
4834 * MonoCustomAttrs.cs, Type.cs: do not create a SerializableAttribute
4835 object on GetCustomAttributes (fixes bug #74717).
4837 2005-05-15 Atsushi Enomoto <atsushi@ximian.com>
4839 * DateTime.cs : for 'z' next_not_digit didn't work as expected.
4842 2005-05-15 Atsushi Enomoto <atsushi@ximian.com>
4844 * DateTime.cs : don't allow extraneous pattern characters also for
4845 non-exact parsing (ParseExact() was fine). Bug #74936 fixed
4847 2005-05-13 Gert Driesen <drieseng@users.sourceforge.net>
4849 * Activator.cs: Match exceptions thrown by MS.NET for
4850 CreateInstance overloads if type is abstract. Fixes bug #74861.
4852 2005-05-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4854 * OperatingSystem.cs: PlatformID.Unix.
4856 2005-05-09 Sebastien Pouliot <sebastien@ximian.com>
4858 * Environment.cs: Patch from Gonzalo to fix Environment.OSVersion.
4859 Platform under NET_2_0 to return PlatformID.Unix. Fix bug #74841.
4861 2005-05-07 Atsushi Enomoto <atsushi@ximian.com>
4863 * NumberFormatter.cs : roundtrip number is already rounded before
4864 FormatGeneral() and DefaultMaxPrecision was extraneous. This fixes
4867 2005-05-07 Ben Maurer <bmaurer@ximian.com>
4869 * Array.cs (BinarySearch): Patch from kazuki to pass arguments to
4870 the comparer in the same order as msft. Fixes #70725
4872 2005-05-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4874 * Enum.cs: the hashtable don't need to be synchronized any more, since
4875 it's only accessed from withint a lock.
4877 * Console.cs: stdin, stdout and stderr will never be finalized. Fixes
4880 2005-05-06 Zoltan Varga <vargaz@freemail.hu>
4882 * Array.cs: Remove CLSCompliant (false) attributes.
4884 2005-05-06 Martin Baulig <martin@ximian.com>
4886 * Predicate.cs, Action.cs, Comparision.cs, Converter.cs: Add
4887 [CLSCompliant(true)] attribute.
4889 2005-05-04 Miguel de Icaza <miguel@novell.com>
4891 * Enum.cs (MonoEnumInfo): Based on a patch from James Willcox,
4892 initialize cache as a static method. Fixes #74828.
4894 2005-05-03 Marek Safar <marek.safar@seznam.cz>
4896 * Console.cs: CancelKeyPress is stubbed.
4898 2005-04-25 Sebastien Pouliot <sebastien@ximian.com>
4900 * ActivationContext.cs: Updated for beta2.
4901 * AppDomainManager.cs: Updated for beta2.
4902 * ApplicationId.cs: Updated for beta2.
4903 * ApplicationIdentity.cs: Updated for beta2.
4904 * Exception.cs: Now use Assembly.UnprotectedGetName () as Exception
4905 doesn't leak the code base from the returned AssemblyName.
4907 2005-04-25 Martin Baulig <martin@ximian.com>
4909 * Environment.cs (Environment.Version): Changed to 2.0.50215.
4911 2005-04-22 Sebastien Pouliot <sebastien@ximian.com>
4913 * Attribute.cs: Added _Attribute interface to NET_2_0 to reduce the
4914 number of "missing" in the class status pages.
4916 2005-04-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4918 * MulticastDelegate.cs: (GetInvocationList) when building the list that
4919 is later traversed forward, mark 'this' as the end of the chain.
4922 2005-04-19 Zoltan Varga <vargaz@freemail.hu>
4924 * Environment.cs: Bump corlib version.
4926 2005-04-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4928 * WindowsConsoleDriver.cs: ignore key release events.
4930 2005-04-06 Atsushi Enomoto <atsushi@ximian.com>
4932 * Char.cs : ToUpper()/ToLower() comparison ranges were incorrect.
4934 2005-04-05 Sebastien Pouliot <sebastien@ximian.com>
4936 * _AppDomain.cs: Add security checks to the interface. Declarative
4937 security on events requires BOOTSTRAP_WITH_OLDLIB to work properly
4939 * AppDomain.cs: Add some (not complete) security checks. Bug#74411 is
4940 blocking some cases from working properly. Declarative security on
4941 events requires BOOTSTRAP_WITH_OLDLIB to work properly with older MCS.
4943 2005-04-04 Sebastien Pouliot <sebastien@ximian.com>
4945 * AppDomain.cs: Use the PolicyLevel to resolve the granted permissions
4946 on the AppDomain. Added an internal property to get the granted set.
4948 2005-04-04 Atsushi Enomoto <atsushi@ximian.com>
4951 Char.cs : use TextInfo for ToLower() and ToUpper().
4953 2005-03-31 Sebastien Pouliot <sebastien@ximian.com>
4955 * Exception.cs: Added Assert for TypeInformation to GetObjectData and
4956 ToString methods (not required for 2.0 as TypeInformation will be
4957 deprecated). Added null check for GetObjectData.
4959 Tue Mar 29 11:47:19 CEST 2005 Paolo Molaro <lupus@ximian.com>
4961 * Delegate.cs: allow IronPython 0.7 to compile.
4963 2005-03-24 Miguel de Icaza <miguel@novell.com>
4965 * Delegate.cs: Add CreateDelegate with a target option, currently
4966 internal as it is not exposed by the framework yet.
4968 2005-03-24 Zoltan Varga <vargaz@freemail.hu>
4970 * String.cs: Add some 2.0 methods.
4972 2005-03-24 Sebastien Pouliot <sebastien@ximian.com>
4974 * Activator.cs: Now use the supplied evidences when loading
4975 assemblies. Added LinkDemand for RemotingConfiguration on both
4977 * Console.cs: Added Assert for UnmanagedCode on OpenStandard[Error|
4978 Input|Output] as they use a handle on a FileStream (which is
4979 restricted otherwise). Added Demand for UnmanagedCode for the
4980 Set[Error|In|Out] methods.
4981 * MarshalByRefObject.cs: Added LinkDemand for Infrastructure on
4982 CreateObjRef, GetLifetimeService and InitializeLifetimeService.
4983 * RuntimeMethodHandle.cs: Added Demand for UnmanagedCode on
4984 GetFunctionPointer method.
4985 * TypedReference.cs: Added LinkDemand for ReflectionPermission's
4986 MemberAccess on MakeTypedReference.
4988 2005-03-14 Sebastien Pouliot <sebastien@ximian.com>
4990 * Environment.cs: Fix CAS unit tests for NET_1_1.
4991 * Exception.cs: Fix CAS unit tests for NET_1_1.
4993 2005-03-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4995 * Version.cs: don't ignore the last number. Fixes bug #73539.
4997 2005-03-11 Sebastien Pouliot <sebastien@ximian.com>
4999 * MonoType.cs: When the security manager is active, constructors and
5000 methods will return null if a linkdemand fails during reflection
5003 2005-03-11 Zoltan Varga <vargaz@freemail.hu>
5005 * Array.cs (Sort): Bail out early if length <= 1. Fixes #72721.
5007 2005-03-10 Zoltan Varga <vargaz@freemail.hu>
5009 * Environment.cs: Bump corlib version.
5011 2005-03-10 Martin Baulig <martin@ximian.com>
5013 * Nullable.cs (Nullable<T>.ToString): Return an empty string if
5016 2005-03-09 Zoltan Varga <vargaz@freemail.hu>
5018 * Activator.cs MonoType.cs: Applied patch from Carlos Alberto Cortez
5019 (carlos@unixmexico.org). Allow creation of valuetypes with no ctor.
5022 2005-03-04 Zoltan Varga <vargaz@freemail.hu>
5024 * Environment.cs: Bump corlib version.
5026 * Exception.cs (StackTrace): Return the wrapper info as well.
5028 2005-03-02 Kazuki Oikawa <kazuki@panicode.com>
5030 * NumberFormatter.cs: Some internal classes was converted to structs,
5031 and improved some points.
5033 2005-02-26 Kazuki Oikawa <kazuki@panicode.com>
5035 * NumberFormatter.cs: Improved performance and memory usage
5036 when integer standard format.
5047 * TimeSpan.cs: Improved these directly call to NumberFormatter.
5049 2005-02-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5051 * TermInfoDriver.cs: set the xmit mode if available. Handle key input
5052 and translate them into a ConsoleKeyInfo.
5053 * TermInfoReader.cs: added a method to return the bytes of a string
5055 * ConsoleKeyInfo.cs: added copy constructor and setters.
5057 2005-02-24 Zoltan Varga <vargaz@freemail.hu>
5059 * Array.cs: Add missing 2.0 attributes and correct some parameter names.
5061 2005-02-24 Carlos Alberto Cortez <calberto.cortez@gmail.com>
5063 * AppDomain.cs: Changed GetAssemblies, LoadAssembly, and Load signatures,
5064 and added some to support the reflection only methods. DoAssemblyResolve
5065 was modified to invoke the new PreBindAssemblyResolve event when the
5066 assembly is reflection only.
5068 2005-02-21 Zoltan Varga <vargaz@freemail.hu>
5070 * GC.cs Double.cs IntPtr.cs Array.cs Decimal.cs Math.cs Single.cs:
5071 Add net 2.0 ReliabilityContractAttributes.
5073 2005-02-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5075 * TermInfoDriver.cs: cygwin terminals are handled by the windows
5078 * TermInfoReader.cs:
5079 * TermInfoNumbers.cs:
5080 * KnownTerminals.cs:
5081 * TermInfoBooleans.cs:
5082 * TermInfoStrings.cs: documented.
5084 2005-02-19 Kazuki Oikawa <kazuki@panicode.com>
5086 * Array.cs: Reverse the order in the Equals calls.
5088 2005-02-18 Zoltan Varga <vargaz@freemail.hu>
5090 * Exception.cs (StackTrace): Implement this in managed code since it is
5091 needed by CAS. Fixes #72146.
5093 2005-02-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5095 * WindowsConsoleDriver.cs: implemented MoveBufferArea.
5097 2005-02-14 Raja R Harinath <rharinath@novell.com>
5099 * Array.cs (Array.Swapper) [!BOOTSTRAP_WITH_OLDLIB]: Make nested.
5102 2005-02-12 Ben Maurer <bmaurer@ximian.com>
5104 * Version.cs (CompareTo, Equals): Make sure the versions for
5105 generics handle `null'. The non-generics versions now just call
5106 the regular versions, to reduce code duplication.
5108 * Boolean.cs (CompareTo): make this really work for generics
5110 * Type.cs (GetProperty): Passing new Type [0] is different than
5111 null. null means `I don't care how many types this has,' while new
5112 Type [0] means `this must have 0 types.'
5114 2005-02-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5116 * corlib.dll.sources: added WindowsConsoleDriver.cs
5118 * System/ConsoleDriver.cs: use WindowsConsoleDriver on windows and
5119 implemented the few missing properties/methods.
5121 * System/IConsoleDriver.cs: uncommented all methods/properties.
5122 * System/TermInfoDriver.cs: implement changes from IConsoleDriver.
5123 * System/WindowsConsoleDriver.cs: implemented IConsoleDriver for
5124 windows. Only missing MoveBufferArea by now.
5126 2005-02-11 Zoltan Varga <vargaz@freemail.hu>
5128 * Type.cs (IsAssignableFrom): Add support for TypeBuilders.
5130 * Int32.cs AppDomain.cs: Fix warnings.
5132 2005-02-10 Marek Safar <marek.safar@seznam.cz>
5134 * IServiceProvider.cs: Is not ComVisible.
5136 * NonSerializedAttribute.cs: Fix AttributeUsage flags.
5138 * Type.cs: Fix ClassInterface attribute.
5140 Tue Feb 8 19:26:47 CET 2005 Paolo Molaro <lupus@ximian.com>
5142 * Delegate.cs: remove the finalizer from Delegate: this
5143 is handled internally by the runtime now.
5145 2005-02-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5147 * Activator.cs: provide the Type name when throwing an exception.
5149 2005-02-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5151 * TimeZone.cs: lock on the static Hashtable instead of 'this'. Fixes
5154 Fri Feb 4 15:46:04 CET 2005 Paolo Molaro <lupus@ximian.com>
5156 * Array.cs: provide specialized versions of some methods.
5158 Thu Feb 3 15:15:25 CET 2005 Paolo Molaro <lupus@ximian.com>
5160 * String.cs: provide a managed memcpy and memset method
5161 for use both in corlib and from the JIT. Implement
5162 some methods with the managed helpers and remove some icalls.
5164 2005-01-31 Sebastien Pouliot <sebastien@ximian.com>
5166 * Exception.cs: Added Data property for NET_2_0 (required for new
5169 2005-01-31 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5172 * TermInfoDriver.cs:
5173 * IConsoleDriver.cs:
5174 * Console.cs: added BufferWidth and BufferHeight.
5176 2005-01-31 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5180 * TermInfoDriver.cs:
5181 * IConsoleDriver.cs: added a few more properties and fixed cursor
5184 2005-01-31 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5186 * ConsoleDriver.cs: static class that forwards the Console 2.0 class
5187 calls to the proper driver.
5188 * TermInfoDriver.cs: terminfo based console driver.
5189 * IConsoleDriver.cs: interface implemented by console drivers.
5191 * ConsoleCancelEventArgs.cs:
5192 * ConsoleCancelEventHandler.cs:
5194 * ConsoleModifiers.cs:
5195 * ConsoleSpecialKey.cs:
5197 * ConsoleKey.cs: new enumerations.
5199 * ConsoleKeyInfo.cs: New file.
5201 * TermInfoReader.cs: reader for terminfo capabilities files.
5203 * TermInfoNumbers.cs:
5204 * TermInfoBooleans.cs:
5205 * TermInfoStrings.cs: enumations for terminfo property names.
5207 * KnownTerminals.cs: byte arrays for selected terminals.
5209 * Console.cs: added more 2.0 methods and implemented some of them.
5212 2005-01-30 Atsushi Enomoto <atsushi@ximian.com>
5214 * Int32.cs : (FindSign) IndexOf() is better than creating substring.
5216 2005-01-27 Sebastien Pouliot <sebastien@ximian.com>
5218 * BadImageFormatException.cs: Protect the fusion (GAC) log from being
5219 disclosed unless code has ControlPolicy and ControlEvidence.
5221 2005-01-27 Zoltan Varga <vargaz@freemail.hu>
5223 * Exception.cs: Compute stack trace on demand.
5225 2005-01-26 Sebastien Pouliot <sebastien@ximian.com>
5227 * Environment.cs: Removed hack for static class (NET_2_0). Added
5228 proper security for FailFast (documented in FDBK20543). Added new
5229 method IsRunningOnWindows to replace (Platform == 128) as the logic is
5230 gonna change in the future (Unix is id #4 in NET_2_0).
5232 2005-01-24 Sebastien Pouliot <sebastien@ximian.com>
5234 * Environment.cs: Added CAS security (both declarative and imperative)
5235 as a test. This shouldn't affect execution unless --security is
5238 2005-01-19 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
5239 * Type.cs: Corrected implementation for the Type.FilterNameIgnoreCase
5240 and Type.FilterName delegates They weren't dealing with the optional '*'
5241 at the end of the filter mask
5243 2005-01-19 Zoltan Varga <vargaz@freemail.hu>
5245 * Array.cs: Fix a typo in the previous patch.
5247 * Array.cs: Fix some test failures in the generic methods.
5249 * Array.cs: Implement AsReadOnly.
5251 2005-01-13 Geoff Norton <gnorton@customerdna.com>
5253 * Guid.cs: Fix endian issues (use Mono.Security.BitConverterLE). Fixes
5256 2005-01-11 Sebastien Pouliot <sebastien@ximian.com>
5258 * AppDomain.cs: Removed Activate and ActivateNewProcess methods. They
5259 have been removed from 2.0.
5261 2005-01-11 Zoltan Varga <vargaz@freemail.hu>
5263 * Boolean.cs Char.cs Single.cs Double.cs: Implement IComparable<T> in
5266 2005-01-10 Sebastien Pouliot <sebastien@ximian.com>
5268 * ApplicationIdentity.cs: Throw ArgumentNullException if name is null.
5269 Add default culture (neutral) to the name when none is specified.
5270 * AppDomain.cs: Changed IsDefaultAppDomain (2.0). Is seems that we
5273 2005-01-09 Sebastien Pouliot <sebastien@ximian.com>
5275 * DateTime.cs: Reverted last patch for utc as it broke all certificate
5276 handling and another unit test in DateTime.
5278 2005-01-09 Miguel de Icaza <miguel@ximian.com>
5280 * DateTime.cs: Return immediately if useutc is set to true, there
5281 is no need to do the extra computation (which also happened to
5282 create a new DateTime using the `use_localtime' constructor, which
5283 lead to the erroneous date returns when using 'u' or `U'
5286 Fixes another bug in the regression test suite.
5288 2005-01-08 Sebastien Pouliot <sebastien@ximian.com>
5290 * AppDomain.cs: Fix the DefaultDomain property to return the root
5291 domain (as it seems that the root's Id isn't always 0).
5292 * BitConverter.cs: The "special support" for ToString(new byte[0]) is
5293 only for NET_2_0 - previously this was an ArgumentOutOfRangeException.
5295 2005-01-08 Miguel de Icaza <miguel@ximian.com>
5297 * IntegerFormatter.cs: The - sign inside the "negative" section in
5298 a multi-format string means `show the sign' only if it is the
5299 first token, not `copy verbatim'. In the other sections it means
5302 This makes things like: (-34).ToString ("#;-#") show up as "-34"
5305 The bad news is that this code needs to be rewritten to handle all
5306 the formatting cases, see bug #71112 for details.
5308 * Convert.cs (Convert.ToType): Throw an InvalidCastException if
5309 the conversion is invalid, not ArgumentException, this fixes
5310 another regression in our test suite.
5312 2005-01-08 Sebastien Pouliot <sebastien@ximian.com>
5314 * AppDomain.cs: Add ApplicationIdentity property for 2.0;
5315 * AppDomainManager.cs: Remove HostRefusedSet support (it does not
5318 2005-01-08 Zoltan Varga <vargaz@freemail.hu>
5320 * DateTime.cs: Create MaxValue and MinValue using a different constructor to avoid static
5321 initialization problems.
5323 2005-01-02 Ben Maurer <bmaurer@ximian.com>
5325 * Int32.cs: NumberStyles.AllowExponent was supported by the
5326 Int32.Parse function. From Akira <mei@work.email.ne.jp>. Fixes bug
5329 2005-01-01 Atsushi Enomoto <atsushi@ximian.com>
5331 * Base64FormattingOptions.cs : it was not in System namespace.
5333 2004-12-21 Atsushi Enomoto <atsushi@ximian.com>
5335 * DateTime.cs : If no progress on value string, don't regard as
5336 matched. This fixes bug #70707.
5338 2004-12-20 Sebastien Pouliot <sebastien@ximian.com>
5340 * Environment.cs: Bump corlib version.
5342 2004-12-16 Zoltan Varga <vargaz@freemail.hu>
5344 * Array.cs (DoBinarySearch): Fix a warning.
5346 2004-12-08 Zoltan Varga <vargaz@freemail.hu>
5348 * Environment.cs: Bump corlib version.
5350 * AppDomain.cs: Add new DefineInternalDynamicAssembly () method.
5352 2004-12-06 Ben Maurer <bmaurer@ximian.com>
5354 * Exception.cs: Prevent stringifying the type name on the
5355 ctor. this gets called a few times on every execution to create a
5358 2004-12-06 Martin Baulig <martin@ximian.com>
5360 * Decimal.cs: Decimal constant support has been merged into GMCS,
5363 2004-12-06 Zoltan Varga <vargaz@freemail.hu>
5365 * Environment.cs: Bump corlib version.
5367 * Environment.cs: Bump corlib version.
5369 2004-11-30 Zoltan Varga <vargaz@freemail.hu>
5371 * MonoType.cs (UnderlyingSystemType): Make this return this as in
5372 MS.NET. Fixes #56245.
5374 2004-11-29 Atsushi Enomoto <atsushi@ximian.com>
5376 * GC.cs : Collect(generation) actually does not throw an exception
5377 even if generation > MaxGeneration (MS document bug).
5379 2004-11-28 Zoltan Varga <vargaz@freemail.hu>
5381 * Exception.cs: Implement _Exception under NET_2_0.
5383 * Byte.cs SByte.cs UInt16.cs Int16.cs: Make these compile under csc 2.0.
5385 * AccessViolationException.cs DataMisalignedException.cs OperationCanceledException.cs
5386 NotCancelableException.cs TimeoutException.cs: New files.
5388 2004-11-23 Raja R Harinath <rharinath@novell.com>
5390 * Decimal.cs [NET_2_0]: Use old code till GMCS imports decimal
5393 2004-11-23 Raja R Harinath <rharinath@novell.com>
5395 * Decimal.cs [BOOTSTRAP_WITH_OLDLIB]: Use old code for compilers
5396 without decimal constant support.
5398 2004-11-23 Marek Safar <marek.safar@seznam.cz>
5400 * Decimal.cs: Updated to use compiler decimal constant support.
5402 2004-11-20 Zoltan Varga <vargaz@freemail.hu>
5404 * MonoType.cs: Revert last change since it breaks remoting.
5406 2004-11-18 Zoltan Varga <vargaz@freemail.hu>
5408 * MonoType.cs (UnderlyingSystemType): Make this return this as in
5409 MS.NET. Fixes #56245.
5411 2004-11-17 Carlos Alberto Cortez <carlos@unixmexico.org>
5413 * INullable.cs: New interface added.
5414 * Nullable.cs: Methods added. Also a static Nullable class
5415 containing static methods.
5417 2004-11-15 Sebastien Pouliot <sebastien@ximian.com>
5419 * BitConverter.cs: Added support for special case when ToString is
5420 called with (new byte [0]).
5422 2004-11-10 Lluis Sanchez <lluis@novell.com>
5424 * Exception.cs: Added setter for StackTrace.
5426 2004-11-07 Ben Maurer <bmaurer@ximian.com>
5428 * IntegerFormatter.cs: Avoid .ToCharArray
5430 2004-11-06 Ben Maurer <bmaurer@ximian.com>
5432 * Single.cs, Double.cs (GetHashCode): Better hashcode impl
5434 2004-11-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5436 * InvalidOperationException.cs: make the message more meaningful and
5437 real. Fixes bug #69055.
5439 2004-10-28 Ben Maurer <bmaurer@ximian.com>
5441 * String.cs: Rather than == String.Empty, use .Length == 0. It
5442 is a bit faster (avoids a method call, and the code is less complex).
5444 2004-10-24 Fawad Halim <fawad@fawad.net>
5445 * Environment.cs: If an Environment variable value isn't found, leave the trailing % of the reference for further matches.
5446 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.
5447 This fixes bug #64995.
5449 2004-10-19 Lluis Sanchez <lluis@novell.com>
5451 * MarshalByRefObject.cs: Field _identity is not serializable.
5452 This fixes bug #68567.
5454 2004-10-17 Ben Maurer <bmaurer@ximian.com>
5456 * DateTime.cs (ZeroPad): Use unsafe code to speed this up. We
5457 avoid entering slow integer formatting code.
5459 (_ToString): Use ZeroPad here when possible, as it is faster.
5461 2004-10-11 Martin Baulig <martin@ximian.com>
5463 * Environment.cs: Bump corlib version to 28.
5465 2004-10-08 Zoltan Varga <vargaz@freemail.hu>
5467 * Convert.cs (ToType): Throw an exception when converting null to a
5468 valuetype. Fixes #67780.
5470 2004-10-08 Atsushi Enomoto <atsushi@ximian.com>
5472 * DateTime.cs : Performance fix. ParseExact() implementation should
5473 avoid s = s.Substring(1).
5475 2004-10-08 Atsushi Enomoto <atsushi@ximian.com>
5477 * DateTime.cs : When it it not exact parse, 'Z' is allowed as a suffix
5478 of m/s/t/z. This fixes bug 66723.
5480 Wed Oct 6 12:37:54 CEST 2004 Paolo Molaro <lupus@ximian.com>
5482 * String.cs: make GetHashCode() managed.
5484 2004-10-04 Zoltan Varga <vargaz@freemail.hu>
5486 * AppDomain.cs: Make ThreadStatic variables static. Fixes #56614.
5488 * Runtime*Handle.cs ModuleHandle.cs: Add Equals + GetHashCode.
5490 * ModuleHandle.cs: Add missing methods.
5492 * RuntimeTypeHandle.cs: Add GetModuleHandle () method.
5494 2004-10-03 Zoltan Varga <vargaz@freemail.hu>
5496 * AttributeTargets.cs: Add 2.0 GenericParameter value.
5498 * Environment.cs: Bump corlib version.
5500 2004-10-02 Zoltan Varga <vargaz@freemail.hu>
5502 * Int32.cs UInt32.cs Byte.cs SByte.cs Int16.cs UInt16.cs Int64.cs UInt64.cs: Implement 2.0 TryParse methods.
5504 2004-09-30 Geoff Norton <gnorton@customerdna.com>
5506 * Convert.cs: ConvertToBase* was not endian aware. Implemented EndianSwap
5507 and swapping of all values before going into the BitConverter so that values
5508 are returned with proper endianess.
5510 2004-09-23 Martin Garton <martin@wrasse.demon.co.uk>
5512 * Convert.cs: ToType was returning unconverted object when it should
5513 fail with an ArgumentException.
5515 2004-09-27 Zoltan Varga <vargaz@freemail.hu>
5517 * Array.cs: Add stub for AsReadOnly<T>.
5519 2004-09-25 Zoltan Varga <vargaz@freemail.hu>
5521 * Type.cs: Add MakePointerType && stub for ReflectionOnlyGetType.
5523 * MonoCustomAttrs.cs (GetCustomAttributesBase): Add support for
5526 2004-09-24 Zoltan Varga <vargaz@freemail.hu>
5528 * MonoCustomAttrs.cs (GetCustomAttributesBase): Add support for
5531 * MonoCustomAttrs.cs: Beginnings of support for returning 2.0 pseudo
5534 * MonoCustomAttrs.cs (RetrieveAttributeUsage): Avoid infinite recursion.
5536 * MonoCustomAttrs.cs (GetCustomAttributes): Fix the 'attributeType is
5537 sealed' optimization.
5539 * Type.cs: Implement 2.0 StructLayoutAttribute property.
5541 * Type.cs Add GetPseudoCustomAttributes () method.
5543 2004-09-24 Martin Baulig <martin@ximian.com>
5545 * Type.cs (Type.GetGenericParameterConstraints): New public method.
5547 2004-09-23 Zoltan Varga <vargaz@freemail.hu>
5549 * MonoCustomAttrs.cs (GetCustomAttributes): Rename the icall to
5550 GetCustomAttributesInternal and add a 'pseudoAttrs' argument.
5552 * Type.cs: Tweak Module property in 2.0 build.
5554 2004-09-23 Martin Baulig <martin@ximian.com>
5556 * Type.cs (Type.GenericParameterAttributes): New public property.
5558 2004-09-23 Martin Baulig <martin@ximian.com>
5560 * GenericParameterAttributes.cs: New file.
5562 2004-09-22 Zoltan Varga <vargaz@freemail.hu>
5564 * ModuleHandle.cs: Updated after changes to Module class.
5566 2004-09-21 Geoff Norton <gnorton@customerdna.com>
5568 * Type.cs: BindingFlags.IgnoreCase was being ignored, this reimplements
5569 this filter. Fixes bug #65778.
5571 2004-09-20 Zoltan Varga <vargaz@freemail.hu>
5573 * Environment.cs: Bump corlib version.
5575 2004-09-19 Zoltan Varga <vargaz@freemail.hu>
5577 * ModuleHandle.cs: New file.
5579 * RuntimeFieldHandle.cs: Add an internal ctor.
5581 2004-09-19 Dick Porter <dick@ximian.com>
5583 * Console.cs: Use the internal wrappers for StreamReader and
5584 StreamWriter that catch IOException.
5586 2004-09-16 Sebastien Pouliot <sebastien@ximian.com>
5588 * Environment.cs: Bumped mono_corlib_version to 25.
5590 2004-09-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5592 * AppDomain.cs: added SetupInformationNoCopy property, since
5593 SetupInformation creates a copy now, all updates to it should use the
5594 actual data. Fixes bug #61991 take 2.
5596 2004-09-09 Tim Coleman <tim@timcoleman.com>
5597 * Base64FormattingOptions.cs: New enum
5598 * Convert.cs: Add new ToBase64String methods for Fx 2.0
5600 2004-09-08 Marek Safar <marek.safar@seznam.cz>
5603 * GC.cs: Class is static for NET_2_0.
5605 2004-09-07 Ben Maurer <bmaurer@users.sourceforge.net>
5607 * Activator.cs: Make sure not to call .GetType on a
5608 null argument. fixes 63852
5610 2004-09-06 Ben Maurer <bmaurer@users.sourceforge.net>
5612 * Array.cs (Clear): make this an icall.
5614 2004-09-05 Ben Maurer <bmaurer@users.sourceforge.net>
5616 * MonoCustomAttribute.cs: Avoid the call to GetBase when possible.
5618 2004-09-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5620 * Environment.cs: (ExpandEnvironmentVariables) don't nullify the case
5621 insensitive enironment variables hashtable once we create it.
5623 2004-09-04 Sebastien Pouliot <sebastien@ximian.com>
5625 * AppDomain.cs: Changed 2 imperative security demands to declarative
5626 (unsupported) so it doesn't (for now) call the security runtime.
5628 2004-09-02 Zoltan Varga <vargaz@freemail.hu>
5630 * Delegate.cs: Free the delegate trampoline in the finalizer.
5632 2004-08-26 Sebastien Pouliot <sebastien@ximian.com>
5634 * ApplicationId.cs: Completed GetHashCode using information from MS
5637 2004-08-23 Sebastien Pouliot <sebastien@ximian.com>
5639 * Boolean.cs: Added TryParse static method for NET_2_0 profile.
5641 2004-08-19 Atsushi Enomoto <atsushi@ximian.com>
5643 * DateTime.cs : When hour format is "hh", MS.NET (maybe incorrectly)
5644 allows 12, that should not be accepted (13 is rejected) and
5645 interpreted as 0. This fixes bug 63376.
5647 2004-08-17 Sebastien Pouliot <sebastien@ximian.com>
5649 * Version.cs: Fixed Clone so we can use it on versions with only
5650 major/minor or major/minor/build.
5652 2004-08-17 Martin Baulig <martin@ximian.com>
5654 * MonoType.cs (MonoType.getFullName): Added `bool full_name'
5655 argument specifying whether or not to include the type arguments.
5656 (MonoType.FullName): Don't include the type arguments.
5657 (MonoType.ToString): Include them here.
5659 * Environment.cs: Bumped mono_corlib_version to 24.
5661 2004-08-16 Duncan Mak <duncan@ximian.com>
5663 * AttributeUsageAttribute.cs: Change the AttributeUsage to
5664 AttributeTargets.Class, from AttributeTargets.All, fixes Zoltan's
5667 2004-08-11 Marek Safar <marek.safar@seznam.cz>
5669 * AppDomain.cs: Fixed typo of DefineDynamicAssembly argument.
5670 Added call to AddPermissionRequests to pass permissions
5672 * Environment.cs: Added a few Fx 2.0 methods
5674 2004-08-09 Sebastien Pouliot <sebastien@ximian.com>
5676 * ApplicationId.cs: Fixed typo to fix NET_2_0 compilation.
5677 * AppDomain.cs: Fixed use of Evidence and AppDomainSetup (copies, not
5678 references). Added (non-obsolete) Fx 2.0 properties and methods.
5679 * AppDomainSetup.cs: Added internal copy constructor.
5680 * DomainManagerInitializationFlags.cs: Fixed values.
5682 2004-08-08 Sebastien Pouliot <sebastien@ximian.com>
5684 * AppDomainInitializer.cs: New Fx 2.0 class for AppDomain.
5685 * AppDomainManager.cs: New Fx 2.0 class for AppDomain.
5686 * ApplicationActivator.cs: New Fx 2.0 class for AppDomain.
5687 * ApplicationId.cs: New Fx 2.0 class.
5688 * ApplicationIdentity.cs: Fixed ToString.
5689 * DomainManagerInitializationFlags.cs: New Fx 2.0 flags for AppDomain.
5691 2004-08-05 Sebastien Pouliot <sebastien@ximian.com>
5693 * AppDomain.cs: Added a new icall, getDomainByID, to get the an
5694 AppDomain using it's Id. Completed SetAppDomainPolicy.
5695 * Environment.cs: Bumped mono_corlib_version to 23.
5697 2004-08-02 Martin Baulig <martin@ximian.com>
5699 * DateTime.cs, TimeSpan.cs, Guid.cs, Version.cs: Implement IComparable<T>.
5701 2004-07-29 Atsushi Enomoto <atsushi@ximian.com>
5703 * Environment.cs : GacPath on windows is based on mscorlib.dll, and
5704 now its location is changed.
5706 2004-07-21 Lluis Sanchez Gual <lluis@novell.com>
5708 * Environment.cs: Return the MS.NET 2.0 beta1 runtime version for the
5711 2004-07-18 Martin Baulig <martin@ximian.com>
5713 * Array.cs: Ben Maurer implemented all the new generic methods
5716 2004-07-17 Martin Baulig <martin@ximian.com>
5718 * Decimal.cs: Implement IComparable<Decimal>.
5720 2004-07-17 Martin Baulig <martin@ximian.com>
5722 * Byte.cs, Int16.cs, Int32.cs, Int64.cs, SByte.cs, String.cs,
5723 UInt16.cs, UInt32.cs, UInt64.cs: Implement IComparable<T>.
5725 2004-07-13 Sebastien Pouliot <sebastien@ximian.com>
5727 * ActivationContext.cs: New class in Fx 2.0. Required for
5728 System.Security.Policy.
5729 * ApplicationIdentity.cs: New class in Fx 2.0. Required for
5730 System.Security.Policy.
5731 * IApplicationDescription.cs: New interface in Fx 2.0. Required for
5732 System.Security.Policy.
5733 * IHostContext.cs: New interface in Fx 2.0. Required for
5734 System.Security.Policy.
5736 2004-07-12 Geoff Norton <gnorton@customerdna.com>
5738 * DateTime.cs: Patch for bug #61112. Our DateTime wasn't roundtripping over timezone
5739 boundaries properly. This patch checkes ToLocalTime() to see if we're tripping over a boundary
5740 and will add/subtract the hour if needed
5742 2004-07-07 Geoff Norton <gnorton@customerdna.com>
5744 * Monotype.cs: Patch for bug #58844. Dont throw exceptions right away;
5745 pass through all the possibly BindingInfo's and keep a bool value as to the type
5746 of exception we might need to throw;
5748 2004-07-07 Geoff Norton <gnorton@customerdna.com>
5750 * Patch to fix bug #58973
5752 2004-07-02 Jackson Harper <jackson@ximian.com>
5754 * PlatformID.cs: New 2.0 values.
5756 2004-06-25 Ben Maurer <bmaurer@ximian.com>
5758 * Environment.cs: GetFolderPath has new behavior. r=miguel
5760 2004-06-23 Sebastien Pouliot <sebastien@ximian.com>
5762 * DateTime.cs: Throw ArgumentOutOfRangeException if the year is
5763 bigger than 9999. Fix bug #41845.
5764 * FloatingPointFormatter.cs: Applied correction from Jon Skeet on
5765 the "R"eversible format for negative numbers.
5767 2004-06-21 Jackson Harper <jackson@ximian.com>
5769 * Decimal.cs: Make sure to use invariant culture when parsing
5770 floats stringified with the invariant culture. Patch by Rodrigo
5773 2004-06-19 Atsushi Enomoto <atsushi@ximian.com>
5775 * FloatingPointFormatter.cs : Literal string should be kept in the
5778 2004-06-18 Atsushi Enomoto <atsushi@ximian.com>
5780 * DateTime.cs : Concatenating whitespace removal was not working fine.
5781 Modified FormatException message (1 cent kindness).
5783 2004-06-18 Ben Maurer <bmaurer@ximian.com>
5785 * Action.cs, ArraySegment.cs, Comparison.cs, Converter.cs, Predicate.cs:
5786 new generics classes
5787 * IComparable.cs: add the new <T> version.
5788 * EventHandler.cs: new <T> version.
5790 2004-06-18 Dick Porter <dick@ximian.com>
5792 * String.cs: The icall can cope with embedded \0 now.
5794 2004-06-18 Atsushi Enomoto <atsushi@ximian.com>
5797 - Added new common pattern "yyyy/M/dZ"
5798 - empty string should not be compared in _ParseEnum()
5799 - Use culture independent string comparison in _ParseString()
5800 - Whitespace removal should be checked after '..' token check (some
5801 pattern such like es-ES LongDatePattern contains spaces in '..').
5802 - formats null check should be done (to throw ArgumentNullException)
5804 - When specified one character format, dates are incorrectly regarded
5805 as to use invariant culture.
5807 2004-06-18 Gert Driesen <drieseng@users.sourceforge.net>
5809 * ArgIterator.cs: changed layout to Auto
5810 * DateTime.cs: changed layout to Auto
5812 2004-06-18 Gert Driesen <drieseng@users.sourceforge.net>
5814 * DateTime.cs: CRLF to LF
5816 2004-06-17 Sebastien Pouliot <sebastien@ximian.com>
5818 * Decimal.cs: Fixed regression in System.Data caused by the recent
5819 changes. Adapted (and moved) the code to correct the scale from
5820 SqlMoney. Removed unused (and unusable) IsOne and fixed IsZero (where
5821 scale has no importance).
5823 2004-06-17 Lluis Sanchez Gual <lluis@ximian.com>
5825 * Activator.cs: In CreateInstance(), use Public|Instance if access binding
5826 attributes are omitted.
5828 2004-06-17 Atsushi Enomoto <atsushi@ximian.com>
5830 * DateTime.cs : GetDateTimeFormats(char, IFormatProvider) should also
5831 check if the format character is valid.
5833 2004-06-17 Atsushi Enomoto <atsushi@ximian.com>
5835 * DateTime.cs : AddDays(double) rounds the input.
5837 2004-06-17 Atsushi Enomoto <atsushi@ximian.com>
5839 * DateTime.cs : Incorrect maxvalue comparison in ToUniversalTime().
5840 Fixed ToLocalTime() as well, but it does check range for MinValue.
5842 2004-06-17 Atsushi Enomoto <atsushi@ximian.com>
5844 * DateTime.cs : Added overflow check in ToUniversalTime() and
5845 ToLocalTime(). Fixed bug #60253.
5847 2004-06-16 Sebastien Pouliot <sebastien@ximian.com>
5849 * FloatingPointFormatter.cs: Implemented "R" format using Jon Skeet
5850 source code (with permission). Fix (biggest) part of bug #60110.
5851 http://www.yoda.arachsys.com/csharp/floatingpoint.html
5853 2004-06-15 Sebastien Pouliot <sebastien@ximian.com>
5855 * Decimal.cs: Fixed scale after Round (a different scale is correct
5856 from a math point of view but affect the string representation of the
5857 value). Note: other operations also have scale problems!
5858 * DecimalFormatter.cs: Fixed FormatGeneral to match Fx 1.1 output.
5859 * FloatingPointFormatter.cs: Fixed ToString which doesn't use banker's
5860 rounding (which is the rounding provided by Math.Round). This fix bug
5861 #60111. The code (new Round methods) should be moved elsewhere (as it
5862 may also be required elsewhere) post Mono 1.0.
5864 2004-06-15 Gert Driesen <drieseng@users.sourceforge.net>
5866 * AppDomainSetup.cs: added TODO for serialization
5867 * ExecutionEngineException.cs: added missing serialization ctor
5868 * InvalidProgramException.cs: added missing serialization ctor
5869 * MulticastNotSupportedException.cs: added missing serialization ctor
5870 * ObsoleteAttribute.cs: fixed serialization compatibility with MS.NET
5871 * Random.cs: fixed serialization compatibility with MS.NET
5873 2004-06-15 Paolo Molaro <lupus@ximian.com>
5875 * Type.cs: removed unused (and non-existing) icall type_is_instance.
5877 2004-06-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5879 * Environment.cs: use internalGetHome instead of getting "HOME" as
5880 that variable may not be defined.
5882 2004-06-14 Sebastien Pouliot <sebastien@ximian.com>
5884 * TimeSpan.cs: Fixed timespan with large values for hours or minutes
5885 (overflow is only checked for days but can also occurs in hours and
5886 minutes which uses Int32 when multiplying). The new results match MS
5889 2004-06-14 Atsushi Enomoto <atsushi@ximian.com>
5891 * FloatingPointFormatter.cs : Recognize '%' and '\u2030' and replace
5892 them with matching NumberFormatInfo properties.
5894 2004-06-14 Atsushi Enomoto <atsushi@ximian.com>
5896 * Double.cs : Use IFormatProvider.GetFormat() instead of literal '-'.
5897 * FloatingPointFormatter.cs :
5898 Use NumberFormatInfo.NegativeSign. This change saves many XSLT test
5900 Format Permille pattern (It is undocumented but actually available,
5901 and used in xsl:format-number).
5903 2004-06-14 Raja R Harinath <rharinath@novell.com>
5905 * Console.cs (Console.Write, Console.WriteLine): Disable __arglist
5906 version with BOOTSTRAP_WITH_OLDLIB.
5907 * String.cs (STring.Concat): Likewise.
5909 2004-06-13 Atsushi Enomoto <atsushi@ximian.com>
5911 * FloatingPointFormatter.cs :
5912 - Don't format more than 15 fraction digits. Don't report to Pedro
5913 directly (removing the error message with his concent).
5914 - When format string starts with '.', it means integral part format
5915 is not specified. Ignore '.' characters after the first
5916 appearance. Fixed bug #59890.
5917 - 0.0 is formatted only before the third ';' appearance.
5919 2004-06-11 Sebastien Pouliot <sebastien@ximian.com>
5921 * DateTime.cs: Added a AddRoundedMilliseconds which use the "old Mono"
5922 rounding logic which worked for FromOADate (while the newer didn't).
5923 * TimeSpan.cs: Now throw an OverflowException when the timespan is
5924 over MaxValue or under MinValue.
5926 2004-06-11 Martin Baulig <martin@ximian.com>
5928 * Console.cs (Write, WriteLine): Implemented the varargs versions.
5930 2004-06-11 Martin Baulig <martin@ximian.com>
5932 * String.cs (Concat): Implemented the varargs version.
5934 2004-06-10 Sebastien Pouliot <sebastien@ximian.com>
5936 * Decimal.cs: Hacked the Parse method to allow the runtime C code to
5937 decode it properly (i.e. matching MS results). Fixed the Round method
5938 for negative decimal numbers (moved code from Math.cs).
5939 * Math.cs: Now use Decimal class for Round(Decimal,int). Required to
5940 fix a bug when rounding a negative decimal.
5942 2004-06-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5944 * AppDomain.cs: set the _principal to null when changing the policy.
5945 * Console.cs: remove ClsCompliant attribute from a method marked as
5946 internal and added comment.
5948 2004-06-10 Gert Driesen <drieseng@users.sourceforge.net>
5950 * Delegate.cs: marked protected fields private to match public
5951 API of MS.NET, marked DynamicInvokeImpl and GetMethodImpl
5952 protected to fix public API
5953 * Enum.cs: marked ctor protected to match public API of MS.NET
5954 * MulticastDelegate.cs: marked DynamicInvokeImpl protected to
5955 match public API of MS.NET
5957 2004-06-10 Atsushi Enomoto <atsushi@ximian.com>
5959 * DateTime.cs : Added more common patterns.
5961 2004-06-09 Sebastien Pouliot <sebastien@ximian.com>
5963 * Decimal.cs: Fixed banker rounding by calling Math.Round. This won't
5964 be a performance winner (the actual Math code has a note to wait a
5965 better Decimal implementation) but it returns the correct results
5966 (without adding new code in corlib or the runtime). Fix #37744.
5968 2004-06-09 Atsushi Enomoto <atsushi@ximian.com>
5971 - A bunch of fixes (patch by Steven Brown). Fraction seconds are
5972 now represented as double. Strict token check for 'Z'.
5973 - Pattern validity check in GetDateTimeFormats(char).
5974 - Fixed pattern "yyyy/M/d HH:mm:ss".
5976 2004-06-09 Sebastien Pouliot <sebastien@ximian.com>
5978 * Decimal.cs: Fixed remainder (and optimized some cases not to call
5979 unmanaged code). Simplified divide. Removed workaround for bug #59793.
5980 Fixed GetHashCode to return different result for X and -X.
5982 2004-06-08 Atsushi Enomoto <atsushi@ximian.com>
5985 - Now re-checked all common format patterns. They should be tried
5986 with both current culture and invariant culture. Since '/' covers
5987 '-', removed extraneous patterns. Added more common patterns
5988 such as "yyyy-MM-dd" and X509Certificate pattern (it is valid
5989 only after NET_1_1). Commented out 1 character format patterns.
5990 - The format patterns we should try should not be obtained by
5991 GetAllDateTimePatterns(). Just use 'd', 'D', 't', 'T', ... (one
5992 character patterns), to handle UTC correctly. Examined patterns
5993 are changed, to 1) common patterns with specified (or current)
5994 culture, 2) common patterns with invariant, 3) The above "one
5995 character patterns" with specified (or current) culture.
5996 - When trying to parse some kind of patterns such as RFC1123,
5997 always use invariant DateTimeFormatInfo so that they can avoid
5998 parsing with culture-dependent calendar.
5999 - Check "GMT" only when doing Parse(). Don't it when ParseExact().
6000 - Removed extraneous '-' case. It is not special one.
6001 - When ParseExact(), allow only '/' for '/' pattern character.
6002 - When Parse(), allow any non-letter & non-number characters.
6003 - When pattern is not fully parsed, reject that format.
6004 - Added "exact" parameter to some ParseExact().
6005 - RFC1123 pattern is (again) now parsed in local time. I regressed
6006 some problems in previous fix.
6008 2004-06-08 Sebastien Pouliot <sebastien@ximian.com>
6010 * Decimal.cs: Fixed cast to integer types to truncate (not round) the
6013 2004-06-07 Duncan Mak <duncan@ximian.com>
6015 * Exception.cs (Source): This can return null.
6017 2004-06-07 Sebastien Pouliot <sebastien@ximian.com>
6019 * DateTime.cs: Fixed FromFileTime for negative values. Fixed
6020 constructor to limit range of milliseconds from 0,999. Fixed
6021 ToType method to work for object, string and DateTime.
6023 2004-06-07 Sebastien Pouliot <sebastien@ximian.com>
6025 * DateTime.cs: Fixed OLE Automation date conversions: timezone
6026 insensitive, wrong exception in FromOADate, handling of Min/Max
6027 values, negative doubles where integer part is negative but
6028 decimals are positive! Charming format ;-)
6030 2004-06-06 Sebastien Pouliot <sebastien@ximian.com>
6032 * String.cs: Fixed Join in case separator parameter is null.
6033 * TimeSpan.cs: Cache format errors during parsing and throw
6034 FormatException only if there was no overflow.
6036 2004-06-06 Gert Driesen <drieseng@users.sourceforge.net>
6038 * MonoCustomAttrs.cs: fixed issue where an empty array was
6039 returned when GetCustomAttributes was invoked with null
6040 attribute type and there was only one result
6042 2004-06-06 Sebastien Pouliot <sebastien@ximian.com>
6044 * Decimal.cs: Fixed ToString(String.Empty) to default ("G").
6045 * Int16.cs: Fixed ToString(String.Empty) to default ("G").
6046 * Int32.cs: Fixed ToString(String.Empty) to default ("G").
6047 * Int64.cs: Fixed ToString(String.Empty) to default ("G").
6048 * SByte.cs: Fixed ToString(String.Empty) to default ("G").
6049 * UInt16.cs: Fixed ToString(String.Empty) to default ("G").
6050 * UInt32.cs: Fixed ToString(String.Empty) to default ("G").
6051 * UInt64.cs: Fixed ToString(String.Empty) to default ("G").
6053 2004-06-05 Sebastien Pouliot <sebastien@ximian.com>
6055 * Convert.cs: Fixed the convertion of negative integers (byte, short,
6056 int and long) into string in a specific base (2, 8, 10 or 16).
6058 2004-06-04 Sebastien Pouliot <sebastien@ximian.com>
6060 * Math.cs: Fixed IEEERemainder to return -0 (0x8000000000000000) when
6061 the dividend is negative and the result is 0 (remainder).
6063 2004-06-03 Sebastien Pouliot <sebastien@ximian.com>
6065 * Delegate.cs: Fix the NullReferenceException in Combine(Delegate[]).
6067 2004-06-02 Sebastien Pouliot <sebastien@ximian.com>
6069 * TimeSpan.cs: Fixed overflow issues when delaing with big (days) time
6070 spans. Fixed parsing when only days are presents in the string (which
6071 should be illegal according to the documentation but is supported).
6073 2004-06-01 Sebastien Pouliot <sebastien@ximian.com>
6075 * TimeSpan.cs: Fixed exceptions in FromXXX methods as they are
6076 somewhat different from the documentation.
6078 2004-06-01 Gert Driesen <drieseng@users.sourceforge.net>
6080 * Type.cs: added missing attributes on InvokeMember
6082 2004-06-01 Miguel de Icaza <miguel@ximian.com>
6084 * String.cs: Flag concat with four arguments internal.
6086 2004-05-31 Sebastien Pouliot <sebastien@ximian.com>
6088 * Array.cs: Fixed legal case where value is null.
6089 * Byte.cs: Fixed ToString when format is an empty string (use "G").
6090 * Guid.cs: Renamed private fields (and changed some to signed) to
6091 match MS implementation and allow serialization to work. Fix
6094 2004-05-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6096 * DateTime.cs: adjust milliseconds for fraction specifier ('f').
6098 2004-05-30 Miguel de Icaza <miguel@ximian.com>
6100 * Console.cs: Remove *again* the version of WriteLine with four
6101 arguments; That should *not* be added.
6103 Flag it as internal as people migrate their code.
6105 2004-05-29 Sebastien Pouliot <sebastien@ximian.com>
6107 * Convert.cs: Fixed ToSByte(string,IFormatProvider) to throw
6108 ArgumentNullException (only case, all other returns 0). Fixed exception
6109 reporting for hex prefix only strings. Fixed ChangeTo where null could
6110 be misinterpreted between null and Empty.
6112 2004-05-28 Sebastien Pouliot <sebastien@ximian.com>
6114 * Convert.cs: Fixed integer parsing for special cases (0x, 0X for base
6115 16), non-base 10 negative numbers ... see new unit tests. Fixed the
6116 case when we parse Int64.MinValue (positive doesn't fit a signed long).
6118 2004-05-28 Jackson Harper <jackson@ximian.com>
6120 * Environment.cs: Increment version number.
6122 2004-05-28 Zoltan Varga <vargaz@freemail.hu>
6124 * AppDomain.cs (Load): Try loading from assemblyRef.CodeBase if exists.
6127 2004-05-28 Atsushi Enomoto <atsushi@ximian.com>
6129 * DateTime.cs : I reverted my fix by accident :(
6131 2004-05-28 Atsushi Enomoto <atsushi@ximian.com>
6134 - In ToString(), Don't use culture-dependent daynames to format
6135 Universal/RFC1123 date/time. Also, use FullDateTimePattern for 'U'.
6136 - Fixed GetDateTimeFormats () that generated incorrect 'U' value
6137 (since the format string is the same as 'F').
6139 2004-05-28 Atsushi Enomoto <atsushi@ximian.com>
6141 * DateTime.cs : don't adjust utc value in ToString(). It must output
6142 the same time value, just adding 'Z' for UTC.
6144 2004-05-28 Atsushi Enomoto <atsushi@ximian.com>
6146 * DateTime.cs : in 'Z' case, remove the 'Z' char from input before
6149 2004-05-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6151 * AppDomainSetup.cs: InitAppDomainSetup is not needed now.
6153 2004-05-27 Sebastien Pouliot <sebastien@ximian.com>
6155 * Byte.cs: Fixed parsing for "-0" which is valid for unsigned types.
6156 * Convert.cs: Convert with a base parameter cannot parse negative
6157 string numbers, even "-0".
6158 * UInt16.cs: Fixed parsing for "-0" which is valid for unsigned types.
6159 * UInt32.cs: Fixed parsing for "-0" which is valid for unsigned types.
6160 * UInt64.cs: Fixed parsing for "-0" which is valid for unsigned types.
6162 2004-05-27 Atsushi Enomoto <atsushi@ximian.com>
6165 - Added "yyyy/MM/dd HH:mm:ss 'GMT'" and "yyyy-MM-dd HH:mm:ss 'GMT'"
6166 to common formats (yes, I know it is nothing more than hack)
6167 - Fixed some GetDateTimeFormats() that just returned patterns.
6168 - For InvariantCulture, now try both supported formats and our
6170 - It was accepting incorrectly extraneous characters. That caused
6171 some UTC/non-UTC bug.
6172 - RFC1123 string should return universal time. Uncomment again (the
6173 problem should went away because of the extra characters fix above.
6175 With some of the changes above, fixed bug #47720.
6177 2004-05-27 Atsushi Enomoto <atsushi@ximian.com>
6179 * DateTime.cs : quick revert 'Z' support for certificate verifications.
6181 2004-05-26 Sebastien Pouliot <sebastien@ximian.com>
6183 * Array.cs: Removed duplicate condition if LastIndexOf.
6185 2004-05-26 Atsushi Enomoto <atsushi@ximian.com>
6188 - Added "yyyy-MM-dd HH:mm:ss" to "compatible patterns".
6190 - As a quick remedy to accept more patterns, Parse() now also tries
6191 InvariantInfo patterns (this is because we have no more than one
6192 pattern for each pattern component.)
6193 - In _DoParse(), 'Z' should not be read as timezone specifier. Some
6194 culture uses 'Z' as AM/PM designer, and it should be recognized as
6195 part of the UTCpattern (if it actually UTC pattern for the culture
6198 2004-05-26 Gert Driesen (drieseng@users.sourceforge.net)
6200 * MonoCustomAttrs.cs: Fixed issue with AllowMultiple, as MS
6201 seems to allow multiple attributes with AllowMultiple at
6204 2004-05-26 Sebastien Pouliot <sebastien@ximian.com>
6206 * Byte.cs: Throw an OverflowException for negative numbers.
6207 * Convert.cs: Accept 0x and 0X as prefix when parsing base16 strings.
6208 * Environment.cs: Bumped mono_corlib_version to 20 (rng interface).
6210 2004-05-25 Sebastien Pouliot <sebastien@ximian.com>
6212 * Array.cs: Fixed possible integer overflow.
6213 * BitConverter.cs: Fixed a possible integer overflow in ToString.
6214 * Guid.cs: Added an internal method to create a random Guid without
6215 using CryptoConfig (which is heavy on first use). This is only used
6216 in S.R.E.ModuleBuilder to speedup MCS compilation.
6217 * String.cs: Fixed reported exception for PadLeft|Right. Fixed
6218 possible integer overflow in methods that takes index and count
6221 2004-05-25 Zoltan Varga <vargaz@freemail.hu>
6223 * String.cs: Add new Strcpy icalls which take a char array as
6226 2004-05-25 Atsushi Enomoto <atsushi@ximian.com>
6228 * DateTime.cs : added more invariant format patterns. This should
6229 really fix bug #57656.
6231 2004-05-25 14:14 CET Patrik Torstensson <totte@hiddenpeaks.com>
6233 * BitConverter.cs (ToBoolean): Return true or false instead
6234 of unsafe returing byte as bool. Fixes bug #58874.
6236 2004-05-25 Atsushi Enomoto <atsushi@ximian.com>
6238 * DateTime.cs : In ToString(string, IFormatProvider), use "G" if
6239 string format argument is null.
6241 2004-05-25 Lluis Sanchez Gual <lluis@ximian.com>
6243 * Version.cs: Rename of data fields to match those in Microsoft.NET.
6244 Patch by PAF@design.ru.
6246 2004-05-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6248 * DateTime.cs: allow double quotes in the formats. Don't set
6249 next_not_digit to true in presence of single or double quotes. Patch by
6252 2004-05-24 Zoltan Varga <vargaz@freemail.hu>
6254 * AppDomainSetup.cs (InitAppDomainSetup): This one returns void.
6256 2004-05-23 Sebastien Pouliot <sebastien@ximian.com>
6258 * Array.cs: Fixed exception when we try to Clear outside bounds.
6259 * Boolean.cs: Fixed Equals for True!=True (see bugzilla #58874).
6260 * BitConverter.cs: Fixed negative index and integer overflow in
6262 * Buffer.cs: Fixed integer overflow in BlockCopy.
6264 2004-05-22 Sebastien Pouliot <sebastien@ximian.com>
6266 * Array.cs: Clear can now work on multidimentional arrays.
6267 * IntPtr.cs: We now only accept 32bits values in the long constructor
6268 unless we're on a 64 bits machine.
6269 * UIntPtr.cs: We now only accept 32bits unsigned values in the ulong
6270 constructor unless we're on a 64 bits machine.
6272 2004-05-22 Duncan Mak <duncan@ximian.com>
6274 * Convert.cs: The file was mostly in DOS endings already, for the
6275 sake of consistency, converted it all to DOS endings.
6276 (ToType): When value is null, immediately return null and don't
6277 ever throw a NullReferenceException. When conversionType is null,
6278 throw an InvalidCastException. Give a better error message when
6279 attempting to convert to a DBNull as well.
6281 2004-05-21 Sebastien Pouliot <sebastien@ximian.com>
6283 * Decimal.cs: Fixed To... methods that needs to trunk the integer part
6284 of Decimal (and not use the banker's rounding like Convert.To...).
6285 * Single.cs: Fixed CompareTo and Equals (copied fix from Double) wrt
6286 to NaN compares (see new unit tests).
6288 2004-05-20 Sebastien Pouliot <sebastien@ximian.com>
6290 * Convert.cs: Added checks for integer overflow for From|ToBase64Char.
6291 Also fixed the case where wide (16 bits) characters were converted to
6294 2004-05-19 Gert Driesen (drieseng@users.sourceforge.net)
6296 * ThreadStaticAttribute.cs
6297 * ContextStaticAttribute.cs
6299 * ObsoleteAttribute.cs : now that Inherited is false by
6300 default on AttributeUsageAttribute (as it should be) we
6301 need to explicitly set Inherited to false for those
6302 attributes should it be be false.
6304 2004-05-19 Gert Driesen (drieseng@users.sourceforge.net)
6306 * AttributeUsageAttribute.cs: Inherited property should be
6307 true by defaultrs.cs: respect Inherited property, and
6309 2004-05-19 Gert Driesen (drieseng@users.sourceforge.net)
6311 * MonoCustomAttrs.cs: respect Inherited property, and
6312 AllowMultiple property of a CustomAttribute. This fixes
6313 a major issue we had with respect to custom attributes.
6315 2004-05-19 Gert Driesen (drieseng@users.sourceforge.net)
6317 * MonoType.cs: throw ArgumentNullException when type parameter in
6318 GetCustomAttributes(Type, bool) is null
6320 2004-05-18 Sebastien Pouliot <sebastien@ximian.com>
6322 * Buffer.cs: Added checks for null source and destination. Fix failing
6323 CryptoStream unit test.
6324 * Guid.cs: Fixed thread-safety issue. Simplified implementation to use
6325 pseudo-random numbers to generate GUIDs (as per section 3.4 of the
6326 spec). This removes the TODO to get the computer MAC address and
6327 the chances to get a duplicate GUID (across different machines).
6329 2004-05-17 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
6331 * TimeSpan.cs: Only catch expected exceptions, if we get other exceptions
6332 than OverflowExceptions then something went wrong internally
6334 2004-05-17 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
6336 * Char.cs: Fix long standing bug with ToLower/ToUpper not being
6339 2004-05-14 Zoltan Varga <vargaz@freemail.hu>
6341 * Buffer.cs: Optimize BlockCopy.
6343 * Environment.cs: Bump corlib version.
6345 2004-05-14 Atsushi Enomoto <atsushi@ximian.com>
6347 * __ComObject.cs : This class is not regarded as CLSCompliant by csc.
6348 See also bug #58478.
6350 2004-05-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6352 * AppDomainSetup.cs: don't throw an exception if dynamic_base has not
6353 been set. Just return null as MS. Fixes bug #58120.
6355 2004-05-14 Marek Safar <marek.safar@seznam.cz>
6357 * Boolean.cs, Byte.cs, Char.cs, DBNull.cs, DateTime.cs,
6358 Decimal.cs, Double.cs, Enum.cs, Int16.cs, Int32.cs,
6359 Int64.cs, IntegerFormatter.cs, SByte.cs, Single.cs,
6360 String.cs, UInt16.cs, UInt32.cs, UInt64.cs: Removed
6361 useless [CLSCompliant (false)]
6364 2004-05-13 Sebastien Pouliot <sebastien@ximian.com>
6366 * __ComObject.cs: To please corcompare (no implementation).
6368 2004-05-13 Zoltan Varga <vargaz@freemail.hu>
6370 * Environment.cs: Bump corlib version.
6372 2004-05-13 Sebastien Pouliot <sebastien@ximian.com>
6374 * Environement.cs: Removed two security attributes for CurrentDirectory
6375 that weren't documented (and anyway we don't support them).
6377 2004-05-11 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
6379 * Char.cs: Fix exceptions
6381 2004-05-11 Lluis Sanchez Gual <lluis@ximian.com>
6383 * MissingMemberException.cs: Fix in serialization constructor.
6385 2004-05-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6387 * Environment.cs: GetGacPath return value is resolved at runtime on
6390 2004-05-07 Sebastien Pouliot <sebastien@ximian.com>
6392 * Convert.cs: ToBase64CharArray method was depending on a bug in
6393 S.S.C.ToBase64Transform class to work. Added an internal method to
6394 provide the same functionality (multiple block processing).
6396 2004-05-06 Jackson Harper <jackson@ximian.com>
6398 * Environment.cs: Make $HOME the personal directory.
6400 2004-05-06 Sebastien Pouliot <sebastien@ximian.com>
6402 * Convert.cs: ToBase64String method was depending on a bug in
6403 S.S.C.ToBase64Transform class to work. Added an internal method to
6404 provide the same functionality (multiple block processing).
6406 2004-05-05 Sebastien Pouliot <sebastien@ximian.com>
6408 * Environment.cs: Completed OSVersion property.
6409 * Version.cs: Added internal CreateFromString() to "try" to build the
6410 best version number form the specified string.
6412 2004-05-01 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
6414 * TimeSpan.cs: Redid a lot of stuff in TimeSpan from scratch.
6415 Fixes several potential bugs and makes things way faster.
6417 2004-05-01 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
6419 * TimeSpan.cs: Formatting changes
6421 2004-04-29 Ben Maurer <bmaurer@users.sourceforge.net>
6423 * Activator.cs: change _flags to a const.
6424 * IntegerFormatter.cs: make tables readonly.
6425 * Convert.cs: tables readonly
6426 * DateTime.cs: ditto.
6427 * IntPtr.cs: avoid a cctor.
6429 2004-04-29 Jackson Harper <jackson@ximian.com>
6432 * Type.cs: NET_2_0 now instead of 1_2.
6434 2004-04-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6436 * Environment.cs: implemented GetLogicalDrives.
6438 2004-04-28 Miguel de Icaza <miguel@ximian.com>
6440 * Applied patch from Atsushi Enomoto that allows Synchronized
6441 writers to have a `dont close' flag, this fixes 52094
6443 2004-04-29 Lluis Sanchez Gual <lluis@ximian.com>
6445 * MonoCustomAttrs.cs, MonoType.cs: Property.GetGetMethod() does not
6446 return the method if it is private (it did until now because of a
6447 bug). Make sure it works as it worked before the fix.
6448 * Type.cs: Implemented FilterAttribute delegate.
6450 2004-04-28 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
6452 * IntegerFormatter.cs: Prevent the use of the explicit static constuctor
6454 2004-04-27 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
6456 * IntegerFormatter.cs: Made functions internal (needed by other patches)
6458 2004-04-27 Lluis Sanchez Gual <lluis@ximian.com>
6460 * DateTime.cs: TODO cleaning.
6461 * Delegate.cs: GetObjectData should be virtual.
6462 * IntegerFormatter.cs: Method factorization. I don't want to fix bugs in
6463 30 methods almost identical.
6464 * MulticastDelegate.cs: Implemented GetObjectData.
6466 2004-04-26 Jackson Harper <jackson@ximian.com>
6468 * Environment.cs: Things going bump in the night.
6470 2004-04-25 Miguel de Icaza <miguel@ximian.com>
6472 * Convert.cs (toBase64Transform): Make private.
6474 2004-04-25 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
6478 * DecimalFormatter.cs:
6479 * FloatingPointFormatter.cs: Call invariant Char functions
6480 * Guid.cs: Call invariant Char and String functions
6481 * String.cs: Call invariant Char functions
6483 2004-04-25 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
6485 * String.cs: Refactored the Invariant ToXXX into its own internal methods
6486 so they are directly callable within corlib (can prevent early
6487 construction of CultureInfo, InvariantCulture and related classes)
6489 2004-04-24 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
6491 * String.cs: Managed impl. of Invariant parts of ToLower, ToUpper
6492 * Char.cs: Managed impl. of Invariant parts of ToLower, ToUpper
6494 2004-04-24 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
6496 * String.cs: Check for null values
6498 2004-04-23 Peter Bartok <pbartok@novell.com>
6500 * Environment.cs: GetLogicalDrives now returns "/" instead of null. Gonzalo
6501 will do a better fix in the future, but this way apps can at least use it.
6503 2004-04-23 Sebastien Pouliot <sebastien@ximian.com>
6505 * Environment.cs: Better support for GetFolderPath (same results as MS
6508 2004-04-22 Lluis Sanchez Gual <lluis@ximian.com>
6510 * Activator.cs: Removed TODOs for finished methods.
6511 * AppDomainSetup.cs: When setting a relative path to ApplicationBase, it
6512 must be relative to the current directory, not the temp directory.
6513 Implemented DynamicBase.
6514 * Convert.cs: No need to create a ToBase64Transform instance at every call
6515 to ToBase64CharArray.
6516 * DateTime.cs: Implemented missing methods FromFileTimeUtc and
6518 * Decimal.cs: Implemented FromOACurrency and ToOACurrency.
6519 * Delegate.cs: Removed class TODO.
6520 * IntegerFormatter.cs: Use Char.IsLetter and Char.IsDigit instead of ad-hoc
6522 * Type.cs: Removed TODOs for things already implemented.
6524 2004-04-21 Lluis Sanchez Gual <lluis@ximian.com>
6526 * Char.cs: Implemented culture-dependent ToLower and ToUpper methods.
6527 * MulticastDelegate.cs: Removed unused code.
6529 2004-04-19 Lluis Sanchez Gual <lluis@ximian.com>
6531 * AppDomain.cs: Implemented DynamicDirectory and SetDynamicBase.
6532 * Array.cs: Removed some TODOs in CreateInstance and IndexOf.
6533 * BadImageFormatException.cs: TODO reformat.
6534 * DateTime.cs: Implemented GetDateTimeFormats and GetDateTimeFormats.
6535 * DelegateSerializationHolder.cs: Made class internal.
6536 * Enum.cs: Removed TODO for localization, since this is something that has
6537 to be done for all classes.
6538 * Environment.cs: Removed TODO.
6539 * Exception.cs: Changed ToString to use StringBuilder.
6540 * MonoDummy.cs: Made class internal.
6541 * UnitySerializationHolder.cs: Added support for modules.
6543 2004-04-16 David Sheldon <dave-mono@earth.li>
6545 * DecimalFormatter.cs: Don't append a decimal point after the
6546 end of a number. ((decimal)1).ToString("P0") should be "100 %", not
6549 2004-04-09 Miguel de Icaza <miguel@ximian.com>
6551 * OutOfMemoryException.cs: Removed the call to Locale.GetText from
6554 2004-04-10 Gert Driesen (drieseng@users.sourceforge.net)
6556 * MonoDummy.cs: added MonoTODO to make sure we remove this class
6557 when its no longer needed
6559 2004-04-09 David Sheldon <dave-mono@earth.li>
6561 * Convert.cs: Allow + signs in strings for ToInt32, and
6564 2004-04-08 Atsushi Enomoto <atsushi@ximian.com>
6566 * Nullable.cs : usingdecl should also be conditional.
6568 2004-04-07 Martin Baulig <martin@ximian.com>
6570 * Nullable.cs: New file.
6572 2004-04-07 Martin Baulig <martin@ximian.com>
6574 * Type.cs (Type.GetGenericArguments): Make this abstract.
6576 2004-04-07 Jackson Harper <jackson@ximian.com>
6578 * Environment.cs: Increase corlib version number.
6580 2004-04-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6583 (ExpandEnvironmentVariables): on windows, env. vars. are case
6586 2004-04-06 Sebastien Pouliot <sebastien@ximian.com>
6588 * AppDomain.cs: Added static to [ThreadStatic] _principal field.
6589 Removed [ThreadStatic] for _principalPolicy (not required).
6591 2004-04-06 Miguel de Icaza <miguel@ximian.com>
6593 * Guid.cs: Flag as Sequential.
6595 2004-04-02 Dick Porter <dick@ximian.com>
6597 * String.cs: More sanity checks in Replace(). Fixes bug 55822.
6599 2004-04-02 Sebastien Pouliot <sebastien@ximian.com>
6601 * Environment.cs: Implement ExpandEnvironmentVariables static method.
6602 Now call the runtime to get the username (fix #56144).
6604 2004-04-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6606 * MonoType.cs: AssemblyQualifiedName now displays culture, version...
6609 2004-03-29 Miguel de Icaza <miguel@ximian.com>
6611 * Console.cs: If we fail to open stdin/stdout/stderr, create
6612 readers with a NullStream. This can happen if our caller does not
6613 setup stdin/stoud/stderr file handles. #56158 exposed this, but
6614 it will happen elsewhere.
6616 2004-03-29 Lluis Sanchez Gual <lluis@ximian.com>
6618 * Convert.cs: In ToSingle(double), removed checks for Single.MaxValue
6619 and Single.MinValue. MS.NET don't do it. This fixes bug #56005.
6620 * Guid.cs: Added support for guid strings in the "N" and "P" formats in
6621 the constructor. This fixes bug #54019.
6623 2004-03-23 Lluis Sanchez Gual <lluis@ximian.com>
6625 * FloatingPointFormatter.cs: Made the class thread safe. Had to move some
6626 internal variables to structures that are moved around methods.
6627 Factorized some common formatting code into FormatNumberInternal.
6629 2004-03-23 Dick Porter <dick@ximian.com>
6631 * DateTime.cs: Allow any character for DateSeparator when parsing,
6632 except TimeSeparator, a digit or a letter. Fixes bug 54047. Also
6633 deleted the previous fix for 54721, because this covers it too.
6635 2004-03-23 Dick Porter <dick@ximian.com>
6637 * DateTime.cs: Check the date string for too many digits when
6638 parsing. Fixes bugs 53023 and 53025.
6640 2004-03-22 Dick Porter <dick@ximian.com>
6642 * String.cs: Use the provider when converting strings to other
6645 * DateTime.cs: Add MM-dd-yyyy to the list of standard date parsing
6646 formats. Fixes bug 54721.
6648 2004-03-22 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
6650 * Console.cs: Styled, optimized calls
6651 * CrossAppDomainDelegate.cs: Small header fix
6652 * Buffer.cs: Style, improve errors
6653 * BitConverter.cs: Style, improve errors, remove obsolete comment
6654 * Attribute.cs: Style, improve errors, small fix
6655 * Array.cs: Style, improve errors, small fix, added TODOs
6656 * Activator.cs: Style, localized errors, added error checks
6657 * Byte.cs: Style, localized errors, fixed wrong exception parameters
6660 * AppDomainSetup.cs: Style
6661 * AppDomain.cs: Style, implemented two methods (redirect)
6663 2004-03-21 Jackson Harper <jackson@ximian.com>
6665 * FloatingPointFormatter.cs: Set precision from number format info
6666 when it is not specified. This fixes bug #54983.
6668 2004-03-18 Nick Drochak <ndrochak@ieee.org>
6670 * Math.cs: Use IsNaN() method not "x == NaN".
6672 2004-03-16 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
6674 * EntryPointNotFoundException.cs
6675 * DuplicateWaitObjectException.cs
6676 * DllNotFoundException.cs
6677 * DivideByZeroException.cs
6678 * ContextMarshalException.cs
6679 * CannotUnloadAppDomainException.cs
6680 * BadImageFormatException.cs
6681 * ArrayTypeMismatchException.cs
6682 * ArithmeticException.cs
6683 * ArgumentOutOfRangeException.cs
6684 * ArgumentNullException.cs
6685 * ArgumentException.cs
6686 * ApplicationException.cs
6687 * AppDomainUnloadedException.cs: Added missing HResult overrides
6689 * BadImageFormatException.cs: Improved/ Fixed implementation
6691 2004-03-15 Sebastien Pouliot <sebastien@ximian.com>
6693 * Random.cs: Corrected random value when Next is called with a
6694 negative value. Testing indictae that our results aren't exactly the
6695 same as MS, we have a +/- 1 (probably rounding errors due to
6696 different implementation).
6698 2004-03-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6700 * Environment.cs: updated corlib version.
6702 2004-03-15 Lluis Sanchez Gual <lluis@ximian.com>
6704 * Boolean.cs, Byte.cs, Char.cs, Double.cs, Int16.cs, Int32.cs, Int64.cs,
6705 SByte.cs, Single.cs, UInt16.cs, UInt32.cs, UInt64.cs: Renamed internal
6706 field "value" to "m_value", so it is interoperable with MS.NET when
6707 serializing and deserializing data. Based on the patch from Daniel
6710 2004-03-14 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
6712 * TypeInitializationException.cs
6713 * SystemException.cs
6714 * StackOverflowException.cs
6716 * OverflowExceptionException.cs
6717 * OutOfMemoryException.cs
6718 * NullReferenceException.cs
6719 * NotSupportedException.cs
6720 * NotFiniteNumberException.cs
6721 * InvalidOperationException.cs
6722 * InvalidCastException.cs
6723 * IndexOutOfRangeException.cs
6724 * FormatException.cs
6725 * ExecutionEngineException.cs: improved parameter names
6727 2004-03-13 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
6730 * EntryPointNotFoundException.cs
6731 * DuplicateWaitObjectException.cs
6732 * DoubleFormatter.cs
6733 * DllNotFoundException.cs
6734 * DivideByZeroException.cs
6735 * DelegateSerializationHolder.cs
6738 * ContextStaticAttribute.cs
6739 * ContextMarshalException.cs
6740 * ContextBoundObject.cs
6741 * CLSCompliantAttribute.cs
6743 * CannotUnloadAppDomainException.cs
6744 * BadImageFormatException.cs
6745 * AttributeUsageAttribute.cs
6746 * AttributeTargets.cs
6748 * AssemblyLoadEventHandler.cs
6749 * AssemblyLoadEventArgs.cs
6750 * ArrayTypeMismatchException.cs
6751 * ArithmeticException.cs
6752 * ArgumentOutOfRangeException.cs
6753 * ArgumentNullException.cs
6754 * ArgumentException.cs
6756 * ApplicationException.cs
6757 * AppDomainUnloadedException.cs
6758 * AppDomain.cs: Mono styled, fixed exceptions/ locales
6759 removed excess usings
6761 2004-03-10 Sebastien Pouliot <sebastien@ximian.com>
6763 * Convert.cs: FromBase64 now ignore some characters (tab, LF, CR and
6764 spaces) which fixed #54939. Changed the way that the length is
6765 validated (multiple of 4) because the ignored characters must not be
6766 included in the count.
6768 2004-03-10 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
6770 * String.cs: Monostyled
6772 2004-03-09 Jackson Harper <jackson@ximian.com>
6774 * Char.cs: Only use a byte for numeric data.
6776 2004-03-09 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
6778 * TypedReference.cs: Added missing Attributes
6779 * ParamArrayAttribute.cs: Small style fix
6780 * OperatingSystem.cs: Added .Net 1.1 member
6782 2004-03-09 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
6784 * FieldAccessException.cs
6785 * FormatException.cs
6786 * InvalidCastException.cs
6787 * InvalidOperationException.cs
6788 * MemberAccessException.cs
6789 * MethodAccessException.cs
6790 * MissingFieldException.cs: Locale strings
6791 * MissingMemberException.cs: Locale strings
6792 * MissingMethodException.cs: Locale strings
6793 * NotFiniteNumberException.cs
6794 * NotImplementedException.cs
6795 * NotSupportedException.cs
6796 * NullReferenceException.cs
6797 * ObjectDisposedException.cs
6798 * OutOfMemoryException.cs
6799 * OverflowExceptionException.cs
6800 * PlatformNotSupportedException.cs
6801 * RankException.cs: Added missing HResult overrides
6803 2004-03-09 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
6805 * RuntimeTypeHandle.cs
6806 * RuntimeMethodHandle.cs
6807 * RuntimeFieldHandle.cs: Implemented serialization (partially untested)
6809 2004-03-09 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
6813 * ExecutionEngineException.cs
6814 * FieldAccessException.cs
6815 * FormatException.cs
6818 * IndexOutOfRangeException.cs
6820 * InvalidCastException.cs
6821 * InvalidOperationException.cs
6822 * InvalidProgramException.cs
6823 * IServiceProvider.cs
6824 * LoaderOptimization.cs
6825 * LoaderOptimizationAttribute.cs
6826 * MarshalByRefObject.cs
6828 * MemberAccessException.cs
6829 * MethodAccessException.cs
6830 * MissingFieldException.cs
6831 * MissingMemberException.cs
6832 * MissingMethodException.cs
6833 * MultiCastDelegate.cs
6834 * MulticastNotSupportedException.cs
6835 * NonSerializedAttribute.cs
6836 * NotFiniteNumberException.cs
6837 * NotImplementedException.cs
6838 * NotSupportedException.cs
6839 * NullReferenceException.cs
6840 * ObjectDisposedException.cs
6841 * ObsoleteAttribute.cs
6842 * OperatingSystem.cs
6843 * OutOfMemoryException.cs
6844 * OverflowExceptionException.cs
6846 * PlatformNotSupportedException.cs
6849 * ResolveEventArgs.cs
6850 * ResolveEventHandler.cs
6851 * RuntimeFieldHandle.cs
6852 * RuntimeMethodHandle.cs
6853 * RuntimeTypeHandle.cs: Mono styled, fixed exceptions/ locales
6854 removed excess usings
6856 2004-03-08 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
6858 * SystemException.cs: Exceptions set the HResult
6859 * TypeLoadException.cs: Exceptions set the HResult, fixed wrong exception usage
6860 * SByte.cs: Implemented two missing methods, fix wrong parameters for ArgumentNullException
6862 2004-03-08 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
6865 * TypeLoadException.cs
6866 * TypeInitializationException.cs
6869 * ThreadStaticAttribute.cs
6870 * SystemException.cs
6871 * STAThreadAttribute.cs
6872 * StackOverflowException.cs
6873 * SingleFormatter.cs
6875 * SerializableAttribute.cs: Mono styled, fixed exceptions/ locales
6876 removed excess usings
6878 2004-03-08 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
6880 * UnauthorizedAccessException.cs: Exceptions set the HResult
6881 * UInt64.cs: Implemented two missing methods
6882 * UInt32.cs: Fix wrong parameters for ArgumentNullException, simpler convert
6883 * UInt16.cs: Fix wrong parameters for ArgumentNullException, simpler convert
6885 2004-03-08 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
6891 * UnitySerializationHolder.cs
6892 * UnhandledExceptionEventHandler.cs
6893 * UnauthorizedAccessException.cs
6897 * UInt16.cs: Mono styled, Locale.GetText fixes, msg fixes
6899 2004-03-04 Lluis Sanchez Gual <lluis@ximian.com>
6901 * Environment.cs: Bump corlib version.
6903 2004-03-04 Jackson Harper <jackson@ximian.com>
6905 * Char.cs: New managed implementation. Modified patch by Andreas Nahr.
6907 2004-02-27 Lluis Sanchez Gual <lluis@ximian.com>
6909 * String.cs: Concat() fixed crash when one of the arguments is an object
6910 whose ToString() method returns null.
6911 * TypeLoadException.cs: Added some serialization fiels, needed for
6912 compatibility with MS.NET.
6914 2004-02-23 Ben Maurer <bmaurer@users.sourceforge.net>
6916 * String.cs (Equals): Speed up this method by avoiding Array
6917 Bounds Checks and by comparing by 32 bit words rather than 16 bit chars.
6919 This gives between 0x (for 1 char) and >2x (for large strings)
6920 factor of improvement.
6922 A big thanks to Miguel, who suggested the integer compares.
6924 2004-02-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6926 * MonoType.cs: use the binder in GetPropertyImpl.
6928 2004-02-22 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
6930 * Math.cs: MonoStyled, replaced space with tabs,
6931 speedup of some methods by avoiding method calls
6933 2004-02-18 Atsushi Enomoto <atsushi@ximian.com>
6935 * Char.cs : optimized IsSeparator(), IsWhiteSpace() and IsDigit().
6936 (Moved from InternalCall to Managed code).
6938 2004-02-17 Martin Baulig <martin@ximian.com>
6940 * MonoType.cs (GetConstructors): Renamed the interncall to
6941 GetConstructors_internal(), made it internal and added a `Type
6942 reflected_type' argument to it.
6943 (GetEvents, GetFields): Likewise.
6944 (GetMethodsByName): Added `Type reflected_type' argument.
6945 (GetPropertiesByName): Likewise.
6947 2004-02-16 Jackson Harper <jackson@ximian.com>
6949 * FloatingPointFormater.cs: Allow precision to be up to the number
6950 of decimals without rounding.
6952 2004-02-14 Zoltan Varga <vargaz@freemail.hu>
6954 * Delegate.cs (Equals): Do not compare method_ptr, since it might
6955 point to a trampoline.
6957 2004-02-12 Jackson Harper <jackson@ximian.com>
6959 * AppDomainSetup.cs: If relative paths are used they should be
6960 rooted in the temp directory.
6962 2004-02-11 Marek Safar <marek.safar@seznam.cz>
6964 * Type.cs (FilterNameIgnoreCase_impl): Added extra check for speedup.
6966 2004-02-10 Zoltan Varga <vargaz@freemail.hu>
6968 * AppDomain.cs (Load): Check that assemblyRef.Name is not empty, to
6969 avoid an assert in the runtime.
6971 2004-02-08 Duncan Mak <duncan@ximian.com>
6973 * Convert.cs (ToType): Always let a Convert.ChangeType call
6974 succeed if the source object is already of the destination type.
6976 Patch by Ian MacLean (ianm@activestate.com).
6978 2004-02-05 Sebastien Pouliot <sebastien@ximian.com>
6980 * AppDomain.cs: Implemented SetPrincipalPolicy and SetThreadPrincipal.
6982 2004-02-02 Zoltan Varga <vargaz@freemail.hu>
6984 * Environment.cs: Bump corlib version.
6986 2004-02-02 Sebastien Pouliot <sebastien@ximian.ca>
6988 * DateTime.cs: Corrected support for "Z" in the mask (Parse). This
6991 2004-01-27 Sebastien Pouliot <spouliot@videotron.ca>
6993 * Exception.cs: Changed ToString to remove the \n when no stack trace
6994 is present (which fixed a unit test for SecurityException). Changed
6995 all \n to Environment.NewLine.
6997 2004-01-27 Lluis Sanchez Gual <lluis@ximian.com>
6999 * ContextBoundObject.cs: Removed TODO.
7001 2004-01-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7003 * TimeSpan.cs: fixed bug #52075. Days (int) don't rely on TotalDays
7004 (double), which might round up.
7006 2004-01-19 Jackson Harper <jackson@ximian.com>
7008 * FloatingPointFormatter.cs: Use the default decimal digits count
7009 if they are not specified. This fixes bug #52927.
7011 2004-01-19 Zoltan Varga <vargaz@freemail.hu>
7013 * Environment.cs: Bump version number.
7015 2004-01-19 Lluis Sanchez Gual <lluis@ximian.com>
7017 * Type.cs: Added internal call for IsInstanceOfType. The old implementation
7018 uses IsAssignableFrom(o.GetType()), which is not always valid for
7019 transparent proxies (because GetType will not return the type of the remote
7020 object if its assembly is not present).
7022 2004-01-18 David Sheldon <dave-mono@earth.li>
7024 * FloatingPointFormatter.cs: Skip the decimal point if we have an
7025 integer mantassa. So: 1E+15, rather than 1.E+15.
7027 2004-01-18 David Sheldon <dave-mono@earth.li>
7029 * Array.cs (GetValue/SetValue): Throw NullRef exception like .NET 1.1,
7030 even though docs say it should be an ArgumentNull. Two test cases now
7031 pass. See also nickd's commit of 2003-12-24.
7033 2004-01-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7035 * Environment.cs: increased corlib version.
7037 2004-01-14 Lluis Sanchez Gual <lluis@ximian.com>
7039 * MonoCustomAttrs.cs: Removed attribute cache. Attribute instances can't
7040 be reused because they could be modified. This fixes bug #52655.
7042 2004-01-12 Patrik Torstensson
7044 * Environment.cs: Bump corlib version number due to new StringBuilder
7046 * String.cs: New internal method to support the new StringBuilder that
7047 uses the string as a buffer (until ToString is called)
7049 2004-01-12 Zoltan Varga <vargaz@freemail.hu>
7051 * Environment.cs: Bump corlib version number for real this time.
7053 * AppDomain.cs (LoadAssembly): Pass the assembly name as a string to
7054 the runtime, so it can take into account the Culture etc.
7056 * Environment.cs: Bump corlib version number.
7058 2004-01-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7060 * MonoType.cs: GetMethods renamed to GetMethodsByName. It takes a
7061 new parameter with the method name and a boolean for ignoring case.
7062 Removed some string comparisons no longer needed.
7064 2004-01-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7066 * MonoType.cs: GetProperties renamed to GetPropetiesByName. It takes a
7067 new parameter with the property name and a boolean for ignoring case.
7070 2004-01-11 David Sheldon <dave-mono@earth.li>
7072 * DateTime.cs: Correct processing of formats with multiple '-'s, fixing
7075 2004-01-10 Zoltan Varga <vargaz@freemail.hu>
7077 * AppDomain.cs: Keep track of type resolve and assembly resolve
7078 events in progress to prevent infinite recursion.
7080 2004-01-06 Miguel de Icaza <miguel@ximian.com>
7082 * Console.cs: Test for UTF-8 being present anywhere on the
7083 string, also do ToUpper instead of ToLower, which will work even
7084 around the ICU bug with different locales (#52065), and addresses #52101
7086 2004-01-05 Zoltan Varga <vargaz@freemail.hu>
7088 * Environment.cs: Bump version.
7090 2003-12-24 Ben Maurer <bmaurer@users.sourceforge.net>
7092 * Type.cs (IsNotPublic): One would normally assume that
7093 IsNotPublic == !IsPublic, but this is not the case (note to MS,
7094 make better names ;-). Fixes #52547, `Type.IsNotPublic not
7095 correct for Nested types'
7097 2003-12-24 Nick Drochak <ndrochak@ieee.org>
7099 * Array.cs (CreateInstance): Throw NullRef exception like .NET 1.1,
7100 even though docs say it should be an ArgumentNull. Sent email to MS
7103 2003-12-23 Lluis Sanchez Gual <lluis@ximian.com>
7105 * Exception.cs: Several changes to make it compatible with MS.NET (needed
7106 for remoting interoperability): set a default value for hresult, added
7107 initialization of class_name, serialization field RemoteStackTrace must
7108 be RemoteStackTraceString, added ser. field ExceptionMethod.
7110 * IndexOutOfRangeException.cs: Added serialization constructor.
7112 2003-12-22 Bernie Solomon <bernard@ugsolutions.com>
7115 Int64 (Parse): Fix overflow checking for AllowHexSpecifier
7117 2003-12-20 Zoltan Varga <vargaz@freemail.hu>
7119 * MonoType.cs (GetMethodImpl): Only call FindMostDerivedMatch if the
7120 user supplied no parameter info, but not when the user supplied an
7121 empty parameter list. This fixes IKVM.
7123 * Environment.cs: Bump corlib version.
7125 2003-12-19 Dick Porter <dick@ximian.com>
7127 * String.cs: Added Compare shortcut for length==0.
7129 2003-12-17 Zoltan Varga <vargaz@freemail.hu>
7131 * Environment.cs: Bump corlib version.
7133 2003-12-17 Dick Porter <dick@ximian.com>
7135 * String.cs: Fix StartsWith and EndsWith when the argument is the
7136 empty string. Fixes bug 52283.
7138 2003-12-16 Zoltan Varga <vargaz@freemail.hu>
7140 * Environment.cs (HasShutdownStarted): Implement.
7142 2003-12-15 Zoltan Varga <vargaz@freemail.hu>
7144 * Environment.cs (HasShutdownStarted): Make this static under NET 1.1.
7146 * Environment.cs: Bump version number.
7148 2003-12-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7150 * DateTime.cs: don't bail out with that year out of range error on
7151 stuff like "MM/dd/yyyy HH:MM:ss".
7153 2003-12-13 Zoltan Varga <vargaz@freemail.hu>
7155 * Environment.cs: Make it a const instead.
7157 * Environment.cs: Make version field static.
7159 2003-12-10 Zoltan Varga <vargaz@freemail.hu>
7161 * Type.cs: Make DefaultBindingFlags protected.
7163 * Environment.cs: Applied patch from Todd Berman (tbermann@gentoo.org).
7164 Add new GacPath property + its associated icall.
7166 2003-12-09 Anirban Bhattacharjee <banirban@novell.com>
7168 * DateTime.cs : Bugs fixed (41845, 51422)
7169 * MonoType.cs : Exception message changed
7171 2003-12-08 Martin Baulig <martin@ximian.com>
7173 * Type.cs (MakeByRefType): New public method.
7175 2003-12-08 Zoltan Varga <vargaz@freemail.hu>
7177 * Environment.cs: Add a version number for the corlib-runtime interface
7178 to make it easier to diagnose problems resulting from a mismatch
7181 2003-12-08 Patrik Torstensson <p@rxc.se>
7183 * Type.cs (GetMethod): Check type arguments within array
7184 * MonoType.cs (GetMethodImpl): Handle methods with a new slot
7185 (same signature but different classes (derived level)
7187 2003-12-07 Zoltan Varga <vargaz@freemail.hu>
7189 * Type.cs (MakeArrayType): Add argument checking.
7191 2003-12-06 Dick Porter <dick@ximian.com>
7193 * String.cs: Don't use CompareInfo for non-culture-sensitive
7194 IndexOf and LastIndexOf methods.
7196 2003-12-06 Ravindra <rkumar@novell.com>
7198 * DateTime.cs: Made Parse(string, IFormatProvider) method to
7199 use second argument. Fixed bug #51464.
7201 2003-12-04 Martin Baulig <martin@ximian.com>
7203 * Type.cs (Type.MakeArrayType): New public method.
7205 2003-12-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7208 (BlockCopy): make the exception thrown helpful.
7210 2003-12-03 Dick Porter <dick@ximian.com>
7212 * String.cs: Calling Replace on an empty string returns itself.
7214 2003-12-03 Zoltan Varga <vargaz@freemail.hu>
7216 * MonoType.cs: Get rid of get_type_info, use a separate icall for
7217 each property instead.
7219 2003-12-02 Dick Porter <dick@ximian.com>
7221 * Decimal.cs: Fix NumberFormatInfo lookup. Patch by
7222 Mohammad DAMT (mdamt@cdl2000.com), fixes bug 51443.
7224 2003-12-01 Dick Porter <dick@ximian.com>
7226 * String.cs: Make Compare, IndexOf, LastIndexOf, StartsWith,
7227 Replace, ToLower, ToUpper and Equals use the correct CultureInfo.
7229 2003-11-28 Dick Porter <dick@ximian.com>
7234 * Boolean.cs: Do string compares with the Invariant culture.
7236 2003-11-27 Ben Maurer <bmaurer@users.sourceforge.net>
7238 * Array.cs: make the enumerator ICloneable
7240 2003-11-27 Ben Maurer <bmaurer@users.sourceforge.net>
7242 * Decimal.cs (ToXXX): Call Convert.ToXXX.
7244 2003-11-26 Zoltan Varga <vargaz@freemail.hu>
7246 * AppDomain.cs: Applied patch from ztashev@openlinksw.co.uk (Zdravko Tashev).
7247 Implement Load(byte[]) methods.
7249 * BadImageFormatException.cs: Fix ToString.
7251 2003-11-24 Zoltan Varga <vargaz@freemail.hu>
7253 * MonoType.cs: Make Standard|HasThis match Standard in GetMethod and
7254 GetConstructor, as done by MS.
7256 2003-11-19 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
7258 * FloatingPointFormatter.cs: Removed some unused variables to prevent csc compiler warnings
7260 2003-11-18 Lluis Sanchez Gual <lluis@ximian.com>
7262 * TypeInitializationException.cs: Added missing serialization constructor.
7264 2003-11-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7266 * AppDomainSetup.cs: Don't add an extra '/' at the end of
7267 ApplicationBase. The tests pass now with mono.
7269 2003-11-18 Zoltan Varga <vargaz@freemail.hu>
7271 * ValueType.cs: New optimized implementation for Equals and GetHashCode.
7273 2003-11-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7275 * Environment.cs: use Directory in CurrentDirectory property.
7276 We were not throwing any exception when setting the directory to an
7279 2003-11-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7282 * Delegate.cs: implemented 1.1 stuff.
7285 * IntPtr.cs: removed extra attribute.
7286 * PlatformID.cs: added WinCE.
7288 2003-11-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7291 (Equals): compare the fields of structs too.
7292 (GetHashCode): combine the hash code of all the fields.
7293 Fixes bug #50901 (will remove the icall in a couple of days).
7295 2003-11-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7297 * Array.cs: fixed Clear for non-zero bounded arrays. Fixes bug #50968.
7299 2003-11-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7301 * DateTime.cs: handle century when we try to parse 4-digit years and
7302 only 2 digits are present. Fixes bug #49394.
7304 2003-11-13 Miguel de Icaza <miguel@ximian.com>
7306 * Console.cs: On utf-8 consoles, use unmarked output.
7308 2003-11-13 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
7310 * IAppDomainSetup.cs:
7313 * Type.cs: Added missing attribute
7315 2003-11-12 Lluis Sanchez Gual <lluis@ximian.com>
7317 * Environment.cs: Added internal method for getting the path to
7320 2003-11-12 Jackson Harper <jackson@ximian.com>
7322 * Environment.cs: Add MyMusic and MyPictures to the SpecialFolder
7323 enum. This fixes the SWF build.
7325 2003-11-12 Miguel de Icaza <miguel@ximian.com>
7327 * PlatformID.cs: Remove Unix platform, we cant expose constants
7328 that are not in the framework.
7330 * OperatingSystem.cs: Adjust for the breakage.
7332 * RuntimeMethodHandle.cs: Fix signature.
7334 * Double.cs: Fix signature of TryParse.
7336 * String.cs (Concat (object, object, object, object)): Add missing method.
7338 * OperatingSystem.cs: Removed Equals, GetHashCode, they were not
7339 in the .NET Framework.
7341 * Enum.cs: Hide constructor.
7343 Fix ToUint16 to be explicitly implemented.
7345 * Console.cs: Add couple of extra missing methods (Write and
7346 WriteLine overloaded)
7348 2003-11-11 Miguel de Icaza <miguel@ximian.com>
7350 * AppDomain.cs, Activator.cs: New unimplmented entry points from
7351 1.1 (Com activation related).
7353 * Exception.cs: Formatting.
7355 * IServiceProvider.cs: Add ComVisible (true).
7357 * AppDomainSetup.cs: Add a couple more properties from .NET 1.1
7359 2003-11-03 Lluis Sanchez Gual <lluis@ximian.com>
7361 * AppDomain.cs: Added some null checks in Load methods. This fixes bug
7364 2003-11-01 Zoltan Varga <vargaz@freemail.hu>
7366 * AppDomain.cs: Make the SetDomain icalls private + call InternalInvoke
7367 on MonoMethod instead of Invoke.
7369 2003-11-01 Pedro Martínez Juliá <yoros@wanadoo.es>
7371 * DateTime.cs: Fixed Add* methods handling. Now it works properly
7372 with extreme values (there is a bug with Overflow and Underflow in
7375 2003-10-31 Pedro Martínez Juliá <yoros@wanadoo.es>
7377 * DateTime.cs: Fixed a few format bugs.
7379 2003-10-31 Zoltan Varga <vargaz@freemail.hu>
7381 * AppDomain.cs (InternalPushDomainRef): New icalls.
7383 * AppDomain.cs (InvokeInDomain): New method to execute code in a
7384 different appdomain.
7386 2003-10-27 Zoltan Varga <vargaz@freemail.hu>
7388 * AppDomain.cs: Fix prototype of InternalIsFinalizingForUnload.
7390 2003-10-25 Zoltan Varga <vargaz@freemail.hu>
7392 * AppDomain.cs (IsFinalizingForUnload): Implement.
7394 * AppDomain.cs (Unload): Move the notification of OnUnload listeners
7397 2003-10-25 Martin Baulig <martin@ximian.com>
7399 * MonoType.cs: Don't make this sealed.
7401 2003-10-24 Zoltan Varga <vargaz@freemail.hu>
7403 * AppDomain.cs: Add InternalInvokeInDomain[ByID] icalls.
7405 2003-10-24 Pedro Martínez Juliá <yoros@wanadoo.es>
7407 * DateTime.cs: When handling '-' as a date separator, MS.NET uses
7408 the same symbol in the parse (not DateTimeFormatInfo.DateSeparator).
7410 2003-10-22 Dick Porter <dick@ximian.com>
7412 * DateTime.cs: Handle '-' as a date separator when parsing formats.
7414 2003-10-20 Duncan Mak <duncan@ximian.com>
7416 * Delegate.cs (CreateDelegate): Avoid creating an extra Type array
7417 and merge the two iterations into one.
7419 2003-10-15 Zoltan Varga <vargaz@freemail.hu>
7421 * TypedReference.cs: Add new field used by the runtime.
7423 2003-10-15 Martin Baulig <martin@ximian.com>
7425 * Type.cs (Type.DeclaringMethod): For a generic method's type
7426 parameter, return this method - otherwise, return null.
7428 2003-10-14 Martin Baulig <martin@ximian.com>
7430 The generics API has changed in the spec since it was added here;
7431 these modifications make it match the spec again.
7434 (GetGenericParameters): Renamed to `GetGenericArguments'.
7435 (HasGenericParameters): Renamed to `HasGenericArguments'.
7436 (HasUnboundGenericParameters): Renamed to `ContainsGenericParameters'.
7437 (IsGenericTypeDefinition): New property.
7438 (IsUnboundGenericParameter): Renamed to `IsGenericParameter'.
7440 * MonoType.cs (ContainsGenericParameters): Implement this here;
7441 this is no interncall anymore.
7443 2003-10-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7445 * Delegate.cs: add the method name to the exception when it cannot be
7447 * Exception.cs: fix nullref in Source.
7449 2003-10-10 Zoltan Varga <vargaz@freemail.hu>
7451 * Array.cs: Add argument checking to GetValue and SetValue.
7453 2003-10-09 Miguel de Icaza <miguel@ximian.com>
7455 * DateTime.cs: Patch from Chris Turchin: the DateTime.MaxValue
7456 should not be TimeSpan.MaxValue, because it overflow. Set this to
7459 2003-10-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7461 * MonoCustomAttrs.cs: from_cache is now thread-safe. Yeah, I got a
7462 duplicate entry exception.
7464 2003-10-08 Ben Maurer <bmaurer@users.sourceforge.net>
7466 * DateTime.cs (ToString): Total rewrite, fixes #49358.
7468 2003-10-03 Zoltan Varga <vargaz@freemail.hu>
7470 * AppDomain.cs: Change accessibility of DoTypeResolve to fix build.
7472 2003-10-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7475 (Equals): check that the object is an Enum before comparing the types.
7477 2003-09-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7479 * Array.cs: reduced xsp allocated memory by 1/2.
7481 2003-09-25 Martin Baulig <martin@ximian.com>
7483 * Type.cs (Type.IsGenericTypeDefinition): Removed this method
7484 since it was identical to GetGenericTypeDefinition().
7485 (Type.IsGenericInstance): New property.
7487 2003-09-24 Duncan Mak <duncan@ximian.com>
7489 * Math.cs (Abs): Fix double Locale.GetText bug reported by
7490 davejp@volny.cz. This fixes #48788.
7492 2003-09-14 Pedro Martínez Juliá <yoros@wanadoo.es>
7494 * FloatingPointFormatter.cs: Add the necessary castings to char
7497 2003-09-13 Pedro Martínez Juliá <yoros@wanadoo.es>
7499 * FloatingPointFormatter.cs: Make the method calls more functional
7500 for protecting the values from different threads (make it more
7503 2003-09-13 Pedro Martínez Juliá <yoros@wanadoo.es>
7505 * FloatingPointFormatter.cs: Fix a bug with the negative value of
7508 2003-09-12 Pedro Martínez Juliá <yoros@wanadoo.es>
7510 * FloatingPointFormatter.cs: Applied a lot of improvements in string
7511 construction, make use of Append/Insert with the "count" parameter.
7512 Thanks to Ben Maurer.
7514 2003-09-10 Pedro Martínez Juliá <yoros@wanadoo.es>
7516 * FloatingPointFormatter.cs: Fix a bug with Custm Format.
7518 * FloatingPointFormatter.cs: Fix a little bug I've introduced the
7521 2003-09-10 Pedro Martínez Juliá <yoros@wanadoo.es>
7523 * DoubleFormatter.cs: A few optimizations. Now, only one object
7524 is created to convert all double numbers.
7526 * SingleFormatter.cs: A few optimizations. Now, only one object
7527 is created to convert all float numbers.
7529 * FloatingPointFormatter.cs: Split the "number type parameters" from
7530 the "numver value and format parameters". The first ones are in the
7531 constructor and the others are in a method.
7533 2003-09-09 Zoltan Varga <vargaz@freemail.hu>
7535 * Array.cs: Added argument checking to some NET_1_1 methods.
7537 2003-09-04 Martin Baulig <martin@ximian.com>
7539 * Type.cs (GetGenericTypeDefinition): Make this method virtual.
7541 2003-08-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7543 * Array.cs: added the new overloaded CreateInstance, GetValue, SetValue
7544 taking 'longs'. All tests pass.
7546 2003-08-26 Ben Maurer <bmaurer@users.sourceforge.net>
7548 * Exception.cs: Add ClassInterface attr. Implement TargetSite and
7549 Source. Remove MonoTODO attributes (class is 100% done). Also
7550 passes all Rotor tests for Exception!
7552 2003-08-26 Ben Maurer <bmaurer@users.sourceforge.net>
7554 * Enum.cs: Remove [MonoTODO]'s that had been completed.
7556 2003-08-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7558 * String.cs: fixed bug #47802.
7560 2003-08-21 Ben Maurer <bmaurer@users.sourceforge.net>
7562 * String.cs: Created method FormatHelper that does formatting,
7563 using a StringBuilder.
7565 2003-08-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7567 * Array.cs: patch by lb@lb.ods.org that fixes bug #47707.
7569 2003-08-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7571 * Delegate.cs: CreteDelegate (Type, MethodInfo) only supports static
7574 2003-08-11 Duncan Mak <duncan@ximian.com>
7576 * Environment.cs (Version): Return the same numbers as the MS
7579 2003-08-10 Miguel de Icaza <miguel@ximian.com>
7581 * Array.cs: Applied patch from Thong (Tum) Nguyen; Removed
7582 replicated tests, and have a routine that does the heavy lifting.
7584 2003-08-08 Lluis Sanchez Gual <lluis@ximian.com>
7586 * DateTime.cs: Fixed DoParse. It was calling the wrong constructor
7588 * Environment.cs: return $HOME for ApplicationData folder.
7590 2003-08-04 Duncan Mak <duncan@ximian.com>
7592 * FloatingPointFormatter.cs (Normalize): Apply a patch from Aleksey
7593 Demakov <avd@openlinksw.com> to fix formatting for Big power of 10
7594 floating point values. This fixes bug #46175.
7596 * Convert.cs (ToUInt16): Throw an OverflowException correctly, as
7597 noted by c5n4kh6u02@sneakemail.com in
7598 http://bugzilla.ximian.com/show_bug.cgi?id=43098.
7600 Sat Aug 2 13:01:46 BST 2003 Malte Hildingson <malte@amy.udd.htu.se>
7602 * Double.cs: added icall Double.AssertEndianity.
7604 Fri Aug 1 16:47:17 CEST 2003 Paolo Molaro <lupus@ximian.com>
7606 * Type.cs, MonoType.cs: implemented generic-specific methods.
7608 2003-07-29 Miguel de Icaza <miguel@ximian.com>
7610 * Buffer.cs: Add new internal MemCopy call.
7614 Tue Jul 29 12:13:16 CEST 2003 Paolo Molaro <lupus@ximian.com>
7616 * Type.cs, MonoType.cs, ArgIterator.cs: pass the handles values
7617 to icalls, to avoid special cases in some call conventions.
7619 2003-07-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7621 * Enum.cs: added Serializable attribute.
7623 2003-07-25 Duncan Mak <duncan@ximian.com>
7625 * AppDomain.cs (Equals):
7626 (GetHashCode): Removed because they do not need to be defined
7629 2003-07-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7631 * TypeLoadException.cs: removed unused fields. TypeName returns "" if
7632 cannot even get the type.
7634 2003-07-24 Miguel de Icaza <miguel@ximian.com>
7636 * Type.cs: Added generics stubs.
7638 2003-07-23 Duncan Mak <duncan@ximian.com>
7640 * Environment.cs (SpecialFolder): Added 'Desktop' and 'MyComputer'
7641 as values for NET_1_1.
7642 (GetFolderPath): Return the empty string ("") for values of
7643 SpecialFolder that have no corresponding equivalents in
7644 Linux. Return "$HOME/Desktop" for SpecialFolder.DesktopDirectory
7645 and "$HOME" for SpecialFolder.Personal.
7647 * IntPtr.cs (GetObjectData): Mark it as an interface
7648 implementation, instead of a public method.
7650 * Guid.cs (NewGuid): Remove MonoTODOAttribute.
7652 * TypeLoadException.cs (GetObjectData):
7653 Create stubs for the fields that are being serialized.
7655 * UIntPtr.cs: Removed erroneous CLSCompliantAttributes.
7657 2003-07-23 Lluis Sanchez Gual <lluis@ximian.com>
7659 * Enum.cs: Fixed enum formatting. For flag enums, if one of
7660 the flags is unnamed, ToString() returns the integer value.
7662 2003-07-22 Jerome Laban <jlaban@wanadoo.fr>
7664 * Guid.cs: Fixed ToString (), was producing incorrect string.
7666 2003-07-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7668 * AppDomainSetup.cs: fixed bug #46609.
7670 Thu Jul 17 17:28:27 CEST 2003 Paolo Molaro <lupus@ximian.com>
7672 * MonoType.cs: use an icall for IsPrimitiveImpl ().
7674 Thu Jul 17 15:23:17 CEST 2003 Paolo Molaro <lupus@ximian.com>
7676 * Guid.cs: faster ToString ().
7678 2003-07-15 Pedro Martínez Juliá <yoros@wanadoo.es>
7680 * FloatingPointFormatter.cs: Few changes for get working Rotor
7683 2003-07-13 Zoltan Varga <vargaz@freemail.hu>
7685 * Type.cs (IsAssignableFrom): Implement this as an icall since the
7686 runtime already includes the neccessary logic.
7688 2003-07-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7690 * AppDomainSetup.cs: remove the "file://" prefix from ApplicationBase
7691 if it's present and get the full path for non-Uri paths.
7693 2003-07-2 Lluis Sanchez Gual <lluis@ximian.com>
7695 * DateTime.cs: Fixed formatting of fractions of second.
7697 2003-06-30 Zoltan Varga <vargaz@freemail.hu>
7699 * Console.cs: Turn off buffering for the streams returned by
7700 OpenStandardOutput () and OpenStandardError () if the buffer size is 0.
7702 2003-06-28 Lluis Sanchez Gual <lluis@ximian.com>
7704 * Random.cs: Changed behavior of Random to match MS.NET. When Next is
7705 called with maxvalue==0 or minvalue==maxvalue, MS.NET internally generates
7706 a new random number (although it is not needed), while mono did not.
7707 As a result, the sequence of random numbers could be different for the
7710 Thu Jun 26 16:06:35 CEST 2003 Paolo Molaro <lupus@ximian.com>
7712 * FloatingPointFormatter.cs: use dec_len2 as default precision.
7714 2003-06-26 Lluis Sanchez Gual <lluis@ximian.com>
7716 * DateTime.cs: Modified constructor. Check for valid value of TimeSpan must
7717 be done after the correspondig UTC offset has been applied.
7719 2003-06-26 Lluis Sanchez Gual <lluis@ximian.com>
7721 * Object.cs: Object must have the Serializable attribute.
7722 * DateTime.cs: Fixed _DoParse() so it correctly applies the utc offset
7723 to the resulting date. Also fixed _ToString so now correctly formates the
7726 Wed Jun 18 19:22:22 CEST 2003 Paolo Molaro <lupus@ximian.com>
7728 * Enum.cs: fix race in cache (bug#41841).
7730 Wed Jun 18 18:52:11 CEST 2003 Paolo Molaro <lupus@ximian.com>
7732 * FloatingPointFormatter.cs: if the precision is not specified, use
7733 the default precision for the data type.
7735 Wed Jun 18 18:11:30 CEST 2003 Paolo Molaro <lupus@ximian.com>
7737 * Array.cs: throw ArgumentOutOfRangeException in Copy if needed
7738 (patch by tum@veridicus.com (Thong (Tum) Nguyen)).
7740 2003-06-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7742 * MonoType.cs: don't throw nullref when the return type for a property
7743 is specified and the property doesn't have a get accessor.
7745 2003-06-10 Duncan Mak <duncan@ximian.com>
7747 * Array.cs (CreateInstance): Fixed a typo. It should throw
7748 ArgumentNullException instead of ArgumentException.
7750 2003-06-09 Duncan Mak <duncan@ximian.com>
7752 * Array.cs: Revert the last revert. I fixed it.
7753 (Sort): Put a try-catch block around qsort, and wrap whatever
7754 Exception we get into a InvalidOperationException.
7756 2003-06-08 Jackson Harper <jackson@latitudegeo.com>
7758 * Array.cs: Revert last patch, it broke some other functionality.
7760 2003-06-08 Duncan Mak <duncan@ximian.com>
7762 * Array.cs: Throw more exceptions. This fixes the errors we see
7763 from the Rotor testsuite.
7765 (CreateInstance): Throw ArgumentNullException when the input are
7766 null. Throw ArgumentOutOfRangeException when bounds + length is
7767 greater than Int32.MaxValue.
7768 (LastIndexOf): Throw ArgumentOutOfRangeException if index is outside
7769 the valid range of indices of array.
7770 (Sort): Throw InvalidOperationException when comparer is null and
7771 none of the elements in keys implements IComparable.
7773 2003-06-08 Duncan Mak <duncan@ximian.com>
7775 * Array.cs (CreateInstance): Throw a TypeLoadException if the
7776 Length of the input array 'lengths' is greater than 255 so that we
7777 won't see the g_assert that is in mono_array_class_get in class.c.
7779 This fixes bug #44304.
7781 2003-06-05 Nick Drochak <ndrochak@gol.com>
7783 * UnitySerializataionHolder.cs: Cleanups according to class status page
7785 Wed Jun 4 16:59:39 CEST 2003 Paolo Molaro <lupus@ximian.com>
7787 * ArgIterator.cs, TypedReference.cs, RuntimeArgumentHandle.cs,
7788 RuntimeTypeHandle.cs: implemented the needed stuff to handle
7791 2003-06-02 Sebastien Pouliot <spouliot@videotron.ca>
7793 * Random.cs: New implementation based on Knuth ran3 to fix #43597.
7794 See http://www.library.cornell.edu/nr/bookcpdf/c7-1.pdf. Commited
7795 for Ben Maurer after review and testing.
7797 2003-05-28 Ben Maurer <bmaurer@users.sourceforge.net>
7799 * Array.cs: Added better argument checking to Array.Sort ()
7800 * DBNull.cs: Made the conversions throw like they do in MS.
7802 2003-05-24 Philip Van Hoof <me@freax.org>
7804 * Math.cs: Add the MS.NET 1.1 methods (BigMul, DivRem, DivRem).
7806 2003-05-21 Pedro Martínez Juliá <yoros@wanadoo.es>
7808 * FloatingPointFormatter.cs: Take care with the explicit precision
7809 and round the number to that precision.
7811 * DoubleFormatter.cs: Adapt to the two level precision (15 - 17).
7813 * SingleFormatter.cs: Adapt to the two level precision (7 - 8).
7815 2003-05-20 Philip Van Hoof <me@freax.org>
7817 * DateTime.cs (FromOADate, GetDateTimeFormats, ToOADate):
7820 2003-05-20 Zoltan Varga <vargaz@freemail.hu>
7822 * AppDomainSetup.cs: Added new field which is used to notify the
7823 runtime that the search path has changed.
7825 2003-05-18 Pedro Martínez Juliá <yoros@wanadoo.es>
7827 * FloatingPointFormatter.cs: Fixed NullReferenceException bug I've
7828 introduced the last change I've done.
7830 2003-05-17 Ben Maurer <bmaurer@users.sourceforge.net>
7832 * Array.cs: Fixed SyncRoot to behave like MS (return this). Removed
7833 MonoTODO from SyncRoot (because fixed) and IsSynchronized (it was
7834 behaving correctly).
7836 2003-05-17 Pedro Martínez Juliá <yoros@wanadoo.es>
7838 * FloatingPointFormatter.cs: Fixed little format mismatches.
7840 2003-05-16 Pedro Martínez Juliá <yoros@wanadoo.es>
7842 * FloatingPointFormatter.cs: Fixed "-0" result emited.
7844 2003-05-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7846 * AppDomain.cs: Added null argument check in Load().
7847 * Activator.cs: fixed bug #39926.
7849 2003-05-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7851 * Enum.cs: fixed bugs #41522 and #42879.
7853 2003-05-12 Zoltan Varga <vargaz@freemail.hu>
7855 * String.cs: Tweak IndexOf and LastIndexOf to match specification and
7856 undocumented MS behaviour.
7858 2003-05-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7860 * Activator.cs: applied patch for bug #39926. Thanks to Jean Marc and
7863 2003-05-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7865 * String.cs: fixed bug #41411 and another similar problem in
7866 LastIndexOf (string).
7868 2003-05-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7870 * String.cs: patch by Jean Marc <jean-marc.andre@polymtl.ca> that fixes
7873 2003-05-09 Zoltan Varga <vargaz@freemail.hu>
7875 * MulticastDelegate.cs (GetInvocationList): Avoid ArrayList
7876 construction if the delegate list only has one element.
7878 2003-05-01 Pedro Martínez Juliá <yoros@wanadoo.es>
7880 * Environment.cs: Changed the method GetFolderPath because it must
7881 return at least a directory name (not null).
7883 * Convert.cs: In ToType, if the destination type is unknown, try to
7884 cast the value to object (then, the calling method will downcast it
7885 to the type it wants).
7887 2003-04-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7889 * Enum.cs: fixed bug #41522.
7891 Tue Apr 29 13:58:16 CEST 2003 Paolo Molaro <lupus@ximian.com>
7893 * Enum.cs: protect with the lock also the lookup (bug #41841).
7895 Tue Apr 29 13:24:32 CEST 2003 Paolo Molaro <lupus@ximian.com>
7897 * MonoType.cs: allow a null name if InvokeMember is called with
7898 BindingFlags.CreateInstance set.
7900 2003-04-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7902 * Enum.cs: reverted my previous patch.
7904 2003-04-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7906 * Enum.cs: fixed bug #41841.
7908 2003-04-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7911 (GetPropertyImpl): handle BindingFlags.IgnoreCase.
7913 2003-04-22 Pedro Martínez Juliá <yoros@wanadoo.es>
7915 * FloatingPointFormatter.cs: Little fixes for get the same results
7916 as MS.NET and show a message when something goes wrong with the
7917 parser of Custom Formats.
7919 2003-04-22 Nick Drochak <ndrochak@gol.com>
7921 * Double.cs (ToString):
7922 * Single.cs (ToString): Handle case where param is a CultureInfo.
7924 2003-04-18 Zoltan Varga <vargaz@freemail.hu>
7926 * Object.cs ValueType.cs: Make the Object::GetHashCode() and
7927 ValueType::Equals() icalls static non-virtual, so they can be called
7928 by the code in RuntimeHelpers.
7930 2003-04-18 Miguel de Icaza <miguel@ximian.com>
7932 * Delegate.cs (operator ==): Do not crash if the second argument
7933 is null. Bug fix submitted by Juan Cri.
7935 2003-04-18 Eduardo Garcia Cebollero <kiwnix@yahoo.es>
7937 * Array.cs: Deleted the exception in Array.Initialize(), it looks
7938 like the method do nothing for C#, is still a MonoTODO until
7939 we find a compiler that uses that.
7941 2003-04-14 Miguel de Icaza <miguel@ximian.com>
7943 * Delegate.cs (Delegate): Seems like a typo, we were checking the
7944 a field rather than the argument
7946 * MonoType.cs: Make GetNestedType an external method implementation.
7948 2003-04-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7950 * Enum.cs: fixed bug #41294.
7952 2003-04-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7954 * DateTime.cs: fixes bug #40910, part 2.
7956 2003-04-11 Dietmar Maurer <dietmar@ximian.com>
7958 * String.cs (Equals): avoid the internal call, code cleanups
7960 2003-04-11 Alan Tam <Tam@SiuLung.com>
7962 * Convert.cs: fixed bug #41085.
7964 2003-04-10 Lluis Sanchez Gual <lluis@ideary.com>
7966 * AppDomain.cs: Added internal method for getting process guid.
7968 2003-04-09 Ville Palo <vi64pa@kolumbus.fi>
7970 * Array.cs: Little fix to compare () method.
7972 2003-04-09 Zoltan Varga <vargaz@freemail.hu>
7974 * String.cs (Equals): Add trivial optimization.
7976 2003-04-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7978 * DateTime.cs: fixed bug #40910.
7980 2003-04-05 Miguel de Icaza <miguel@ximian.com>
7982 * Console.cs: Make stderr, stdout and stdin use synchronized
7983 versions of the their readers/writers.
7985 2003-04-04 Dick Porter <dick@ximian.com>
7987 * Version.cs: Make operator== and operator!= cope with null
7988 objects. Didn't change operator<, operator<=, operator> or
7989 operator>= because its not meaningful to use those to compare
7990 against null, and throwing a NullReferenceException is probably
7991 the best thing to do there anyway.
7995 2003-04-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7997 * AppDomain.cs: fixed InvalidCastException.
7999 2003-03-30 Zoltan Varga <vargaz@freemail.hu>
8001 * Array.cs (Copy): Call FastCopy() earlier to avoid the expensive
8002 type checks and let it decide whenever a fast copy is possible.
8004 2003-03-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8007 (GetMethodImpl): support BindingFlags.IgnoreCase flag. Fixes bug #40322.
8009 2003-03-25 Zoltan Varga <vargaz@freemail.hu>
8011 * Activator.cs (CreateInstance): Call GetConstructor with the right
8012 arguments so the nonPublic argument is handled correctly.
8014 2003-03-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8016 * Type.cs: fixed bug #40123.
8018 2003-03-22 Pedro Martínez Juliá <yoros@wanadoo.es>
8020 * FloatingPointFormatter.cs: Fixed some bugs for get the same
8021 results than MS.NET. Added simple error recovering, now ToString
8022 will return a general format if there is any exception in the
8023 process of formatting. This make the library more robust while the
8024 formatters are refined.
8026 2003-03-16 Pedro Martínez Juliá <yoros@wanadoo.es>
8028 * FloatingPointFormatter.cs: Added support for group separators.
8030 2003-03-16 Pedro Martínez Juliá <yoros@wanadoo.es>
8033 * Double.cs: Apply changes of .ToString methods.
8034 * SingleFormatter.cs:
8035 * DoubleFormatter.cs: Simple wrappers to FloatingPointFormatter.
8036 * FloatingPointFormatter.cs: New class. Implementation of double and
8037 single formatters. It is unified now and parametrized with precission
8040 2003-03-15 Lluis Sanchez Gual <lluis@ideary.com>
8042 * AppDomain.cs: fixes bugs #39380 and #39331.
8044 2003-03-06 Nick Drochak <ndrochak@gol.com>
8046 * TimeSpan.cs (Negate): Throw exception when value is MinValue.
8048 2003-03-04 Dick Porter <dick@ximian.com>
8051 * Double.cs: Temporarily reverted the Double and Single ToString()
8052 change, because it broke nunit.
8055 2003-03-04 Pedro Martínez Juliá <yoros@wanadoo.es>
8057 * Double.cs: Changed ToString method. Added NumberFormatInfo support
8058 with DoubleFormatter class.
8059 * Single.cs: Changed ToString method. Added NumberFormatInfo support
8060 with SingleFormatter class.
8061 * DoubleFormatter.cs: New class with Double formatting functions.
8062 * SingleFormatter.cs: New class with Single formatting functions.
8064 2003-03-03 Lluis Sanchez Gual <lluis@ideary.com>
8066 * Activator.cs: Added support for activation using activation attributes.
8067 * AppDomain.cs: Added internal method to get the default context from the runtime.
8069 2003-02-28 Elan Feingold <efeingold@mn.rr.com>
8071 * DateTime.cs: FileTime is expressed in Universal time, and as such must
8072 be converted before subtracting the magic offset.
8073 * DateTime.cs: Strings in the format "2003-02-27T10:05:03-11:00" (note
8074 the timezone at the end) *must* be parsed by DateTime.Parse() for
8075 compatibility with Microsoft.
8077 2003-02-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8080 * MonoCustomAttrs.cs: fix for the regression test failure (see bug
8083 * IntPtr.cs: added serialization .ctor
8085 2003-02-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8087 * AppDomain.cs: check for null in Unload and changed method name.
8089 2003-02-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8091 * MonoCustomAttrs.cs: fixed bug #38238.
8093 2003-02-17 Martin Baulig <martin@ximian.com>
8095 * Exception.cs (Exception.ToString): Print a newline between the
8096 exception message and the stack trace.
8098 2003-02-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8100 * AppDomain.cs: implemented GetCurrentThreadId ().
8102 2003-02-14 Patrik Torstensson
8104 * Exception.cs: Fixed message output formating
8106 2003-02-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8109 (Parse): ignore everything after a \0 (MS parses: "512\0hola" as 512).
8111 2003-02-12 Miguel de Icaza <miguel@ximian.com>
8113 * Type.cs: IsClass should return false for Enumerations
8115 2003-02-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8117 * MonoCustomAttrs.cs: return the correct array type in the short case.
8120 2003-02-08 Pedro Martíenz Juliá <yoros@wanadoo.es>
8122 * Math.cs: Fix a few methods (like Round) and add with comments the
8123 new methods: BigMul and DivRem that were in ECMA specs.
8125 2003-02-07 Patrik Torstensson
8127 * Exception.cs: Fixed formating
8129 2003-02-05 Patrik Torstensson
8131 * AppDomain.cs: Partly fixed the unload method
8133 2003-02-04 Patrik Torstensson
8135 * AppDomain.cs: Fixed lease issue with appdomain
8137 2003-02-04 Lluis Sanchez Gual <lluis@ideary.com>
8139 * MarshalByRefObject.cs: Implemented GetLifetimeService() and
8140 InitializeLifetimeService().
8142 2003-02-03 Patrik Torstensson
8144 * AppDomain.cs: New internalcalls for handling domain/context switches
8145 * AppDomain.cs (CreateDomain): Return transparant proxy for appdomain object
8147 2003-02-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8149 * AppDomain.cs: implemented AppendPrivatePath, ClearPrivatePath
8150 and ClearShadowCopyPath and fixed GetType ().
8152 * Attribute.cs: clean up.
8154 * Console.cs: removed UnixConsoleEncoding. Use Default.
8156 2003-02-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8158 * Attribute.cs: fixed all IsDefined overloads. Gotta fix
8159 GetCustomAttributes later.
8161 2003-01-31 Patrik Torstensson
8163 * Buffer.cs: Changed access level of BlockCopyInternal
8165 Thu Jan 30 19:54:30 CET 2003 Paolo Molaro <lupus@ximian.com>
8167 * String.cs, IntegerFormatter.cs: use const where appropriate.
8169 2003-01-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8171 * MonoCustomAttrs.cs: fixed GetBase () for Type. Thanks to Zoltan for
8174 2003-01-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8176 * MonoCustomAttrs.cs: fixed shortcut in GetCustomAttributes.
8177 The argument ICustomAttributeProvider can be of other types different
8178 from Type. Handle it.
8180 2003-01-28 Zoltan Varga <vargaz@freemail.hu>
8182 * DateTime.cs: fix FromFileTime so the time returned by
8183 File::GetLastModificationTime etc. is in the correct timezone.
8185 2003-01-28 Patrik Torstensson
8186 * Exception.cs: reverted formating/endline changes (sorry guys)
8188 2003-01-28 Patrik Torstensson
8190 * MarshalByRefObject.cs: implemented GetObjectIdentity
8191 * Exception.cs: added support for remote exceptions
8193 2003-01-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8195 * DateTime.cs: fixed bug #37225.
8197 2003-01-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8199 * Enum.cs: Clone the arrays in GetNames and GetValues. Thanks lupus!
8201 2003-01-27 Zoltan Varga <vargaz@freemail.hu>
8203 * AppDomain.cs: Added DoTypeResolve method which will be called by
8204 the runtime to raise TypeResolve events.
8206 2003-01-27 Duncan Mak <duncan@ximian.com>
8208 * Enum.cs (ToType): Implement this using Convert.ToType.
8210 2003-01-21 Miguel de Icaza <miguel@ximian.com>
8212 * Math.cs: Remove Pow's implementation body as it was wrong. The
8213 C code does the right thing. The code was trying to handle a
8214 number of cases, and that was incorrect.
8216 2003-01-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8218 * CharEnumerator.cs: fix to Current by crainaj@hotmail.com. Closes
8221 2003-01-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8223 * Enum.cs: added caching to GetInfo.
8225 2003-01-23 Dick Porter <dick@ximian.com>
8227 * Environment.cs (System): Implemented ExitCode
8229 2003-01-23 Zoltan Varga <vargaz@freemail.hu>
8231 * Type.cs (IsInstanceOfType): fixed regression caused by the change
8234 2003-01-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8236 * MonoType.cs: re-added lines that were removed in the previous commit.
8238 2003-01-16 Lluis Sanchez Gual <lsg@ctv.es>
8240 * Type.cs: corrected property IsSerializable. It should always return
8241 true for enums and delegates
8242 * MonoType.cs: added serialization support.
8243 * Delegate.cs: added serialization support.
8244 * DBNull.cs: added serialization support.
8245 * UnitySerializationHolder.cs: supports serialization of Assembly,
8246 MonoType and DBNull.
8247 * DelegateSerializationHolder.cs: added.
8249 2003-01-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8251 * Exception.cs: changed default message to match MS one.
8253 2003-01-12 Patrik Torstensson <totte@race-x-change.com>
8255 * String.cs: Fixed bug with CompareOrdinal
8257 2003-01-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8259 * Enum.cs: implements IFormattable.
8261 2003-01-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8263 * AppDomain.cs: implemented DoCallBack method.
8265 (GetConstructorImpl): when the flag is BindingFlags.Default, set it to
8268 NUnit2 tests start moving.
8270 2003-01-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8272 * Activator.cs: fixed bug #36052. Also added checks to avoid trying to
8273 instantiate an abstract class.
8275 2003-01-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8278 (IsSubclassOf): return false when null. Use != instead of Equals.
8280 2003-01-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8282 * Type.cs: fixed IsSubclassOf. Patch from Zoltan Varga.
8284 Fri Jan 3 20:18:51 CET 2003 Paolo Molaro <lupus@ximian.com>
8286 * MonoType.cs: fixed Namespace property for nested types.
8288 Fri Jan 3 16:18:27 CET 2003 Paolo Molaro <lupus@ximian.com>
8290 * MonoCustomAttrs.cs: create properly typed arrays when returning
8291 arrays of attributes of a given type.
8293 Fri Jan 3 11:10:14 CET 2003 Paolo Molaro <lupus@ximian.com>
8295 * MonoType.cs: fixed MemberType property for nested types.
8297 2003-01-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8299 * String.cs: fixed bug #36209.
8301 2002-12-20 Lluis Sanchez Gual <lsg@ctv.es>
8303 * Activator.cs: implemented method GetObject.
8305 2002-12-28 Marcus Urban <mathpup@mylinuxisp.com>
8307 * Activator.cs: Since the documentation indicates the method
8308 either succeeds or throws one of the listed exceptions, we weren't
8309 expecting that CreateInstance might be returning null.
8311 For more information on the bug, see http://bugs.ximian.com/show_bug.cgi?id=36109
8313 2002-12-20 Lluis Sanchez Gual <lsg@ctv.es>
8315 * MarshalByRefObject.cs: implemented CreateObjRef.
8317 2002-12-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8319 * DateTime.cs: fixed bug #30076.
8320 * TimeZone.cs: provide the parameter name in a exception.
8322 2002-12-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8324 * DecimalFormatter.cs: fixed bug #35560.
8326 Wed Dec 4 16:04:28 CET 2002 Paolo Molaro <lupus@ximian.com>
8328 * Type.cs: implemented GetInterfaceMap (needs an updated runtime).
8330 2002-12-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8332 * Array.cs: use Object.Equals (obj, obj) to compare objects to avoid
8333 nulls. Fixes #34909.
8335 2002-12-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8337 * AppDomain.cs: DoAssemblyResolve now returns when one of the handlers
8338 returns a non-null assembly.
8340 2002-12-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8342 * MulticastDelegate.cs: make GetInvocationList work for more than 1
8345 2002-12-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8347 * MulticastDelegate.cs: implemented GetInvocationList. I'll check later
8348 if this is the correct order of invocation.
8350 2002-12-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8352 * Type.cs: changed the signature of internal_from_name. Modified
8353 the overloads of GetType to use it and check the typeName argument.
8354 Implemented FindInterfaces.
8356 2002-11-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8358 * MarshalByRefObject.cs: undo latest changes. It breaks the build by
8359 some obscure reasons (try make -f makefile.gnu using a corlib which has
8360 the modified version).
8362 2002-11-26 Miguel de Icaza <miguel@ximian.com>
8364 * String.cs (Concat): Reduce the number of compares required.
8366 Mon Nov 18 17:54:22 CET 2002 Paolo Molaro <lupus@ximian.com>
8368 * Activator.cs: throw a MissingMethodException if the default
8369 constructor is not found in CreateInstance.
8371 2002-11-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8374 (Equals (str, str)): use 'as' instead of casting to object.
8375 (Equals (obj)): check the length of the strings (until now,
8376 "Hello".Equals ((object) "Hellow World!) was true!).
8378 2002-11-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8380 * MonoType.cs: implemented GetEvent (name, flags).
8382 2002-11-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8384 * AppDomain.cs: implemented a couple of methods called from the runtime
8385 to fire AssemblyLoad and AssemblyResolve events.
8387 2002-10-31 Dick Porter <dick@ximian.com>
8389 * Environment.cs: MonoIO methods now have an error parameter
8391 2002-10-29 Zoltan Varga <vargaz@freemail.hu>
8393 * Enum.cs: Added support for whitespaces in Enum:Parse().
8395 2002-10-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8397 * Type.cs: fixed GetProperty (string, Type []) and removed get_property
8398 internal call. Closes bug #32992.
8400 2002-10-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8402 * Exception.cs: display the inner exception, if any, in ToString ().
8404 2002-10-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8406 * Environment.cs: fixed StackTrace property.
8408 2002-10-16 Nick Drochak <ndrochak@gol.com>
8410 * Enum.cs (Parse): Then fix the code so that it works too.
8412 2002-10-15 Nick Drochak <ndrochak@gol.com>
8414 * Enum.cs (Parse): Use unsigned casts to avoid compiler warnings.
8416 2002-10-12 Nick Drochak <ndrochak@gol.com>
8418 * IntegerFormatter.cs: Fix compiler warnings.
8420 2002-10-11 Tim Haynes <thaynes@openlinksw.com>
8422 * Type.cs (GetConstructors): Use the correct flags.
8424 2002-10-09 Nick Drochak <ndrochak@gol.com>
8426 * IntegerFormatter.cs: Suppress insignificant leading zeros
8428 Fri Sep 27 15:06:29 CEST 2002 Paolo Molaro <lupus@ximian.com>
8430 * MonoCustomAttrs.cs: applied patch by "Si Jingnan"
8431 <stonewell@21cn.com> to return also derived types.
8433 2002-09-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8435 * Activator.cs: little fix in CreateInstance (Type, bool).
8437 2002-09-19 Duncan Mak <duncan@ximian.com>
8439 * Array.cs (CopyTo): Revert back to 1.40, this is stopping
8440 I18N/Common from building right now.
8442 2002-09-19 Nick Drochak <ndrochak@gol.com>
8444 * Array.cs (CopyTo): Account for Object type and base (primitive) types
8445 * Type.cs (IsAssignableFrom): return false for a null parameter
8447 2002-09-19 Nick Drochak <ndrochak@gol.com>
8449 * Array.cs (CopyTo): Check that source type can be cast automatically
8450 to the destination type.
8452 2002-09-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8454 * Type.cs: implemented IsAssignableFrom, DefaultBinder and
8457 2002-09-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8459 * Char.cs: implemented ToString (char)
8460 * IntegerFormatter.cs: made it internal.
8462 2002-09-13 Nick Drochak <ndrochak@gol.com>
8464 * Enum.cs (Format): handle the "d" format for both signed and unsigned
8467 2002-09-12 Dick Porter <dick@ximian.com>
8469 * UIntPtr.cs: Remove the [StructLayout(LayoutKind.Auto)]
8470 attribute, as there doesn't appear to be any struct
8471 layout-depending code here (and corcompare says it should be
8472 LayoutKind.Sequential)
8474 * Decimal.cs: Stub out missing methods, add
8475 [DecimalConstantAttribute] to the constant fields (as shown by
8478 * LocalDataStoreSlot.cs:
8481 * Array.cs: Stub out missing methods.
8483 * TypedReference.cs:
8484 * ArgIterator.cs: Stub out
8486 * AppDomainSetup.cs:
8487 * AppDomain.cs: Stub out missing methods, add missing
8488 ClassInterface(ClassInterfaceType.None) attribute.
8490 2002-09-12 Nick Drochak <ndrochak@gol.com>
8492 * Double.cs (ToString): Throw exception when "X" format is passed in.
8494 Wed Sep 11 15:26:34 CEST 2002 Paolo Molaro <lupus@ximian.com>
8496 * MonoType.cs: implemented Module property.
8498 Wed Sep 11 12:49:51 CEST 2002 Paolo Molaro <lupus@ximian.com>
8500 * MonoType.cs, Type.cs: implemented InvokeMember.
8502 Wed Sep 11 11:06:43 CEST 2002 Paolo Molaro <lupus@ximian.com>
8504 * Delegate.cs: check the type passed to CreateDelegate is a Delegate
8505 type. Check the method signature matches.
8507 Sat Sep 7 10:16:52 CEST 2002 Paolo Molaro <lupus@ximian.com>
8509 * RuntimeMethodHandle.cs: implemented GetFunctionPointer().
8511 2002-09-06 Miguel de Icaza <miguel@ximian.com>
8513 * Console.cs: Specify an encoder, otherwise we will get the UTF8
8514 encoder that by default emits the byte markers.
8516 Fri Sep 6 20:14:04 CEST 2002 Paolo Molaro <lupus@ximian.com>
8518 * Delegate.cs: look also for non-public methods until we have the
8519 security checks in place.
8521 Fri Sep 6 12:20:06 CEST 2002 Paolo Molaro <lupus@ximian.com>
8523 * MonoType.cs: consider also the full name in GetInterface.
8525 Fri Sep 6 12:11:28 CEST 2002 Paolo Molaro <lupus@ximian.com>
8527 * MonoType.cs: implemented GetMembers, GetConstructorImpl and
8528 GetMethodImpl using the binder.
8529 * Type.cs: GetConstructorImpl/GetConstructor fixes.
8531 2002-09-03 Jonathan Pryor <jonpryor@vt.edu>
8532 * Enum.cs: Get rid of warning CS0162.
8534 2002-09-04 Miguel de Icaza <miguel@ximian.com>
8536 * Double.cs, Single.cs, Char.cs, Boolean.cs: Use internal for the
8537 actual value instead of public.
8539 * LocalDataStoreSlot.cs: Make constructor internal.
8541 * Int16.cs, UInt16.cs, Int32.cs, UInt32.cs, Int64.cs, UInt64.cs,
8542 SByte.cs, Byte.cs, Char.cs: Use internal for the actual value
8545 2002-09-03 Jonathan Pryor <jonpryor@vt.edu>
8546 * Enum.cs: Fixed Enum.Format so that the "x" format specifier would work
8549 2002-08-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8551 * DateTime.cs: fixed buglet.
8553 Tue Aug 27 16:39:47 CEST 2002 Paolo Molaro <lupus@ximian.com>
8555 * MonoType.cs: speedup access to common data.
8557 2002-08-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8559 * Double.cs: implemented TryParse.
8561 * Math.cs: PowImpl is now private.
8563 * MissingFieldException.cs: implemented Message.
8565 * RuntimeMethodHandle.cs: stubbed GetFunctionPointer.
8567 * _AppDomain.cs: Uncommented ToString.
8569 2002-08-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8572 (IsValueTypeImpl): it's virtual, not abstract. Implemented.
8574 2002-08-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8576 * ArgumentException.cs: use the field instead of the property for
8579 * ArgumentOutOfRangeException.cs: modified Message.
8582 (_DoParse): throw out of range exception for year. Removed check
8583 for month (it's done in the constructor).
8585 2002-08-21 Miguel de Icaza <miguel@ximian.com>
8587 * Environment.cs: Implemented OSVersion property.
8589 2002-08-21 Dietmar Maurer <dietmar@ximian.com>
8591 * Exception.cs: set stack_trace to null
8593 Wed Aug 21 13:02:20 CEST 2002 Paolo Molaro <lupus@ximian.com>
8595 * AppDomain.cs: implemented ToString().
8597 2002-08-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8599 * AppDomain.cs: securityInfo can be null in CreateDomain.
8601 2002-08-19 Dick Porter <dick@ximian.com>
8603 * MonoType.cs: Add a space before the Assembly name in
8604 AssemblyQualifiedName (needed for resource files so the MS runtime
8607 2002-08-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8609 * AppDomain.cs: parameter name when throwing ArgumentNullException.
8611 * ArgumentException.cs: modified Message to do what MS does.
8613 * ArgumentNullException.cs: don't use {0} in message.
8615 * Exception.cs: use Message property in ToString ().
8617 2002-08-14 Cesar Octavio Lopez Nataren <cesar@ciencias.unam.mx>
8619 * WeakReference.cs: Changed the constructor and GetObjectData
8620 method needed for ISerializable implementation in order to be
8621 compatible with SOAP generated by MS.
8623 Wed Aug 14 17:34:07 CEST 2002 Paolo Molaro <lupus@ximian.com>
8625 * MonoType.cs, Type.cs: DeclaringType/ReflectedType fixes.
8627 2002-08-12 Dietmar Maurer <dietmar@ximian.com>
8629 * Exception.cs (ToString): changed the ouput format.
8631 2002-08-07 Dietmar Maurer <dietmar@ximian.com>
8633 * MonoType.cs: moved get_method icall to this class, we can
8634 remove it as soon someone provides a full featured GetMethodImpl.
8636 * Type.cs: use GetMethodImpl everywhere.
8638 * Delegate.cs: new CreateDelegate implementations.
8640 2002-08-06 Tim Coleman <tim@timcoleman.com>
8642 Fix bug #28582. Now checks parameters for properties
8645 2002-08-04 Nick Drochak <ndrochak@gol.com>
8647 * Buffer.cs: Throw correct exception in GetByte() and SetByte().
8649 2002-08-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8652 (FormatSpecifier): allow white space between the comman and the width
8655 2002-07-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8660 * UInt64.cs: fixed bug #28050. May be a MS bug?
8662 Thu Jul 18 14:47:03 CEST 2002 Paolo Molaro <lupus@ximian.com>
8664 * MonoType.cs: fix IsArrayImpl.
8666 2002-07-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8668 * String.cs: make ToLower (culture) and ToUpper (culture) use the
8669 default ToLower and ToUpper and don't throw NotImplemented.
8671 Sat Jul 13 15:09:01 CEST 2002 Paolo Molaro <lupus@ximian.com>
8673 * Type.cs: make GettTypeCode an icall. Test implementation of
8676 2002-07-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8678 * AppDomainSetup.cs: implemented LoaderOptimization.
8680 2002-07-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8682 * Activator.cs: some more intermediate results checking in
8683 in CreateInstance and CreateInstanceFrom and use GetConstructor and
8684 Invoke only with Type [] until the other overloaded versions work.
8686 2002-07-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8688 * Activator.cs: reformatted. Implemented CreateInstance* methods
8689 that return ObjectHandle.
8691 * AppDomain.cs: implemented CreateInstance*AndUnwrap methods.
8693 2002-07-03 Nick Drochak <ndrochak@gol.com>
8695 * Decimal.cs (Divide): Short cut the case where the dividend is 0 (and
8696 the divisor is not) and avoid the icall, which seems to have a bug.
8698 2002-07-03 Nick Drochak <ndrochak@gol.com>
8700 * Double.cs (CompareTo): Correctly handle the case where the instance
8701 is NaN. Also return 0 if the values are equal.
8703 2002/07/03 Nick Drochak <ndrochak@gol.com>
8705 * MissingMethodException: Add missing Message property
8706 * MissingMemberException: Add missing Message property
8708 2002-06-30 Nick Drochak <ndrochak@gol.com>
8710 * Double.cs (CompareTo): Just see which is bigger. Don't use the
8711 subtraction trick, it doesn't work when the values have a diference of
8714 * Single.cs (CompareTo): same
8716 2002-06-27 Martin Baulig <martin@gnome.org>
8718 * UIntPtr.cs (UIntPtr.Zero): Use an explicit `u' suffix in the
8719 constructor argument. [FIXME: The implicit conversion to an
8720 unsigned integer doesn't work with mcs.]
8722 2002-06-26 Martin Baulig <martin@gnome.org>
8724 * DecimalFormatter.cs: Removed MSTEST stuff, use `System',
8725 not `S = System'. This file now compiles with mcs.
8727 * String.cs: Removed the already ifdef-outed __arglist Concat function
8728 to make it compile with mcs.
8730 2002-06-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8732 * IntegerFormatter.cs:
8733 (FormatParse.FormatNumber): fixed custom format for negative numbers.
8735 2002-06-21 Martin Baulig <martin@gnome.org>
8737 * Double.cs: Replace the private `enum State' with constants since this
8738 will avoid some bigger headaches in mcs.
8740 Thu Jun 20 17:51:44 CEST 2002 Paolo Molaro <lupus@ximian.com>
8742 * TimeSpan.cs: do not pollute the namespace with the
8745 2002-06-18 Nick Drochak <ndrochak@gol.com>
8747 * ArgumentException.cs: Use the message given in the constructor when
8748 accessing the Message property. Thanks to Dietmar for the help with
8751 2002-06-17 Dietmar Maurer <dietmar@ximian.com>
8753 * MonoType.cs: GetField is now a InternalCall
8755 2002-06-13 Nick Drochak <ndrochak@gol.com>
8757 * DateTime.cs: (Parse): Accept dates that have no hour,min,sec. in the
8758 sortable format(s), e.g. "2002-02-25"
8760 2002/06/12 Nick Drochak <ndrochak@gol.com>
8762 * Random.cs (Next): Fix math error. Return a number within the range.
8764 2002-06-12 Nick Drochak <ndrochak@gol.com>
8766 * String.cs (IndexOf): Return -1 if start index is equal to string
8769 2002-06-10 Duncan Mak <duncan@ximian.com>
8771 * Convert.cs (ToDouble): Remove rounding in ToDouble (float).
8772 (ToType): Added null field in conversionTable to avoid
8773 IndexOutOfRangeException. Changed what exceptions we throw to match
8776 2002-06-11 Nick Drochak <ndrochak@gol.com>
8778 * Int64.cs (Parse): Added unique strings to the messages where we throw
8779 a FormatException. Needed these to debug, so just left them in since
8780 they might be useful later. Fixed Currency parsing where we weren't
8781 looking at CurrencyDecimalSeparator, etc.
8783 2002-06-09 Lawrence Pit <loz@cable.a2000.nl>
8785 * DateTime.cs: fixes to pass tests M0 to M6:
8786 if yy pattern then year values >= 30 are in 20th century
8787 rfc1123 pattern is always in GMT, therefor useutc must be false
8788 made GetNow() internal static so it can be called from TimeZone.
8789 * TimeZone.cs: removed dependency on year 2002 from initialization of
8792 2002-06-09 Duncan Mak <duncan@ximian.com>
8794 * Convert.cs (ToType): Rearranged what Exceptions we throw to
8797 2002-06-08 Duncan Mak <duncan@ximian.com>
8799 * Decimal.cs: Added support for the IConvertible interface.
8801 2002-06-08 Martin Baulig <martin@gnome.org>
8803 * Enum.cs (IsDefined): `value' may be of the enum's type itself, it
8804 doesn't necessarily need to be of the enum's underlying type.
8806 2002/06/07 Nick Drochak <ndrochak@gol.com>
8808 * String.cs: Add [Serializable] to class
8809 * SByte.cs (Parse): Add [CLSCompliant(false)] to all the overloads
8811 2002-06-04 Nick Drochak <ndrochak@gol.com>
8813 * Double.cs (Parse): Recognize the group separator string, but still we
8814 don't check the format for the proper number of digits between
8815 separators. Also throw OverflowException when we get Pos or Neg
8816 Infinity from runtime.
8818 2002-06-03 Duncan Mak <duncan@ximian.com>
8820 * Convert.cs (ToDouble): Fixed ToDouble (byte value).
8822 Mon Jun 3 12:18:18 CEST 2002 Paolo Molaro <lupus@ximian.com>
8824 * Type.cs: fixed GetTypeCode.
8826 2002-06-02 Duncan Mak <duncan@ximian.com>
8828 * Convert.cs (ToInt16): use Convert.ToInt16 (int) instead of a direct
8829 cast from an int so that we throw OverFlowException correctly.
8831 (ToInt64): Use a new 64bit version of ConvertToBase.
8833 (ConvertToBase): Add checks for overflow (checks Int32.MinValue
8834 and Int32.MaxValue).
8836 (ConvertFromBase64): New 64-bit version of ConvertFromBase.
8838 2002-06-02 Nick Drochak <ndrochak@gol.com>
8840 * Convert.cs (ToSByte): Check for special value.
8841 * Single.cs (Parse):
8842 * UInt16.cs (Parse):
8843 * UInt32.cs (Parse): Throw OverflowException if negative
8845 2002-06-02 Duncan Mak <duncan@ximian.com>
8847 * Convert.cs (DBNull): Point it to DBNull.Value.
8848 (IsDBNull): Instead of checking typecodes, just check to see if
8849 it's the same as the DBNull field.
8851 2002-06-02 Nick Drochak <ndrochak@gol.com>
8853 * Convert.cs (ConvertFromBase): Detect bad digits correctly.
8855 2002-06-02 Duncan Mak <duncan@ximian.com>
8857 * Char.cs (Parse): Simplify the Exception handling.
8859 * Convert.cs (ToDecimal): Remove call to Math.Round () when
8860 converting from a float.
8862 2002-05-30 Martin Baulig <martin@gnome.org>
8864 * MonoType.cs (GetInterface): Implemented.
8866 Thu May 23 17:17:28 CEST 2002 Paolo Molaro <lupus@ximian.com>
8868 * Activator.cs: implemented CreateInstance ().
8870 2002-05-22 Duncan Mak <duncan@ximian.com>
8872 * Convert.cs (ConvertToBase): Added new 64bit version.
8873 (BuildConvertedString64): New 64bit version of
8874 BuildConvertedString.
8876 This fixes bug 25068.
8878 (ConvertFromBase): Added additional test for checking if the
8879 digits are valid. Thanks to Miguel for coming up with this test.
8881 This fixes bug 25071.
8883 2002-05-21 Duncan Mak <duncan@ximian.com>
8885 * Convert.cs (ToType): Rearranged to fit the new layout of
8888 (conversionTable): Rearranged to fit the layout of the
8889 System.TypeCode enum.
8891 This should fix bug 25075.
8893 2002-05-21 Duncan Mak <duncan@ximian.com>
8895 * Convert.cs (ToString): Fixed the ToString methods. Previously I had
8896 mixed up the two code paths, one for converting to a specific base
8897 (this case), another from converting from a foreign base to base10
8898 (used by ToInt16|32|64 (string, int)). This fixes bug 25068.
8900 * Convert.cs (ToByte)
8901 (ToSByte): Fixed bug 25074. Added more bits to ConvertFromBase so
8902 that we won't confuse FormatException with OverflowException.
8904 2002-05-22 Lawrence Pit <loz@cable.a2000.nl>
8906 * Environment.cs: CommandLine missed spaces between arguments.
8907 Implemented StackTrace. Returning MachineName in UserDomainName
8910 Tue May 21 17:25:49 CEST 2002 Paolo Molaro <lupus@ximian.com>
8912 * MonoCustomAttrs.cs: handle inherit argument.
8914 2002-05-21 Nick Drochak <ndrochak@gol.com>
8916 * Math.cs (Pow): Change icall method name and insert parameter
8917 checks in for infinities and NaN.
8919 2002-05-13 Miguel de Icaza <miguel@ximian.com>
8921 * Double.cs (Parse): Reimplement by cleaning up the string first,
8922 and then passing to strtof in the mono runtime.
8924 * Single.cs (Parse): Use the Double implementation and cast to
8927 2002-05-21 Nick Drochak <ndrochak@gol.com>
8930 (Ceiling): Check for "special" values
8931 (Floor): Check for "special" values
8932 (Round): Fix off-by-one error on decimal shifting
8934 2002-05-20 Lawrence Pit <loz@cable.a2000.nl>
8936 * DateTime.cs: ToString () using "G" format specifier
8938 2002-05-19 Martin Baulig <martin@gnome.org>
8940 * Convert.cs (FromBase64CharArray): Do correct exception handling.
8942 2002-05-19 Martin Baulig <martin@gnome.org>
8944 * Convert.cs (FromBase64CharArray): Convert the char array using
8945 System.Text.UTF8Encoding, not UnicodeEncoding (which is UTF-16) to
8948 2002-05-17 Miguel de Icaza <miguel@ximian.com>
8950 * MonoType.cs: Style changes.
8952 * Type.cs: Style changes.
8954 2002-05-16 Piers Haken <piersh@friksit.com
8956 * UInt64.cs: fix declaration of IConvertible.To* overrides.
8958 2002-05-16 Nick Drochak <ndrochak@gol.com>
8960 * BitConverter.cs (ToString): Add parameter check for invalid start
8963 * Console.cs: Use AutoFlush on the StreamWriter for stdin and stdout
8964 now that StreamWriter uses buffering
8966 2002-05-14 Miguel de Icaza <miguel@ximian.com>
8968 * Double.cs: Oops. Also handle exponents without finding a dot.
8970 2002-05-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8972 * ChangeLog: removed empty entry at the top of the file.
8974 * Int32.cs: made static functions used by Parse internal.
8978 * UInt64.cs: removed static fucntions used by Parse and use the ones
8981 2002-05-12 Daniel Morgan <danmorg@sc.rr.com>
8983 * IServiceProvider.cs: added using System
8985 2002-05-09 Daniel Morgan <danmorg@sc.rr.com>
8987 * Single.cs: copied ToString() and Parse() methods from
8988 Double to Single and modified a tiny bit for Single.
8989 There is still a FIXME for Double and Single about
8990 passing the format and provider info to the icall too.
8992 2002-05-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8997 * UInt64.cs (Parse): don't use Char.IsNumber to test for hex digits.
8998 Don't use a delegate to test for valid digits.
9000 2002-05-01 Duncan Mak <duncan@ximian.com>
9003 * Math.cs: Added missing CLSCompliant attributes where necessary.
9005 2002-04-30 Duncan Mak <duncan@ximian.com>
9007 * ArgumentException.cs (Message):
9008 * ArgumentOutOfRangeException.cs (Message): Added.
9010 2002-04-30 Nick Drochak <ndrochak@gol.com>
9012 * MonoType.cs: Remove unused variable and eliminate a compiler warning.
9014 Mon Apr 29 15:32:02 CEST 2002 Paolo Molaro <lupus@ximian.com>
9016 * Environment.cs: support for Exit(), CommandLine, CommandLineArgs ().
9018 2002-04-28 Duncan Mak <duncan@ximian.com>
9020 * DivideByZeroException.cs: Added missing serialization constructor.
9022 * UnauthorizedAccessException.cs: Added the missing Serializable attribute.
9024 2002-04-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9026 * Math.cs: fix Floor () and Round (). Closes #23960.
9028 2002-04-27 Nick Drochak <ndrochak@gol.com>
9030 * Array.cs (IList.Contains): Should throw a RankException if this is
9031 called on a Rank > 1 array. Not in the docs, but this is what the
9034 2002-04-26 Duncan Mak <duncan@ximian.com>
9036 * MissingMemberException.cs: Made the message variable 'protected'
9037 instead of 'private', so that we can see it in
9038 MissingMethodException and MissingFieldException.
9040 * MissingFieldException.cs:
9041 * MissingMethodException.cs: Added missing (string, string)
9042 constructor, and also the Message property.
9044 2002-04-26 Martin Baulig <martin@gnome.org>
9046 * Enum.cs: Implemented the IConvertible methods.
9048 2002-04-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9050 * SByte.cs: little change in Parse (string) to avoid incorrect
9051 OverflowException thrown (reported by nickd).
9053 2002-04-22 Miguel de Icaza <miguel@ximian.com>
9055 * ValueType.cs: Add Serializable attribute.
9057 * String.cs: ifdef-out out the __arglist Concat function until I
9058 add support for that to mcs.
9060 2002-04-24 Patrik Torstensson <patrik.torstensson@labs2.com>
9062 * AppDomain.cs (GetValue): usage of the correct icall (bug)
9064 Wed Apr 24 21:15:44 CEST 2002 Paolo Molaro <lupus@ximian.com>
9066 * GC.cs: implement most of the methods as icalls.
9068 2002-04-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9070 * DecimalFormatter.cs (ToString): return correct value when the
9071 decimal number is 0.
9073 2002-04-24 Patrik Torstensson <patrik.torstensson@labs2.com>
9075 * Type.cs (GetProperty): fixed call syntax (needs an empty array not null)
9076 * MonoType.cs (GetPropertyImpl) : basic implementation (ignores types, bindingAttr, modifiers)
9078 2002-04-24 Nick Drochak <ndrochak@gol.com>
9080 * Double.cs (Parse): Handle case where there are no digits before the
9081 decimal point, such as ".1".
9083 2002-04-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9088 * UInt64.cs: fixed bug #23738 (hex numbers parsed wrong).
9090 2002-04-23 Patrik Torstensson <patrik.torstensson@labs2.com>
9092 * String.cs (Split): fixed invalid split of count 0 and 1.
9094 2002-04-23 Patrik Torstensson <patrik.torstensson@labs2.com>
9096 * String.cs (LastIndexOf): fixed argument checking.
9097 * String.cs (Equals): made internal for performace.
9099 2002-04-23 Nick Drochak <ndrochak@gol.com>
9101 * String.cs (Join): check argument and throw exception if needed
9103 2002-04-23 Nick Drochak <ndrochak@gol.com>
9105 * String.cs (StartsWith): check argument and throw exception if needed
9107 2002-04-22 Nick Drochak <ndrochak@gol.com>
9109 * String.cs (IndexOfAny): check arguments and throw exceptions as
9110 neccessary. ALso remove some debug WriteLines.
9112 2002-04-20 Dietmar Maurer <dietmar@ximian.com>
9114 * String.cs: use internal constructors
9117 Thu Apr 18 17:16:15 CEST 2002 Paolo Molaro <lupus@ximian.com>
9119 * MonoType.cs: make GetElementType its own icall.
9121 2002-04-18 Nick Drochak <ndrochak@gol.com>
9123 * String.cs: Modified file. Re-add methods needed by the unit tests.
9125 Thu Apr 18 12:38:32 CEST 2002 Paolo Molaro <lupus@ximian.com>
9127 * String.cs: some code speedups and restored GetTypeCode().
9129 2002-04-17 Patrik Torstensson <patrik.torstensson@labs2.com>
9131 * String.cs: New implementation using internal calls.
9133 2002-04-16 Nick Drochak <ndrochak@gol.com>
9135 * DecimalFormatter.cs: Trim off excess null characters from the string
9136 that decimal2string gives back.
9138 2002-04-16 Nick Drochak <ndrochak@gol.com>
9140 * String.cs (SubString): revert my change. I can't reproduce the
9143 2002-04-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9145 * Attribute.cs: added GetHashCode and Equals.
9147 2002-04-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9149 * Enum.cs: little improvements to Format ().
9151 Thu Apr 11 12:28:13 CEST 2002 Paolo Molaro <lupus@ximian.com>
9153 * String.cs: internalcall GetHashCode().
9154 * Array.cS: optimize access to elements.
9156 Wed Apr 10 21:20:19 CEST 2002 Paolo Molaro <lupus@ximian.com>
9158 * String.cs: make IndexOfAny() use an internalcall.
9160 2002-04-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9165 * UInt64.cs: fixed error when testing for validity of flags.
9167 2002-04-11 Nick Drochak <ndrochak@gol.com>
9169 * Double.cs: Use an internal call for ToString(). This is just a simple
9170 implementation to get away from throwing a NotImplementedException.
9172 2002-04-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9177 * UInt64.cs: changed Type.GetType () by typeof (), as suggested by
9181 * Int64.cs: throw an OverFlowException when parsing a string
9182 containing a dot followed by any non '0' number.
9184 2002-04-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9189 * UInt64.cs: added complex Parse ().
9191 2002-04-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9196 * Int64.cs: added complex Parse ().
9198 2002-04-09 Nick Drochak <ndrochak@gol.com>
9200 * Array.cs (BinarySearch): Add checks on paramters before using them
9201 and throw exceptions as needed.
9203 * Enum.cs (Format): Check if [Flags] is applied to enum and convert
9204 "G" format to "F" if so.
9206 Tue Apr 9 13:12:09 CEST 2002 Paolo Molaro <lupus@ximian.com>
9208 * MonoCustomAttrs.cs: return arrays of type Attribute[]
9209 instead of object[].
9211 2002/04/09 Nick Drochak <ndrochak@gol.com>
9213 * String.cs (Substring): Copy only non-null characters to the new
9216 2002-04-09 Nick Drochak <ndrochak@gol.com>
9218 * IntegerFormatter.cs: Don't use a format character to indicate a
9219 custom format was passed in. It was using 'z' to indicate a custom
9220 format, but really it should throw a format exception if the user
9221 tries to use "z" as the format string. Now it does.
9223 * Activator.cs: New File.
9225 2002-04-08 Nick Drochak <ndrochak@gol.com>
9227 * Enum.cs (ToString): Big ugly fix for the case where [Flags] is
9228 applied to an enum. Need to handle the different possible integer
9229 types of an enum somehow. Can anyone say generics?
9231 Mon Apr 8 06:22:42 2002 Piers Haken <piersh@friskit.com>
9233 * Convert.cs: switched the To*(object) methods to use
9234 IConvertible directly instead of calling ChangeType
9236 Sat Apr 6 20:08:41 CEST 2002 Paolo Molaro <lupus@ximian.com>
9238 * ValueType.cs: make Equals() an internalcall.
9240 Fri Apr 5 15:38:54 CEST 2002 Paolo Molaro <lupus@ximian.com>
9242 * Type.cs: also look for nested types in FindMembers.
9243 * MonoType.cs: make GetNestedTypes() an internalcall.
9245 2002-04-05 Nick Drochak <ndrochak@gol.com>
9247 * Enum.cs (Parse): Handle different underlying types.
9249 2002/04/04 Nick Drochak <ndrochak@gol.com>
9251 * Enum.cs (IsDefined): Throw exception when type of value to look for
9252 is not the correct one. Attempt to have it work with string values
9253 too, but not sure if the unit tests are getting that far yet.
9255 2002-04-04 Nick Drochak <ndrochak@gol.com>
9257 * Decimal.cs: Fix a couple of typos.
9259 Wed Apr 3 19:46:00 CEST 2002 Paolo Molaro <lupus@ximian.com>
9261 * Enum.cs: the values array is of the enum and not of the underlying
9262 type. Updates and some bug fixes.
9263 * MonoType.cs: make the internalcall return FullName instead of the
9264 assembly qualified name.
9265 * Type.cs: make ToString () simply return FullName.
9267 2002-04-03 Nick Drochak <ndrochak@gol.com>
9269 * Type.cs (GetTypeCode): provide some of the implementation for this
9270 method. It's still too simplistic to be considered complete.
9272 2002-04-02 Dietmar Maurer <dietmar@ximian.com>
9274 * Object.cs: fixed FieldGetter/FieldSetter signature
9276 2002-04-02 Nick Drochak <ndrochak@gol.com>
9278 * Environment.cs: add MonoTODO's on parts that should have it.
9280 2002-04-01 Nick Drochak <ndrochak@gol.com>
9282 * Enum.cs: added reality checks (check parameters to most methods that
9285 2002-03-30 Dietmar Maurer <dietmar@ximian.com>
9287 * Object.cs: added FieldGetter/FieldSetter
9289 2002-03-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9291 * IntegerFormatter.cs: fixed initialization error in static
9294 2002-03-28 Dietmar Maurer <dietmar@ximian.com>
9296 * Delegate.cs: added new field to store a trampoline function
9298 2002-03-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9300 * IntegerFormatter.cs: added workaround for bug #22668. First patch to
9301 make custom format strings work (not fully functional yet).
9303 2002/03/28 Nick Drochak <ndrochak@gol.com>
9305 * IntegerFormatter.cs: Change class from internal to public. Add
9306 necessary [CLSCompliant(false)] attributes.
9308 2002-03-27 Duco Fijma <duco@lorentz.xs4all.nl>
9309 * _AppDomain.cs, AppDomain.cs: renamed method GetDate to GetData
9312 2002-03-28 Nick Drochak <ndrochak@gol.com>
9314 * Type.cs: Added MonoTODO tags on members that have FIXME, etc.
9316 2002-03-27 Dan Lewis <dihlewis@yahoo.co.uk>
9318 * Console.cs: Modified to get std handles from MonoIO.
9319 * Environment.cs: removed PAL dependencies.
9321 2002-03-25 Miguel de Icaza <miguel@ximian.com>
9323 * String.cs (System): Removed internal enumeration, because
9324 bootstrapping the corlib at this point does not support
9327 * IntPtr.cs: Temporary work-around until I fix the assembly
9330 2002-03-24 Martin Baulig <martin@gnome.org>
9332 * Enum.cs (GetValues): According to the docu this is sorted after
9335 * String.cs (System): Removed enumeration, because it is pretty
9336 hard to support enumerations in /nostdlib mode for the core types.
9338 Tue Mar 19 18:18:49 CET 2002 Paolo Molaro <lupus@ximian.com>
9340 * Array.cs: move error handling in the catch block.
9341 * MulticastDelegate.cs: remove == and != operators that were
9342 removed with the delegate changes (when you add stuff, please do not
9343 remove existing functionality!).
9344 * Type.cs: if a property is not found in a type, search for it
9345 in the parent types, too.
9347 2002-03-18 Dan Lewis <dihlewis@yahoo.co.uk>
9349 * Math.cs: changed to use icall instead of PAL.
9351 2002-03-18 Dietmar Maurer <dietmar@ximian.com>
9353 * Double.cs: added check for NaN (Bug [22082])
9355 2002-03-19 Nick Drochak <ndrochak@gol.com>
9357 * Enum.cs (Equals): check for null and throw if it is.
9358 * Enum.cs (Format): check for null parameters and throw if necessary.
9359 This method still needs more argument checking.
9361 2002-03-18 Dietmar Maurer <dietmar@ximian.com>
9363 * Enum.cs (Equals): check if Enums are of the same type
9365 2002-03-18 Nick Drochak <ndrochak@gol.com>
9367 * Double.cs: Explicitly handle comparisons in CompareTo() for
9368 Positive/Negative Infinity and NaN. Unit Test now passes on Linux.
9370 * Enum.cs(CompareTo): Check types of values before trying to compare.
9371 Throw exceptions if types are invalid or don't match.
9373 2002-03-14 Miguel de Icaza <miguel@ximian.com>
9375 * Array.cs: Add some extra debugging information.
9377 2002-03-15 Nick Drochak <ndrochak@gol.com>
9379 * Array.cs: Added IList and IEnumerable.
9381 2002-03-14 Miguel de Icaza <miguel@ximian.com>
9383 * UInt64.cs, UInt32.cs, UInt16.cs: Mark public parse methods as
9386 2002-03-14 Dietmar Maurer <dietmar@ximian.com>
9388 * Delegate.cs (Equals): also compare method_ptr
9389 (GetHashCode): returm method_ptr as hash
9391 2002-03-13 Duco Fijma <duco@lorentz.xs4all.n>
9392 * TimeSpan.cs: removed the use of Custom Numeric Format Strings,
9393 such as 42.ToString("0000000"), as these are (currently) not implemented
9394 in System.IntegerFormatter. TimeSpan luckely can do with Standard
9395 Numeric Format Strings, such as 42.ToString("D7").
9397 2002-03-12 Duncan Mak <duncan@ximian.com>
9399 * FieldAccessException.cs:
9400 * MethodAccessException.cs:
9401 * PlatformNotSupportedException.cs: Inherit from
9402 MemberAccessException, not SystemException.
9404 * ObsoleteAttribute.cs: Made Message and IsError properties
9407 Tue Mar 12 19:21:18 CET 2002 Paolo Molaro <lupus@ximian.com>
9409 * GC.cs: make SuppressFinalize() a nop.
9410 * Delegate.cs: fix == operator.
9412 2002-03-13 Nick Drochak <ndrochak@gol.com>
9414 * Enum.cs: Add IConvertible methods. Cyclic dependancy fixed in the
9415 runtime that goes with this patch.
9417 2002-03-10 Martin Baulig <martin@gnome.org>
9419 * Int32.cs (Parse): Correctly parse negative numbers.
9421 2002-03-08 Martin Baulig <martin@gnome.org>
9423 * String.cs (Split): Really fix it this time. Also adding several new
9424 testcase to the testsuite.
9426 2002-03-08 Martin Baulig <martin@gnome.org>
9428 * Array.cs (Copy): Optimized: removed duplicate null check, removed
9429 two duplicate GetLowerBound() calls and one duplicate IsValueType.
9431 Fri Mar 8 18:49:19 CET 2002 Paolo Molaro <lupus@ximian.com>
9433 * Object.cs: commit my hacked GetHashCode(): it's good enough for now.
9434 * String.cs: use the dumb code for IndexOf(string): this is worth
9435 15-20 % speedup in mcs compile with mint.
9437 Fri Mar 8 12:45:44 CET 2002 Paolo Molaro <lupus@ximian.com>
9439 * String.cs: revert change to Split() that broke the compiler (hi martin!:-).
9441 2002-03-07 Martin Baulig <martin@gnome.org>
9443 * String.cs (Join): Throw an ArgumentNullException.
9444 (LastIndexOf (string,int,int)): This method does a backwards search,
9445 so startIndex points to the end of value, not to its beginning. Don't
9446 throw an exception if startIndex equals this.Length. Always return -1
9447 if startIndex is smaller than the length of value.
9448 (Replace (string,string)): Replace all occurences of oldValue.
9449 If newValue is null, all occurences of oldValue are to be removed.
9450 (Split (char[],int)): Return an empty array if maxCount is zero, throw
9451 an ArgumentOutOfRangeException if it's less than zero. Return maxValue
9452 elements, not maxValue+1.
9454 Thu Mar 7 17:16:06 CET 2002 Paolo Molaro <lupus@ximian.com>
9456 * MonoType.cs: make GetEvents() an internal call.
9457 * MulticastDelegate.cs: copy the passed in array.
9459 2002-03-06 Martin Baulig <martin@gnome.org>
9461 * Array.cs (Copy): Use FastCopy when appropriate and do correct
9464 2002-03-06 Duco Fijma <duco@lorentz.xs4all.nl>
9465 * CharEnumerator.cs: fixes to CharEnumertor.MoveNext, fixing
9466 some of the failures found be new tests (see ChangeLog in
9467 Test/System). Comments added to this method, based on
9468 the representation invariant of this class, that (try to) explain
9469 why it now should be correct.
9471 2002-03-06 Dietmar Maurer <dietmar@ximian.com>
9473 * Int64.cs (Parse): bug fix for max. negative value.
9475 2002-03-07 Nick Drochak <ndrochak@gol.com>
9477 * RuntimeTypeHandle.cs: Add Serializable attribute as the docs say.
9478 I need to understand what the difference between the attribute and
9481 2002-03-06 Martin Baulig <martin@gnome.org>
9483 * Array.cs (Copy): Always throw an ArrayTypeMismatchException, not
9484 an InvalidCastException if the widening conversion failed. See
9485 testcases #M94-#M96.
9487 * Array.cs (CopyTo): Bug fix from Ajay Dwivedi, correctly handle
9488 arrays with non-zero lower bounds. Also adding testcases #F10-#F13
9491 * Array.cs (CopyTo): Reverted my last change, it was incorrect.
9492 (Copy): Actually allow copying multi-dimensional arrays.
9494 2002-03-05 Duncan Mak <duncan@ximian.com>
9497 (DBNull) Added the missing field.
9498 (IsDBNull) Fixed typo.
9499 (ToByte (string, int)) Implemented.
9500 (ToString (byte, int)) Implemented.
9502 (BuildConvertedString) internal functions used for converting values to
9510 * UInt32.cs: Implemented the IConvertible interface.
9512 * CharEnumerator.cs: Renamed to variables to be clearer and
9513 changed some of the tests to conform to the 1.0 spec.
9515 2002-03-06 Martin Baulig <martin@gnome.org>
9517 * Array.cs (Copy): Calculate absolute array position here and use
9518 GetValueImpl() and SetValueImpl() with that position. We can now
9519 copy multi-dimensional arrays.
9520 (CopyTo): Small bug fix.
9522 2002-03-05 Duco Fijma <duco@lorentz.xs4all.nl>
9524 * Version.cs: CompareTo changed according the LAMESPEC discovered by
9525 Nick (See VersionTest.cs).
9526 * CharEnumerator.cs: fixed two bugs in MoveNext. It had an off-by-one
9527 error comparing the current position (idx) against the length of the
9528 string iterated and it set idx to an unrecognized special value (-2)
9530 Tue Mar 5 17:34:14 CET 2002 Paolo Molaro <lupus@ximian.com>
9532 * SByte.cs, UInt64.cs: implement IConvertible interface. Nobody wants
9533 to do this dirty work, but someone has to do it (and I need it to pass
9534 the "200 sample tests compiled on linux" mark).
9536 2002-03-06 Nick Drochak <ndrochak@gol.com>
9539 * DecimalFormatter.cs
9546 * RuntimeMethodHandle.cs
9547 * RuntimeTypeHandle.cs
9550 Add [MonoTODO]'s to places where we currently throw a
9551 NotImplementedException.
9553 2002-03-05 Dietmar Maurer <dietmar@ximian.com>
9555 * Int16.cs (Parse): do not overflow on max negative value
9557 * Int32.cs (Parse): do not overflow on max negative value
9559 Mon Mar 4 20:36:05 CET 2002 Paolo Molaro <lupus@ximian.com>
9561 * Type.cs: fixed IsClass.
9562 * MonoType.cs: fixed MemberType, IsPrimitiveImpl, IsPointerImpl,
9563 IsByRefImpl. Added GetInterfaces().
9564 * IServiceProvider.cs: compilation fix.
9566 Mon Mar 4 18:37:03 CET 2002 Paolo Molaro <lupus@ximian.com>
9568 * Array.cs: allow copying an empty array to an empty array.
9570 Mon Mar 4 17:59:16 CET 2002 Paolo Molaro <lupus@ximian.com>
9572 * String.cs: fixed LastIndexOf (string) to do a bit of argument
9575 2002-03-04 Duco Fijma <duco@lorentz.xs4all.nl>
9576 * Version.cs: many fixes to failures found by the newly created
9577 test cases for this class. Specifically, the CompareTo member
9578 returned wrong values due to the use of Int32.MaxValue as a special
9579 value indicating an "undefined" version component. Also implemented the
9580 missing operators (==, <, >, etc.), one missing constructor and
9581 and some exception throwing.
9583 2002-03-04 Nick Drochak <ndrochak@gol.com>
9585 * IServiceProvider.cs: Add missing attribute: ComVisible(false)
9586 * Attribute.cs: Add missing attributes: Serializable and
9587 AttributeUsage(AttributeTargets.All)
9589 Mon Mar 4 11:26:49 CET 2002 Paolo Molaro <lupus@ximian.com>
9591 * MonoType.cs: implemented GetConstructors(), GetFields(),
9592 GetMethods(), GetProperties().
9593 * Object.cs: added debugging icall obj_address().
9594 * Type.cs: fixed the binding flags for some Get* methods.
9595 Implemented FindMembers() as calls to the specific GetMember
9598 2002-03-01 Duco Fijma <duco@lorentz.xs4all.nl>
9599 * BitConverter.cs: fixed one little bug: ToString(s, n, 0)
9600 should give an exception for n>=s.Length.
9602 2002-03-01 Martin Baulig <martin@gnome.org>
9604 * Array.cs: More argument checking and bug fixing.
9606 2002-03-01 Miguel de Icaza <miguel@ximian.com>
9608 * BitConverter.cs: Indentation match
9610 * AppDomain.cs: Added MonoTODOs to this too.
9612 * Buffer.cs: Added MonoTODOs to this.
9614 2002-03-01 Martin Baulig <martin@gnome.org>
9616 * Array.cs: Added argument checking to all methods where it was missing.
9618 2002-03-01 Duco Fijma <duco@lorentz.xs4all.nl>
9620 * BitConverter.cs: Fixed bugs in ToString methods
9622 Fri Mar 1 15:20:00 CET 2002 Paolo Molaro <lupus@ximian.com>
9624 * MulticastDelegate.cs: implement operators so mcs3 can be used on linux.
9626 2002-03-01 Nick Drochak <ndrochak@gol.com>
9628 * BitConverter.cs: Throw ArgumentException like mscorlib, instead of
9629 ArgumentOutOfRangeException like the docs say.
9631 2002-03-01 Martin Baulig <martin@gnome.org>
9633 * Enum.cs (CompareTo): Correctly override this method from IComparable.
9635 * Console.cs (setIn, setOut, setError): It's called SetIn, SetOut, SetError.
9637 2002-02-28 Martin Baulig <martin@gnome.org>
9639 * String.cs: This file now passes the testsuite on Linux :-)
9641 * String.cs (Intern, IsInterned): The interncalls are now called _Intern and _IsInterned;
9642 make them private and provide C# wrappers which do proper argument checking.
9644 * String.cs (Format): Correctly handle escaped brackets.
9646 * String.cs (_CompareChar): New internal function which compares two chars.
9647 (_Compare): Provide an internal compare method which can do all sorts of
9648 comparision and call it from all the Compare() methods. Also fixed a lot of
9649 bugs here, this code now actually passes the testsuite.
9651 2002-02-28 Duncan Mak <duncan@ximian.com>
9653 * Convert.cs: Added the missing methods. The new class status page
9654 kicks ass, it even found my typos! Woohoo!
9655 (ConvertFromBase): Moved the Exception throwing in here and
9656 removed the other occurances so it's all centralized now.
9657 (ISDBNull): Implemented.
9658 (GetTypeCode): Implemented.
9660 2002-02-27 Duco Fijma <duco@lorentz.xs4all.nl>
9661 * Guid.cs: Guid.ToString("") and Guid.ToString(null) is now understood as Guid.ToString("D")
9662 just as in mscorlib. There is (probably) a documentation bug in the MS FrameWork SDK, which
9663 states that a lacking format should be interpreted as "N".
9664 Also added [Serializable] attribute
9665 * TimeSpan.cs: some formatting and added the [Serializable] attribute
9667 2002-02-26 Duncan Mak <duncan@ximian.com>
9669 * WeakReference.cs: Committed for Ajay Kumar Dwivedi.
9671 2002-02-26 Martin Baulig <martin@gnome.org>
9673 * TimeZone.cs: Use an internal enum rather than magic numbers to access the
9674 fields of the interncall GetTimeZoneData.
9676 * DateTime.cs: Implemented Parse and fixed a few bugs.
9678 * String.cs (TrimStart): Small fix.
9680 2002-02-26 Martin Baulig <martin@gnome.org>
9682 * DateTime.cs: ParseExact is now fully functional.
9684 * String.cs (TrimEnd): Small fix.
9686 2002-02-26 Duco Fijma <duco@lorentz.xs4all.nl>
9687 * TimeSpan.cs: Added method TimeSpan.FromMilliseconds, mysteriously
9688 missing for about six months.
9690 Tue Feb 26 14:21:19 CET 2002 Paolo Molaro <lupus@ximian.com>
9692 * UInt64.cs: fixed Parse method () to handle some of the NumberStyle flags.
9694 2002-02-26 Martin Baulig <martin@gnome.org>
9696 * DateTime.cs: Miguel already committed this, but there was still a
9697 ChangeLog entry for this missing ....
9698 We're now reusing functionality from TimeSpan, printing dates is
9699 fully implemented, currently working on parsing.
9701 * TimeZone.cs: Fully implemented this. There's a new InternCall in the
9704 Fri Feb 22 18:47:08 CET 2002 Paolo Molaro <lupus@ximian.com>
9706 * MonoType.cs: disable constructor.
9707 * Object.cs: make GetType() an internalcall.
9708 * Type.cs: added correct bindingflags to GetMethods ().
9709 All such calls should be reviewed to use the correct flags.
9711 Thu Feb 21 19:23:46 CET 2002 Paolo Molaro <lupus@ximian.com>
9713 * Type.cs, MonoType.cs: type_is_subtype_of () changed to include extra
9716 Thu Feb 21 16:56:51 CET 2002 Paolo Molaro <lupus@ximian.com>
9718 * Type.cs: implemented IsAssignableFrom.
9720 2002-02-21 Duco Fijma <duco@lorentz.xs4all.nl>
9721 * Guid.cs: fixed Guid.Guid(string) ctor. Changed format:
9722 "{0xdddddddd,0xdddd,0xdddd,{0xdd},{0xdd},{0xdd},{0xdd},{0xdd},{0xdd}}"
9723 to "{0xdddddddd,0xdddd,0xdddd,{0xdd,0xdd,0xdd,0xdd,0xdd,0xdd}}"
9724 The former is documented by Microsoft. The latter is how they
9725 actually implemented it in mscorlib:-)
9727 Tue Feb 19 20:34:35 CET 2002 Paolo Molaro <lupus@ximian.com>
9729 * MonoCustomAttrs.cs: hooks to get the custom attributes from the
9731 * MonoType.cs: Implemented custom attributes methods.
9734 2002-02-21 Duco Fijma <duco@lorentz.xs4all.nl>
9737 Tue Feb 19 20:34:35 CET 2002 Paolo Molaro <lupus@ximian.com>
9739 * MonoCustomAttrs.cs: hooks to get the custom attributes from the
9741 * MonoType.cs: Implemented custom attributes methods.
9743 2002-02-19 Dietmar Maurer <dietmar@ximian.com>
9745 * Array.cs (CopyTo): use GetLength() instead of GetUpperBound()
9747 2002-02-19 Duncan Mak <duncan@ximian.com>
9749 * Convert.cs: Finished up the missing methods in Convert. Added a
9750 new private method ConvertFromBase.
9752 2002-02-19 Dietmar Maurer <dietmar@ximian.com>
9754 * String.cs: impl. IConvertible interface
9756 2002-02-18 Duco Fijma <duco@lorentz.xs4all.nl>
9757 * Guid.cs: actual implementation for Guid.Guid(string) Ctor
9759 2002-02-18 Duncan Mak <duncan@ximian.com>
9761 * Convert.cs: Changed from using Type.GetType (string) to just
9762 typeof (). Probably will speed things up a bit?
9764 2002-02-18 Ajay Kumar Dwivedi <AjayKumar.Dwivedi@dresdner-bank.com>
9767 1. Fix for GetUpperBound to return correct values
9768 2. made some Properties virtual
9769 3. Adds IsFixedSize and IsReadOnly properties.
9770 4. changes CreateInstance(Type,int[],int[]) to throw Exception
9771 when third arg is null. InternalCall CreateInstance changed to
9773 5. Fixed array.GetUpperBound at a couple of places
9774 6. IndexOf and LastIndexOf now use Object.Equals instead of "=="
9775 7. Added two FIXME's in BinarySearch functions.
9777 2002-02-17 Duncan Mak <duncan@ximian.com>
9779 * TimeZone.cs: Applied the rest of Ajay's patch for
9780 IsDaylightSavingTime. Thanks a lot for the nice explanation of how
9783 2002-02-17 Duco Fijma <duco@lorentz.xs4all.nl>
9784 * Guid.cs: added stub for Guid(string) ctor
9786 2002-02-17 Duncan Mak <duncan@ximian.com>
9788 * Convert.cs: Near-complete implementation of Convert.cs
9790 Added all the To* methods taking (object) and
9791 (object, IFormatProvider) as parameters.
9793 Added [CLSCompliant (false)] attributes to methods dealing with
9796 Added the missing section on converting to and from DateTime. Only
9797 6 missing methods, all marked with MonoTODOs. Will tackle them later.
9799 2002-02-16 Duncan Mak <duncan@ximian.com>
9801 * TimeZone.cs: patch from Ajay Kumar Dwivedi (adwiv@yahoo.com) to
9802 make IsDaylightSavingTime (DateTime) call
9803 IsDaylightSavingTime (DateTime, DaylightTime).
9805 Added internal class CurrentTimeZone from Ajay. It needs more work
9806 to fill in the appropriate internal calls.
9808 Sat Feb 16 12:41:41 CET 2002 Paolo Molaro <lupus@ximian.com>
9810 * Type.cs: fix IsClass.
9812 Sat Feb 16 12:02:02 CET 2002 Paolo Molaro <lupus@ximian.com>
9814 * String.cs: fix Trim().
9816 Fri Feb 15 21:02:46 CET 2002 Paolo Molaro <lupus@ximian.com>
9818 * String.cs: fix more off by one errors.
9820 Thu Feb 14 18:54:09 CET 2002 Paolo Molaro <lupus@ximian.com>
9822 * MonoType.cs: fix IsValueTypeImpl.
9823 * Type.cs: fix IsEnum. Implement Equals methods.
9825 Wed Feb 13 21:50:13 CET 2002 Paolo Molaro <lupus@ximian.com>
9827 * Int32.cs: implement IConvertible interface.
9829 2002-02-12 Duncan Mak <duncan@ximian.com>
9831 * TimeZone.cs: Implemented and added to CVS.
9833 2002-02-11 Duncan Mak <duncan@ximian.com>
9835 * Convert.cs: Implemented the ChangeType () methods.
9837 Mon Feb 11 19:48:58 CET 2002 Paolo Molaro <lupus@ximian.com>
9839 * Array.cs: make Clone() an internal call.
9841 2002-02-09 Duco Fijma <duco@lorentz.xs4all.nl>
9842 * Changed Guid.NewGuid so that it can use both System.Random and
9843 System.Security.Cryptography.RandomNumberGenerator
9845 2002-02-09 Duco Fijma <duco@lorentz.xs4all.nl>
9846 * First version of Guid.NewGuid
9848 2002-02-08 Duncan Mak <duncan@ximian.com>
9850 * RuntimeArgumentHandle.cs: Added to CVS.
9852 Fri Feb 8 19:14:54 CET 2002 Paolo Molaro <lupus@ximian.com>
9854 * CrossAppDomainDelegate.cs, AssemblyLoadEventHandler.cs,
9855 UnhandledExceptionEventHandler.cs: added delegates.
9857 Fri Feb 8 18:06:20 CET 2002 Paolo Molaro <lupus@ximian.com>
9859 * MarshalByRefObject.cs: add ToString () method
9860 (apparently needed by nunit).
9861 * _AppDomain.cs: uncomment ToString(): dietmar fixed the bug triggered
9862 by it in the runtime.
9864 2002-02-08 Dan Lewis <dihlewis@yahoo.co.uk>
9866 * String.cs (Format): implemented
9868 2002-02-07 Duncan Mak <duncan@ximian.com>
9870 * DuplicateWaitObjectException:
9871 * InvalidCastException:
9872 * NotImplementedException:
9873 * NotSupportedException:
9874 * NullReferenceException:
9875 * OutOfMemoryException:
9876 * OverflowException:
9878 * StackOverflowException.cs:
9879 * UnauthorizedAccessException: Added missing constructor used for serialization.
9881 2002-02-07 Dietmar Maurer <dietmar@ximian.com>
9883 * String.cs (System.Compare): bug fix
9885 2002-02-06 Dietmar Maurer <dietmar@ximian.com>
9887 * Enum.cs (Parse, GetHashCode): impl.
9889 2002-02-05 Duncan Mak <duncan@ximian.com>
9891 * DBNull.cs: This is my first crack at the DBNull class. I think I
9892 actually got most of the IConvertible methods right, but I haven't
9893 done the research to test whether or not this is the correct
9894 behavior. IConvertible.ToType () is the most iffy of all, IMHO.
9896 * DllNotFoundException.cs: Inherits from TypeLoadException, not SystemException.
9898 2002-02-05 Dietmar Maurer <dietmar@ximian.com>
9900 * Enum.cs: added more functionality (GetName, ToObject, Equals)
9902 2002-01-31 Duncan Mak <duncan@ximian.com>
9904 * InvalidOperationException.cs:
9905 * NotFiniteNumberException.cs:
9906 * ObjectDisposedException.cs:
9907 * TypeInitializationException.cs: Added missing bits for serialization/
9909 * AppDomainUnloadedException.cs:
9910 * ApplicationException.cs:
9911 * ArgumentOutOfRangeException.cs:
9912 * ArithmeticException.cs:
9913 * ArrayTypeMismatchException:
9914 * BadImageFormatException.cs:
9916 * MissingMemberException.cs:
9917 * TypeLoadException.cs: Added missing bits for serialization.
9919 2002-01-30 Duco Fijma <duco@lorentz.xs4all.nl>
9920 * Guid.cs: implemented everything but Guid.NewGuid
9922 Tue Jan 29 22:32:36 CET 2002 Paolo Molaro <lupus@ximian.com>
9924 * _AppDomain.cs: remove ToString() method: it doesn't seem right
9925 to have it in this interface and it screws up the method vtable setup.
9927 2002-01-28 Andrei Zmievski <andrei@php.net>
9929 * Double.cs: implemented IConvertible interface.
9931 2002-01-28 Miguel de Icaza <miguel@ximian.com>
9933 * ArgumentException.cs: Implement serialization constructor.
9934 (GetObjectData): Implement serializer.
9936 * ArgumentNullException.cs: Implement serialization constructor.
9938 * Exception.cs: Implement serialization constructor.
9939 (GetObjectData): Implement serializer.
9941 2002-01-23 Miguel de Icaza <miguel@ximian.com>
9943 * DateTime.cs (UnixEpoch): The Begining of the Unix epoch.
9945 2002-01-23 Duncan Mak <duncan@ximian.com>
9947 * EntryPointNotFoundException.cs:
9948 * FormatException: Added missing constructor and related bits.
9950 * TypeLoadException: Added missing constructor, methods and properties.
9952 2002-01-23 Miguel de Icaza <miguel@ximian.com>
9954 * AppDomain.cs (GetAssemblies): Use foreach construct instead of
9955 manually getting the enumerator.
9957 (AppDomain.AppDomain): Prime the loaded assemblies with the
9958 assemblies loaded by the runtime in our behalf.
9960 * AppDomainSetup.cs: Remove private keyword, that is the default.
9961 Add a new property DisallowPublisherPolicy.
9963 * AppDomain.cs (AppDomain.GetAssemblies): Implement.
9965 Tue Jan 22 22:51:48 CET 2002 Paolo Molaro <lupus@ximian.com>
9967 * MonoType.cs, Type.cs: many updates, corrected implementation,
9970 2002-01-20 Andrei Zmievski <andrei@php.net>
9973 * Char.cs: implemented IConvertible interface.
9975 * Boolean.cs: use our own ToString() method directly.
9977 2002-01-20 Duncan Mak <duncan@ximian.com>
9979 * Files I commited recently: Fixed indentation style.
9981 2002-01-20 Nick Drochak <ndrochak@gol.com>
9983 * SerializableAttribute.cs: this attrib can be used on enums, structs,
9984 and delegates too. Added the appropriate usage flags.
9986 2002-01-18 Duncan Mak <duncan@ximian.com>
9988 * CharEnumerator.cs: Implemented.
9989 * String.cs (System): Fixed the GetEnumerator () method(s).
9991 * ObsoleteAttribute.cs:
9992 * STAThreadAttribute.cs:
9993 * MTAThreadAttribute.cs:
9994 * ThreadStaticAttribute.cs:
9995 * LoaderOptimizationAttribute.cs:
9996 * PlatformNotSupportedException.cs:
9997 * LoaderOptimization.cs: Added to CVS.
9999 2002-01-18 Duncan Mak <duncan@ximian.com>
10001 * AppDomainUnloadedException.cs:
10002 * MethodAccessException.cs:
10003 * ContextMarshalException.cs:
10004 * CannotUnloadAppDomainException.cs:
10005 * DllNotFoundException.cs:
10006 * EntryPointNotFoundException.cs:
10007 * FieldAccessException.cs:
10008 * TypeUnloadedException.cs:
10009 * MissingFieldException.cs: Added to CVS.
10011 * ApplicationException.cs:
10012 * MemberAccessException.cs:
10013 * MissingMemberException.cs
10014 * MissingMethodException.cs:
10015 * SystemException.cs: Added [Serializable] attribute.
10017 * Exception.cs: Added [Serializable] attribute, made properties
10018 'Message', 'Source' and 'StackTrace' virtual methods, per 1.0
10021 * ContextStaticAttribute.cs: Added [Serializable] attribute and
10022 put in the missing constructor.
10024 * Environment.cs: Commented out references to
10025 EnvironmentPermissionAttribute, because they're just stubbed out
10026 right now and has no implementation.
10028 2002-01-16 Andrei Zmievski <andrei@php.net>
10030 * Boolean.cs: implemented IConvertible interface
10032 2002-01-15 Nick Drochak <ndrochak@gol.com>
10034 * ResolveEventArgs.cs: class should derive from EventArgs.
10036 2002-01-14 Miguel de Icaza <miguel@ximian.com>
10038 * String.cs (System): Use DefaultMemberName for the String class.
10040 Mon Jan 14 17:06:40 CET 2002 Paolo Molaro <lupus@ximian.com>
10042 * String.cs: use IndexerName in index char accessor.
10044 Thu Jan 10 21:05:23 CET 2002 Paolo Molaro <lupus@ximian.com>
10046 * MonoType.cs: add rank to MonoTypeInfo and implement GetArrayRank.
10047 * String.c: eliminate 64k+ method calls in search.
10048 * Type.cs: handle byref and array types in ToString ().
10050 2002-01-09 Duco Fijma <duco@lorentz.xs4all.nl>
10052 * Guid.cs: created first version
10054 2002-01-10 Dietmar Maurer <dietmar@ximian.com>
10056 * MonoType.cs: added missing TypeAttributes to MonoTypeInfo
10058 Wed Jan 9 19:35:07 CET 2002 Paolo Molaro <lupus@ximian.com>
10060 * MulticastDelegate.cs: add == and != operator stubs.
10061 * String.cs: check for null in == operator.
10062 * Type.cs: use a virtual method to get TypeAttributes.
10064 Tue Jan 8 23:30:19 EST 2002 Matt Kimball <matt@kimball.net>
10065 * String.cs: Fixed several off-by-one errors in LastIndexOf* methods
10067 2002-01-09 Nick Drochak <ndrochak@gol.com>
10069 * Environment.cs: Comment out Security attribute and put a MonoTODO
10070 there as a reminder. We need mcs magic to handle security attributes in
10073 2002-01-07 Duco Fijma <duco@lorentz.xs4all.nl>
10074 * Created IAppDomainSetup.cs
10076 2002-01-06 Duco Fijma <duco@lorentz.xs4all.nl>
10077 * Created System._AppDomain interface in _AppDomain.cs
10079 2002-01-06 Nick Drochak <ndrochak@gol.com>
10081 * ResolveEventArgs.cs: New File, completely implemented! ;)
10083 Sat Jan 5 15:53:50 CET 2002 Paolo Molaro <lupus@ximian.com>
10085 * Enum.cs: dummy ToString impl.
10086 * String.cs: dummy format implementations to get compiler errors
10088 * Type.cs: implemented filter delegates. FindMembers runs the filter, now.
10090 2002-01-05 Ravi Pratap <ravi@ximian.com>
10092 * TODOAttribute.cs : Augment some more; provide two constructors
10093 with support for a comment too.
10095 2002-01-05 Nick Drochak <ndrochak@gol.com>
10097 * Uncommented those MonoTODO's now that Ravi's got
10100 2001-01-04 Ravi Pratap <ravi@ximian.com>
10102 * TODOAttribute.cs : Actually add this time ;-)
10104 Change name to MonoTODO.
10106 2002-01-04 Jeffrey Stedfast <fejj@ximian.com>
10108 * String.cs (Trim): Fixed a few logic bugs in the code that
10109 calculated how much to trim off the end of the string.
10111 2001-01-04 Nick Drochak <ndrochak@gol.com>
10113 * Commented out the [TODO] attributes for now. We don't have the
10114 class written. Also changed it to [MonoTODO]
10116 2002-01-04 Ravi Pratap <ravi@ximian.com>
10118 * TODOAttribute.cs : Add. We use this attribute to tag all bits in
10119 our class libraries that are incomplete.
10121 * Array.cs : Apply attribute wherever we find a FIXME which says
10122 we need something to be implemented there.
10124 * Int32.cs : Ditto.
10126 * MulticastDelegate.cs : Ditto.
10128 * RuntimeFieldHandler.cs, RuntimeMethodHandle.cs,
10129 RuntimeTypeHandle.cs : Ditto.
10131 * String.cs : Ditto.
10135 * Byte.cs, Char.cs, ContextBoundObject.cs, DateTime.cs, Delegate.cs : Ditto.
10137 * Enum.cs, Environment.cs, Exception.cs, Int64.cs, SByte.cs, Single.cs,
10138 UInt16.cs, UInt32.cs, ValueType.cs: Ditto.
10140 * Byte.cs, Char.cs, ContextBoundObject.cs, DateTime.cs,
10141 Delegate.cs : Ditto.
10143 * Enum.cs, Environment.cs, Exception.cs, Int64.cs, SByte.cs,
10144 Single.cs, UInt16.cs, UInt32.cs, ValueType.cs: Ditto.
10146 Thu Jan 3 23:24:04 CET 2002 Paolo Molaro <lupus@ximian.com>
10148 * Delegate.cs: add Remove() stub.
10149 * Enum.cs: add ToObject().
10150 * Type.cs: add IsEnum property.
10152 2002-01-03 Kristian Rietveld <kris@gtk.org>
10154 * Convert.cs: add non-CLS-compliant ToBoolean methods for char,
10155 DateTime and object.
10157 2001-12-30 Nick Drochak <ndrochak@gol.com>
10159 * Byte.cs (Parse): Add comments to aid in testing.
10161 2001-12-21 Miguel de Icaza <miguel@ximian.com>
10163 * Char.cs (Parse): Implement.
10165 * Byte.cs (Parse): Implement a fast parser.
10167 * SByte.cs (Parse): Implement a fast parser.
10169 * UInt16.cs (Parse): Implement a fast parser.
10171 * Int16.cs (Parse): Implement a fast parser.
10173 * UInt32.cs (Parse): Implement a fast parser.
10175 * Int32.cs (Parse): Implement a fast parser.
10177 Fri Dec 21 15:14:52 CET 2001 Paolo Molaro <lupus@ximian.com>
10179 * Array.cs: fix null ref in sort code.
10180 * UInt64.cs: add bare-bones parse.
10182 Thu Dec 20 15:29:52 CET 2001 Paolo Molaro <lupus@ximian.com>
10184 * Byte.cs: removed use of Regexes.
10186 Tue Dec 18 18:39:54 CET 2001 Paolo Molaro <lupus@ximian.com>
10188 * Enum.cs: implemented GetValues(), GetNames(), GetName(),
10189 IsDefined(), GetUnderlyingType().
10190 * String.cs: fix one instance of Compare().
10191 * Type.cs: implemented GetProperties(), GetProperty().
10193 Thu Dec 13 20:10:57 CET 2001 Paolo Molaro <lupus@ximian.com>
10195 * Array.cs: implement CopyTo ().
10196 * Char.cs: implement ToString ().
10197 * Exception.cs: bugfix.
10198 * Int32.cs: bare-bones Parse ().
10199 * MonoType.cs: query the needed info with an internalcall.
10200 * String.cs: speedups, bugfixes, reduced copies.
10201 * Type.cs: added missing fields. Implemented many of the Is*
10202 properties. Implemented GetMethod(), GetConstructor(), GetMethods(),
10203 GetFields(), FindMembers(), ToString().
10205 2001-12-11 Dick Porter <dick@ximian.com>
10207 * DateTime.cs: Implemented FromFileTime() and ToFileTime()
10209 * Console.cs: Use handles rather than casting file descriptors
10211 2001-12-08 Nick Drochak <ndrochak@gol.com>
10213 * Byte.cs (Parse): Start implementation. Parse(string) works, but
10214 now we need to handle other formats
10216 2001-12-06 Dietmar Maurer <dietmar@ximian.com>
10218 * DateTime.cs: added an icall to GetNow()
10220 2001-12-04 Dietmar Maurer <dietmar@ximian.com>
10222 * Double.cs: added the parse method from Bob Smith
10224 2001-11-28 Miguel de Icaza <miguel@ximian.com>
10226 * UInt64.cs: ditto.
10228 * UInt32.cs: ditto.
10230 * Int32.cs (Int32.CompareTo): Fix because we can not just
10231 substract the values.
10233 Return possitive value if the object is null.
10235 * Boolean.cs: (Boolean.CompareTo): ditto.
10237 * Int16.cs (Int16.CompareTo): ditto.
10239 * Byte.cs (Byte.CompareTo): ditto.
10241 * SByte.cs (SByte.CompareTo): ditto.
10243 * Char.cs (Char.CompareTo): ditto.
10245 * Decimal.cs (Decimal.CompareTo): ditto.
10247 * Int64.cs (Int64.CompareTo): ditto.
10249 * Single.cs: Ditto.
10251 * UInt16.cs: Ditto.
10253 2001-11-28 Nick Drochak <ndrochak@gol.com>
10255 * Byte.cs: Throw NotImplementedException for Parse.
10257 2001-11-27 Derek Holden <dholden@draper.com>
10259 * IntegerFormatter.cs: Formatting of type "Number" was not
10260 using NumberFormatInfo.NumberNegativePattern.
10262 2001-11-26 Dick Porter <dick@ximian.com>
10264 * LocalDataStoreSlot.cs: No need to delete a system TLS slot in
10265 the finalise routine any more
10267 2001-11-21 Miguel de Icaza <miguel@ximian.com>
10269 * ApplicationException.cs: internationalize by adding calls to
10270 Locale.GetText (). And throw NotImplementedExceptions on calls
10271 that we have to implement.
10273 * Version.cs: Ditto.
10275 * ValueType.cs: ditto.
10277 * UnauthorizedAccessException.cs: ditto.
10279 * UInt32.cs: ditto.
10281 * UInt64.cs: ditto.
10283 * UInt16.cs: ditto.
10285 * TypeLoadException.cs: ditto
10287 * TypeInitializationException.cs: ditto.
10291 * TimeSpan.cs: ditto.
10293 * SystemException.cs: ditto.
10295 * String.cs: ditto.
10297 * StackOverflowException.cs: ditto.x
10299 * Single.cs: ditto.
10303 * RuntimeTypeHandle.cs: ditto.
10305 * RuntimeMethodHandle.cs: ditto.
10307 * RuntimeFieldHandle.cs: ditto.
10309 * Random.cs: ditto.
10311 * OutOfMemoryException.cs: ditto.
10313 * OperatingSystem.cs: ditto.
10315 * ObjectDisposedException.cs: ditto.
10317 * NullReferenceException.cs: ditto.
10319 * NotImplementedException.cs: ditto.
10321 * NotFiniteNumberException.cs: ditto.o
10323 * MulticastNotSupportedException.cs: ditto.
10325 * MissingMethodException.cs: ditto.
10327 * MemberAccessException.cs: ditto.
10331 * InvalidCastException.cs: ditto.
10333 * IntegerFormatter.cs: ditto.
10339 * IndexOutOfRangeException.cs: ditto.
10341 * Environment.cs: ditto
10345 * DuplicateWaitObjectException.cs: ditto.
10347 * DivideByZeroException.cs: ditto.
10349 * Delegate.cs: ditto
10351 * DecimalFormatter.cs: ditto.
10353 * Decimal.cs: ditto.
10355 * DateTime.cs: ditto.
10357 * Convert.cs: ditto.
10363 * Boolean.cs: ditto.
10365 * ArrayTypeMismatchException.cs: ditto.
10367 * ArithmeticException.cs: ditto.
10369 * ArgumentOutOfRangeException.cs: ditto.
10371 * ArgumentNullException.cs: ditto.
10373 * Enum.cs: Make it derive from ValueType, add CompareTo method.
10375 * Attribute.cs: Reformat.
10377 2001-11-14 Miguel de Icaza <miguel@ximian.com>
10379 * Decimal.cs, Double.cs, Byte.cs, Char.cs, Int16, UInt16, Int32,
10380 UInt32, Int64, UInt64, SByte, Single (CompareTo): Throw the
10381 exception if the value is null too.
10383 * Char.cs (CompareTo): ditto.
10385 * ApplicationException.cs: Added constructor that does serialization.
10387 * ParamArrayAttribute.cs: Define attribute correctly.
10389 Wed Nov 14 16:31:19 CET 2001 Paolo Molaro <lupus@ximian.com>
10391 * AppDomain.cs: rename dummy interface _AppDomain to AppDomain_Intf.
10392 * Array.cs: fix Array.Copy.
10393 * AssemblyLoadEventArgs.cs: rename field.
10394 * CLSCompliantAttribute.cs: use correct name for the class.
10395 * Char.cs: fix IsLetter.
10396 * Console.cs, DateTime.cs, Decimal.cs, IConvertible.cs, Math.cs,
10397 SByte.cs, UInt16.cs, UInt32.cs, UInt64.cs, UIntPtr.cs: CLSCompliant updates.
10398 * Convert.cs: CLSCompliant updates, add ChangeType() methods.
10399 * Delegate.cs: renamed target field to m_target.
10400 * Enum.cs: added missing methods.
10401 * MonoType.cs: add a constructor and some needed properties.
10402 * Object.cs: implement GetType().
10403 * String.cs: CLSCompliant updates. Fixes everywhere to remove the
10405 * Type.cs: add missing methods/properties.
10407 2001-11-10 Sean MacIsaac <macisaac@ximian.com>
10409 * AttributeUseage.cs: Should define AttributeUsageAttribute.
10411 * CLSCompliant.cs: Marked with AttributeUsage attribute.
10413 * Decimal.cs: Fixed CLSCompliant attributes.
10415 * Type.cs: changed _impl to internal (needs to be accessable by
10418 (TypeHandle): Marked as abstract, implementation removed.
10420 (IsNotPublic, IsPublic, GetMethods, GetPropery, GetConstructor,
10421 GetMethod): Added stub implementations so NUnit would link against
10424 Tue Nov 6 09:11:43 CET 2001 Paolo Molaro <lupus@ximian.com>
10426 * AppDomain.cs: use an internal constructor for AssemblyBuilder.
10428 2001-11-05 Miguel de Icaza <miguel@ximian.com>
10430 * NonSerializedAttribute.cs: Add AttributeUsage rules for this
10433 Fri Nov 2 18:23:15 CET 2001 Paolo Molaro <lupus@ximian.com>
10435 * String.cs: fix a couple of bugs.
10436 * AppDomain.cs: use new AppBuilder constructor.
10437 * Buffer.cs, GC.cs, NonSerializedAttribute.cs,
10438 NotImplementedException.cs, ObjectDisposedException.cs,
10439 UnauthorizedAccessException.cs: add implementation.
10440 * OverflowException.cs: fix class name.
10442 2001-10-28 Jeffrey Stedfast <fejj@ximian.com>
10444 * String.cs: Don't use a terminating nil char for our internal
10447 2001-10-27 Miguel de Icaza <miguel@ximian.com>
10449 * Delegate.cs (Delegate.CombineImpl): Implement.
10450 (Delegate.Combine): Implement.
10452 * MulticastDelegate.cs (MulticastDelegate.Equals): Implement.
10454 (MulticastDelegate.CombineImpl): This was not as trivial as I
10457 * ContextStaticAttribute.cs: Added AttributeUsage to
10458 ContextStaticAttribute.
10460 * FlagsAttribute.cs: Add AttributeUsage to FlagsAttribute
10462 2001-10-15 Martin Weindel <martin.weindel@t-online.de>
10464 * added Decimal.cs * added DecimalFormatter.cs (internal class
10465 used from System.Decimal)
10467 2001-10-11 Thomas Neidhart <tome@sbox.tugraz.at>
10469 * Convert.cs: Added methods for Base64 transforming just used the
10470 existing System.Security.Cryptography.ToBase64Transform, should
10471 be changed to use a stand-alone class, e.g. Base64Encoder
10473 2001-10-10 Derek Holden <dholden@draper.com>
10475 * IntegerFormatter.cs: Added. Implements ToString for all the
10476 integer data types for all the format types.
10478 * Byte.cs: Using IntegerFormatter for ToString's.
10480 * SByte.cs: Using IntegerFormatter for ToString's.
10482 * Int16.cs: Using IntegerFormatter for ToString's.
10484 * Int32.cs: Using IntegerFormatter for ToString's.
10486 * Int64.cs: Using IntegerFormatter for ToString's.
10488 * UInt16.cs: Using IntegerFormatter for ToString's.
10490 * UInt32.cs: Using IntegerFormatter for ToString's.
10492 * UInt64.cs: Using IntegerFormatter for ToString's.
10494 2001-10-07 Miguel de Icaza <miguel@ximian.com>
10496 * Exception.cs: Implement bits of serialization.
10498 * RuntimeFieldHandle.cs: Implement Serialization features.
10500 * Type.cs: Implement TypeHandle property.
10502 2001-09-28 Dick Porter <dick@ximian.com>
10504 * LocalDataStoreSlot.cs: Implemented
10506 Tue Sep 25 19:58:14 CEST 2001 Paolo Molaro <lupus@ximian.com>
10508 * String.cs: fix off-by-one error in Trim().
10510 Tue Sep 25 18:52:14 CEST 2001 Paolo Molaro <lupus@ximian.com>
10512 * Type.cs: added GetType () method.
10514 Tue Sep 25 17:29:02 CEST 2001 Paolo Molaro <lupus@ximian.com>
10516 * MissingMethodException.cs, MissingMemberException.cs,
10517 MemberAccessException.cs: added.
10519 Tue Sep 25 16:46:43 CEST 2001 Paolo Molaro <lupus@ximian.com>
10521 * String.cs: don't access the string array out of bounds in
10522 LastIndexOf. * Type.cs: fix return type of the Assembly property.
10524 Mon Sep 24 20:35:24 CEST 2001 Paolo Molaro <lupus@ximian.com>
10526 * String.cs: make Intern and IsIntern internalcalls.
10528 2001-09-13 Dick Porter <dick@ximian.com>
10530 * Type.cs: Added a stub for the IsValueType property.
10532 * SystemException.cs (System): Added the other constructor, so
10533 that System.Threading exceptions can inherit it.
10535 2001-09-08 Jeffrey Stedfast <fejj@ximian.com>
10537 * String.cs (TrimStart): Don't keep looping through the trimchars
10538 once we've found a match.
10539 (TrimEnd): Same here.
10540 (Trim): And finally here.
10542 2001-09-07 Ravi Pratap <ravi@ximian.com>
10544 * Char.cs (IsLetterOrDigit): Implement.
10545 (IsLower): Implement, but we need to be Unicode aware.
10546 (IsNumber): Implement.
10547 (IsPunctuation): Implement.
10548 (IsWhiteSpace): Implement.
10549 (ToUpper): Fix to subtract 32 from the ASCII value, not 33 :)
10550 (ToLower): Same here.
10552 2001-09-04 Miguel de Icaza <miguel@ximian.com>
10554 * Object.cs: Shortcut, if (a == b) then return true.
10556 Fri Sep 7 18:34:48 CEST 2001 Paolo Molaro <lupus@ximian.com>
10558 * Delegate.cs: we need a pointer to the method thunk in
10559 the delegate object.
10561 Fri Sep 7 12:28:01 CEST 2001 Paolo Molaro <lupus@ximian.com>
10563 * AsyncCallback.cs, common.src: add AsyncCallback delegate.
10565 2001-09-06 Jeffrey Stedfast <fejj@ximian.com>
10567 * String.cs (System): Don't mix uint and int.
10569 2001-09-04 Jeffrey Stedfast <fejj@ximian.com>
10571 * String.cs (BoyerMoore): Modified to not use pointers and to instead
10573 (IndexOf): Use BoyerMoore.
10575 2001-09-02 Miguel de Icaza <miguel@ximian.com>
10577 * All over: Use the autogenerated enumerations from the ECMA
10578 documentation that Sergey wrote.
10580 * PlatformID.cs: Add Unix definition.
10582 * OperatingSystem.cs: Use Unix instead of Linux here.
10584 * MarshalByRefObject.cs: Mark class as [Serializable].
10586 2001-08-28 Dietmar Maurer <dietmar@ximian.com>
10588 * Console.cs: impl. (write only)
10589 implemented the stdin stuff
10591 * Int32.cs: impl. real op_Equal
10593 2001-08-24 Miguel de Icaza <miguel@ximian.com>
10595 * (common.src): Removed IAsyncResult as it is not on CVS yet.
10597 * UIntPtr.cs: Removed CLSCompliant attribute before the namespace,
10598 as it breaks the build.
10600 2001-08-23 Michael Lambert <michaellambert@email.com>
10602 * IntPtr.cs: Optimized unsafe declaration, implemented GetObjectData,
10603 added CLSCompliant attribute
10605 * IAsyncResult.cs: Added
10607 * common.src: Added IAsyncResult.cs
10609 2001-08-23 Michael Lambert <michaellambert@email.com>
10611 * UIntPtr.cs: Added
10613 * common.src: Added UIntPtr.cs
10615 2001-08-20 Dietmar Maurer <dietmar@ximian.com>
10617 * Attribute.cs: uncomment some code to make it compile again
10619 * mono.src: removed duplicated Attribute.cs
10621 2001-08-16 Nick Drochak <ndrochak@gol.com>
10623 * Attribute.cs: implemented all methods except GetHashCode()
10625 * common.src: added Attribute.cs so it would compile in
10627 2001-08-10 Dietmar Maurer <dietmar@ximian.com>
10629 * Object.cs: changed MemberWiseClone to MemberwiseClone, and
10630 marked it as InternalCall
10632 * common.src: removed UriFormatException.cs because the file is
10635 * RuntimeTypeHandle.cs: replaced IntrPtr with IntPtr
10636 * Char.cs: replaced byte with char
10638 * Array.cs: make it work with the mono interpreter
10640 2001-08-06 Miguel de Icaza <miguel@ximian.com>
10642 * Version.cs: Make the class sealed
10644 2001-08-08 Bob Smith <bob@thestuff.net>
10646 * Random.cs: Many compile fixes.
10647 * Random.cs: I read a bad spec. Class updated to match real spec.
10649 2001-08-06 Miguel de Icaza <miguel@ximian.com>
10651 * IntPtr.cs: Added and Completed implementation.
10653 * Uri.cs: Add a note.
10655 2001-08-06 Bob Smith <bob@thestuff.net>
10657 * Random.cs: Compile fix. Needs more testing.
10659 2001-08-06 Garrett Rooney <rooneg@electricjellyfish.net>
10661 * Uri.cs: Initial Implementation. Parsing needs to be fixed to take
10662 into account IPv6 addresses, url encoding needs to be implemented, and
10663 various minor methods need to be written, but this is a decent start.
10665 2001-08-06 Dietmar Maurer <dietmar@ximian.com>
10667 * common.src: added Object.cs
10669 * mono.src: added ValueType.cs
10671 2001-08-02 Dietmar Maurer <dietmar@ximian.com>
10673 * Math.cs: replaced libc with libm
10675 2001-08-02 Bob Smith <bob@thestuff.net>
10677 * Random.cs: Implemented. Needs testing.
10679 2001-08-02 Miguel de Icaza <miguel@ximian.com>
10681 * IServiceProvider.cs, EventHandler.cs: New files.
10683 2001-08-02 Marcel Narings <marcel@narings.nl>
10685 * DateTime.cs: Cleaned up a bit. Added the Add* family members.
10686 Added exceptions. Added IConvertible. Still needs some platform
10687 dependend stuff, the Parse and ToString members
10689 2001-08-01 Dietmar Maurer <dietmar@ximian.com>
10691 * Type.cs (GetTypeFromHandle): added placeholder
10693 2001-07-24 Derek Holden <dholden@draper.com>
10695 * Boolean.cs: Formatted to code style standard. Added GetTypeCode
10696 which is really an IConvertible defined method.
10698 * Byte.cs: Added a missing Parse method. Put in Parse and ToString
10699 behavior, still need to do the main Parse and ToString.
10701 * Char.cs: Added a bunch of missing ECMA methods. Commented a
10702 specification discrepency. Still didn't any unicode stuff, though
10703 every IsFoo(char c) method has an IsFoo(string, index)
10704 counterpart, added wrappers for those.
10706 * Convert.cs: Fixed NaN/Inf checking and double/float
10707 rounding. Added ToType for IConvertible classes
10709 * Double.cs: Fixed ECMA min and max values. Added IsInfinity /
10710 IsNaN methods. Changed Inf/NaN internals.
10712 * IConvertible.cs: Added comments for using
10713 Convert.ToType. Changed return values to draft base values.
10715 * Int16.cs: Added a missing Parse statement. Put in behavior for
10716 overloaded ToString and Parse methods.
10718 * Int32.cs: Added a missing Parse statement. Put in behavior for
10719 overloaded ToString and Parse methods.
10721 * Int64.cs: Added a missing Parse statement. Put in behavior for
10722 overloaded ToString and Parse methods.
10724 * Single.cs: Put in ECMA epsilon value. Added IsInfinity / IsNaN
10725 methods. Changed Inf/NaN internals.
10727 * SByte.cs: Added a missing Parse method. Put in Parse and
10728 ToString behavior, still need to do the main Parse and ToString.
10730 * UInt16.cs: Added a missing Parse statement. Put in behavior for
10731 overloaded ToString and Parse methods.
10733 * UInt32.cs: Added a missing Parse statement. Put in behavior for
10734 overloaded ToString and Parse methods.
10736 * UInt64.cs: Added a missing Parse statement. Put in behavior for
10737 overloaded ToString and Parse methods.
10739 2001-07-20 Miguel de Icaza <miguel@ximian.com>
10741 * MulticastDelegate.cs: New File.
10743 * Delegate.cs: New file.
10745 * Enum.cs: New file.
10747 * Attribute.cs: New file.
10749 * Type.cs: New file.
10751 * ParamArrayAttribute.cs: New file.
10753 * RuntimeTypeHandle.cs: New file.
10755 * MulticastDelegate.cs: Added.
10757 * DateTime.cs: Added
10759 * Delegate.cs: Added
10761 2001-07-18 Michael Lambert <michaellambert@email.com>
10763 * AttributeTargets.cs: Add.
10765 2001-07-19 Jeffrey Stedfast <fejj@ximian.com>
10767 * Char.cs: Made ToUpper and ToLower public methods.
10769 * String.cs: Lots and lots of compile fixes - just need to write
10770 DateTime.cs and this should build completely now.
10772 2001-07-19 Bob Smith (bob@thestuff.net)
10774 * Math.cs: Implemented.
10776 2001-07-19 Miguel de Icaza <miguel@ximian.com>
10778 * String.cs: Removed tolower and toupper.
10780 * Char.cs: Moved ToLower and ToUpper from string to here.
10782 * Convert.cs ToByte (float value), ToByte (double value) Use IsNan
10783 instead of comparing the value to Nan.
10785 2001-07-19 Duco Fijma (duco@lorentz.xs4all.nl)
10787 * TimeSpan.cs: New implementation.
10789 2001-07-18 Scott Sanders <scott@stonecobra.com>
10791 * UriFormatExcpetion.cs: Add - 85% complete
10793 2001-07-17 Jeffrey Stedfast <fejj@ximian.com>
10795 * String.cs (IndexOf): Slight optimization that allows skipping
10796 over a few chars here and there. This isn't as good as using my
10797 Boyer-Moore implementation, however, Boyer-Moore is only really
10798 good for long strings (I plan on making the code decide which
10799 string search algorithm it should use on-the-fly at some point).
10800 (LastIndexOf): Fix to work correctly.
10801 (BoyerMoore): Took out some unneeded code and fixed an edge-case.
10803 2001-07-16 Michael Lambert <michaellambert@email.com>
10805 * EventArgs.cs: Add.
10807 2001-07-16 Miguel de Icaza <miguel@ximian.com>
10809 * Version.cs: Remove my buggy comment.
10811 2001-07-15 Sean MacIsaac <macisaac@ximian.com>
10813 * String.cs: Spelling error of IComparable, object's
10814 MemberwiseClone cannot be overridden. Made indexer valid for now,
10815 but not sure what to do about this in the long run. Seems to be a
10816 couple bugs in csc.exe having to do with multiple pointer defs in
10817 the same statement, and returning subclasses of a class in the
10818 return type of an interface function implementation. Also moved
10819 operators inside of class definition.
10821 2001-07-14 Jeffrey Stedfast <fejj@ximian.com>
10823 * String.cs: A tom of compile fixes, although we still don't compile.
10825 * IConvertible.cs: The To*Int64() methods return *Int64's, not
10826 *Int32's. Also, it's ToDateTime() not ToDateType().
10828 2001-07-14 Jeffrey Stedfast <fejj@ximian.com>
10830 * String.cs: Apparently I needed to at least write stubs for the
10831 IConvertible interfaces. *sigh*
10833 2001-07-14 Jeffrey Stedfast <fejj@ximian.com>
10835 * String.cs: Many logic/other fixes and better usage of the
10837 (tolower): New convenience method to help condense code.
10838 (toupper): Another new helper method.
10839 (Compare): Use the new helper methods.
10840 (ToLower): use tolower().
10841 (ToUpper): use toupper().
10842 (LastIndexOfAny): Implemented.
10843 (BoyerMoore): New private helper method that implements a modified
10844 version of the Boyer-Moore search algorithm. Noothing uses it yet
10845 as I'm not 100% sure it even works properly with unicode strings
10846 not to mention it uses a huge lookup-table :-)
10847 (Split): Implemented.
10849 2001-07-13 Jeffrey Stedfast <fejj@ximian.com>
10851 * TODO: Added things that need to be finished in System.String
10853 * String.cs: New source file implementing the System.String class
10855 2001-07-12 Sean MacIsaac <macisaac@ximian.com>
10857 * TypeCode.cs: UInt64 was UInt63.
10859 * Object.cs: Fixed a numer of compiler errors.
10861 * Array.cs: Fixed some compiler errors.
10863 * IComparable.cs: Fixed some compiler errors.
10865 * ICloneable.cs: Fixed some compiler errors.
10867 * IConvertible.cs: Fixed some compiler errors.
10869 * IFormattable.cs: Fixed a compiler error.
10871 * IFormatProvider.cs: Fixed a compiler error.
10873 * IDisposable.cs: Fixed a compiler error.
10875 * IFormatProvider.cs: Added public accesability type to
10878 * Exception.cs: Added a using statement to remove compile time
10881 * ApplicationException.cs: Removed a ; that was causing a compiler
10884 * Int16.cs: Fixed some compiler errors.
10886 * Int32.cs: Fixed some compiler errors.
10888 * Int64.cs: Fixed some compiler errors.
10890 * SystemException.cs: Fixed a compiler error.
10892 * UInt16.cs: Fixed some compiler errors.
10894 * UInt32.cs: Fixed some compiler errors.
10896 * UInt64.cs: Fixed some compiler errors.
10898 * Void.cs: Fixed a compiler error.
10900 2001-07-12 Joe Shaw <joe@ximian.com>
10902 * Array.cs: Fix backwards parameters to Array.SetValue()
10904 (BinarySearch): Fix backward logic surrounding whether to call
10905 value.CompareTo or comparer.Compare.
10906 (LastIndexOf): Stop being stupid. I am so not used to strongly
10908 (Sort): Implement a quicksort.
10910 2001-07-11 Joe Shaw <joe@ximian.com>
10912 * Array.cs: Change all instances of trying to access an array with
10913 the index operator to calls to GetValue and SetValue, and add
10914 InternalGetValue and InternalSetValue which are internal calls
10915 into the runtime. Ew.
10917 2001-07-10 Joe Shaw <joe@ximian.com>
10919 * Array.cs: Implemented everything but Sort().
10921 2001-07-09 Jeffrey Stedfast <fejj@ximian.com>
10923 * Object.cs (Object::Equals): Object variable name is `o'.
10925 2001-07-06 Joe Shaw <joe@ximian.com>
10927 * Int16.cs, Int32.cs, Int64.cs, UInt16.cs, UInt32.cs, UInt64.cs:
10928 Implement the IComparable and IFormattable interfaces. Fix a typo
10931 * ApplicationException.cs, ArgumentException.cs,
10932 ArgumentNullException.cs, ArgumentOutOfRangeException.cs,
10933 ArtithmeticException.cs, ArrayTypeMismatchException.cs,
10934 DivideByZeroException.cs, DuplicateWaitObjectException.cs,
10935 ExecutionEngineException.cs, FormatException.cs,
10936 IndexOutOfRangeException.cs, InvalidCastException.cs,
10937 InvalidOperationException.cs, InvalidProgramException.cs,
10938 MulticateNotSupportedException.cs, NotFiniteNumberException.cs,
10939 NotSupportedException.cs, NullReferenceException.cs,
10940 OutOfMemoryException.cs, OverflowException.cs, RankException.cs,
10941 StackOverflowException.cs, SystemException.cs,
10942 TypeInitializationException.cs: Added all of the exceptions
10943 specified by the language spec. Mmmm... bloat.
10945 2001-07-06 Miguel de Icaza <miguel@ximian.com>
10947 * Int64.cs, Int32.cs: Put. Parsing and ToString missing. Should
10948 do a generic routine all of these guys use.
10950 * Int16.cs: identified missing methods.
10952 * UInt16.cs, UInt32.cs, UInt64.cs: Add.
10954 2001-06-26 Miguel de Icaza <miguel@ximian.com>
10956 * TypeCode.cs: Implement
10958 * Void.cs: Implement.
10960 * TODO: Add file to keep track of pending tasks.
10962 * Object.cs, ValueType.cs: Implement.