1 2005-11-11 Zoltan Varga <vargaz@gmail.com>
3 * Type.cs (GetPseudoCustomAttributes): Return ComImportAttribute as well.
5 2005-11-11 Lluis Sanchez Gual <lluis@novell.com>
7 * TimeZone.cs: Removed incorrect double-check lock and unneeded
10 2005-11-11 Marek Safar <marek.safar@seznam.cz>
12 * Type.cs: IsNested implemented, signature fixes.
14 2005-11-11 Raja R Harinath <rharinath@novell.com>
16 * Array.cs (Resize<T>) [2-argument variant]: Fix nullref.
18 2005-11-10 Zoltan Varga <vargaz@gmail.com>
20 * Array.cs (Resize<T>): New internal method which takes a 'length' argument
21 as well to avoid copying the whole array.
23 2005-11-09 Atsushi Enomoto <atsushi@ximian.com>
25 * Int64.cs : ditto for long.
27 2005-11-09 Atsushi Enomoto <atsushi@ximian.com>
29 * Int32.cs : Parse("2147483648", format_provider) should be rejected.
31 2005-11-09 Sebastien Pouliot <sebastien@ximian.com>
33 * AttributeTargets.cs: Added [ComVisible (true)] and [Serializable]
35 * Base64FormattingOptions.cs: Added missing [Flags] attribute.
36 * ConsoleKey.cs: Removed old BackSpace and WhiteSpace (they were
37 already replaced by Backspace and Whitespace)
38 * DateTime.cs: Moved DayOfWeek enum to it's own file.
39 * DateTimeKind.cs: New (2.0) enum.
40 * DayOfWeek.cs: New file (extracted from DateTime.cs).
41 * DomainManagerInitializationFlags.cs: Removed extra [Serializable].
42 * EnvironmentVariableTarget.cs: Added [ComVisible (true)] and fixed
43 values (-1 to all of them).
44 * Exception.cs: Added a LinkDemand for SerializationFormatter on
46 * LoaderOptimization.cs: Added [ComVisible (true)] and [Serializable]
47 on enum and added [Obsolete] to DomainMask and DisallowBindings in 2.0
49 * PlatformID.cs: Added [ComVisible (true)] and [Serializable] in 2.0
51 * StringComparison.cs: New (2.0) enum (needed for Uri).
52 * TermInfoDriver.cs: Fixed BackSpace -> Backspace (see ConsoleKey.cs).
53 * TypeCode.cs: Added [ComVisible (true)] and [Serializable] in 2.0
56 2005-11-08 Atsushi Enomoto <atsushi@ximian.com>
58 * Type.cs : I forgot to mention, some '(' were missing in the
61 2005-11-08 Zoltan Varga <vargaz@freemail.hu>
63 * Type.cs (GetPseudoCustomAttributes): Check for TypeAttributes.Serializable instead of
64 IsSerializable property, since the latter returns true for delegates/enums.
66 2005-11-05 Kornél Pál <kornelpal@hotmail.com>
68 * Environment.cs: Use Consts.RuntimeVersion as Environment.Version that
69 makes maintenance easier.
71 2005-10-24 Martin Baulig <martin@ximian.com>
73 * Type.cs (Type.IsGenericTypeDefinition): Make this virtual.
75 2005-10-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
77 * String.cs: fix bound checkings for LastIndexOfAny. Closes bug #76519.
79 2005-10-20 Raja R Harinath <rharinath@novell.com>
81 * Array.cs (Swapper): Remove NET_2_0 guards from nested declaration.
83 2005-10-16 Michal Moskal <malekith@nemerle.org>
85 * TermInfoDriver.cs: Call Init () in Background/ForegroundColor.
87 2005-10-14 Atsushi Enomoto <atsushi@ximian.com>
89 * DateTime.cs : another crappy Windows dependent format.
91 2005-10-14 Ben Maurer <bmaurer@ximian.com>
93 * DateTime.cs: Speed up when parsing date time objects by not
94 duplicating cultureinfo arrays.
96 2005-10-13 Zoltan Varga <vargaz@gmail.com>
98 * Type.cs (GetTypeCode): Applied patch from
99 Mike Welham <mwelham@gmail.com>. Return TypeCode.Empty when null is
102 2005-10-07 Zoltan Varga <vargaz@gmail.com>
104 * Delegate.cs: Add support for delegate covariance and contravariance
107 2005-10-03 Atsushi Enomoto <atsushi@ximian.com>
109 * StringComparer.cs : (OrdinalIgnoreCaseComparer.Equals()) reverse.
111 2005-09-26 Zoltan Varga <vargaz@gmail.com>
113 * String.cs (ParseFormatSpecifier): Fix skipping of whitespace. Fixes
116 2005-09-23 Miguel de Icaza <miguel@novell.com>
118 * Decimal.cs: Fix typo, patch from Tomas Kukol <tomas.kukol@gmail.com>
120 2005-09-19 Zoltan Varga <vargaz@gmail.com>
122 * MonoCustomAttrs.cs (GetCustomAttributesInternal): Add
123 attributeType parameter.
124 (IsDefined): New icall.
126 * MonoCustomAttrs.cs: Avoid instantiating all custom attrs of an
127 object when only a specific attribute type is requested. Fixes #76062.
129 * Environment.cs: Bump corlib version.
131 2005-09-09 Zoltan Varga <vargaz@gmail.com>
133 * TypeLoadException.cs MissingMethodException.cs MissingFieldException.cs: Add new ctors called by the runtime. Improve Message property.
135 2005-09-14 Atsushi Enomoto <atsushi@ximian.com>
137 * DateTime.cs : (_DoParse) don't check ticks range before computing
138 the actual value. Fixed bug #76082.
140 2005-09-14 Atsushi Enomoto <atsushi@ximian.com>
142 * TimeZone.cs : When the target DateTime is in the range of
143 DST end to DST + delta, don't adjust UtcOffset gap between that of
144 DST and that of STD. This should fix bug #75985.
146 2005-09-06 Atsushi Enomoto <atsushi@ximian.com>
148 * TimeZone.cs, DateTime.cs :
149 - ToLocalTime() and ToUniversalTime() are moved to TimeZone.
150 - Added more COM patterns. Patch by Ankit Jain. Fixed bug #72132.
151 - use ToLocalTime() and don't depend on the own offset computation.
152 Parse() with 'Z' pattern is closer to correct value on switching
153 Daylight Saving Time. See bug #75985.
155 2005-09-06 Atsushi Enomoto <atsushi@ximian.com>
157 * DateTime.cs : (DoParse) DateTimeStyles.AdjustToUniversal was not
158 handled as expected and it kept time value as local one.
159 Patch by Brion Vibber. Fixed bug #75995.
161 2005-09-06 Atsushi Enomoto <atsushi@ximian.com>
163 * DateTime.cs : Literal escape (\) was not checking format as
164 expected. Fixed bug #75213.
166 2005-09-05 Miguel de Icaza <miguel@novell.com>
168 * MonoType.cs: Patch from Jonathan Chambers to implement
171 2005-09-05 Martin Baulig <martin@ximian.com>
173 Reflect latest API changes in the August CTP.
175 * Type.cs (Type.HasGenericArguments): Removed.
176 (Type.BindGenericParameters): Renamed to MakeGenericType().
178 2005-09-01 Atsushi Enomoto <atsushi@ximian.com>
180 * DateTime.cs : another idiotic COM dependent format.
182 2005-09-01 Kornél Pál <kornelpal@hotmail.com>
184 * __ComObject.cs: Fixed to be internal. Removed CLSCompliant attribute.
185 Added some comments about the class.
187 2005-08-30 Sebastien Pouliot <sebastien@ximian.com>
189 * AppDomain.cs: Use the more concise property syntax for declarative
191 * AppDomainManager.cs: Default HostSecurityManager is null.
193 2005-08-25 Atsushi Enomoto <atsushi@ximian.com>
195 * NumberFormatter.cs : eliminate non-ASCII character.
197 2005-08-25 Marek Safar <marek.safar@seznam.cz>
199 * Enum.cs: Better exception message.
201 2005-08-21 Gert Driesen <drieseng@users.sourceforge.net>
203 * Convert.cs: In FromBase64String, return empty byte array for zero
204 length string. Pass bool to InternalFromBase64String to control
205 whether to allow a whitespace-only string.
206 * Environment.cs: Bump corlib version.
208 2005-08-20 Zoltan Varga <vargaz@freemail.hu>
210 * Environment.cs: Bump corlib version.
212 2005-08-19 Zoltan Varga <vargaz@freemail.hu>
214 * Math.cs: Implement a new 2.0 Round method.
216 2005-08-19 Gert Driesen <drieseng@users.sourceforge.net>
218 * Convert.cs: Throw OverflowException if result is larger than
219 ushort.MaxValue to match MS.NET. Remove commented code.
221 2005-08-17 Gert Driesen <drieseng@users.sourceforge.net>
223 * Convert.cs: For now, do not throw OverflowException if hex prefixed
224 value is negative for signed types (other than int64). Need to look
227 2005-08-17 Gert Driesen <drieseng@users.sourceforge.net>
229 * Convert.cs: Numerous fixed in overloads taking base to match
230 behaviour of MS.NET. Throw ArgumentOutOfRangeException is string is
231 empty. If base is 16, 8 or 2, then throw ArgumentException if first
232 character is a negative sign. Throw OverflowException if hex prefixed
233 value is negative for signed types (other than int64) to match MS.NET.
235 2005-08-16 Atsushi Enomoto <atsushi@ximian.com>
237 * DateTime.cs : added another COM dependent pattern (rather to describe
238 how it works on .NET than to add the pattern itself...).
240 2005-08-16 Atsushi Enomoto <atsushi@ximian.com>
242 * DateTime.cs : added case for bug #53023.
244 2005-08-10 Zoltan Varga <vargaz@freemail.hu>
246 * Type.cs: Add IsGenericType property from NET 2.0.
248 2005-08-10 Atsushi Enomoto <atsushi@ximian.com>
250 * String.cs : added new StartsWith()/EndsWith() override, fixing
251 existing EndsWith() which incorrectly assumed that both string
252 lengths must be equivalent (they are not always equal).
253 * StringComparer.cs : added Ordinal and OrdinalIgnoreCase.
255 2005-08-09 Zoltan Varga <vargaz@freemail.hu>
257 * String.cs: Implement Split(String[]) methods.
259 2005-08-09 Miguel de Icaza <miguel@novell.com>
261 * AppDomainSetup.cs: Full-pathization of the appBase should only
262 be done on Windows, the ":" condition never applied to Linux.
264 * ConsoleKey.cs: Include a few aliases for a few values that were
267 2005-08-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
269 * ConsoleKey.cs: added Backspace, which has the same value as BackSpace.
272 2005-08-08 Atsushi Enomoto <atsushi@ximian.com>
274 * String.cs : (StartsWith) compared string lengths are not always the
275 same in culture-sensitive comparison.
277 2005-08-05 Gert Driesen <drieseng@users.sourceforge.net>
279 * Array.cs: Changed protected ctor to private. Fixes API compatibility
281 * RuntimeFieldHandle.cs: Equals methods and GetHashCode should only
282 be exposed in 2.0 profile.
283 * RuntimeMethodHandle.cs: Equals methods and GetHashCode should only
284 be exposed in 2.0 profile.
285 * RuntimeTypeHandle.cs: Equals methods and GetHashCode should only
286 be exposed in 2.0 profile.
287 * Type.cs: Added GetType method and implemented _Type interface.
288 Fixes API compatibility with MS.NET.
290 2005-07-28 Marek Safar <marek.safar@seznam.cz>
292 * StringComparer.cs: Add generics version of string interfaces.
294 2005-07-26 Atsushi Enomoto <atsushi@ximian.com>
296 * StringComparer.cs : implemented StringCultureComparer.GetHashCode().
298 2005-07-26 Zoltan Varga <vargaz@freemail.hu>
300 * StringSplitOptions.cs MidpointRounding.cs: New files.
302 * String.cs Math.cs: Add stubs for some new 2.0 APIs.
304 2005-07-26 Marek Safar <marek.safar@seznam.cz>
306 * StringComparer.cs: New file.
308 2005-07-26 Raja R Harinath <harinath@gmail.com>
310 * Enum.cs (GetValue): Make private. Return an ulong.
311 (Parse): Tighten scope of couple of variables. Use ulong when
314 2005-07-25 Raja R Harinath <rharinath@novell.com>
316 * Enum.cs (FindName, GetValue): New. Carved out of ...
317 (Parse): ... this. Refactor and simplify code. Avoid incurring
318 exceptions when parsing names. Avoid allocating arrays unless
319 necessary. Avoid conversion of an enumeration constant to its own
320 type. (Incorporates ideas from a patch by Gonzalo Paniagua Javier.)
322 2005-07-13 Lluis Sanchez Gual <lluis@novell.com>
324 * MarshalByRefObject.cs: GetLifetimeService() should be virtual.
327 2005-07-13 Miguel de Icaza <miguel@novell.com>
329 * Array.cs: Patch from rodrigobamboo@gmail.com that fixes the
330 signature for GetValue and SetValue to make the long [] argument
331 be a params argument.
333 2005-07-11 Pedro Martínez Juliá <pedromj@gmail.com>
335 * Convert.cs: Fix the bug when Convert.ChangeType was using
336 NumberFormatInfo instead of DateTimeFormatInfo when the type to
337 change is a DateTime.
339 2005-07-11 Martin Baulig <martin@ximian.com>
341 * Array.cs: Use Type.Equals() instead of `==' to compare type
344 2005-07-10 Kamil Skalski <nazgul@nemerle.org>
346 * Type.cs: Mark BindGenericParameters as deprecated. Use
347 MakeGenericType as default implementation with updated signature.
349 2005-07-09 Zoltan Varga <vargaz@freemail.hu>
351 * Attribute.cs (IsDefined): Fix IsDefined for ParameterInfo's. Fixes
354 2005-07-05 Lluis Sanchez Gual <lluis@novell.com>
356 * DelegateSerializationHolder.cs: When the deserialized target is
357 a proxy, call IsInstanceOfType to force the proxy to load the
358 real type of the remote object. This is needed to make sure that
359 subsequent calls to GetType() return the expected type. This fixes
362 2005-07-03 Ben Maurer <bmaurer@ximian.com>
364 * OperatingSystem.cs: patch from Aleksandar Dezelin to fix
367 2005-06-30 Sebastien Pouliot <sebastien@ximian.com>
369 * Guid.cs: Avoid code duplication between overriden methods (new in
370 2.0). Avoid exception processing when possible. Renamed parameters to
371 match the framework. Added ComVisible to NET_2_0.
373 2005-06-28 Elliott Draper <el@eldiablo.co.uk>
375 * Activator.cs: This implements the generic Activator.CreateInstance<T>()
376 function for NET_2_0. It's full signature is:
377 public static T CreateInstance<T>();
379 2005-06-28 Lluis Sanchez Gual <lluis@novell.com>
381 * Decimal.cs: Renamed internal fields for the sake of serialization
382 interoperability with MS.NET.
383 * Exception.cs: In the StackTrace property, return the stack trace
384 if it has a value, even if the exception has not been thrown
385 (it may have been deserialized).
387 2005-06-28 Martin Baulig <martin@ximian.com>
389 * Array.cs (Array.InternalArray<T>): New nested class; derives
390 from Array. This is now used by the runtime for arrays; fixes #74953.
392 2005-06-27 Atsushi Enomoto <atsushi@ximian.com>
394 * String.cs : added some extra whitespace characters for Trim().
397 2005-06-13 Michal Moskal <malekith@nemerle.org>
399 * MonoType.cs: Don't use MethodHandle in GetMethod/GetConstructor,
400 since it now throws on MethodBuilders. Don't use FieldHandle in
401 GetField (throws on FieldBuilder) - just use the name.
403 2005-06-13 Martin Baulig <martin@ximian.com>
406 (MonoType.getFullName): Added `bool assembly_qualified' argument.
407 (MonoType.AssemblyQualifiedName): The interncall now adds the
408 assembly name, so we don't need to do it here.
409 (MonoType.FullName): Use the new getFullName() API.
411 2005-06-14 Sebastien Pouliot <sebastien@ximian.com>
413 * Char.cs: ToLowerInvariant and ToUpperInvariant are now public in
414 NET_2_0. Added "new" white char and ComVisible for 2.0.
416 2005-06-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
418 * Convert.cs: FromBase64String and FromBase64CharArray are now internal
419 calls to avoid extra allocations.
421 2005-06-09 Kamil Skalski <nazgul@nemerle.org>
423 * Type.cs: Add MakeGenericType method form .NET 2.0 beta 2 API
425 * Type.cs MonoType.cs: Add internal virtual
426 Get{Method,Constructor,Field} for obtaining instanciated *Info objects
427 from non-instanciated counterparts
429 2005-06-09 Zoltan Varga <vargaz@freemail.hu>
431 * ModuleHandle RuntimeMethodHandle.cs RuntimeTypeHandle.cs RuntimeFieldHandle.cs RuntimeArgumentHandle.cs: Add missing 2.0 attributes.
433 2005-06-08 Zoltan Varga <vargaz@freemail.hu>
435 * Type.cs: Add missing 2.0 attributes.
437 2005-06-07 Carlos Alberto Cortez <calberto.cortez@gmail.com>
439 * MonoCustomAttrs.cs: Added GetCustomAttributesDataInternal icall, and
440 also internal method GetCustomAttributesData, used by
441 System.Reflection.CustomAttributeData.
443 2005-06-06 Sebastien Pouliot <sebastien@ximian.com>
445 * Activator.cs: Added _Activator interface (and members) for 1.1 and
446 missing attributes (for both 1.1 and 2.0).
447 * String.cs: Made internal To[Lower|Upper]Invariant methods public for
448 2.0. Reworked Trim() to skip a useless call. Added missing attribute
450 * Type.cs: Added _Type, _MemberInfo interfaces (1.1/2.0). Added
451 missing attribute for 2.0. Hided some public/protected methods.
453 2005-06-06 Zoltan Varga <vargaz@freemail.hu>
455 * ModuleHandle.cs: Update after PortableExecutableKinds name change.
457 2005-06-06 Sebastien Pouliot <sebastien@ximian.com>
459 * _AppDomain.cs: Added new members in the interface (added in 1.1 SP1)
460 * AppDomain.cs: Added new members from _AppDomain interface.
461 * AppDomainManager.cs: Fixed flags and added attributes.
462 * DomainManagerInitializationFlags.cs: The flag has been renamed to
463 AppDomainManagerInitializationOptions in beta2.
465 2005-06-06 Zoltan Varga <vargaz@freemail.hu>
467 * Type.cs MonoCustomAttrs.cs: Return SerializableAttribute for types as well.
469 2005-06-06 Sebastien Pouliot <sebastien@ximian.com>
471 * Exception.cs: Implements _Exception only for 2.0.
473 2005-06-06 Zoltan Varga <vargaz@freemail.hu>
477 * GC.cs UnhandledExceptionEventArgs.cs IntPtr.cs RuntimeFieldHandle.cs
478 String.cs Object.cs Math.cs RuntimeMethodHandle.cs ModuleHandle.cs
479 RuntimeTypeHandle.cs AppDomain.cs: Add some missing 2.0 methods/attributes.
481 2005-06-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
484 * AppDomain.cs: if the assembly is loaded from a byte array, Location
485 returns "". Fixes bug #74958.
487 2005-06-04 Ben Maurer <bmaurer@ximian.com>
489 * *.cs: More 2.0 API fixups
491 * *.cs: In beta 2, generics are no longer non-cls-compliant.
493 2005-06-05 Kazuki Oikawa <kazuki@panicode.com>
495 * NumberFormatter.cs: Fixed the output of 0.ToString("00.00E00")
496 that was different from MSFT.
497 * String.cs: Fixed IndexOfAny thrown an exception
498 when startIndex of arguments equals Length. (Closes bug #75083.)
500 * Decimal.cs: Changed to use NumberFormatter in ToString.
501 * NumberFormatter.cs: Implemented decimal formatter.
503 2005-06-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
505 * Type.cs: reverted wrong fix for bug #71300 in r45150. This makes SSL
506 support in System.Net work again.
508 2005-06-01 Ben Maurer <bmaurer@ximian.com>
510 * CharEnumerator.cs: add IEnumerable <char> support
512 2005-05-30 Sebastien Pouliot <sebastien@ximian.com>
514 * Activator.cs: Added missing validation on parameters.
516 2005-05-28 Ben Maurer <bmaurer@ximian.com>
518 * Type.cs: Check that the arguments of the `types' array are
519 non-null. Fixes bug 71300
521 2005-05-28 Sebastien Pouliot <sebastien@ximian.com>
523 * AppDomainSetup.cs: Added new 2,0 constructors and the
524 ActivationArguments property.
525 * AppDomainManager.cs: Added using System.Runtime.Hosting as it is the
526 new location for the ApplicationActivator class.
527 * ApplicationActivator.cs: Moved to System.Runtime.Hosting namespace.
529 2005-05-27 Vladimir Vukicevic <vladimir@pobox.com>
531 * Environment.cs: bump corlib version for bug #75060.
533 2005-05-27 Raja R Harinath <rharinath@novell.com>
535 * Environment.cs (ExpandEnvironmentVariables): Rewrite
536 sb.Append (s.SubString (a, b)) to sb.Append (s, a, b).
537 * String.cs (FormatHelper): Rewrite sb.Append (s.SubString (a)) to
538 sb.Append (s, a, s.Length - a). Avoid allocating 'pad' string --
539 StringBuilder has an appropriate Append overload.
541 2005-05-26 Zoltan Varga <vargaz@freemail.hu>
543 * Type.cs (IsEnum): Special case EnumBuilder here.
545 2005-05-26 Sebastien Pouliot <sebastien@ximian.com>
547 * MonoType.cs: Changed call from GetName to UnprotectedGetName to
548 allow call to work with serialization under a restrictive policy.
549 The code path (the protected information) isn't being used.
551 2005-05-25 Zoltan Varga <vargaz@freemail.hu>
553 * Exception.cs: Use the new StackTrace ctor.
555 * Type.cs: Improve support for user defined type subclasses.
557 2005-05-25 Atsushi Enomoto <atsushi@ximian.com>
559 * DateTime.cs : Added minimum digit parameter to ParseNumber() to
560 reject 2 digit years for "yyyy".
561 Use GetAllDateTimePatterns() instead of constant string.
564 2005-05-25 Atsushi Enomoto <atsushi@ximian.com>
566 * DateTime.cs : next_not_digit prevented some valid parse.
567 Just remove it, since now we pass max length to ParseNumber() and
568 thus it is not needed anymore. Fixed bug 63137.
570 2005-05-24 Atsushi Enomoto <atsushi@ximian.com>
572 * DateTime.cs : HH should not always block tt. Fixed bug #60912.
573 Reset num after whitespace parsing.
574 Added "M/d/yyyy HH':'mm':'ss tt" as an invariant pattern.
576 2005-05-24 Atsushi Enomoto <atsushi@ximian.com>
578 * DateTime.cs : Allow ',' where whitespaces are allowed.
581 2005-05-22 Ben Maurer <bmaurer@ximian.com>
583 * BitConverter.cs: Speed this up, fixing 74014. Patch from
584 `Aleksandar Dezelin'.
586 2005-05-20 Zoltan Varga <vargaz@freemail.hu>
588 * Type.cs: Add some helper methods needed by other classes.
590 * Array.cs: Improve support for user defined Type subclasses.
592 * Type.cs: Rename GetTypeCode icall to GetTypeCodeInternal and add a managed
593 wrapper function, not used yet.
595 * Type.cs Array.cs: Revert this as it breaks the build.
597 * Type.cs Array.cs: Improve support for user defined Type subclasses.
599 2005-05-19 Ben Maurer <bmaurer@ximian.com>
601 * Delegate.cs (Equals): Use `as' to protect in the case where !
604 2005-05-19 Raja R Harinath <rharinath@novell.com>
606 * Console.cs (Readline) [NET_2_0]: Avoid "uninitialized variable"
609 2005-05-19 Miguel de Icaza <miguel@novell.com>
611 * TermInfoDriver.cs: Removed warning.
613 * Array.cs (Resize<T>, TrueForAll<T>, ConvertAll<TInput,TOutput>,
614 FindLastIndex<T>: Parameter names are normative.
615 Fix coding style ("Method<T>" not "Method <T>")
616 Throw argument exceptions per argument.
618 (FindAll): Fix bug, actually return the values that were computed,
619 not a short version of the original array.
621 2005-05-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
623 * Console.cs: fix error in the 2_0 side and split ReadLine in 2, one
624 for each framework version.
626 2005-05-15 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
629 * Exception.cs: .Net 1.1 already has these interfaces
631 Mon May 16 18:23:49 CEST 2005 Paolo Molaro <lupus@ximian.com>
633 * MonoCustomAttrs.cs, Type.cs: do not create a SerializableAttribute
634 object on GetCustomAttributes (fixes bug #74717).
636 2005-05-15 Atsushi Enomoto <atsushi@ximian.com>
638 * DateTime.cs : for 'z' next_not_digit didn't work as expected.
641 2005-05-15 Atsushi Enomoto <atsushi@ximian.com>
643 * DateTime.cs : don't allow extraneous pattern characters also for
644 non-exact parsing (ParseExact() was fine). Bug #74936 fixed
646 2005-05-13 Gert Driesen <drieseng@users.sourceforge.net>
648 * Activator.cs: Match exceptions thrown by MS.NET for
649 CreateInstance overloads if type is abstract. Fixes bug #74861.
651 2005-05-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
653 * OperatingSystem.cs: PlatformID.Unix.
655 2005-05-09 Sebastien Pouliot <sebastien@ximian.com>
657 * Environment.cs: Patch from Gonzalo to fix Environment.OSVersion.
658 Platform under NET_2_0 to return PlatformID.Unix. Fix bug #74841.
660 2005-05-07 Atsushi Enomoto <atsushi@ximian.com>
662 * NumberFormatter.cs : roundtrip number is already rounded before
663 FormatGeneral() and DefaultMaxPrecision was extraneous. This fixes
666 2005-05-07 Ben Maurer <bmaurer@ximian.com>
668 * Array.cs (BinarySearch): Patch from kazuki to pass arguments to
669 the comparer in the same order as msft. Fixes #70725
671 2005-05-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
673 * Enum.cs: the hashtable don't need to be synchronized any more, since
674 it's only accessed from withint a lock.
676 * Console.cs: stdin, stdout and stderr will never be finalized. Fixes
679 2005-05-06 Zoltan Varga <vargaz@freemail.hu>
681 * Array.cs: Remove CLSCompliant (false) attributes.
683 2005-05-06 Martin Baulig <martin@ximian.com>
685 * Predicate.cs, Action.cs, Comparision.cs, Converter.cs: Add
686 [CLSCompliant(true)] attribute.
688 2005-05-04 Miguel de Icaza <miguel@novell.com>
690 * Enum.cs (MonoEnumInfo): Based on a patch from James Willcox,
691 initialize cache as a static method. Fixes #74828.
693 2005-05-03 Marek Safar <marek.safar@seznam.cz>
695 * Console.cs: CancelKeyPress is stubbed.
697 2005-04-25 Sebastien Pouliot <sebastien@ximian.com>
699 * ActivationContext.cs: Updated for beta2.
700 * AppDomainManager.cs: Updated for beta2.
701 * ApplicationId.cs: Updated for beta2.
702 * ApplicationIdentity.cs: Updated for beta2.
703 * Exception.cs: Now use Assembly.UnprotectedGetName () as Exception
704 doesn't leak the code base from the returned AssemblyName.
706 2005-04-25 Martin Baulig <martin@ximian.com>
708 * Environment.cs (Environment.Version): Changed to 2.0.50215.
710 2005-04-22 Sebastien Pouliot <sebastien@ximian.com>
712 * Attribute.cs: Added _Attribute interface to NET_2_0 to reduce the
713 number of "missing" in the class status pages.
715 2005-04-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
717 * MulticastDelegate.cs: (GetInvocationList) when building the list that
718 is later traversed forward, mark 'this' as the end of the chain.
721 2005-04-19 Zoltan Varga <vargaz@freemail.hu>
723 * Environment.cs: Bump corlib version.
725 2005-04-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
727 * WindowsConsoleDriver.cs: ignore key release events.
729 2005-04-06 Atsushi Enomoto <atsushi@ximian.com>
731 * Char.cs : ToUpper()/ToLower() comparison ranges were incorrect.
733 2005-04-05 Sebastien Pouliot <sebastien@ximian.com>
735 * _AppDomain.cs: Add security checks to the interface. Declarative
736 security on events requires BOOTSTRAP_WITH_OLDLIB to work properly
738 * AppDomain.cs: Add some (not complete) security checks. Bug#74411 is
739 blocking some cases from working properly. Declarative security on
740 events requires BOOTSTRAP_WITH_OLDLIB to work properly with older MCS.
742 2005-04-04 Sebastien Pouliot <sebastien@ximian.com>
744 * AppDomain.cs: Use the PolicyLevel to resolve the granted permissions
745 on the AppDomain. Added an internal property to get the granted set.
747 2005-04-04 Atsushi Enomoto <atsushi@ximian.com>
750 Char.cs : use TextInfo for ToLower() and ToUpper().
752 2005-03-31 Sebastien Pouliot <sebastien@ximian.com>
754 * Exception.cs: Added Assert for TypeInformation to GetObjectData and
755 ToString methods (not required for 2.0 as TypeInformation will be
756 deprecated). Added null check for GetObjectData.
758 Tue Mar 29 11:47:19 CEST 2005 Paolo Molaro <lupus@ximian.com>
760 * Delegate.cs: allow IronPython 0.7 to compile.
762 2005-03-24 Miguel de Icaza <miguel@novell.com>
764 * Delegate.cs: Add CreateDelegate with a target option, currently
765 internal as it is not exposed by the framework yet.
767 2005-03-24 Zoltan Varga <vargaz@freemail.hu>
769 * String.cs: Add some 2.0 methods.
771 2005-03-24 Sebastien Pouliot <sebastien@ximian.com>
773 * Activator.cs: Now use the supplied evidences when loading
774 assemblies. Added LinkDemand for RemotingConfiguration on both
776 * Console.cs: Added Assert for UnmanagedCode on OpenStandard[Error|
777 Input|Output] as they use a handle on a FileStream (which is
778 restricted otherwise). Added Demand for UnmanagedCode for the
779 Set[Error|In|Out] methods.
780 * MarshalByRefObject.cs: Added LinkDemand for Infrastructure on
781 CreateObjRef, GetLifetimeService and InitializeLifetimeService.
782 * RuntimeMethodHandle.cs: Added Demand for UnmanagedCode on
783 GetFunctionPointer method.
784 * TypedReference.cs: Added LinkDemand for ReflectionPermission's
785 MemberAccess on MakeTypedReference.
787 2005-03-14 Sebastien Pouliot <sebastien@ximian.com>
789 * Environment.cs: Fix CAS unit tests for NET_1_1.
790 * Exception.cs: Fix CAS unit tests for NET_1_1.
792 2005-03-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
794 * Version.cs: don't ignore the last number. Fixes bug #73539.
796 2005-03-11 Sebastien Pouliot <sebastien@ximian.com>
798 * MonoType.cs: When the security manager is active, constructors and
799 methods will return null if a linkdemand fails during reflection
802 2005-03-11 Zoltan Varga <vargaz@freemail.hu>
804 * Array.cs (Sort): Bail out early if length <= 1. Fixes #72721.
806 2005-03-10 Zoltan Varga <vargaz@freemail.hu>
808 * Environment.cs: Bump corlib version.
810 2005-03-10 Martin Baulig <martin@ximian.com>
812 * Nullable.cs (Nullable<T>.ToString): Return an empty string if
815 2005-03-09 Zoltan Varga <vargaz@freemail.hu>
817 * Activator.cs MonoType.cs: Applied patch from Carlos Alberto Cortez
818 (carlos@unixmexico.org). Allow creation of valuetypes with no ctor.
821 2005-03-04 Zoltan Varga <vargaz@freemail.hu>
823 * Environment.cs: Bump corlib version.
825 * Exception.cs (StackTrace): Return the wrapper info as well.
827 2005-03-02 Kazuki Oikawa <kazuki@panicode.com>
829 * NumberFormatter.cs: Some internal classes was converted to structs,
830 and improved some points.
832 2005-02-26 Kazuki Oikawa <kazuki@panicode.com>
834 * NumberFormatter.cs: Improved performance and memory usage
835 when integer standard format.
846 * TimeSpan.cs: Improved these directly call to NumberFormatter.
848 2005-02-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
850 * TermInfoDriver.cs: set the xmit mode if available. Handle key input
851 and translate them into a ConsoleKeyInfo.
852 * TermInfoReader.cs: added a method to return the bytes of a string
854 * ConsoleKeyInfo.cs: added copy constructor and setters.
856 2005-02-24 Zoltan Varga <vargaz@freemail.hu>
858 * Array.cs: Add missing 2.0 attributes and correct some parameter names.
860 2005-02-24 Carlos Alberto Cortez <calberto.cortez@gmail.com>
862 * AppDomain.cs: Changed GetAssemblies, LoadAssembly, and Load signatures,
863 and added some to support the reflection only methods. DoAssemblyResolve
864 was modified to invoke the new PreBindAssemblyResolve event when the
865 assembly is reflection only.
867 2005-02-21 Zoltan Varga <vargaz@freemail.hu>
869 * GC.cs Double.cs IntPtr.cs Array.cs Decimal.cs Math.cs Single.cs:
870 Add net 2.0 ReliabilityContractAttributes.
872 2005-02-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
874 * TermInfoDriver.cs: cygwin terminals are handled by the windows
878 * TermInfoNumbers.cs:
880 * TermInfoBooleans.cs:
881 * TermInfoStrings.cs: documented.
883 2005-02-19 Kazuki Oikawa <kazuki@panicode.com>
885 * Array.cs: Reverse the order in the Equals calls.
887 2005-02-18 Zoltan Varga <vargaz@freemail.hu>
889 * Exception.cs (StackTrace): Implement this in managed code since it is
890 needed by CAS. Fixes #72146.
892 2005-02-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
894 * WindowsConsoleDriver.cs: implemented MoveBufferArea.
896 2005-02-14 Raja R Harinath <rharinath@novell.com>
898 * Array.cs (Array.Swapper) [!BOOTSTRAP_WITH_OLDLIB]: Make nested.
901 2005-02-12 Ben Maurer <bmaurer@ximian.com>
903 * Version.cs (CompareTo, Equals): Make sure the versions for
904 generics handle `null'. The non-generics versions now just call
905 the regular versions, to reduce code duplication.
907 * Boolean.cs (CompareTo): make this really work for generics
909 * Type.cs (GetProperty): Passing new Type [0] is different than
910 null. null means `I don't care how many types this has,' while new
911 Type [0] means `this must have 0 types.'
913 2005-02-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
915 * corlib.dll.sources: added WindowsConsoleDriver.cs
917 * System/ConsoleDriver.cs: use WindowsConsoleDriver on windows and
918 implemented the few missing properties/methods.
920 * System/IConsoleDriver.cs: uncommented all methods/properties.
921 * System/TermInfoDriver.cs: implement changes from IConsoleDriver.
922 * System/WindowsConsoleDriver.cs: implemented IConsoleDriver for
923 windows. Only missing MoveBufferArea by now.
925 2005-02-11 Zoltan Varga <vargaz@freemail.hu>
927 * Type.cs (IsAssignableFrom): Add support for TypeBuilders.
929 * Int32.cs AppDomain.cs: Fix warnings.
931 2005-02-10 Marek Safar <marek.safar@seznam.cz>
933 * IServiceProvider.cs: Is not ComVisible.
935 * NonSerializedAttribute.cs: Fix AttributeUsage flags.
937 * Type.cs: Fix ClassInterface attribute.
939 Tue Feb 8 19:26:47 CET 2005 Paolo Molaro <lupus@ximian.com>
941 * Delegate.cs: remove the finalizer from Delegate: this
942 is handled internally by the runtime now.
944 2005-02-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
946 * Activator.cs: provide the Type name when throwing an exception.
948 2005-02-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
950 * TimeZone.cs: lock on the static Hashtable instead of 'this'. Fixes
953 Fri Feb 4 15:46:04 CET 2005 Paolo Molaro <lupus@ximian.com>
955 * Array.cs: provide specialized versions of some methods.
957 Thu Feb 3 15:15:25 CET 2005 Paolo Molaro <lupus@ximian.com>
959 * String.cs: provide a managed memcpy and memset method
960 for use both in corlib and from the JIT. Implement
961 some methods with the managed helpers and remove some icalls.
963 2005-01-31 Sebastien Pouliot <sebastien@ximian.com>
965 * Exception.cs: Added Data property for NET_2_0 (required for new
968 2005-01-31 Gonzalo Paniagua Javier <gonzalo@ximian.com>
973 * Console.cs: added BufferWidth and BufferHeight.
975 2005-01-31 Gonzalo Paniagua Javier <gonzalo@ximian.com>
980 * IConsoleDriver.cs: added a few more properties and fixed cursor
983 2005-01-31 Gonzalo Paniagua Javier <gonzalo@ximian.com>
985 * ConsoleDriver.cs: static class that forwards the Console 2.0 class
986 calls to the proper driver.
987 * TermInfoDriver.cs: terminfo based console driver.
988 * IConsoleDriver.cs: interface implemented by console drivers.
990 * ConsoleCancelEventArgs.cs:
991 * ConsoleCancelEventHandler.cs:
993 * ConsoleModifiers.cs:
994 * ConsoleSpecialKey.cs:
996 * ConsoleKey.cs: new enumerations.
998 * ConsoleKeyInfo.cs: New file.
1000 * TermInfoReader.cs: reader for terminfo capabilities files.
1002 * TermInfoNumbers.cs:
1003 * TermInfoBooleans.cs:
1004 * TermInfoStrings.cs: enumations for terminfo property names.
1006 * KnownTerminals.cs: byte arrays for selected terminals.
1008 * Console.cs: added more 2.0 methods and implemented some of them.
1011 2005-01-30 Atsushi Enomoto <atsushi@ximian.com>
1013 * Int32.cs : (FindSign) IndexOf() is better than creating substring.
1015 2005-01-27 Sebastien Pouliot <sebastien@ximian.com>
1017 * BadImageFormatException.cs: Protect the fusion (GAC) log from being
1018 disclosed unless code has ControlPolicy and ControlEvidence.
1020 2005-01-27 Zoltan Varga <vargaz@freemail.hu>
1022 * Exception.cs: Compute stack trace on demand.
1024 2005-01-26 Sebastien Pouliot <sebastien@ximian.com>
1026 * Environment.cs: Removed hack for static class (NET_2_0). Added
1027 proper security for FailFast (documented in FDBK20543). Added new
1028 method IsRunningOnWindows to replace (Platform == 128) as the logic is
1029 gonna change in the future (Unix is id #4 in NET_2_0).
1031 2005-01-24 Sebastien Pouliot <sebastien@ximian.com>
1033 * Environment.cs: Added CAS security (both declarative and imperative)
1034 as a test. This shouldn't affect execution unless --security is
1037 2005-01-19 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
1038 * Type.cs: Corrected implementation for the Type.FilterNameIgnoreCase
1039 and Type.FilterName delegates They weren't dealing with the optional '*'
1040 at the end of the filter mask
1042 2005-01-19 Zoltan Varga <vargaz@freemail.hu>
1044 * Array.cs: Fix a typo in the previous patch.
1046 * Array.cs: Fix some test failures in the generic methods.
1048 * Array.cs: Implement AsReadOnly.
1050 2005-01-13 Geoff Norton <gnorton@customerdna.com>
1052 * Guid.cs: Fix endian issues (use Mono.Security.BitConverterLE). Fixes
1055 2005-01-11 Sebastien Pouliot <sebastien@ximian.com>
1057 * AppDomain.cs: Removed Activate and ActivateNewProcess methods. They
1058 have been removed from 2.0.
1060 2005-01-11 Zoltan Varga <vargaz@freemail.hu>
1062 * Boolean.cs Char.cs Single.cs Double.cs: Implement IComparable<T> in
1065 2005-01-10 Sebastien Pouliot <sebastien@ximian.com>
1067 * ApplicationIdentity.cs: Throw ArgumentNullException if name is null.
1068 Add default culture (neutral) to the name when none is specified.
1069 * AppDomain.cs: Changed IsDefaultAppDomain (2.0). Is seems that we
1072 2005-01-09 Sebastien Pouliot <sebastien@ximian.com>
1074 * DateTime.cs: Reverted last patch for utc as it broke all certificate
1075 handling and another unit test in DateTime.
1077 2005-01-09 Miguel de Icaza <miguel@ximian.com>
1079 * DateTime.cs: Return immediately if useutc is set to true, there
1080 is no need to do the extra computation (which also happened to
1081 create a new DateTime using the `use_localtime' constructor, which
1082 lead to the erroneous date returns when using 'u' or `U'
1085 Fixes another bug in the regression test suite.
1087 2005-01-08 Sebastien Pouliot <sebastien@ximian.com>
1089 * AppDomain.cs: Fix the DefaultDomain property to return the root
1090 domain (as it seems that the root's Id isn't always 0).
1091 * BitConverter.cs: The "special support" for ToString(new byte[0]) is
1092 only for NET_2_0 - previously this was an ArgumentOutOfRangeException.
1094 2005-01-08 Miguel de Icaza <miguel@ximian.com>
1096 * IntegerFormatter.cs: The - sign inside the "negative" section in
1097 a multi-format string means `show the sign' only if it is the
1098 first token, not `copy verbatim'. In the other sections it means
1101 This makes things like: (-34).ToString ("#;-#") show up as "-34"
1104 The bad news is that this code needs to be rewritten to handle all
1105 the formatting cases, see bug #71112 for details.
1107 * Convert.cs (Convert.ToType): Throw an InvalidCastException if
1108 the conversion is invalid, not ArgumentException, this fixes
1109 another regression in our test suite.
1111 2005-01-08 Sebastien Pouliot <sebastien@ximian.com>
1113 * AppDomain.cs: Add ApplicationIdentity property for 2.0;
1114 * AppDomainManager.cs: Remove HostRefusedSet support (it does not
1117 2005-01-08 Zoltan Varga <vargaz@freemail.hu>
1119 * DateTime.cs: Create MaxValue and MinValue using a different constructor to avoid static
1120 initialization problems.
1122 2005-01-02 Ben Maurer <bmaurer@ximian.com>
1124 * Int32.cs: NumberStyles.AllowExponent was supported by the
1125 Int32.Parse function. From Akira <mei@work.email.ne.jp>. Fixes bug
1128 2005-01-01 Atsushi Enomoto <atsushi@ximian.com>
1130 * Base64FormattingOptions.cs : it was not in System namespace.
1132 2004-12-21 Atsushi Enomoto <atsushi@ximian.com>
1134 * DateTime.cs : If no progress on value string, don't regard as
1135 matched. This fixes bug #70707.
1137 2004-12-20 Sebastien Pouliot <sebastien@ximian.com>
1139 * Environment.cs: Bump corlib version.
1141 2004-12-16 Zoltan Varga <vargaz@freemail.hu>
1143 * Array.cs (DoBinarySearch): Fix a warning.
1145 2004-12-08 Zoltan Varga <vargaz@freemail.hu>
1147 * Environment.cs: Bump corlib version.
1149 * AppDomain.cs: Add new DefineInternalDynamicAssembly () method.
1151 2004-12-06 Ben Maurer <bmaurer@ximian.com>
1153 * Exception.cs: Prevent stringifying the type name on the
1154 ctor. this gets called a few times on every execution to create a
1157 2004-12-06 Martin Baulig <martin@ximian.com>
1159 * Decimal.cs: Decimal constant support has been merged into GMCS,
1162 2004-12-06 Zoltan Varga <vargaz@freemail.hu>
1164 * Environment.cs: Bump corlib version.
1166 * Environment.cs: Bump corlib version.
1168 2004-11-30 Zoltan Varga <vargaz@freemail.hu>
1170 * MonoType.cs (UnderlyingSystemType): Make this return this as in
1171 MS.NET. Fixes #56245.
1173 2004-11-29 Atsushi Enomoto <atsushi@ximian.com>
1175 * GC.cs : Collect(generation) actually does not throw an exception
1176 even if generation > MaxGeneration (MS document bug).
1178 2004-11-28 Zoltan Varga <vargaz@freemail.hu>
1180 * Exception.cs: Implement _Exception under NET_2_0.
1182 * Byte.cs SByte.cs UInt16.cs Int16.cs: Make these compile under csc 2.0.
1184 * AccessViolationException.cs DataMisalignedException.cs OperationCanceledException.cs
1185 NotCancelableException.cs TimeoutException.cs: New files.
1187 2004-11-23 Raja R Harinath <rharinath@novell.com>
1189 * Decimal.cs [NET_2_0]: Use old code till GMCS imports decimal
1192 2004-11-23 Raja R Harinath <rharinath@novell.com>
1194 * Decimal.cs [BOOTSTRAP_WITH_OLDLIB]: Use old code for compilers
1195 without decimal constant support.
1197 2004-11-23 Marek Safar <marek.safar@seznam.cz>
1199 * Decimal.cs: Updated to use compiler decimal constant support.
1201 2004-11-20 Zoltan Varga <vargaz@freemail.hu>
1203 * MonoType.cs: Revert last change since it breaks remoting.
1205 2004-11-18 Zoltan Varga <vargaz@freemail.hu>
1207 * MonoType.cs (UnderlyingSystemType): Make this return this as in
1208 MS.NET. Fixes #56245.
1210 2004-11-17 Carlos Alberto Cortez <carlos@unixmexico.org>
1212 * INullable.cs: New interface added.
1213 * Nullable.cs: Methods added. Also a static Nullable class
1214 containing static methods.
1216 2004-11-15 Sebastien Pouliot <sebastien@ximian.com>
1218 * BitConverter.cs: Added support for special case when ToString is
1219 called with (new byte [0]).
1221 2004-11-10 Lluis Sanchez <lluis@novell.com>
1223 * Exception.cs: Added setter for StackTrace.
1225 2004-11-07 Ben Maurer <bmaurer@ximian.com>
1227 * IntegerFormatter.cs: Avoid .ToCharArray
1229 2004-11-06 Ben Maurer <bmaurer@ximian.com>
1231 * Single.cs, Double.cs (GetHashCode): Better hashcode impl
1233 2004-11-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1235 * InvalidOperationException.cs: make the message more meaningful and
1236 real. Fixes bug #69055.
1238 2004-10-28 Ben Maurer <bmaurer@ximian.com>
1240 * String.cs: Rather than == String.Empty, use .Length == 0. It
1241 is a bit faster (avoids a method call, and the code is less complex).
1243 2004-10-24 Fawad Halim <fawad@fawad.net>
1244 * Environment.cs: If an Environment variable value isn't found, leave the trailing % of the reference for further matches.
1245 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.
1246 This fixes bug #64995.
1248 2004-10-19 Lluis Sanchez <lluis@novell.com>
1250 * MarshalByRefObject.cs: Field _identity is not serializable.
1251 This fixes bug #68567.
1253 2004-10-17 Ben Maurer <bmaurer@ximian.com>
1255 * DateTime.cs (ZeroPad): Use unsafe code to speed this up. We
1256 avoid entering slow integer formatting code.
1258 (_ToString): Use ZeroPad here when possible, as it is faster.
1260 2004-10-11 Martin Baulig <martin@ximian.com>
1262 * Environment.cs: Bump corlib version to 28.
1264 2004-10-08 Zoltan Varga <vargaz@freemail.hu>
1266 * Convert.cs (ToType): Throw an exception when converting null to a
1267 valuetype. Fixes #67780.
1269 2004-10-08 Atsushi Enomoto <atsushi@ximian.com>
1271 * DateTime.cs : Performance fix. ParseExact() implementation should
1272 avoid s = s.Substring(1).
1274 2004-10-08 Atsushi Enomoto <atsushi@ximian.com>
1276 * DateTime.cs : When it it not exact parse, 'Z' is allowed as a suffix
1277 of m/s/t/z. This fixes bug 66723.
1279 Wed Oct 6 12:37:54 CEST 2004 Paolo Molaro <lupus@ximian.com>
1281 * String.cs: make GetHashCode() managed.
1283 2004-10-04 Zoltan Varga <vargaz@freemail.hu>
1285 * AppDomain.cs: Make ThreadStatic variables static. Fixes #56614.
1287 * Runtime*Handle.cs ModuleHandle.cs: Add Equals + GetHashCode.
1289 * ModuleHandle.cs: Add missing methods.
1291 * RuntimeTypeHandle.cs: Add GetModuleHandle () method.
1293 2004-10-03 Zoltan Varga <vargaz@freemail.hu>
1295 * AttributeTargets.cs: Add 2.0 GenericParameter value.
1297 * Environment.cs: Bump corlib version.
1299 2004-10-02 Zoltan Varga <vargaz@freemail.hu>
1301 * Int32.cs UInt32.cs Byte.cs SByte.cs Int16.cs UInt16.cs Int64.cs UInt64.cs: Implement 2.0 TryParse methods.
1303 2004-09-30 Geoff Norton <gnorton@customerdna.com>
1305 * Convert.cs: ConvertToBase* was not endian aware. Implemented EndianSwap
1306 and swapping of all values before going into the BitConverter so that values
1307 are returned with proper endianess.
1309 2004-09-23 Martin Garton <martin@wrasse.demon.co.uk>
1311 * Convert.cs: ToType was returning unconverted object when it should
1312 fail with an ArgumentException.
1314 2004-09-27 Zoltan Varga <vargaz@freemail.hu>
1316 * Array.cs: Add stub for AsReadOnly<T>.
1318 2004-09-25 Zoltan Varga <vargaz@freemail.hu>
1320 * Type.cs: Add MakePointerType && stub for ReflectionOnlyGetType.
1322 * MonoCustomAttrs.cs (GetCustomAttributesBase): Add support for
1325 2004-09-24 Zoltan Varga <vargaz@freemail.hu>
1327 * MonoCustomAttrs.cs (GetCustomAttributesBase): Add support for
1330 * MonoCustomAttrs.cs: Beginnings of support for returning 2.0 pseudo
1333 * MonoCustomAttrs.cs (RetrieveAttributeUsage): Avoid infinite recursion.
1335 * MonoCustomAttrs.cs (GetCustomAttributes): Fix the 'attributeType is
1336 sealed' optimization.
1338 * Type.cs: Implement 2.0 StructLayoutAttribute property.
1340 * Type.cs Add GetPseudoCustomAttributes () method.
1342 2004-09-24 Martin Baulig <martin@ximian.com>
1344 * Type.cs (Type.GetGenericParameterConstraints): New public method.
1346 2004-09-23 Zoltan Varga <vargaz@freemail.hu>
1348 * MonoCustomAttrs.cs (GetCustomAttributes): Rename the icall to
1349 GetCustomAttributesInternal and add a 'pseudoAttrs' argument.
1351 * Type.cs: Tweak Module property in 2.0 build.
1353 2004-09-23 Martin Baulig <martin@ximian.com>
1355 * Type.cs (Type.GenericParameterAttributes): New public property.
1357 2004-09-23 Martin Baulig <martin@ximian.com>
1359 * GenericParameterAttributes.cs: New file.
1361 2004-09-22 Zoltan Varga <vargaz@freemail.hu>
1363 * ModuleHandle.cs: Updated after changes to Module class.
1365 2004-09-21 Geoff Norton <gnorton@customerdna.com>
1367 * Type.cs: BindingFlags.IgnoreCase was being ignored, this reimplements
1368 this filter. Fixes bug #65778.
1370 2004-09-20 Zoltan Varga <vargaz@freemail.hu>
1372 * Environment.cs: Bump corlib version.
1374 2004-09-19 Zoltan Varga <vargaz@freemail.hu>
1376 * ModuleHandle.cs: New file.
1378 * RuntimeFieldHandle.cs: Add an internal ctor.
1380 2004-09-19 Dick Porter <dick@ximian.com>
1382 * Console.cs: Use the internal wrappers for StreamReader and
1383 StreamWriter that catch IOException.
1385 2004-09-16 Sebastien Pouliot <sebastien@ximian.com>
1387 * Environment.cs: Bumped mono_corlib_version to 25.
1389 2004-09-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1391 * AppDomain.cs: added SetupInformationNoCopy property, since
1392 SetupInformation creates a copy now, all updates to it should use the
1393 actual data. Fixes bug #61991 take 2.
1395 2004-09-09 Tim Coleman <tim@timcoleman.com>
1396 * Base64FormattingOptions.cs: New enum
1397 * Convert.cs: Add new ToBase64String methods for Fx 2.0
1399 2004-09-08 Marek Safar <marek.safar@seznam.cz>
1402 * GC.cs: Class is static for NET_2_0.
1404 2004-09-07 Ben Maurer <bmaurer@users.sourceforge.net>
1406 * Activator.cs: Make sure not to call .GetType on a
1407 null argument. fixes 63852
1409 2004-09-06 Ben Maurer <bmaurer@users.sourceforge.net>
1411 * Array.cs (Clear): make this an icall.
1413 2004-09-05 Ben Maurer <bmaurer@users.sourceforge.net>
1415 * MonoCustomAttribute.cs: Avoid the call to GetBase when possible.
1417 2004-09-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1419 * Environment.cs: (ExpandEnvironmentVariables) don't nullify the case
1420 insensitive enironment variables hashtable once we create it.
1422 2004-09-04 Sebastien Pouliot <sebastien@ximian.com>
1424 * AppDomain.cs: Changed 2 imperative security demands to declarative
1425 (unsupported) so it doesn't (for now) call the security runtime.
1427 2004-09-02 Zoltan Varga <vargaz@freemail.hu>
1429 * Delegate.cs: Free the delegate trampoline in the finalizer.
1431 2004-08-26 Sebastien Pouliot <sebastien@ximian.com>
1433 * ApplicationId.cs: Completed GetHashCode using information from MS
1436 2004-08-23 Sebastien Pouliot <sebastien@ximian.com>
1438 * Boolean.cs: Added TryParse static method for NET_2_0 profile.
1440 2004-08-19 Atsushi Enomoto <atsushi@ximian.com>
1442 * DateTime.cs : When hour format is "hh", MS.NET (maybe incorrectly)
1443 allows 12, that should not be accepted (13 is rejected) and
1444 interpreted as 0. This fixes bug 63376.
1446 2004-08-17 Sebastien Pouliot <sebastien@ximian.com>
1448 * Version.cs: Fixed Clone so we can use it on versions with only
1449 major/minor or major/minor/build.
1451 2004-08-17 Martin Baulig <martin@ximian.com>
1453 * MonoType.cs (MonoType.getFullName): Added `bool full_name'
1454 argument specifying whether or not to include the type arguments.
1455 (MonoType.FullName): Don't include the type arguments.
1456 (MonoType.ToString): Include them here.
1458 * Environment.cs: Bumped mono_corlib_version to 24.
1460 2004-08-16 Duncan Mak <duncan@ximian.com>
1462 * AttributeUsageAttribute.cs: Change the AttributeUsage to
1463 AttributeTargets.Class, from AttributeTargets.All, fixes Zoltan's
1466 2004-08-11 Marek Safar <marek.safar@seznam.cz>
1468 * AppDomain.cs: Fixed typo of DefineDynamicAssembly argument.
1469 Added call to AddPermissionRequests to pass permissions
1471 * Environment.cs: Added a few Fx 2.0 methods
1473 2004-08-09 Sebastien Pouliot <sebastien@ximian.com>
1475 * ApplicationId.cs: Fixed typo to fix NET_2_0 compilation.
1476 * AppDomain.cs: Fixed use of Evidence and AppDomainSetup (copies, not
1477 references). Added (non-obsolete) Fx 2.0 properties and methods.
1478 * AppDomainSetup.cs: Added internal copy constructor.
1479 * DomainManagerInitializationFlags.cs: Fixed values.
1481 2004-08-08 Sebastien Pouliot <sebastien@ximian.com>
1483 * AppDomainInitializer.cs: New Fx 2.0 class for AppDomain.
1484 * AppDomainManager.cs: New Fx 2.0 class for AppDomain.
1485 * ApplicationActivator.cs: New Fx 2.0 class for AppDomain.
1486 * ApplicationId.cs: New Fx 2.0 class.
1487 * ApplicationIdentity.cs: Fixed ToString.
1488 * DomainManagerInitializationFlags.cs: New Fx 2.0 flags for AppDomain.
1490 2004-08-05 Sebastien Pouliot <sebastien@ximian.com>
1492 * AppDomain.cs: Added a new icall, getDomainByID, to get the an
1493 AppDomain using it's Id. Completed SetAppDomainPolicy.
1494 * Environment.cs: Bumped mono_corlib_version to 23.
1496 2004-08-02 Martin Baulig <martin@ximian.com>
1498 * DateTime.cs, TimeSpan.cs, Guid.cs, Version.cs: Implement IComparable<T>.
1500 2004-07-29 Atsushi Enomoto <atsushi@ximian.com>
1502 * Environment.cs : GacPath on windows is based on mscorlib.dll, and
1503 now its location is changed.
1505 2004-07-21 Lluis Sanchez Gual <lluis@novell.com>
1507 * Environment.cs: Return the MS.NET 2.0 beta1 runtime version for the
1510 2004-07-18 Martin Baulig <martin@ximian.com>
1512 * Array.cs: Ben Maurer implemented all the new generic methods
1515 2004-07-17 Martin Baulig <martin@ximian.com>
1517 * Decimal.cs: Implement IComparable<Decimal>.
1519 2004-07-17 Martin Baulig <martin@ximian.com>
1521 * Byte.cs, Int16.cs, Int32.cs, Int64.cs, SByte.cs, String.cs,
1522 UInt16.cs, UInt32.cs, UInt64.cs: Implement IComparable<T>.
1524 2004-07-13 Sebastien Pouliot <sebastien@ximian.com>
1526 * ActivationContext.cs: New class in Fx 2.0. Required for
1527 System.Security.Policy.
1528 * ApplicationIdentity.cs: New class in Fx 2.0. Required for
1529 System.Security.Policy.
1530 * IApplicationDescription.cs: New interface in Fx 2.0. Required for
1531 System.Security.Policy.
1532 * IHostContext.cs: New interface in Fx 2.0. Required for
1533 System.Security.Policy.
1535 2004-07-12 Geoff Norton <gnorton@customerdna.com>
1537 * DateTime.cs: Patch for bug #61112. Our DateTime wasn't roundtripping over timezone
1538 boundaries properly. This patch checkes ToLocalTime() to see if we're tripping over a boundary
1539 and will add/subtract the hour if needed
1541 2004-07-07 Geoff Norton <gnorton@customerdna.com>
1543 * Monotype.cs: Patch for bug #58844. Dont throw exceptions right away;
1544 pass through all the possibly BindingInfo's and keep a bool value as to the type
1545 of exception we might need to throw;
1547 2004-07-07 Geoff Norton <gnorton@customerdna.com>
1549 * Patch to fix bug #58973
1551 2004-07-02 Jackson Harper <jackson@ximian.com>
1553 * PlatformID.cs: New 2.0 values.
1555 2004-06-25 Ben Maurer <bmaurer@ximian.com>
1557 * Environment.cs: GetFolderPath has new behavior. r=miguel
1559 2004-06-23 Sebastien Pouliot <sebastien@ximian.com>
1561 * DateTime.cs: Throw ArgumentOutOfRangeException if the year is
1562 bigger than 9999. Fix bug #41845.
1563 * FloatingPointFormatter.cs: Applied correction from Jon Skeet on
1564 the "R"eversible format for negative numbers.
1566 2004-06-21 Jackson Harper <jackson@ximian.com>
1568 * Decimal.cs: Make sure to use invariant culture when parsing
1569 floats stringified with the invariant culture. Patch by Rodrigo
1572 2004-06-19 Atsushi Enomoto <atsushi@ximian.com>
1574 * FloatingPointFormatter.cs : Literal string should be kept in the
1577 2004-06-18 Atsushi Enomoto <atsushi@ximian.com>
1579 * DateTime.cs : Concatenating whitespace removal was not working fine.
1580 Modified FormatException message (1 cent kindness).
1582 2004-06-18 Ben Maurer <bmaurer@ximian.com>
1584 * Action.cs, ArraySegment.cs, Comparison.cs, Converter.cs, Predicate.cs:
1585 new generics classes
1586 * IComparable.cs: add the new <T> version.
1587 * EventHandler.cs: new <T> version.
1589 2004-06-18 Dick Porter <dick@ximian.com>
1591 * String.cs: The icall can cope with embedded \0 now.
1593 2004-06-18 Atsushi Enomoto <atsushi@ximian.com>
1596 - Added new common pattern "yyyy/M/dZ"
1597 - empty string should not be compared in _ParseEnum()
1598 - Use culture independent string comparison in _ParseString()
1599 - Whitespace removal should be checked after '..' token check (some
1600 pattern such like es-ES LongDatePattern contains spaces in '..').
1601 - formats null check should be done (to throw ArgumentNullException)
1603 - When specified one character format, dates are incorrectly regarded
1604 as to use invariant culture.
1606 2004-06-18 Gert Driesen <drieseng@users.sourceforge.net>
1608 * ArgIterator.cs: changed layout to Auto
1609 * DateTime.cs: changed layout to Auto
1611 2004-06-18 Gert Driesen <drieseng@users.sourceforge.net>
1613 * DateTime.cs: CRLF to LF
1615 2004-06-17 Sebastien Pouliot <sebastien@ximian.com>
1617 * Decimal.cs: Fixed regression in System.Data caused by the recent
1618 changes. Adapted (and moved) the code to correct the scale from
1619 SqlMoney. Removed unused (and unusable) IsOne and fixed IsZero (where
1620 scale has no importance).
1622 2004-06-17 Lluis Sanchez Gual <lluis@ximian.com>
1624 * Activator.cs: In CreateInstance(), use Public|Instance if access binding
1625 attributes are omitted.
1627 2004-06-17 Atsushi Enomoto <atsushi@ximian.com>
1629 * DateTime.cs : GetDateTimeFormats(char, IFormatProvider) should also
1630 check if the format character is valid.
1632 2004-06-17 Atsushi Enomoto <atsushi@ximian.com>
1634 * DateTime.cs : AddDays(double) rounds the input.
1636 2004-06-17 Atsushi Enomoto <atsushi@ximian.com>
1638 * DateTime.cs : Incorrect maxvalue comparison in ToUniversalTime().
1639 Fixed ToLocalTime() as well, but it does check range for MinValue.
1641 2004-06-17 Atsushi Enomoto <atsushi@ximian.com>
1643 * DateTime.cs : Added overflow check in ToUniversalTime() and
1644 ToLocalTime(). Fixed bug #60253.
1646 2004-06-16 Sebastien Pouliot <sebastien@ximian.com>
1648 * FloatingPointFormatter.cs: Implemented "R" format using Jon Skeet
1649 source code (with permission). Fix (biggest) part of bug #60110.
1650 http://www.yoda.arachsys.com/csharp/floatingpoint.html
1652 2004-06-15 Sebastien Pouliot <sebastien@ximian.com>
1654 * Decimal.cs: Fixed scale after Round (a different scale is correct
1655 from a math point of view but affect the string representation of the
1656 value). Note: other operations also have scale problems!
1657 * DecimalFormatter.cs: Fixed FormatGeneral to match Fx 1.1 output.
1658 * FloatingPointFormatter.cs: Fixed ToString which doesn't use banker's
1659 rounding (which is the rounding provided by Math.Round). This fix bug
1660 #60111. The code (new Round methods) should be moved elsewhere (as it
1661 may also be required elsewhere) post Mono 1.0.
1663 2004-06-15 Gert Driesen <drieseng@users.sourceforge.net>
1665 * AppDomainSetup.cs: added TODO for serialization
1666 * ExecutionEngineException.cs: added missing serialization ctor
1667 * InvalidProgramException.cs: added missing serialization ctor
1668 * MulticastNotSupportedException.cs: added missing serialization ctor
1669 * ObsoleteAttribute.cs: fixed serialization compatibility with MS.NET
1670 * Random.cs: fixed serialization compatibility with MS.NET
1672 2004-06-15 Paolo Molaro <lupus@ximian.com>
1674 * Type.cs: removed unused (and non-existing) icall type_is_instance.
1676 2004-06-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1678 * Environment.cs: use internalGetHome instead of getting "HOME" as
1679 that variable may not be defined.
1681 2004-06-14 Sebastien Pouliot <sebastien@ximian.com>
1683 * TimeSpan.cs: Fixed timespan with large values for hours or minutes
1684 (overflow is only checked for days but can also occurs in hours and
1685 minutes which uses Int32 when multiplying). The new results match MS
1688 2004-06-14 Atsushi Enomoto <atsushi@ximian.com>
1690 * FloatingPointFormatter.cs : Recognize '%' and '\u2030' and replace
1691 them with matching NumberFormatInfo properties.
1693 2004-06-14 Atsushi Enomoto <atsushi@ximian.com>
1695 * Double.cs : Use IFormatProvider.GetFormat() instead of literal '-'.
1696 * FloatingPointFormatter.cs :
1697 Use NumberFormatInfo.NegativeSign. This change saves many XSLT test
1699 Format Permille pattern (It is undocumented but actually available,
1700 and used in xsl:format-number).
1702 2004-06-14 Raja R Harinath <rharinath@novell.com>
1704 * Console.cs (Console.Write, Console.WriteLine): Disable __arglist
1705 version with BOOTSTRAP_WITH_OLDLIB.
1706 * String.cs (STring.Concat): Likewise.
1708 2004-06-13 Atsushi Enomoto <atsushi@ximian.com>
1710 * FloatingPointFormatter.cs :
1711 - Don't format more than 15 fraction digits. Don't report to Pedro
1712 directly (removing the error message with his concent).
1713 - When format string starts with '.', it means integral part format
1714 is not specified. Ignore '.' characters after the first
1715 appearance. Fixed bug #59890.
1716 - 0.0 is formatted only before the third ';' appearance.
1718 2004-06-11 Sebastien Pouliot <sebastien@ximian.com>
1720 * DateTime.cs: Added a AddRoundedMilliseconds which use the "old Mono"
1721 rounding logic which worked for FromOADate (while the newer didn't).
1722 * TimeSpan.cs: Now throw an OverflowException when the timespan is
1723 over MaxValue or under MinValue.
1725 2004-06-11 Martin Baulig <martin@ximian.com>
1727 * Console.cs (Write, WriteLine): Implemented the varargs versions.
1729 2004-06-11 Martin Baulig <martin@ximian.com>
1731 * String.cs (Concat): Implemented the varargs version.
1733 2004-06-10 Sebastien Pouliot <sebastien@ximian.com>
1735 * Decimal.cs: Hacked the Parse method to allow the runtime C code to
1736 decode it properly (i.e. matching MS results). Fixed the Round method
1737 for negative decimal numbers (moved code from Math.cs).
1738 * Math.cs: Now use Decimal class for Round(Decimal,int). Required to
1739 fix a bug when rounding a negative decimal.
1741 2004-06-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1743 * AppDomain.cs: set the _principal to null when changing the policy.
1744 * Console.cs: remove ClsCompliant attribute from a method marked as
1745 internal and added comment.
1747 2004-06-10 Gert Driesen <drieseng@users.sourceforge.net>
1749 * Delegate.cs: marked protected fields private to match public
1750 API of MS.NET, marked DynamicInvokeImpl and GetMethodImpl
1751 protected to fix public API
1752 * Enum.cs: marked ctor protected to match public API of MS.NET
1753 * MulticastDelegate.cs: marked DynamicInvokeImpl protected to
1754 match public API of MS.NET
1756 2004-06-10 Atsushi Enomoto <atsushi@ximian.com>
1758 * DateTime.cs : Added more common patterns.
1760 2004-06-09 Sebastien Pouliot <sebastien@ximian.com>
1762 * Decimal.cs: Fixed banker rounding by calling Math.Round. This won't
1763 be a performance winner (the actual Math code has a note to wait a
1764 better Decimal implementation) but it returns the correct results
1765 (without adding new code in corlib or the runtime). Fix #37744.
1767 2004-06-09 Atsushi Enomoto <atsushi@ximian.com>
1770 - A bunch of fixes (patch by Steven Brown). Fraction seconds are
1771 now represented as double. Strict token check for 'Z'.
1772 - Pattern validity check in GetDateTimeFormats(char).
1773 - Fixed pattern "yyyy/M/d HH:mm:ss".
1775 2004-06-09 Sebastien Pouliot <sebastien@ximian.com>
1777 * Decimal.cs: Fixed remainder (and optimized some cases not to call
1778 unmanaged code). Simplified divide. Removed workaround for bug #59793.
1779 Fixed GetHashCode to return different result for X and -X.
1781 2004-06-08 Atsushi Enomoto <atsushi@ximian.com>
1784 - Now re-checked all common format patterns. They should be tried
1785 with both current culture and invariant culture. Since '/' covers
1786 '-', removed extraneous patterns. Added more common patterns
1787 such as "yyyy-MM-dd" and X509Certificate pattern (it is valid
1788 only after NET_1_1). Commented out 1 character format patterns.
1789 - The format patterns we should try should not be obtained by
1790 GetAllDateTimePatterns(). Just use 'd', 'D', 't', 'T', ... (one
1791 character patterns), to handle UTC correctly. Examined patterns
1792 are changed, to 1) common patterns with specified (or current)
1793 culture, 2) common patterns with invariant, 3) The above "one
1794 character patterns" with specified (or current) culture.
1795 - When trying to parse some kind of patterns such as RFC1123,
1796 always use invariant DateTimeFormatInfo so that they can avoid
1797 parsing with culture-dependent calendar.
1798 - Check "GMT" only when doing Parse(). Don't it when ParseExact().
1799 - Removed extraneous '-' case. It is not special one.
1800 - When ParseExact(), allow only '/' for '/' pattern character.
1801 - When Parse(), allow any non-letter & non-number characters.
1802 - When pattern is not fully parsed, reject that format.
1803 - Added "exact" parameter to some ParseExact().
1804 - RFC1123 pattern is (again) now parsed in local time. I regressed
1805 some problems in previous fix.
1807 2004-06-08 Sebastien Pouliot <sebastien@ximian.com>
1809 * Decimal.cs: Fixed cast to integer types to truncate (not round) the
1812 2004-06-07 Duncan Mak <duncan@ximian.com>
1814 * Exception.cs (Source): This can return null.
1816 2004-06-07 Sebastien Pouliot <sebastien@ximian.com>
1818 * DateTime.cs: Fixed FromFileTime for negative values. Fixed
1819 constructor to limit range of milliseconds from 0,999. Fixed
1820 ToType method to work for object, string and DateTime.
1822 2004-06-07 Sebastien Pouliot <sebastien@ximian.com>
1824 * DateTime.cs: Fixed OLE Automation date conversions: timezone
1825 insensitive, wrong exception in FromOADate, handling of Min/Max
1826 values, negative doubles where integer part is negative but
1827 decimals are positive! Charming format ;-)
1829 2004-06-06 Sebastien Pouliot <sebastien@ximian.com>
1831 * String.cs: Fixed Join in case separator parameter is null.
1832 * TimeSpan.cs: Cache format errors during parsing and throw
1833 FormatException only if there was no overflow.
1835 2004-06-06 Gert Driesen <drieseng@users.sourceforge.net>
1837 * MonoCustomAttrs.cs: fixed issue where an empty array was
1838 returned when GetCustomAttributes was invoked with null
1839 attribute type and there was only one result
1841 2004-06-06 Sebastien Pouliot <sebastien@ximian.com>
1843 * Decimal.cs: Fixed ToString(String.Empty) to default ("G").
1844 * Int16.cs: Fixed ToString(String.Empty) to default ("G").
1845 * Int32.cs: Fixed ToString(String.Empty) to default ("G").
1846 * Int64.cs: Fixed ToString(String.Empty) to default ("G").
1847 * SByte.cs: Fixed ToString(String.Empty) to default ("G").
1848 * UInt16.cs: Fixed ToString(String.Empty) to default ("G").
1849 * UInt32.cs: Fixed ToString(String.Empty) to default ("G").
1850 * UInt64.cs: Fixed ToString(String.Empty) to default ("G").
1852 2004-06-05 Sebastien Pouliot <sebastien@ximian.com>
1854 * Convert.cs: Fixed the convertion of negative integers (byte, short,
1855 int and long) into string in a specific base (2, 8, 10 or 16).
1857 2004-06-04 Sebastien Pouliot <sebastien@ximian.com>
1859 * Math.cs: Fixed IEEERemainder to return -0 (0x8000000000000000) when
1860 the dividend is negative and the result is 0 (remainder).
1862 2004-06-03 Sebastien Pouliot <sebastien@ximian.com>
1864 * Delegate.cs: Fix the NullReferenceException in Combine(Delegate[]).
1866 2004-06-02 Sebastien Pouliot <sebastien@ximian.com>
1868 * TimeSpan.cs: Fixed overflow issues when delaing with big (days) time
1869 spans. Fixed parsing when only days are presents in the string (which
1870 should be illegal according to the documentation but is supported).
1872 2004-06-01 Sebastien Pouliot <sebastien@ximian.com>
1874 * TimeSpan.cs: Fixed exceptions in FromXXX methods as they are
1875 somewhat different from the documentation.
1877 2004-06-01 Gert Driesen <drieseng@users.sourceforge.net>
1879 * Type.cs: added missing attributes on InvokeMember
1881 2004-06-01 Miguel de Icaza <miguel@ximian.com>
1883 * String.cs: Flag concat with four arguments internal.
1885 2004-05-31 Sebastien Pouliot <sebastien@ximian.com>
1887 * Array.cs: Fixed legal case where value is null.
1888 * Byte.cs: Fixed ToString when format is an empty string (use "G").
1889 * Guid.cs: Renamed private fields (and changed some to signed) to
1890 match MS implementation and allow serialization to work. Fix
1893 2004-05-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1895 * DateTime.cs: adjust milliseconds for fraction specifier ('f').
1897 2004-05-30 Miguel de Icaza <miguel@ximian.com>
1899 * Console.cs: Remove *again* the version of WriteLine with four
1900 arguments; That should *not* be added.
1902 Flag it as internal as people migrate their code.
1904 2004-05-29 Sebastien Pouliot <sebastien@ximian.com>
1906 * Convert.cs: Fixed ToSByte(string,IFormatProvider) to throw
1907 ArgumentNullException (only case, all other returns 0). Fixed exception
1908 reporting for hex prefix only strings. Fixed ChangeTo where null could
1909 be misinterpreted between null and Empty.
1911 2004-05-28 Sebastien Pouliot <sebastien@ximian.com>
1913 * Convert.cs: Fixed integer parsing for special cases (0x, 0X for base
1914 16), non-base 10 negative numbers ... see new unit tests. Fixed the
1915 case when we parse Int64.MinValue (positive doesn't fit a signed long).
1917 2004-05-28 Jackson Harper <jackson@ximian.com>
1919 * Environment.cs: Increment version number.
1921 2004-05-28 Zoltan Varga <vargaz@freemail.hu>
1923 * AppDomain.cs (Load): Try loading from assemblyRef.CodeBase if exists.
1926 2004-05-28 Atsushi Enomoto <atsushi@ximian.com>
1928 * DateTime.cs : I reverted my fix by accident :(
1930 2004-05-28 Atsushi Enomoto <atsushi@ximian.com>
1933 - In ToString(), Don't use culture-dependent daynames to format
1934 Universal/RFC1123 date/time. Also, use FullDateTimePattern for 'U'.
1935 - Fixed GetDateTimeFormats () that generated incorrect 'U' value
1936 (since the format string is the same as 'F').
1938 2004-05-28 Atsushi Enomoto <atsushi@ximian.com>
1940 * DateTime.cs : don't adjust utc value in ToString(). It must output
1941 the same time value, just adding 'Z' for UTC.
1943 2004-05-28 Atsushi Enomoto <atsushi@ximian.com>
1945 * DateTime.cs : in 'Z' case, remove the 'Z' char from input before
1948 2004-05-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1950 * AppDomainSetup.cs: InitAppDomainSetup is not needed now.
1952 2004-05-27 Sebastien Pouliot <sebastien@ximian.com>
1954 * Byte.cs: Fixed parsing for "-0" which is valid for unsigned types.
1955 * Convert.cs: Convert with a base parameter cannot parse negative
1956 string numbers, even "-0".
1957 * UInt16.cs: Fixed parsing for "-0" which is valid for unsigned types.
1958 * UInt32.cs: Fixed parsing for "-0" which is valid for unsigned types.
1959 * UInt64.cs: Fixed parsing for "-0" which is valid for unsigned types.
1961 2004-05-27 Atsushi Enomoto <atsushi@ximian.com>
1964 - Added "yyyy/MM/dd HH:mm:ss 'GMT'" and "yyyy-MM-dd HH:mm:ss 'GMT'"
1965 to common formats (yes, I know it is nothing more than hack)
1966 - Fixed some GetDateTimeFormats() that just returned patterns.
1967 - For InvariantCulture, now try both supported formats and our
1969 - It was accepting incorrectly extraneous characters. That caused
1970 some UTC/non-UTC bug.
1971 - RFC1123 string should return universal time. Uncomment again (the
1972 problem should went away because of the extra characters fix above.
1974 With some of the changes above, fixed bug #47720.
1976 2004-05-27 Atsushi Enomoto <atsushi@ximian.com>
1978 * DateTime.cs : quick revert 'Z' support for certificate verifications.
1980 2004-05-26 Sebastien Pouliot <sebastien@ximian.com>
1982 * Array.cs: Removed duplicate condition if LastIndexOf.
1984 2004-05-26 Atsushi Enomoto <atsushi@ximian.com>
1987 - Added "yyyy-MM-dd HH:mm:ss" to "compatible patterns".
1989 - As a quick remedy to accept more patterns, Parse() now also tries
1990 InvariantInfo patterns (this is because we have no more than one
1991 pattern for each pattern component.)
1992 - In _DoParse(), 'Z' should not be read as timezone specifier. Some
1993 culture uses 'Z' as AM/PM designer, and it should be recognized as
1994 part of the UTCpattern (if it actually UTC pattern for the culture
1997 2004-05-26 Gert Driesen (drieseng@users.sourceforge.net)
1999 * MonoCustomAttrs.cs: Fixed issue with AllowMultiple, as MS
2000 seems to allow multiple attributes with AllowMultiple at
2003 2004-05-26 Sebastien Pouliot <sebastien@ximian.com>
2005 * Byte.cs: Throw an OverflowException for negative numbers.
2006 * Convert.cs: Accept 0x and 0X as prefix when parsing base16 strings.
2007 * Environment.cs: Bumped mono_corlib_version to 20 (rng interface).
2009 2004-05-25 Sebastien Pouliot <sebastien@ximian.com>
2011 * Array.cs: Fixed possible integer overflow.
2012 * BitConverter.cs: Fixed a possible integer overflow in ToString.
2013 * Guid.cs: Added an internal method to create a random Guid without
2014 using CryptoConfig (which is heavy on first use). This is only used
2015 in S.R.E.ModuleBuilder to speedup MCS compilation.
2016 * String.cs: Fixed reported exception for PadLeft|Right. Fixed
2017 possible integer overflow in methods that takes index and count
2020 2004-05-25 Zoltan Varga <vargaz@freemail.hu>
2022 * String.cs: Add new Strcpy icalls which take a char array as
2025 2004-05-25 Atsushi Enomoto <atsushi@ximian.com>
2027 * DateTime.cs : added more invariant format patterns. This should
2028 really fix bug #57656.
2030 2004-05-25 14:14 CET Patrik Torstensson <totte@hiddenpeaks.com>
2032 * BitConverter.cs (ToBoolean): Return true or false instead
2033 of unsafe returing byte as bool. Fixes bug #58874.
2035 2004-05-25 Atsushi Enomoto <atsushi@ximian.com>
2037 * DateTime.cs : In ToString(string, IFormatProvider), use "G" if
2038 string format argument is null.
2040 2004-05-25 Lluis Sanchez Gual <lluis@ximian.com>
2042 * Version.cs: Rename of data fields to match those in Microsoft.NET.
2043 Patch by PAF@design.ru.
2045 2004-05-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2047 * DateTime.cs: allow double quotes in the formats. Don't set
2048 next_not_digit to true in presence of single or double quotes. Patch by
2051 2004-05-24 Zoltan Varga <vargaz@freemail.hu>
2053 * AppDomainSetup.cs (InitAppDomainSetup): This one returns void.
2055 2004-05-23 Sebastien Pouliot <sebastien@ximian.com>
2057 * Array.cs: Fixed exception when we try to Clear outside bounds.
2058 * Boolean.cs: Fixed Equals for True!=True (see bugzilla #58874).
2059 * BitConverter.cs: Fixed negative index and integer overflow in
2061 * Buffer.cs: Fixed integer overflow in BlockCopy.
2063 2004-05-22 Sebastien Pouliot <sebastien@ximian.com>
2065 * Array.cs: Clear can now work on multidimentional arrays.
2066 * IntPtr.cs: We now only accept 32bits values in the long constructor
2067 unless we're on a 64 bits machine.
2068 * UIntPtr.cs: We now only accept 32bits unsigned values in the ulong
2069 constructor unless we're on a 64 bits machine.
2071 2004-05-22 Duncan Mak <duncan@ximian.com>
2073 * Convert.cs: The file was mostly in DOS endings already, for the
2074 sake of consistency, converted it all to DOS endings.
2075 (ToType): When value is null, immediately return null and don't
2076 ever throw a NullReferenceException. When conversionType is null,
2077 throw an InvalidCastException. Give a better error message when
2078 attempting to convert to a DBNull as well.
2080 2004-05-21 Sebastien Pouliot <sebastien@ximian.com>
2082 * Decimal.cs: Fixed To... methods that needs to trunk the integer part
2083 of Decimal (and not use the banker's rounding like Convert.To...).
2084 * Single.cs: Fixed CompareTo and Equals (copied fix from Double) wrt
2085 to NaN compares (see new unit tests).
2087 2004-05-20 Sebastien Pouliot <sebastien@ximian.com>
2089 * Convert.cs: Added checks for integer overflow for From|ToBase64Char.
2090 Also fixed the case where wide (16 bits) characters were converted to
2093 2004-05-19 Gert Driesen (drieseng@users.sourceforge.net)
2095 * ThreadStaticAttribute.cs
2096 * ContextStaticAttribute.cs
2098 * ObsoleteAttribute.cs : now that Inherited is false by
2099 default on AttributeUsageAttribute (as it should be) we
2100 need to explicitly set Inherited to false for those
2101 attributes should it be be false.
2103 2004-05-19 Gert Driesen (drieseng@users.sourceforge.net)
2105 * AttributeUsageAttribute.cs: Inherited property should be
2106 true by defaultrs.cs: respect Inherited property, and
2108 2004-05-19 Gert Driesen (drieseng@users.sourceforge.net)
2110 * MonoCustomAttrs.cs: respect Inherited property, and
2111 AllowMultiple property of a CustomAttribute. This fixes
2112 a major issue we had with respect to custom attributes.
2114 2004-05-19 Gert Driesen (drieseng@users.sourceforge.net)
2116 * MonoType.cs: throw ArgumentNullException when type parameter in
2117 GetCustomAttributes(Type, bool) is null
2119 2004-05-18 Sebastien Pouliot <sebastien@ximian.com>
2121 * Buffer.cs: Added checks for null source and destination. Fix failing
2122 CryptoStream unit test.
2123 * Guid.cs: Fixed thread-safety issue. Simplified implementation to use
2124 pseudo-random numbers to generate GUIDs (as per section 3.4 of the
2125 spec). This removes the TODO to get the computer MAC address and
2126 the chances to get a duplicate GUID (across different machines).
2128 2004-05-17 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
2130 * TimeSpan.cs: Only catch expected exceptions, if we get other exceptions
2131 than OverflowExceptions then something went wrong internally
2133 2004-05-17 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
2135 * Char.cs: Fix long standing bug with ToLower/ToUpper not being
2138 2004-05-14 Zoltan Varga <vargaz@freemail.hu>
2140 * Buffer.cs: Optimize BlockCopy.
2142 * Environment.cs: Bump corlib version.
2144 2004-05-14 Atsushi Enomoto <atsushi@ximian.com>
2146 * __ComObject.cs : This class is not regarded as CLSCompliant by csc.
2147 See also bug #58478.
2149 2004-05-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2151 * AppDomainSetup.cs: don't throw an exception if dynamic_base has not
2152 been set. Just return null as MS. Fixes bug #58120.
2154 2004-05-14 Marek Safar <marek.safar@seznam.cz>
2156 * Boolean.cs, Byte.cs, Char.cs, DBNull.cs, DateTime.cs,
2157 Decimal.cs, Double.cs, Enum.cs, Int16.cs, Int32.cs,
2158 Int64.cs, IntegerFormatter.cs, SByte.cs, Single.cs,
2159 String.cs, UInt16.cs, UInt32.cs, UInt64.cs: Removed
2160 useless [CLSCompliant (false)]
2163 2004-05-13 Sebastien Pouliot <sebastien@ximian.com>
2165 * __ComObject.cs: To please corcompare (no implementation).
2167 2004-05-13 Zoltan Varga <vargaz@freemail.hu>
2169 * Environment.cs: Bump corlib version.
2171 2004-05-13 Sebastien Pouliot <sebastien@ximian.com>
2173 * Environement.cs: Removed two security attributes for CurrentDirectory
2174 that weren't documented (and anyway we don't support them).
2176 2004-05-11 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
2178 * Char.cs: Fix exceptions
2180 2004-05-11 Lluis Sanchez Gual <lluis@ximian.com>
2182 * MissingMemberException.cs: Fix in serialization constructor.
2184 2004-05-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2186 * Environment.cs: GetGacPath return value is resolved at runtime on
2189 2004-05-07 Sebastien Pouliot <sebastien@ximian.com>
2191 * Convert.cs: ToBase64CharArray method was depending on a bug in
2192 S.S.C.ToBase64Transform class to work. Added an internal method to
2193 provide the same functionality (multiple block processing).
2195 2004-05-06 Jackson Harper <jackson@ximian.com>
2197 * Environment.cs: Make $HOME the personal directory.
2199 2004-05-06 Sebastien Pouliot <sebastien@ximian.com>
2201 * Convert.cs: ToBase64String method was depending on a bug in
2202 S.S.C.ToBase64Transform class to work. Added an internal method to
2203 provide the same functionality (multiple block processing).
2205 2004-05-05 Sebastien Pouliot <sebastien@ximian.com>
2207 * Environment.cs: Completed OSVersion property.
2208 * Version.cs: Added internal CreateFromString() to "try" to build the
2209 best version number form the specified string.
2211 2004-05-01 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
2213 * TimeSpan.cs: Redid a lot of stuff in TimeSpan from scratch.
2214 Fixes several potential bugs and makes things way faster.
2216 2004-05-01 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
2218 * TimeSpan.cs: Formatting changes
2220 2004-04-29 Ben Maurer <bmaurer@users.sourceforge.net>
2222 * Activator.cs: change _flags to a const.
2223 * IntegerFormatter.cs: make tables readonly.
2224 * Convert.cs: tables readonly
2225 * DateTime.cs: ditto.
2226 * IntPtr.cs: avoid a cctor.
2228 2004-04-29 Jackson Harper <jackson@ximian.com>
2231 * Type.cs: NET_2_0 now instead of 1_2.
2233 2004-04-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2235 * Environment.cs: implemented GetLogicalDrives.
2237 2004-04-28 Miguel de Icaza <miguel@ximian.com>
2239 * Applied patch from Atsushi Enomoto that allows Synchronized
2240 writers to have a `dont close' flag, this fixes 52094
2242 2004-04-29 Lluis Sanchez Gual <lluis@ximian.com>
2244 * MonoCustomAttrs.cs, MonoType.cs: Property.GetGetMethod() does not
2245 return the method if it is private (it did until now because of a
2246 bug). Make sure it works as it worked before the fix.
2247 * Type.cs: Implemented FilterAttribute delegate.
2249 2004-04-28 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
2251 * IntegerFormatter.cs: Prevent the use of the explicit static constuctor
2253 2004-04-27 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
2255 * IntegerFormatter.cs: Made functions internal (needed by other patches)
2257 2004-04-27 Lluis Sanchez Gual <lluis@ximian.com>
2259 * DateTime.cs: TODO cleaning.
2260 * Delegate.cs: GetObjectData should be virtual.
2261 * IntegerFormatter.cs: Method factorization. I don't want to fix bugs in
2262 30 methods almost identical.
2263 * MulticastDelegate.cs: Implemented GetObjectData.
2265 2004-04-26 Jackson Harper <jackson@ximian.com>
2267 * Environment.cs: Things going bump in the night.
2269 2004-04-25 Miguel de Icaza <miguel@ximian.com>
2271 * Convert.cs (toBase64Transform): Make private.
2273 2004-04-25 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
2277 * DecimalFormatter.cs:
2278 * FloatingPointFormatter.cs: Call invariant Char functions
2279 * Guid.cs: Call invariant Char and String functions
2280 * String.cs: Call invariant Char functions
2282 2004-04-25 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
2284 * String.cs: Refactored the Invariant ToXXX into its own internal methods
2285 so they are directly callable within corlib (can prevent early
2286 construction of CultureInfo, InvariantCulture and related classes)
2288 2004-04-24 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
2290 * String.cs: Managed impl. of Invariant parts of ToLower, ToUpper
2291 * Char.cs: Managed impl. of Invariant parts of ToLower, ToUpper
2293 2004-04-24 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
2295 * String.cs: Check for null values
2297 2004-04-23 Peter Bartok <pbartok@novell.com>
2299 * Environment.cs: GetLogicalDrives now returns "/" instead of null. Gonzalo
2300 will do a better fix in the future, but this way apps can at least use it.
2302 2004-04-23 Sebastien Pouliot <sebastien@ximian.com>
2304 * Environment.cs: Better support for GetFolderPath (same results as MS
2307 2004-04-22 Lluis Sanchez Gual <lluis@ximian.com>
2309 * Activator.cs: Removed TODOs for finished methods.
2310 * AppDomainSetup.cs: When setting a relative path to ApplicationBase, it
2311 must be relative to the current directory, not the temp directory.
2312 Implemented DynamicBase.
2313 * Convert.cs: No need to create a ToBase64Transform instance at every call
2314 to ToBase64CharArray.
2315 * DateTime.cs: Implemented missing methods FromFileTimeUtc and
2317 * Decimal.cs: Implemented FromOACurrency and ToOACurrency.
2318 * Delegate.cs: Removed class TODO.
2319 * IntegerFormatter.cs: Use Char.IsLetter and Char.IsDigit instead of ad-hoc
2321 * Type.cs: Removed TODOs for things already implemented.
2323 2004-04-21 Lluis Sanchez Gual <lluis@ximian.com>
2325 * Char.cs: Implemented culture-dependent ToLower and ToUpper methods.
2326 * MulticastDelegate.cs: Removed unused code.
2328 2004-04-19 Lluis Sanchez Gual <lluis@ximian.com>
2330 * AppDomain.cs: Implemented DynamicDirectory and SetDynamicBase.
2331 * Array.cs: Removed some TODOs in CreateInstance and IndexOf.
2332 * BadImageFormatException.cs: TODO reformat.
2333 * DateTime.cs: Implemented GetDateTimeFormats and GetDateTimeFormats.
2334 * DelegateSerializationHolder.cs: Made class internal.
2335 * Enum.cs: Removed TODO for localization, since this is something that has
2336 to be done for all classes.
2337 * Environment.cs: Removed TODO.
2338 * Exception.cs: Changed ToString to use StringBuilder.
2339 * MonoDummy.cs: Made class internal.
2340 * UnitySerializationHolder.cs: Added support for modules.
2342 2004-04-16 David Sheldon <dave-mono@earth.li>
2344 * DecimalFormatter.cs: Don't append a decimal point after the
2345 end of a number. ((decimal)1).ToString("P0") should be "100 %", not
2348 2004-04-09 Miguel de Icaza <miguel@ximian.com>
2350 * OutOfMemoryException.cs: Removed the call to Locale.GetText from
2353 2004-04-10 Gert Driesen (drieseng@users.sourceforge.net)
2355 * MonoDummy.cs: added MonoTODO to make sure we remove this class
2356 when its no longer needed
2358 2004-04-09 David Sheldon <dave-mono@earth.li>
2360 * Convert.cs: Allow + signs in strings for ToInt32, and
2363 2004-04-08 Atsushi Enomoto <atsushi@ximian.com>
2365 * Nullable.cs : usingdecl should also be conditional.
2367 2004-04-07 Martin Baulig <martin@ximian.com>
2369 * Nullable.cs: New file.
2371 2004-04-07 Martin Baulig <martin@ximian.com>
2373 * Type.cs (Type.GetGenericArguments): Make this abstract.
2375 2004-04-07 Jackson Harper <jackson@ximian.com>
2377 * Environment.cs: Increase corlib version number.
2379 2004-04-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2382 (ExpandEnvironmentVariables): on windows, env. vars. are case
2385 2004-04-06 Sebastien Pouliot <sebastien@ximian.com>
2387 * AppDomain.cs: Added static to [ThreadStatic] _principal field.
2388 Removed [ThreadStatic] for _principalPolicy (not required).
2390 2004-04-06 Miguel de Icaza <miguel@ximian.com>
2392 * Guid.cs: Flag as Sequential.
2394 2004-04-02 Dick Porter <dick@ximian.com>
2396 * String.cs: More sanity checks in Replace(). Fixes bug 55822.
2398 2004-04-02 Sebastien Pouliot <sebastien@ximian.com>
2400 * Environment.cs: Implement ExpandEnvironmentVariables static method.
2401 Now call the runtime to get the username (fix #56144).
2403 2004-04-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2405 * MonoType.cs: AssemblyQualifiedName now displays culture, version...
2408 2004-03-29 Miguel de Icaza <miguel@ximian.com>
2410 * Console.cs: If we fail to open stdin/stdout/stderr, create
2411 readers with a NullStream. This can happen if our caller does not
2412 setup stdin/stoud/stderr file handles. #56158 exposed this, but
2413 it will happen elsewhere.
2415 2004-03-29 Lluis Sanchez Gual <lluis@ximian.com>
2417 * Convert.cs: In ToSingle(double), removed checks for Single.MaxValue
2418 and Single.MinValue. MS.NET don't do it. This fixes bug #56005.
2419 * Guid.cs: Added support for guid strings in the "N" and "P" formats in
2420 the constructor. This fixes bug #54019.
2422 2004-03-23 Lluis Sanchez Gual <lluis@ximian.com>
2424 * FloatingPointFormatter.cs: Made the class thread safe. Had to move some
2425 internal variables to structures that are moved around methods.
2426 Factorized some common formatting code into FormatNumberInternal.
2428 2004-03-23 Dick Porter <dick@ximian.com>
2430 * DateTime.cs: Allow any character for DateSeparator when parsing,
2431 except TimeSeparator, a digit or a letter. Fixes bug 54047. Also
2432 deleted the previous fix for 54721, because this covers it too.
2434 2004-03-23 Dick Porter <dick@ximian.com>
2436 * DateTime.cs: Check the date string for too many digits when
2437 parsing. Fixes bugs 53023 and 53025.
2439 2004-03-22 Dick Porter <dick@ximian.com>
2441 * String.cs: Use the provider when converting strings to other
2444 * DateTime.cs: Add MM-dd-yyyy to the list of standard date parsing
2445 formats. Fixes bug 54721.
2447 2004-03-22 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
2449 * Console.cs: Styled, optimized calls
2450 * CrossAppDomainDelegate.cs: Small header fix
2451 * Buffer.cs: Style, improve errors
2452 * BitConverter.cs: Style, improve errors, remove obsolete comment
2453 * Attribute.cs: Style, improve errors, small fix
2454 * Array.cs: Style, improve errors, small fix, added TODOs
2455 * Activator.cs: Style, localized errors, added error checks
2456 * Byte.cs: Style, localized errors, fixed wrong exception parameters
2459 * AppDomainSetup.cs: Style
2460 * AppDomain.cs: Style, implemented two methods (redirect)
2462 2004-03-21 Jackson Harper <jackson@ximian.com>
2464 * FloatingPointFormatter.cs: Set precision from number format info
2465 when it is not specified. This fixes bug #54983.
2467 2004-03-18 Nick Drochak <ndrochak@ieee.org>
2469 * Math.cs: Use IsNaN() method not "x == NaN".
2471 2004-03-16 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
2473 * EntryPointNotFoundException.cs
2474 * DuplicateWaitObjectException.cs
2475 * DllNotFoundException.cs
2476 * DivideByZeroException.cs
2477 * ContextMarshalException.cs
2478 * CannotUnloadAppDomainException.cs
2479 * BadImageFormatException.cs
2480 * ArrayTypeMismatchException.cs
2481 * ArithmeticException.cs
2482 * ArgumentOutOfRangeException.cs
2483 * ArgumentNullException.cs
2484 * ArgumentException.cs
2485 * ApplicationException.cs
2486 * AppDomainUnloadedException.cs: Added missing HResult overrides
2488 * BadImageFormatException.cs: Improved/ Fixed implementation
2490 2004-03-15 Sebastien Pouliot <sebastien@ximian.com>
2492 * Random.cs: Corrected random value when Next is called with a
2493 negative value. Testing indictae that our results aren't exactly the
2494 same as MS, we have a +/- 1 (probably rounding errors due to
2495 different implementation).
2497 2004-03-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2499 * Environment.cs: updated corlib version.
2501 2004-03-15 Lluis Sanchez Gual <lluis@ximian.com>
2503 * Boolean.cs, Byte.cs, Char.cs, Double.cs, Int16.cs, Int32.cs, Int64.cs,
2504 SByte.cs, Single.cs, UInt16.cs, UInt32.cs, UInt64.cs: Renamed internal
2505 field "value" to "m_value", so it is interoperable with MS.NET when
2506 serializing and deserializing data. Based on the patch from Daniel
2509 2004-03-14 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
2511 * TypeInitializationException.cs
2512 * SystemException.cs
2513 * StackOverflowException.cs
2515 * OverflowExceptionException.cs
2516 * OutOfMemoryException.cs
2517 * NullReferenceException.cs
2518 * NotSupportedException.cs
2519 * NotFiniteNumberException.cs
2520 * InvalidOperationException.cs
2521 * InvalidCastException.cs
2522 * IndexOutOfRangeException.cs
2523 * FormatException.cs
2524 * ExecutionEngineException.cs: improved parameter names
2526 2004-03-13 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
2529 * EntryPointNotFoundException.cs
2530 * DuplicateWaitObjectException.cs
2531 * DoubleFormatter.cs
2532 * DllNotFoundException.cs
2533 * DivideByZeroException.cs
2534 * DelegateSerializationHolder.cs
2537 * ContextStaticAttribute.cs
2538 * ContextMarshalException.cs
2539 * ContextBoundObject.cs
2540 * CLSCompliantAttribute.cs
2542 * CannotUnloadAppDomainException.cs
2543 * BadImageFormatException.cs
2544 * AttributeUsageAttribute.cs
2545 * AttributeTargets.cs
2547 * AssemblyLoadEventHandler.cs
2548 * AssemblyLoadEventArgs.cs
2549 * ArrayTypeMismatchException.cs
2550 * ArithmeticException.cs
2551 * ArgumentOutOfRangeException.cs
2552 * ArgumentNullException.cs
2553 * ArgumentException.cs
2555 * ApplicationException.cs
2556 * AppDomainUnloadedException.cs
2557 * AppDomain.cs: Mono styled, fixed exceptions/ locales
2558 removed excess usings
2560 2004-03-10 Sebastien Pouliot <sebastien@ximian.com>
2562 * Convert.cs: FromBase64 now ignore some characters (tab, LF, CR and
2563 spaces) which fixed #54939. Changed the way that the length is
2564 validated (multiple of 4) because the ignored characters must not be
2565 included in the count.
2567 2004-03-10 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
2569 * String.cs: Monostyled
2571 2004-03-09 Jackson Harper <jackson@ximian.com>
2573 * Char.cs: Only use a byte for numeric data.
2575 2004-03-09 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
2577 * TypedReference.cs: Added missing Attributes
2578 * ParamArrayAttribute.cs: Small style fix
2579 * OperatingSystem.cs: Added .Net 1.1 member
2581 2004-03-09 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
2583 * FieldAccessException.cs
2584 * FormatException.cs
2585 * InvalidCastException.cs
2586 * InvalidOperationException.cs
2587 * MemberAccessException.cs
2588 * MethodAccessException.cs
2589 * MissingFieldException.cs: Locale strings
2590 * MissingMemberException.cs: Locale strings
2591 * MissingMethodException.cs: Locale strings
2592 * NotFiniteNumberException.cs
2593 * NotImplementedException.cs
2594 * NotSupportedException.cs
2595 * NullReferenceException.cs
2596 * ObjectDisposedException.cs
2597 * OutOfMemoryException.cs
2598 * OverflowExceptionException.cs
2599 * PlatformNotSupportedException.cs
2600 * RankException.cs: Added missing HResult overrides
2602 2004-03-09 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
2604 * RuntimeTypeHandle.cs
2605 * RuntimeMethodHandle.cs
2606 * RuntimeFieldHandle.cs: Implemented serialization (partially untested)
2608 2004-03-09 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
2612 * ExecutionEngineException.cs
2613 * FieldAccessException.cs
2614 * FormatException.cs
2617 * IndexOutOfRangeException.cs
2619 * InvalidCastException.cs
2620 * InvalidOperationException.cs
2621 * InvalidProgramException.cs
2622 * IServiceProvider.cs
2623 * LoaderOptimization.cs
2624 * LoaderOptimizationAttribute.cs
2625 * MarshalByRefObject.cs
2627 * MemberAccessException.cs
2628 * MethodAccessException.cs
2629 * MissingFieldException.cs
2630 * MissingMemberException.cs
2631 * MissingMethodException.cs
2632 * MultiCastDelegate.cs
2633 * MulticastNotSupportedException.cs
2634 * NonSerializedAttribute.cs
2635 * NotFiniteNumberException.cs
2636 * NotImplementedException.cs
2637 * NotSupportedException.cs
2638 * NullReferenceException.cs
2639 * ObjectDisposedException.cs
2640 * ObsoleteAttribute.cs
2641 * OperatingSystem.cs
2642 * OutOfMemoryException.cs
2643 * OverflowExceptionException.cs
2645 * PlatformNotSupportedException.cs
2648 * ResolveEventArgs.cs
2649 * ResolveEventHandler.cs
2650 * RuntimeFieldHandle.cs
2651 * RuntimeMethodHandle.cs
2652 * RuntimeTypeHandle.cs: Mono styled, fixed exceptions/ locales
2653 removed excess usings
2655 2004-03-08 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
2657 * SystemException.cs: Exceptions set the HResult
2658 * TypeLoadException.cs: Exceptions set the HResult, fixed wrong exception usage
2659 * SByte.cs: Implemented two missing methods, fix wrong parameters for ArgumentNullException
2661 2004-03-08 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
2664 * TypeLoadException.cs
2665 * TypeInitializationException.cs
2668 * ThreadStaticAttribute.cs
2669 * SystemException.cs
2670 * STAThreadAttribute.cs
2671 * StackOverflowException.cs
2672 * SingleFormatter.cs
2674 * SerializableAttribute.cs: Mono styled, fixed exceptions/ locales
2675 removed excess usings
2677 2004-03-08 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
2679 * UnauthorizedAccessException.cs: Exceptions set the HResult
2680 * UInt64.cs: Implemented two missing methods
2681 * UInt32.cs: Fix wrong parameters for ArgumentNullException, simpler convert
2682 * UInt16.cs: Fix wrong parameters for ArgumentNullException, simpler convert
2684 2004-03-08 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
2690 * UnitySerializationHolder.cs
2691 * UnhandledExceptionEventHandler.cs
2692 * UnauthorizedAccessException.cs
2696 * UInt16.cs: Mono styled, Locale.GetText fixes, msg fixes
2698 2004-03-04 Lluis Sanchez Gual <lluis@ximian.com>
2700 * Environment.cs: Bump corlib version.
2702 2004-03-04 Jackson Harper <jackson@ximian.com>
2704 * Char.cs: New managed implementation. Modified patch by Andreas Nahr.
2706 2004-02-27 Lluis Sanchez Gual <lluis@ximian.com>
2708 * String.cs: Concat() fixed crash when one of the arguments is an object
2709 whose ToString() method returns null.
2710 * TypeLoadException.cs: Added some serialization fiels, needed for
2711 compatibility with MS.NET.
2713 2004-02-23 Ben Maurer <bmaurer@users.sourceforge.net>
2715 * String.cs (Equals): Speed up this method by avoiding Array
2716 Bounds Checks and by comparing by 32 bit words rather than 16 bit chars.
2718 This gives between 0x (for 1 char) and >2x (for large strings)
2719 factor of improvement.
2721 A big thanks to Miguel, who suggested the integer compares.
2723 2004-02-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2725 * MonoType.cs: use the binder in GetPropertyImpl.
2727 2004-02-22 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
2729 * Math.cs: MonoStyled, replaced space with tabs,
2730 speedup of some methods by avoiding method calls
2732 2004-02-18 Atsushi Enomoto <atsushi@ximian.com>
2734 * Char.cs : optimized IsSeparator(), IsWhiteSpace() and IsDigit().
2735 (Moved from InternalCall to Managed code).
2737 2004-02-17 Martin Baulig <martin@ximian.com>
2739 * MonoType.cs (GetConstructors): Renamed the interncall to
2740 GetConstructors_internal(), made it internal and added a `Type
2741 reflected_type' argument to it.
2742 (GetEvents, GetFields): Likewise.
2743 (GetMethodsByName): Added `Type reflected_type' argument.
2744 (GetPropertiesByName): Likewise.
2746 2004-02-16 Jackson Harper <jackson@ximian.com>
2748 * FloatingPointFormater.cs: Allow precision to be up to the number
2749 of decimals without rounding.
2751 2004-02-14 Zoltan Varga <vargaz@freemail.hu>
2753 * Delegate.cs (Equals): Do not compare method_ptr, since it might
2754 point to a trampoline.
2756 2004-02-12 Jackson Harper <jackson@ximian.com>
2758 * AppDomainSetup.cs: If relative paths are used they should be
2759 rooted in the temp directory.
2761 2004-02-11 Marek Safar <marek.safar@seznam.cz>
2763 * Type.cs (FilterNameIgnoreCase_impl): Added extra check for speedup.
2765 2004-02-10 Zoltan Varga <vargaz@freemail.hu>
2767 * AppDomain.cs (Load): Check that assemblyRef.Name is not empty, to
2768 avoid an assert in the runtime.
2770 2004-02-08 Duncan Mak <duncan@ximian.com>
2772 * Convert.cs (ToType): Always let a Convert.ChangeType call
2773 succeed if the source object is already of the destination type.
2775 Patch by Ian MacLean (ianm@activestate.com).
2777 2004-02-05 Sebastien Pouliot <sebastien@ximian.com>
2779 * AppDomain.cs: Implemented SetPrincipalPolicy and SetThreadPrincipal.
2781 2004-02-02 Zoltan Varga <vargaz@freemail.hu>
2783 * Environment.cs: Bump corlib version.
2785 2004-02-02 Sebastien Pouliot <sebastien@ximian.ca>
2787 * DateTime.cs: Corrected support for "Z" in the mask (Parse). This
2790 2004-01-27 Sebastien Pouliot <spouliot@videotron.ca>
2792 * Exception.cs: Changed ToString to remove the \n when no stack trace
2793 is present (which fixed a unit test for SecurityException). Changed
2794 all \n to Environment.NewLine.
2796 2004-01-27 Lluis Sanchez Gual <lluis@ximian.com>
2798 * ContextBoundObject.cs: Removed TODO.
2800 2004-01-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2802 * TimeSpan.cs: fixed bug #52075. Days (int) don't rely on TotalDays
2803 (double), which might round up.
2805 2004-01-19 Jackson Harper <jackson@ximian.com>
2807 * FloatingPointFormatter.cs: Use the default decimal digits count
2808 if they are not specified. This fixes bug #52927.
2810 2004-01-19 Zoltan Varga <vargaz@freemail.hu>
2812 * Environment.cs: Bump version number.
2814 2004-01-19 Lluis Sanchez Gual <lluis@ximian.com>
2816 * Type.cs: Added internal call for IsInstanceOfType. The old implementation
2817 uses IsAssignableFrom(o.GetType()), which is not always valid for
2818 transparent proxies (because GetType will not return the type of the remote
2819 object if its assembly is not present).
2821 2004-01-18 David Sheldon <dave-mono@earth.li>
2823 * FloatingPointFormatter.cs: Skip the decimal point if we have an
2824 integer mantassa. So: 1E+15, rather than 1.E+15.
2826 2004-01-18 David Sheldon <dave-mono@earth.li>
2828 * Array.cs (GetValue/SetValue): Throw NullRef exception like .NET 1.1,
2829 even though docs say it should be an ArgumentNull. Two test cases now
2830 pass. See also nickd's commit of 2003-12-24.
2832 2004-01-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2834 * Environment.cs: increased corlib version.
2836 2004-01-14 Lluis Sanchez Gual <lluis@ximian.com>
2838 * MonoCustomAttrs.cs: Removed attribute cache. Attribute instances can't
2839 be reused because they could be modified. This fixes bug #52655.
2841 2004-01-12 Patrik Torstensson
2843 * Environment.cs: Bump corlib version number due to new StringBuilder
2845 * String.cs: New internal method to support the new StringBuilder that
2846 uses the string as a buffer (until ToString is called)
2848 2004-01-12 Zoltan Varga <vargaz@freemail.hu>
2850 * Environment.cs: Bump corlib version number for real this time.
2852 * AppDomain.cs (LoadAssembly): Pass the assembly name as a string to
2853 the runtime, so it can take into account the Culture etc.
2855 * Environment.cs: Bump corlib version number.
2857 2004-01-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2859 * MonoType.cs: GetMethods renamed to GetMethodsByName. It takes a
2860 new parameter with the method name and a boolean for ignoring case.
2861 Removed some string comparisons no longer needed.
2863 2004-01-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2865 * MonoType.cs: GetProperties renamed to GetPropetiesByName. It takes a
2866 new parameter with the property name and a boolean for ignoring case.
2869 2004-01-11 David Sheldon <dave-mono@earth.li>
2871 * DateTime.cs: Correct processing of formats with multiple '-'s, fixing
2874 2004-01-10 Zoltan Varga <vargaz@freemail.hu>
2876 * AppDomain.cs: Keep track of type resolve and assembly resolve
2877 events in progress to prevent infinite recursion.
2879 2004-01-06 Miguel de Icaza <miguel@ximian.com>
2881 * Console.cs: Test for UTF-8 being present anywhere on the
2882 string, also do ToUpper instead of ToLower, which will work even
2883 around the ICU bug with different locales (#52065), and addresses #52101
2885 2004-01-05 Zoltan Varga <vargaz@freemail.hu>
2887 * Environment.cs: Bump version.
2889 2003-12-24 Ben Maurer <bmaurer@users.sourceforge.net>
2891 * Type.cs (IsNotPublic): One would normally assume that
2892 IsNotPublic == !IsPublic, but this is not the case (note to MS,
2893 make better names ;-). Fixes #52547, `Type.IsNotPublic not
2894 correct for Nested types'
2896 2003-12-24 Nick Drochak <ndrochak@ieee.org>
2898 * Array.cs (CreateInstance): Throw NullRef exception like .NET 1.1,
2899 even though docs say it should be an ArgumentNull. Sent email to MS
2902 2003-12-23 Lluis Sanchez Gual <lluis@ximian.com>
2904 * Exception.cs: Several changes to make it compatible with MS.NET (needed
2905 for remoting interoperability): set a default value for hresult, added
2906 initialization of class_name, serialization field RemoteStackTrace must
2907 be RemoteStackTraceString, added ser. field ExceptionMethod.
2909 * IndexOutOfRangeException.cs: Added serialization constructor.
2911 2003-12-22 Bernie Solomon <bernard@ugsolutions.com>
2914 Int64 (Parse): Fix overflow checking for AllowHexSpecifier
2916 2003-12-20 Zoltan Varga <vargaz@freemail.hu>
2918 * MonoType.cs (GetMethodImpl): Only call FindMostDerivedMatch if the
2919 user supplied no parameter info, but not when the user supplied an
2920 empty parameter list. This fixes IKVM.
2922 * Environment.cs: Bump corlib version.
2924 2003-12-19 Dick Porter <dick@ximian.com>
2926 * String.cs: Added Compare shortcut for length==0.
2928 2003-12-17 Zoltan Varga <vargaz@freemail.hu>
2930 * Environment.cs: Bump corlib version.
2932 2003-12-17 Dick Porter <dick@ximian.com>
2934 * String.cs: Fix StartsWith and EndsWith when the argument is the
2935 empty string. Fixes bug 52283.
2937 2003-12-16 Zoltan Varga <vargaz@freemail.hu>
2939 * Environment.cs (HasShutdownStarted): Implement.
2941 2003-12-15 Zoltan Varga <vargaz@freemail.hu>
2943 * Environment.cs (HasShutdownStarted): Make this static under NET 1.1.
2945 * Environment.cs: Bump version number.
2947 2003-12-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2949 * DateTime.cs: don't bail out with that year out of range error on
2950 stuff like "MM/dd/yyyy HH:MM:ss".
2952 2003-12-13 Zoltan Varga <vargaz@freemail.hu>
2954 * Environment.cs: Make it a const instead.
2956 * Environment.cs: Make version field static.
2958 2003-12-10 Zoltan Varga <vargaz@freemail.hu>
2960 * Type.cs: Make DefaultBindingFlags protected.
2962 * Environment.cs: Applied patch from Todd Berman (tbermann@gentoo.org).
2963 Add new GacPath property + its associated icall.
2965 2003-12-09 Anirban Bhattacharjee <banirban@novell.com>
2967 * DateTime.cs : Bugs fixed (41845, 51422)
2968 * MonoType.cs : Exception message changed
2970 2003-12-08 Martin Baulig <martin@ximian.com>
2972 * Type.cs (MakeByRefType): New public method.
2974 2003-12-08 Zoltan Varga <vargaz@freemail.hu>
2976 * Environment.cs: Add a version number for the corlib-runtime interface
2977 to make it easier to diagnose problems resulting from a mismatch
2980 2003-12-08 Patrik Torstensson <p@rxc.se>
2982 * Type.cs (GetMethod): Check type arguments within array
2983 * MonoType.cs (GetMethodImpl): Handle methods with a new slot
2984 (same signature but different classes (derived level)
2986 2003-12-07 Zoltan Varga <vargaz@freemail.hu>
2988 * Type.cs (MakeArrayType): Add argument checking.
2990 2003-12-06 Dick Porter <dick@ximian.com>
2992 * String.cs: Don't use CompareInfo for non-culture-sensitive
2993 IndexOf and LastIndexOf methods.
2995 2003-12-06 Ravindra <rkumar@novell.com>
2997 * DateTime.cs: Made Parse(string, IFormatProvider) method to
2998 use second argument. Fixed bug #51464.
3000 2003-12-04 Martin Baulig <martin@ximian.com>
3002 * Type.cs (Type.MakeArrayType): New public method.
3004 2003-12-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3007 (BlockCopy): make the exception thrown helpful.
3009 2003-12-03 Dick Porter <dick@ximian.com>
3011 * String.cs: Calling Replace on an empty string returns itself.
3013 2003-12-03 Zoltan Varga <vargaz@freemail.hu>
3015 * MonoType.cs: Get rid of get_type_info, use a separate icall for
3016 each property instead.
3018 2003-12-02 Dick Porter <dick@ximian.com>
3020 * Decimal.cs: Fix NumberFormatInfo lookup. Patch by
3021 Mohammad DAMT (mdamt@cdl2000.com), fixes bug 51443.
3023 2003-12-01 Dick Porter <dick@ximian.com>
3025 * String.cs: Make Compare, IndexOf, LastIndexOf, StartsWith,
3026 Replace, ToLower, ToUpper and Equals use the correct CultureInfo.
3028 2003-11-28 Dick Porter <dick@ximian.com>
3033 * Boolean.cs: Do string compares with the Invariant culture.
3035 2003-11-27 Ben Maurer <bmaurer@users.sourceforge.net>
3037 * Array.cs: make the enumerator ICloneable
3039 2003-11-27 Ben Maurer <bmaurer@users.sourceforge.net>
3041 * Decimal.cs (ToXXX): Call Convert.ToXXX.
3043 2003-11-26 Zoltan Varga <vargaz@freemail.hu>
3045 * AppDomain.cs: Applied patch from ztashev@openlinksw.co.uk (Zdravko Tashev).
3046 Implement Load(byte[]) methods.
3048 * BadImageFormatException.cs: Fix ToString.
3050 2003-11-24 Zoltan Varga <vargaz@freemail.hu>
3052 * MonoType.cs: Make Standard|HasThis match Standard in GetMethod and
3053 GetConstructor, as done by MS.
3055 2003-11-19 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
3057 * FloatingPointFormatter.cs: Removed some unused variables to prevent csc compiler warnings
3059 2003-11-18 Lluis Sanchez Gual <lluis@ximian.com>
3061 * TypeInitializationException.cs: Added missing serialization constructor.
3063 2003-11-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3065 * AppDomainSetup.cs: Don't add an extra '/' at the end of
3066 ApplicationBase. The tests pass now with mono.
3068 2003-11-18 Zoltan Varga <vargaz@freemail.hu>
3070 * ValueType.cs: New optimized implementation for Equals and GetHashCode.
3072 2003-11-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3074 * Environment.cs: use Directory in CurrentDirectory property.
3075 We were not throwing any exception when setting the directory to an
3078 2003-11-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3081 * Delegate.cs: implemented 1.1 stuff.
3084 * IntPtr.cs: removed extra attribute.
3085 * PlatformID.cs: added WinCE.
3087 2003-11-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3090 (Equals): compare the fields of structs too.
3091 (GetHashCode): combine the hash code of all the fields.
3092 Fixes bug #50901 (will remove the icall in a couple of days).
3094 2003-11-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3096 * Array.cs: fixed Clear for non-zero bounded arrays. Fixes bug #50968.
3098 2003-11-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3100 * DateTime.cs: handle century when we try to parse 4-digit years and
3101 only 2 digits are present. Fixes bug #49394.
3103 2003-11-13 Miguel de Icaza <miguel@ximian.com>
3105 * Console.cs: On utf-8 consoles, use unmarked output.
3107 2003-11-13 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
3109 * IAppDomainSetup.cs:
3112 * Type.cs: Added missing attribute
3114 2003-11-12 Lluis Sanchez Gual <lluis@ximian.com>
3116 * Environment.cs: Added internal method for getting the path to
3119 2003-11-12 Jackson Harper <jackson@ximian.com>
3121 * Environment.cs: Add MyMusic and MyPictures to the SpecialFolder
3122 enum. This fixes the SWF build.
3124 2003-11-12 Miguel de Icaza <miguel@ximian.com>
3126 * PlatformID.cs: Remove Unix platform, we cant expose constants
3127 that are not in the framework.
3129 * OperatingSystem.cs: Adjust for the breakage.
3131 * RuntimeMethodHandle.cs: Fix signature.
3133 * Double.cs: Fix signature of TryParse.
3135 * String.cs (Concat (object, object, object, object)): Add missing method.
3137 * OperatingSystem.cs: Removed Equals, GetHashCode, they were not
3138 in the .NET Framework.
3140 * Enum.cs: Hide constructor.
3142 Fix ToUint16 to be explicitly implemented.
3144 * Console.cs: Add couple of extra missing methods (Write and
3145 WriteLine overloaded)
3147 2003-11-11 Miguel de Icaza <miguel@ximian.com>
3149 * AppDomain.cs, Activator.cs: New unimplmented entry points from
3150 1.1 (Com activation related).
3152 * Exception.cs: Formatting.
3154 * IServiceProvider.cs: Add ComVisible (true).
3156 * AppDomainSetup.cs: Add a couple more properties from .NET 1.1
3158 2003-11-03 Lluis Sanchez Gual <lluis@ximian.com>
3160 * AppDomain.cs: Added some null checks in Load methods. This fixes bug
3163 2003-11-01 Zoltan Varga <vargaz@freemail.hu>
3165 * AppDomain.cs: Make the SetDomain icalls private + call InternalInvoke
3166 on MonoMethod instead of Invoke.
3168 2003-11-01 Pedro Martínez Juliá <yoros@wanadoo.es>
3170 * DateTime.cs: Fixed Add* methods handling. Now it works properly
3171 with extreme values (there is a bug with Overflow and Underflow in
3174 2003-10-31 Pedro Martínez Juliá <yoros@wanadoo.es>
3176 * DateTime.cs: Fixed a few format bugs.
3178 2003-10-31 Zoltan Varga <vargaz@freemail.hu>
3180 * AppDomain.cs (InternalPushDomainRef): New icalls.
3182 * AppDomain.cs (InvokeInDomain): New method to execute code in a
3183 different appdomain.
3185 2003-10-27 Zoltan Varga <vargaz@freemail.hu>
3187 * AppDomain.cs: Fix prototype of InternalIsFinalizingForUnload.
3189 2003-10-25 Zoltan Varga <vargaz@freemail.hu>
3191 * AppDomain.cs (IsFinalizingForUnload): Implement.
3193 * AppDomain.cs (Unload): Move the notification of OnUnload listeners
3196 2003-10-25 Martin Baulig <martin@ximian.com>
3198 * MonoType.cs: Don't make this sealed.
3200 2003-10-24 Zoltan Varga <vargaz@freemail.hu>
3202 * AppDomain.cs: Add InternalInvokeInDomain[ByID] icalls.
3204 2003-10-24 Pedro Martínez Juliá <yoros@wanadoo.es>
3206 * DateTime.cs: When handling '-' as a date separator, MS.NET uses
3207 the same symbol in the parse (not DateTimeFormatInfo.DateSeparator).
3209 2003-10-22 Dick Porter <dick@ximian.com>
3211 * DateTime.cs: Handle '-' as a date separator when parsing formats.
3213 2003-10-20 Duncan Mak <duncan@ximian.com>
3215 * Delegate.cs (CreateDelegate): Avoid creating an extra Type array
3216 and merge the two iterations into one.
3218 2003-10-15 Zoltan Varga <vargaz@freemail.hu>
3220 * TypedReference.cs: Add new field used by the runtime.
3222 2003-10-15 Martin Baulig <martin@ximian.com>
3224 * Type.cs (Type.DeclaringMethod): For a generic method's type
3225 parameter, return this method - otherwise, return null.
3227 2003-10-14 Martin Baulig <martin@ximian.com>
3229 The generics API has changed in the spec since it was added here;
3230 these modifications make it match the spec again.
3233 (GetGenericParameters): Renamed to `GetGenericArguments'.
3234 (HasGenericParameters): Renamed to `HasGenericArguments'.
3235 (HasUnboundGenericParameters): Renamed to `ContainsGenericParameters'.
3236 (IsGenericTypeDefinition): New property.
3237 (IsUnboundGenericParameter): Renamed to `IsGenericParameter'.
3239 * MonoType.cs (ContainsGenericParameters): Implement this here;
3240 this is no interncall anymore.
3242 2003-10-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3244 * Delegate.cs: add the method name to the exception when it cannot be
3246 * Exception.cs: fix nullref in Source.
3248 2003-10-10 Zoltan Varga <vargaz@freemail.hu>
3250 * Array.cs: Add argument checking to GetValue and SetValue.
3252 2003-10-09 Miguel de Icaza <miguel@ximian.com>
3254 * DateTime.cs: Patch from Chris Turchin: the DateTime.MaxValue
3255 should not be TimeSpan.MaxValue, because it overflow. Set this to
3258 2003-10-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3260 * MonoCustomAttrs.cs: from_cache is now thread-safe. Yeah, I got a
3261 duplicate entry exception.
3263 2003-10-08 Ben Maurer <bmaurer@users.sourceforge.net>
3265 * DateTime.cs (ToString): Total rewrite, fixes #49358.
3267 2003-10-03 Zoltan Varga <vargaz@freemail.hu>
3269 * AppDomain.cs: Change accessibility of DoTypeResolve to fix build.
3271 2003-10-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3274 (Equals): check that the object is an Enum before comparing the types.
3276 2003-09-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3278 * Array.cs: reduced xsp allocated memory by 1/2.
3280 2003-09-25 Martin Baulig <martin@ximian.com>
3282 * Type.cs (Type.IsGenericTypeDefinition): Removed this method
3283 since it was identical to GetGenericTypeDefinition().
3284 (Type.IsGenericInstance): New property.
3286 2003-09-24 Duncan Mak <duncan@ximian.com>
3288 * Math.cs (Abs): Fix double Locale.GetText bug reported by
3289 davejp@volny.cz. This fixes #48788.
3291 2003-09-14 Pedro Martínez Juliá <yoros@wanadoo.es>
3293 * FloatingPointFormatter.cs: Add the necessary castings to char
3296 2003-09-13 Pedro Martínez Juliá <yoros@wanadoo.es>
3298 * FloatingPointFormatter.cs: Make the method calls more functional
3299 for protecting the values from different threads (make it more
3302 2003-09-13 Pedro Martínez Juliá <yoros@wanadoo.es>
3304 * FloatingPointFormatter.cs: Fix a bug with the negative value of
3307 2003-09-12 Pedro Martínez Juliá <yoros@wanadoo.es>
3309 * FloatingPointFormatter.cs: Applied a lot of improvements in string
3310 construction, make use of Append/Insert with the "count" parameter.
3311 Thanks to Ben Maurer.
3313 2003-09-10 Pedro Martínez Juliá <yoros@wanadoo.es>
3315 * FloatingPointFormatter.cs: Fix a bug with Custm Format.
3317 * FloatingPointFormatter.cs: Fix a little bug I've introduced the
3320 2003-09-10 Pedro Martínez Juliá <yoros@wanadoo.es>
3322 * DoubleFormatter.cs: A few optimizations. Now, only one object
3323 is created to convert all double numbers.
3325 * SingleFormatter.cs: A few optimizations. Now, only one object
3326 is created to convert all float numbers.
3328 * FloatingPointFormatter.cs: Split the "number type parameters" from
3329 the "numver value and format parameters". The first ones are in the
3330 constructor and the others are in a method.
3332 2003-09-09 Zoltan Varga <vargaz@freemail.hu>
3334 * Array.cs: Added argument checking to some NET_1_1 methods.
3336 2003-09-04 Martin Baulig <martin@ximian.com>
3338 * Type.cs (GetGenericTypeDefinition): Make this method virtual.
3340 2003-08-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3342 * Array.cs: added the new overloaded CreateInstance, GetValue, SetValue
3343 taking 'longs'. All tests pass.
3345 2003-08-26 Ben Maurer <bmaurer@users.sourceforge.net>
3347 * Exception.cs: Add ClassInterface attr. Implement TargetSite and
3348 Source. Remove MonoTODO attributes (class is 100% done). Also
3349 passes all Rotor tests for Exception!
3351 2003-08-26 Ben Maurer <bmaurer@users.sourceforge.net>
3353 * Enum.cs: Remove [MonoTODO]'s that had been completed.
3355 2003-08-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3357 * String.cs: fixed bug #47802.
3359 2003-08-21 Ben Maurer <bmaurer@users.sourceforge.net>
3361 * String.cs: Created method FormatHelper that does formatting,
3362 using a StringBuilder.
3364 2003-08-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3366 * Array.cs: patch by lb@lb.ods.org that fixes bug #47707.
3368 2003-08-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3370 * Delegate.cs: CreteDelegate (Type, MethodInfo) only supports static
3373 2003-08-11 Duncan Mak <duncan@ximian.com>
3375 * Environment.cs (Version): Return the same numbers as the MS
3378 2003-08-10 Miguel de Icaza <miguel@ximian.com>
3380 * Array.cs: Applied patch from Thong (Tum) Nguyen; Removed
3381 replicated tests, and have a routine that does the heavy lifting.
3383 2003-08-08 Lluis Sanchez Gual <lluis@ximian.com>
3385 * DateTime.cs: Fixed DoParse. It was calling the wrong constructor
3387 * Environment.cs: return $HOME for ApplicationData folder.
3389 2003-08-04 Duncan Mak <duncan@ximian.com>
3391 * FloatingPointFormatter.cs (Normalize): Apply a patch from Aleksey
3392 Demakov <avd@openlinksw.com> to fix formatting for Big power of 10
3393 floating point values. This fixes bug #46175.
3395 * Convert.cs (ToUInt16): Throw an OverflowException correctly, as
3396 noted by c5n4kh6u02@sneakemail.com in
3397 http://bugzilla.ximian.com/show_bug.cgi?id=43098.
3399 Sat Aug 2 13:01:46 BST 2003 Malte Hildingson <malte@amy.udd.htu.se>
3401 * Double.cs: added icall Double.AssertEndianity.
3403 Fri Aug 1 16:47:17 CEST 2003 Paolo Molaro <lupus@ximian.com>
3405 * Type.cs, MonoType.cs: implemented generic-specific methods.
3407 2003-07-29 Miguel de Icaza <miguel@ximian.com>
3409 * Buffer.cs: Add new internal MemCopy call.
3413 Tue Jul 29 12:13:16 CEST 2003 Paolo Molaro <lupus@ximian.com>
3415 * Type.cs, MonoType.cs, ArgIterator.cs: pass the handles values
3416 to icalls, to avoid special cases in some call conventions.
3418 2003-07-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3420 * Enum.cs: added Serializable attribute.
3422 2003-07-25 Duncan Mak <duncan@ximian.com>
3424 * AppDomain.cs (Equals):
3425 (GetHashCode): Removed because they do not need to be defined
3428 2003-07-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3430 * TypeLoadException.cs: removed unused fields. TypeName returns "" if
3431 cannot even get the type.
3433 2003-07-24 Miguel de Icaza <miguel@ximian.com>
3435 * Type.cs: Added generics stubs.
3437 2003-07-23 Duncan Mak <duncan@ximian.com>
3439 * Environment.cs (SpecialFolder): Added 'Desktop' and 'MyComputer'
3440 as values for NET_1_1.
3441 (GetFolderPath): Return the empty string ("") for values of
3442 SpecialFolder that have no corresponding equivalents in
3443 Linux. Return "$HOME/Desktop" for SpecialFolder.DesktopDirectory
3444 and "$HOME" for SpecialFolder.Personal.
3446 * IntPtr.cs (GetObjectData): Mark it as an interface
3447 implementation, instead of a public method.
3449 * Guid.cs (NewGuid): Remove MonoTODOAttribute.
3451 * TypeLoadException.cs (GetObjectData):
3452 Create stubs for the fields that are being serialized.
3454 * UIntPtr.cs: Removed erroneous CLSCompliantAttributes.
3456 2003-07-23 Lluis Sanchez Gual <lluis@ximian.com>
3458 * Enum.cs: Fixed enum formatting. For flag enums, if one of
3459 the flags is unnamed, ToString() returns the integer value.
3461 2003-07-22 Jerome Laban <jlaban@wanadoo.fr>
3463 * Guid.cs: Fixed ToString (), was producing incorrect string.
3465 2003-07-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3467 * AppDomainSetup.cs: fixed bug #46609.
3469 Thu Jul 17 17:28:27 CEST 2003 Paolo Molaro <lupus@ximian.com>
3471 * MonoType.cs: use an icall for IsPrimitiveImpl ().
3473 Thu Jul 17 15:23:17 CEST 2003 Paolo Molaro <lupus@ximian.com>
3475 * Guid.cs: faster ToString ().
3477 2003-07-15 Pedro Martínez Juliá <yoros@wanadoo.es>
3479 * FloatingPointFormatter.cs: Few changes for get working Rotor
3482 2003-07-13 Zoltan Varga <vargaz@freemail.hu>
3484 * Type.cs (IsAssignableFrom): Implement this as an icall since the
3485 runtime already includes the neccessary logic.
3487 2003-07-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3489 * AppDomainSetup.cs: remove the "file://" prefix from ApplicationBase
3490 if it's present and get the full path for non-Uri paths.
3492 2003-07-2 Lluis Sanchez Gual <lluis@ximian.com>
3494 * DateTime.cs: Fixed formatting of fractions of second.
3496 2003-06-30 Zoltan Varga <vargaz@freemail.hu>
3498 * Console.cs: Turn off buffering for the streams returned by
3499 OpenStandardOutput () and OpenStandardError () if the buffer size is 0.
3501 2003-06-28 Lluis Sanchez Gual <lluis@ximian.com>
3503 * Random.cs: Changed behavior of Random to match MS.NET. When Next is
3504 called with maxvalue==0 or minvalue==maxvalue, MS.NET internally generates
3505 a new random number (although it is not needed), while mono did not.
3506 As a result, the sequence of random numbers could be different for the
3509 Thu Jun 26 16:06:35 CEST 2003 Paolo Molaro <lupus@ximian.com>
3511 * FloatingPointFormatter.cs: use dec_len2 as default precision.
3513 2003-06-26 Lluis Sanchez Gual <lluis@ximian.com>
3515 * DateTime.cs: Modified constructor. Check for valid value of TimeSpan must
3516 be done after the correspondig UTC offset has been applied.
3518 2003-06-26 Lluis Sanchez Gual <lluis@ximian.com>
3520 * Object.cs: Object must have the Serializable attribute.
3521 * DateTime.cs: Fixed _DoParse() so it correctly applies the utc offset
3522 to the resulting date. Also fixed _ToString so now correctly formates the
3525 Wed Jun 18 19:22:22 CEST 2003 Paolo Molaro <lupus@ximian.com>
3527 * Enum.cs: fix race in cache (bug#41841).
3529 Wed Jun 18 18:52:11 CEST 2003 Paolo Molaro <lupus@ximian.com>
3531 * FloatingPointFormatter.cs: if the precision is not specified, use
3532 the default precision for the data type.
3534 Wed Jun 18 18:11:30 CEST 2003 Paolo Molaro <lupus@ximian.com>
3536 * Array.cs: throw ArgumentOutOfRangeException in Copy if needed
3537 (patch by tum@veridicus.com (Thong (Tum) Nguyen)).
3539 2003-06-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3541 * MonoType.cs: don't throw nullref when the return type for a property
3542 is specified and the property doesn't have a get accessor.
3544 2003-06-10 Duncan Mak <duncan@ximian.com>
3546 * Array.cs (CreateInstance): Fixed a typo. It should throw
3547 ArgumentNullException instead of ArgumentException.
3549 2003-06-09 Duncan Mak <duncan@ximian.com>
3551 * Array.cs: Revert the last revert. I fixed it.
3552 (Sort): Put a try-catch block around qsort, and wrap whatever
3553 Exception we get into a InvalidOperationException.
3555 2003-06-08 Jackson Harper <jackson@latitudegeo.com>
3557 * Array.cs: Revert last patch, it broke some other functionality.
3559 2003-06-08 Duncan Mak <duncan@ximian.com>
3561 * Array.cs: Throw more exceptions. This fixes the errors we see
3562 from the Rotor testsuite.
3564 (CreateInstance): Throw ArgumentNullException when the input are
3565 null. Throw ArgumentOutOfRangeException when bounds + length is
3566 greater than Int32.MaxValue.
3567 (LastIndexOf): Throw ArgumentOutOfRangeException if index is outside
3568 the valid range of indices of array.
3569 (Sort): Throw InvalidOperationException when comparer is null and
3570 none of the elements in keys implements IComparable.
3572 2003-06-08 Duncan Mak <duncan@ximian.com>
3574 * Array.cs (CreateInstance): Throw a TypeLoadException if the
3575 Length of the input array 'lengths' is greater than 255 so that we
3576 won't see the g_assert that is in mono_array_class_get in class.c.
3578 This fixes bug #44304.
3580 2003-06-05 Nick Drochak <ndrochak@gol.com>
3582 * UnitySerializataionHolder.cs: Cleanups according to class status page
3584 Wed Jun 4 16:59:39 CEST 2003 Paolo Molaro <lupus@ximian.com>
3586 * ArgIterator.cs, TypedReference.cs, RuntimeArgumentHandle.cs,
3587 RuntimeTypeHandle.cs: implemented the needed stuff to handle
3590 2003-06-02 Sebastien Pouliot <spouliot@videotron.ca>
3592 * Random.cs: New implementation based on Knuth ran3 to fix #43597.
3593 See http://www.library.cornell.edu/nr/bookcpdf/c7-1.pdf. Commited
3594 for Ben Maurer after review and testing.
3596 2003-05-28 Ben Maurer <bmaurer@users.sourceforge.net>
3598 * Array.cs: Added better argument checking to Array.Sort ()
3599 * DBNull.cs: Made the conversions throw like they do in MS.
3601 2003-05-24 Philip Van Hoof <me@freax.org>
3603 * Math.cs: Add the MS.NET 1.1 methods (BigMul, DivRem, DivRem).
3605 2003-05-21 Pedro Martínez Juliá <yoros@wanadoo.es>
3607 * FloatingPointFormatter.cs: Take care with the explicit precision
3608 and round the number to that precision.
3610 * DoubleFormatter.cs: Adapt to the two level precision (15 - 17).
3612 * SingleFormatter.cs: Adapt to the two level precision (7 - 8).
3614 2003-05-20 Philip Van Hoof <me@freax.org>
3616 * DateTime.cs (FromOADate, GetDateTimeFormats, ToOADate):
3619 2003-05-20 Zoltan Varga <vargaz@freemail.hu>
3621 * AppDomainSetup.cs: Added new field which is used to notify the
3622 runtime that the search path has changed.
3624 2003-05-18 Pedro Martínez Juliá <yoros@wanadoo.es>
3626 * FloatingPointFormatter.cs: Fixed NullReferenceException bug I've
3627 introduced the last change I've done.
3629 2003-05-17 Ben Maurer <bmaurer@users.sourceforge.net>
3631 * Array.cs: Fixed SyncRoot to behave like MS (return this). Removed
3632 MonoTODO from SyncRoot (because fixed) and IsSynchronized (it was
3633 behaving correctly).
3635 2003-05-17 Pedro Martínez Juliá <yoros@wanadoo.es>
3637 * FloatingPointFormatter.cs: Fixed little format mismatches.
3639 2003-05-16 Pedro Martínez Juliá <yoros@wanadoo.es>
3641 * FloatingPointFormatter.cs: Fixed "-0" result emited.
3643 2003-05-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3645 * AppDomain.cs: Added null argument check in Load().
3646 * Activator.cs: fixed bug #39926.
3648 2003-05-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3650 * Enum.cs: fixed bugs #41522 and #42879.
3652 2003-05-12 Zoltan Varga <vargaz@freemail.hu>
3654 * String.cs: Tweak IndexOf and LastIndexOf to match specification and
3655 undocumented MS behaviour.
3657 2003-05-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3659 * Activator.cs: applied patch for bug #39926. Thanks to Jean Marc and
3662 2003-05-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3664 * String.cs: fixed bug #41411 and another similar problem in
3665 LastIndexOf (string).
3667 2003-05-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3669 * String.cs: patch by Jean Marc <jean-marc.andre@polymtl.ca> that fixes
3672 2003-05-09 Zoltan Varga <vargaz@freemail.hu>
3674 * MulticastDelegate.cs (GetInvocationList): Avoid ArrayList
3675 construction if the delegate list only has one element.
3677 2003-05-01 Pedro Martínez Juliá <yoros@wanadoo.es>
3679 * Environment.cs: Changed the method GetFolderPath because it must
3680 return at least a directory name (not null).
3682 * Convert.cs: In ToType, if the destination type is unknown, try to
3683 cast the value to object (then, the calling method will downcast it
3684 to the type it wants).
3686 2003-04-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3688 * Enum.cs: fixed bug #41522.
3690 Tue Apr 29 13:58:16 CEST 2003 Paolo Molaro <lupus@ximian.com>
3692 * Enum.cs: protect with the lock also the lookup (bug #41841).
3694 Tue Apr 29 13:24:32 CEST 2003 Paolo Molaro <lupus@ximian.com>
3696 * MonoType.cs: allow a null name if InvokeMember is called with
3697 BindingFlags.CreateInstance set.
3699 2003-04-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3701 * Enum.cs: reverted my previous patch.
3703 2003-04-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3705 * Enum.cs: fixed bug #41841.
3707 2003-04-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3710 (GetPropertyImpl): handle BindingFlags.IgnoreCase.
3712 2003-04-22 Pedro Martínez Juliá <yoros@wanadoo.es>
3714 * FloatingPointFormatter.cs: Little fixes for get the same results
3715 as MS.NET and show a message when something goes wrong with the
3716 parser of Custom Formats.
3718 2003-04-22 Nick Drochak <ndrochak@gol.com>
3720 * Double.cs (ToString):
3721 * Single.cs (ToString): Handle case where param is a CultureInfo.
3723 2003-04-18 Zoltan Varga <vargaz@freemail.hu>
3725 * Object.cs ValueType.cs: Make the Object::GetHashCode() and
3726 ValueType::Equals() icalls static non-virtual, so they can be called
3727 by the code in RuntimeHelpers.
3729 2003-04-18 Miguel de Icaza <miguel@ximian.com>
3731 * Delegate.cs (operator ==): Do not crash if the second argument
3732 is null. Bug fix submitted by Juan Cri.
3734 2003-04-18 Eduardo Garcia Cebollero <kiwnix@yahoo.es>
3736 * Array.cs: Deleted the exception in Array.Initialize(), it looks
3737 like the method do nothing for C#, is still a MonoTODO until
3738 we find a compiler that uses that.
3740 2003-04-14 Miguel de Icaza <miguel@ximian.com>
3742 * Delegate.cs (Delegate): Seems like a typo, we were checking the
3743 a field rather than the argument
3745 * MonoType.cs: Make GetNestedType an external method implementation.
3747 2003-04-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3749 * Enum.cs: fixed bug #41294.
3751 2003-04-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3753 * DateTime.cs: fixes bug #40910, part 2.
3755 2003-04-11 Dietmar Maurer <dietmar@ximian.com>
3757 * String.cs (Equals): avoid the internal call, code cleanups
3759 2003-04-11 Alan Tam <Tam@SiuLung.com>
3761 * Convert.cs: fixed bug #41085.
3763 2003-04-10 Lluis Sanchez Gual <lluis@ideary.com>
3765 * AppDomain.cs: Added internal method for getting process guid.
3767 2003-04-09 Ville Palo <vi64pa@kolumbus.fi>
3769 * Array.cs: Little fix to compare () method.
3771 2003-04-09 Zoltan Varga <vargaz@freemail.hu>
3773 * String.cs (Equals): Add trivial optimization.
3775 2003-04-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3777 * DateTime.cs: fixed bug #40910.
3779 2003-04-05 Miguel de Icaza <miguel@ximian.com>
3781 * Console.cs: Make stderr, stdout and stdin use synchronized
3782 versions of the their readers/writers.
3784 2003-04-04 Dick Porter <dick@ximian.com>
3786 * Version.cs: Make operator== and operator!= cope with null
3787 objects. Didn't change operator<, operator<=, operator> or
3788 operator>= because its not meaningful to use those to compare
3789 against null, and throwing a NullReferenceException is probably
3790 the best thing to do there anyway.
3794 2003-04-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3796 * AppDomain.cs: fixed InvalidCastException.
3798 2003-03-30 Zoltan Varga <vargaz@freemail.hu>
3800 * Array.cs (Copy): Call FastCopy() earlier to avoid the expensive
3801 type checks and let it decide whenever a fast copy is possible.
3803 2003-03-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3806 (GetMethodImpl): support BindingFlags.IgnoreCase flag. Fixes bug #40322.
3808 2003-03-25 Zoltan Varga <vargaz@freemail.hu>
3810 * Activator.cs (CreateInstance): Call GetConstructor with the right
3811 arguments so the nonPublic argument is handled correctly.
3813 2003-03-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3815 * Type.cs: fixed bug #40123.
3817 2003-03-22 Pedro Martínez Juliá <yoros@wanadoo.es>
3819 * FloatingPointFormatter.cs: Fixed some bugs for get the same
3820 results than MS.NET. Added simple error recovering, now ToString
3821 will return a general format if there is any exception in the
3822 process of formatting. This make the library more robust while the
3823 formatters are refined.
3825 2003-03-16 Pedro Martínez Juliá <yoros@wanadoo.es>
3827 * FloatingPointFormatter.cs: Added support for group separators.
3829 2003-03-16 Pedro Martínez Juliá <yoros@wanadoo.es>
3832 * Double.cs: Apply changes of .ToString methods.
3833 * SingleFormatter.cs:
3834 * DoubleFormatter.cs: Simple wrappers to FloatingPointFormatter.
3835 * FloatingPointFormatter.cs: New class. Implementation of double and
3836 single formatters. It is unified now and parametrized with precission
3839 2003-03-15 Lluis Sanchez Gual <lluis@ideary.com>
3841 * AppDomain.cs: fixes bugs #39380 and #39331.
3843 2003-03-06 Nick Drochak <ndrochak@gol.com>
3845 * TimeSpan.cs (Negate): Throw exception when value is MinValue.
3847 2003-03-04 Dick Porter <dick@ximian.com>
3850 * Double.cs: Temporarily reverted the Double and Single ToString()
3851 change, because it broke nunit.
3854 2003-03-04 Pedro Martínez Juliá <yoros@wanadoo.es>
3856 * Double.cs: Changed ToString method. Added NumberFormatInfo support
3857 with DoubleFormatter class.
3858 * Single.cs: Changed ToString method. Added NumberFormatInfo support
3859 with SingleFormatter class.
3860 * DoubleFormatter.cs: New class with Double formatting functions.
3861 * SingleFormatter.cs: New class with Single formatting functions.
3863 2003-03-03 Lluis Sanchez Gual <lluis@ideary.com>
3865 * Activator.cs: Added support for activation using activation attributes.
3866 * AppDomain.cs: Added internal method to get the default context from the runtime.
3868 2003-02-28 Elan Feingold <efeingold@mn.rr.com>
3870 * DateTime.cs: FileTime is expressed in Universal time, and as such must
3871 be converted before subtracting the magic offset.
3872 * DateTime.cs: Strings in the format "2003-02-27T10:05:03-11:00" (note
3873 the timezone at the end) *must* be parsed by DateTime.Parse() for
3874 compatibility with Microsoft.
3876 2003-02-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3879 * MonoCustomAttrs.cs: fix for the regression test failure (see bug
3882 * IntPtr.cs: added serialization .ctor
3884 2003-02-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3886 * AppDomain.cs: check for null in Unload and changed method name.
3888 2003-02-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3890 * MonoCustomAttrs.cs: fixed bug #38238.
3892 2003-02-17 Martin Baulig <martin@ximian.com>
3894 * Exception.cs (Exception.ToString): Print a newline between the
3895 exception message and the stack trace.
3897 2003-02-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3899 * AppDomain.cs: implemented GetCurrentThreadId ().
3901 2003-02-14 Patrik Torstensson
3903 * Exception.cs: Fixed message output formating
3905 2003-02-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3908 (Parse): ignore everything after a \0 (MS parses: "512\0hola" as 512).
3910 2003-02-12 Miguel de Icaza <miguel@ximian.com>
3912 * Type.cs: IsClass should return false for Enumerations
3914 2003-02-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3916 * MonoCustomAttrs.cs: return the correct array type in the short case.
3919 2003-02-08 Pedro Martíenz Juliá <yoros@wanadoo.es>
3921 * Math.cs: Fix a few methods (like Round) and add with comments the
3922 new methods: BigMul and DivRem that were in ECMA specs.
3924 2003-02-07 Patrik Torstensson
3926 * Exception.cs: Fixed formating
3928 2003-02-05 Patrik Torstensson
3930 * AppDomain.cs: Partly fixed the unload method
3932 2003-02-04 Patrik Torstensson
3934 * AppDomain.cs: Fixed lease issue with appdomain
3936 2003-02-04 Lluis Sanchez Gual <lluis@ideary.com>
3938 * MarshalByRefObject.cs: Implemented GetLifetimeService() and
3939 InitializeLifetimeService().
3941 2003-02-03 Patrik Torstensson
3943 * AppDomain.cs: New internalcalls for handling domain/context switches
3944 * AppDomain.cs (CreateDomain): Return transparant proxy for appdomain object
3946 2003-02-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3948 * AppDomain.cs: implemented AppendPrivatePath, ClearPrivatePath
3949 and ClearShadowCopyPath and fixed GetType ().
3951 * Attribute.cs: clean up.
3953 * Console.cs: removed UnixConsoleEncoding. Use Default.
3955 2003-02-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3957 * Attribute.cs: fixed all IsDefined overloads. Gotta fix
3958 GetCustomAttributes later.
3960 2003-01-31 Patrik Torstensson
3962 * Buffer.cs: Changed access level of BlockCopyInternal
3964 Thu Jan 30 19:54:30 CET 2003 Paolo Molaro <lupus@ximian.com>
3966 * String.cs, IntegerFormatter.cs: use const where appropriate.
3968 2003-01-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3970 * MonoCustomAttrs.cs: fixed GetBase () for Type. Thanks to Zoltan for
3973 2003-01-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3975 * MonoCustomAttrs.cs: fixed shortcut in GetCustomAttributes.
3976 The argument ICustomAttributeProvider can be of other types different
3977 from Type. Handle it.
3979 2003-01-28 Zoltan Varga <vargaz@freemail.hu>
3981 * DateTime.cs: fix FromFileTime so the time returned by
3982 File::GetLastModificationTime etc. is in the correct timezone.
3984 2003-01-28 Patrik Torstensson
3985 * Exception.cs: reverted formating/endline changes (sorry guys)
3987 2003-01-28 Patrik Torstensson
3989 * MarshalByRefObject.cs: implemented GetObjectIdentity
3990 * Exception.cs: added support for remote exceptions
3992 2003-01-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3994 * DateTime.cs: fixed bug #37225.
3996 2003-01-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3998 * Enum.cs: Clone the arrays in GetNames and GetValues. Thanks lupus!
4000 2003-01-27 Zoltan Varga <vargaz@freemail.hu>
4002 * AppDomain.cs: Added DoTypeResolve method which will be called by
4003 the runtime to raise TypeResolve events.
4005 2003-01-27 Duncan Mak <duncan@ximian.com>
4007 * Enum.cs (ToType): Implement this using Convert.ToType.
4009 2003-01-21 Miguel de Icaza <miguel@ximian.com>
4011 * Math.cs: Remove Pow's implementation body as it was wrong. The
4012 C code does the right thing. The code was trying to handle a
4013 number of cases, and that was incorrect.
4015 2003-01-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4017 * CharEnumerator.cs: fix to Current by crainaj@hotmail.com. Closes
4020 2003-01-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4022 * Enum.cs: added caching to GetInfo.
4024 2003-01-23 Dick Porter <dick@ximian.com>
4026 * Environment.cs (System): Implemented ExitCode
4028 2003-01-23 Zoltan Varga <vargaz@freemail.hu>
4030 * Type.cs (IsInstanceOfType): fixed regression caused by the change
4033 2003-01-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4035 * MonoType.cs: re-added lines that were removed in the previous commit.
4037 2003-01-16 Lluis Sanchez Gual <lsg@ctv.es>
4039 * Type.cs: corrected property IsSerializable. It should always return
4040 true for enums and delegates
4041 * MonoType.cs: added serialization support.
4042 * Delegate.cs: added serialization support.
4043 * DBNull.cs: added serialization support.
4044 * UnitySerializationHolder.cs: supports serialization of Assembly,
4045 MonoType and DBNull.
4046 * DelegateSerializationHolder.cs: added.
4048 2003-01-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4050 * Exception.cs: changed default message to match MS one.
4052 2003-01-12 Patrik Torstensson <totte@race-x-change.com>
4054 * String.cs: Fixed bug with CompareOrdinal
4056 2003-01-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4058 * Enum.cs: implements IFormattable.
4060 2003-01-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4062 * AppDomain.cs: implemented DoCallBack method.
4064 (GetConstructorImpl): when the flag is BindingFlags.Default, set it to
4067 NUnit2 tests start moving.
4069 2003-01-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4071 * Activator.cs: fixed bug #36052. Also added checks to avoid trying to
4072 instantiate an abstract class.
4074 2003-01-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4077 (IsSubclassOf): return false when null. Use != instead of Equals.
4079 2003-01-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4081 * Type.cs: fixed IsSubclassOf. Patch from Zoltan Varga.
4083 Fri Jan 3 20:18:51 CET 2003 Paolo Molaro <lupus@ximian.com>
4085 * MonoType.cs: fixed Namespace property for nested types.
4087 Fri Jan 3 16:18:27 CET 2003 Paolo Molaro <lupus@ximian.com>
4089 * MonoCustomAttrs.cs: create properly typed arrays when returning
4090 arrays of attributes of a given type.
4092 Fri Jan 3 11:10:14 CET 2003 Paolo Molaro <lupus@ximian.com>
4094 * MonoType.cs: fixed MemberType property for nested types.
4096 2003-01-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4098 * String.cs: fixed bug #36209.
4100 2002-12-20 Lluis Sanchez Gual <lsg@ctv.es>
4102 * Activator.cs: implemented method GetObject.
4104 2002-12-28 Marcus Urban <mathpup@mylinuxisp.com>
4106 * Activator.cs: Since the documentation indicates the method
4107 either succeeds or throws one of the listed exceptions, we weren't
4108 expecting that CreateInstance might be returning null.
4110 For more information on the bug, see http://bugs.ximian.com/show_bug.cgi?id=36109
4112 2002-12-20 Lluis Sanchez Gual <lsg@ctv.es>
4114 * MarshalByRefObject.cs: implemented CreateObjRef.
4116 2002-12-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4118 * DateTime.cs: fixed bug #30076.
4119 * TimeZone.cs: provide the parameter name in a exception.
4121 2002-12-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4123 * DecimalFormatter.cs: fixed bug #35560.
4125 Wed Dec 4 16:04:28 CET 2002 Paolo Molaro <lupus@ximian.com>
4127 * Type.cs: implemented GetInterfaceMap (needs an updated runtime).
4129 2002-12-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4131 * Array.cs: use Object.Equals (obj, obj) to compare objects to avoid
4132 nulls. Fixes #34909.
4134 2002-12-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4136 * AppDomain.cs: DoAssemblyResolve now returns when one of the handlers
4137 returns a non-null assembly.
4139 2002-12-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4141 * MulticastDelegate.cs: make GetInvocationList work for more than 1
4144 2002-12-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4146 * MulticastDelegate.cs: implemented GetInvocationList. I'll check later
4147 if this is the correct order of invocation.
4149 2002-12-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4151 * Type.cs: changed the signature of internal_from_name. Modified
4152 the overloads of GetType to use it and check the typeName argument.
4153 Implemented FindInterfaces.
4155 2002-11-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4157 * MarshalByRefObject.cs: undo latest changes. It breaks the build by
4158 some obscure reasons (try make -f makefile.gnu using a corlib which has
4159 the modified version).
4161 2002-11-26 Miguel de Icaza <miguel@ximian.com>
4163 * String.cs (Concat): Reduce the number of compares required.
4165 Mon Nov 18 17:54:22 CET 2002 Paolo Molaro <lupus@ximian.com>
4167 * Activator.cs: throw a MissingMethodException if the default
4168 constructor is not found in CreateInstance.
4170 2002-11-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4173 (Equals (str, str)): use 'as' instead of casting to object.
4174 (Equals (obj)): check the length of the strings (until now,
4175 "Hello".Equals ((object) "Hellow World!) was true!).
4177 2002-11-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4179 * MonoType.cs: implemented GetEvent (name, flags).
4181 2002-11-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4183 * AppDomain.cs: implemented a couple of methods called from the runtime
4184 to fire AssemblyLoad and AssemblyResolve events.
4186 2002-10-31 Dick Porter <dick@ximian.com>
4188 * Environment.cs: MonoIO methods now have an error parameter
4190 2002-10-29 Zoltan Varga <vargaz@freemail.hu>
4192 * Enum.cs: Added support for whitespaces in Enum:Parse().
4194 2002-10-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4196 * Type.cs: fixed GetProperty (string, Type []) and removed get_property
4197 internal call. Closes bug #32992.
4199 2002-10-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4201 * Exception.cs: display the inner exception, if any, in ToString ().
4203 2002-10-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4205 * Environment.cs: fixed StackTrace property.
4207 2002-10-16 Nick Drochak <ndrochak@gol.com>
4209 * Enum.cs (Parse): Then fix the code so that it works too.
4211 2002-10-15 Nick Drochak <ndrochak@gol.com>
4213 * Enum.cs (Parse): Use unsigned casts to avoid compiler warnings.
4215 2002-10-12 Nick Drochak <ndrochak@gol.com>
4217 * IntegerFormatter.cs: Fix compiler warnings.
4219 2002-10-11 Tim Haynes <thaynes@openlinksw.com>
4221 * Type.cs (GetConstructors): Use the correct flags.
4223 2002-10-09 Nick Drochak <ndrochak@gol.com>
4225 * IntegerFormatter.cs: Suppress insignificant leading zeros
4227 Fri Sep 27 15:06:29 CEST 2002 Paolo Molaro <lupus@ximian.com>
4229 * MonoCustomAttrs.cs: applied patch by "Si Jingnan"
4230 <stonewell@21cn.com> to return also derived types.
4232 2002-09-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4234 * Activator.cs: little fix in CreateInstance (Type, bool).
4236 2002-09-19 Duncan Mak <duncan@ximian.com>
4238 * Array.cs (CopyTo): Revert back to 1.40, this is stopping
4239 I18N/Common from building right now.
4241 2002-09-19 Nick Drochak <ndrochak@gol.com>
4243 * Array.cs (CopyTo): Account for Object type and base (primitive) types
4244 * Type.cs (IsAssignableFrom): return false for a null parameter
4246 2002-09-19 Nick Drochak <ndrochak@gol.com>
4248 * Array.cs (CopyTo): Check that source type can be cast automatically
4249 to the destination type.
4251 2002-09-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4253 * Type.cs: implemented IsAssignableFrom, DefaultBinder and
4256 2002-09-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4258 * Char.cs: implemented ToString (char)
4259 * IntegerFormatter.cs: made it internal.
4261 2002-09-13 Nick Drochak <ndrochak@gol.com>
4263 * Enum.cs (Format): handle the "d" format for both signed and unsigned
4266 2002-09-12 Dick Porter <dick@ximian.com>
4268 * UIntPtr.cs: Remove the [StructLayout(LayoutKind.Auto)]
4269 attribute, as there doesn't appear to be any struct
4270 layout-depending code here (and corcompare says it should be
4271 LayoutKind.Sequential)
4273 * Decimal.cs: Stub out missing methods, add
4274 [DecimalConstantAttribute] to the constant fields (as shown by
4277 * LocalDataStoreSlot.cs:
4280 * Array.cs: Stub out missing methods.
4282 * TypedReference.cs:
4283 * ArgIterator.cs: Stub out
4285 * AppDomainSetup.cs:
4286 * AppDomain.cs: Stub out missing methods, add missing
4287 ClassInterface(ClassInterfaceType.None) attribute.
4289 2002-09-12 Nick Drochak <ndrochak@gol.com>
4291 * Double.cs (ToString): Throw exception when "X" format is passed in.
4293 Wed Sep 11 15:26:34 CEST 2002 Paolo Molaro <lupus@ximian.com>
4295 * MonoType.cs: implemented Module property.
4297 Wed Sep 11 12:49:51 CEST 2002 Paolo Molaro <lupus@ximian.com>
4299 * MonoType.cs, Type.cs: implemented InvokeMember.
4301 Wed Sep 11 11:06:43 CEST 2002 Paolo Molaro <lupus@ximian.com>
4303 * Delegate.cs: check the type passed to CreateDelegate is a Delegate
4304 type. Check the method signature matches.
4306 Sat Sep 7 10:16:52 CEST 2002 Paolo Molaro <lupus@ximian.com>
4308 * RuntimeMethodHandle.cs: implemented GetFunctionPointer().
4310 2002-09-06 Miguel de Icaza <miguel@ximian.com>
4312 * Console.cs: Specify an encoder, otherwise we will get the UTF8
4313 encoder that by default emits the byte markers.
4315 Fri Sep 6 20:14:04 CEST 2002 Paolo Molaro <lupus@ximian.com>
4317 * Delegate.cs: look also for non-public methods until we have the
4318 security checks in place.
4320 Fri Sep 6 12:20:06 CEST 2002 Paolo Molaro <lupus@ximian.com>
4322 * MonoType.cs: consider also the full name in GetInterface.
4324 Fri Sep 6 12:11:28 CEST 2002 Paolo Molaro <lupus@ximian.com>
4326 * MonoType.cs: implemented GetMembers, GetConstructorImpl and
4327 GetMethodImpl using the binder.
4328 * Type.cs: GetConstructorImpl/GetConstructor fixes.
4330 2002-09-03 Jonathan Pryor <jonpryor@vt.edu>
4331 * Enum.cs: Get rid of warning CS0162.
4333 2002-09-04 Miguel de Icaza <miguel@ximian.com>
4335 * Double.cs, Single.cs, Char.cs, Boolean.cs: Use internal for the
4336 actual value instead of public.
4338 * LocalDataStoreSlot.cs: Make constructor internal.
4340 * Int16.cs, UInt16.cs, Int32.cs, UInt32.cs, Int64.cs, UInt64.cs,
4341 SByte.cs, Byte.cs, Char.cs: Use internal for the actual value
4344 2002-09-03 Jonathan Pryor <jonpryor@vt.edu>
4345 * Enum.cs: Fixed Enum.Format so that the "x" format specifier would work
4348 2002-08-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4350 * DateTime.cs: fixed buglet.
4352 Tue Aug 27 16:39:47 CEST 2002 Paolo Molaro <lupus@ximian.com>
4354 * MonoType.cs: speedup access to common data.
4356 2002-08-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4358 * Double.cs: implemented TryParse.
4360 * Math.cs: PowImpl is now private.
4362 * MissingFieldException.cs: implemented Message.
4364 * RuntimeMethodHandle.cs: stubbed GetFunctionPointer.
4366 * _AppDomain.cs: Uncommented ToString.
4368 2002-08-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4371 (IsValueTypeImpl): it's virtual, not abstract. Implemented.
4373 2002-08-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4375 * ArgumentException.cs: use the field instead of the property for
4378 * ArgumentOutOfRangeException.cs: modified Message.
4381 (_DoParse): throw out of range exception for year. Removed check
4382 for month (it's done in the constructor).
4384 2002-08-21 Miguel de Icaza <miguel@ximian.com>
4386 * Environment.cs: Implemented OSVersion property.
4388 2002-08-21 Dietmar Maurer <dietmar@ximian.com>
4390 * Exception.cs: set stack_trace to null
4392 Wed Aug 21 13:02:20 CEST 2002 Paolo Molaro <lupus@ximian.com>
4394 * AppDomain.cs: implemented ToString().
4396 2002-08-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4398 * AppDomain.cs: securityInfo can be null in CreateDomain.
4400 2002-08-19 Dick Porter <dick@ximian.com>
4402 * MonoType.cs: Add a space before the Assembly name in
4403 AssemblyQualifiedName (needed for resource files so the MS runtime
4406 2002-08-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4408 * AppDomain.cs: parameter name when throwing ArgumentNullException.
4410 * ArgumentException.cs: modified Message to do what MS does.
4412 * ArgumentNullException.cs: don't use {0} in message.
4414 * Exception.cs: use Message property in ToString ().
4416 2002-08-14 Cesar Octavio Lopez Nataren <cesar@ciencias.unam.mx>
4418 * WeakReference.cs: Changed the constructor and GetObjectData
4419 method needed for ISerializable implementation in order to be
4420 compatible with SOAP generated by MS.
4422 Wed Aug 14 17:34:07 CEST 2002 Paolo Molaro <lupus@ximian.com>
4424 * MonoType.cs, Type.cs: DeclaringType/ReflectedType fixes.
4426 2002-08-12 Dietmar Maurer <dietmar@ximian.com>
4428 * Exception.cs (ToString): changed the ouput format.
4430 2002-08-07 Dietmar Maurer <dietmar@ximian.com>
4432 * MonoType.cs: moved get_method icall to this class, we can
4433 remove it as soon someone provides a full featured GetMethodImpl.
4435 * Type.cs: use GetMethodImpl everywhere.
4437 * Delegate.cs: new CreateDelegate implementations.
4439 2002-08-06 Tim Coleman <tim@timcoleman.com>
4441 Fix bug #28582. Now checks parameters for properties
4444 2002-08-04 Nick Drochak <ndrochak@gol.com>
4446 * Buffer.cs: Throw correct exception in GetByte() and SetByte().
4448 2002-08-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4451 (FormatSpecifier): allow white space between the comman and the width
4454 2002-07-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4459 * UInt64.cs: fixed bug #28050. May be a MS bug?
4461 Thu Jul 18 14:47:03 CEST 2002 Paolo Molaro <lupus@ximian.com>
4463 * MonoType.cs: fix IsArrayImpl.
4465 2002-07-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4467 * String.cs: make ToLower (culture) and ToUpper (culture) use the
4468 default ToLower and ToUpper and don't throw NotImplemented.
4470 Sat Jul 13 15:09:01 CEST 2002 Paolo Molaro <lupus@ximian.com>
4472 * Type.cs: make GettTypeCode an icall. Test implementation of
4475 2002-07-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4477 * AppDomainSetup.cs: implemented LoaderOptimization.
4479 2002-07-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4481 * Activator.cs: some more intermediate results checking in
4482 in CreateInstance and CreateInstanceFrom and use GetConstructor and
4483 Invoke only with Type [] until the other overloaded versions work.
4485 2002-07-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4487 * Activator.cs: reformatted. Implemented CreateInstance* methods
4488 that return ObjectHandle.
4490 * AppDomain.cs: implemented CreateInstance*AndUnwrap methods.
4492 2002-07-03 Nick Drochak <ndrochak@gol.com>
4494 * Decimal.cs (Divide): Short cut the case where the dividend is 0 (and
4495 the divisor is not) and avoid the icall, which seems to have a bug.
4497 2002-07-03 Nick Drochak <ndrochak@gol.com>
4499 * Double.cs (CompareTo): Correctly handle the case where the instance
4500 is NaN. Also return 0 if the values are equal.
4502 2002/07/03 Nick Drochak <ndrochak@gol.com>
4504 * MissingMethodException: Add missing Message property
4505 * MissingMemberException: Add missing Message property
4507 2002-06-30 Nick Drochak <ndrochak@gol.com>
4509 * Double.cs (CompareTo): Just see which is bigger. Don't use the
4510 subtraction trick, it doesn't work when the values have a diference of
4513 * Single.cs (CompareTo): same
4515 2002-06-27 Martin Baulig <martin@gnome.org>
4517 * UIntPtr.cs (UIntPtr.Zero): Use an explicit `u' suffix in the
4518 constructor argument. [FIXME: The implicit conversion to an
4519 unsigned integer doesn't work with mcs.]
4521 2002-06-26 Martin Baulig <martin@gnome.org>
4523 * DecimalFormatter.cs: Removed MSTEST stuff, use `System',
4524 not `S = System'. This file now compiles with mcs.
4526 * String.cs: Removed the already ifdef-outed __arglist Concat function
4527 to make it compile with mcs.
4529 2002-06-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4531 * IntegerFormatter.cs:
4532 (FormatParse.FormatNumber): fixed custom format for negative numbers.
4534 2002-06-21 Martin Baulig <martin@gnome.org>
4536 * Double.cs: Replace the private `enum State' with constants since this
4537 will avoid some bigger headaches in mcs.
4539 Thu Jun 20 17:51:44 CEST 2002 Paolo Molaro <lupus@ximian.com>
4541 * TimeSpan.cs: do not pollute the namespace with the
4544 2002-06-18 Nick Drochak <ndrochak@gol.com>
4546 * ArgumentException.cs: Use the message given in the constructor when
4547 accessing the Message property. Thanks to Dietmar for the help with
4550 2002-06-17 Dietmar Maurer <dietmar@ximian.com>
4552 * MonoType.cs: GetField is now a InternalCall
4554 2002-06-13 Nick Drochak <ndrochak@gol.com>
4556 * DateTime.cs: (Parse): Accept dates that have no hour,min,sec. in the
4557 sortable format(s), e.g. "2002-02-25"
4559 2002/06/12 Nick Drochak <ndrochak@gol.com>
4561 * Random.cs (Next): Fix math error. Return a number within the range.
4563 2002-06-12 Nick Drochak <ndrochak@gol.com>
4565 * String.cs (IndexOf): Return -1 if start index is equal to string
4568 2002-06-10 Duncan Mak <duncan@ximian.com>
4570 * Convert.cs (ToDouble): Remove rounding in ToDouble (float).
4571 (ToType): Added null field in conversionTable to avoid
4572 IndexOutOfRangeException. Changed what exceptions we throw to match
4575 2002-06-11 Nick Drochak <ndrochak@gol.com>
4577 * Int64.cs (Parse): Added unique strings to the messages where we throw
4578 a FormatException. Needed these to debug, so just left them in since
4579 they might be useful later. Fixed Currency parsing where we weren't
4580 looking at CurrencyDecimalSeparator, etc.
4582 2002-06-09 Lawrence Pit <loz@cable.a2000.nl>
4584 * DateTime.cs: fixes to pass tests M0 to M6:
4585 if yy pattern then year values >= 30 are in 20th century
4586 rfc1123 pattern is always in GMT, therefor useutc must be false
4587 made GetNow() internal static so it can be called from TimeZone.
4588 * TimeZone.cs: removed dependency on year 2002 from initialization of
4591 2002-06-09 Duncan Mak <duncan@ximian.com>
4593 * Convert.cs (ToType): Rearranged what Exceptions we throw to
4596 2002-06-08 Duncan Mak <duncan@ximian.com>
4598 * Decimal.cs: Added support for the IConvertible interface.
4600 2002-06-08 Martin Baulig <martin@gnome.org>
4602 * Enum.cs (IsDefined): `value' may be of the enum's type itself, it
4603 doesn't necessarily need to be of the enum's underlying type.
4605 2002/06/07 Nick Drochak <ndrochak@gol.com>
4607 * String.cs: Add [Serializable] to class
4608 * SByte.cs (Parse): Add [CLSCompliant(false)] to all the overloads
4610 2002-06-04 Nick Drochak <ndrochak@gol.com>
4612 * Double.cs (Parse): Recognize the group separator string, but still we
4613 don't check the format for the proper number of digits between
4614 separators. Also throw OverflowException when we get Pos or Neg
4615 Infinity from runtime.
4617 2002-06-03 Duncan Mak <duncan@ximian.com>
4619 * Convert.cs (ToDouble): Fixed ToDouble (byte value).
4621 Mon Jun 3 12:18:18 CEST 2002 Paolo Molaro <lupus@ximian.com>
4623 * Type.cs: fixed GetTypeCode.
4625 2002-06-02 Duncan Mak <duncan@ximian.com>
4627 * Convert.cs (ToInt16): use Convert.ToInt16 (int) instead of a direct
4628 cast from an int so that we throw OverFlowException correctly.
4630 (ToInt64): Use a new 64bit version of ConvertToBase.
4632 (ConvertToBase): Add checks for overflow (checks Int32.MinValue
4633 and Int32.MaxValue).
4635 (ConvertFromBase64): New 64-bit version of ConvertFromBase.
4637 2002-06-02 Nick Drochak <ndrochak@gol.com>
4639 * Convert.cs (ToSByte): Check for special value.
4640 * Single.cs (Parse):
4641 * UInt16.cs (Parse):
4642 * UInt32.cs (Parse): Throw OverflowException if negative
4644 2002-06-02 Duncan Mak <duncan@ximian.com>
4646 * Convert.cs (DBNull): Point it to DBNull.Value.
4647 (IsDBNull): Instead of checking typecodes, just check to see if
4648 it's the same as the DBNull field.
4650 2002-06-02 Nick Drochak <ndrochak@gol.com>
4652 * Convert.cs (ConvertFromBase): Detect bad digits correctly.
4654 2002-06-02 Duncan Mak <duncan@ximian.com>
4656 * Char.cs (Parse): Simplify the Exception handling.
4658 * Convert.cs (ToDecimal): Remove call to Math.Round () when
4659 converting from a float.
4661 2002-05-30 Martin Baulig <martin@gnome.org>
4663 * MonoType.cs (GetInterface): Implemented.
4665 Thu May 23 17:17:28 CEST 2002 Paolo Molaro <lupus@ximian.com>
4667 * Activator.cs: implemented CreateInstance ().
4669 2002-05-22 Duncan Mak <duncan@ximian.com>
4671 * Convert.cs (ConvertToBase): Added new 64bit version.
4672 (BuildConvertedString64): New 64bit version of
4673 BuildConvertedString.
4675 This fixes bug 25068.
4677 (ConvertFromBase): Added additional test for checking if the
4678 digits are valid. Thanks to Miguel for coming up with this test.
4680 This fixes bug 25071.
4682 2002-05-21 Duncan Mak <duncan@ximian.com>
4684 * Convert.cs (ToType): Rearranged to fit the new layout of
4687 (conversionTable): Rearranged to fit the layout of the
4688 System.TypeCode enum.
4690 This should fix bug 25075.
4692 2002-05-21 Duncan Mak <duncan@ximian.com>
4694 * Convert.cs (ToString): Fixed the ToString methods. Previously I had
4695 mixed up the two code paths, one for converting to a specific base
4696 (this case), another from converting from a foreign base to base10
4697 (used by ToInt16|32|64 (string, int)). This fixes bug 25068.
4699 * Convert.cs (ToByte)
4700 (ToSByte): Fixed bug 25074. Added more bits to ConvertFromBase so
4701 that we won't confuse FormatException with OverflowException.
4703 2002-05-22 Lawrence Pit <loz@cable.a2000.nl>
4705 * Environment.cs: CommandLine missed spaces between arguments.
4706 Implemented StackTrace. Returning MachineName in UserDomainName
4709 Tue May 21 17:25:49 CEST 2002 Paolo Molaro <lupus@ximian.com>
4711 * MonoCustomAttrs.cs: handle inherit argument.
4713 2002-05-21 Nick Drochak <ndrochak@gol.com>
4715 * Math.cs (Pow): Change icall method name and insert parameter
4716 checks in for infinities and NaN.
4718 2002-05-13 Miguel de Icaza <miguel@ximian.com>
4720 * Double.cs (Parse): Reimplement by cleaning up the string first,
4721 and then passing to strtof in the mono runtime.
4723 * Single.cs (Parse): Use the Double implementation and cast to
4726 2002-05-21 Nick Drochak <ndrochak@gol.com>
4729 (Ceiling): Check for "special" values
4730 (Floor): Check for "special" values
4731 (Round): Fix off-by-one error on decimal shifting
4733 2002-05-20 Lawrence Pit <loz@cable.a2000.nl>
4735 * DateTime.cs: ToString () using "G" format specifier
4737 2002-05-19 Martin Baulig <martin@gnome.org>
4739 * Convert.cs (FromBase64CharArray): Do correct exception handling.
4741 2002-05-19 Martin Baulig <martin@gnome.org>
4743 * Convert.cs (FromBase64CharArray): Convert the char array using
4744 System.Text.UTF8Encoding, not UnicodeEncoding (which is UTF-16) to
4747 2002-05-17 Miguel de Icaza <miguel@ximian.com>
4749 * MonoType.cs: Style changes.
4751 * Type.cs: Style changes.
4753 2002-05-16 Piers Haken <piersh@friksit.com
4755 * UInt64.cs: fix declaration of IConvertible.To* overrides.
4757 2002-05-16 Nick Drochak <ndrochak@gol.com>
4759 * BitConverter.cs (ToString): Add parameter check for invalid start
4762 * Console.cs: Use AutoFlush on the StreamWriter for stdin and stdout
4763 now that StreamWriter uses buffering
4765 2002-05-14 Miguel de Icaza <miguel@ximian.com>
4767 * Double.cs: Oops. Also handle exponents without finding a dot.
4769 2002-05-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4771 * ChangeLog: removed empty entry at the top of the file.
4773 * Int32.cs: made static functions used by Parse internal.
4777 * UInt64.cs: removed static fucntions used by Parse and use the ones
4780 2002-05-12 Daniel Morgan <danmorg@sc.rr.com>
4782 * IServiceProvider.cs: added using System
4784 2002-05-09 Daniel Morgan <danmorg@sc.rr.com>
4786 * Single.cs: copied ToString() and Parse() methods from
4787 Double to Single and modified a tiny bit for Single.
4788 There is still a FIXME for Double and Single about
4789 passing the format and provider info to the icall too.
4791 2002-05-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4796 * UInt64.cs (Parse): don't use Char.IsNumber to test for hex digits.
4797 Don't use a delegate to test for valid digits.
4799 2002-05-01 Duncan Mak <duncan@ximian.com>
4802 * Math.cs: Added missing CLSCompliant attributes where necessary.
4804 2002-04-30 Duncan Mak <duncan@ximian.com>
4806 * ArgumentException.cs (Message):
4807 * ArgumentOutOfRangeException.cs (Message): Added.
4809 2002-04-30 Nick Drochak <ndrochak@gol.com>
4811 * MonoType.cs: Remove unused variable and eliminate a compiler warning.
4813 Mon Apr 29 15:32:02 CEST 2002 Paolo Molaro <lupus@ximian.com>
4815 * Environment.cs: support for Exit(), CommandLine, CommandLineArgs ().
4817 2002-04-28 Duncan Mak <duncan@ximian.com>
4819 * DivideByZeroException.cs: Added missing serialization constructor.
4821 * UnauthorizedAccessException.cs: Added the missing Serializable attribute.
4823 2002-04-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4825 * Math.cs: fix Floor () and Round (). Closes #23960.
4827 2002-04-27 Nick Drochak <ndrochak@gol.com>
4829 * Array.cs (IList.Contains): Should throw a RankException if this is
4830 called on a Rank > 1 array. Not in the docs, but this is what the
4833 2002-04-26 Duncan Mak <duncan@ximian.com>
4835 * MissingMemberException.cs: Made the message variable 'protected'
4836 instead of 'private', so that we can see it in
4837 MissingMethodException and MissingFieldException.
4839 * MissingFieldException.cs:
4840 * MissingMethodException.cs: Added missing (string, string)
4841 constructor, and also the Message property.
4843 2002-04-26 Martin Baulig <martin@gnome.org>
4845 * Enum.cs: Implemented the IConvertible methods.
4847 2002-04-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4849 * SByte.cs: little change in Parse (string) to avoid incorrect
4850 OverflowException thrown (reported by nickd).
4852 2002-04-22 Miguel de Icaza <miguel@ximian.com>
4854 * ValueType.cs: Add Serializable attribute.
4856 * String.cs: ifdef-out out the __arglist Concat function until I
4857 add support for that to mcs.
4859 2002-04-24 Patrik Torstensson <patrik.torstensson@labs2.com>
4861 * AppDomain.cs (GetValue): usage of the correct icall (bug)
4863 Wed Apr 24 21:15:44 CEST 2002 Paolo Molaro <lupus@ximian.com>
4865 * GC.cs: implement most of the methods as icalls.
4867 2002-04-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4869 * DecimalFormatter.cs (ToString): return correct value when the
4870 decimal number is 0.
4872 2002-04-24 Patrik Torstensson <patrik.torstensson@labs2.com>
4874 * Type.cs (GetProperty): fixed call syntax (needs an empty array not null)
4875 * MonoType.cs (GetPropertyImpl) : basic implementation (ignores types, bindingAttr, modifiers)
4877 2002-04-24 Nick Drochak <ndrochak@gol.com>
4879 * Double.cs (Parse): Handle case where there are no digits before the
4880 decimal point, such as ".1".
4882 2002-04-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4887 * UInt64.cs: fixed bug #23738 (hex numbers parsed wrong).
4889 2002-04-23 Patrik Torstensson <patrik.torstensson@labs2.com>
4891 * String.cs (Split): fixed invalid split of count 0 and 1.
4893 2002-04-23 Patrik Torstensson <patrik.torstensson@labs2.com>
4895 * String.cs (LastIndexOf): fixed argument checking.
4896 * String.cs (Equals): made internal for performace.
4898 2002-04-23 Nick Drochak <ndrochak@gol.com>
4900 * String.cs (Join): check argument and throw exception if needed
4902 2002-04-23 Nick Drochak <ndrochak@gol.com>
4904 * String.cs (StartsWith): check argument and throw exception if needed
4906 2002-04-22 Nick Drochak <ndrochak@gol.com>
4908 * String.cs (IndexOfAny): check arguments and throw exceptions as
4909 neccessary. ALso remove some debug WriteLines.
4911 2002-04-20 Dietmar Maurer <dietmar@ximian.com>
4913 * String.cs: use internal constructors
4916 Thu Apr 18 17:16:15 CEST 2002 Paolo Molaro <lupus@ximian.com>
4918 * MonoType.cs: make GetElementType its own icall.
4920 2002-04-18 Nick Drochak <ndrochak@gol.com>
4922 * String.cs: Modified file. Re-add methods needed by the unit tests.
4924 Thu Apr 18 12:38:32 CEST 2002 Paolo Molaro <lupus@ximian.com>
4926 * String.cs: some code speedups and restored GetTypeCode().
4928 2002-04-17 Patrik Torstensson <patrik.torstensson@labs2.com>
4930 * String.cs: New implementation using internal calls.
4932 2002-04-16 Nick Drochak <ndrochak@gol.com>
4934 * DecimalFormatter.cs: Trim off excess null characters from the string
4935 that decimal2string gives back.
4937 2002-04-16 Nick Drochak <ndrochak@gol.com>
4939 * String.cs (SubString): revert my change. I can't reproduce the
4942 2002-04-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4944 * Attribute.cs: added GetHashCode and Equals.
4946 2002-04-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4948 * Enum.cs: little improvements to Format ().
4950 Thu Apr 11 12:28:13 CEST 2002 Paolo Molaro <lupus@ximian.com>
4952 * String.cs: internalcall GetHashCode().
4953 * Array.cS: optimize access to elements.
4955 Wed Apr 10 21:20:19 CEST 2002 Paolo Molaro <lupus@ximian.com>
4957 * String.cs: make IndexOfAny() use an internalcall.
4959 2002-04-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4964 * UInt64.cs: fixed error when testing for validity of flags.
4966 2002-04-11 Nick Drochak <ndrochak@gol.com>
4968 * Double.cs: Use an internal call for ToString(). This is just a simple
4969 implementation to get away from throwing a NotImplementedException.
4971 2002-04-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4976 * UInt64.cs: changed Type.GetType () by typeof (), as suggested by
4980 * Int64.cs: throw an OverFlowException when parsing a string
4981 containing a dot followed by any non '0' number.
4983 2002-04-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4988 * UInt64.cs: added complex Parse ().
4990 2002-04-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4995 * Int64.cs: added complex Parse ().
4997 2002-04-09 Nick Drochak <ndrochak@gol.com>
4999 * Array.cs (BinarySearch): Add checks on paramters before using them
5000 and throw exceptions as needed.
5002 * Enum.cs (Format): Check if [Flags] is applied to enum and convert
5003 "G" format to "F" if so.
5005 Tue Apr 9 13:12:09 CEST 2002 Paolo Molaro <lupus@ximian.com>
5007 * MonoCustomAttrs.cs: return arrays of type Attribute[]
5008 instead of object[].
5010 2002/04/09 Nick Drochak <ndrochak@gol.com>
5012 * String.cs (Substring): Copy only non-null characters to the new
5015 2002-04-09 Nick Drochak <ndrochak@gol.com>
5017 * IntegerFormatter.cs: Don't use a format character to indicate a
5018 custom format was passed in. It was using 'z' to indicate a custom
5019 format, but really it should throw a format exception if the user
5020 tries to use "z" as the format string. Now it does.
5022 * Activator.cs: New File.
5024 2002-04-08 Nick Drochak <ndrochak@gol.com>
5026 * Enum.cs (ToString): Big ugly fix for the case where [Flags] is
5027 applied to an enum. Need to handle the different possible integer
5028 types of an enum somehow. Can anyone say generics?
5030 Mon Apr 8 06:22:42 2002 Piers Haken <piersh@friskit.com>
5032 * Convert.cs: switched the To*(object) methods to use
5033 IConvertible directly instead of calling ChangeType
5035 Sat Apr 6 20:08:41 CEST 2002 Paolo Molaro <lupus@ximian.com>
5037 * ValueType.cs: make Equals() an internalcall.
5039 Fri Apr 5 15:38:54 CEST 2002 Paolo Molaro <lupus@ximian.com>
5041 * Type.cs: also look for nested types in FindMembers.
5042 * MonoType.cs: make GetNestedTypes() an internalcall.
5044 2002-04-05 Nick Drochak <ndrochak@gol.com>
5046 * Enum.cs (Parse): Handle different underlying types.
5048 2002/04/04 Nick Drochak <ndrochak@gol.com>
5050 * Enum.cs (IsDefined): Throw exception when type of value to look for
5051 is not the correct one. Attempt to have it work with string values
5052 too, but not sure if the unit tests are getting that far yet.
5054 2002-04-04 Nick Drochak <ndrochak@gol.com>
5056 * Decimal.cs: Fix a couple of typos.
5058 Wed Apr 3 19:46:00 CEST 2002 Paolo Molaro <lupus@ximian.com>
5060 * Enum.cs: the values array is of the enum and not of the underlying
5061 type. Updates and some bug fixes.
5062 * MonoType.cs: make the internalcall return FullName instead of the
5063 assembly qualified name.
5064 * Type.cs: make ToString () simply return FullName.
5066 2002-04-03 Nick Drochak <ndrochak@gol.com>
5068 * Type.cs (GetTypeCode): provide some of the implementation for this
5069 method. It's still too simplistic to be considered complete.
5071 2002-04-02 Dietmar Maurer <dietmar@ximian.com>
5073 * Object.cs: fixed FieldGetter/FieldSetter signature
5075 2002-04-02 Nick Drochak <ndrochak@gol.com>
5077 * Environment.cs: add MonoTODO's on parts that should have it.
5079 2002-04-01 Nick Drochak <ndrochak@gol.com>
5081 * Enum.cs: added reality checks (check parameters to most methods that
5084 2002-03-30 Dietmar Maurer <dietmar@ximian.com>
5086 * Object.cs: added FieldGetter/FieldSetter
5088 2002-03-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5090 * IntegerFormatter.cs: fixed initialization error in static
5093 2002-03-28 Dietmar Maurer <dietmar@ximian.com>
5095 * Delegate.cs: added new field to store a trampoline function
5097 2002-03-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5099 * IntegerFormatter.cs: added workaround for bug #22668. First patch to
5100 make custom format strings work (not fully functional yet).
5102 2002/03/28 Nick Drochak <ndrochak@gol.com>
5104 * IntegerFormatter.cs: Change class from internal to public. Add
5105 necessary [CLSCompliant(false)] attributes.
5107 2002-03-27 Duco Fijma <duco@lorentz.xs4all.nl>
5108 * _AppDomain.cs, AppDomain.cs: renamed method GetDate to GetData
5111 2002-03-28 Nick Drochak <ndrochak@gol.com>
5113 * Type.cs: Added MonoTODO tags on members that have FIXME, etc.
5115 2002-03-27 Dan Lewis <dihlewis@yahoo.co.uk>
5117 * Console.cs: Modified to get std handles from MonoIO.
5118 * Environment.cs: removed PAL dependencies.
5120 2002-03-25 Miguel de Icaza <miguel@ximian.com>
5122 * String.cs (System): Removed internal enumeration, because
5123 bootstrapping the corlib at this point does not support
5126 * IntPtr.cs: Temporary work-around until I fix the assembly
5129 2002-03-24 Martin Baulig <martin@gnome.org>
5131 * Enum.cs (GetValues): According to the docu this is sorted after
5134 * String.cs (System): Removed enumeration, because it is pretty
5135 hard to support enumerations in /nostdlib mode for the core types.
5137 Tue Mar 19 18:18:49 CET 2002 Paolo Molaro <lupus@ximian.com>
5139 * Array.cs: move error handling in the catch block.
5140 * MulticastDelegate.cs: remove == and != operators that were
5141 removed with the delegate changes (when you add stuff, please do not
5142 remove existing functionality!).
5143 * Type.cs: if a property is not found in a type, search for it
5144 in the parent types, too.
5146 2002-03-18 Dan Lewis <dihlewis@yahoo.co.uk>
5148 * Math.cs: changed to use icall instead of PAL.
5150 2002-03-18 Dietmar Maurer <dietmar@ximian.com>
5152 * Double.cs: added check for NaN (Bug [22082])
5154 2002-03-19 Nick Drochak <ndrochak@gol.com>
5156 * Enum.cs (Equals): check for null and throw if it is.
5157 * Enum.cs (Format): check for null parameters and throw if necessary.
5158 This method still needs more argument checking.
5160 2002-03-18 Dietmar Maurer <dietmar@ximian.com>
5162 * Enum.cs (Equals): check if Enums are of the same type
5164 2002-03-18 Nick Drochak <ndrochak@gol.com>
5166 * Double.cs: Explicitly handle comparisons in CompareTo() for
5167 Positive/Negative Infinity and NaN. Unit Test now passes on Linux.
5169 * Enum.cs(CompareTo): Check types of values before trying to compare.
5170 Throw exceptions if types are invalid or don't match.
5172 2002-03-14 Miguel de Icaza <miguel@ximian.com>
5174 * Array.cs: Add some extra debugging information.
5176 2002-03-15 Nick Drochak <ndrochak@gol.com>
5178 * Array.cs: Added IList and IEnumerable.
5180 2002-03-14 Miguel de Icaza <miguel@ximian.com>
5182 * UInt64.cs, UInt32.cs, UInt16.cs: Mark public parse methods as
5185 2002-03-14 Dietmar Maurer <dietmar@ximian.com>
5187 * Delegate.cs (Equals): also compare method_ptr
5188 (GetHashCode): returm method_ptr as hash
5190 2002-03-13 Duco Fijma <duco@lorentz.xs4all.n>
5191 * TimeSpan.cs: removed the use of Custom Numeric Format Strings,
5192 such as 42.ToString("0000000"), as these are (currently) not implemented
5193 in System.IntegerFormatter. TimeSpan luckely can do with Standard
5194 Numeric Format Strings, such as 42.ToString("D7").
5196 2002-03-12 Duncan Mak <duncan@ximian.com>
5198 * FieldAccessException.cs:
5199 * MethodAccessException.cs:
5200 * PlatformNotSupportedException.cs: Inherit from
5201 MemberAccessException, not SystemException.
5203 * ObsoleteAttribute.cs: Made Message and IsError properties
5206 Tue Mar 12 19:21:18 CET 2002 Paolo Molaro <lupus@ximian.com>
5208 * GC.cs: make SuppressFinalize() a nop.
5209 * Delegate.cs: fix == operator.
5211 2002-03-13 Nick Drochak <ndrochak@gol.com>
5213 * Enum.cs: Add IConvertible methods. Cyclic dependancy fixed in the
5214 runtime that goes with this patch.
5216 2002-03-10 Martin Baulig <martin@gnome.org>
5218 * Int32.cs (Parse): Correctly parse negative numbers.
5220 2002-03-08 Martin Baulig <martin@gnome.org>
5222 * String.cs (Split): Really fix it this time. Also adding several new
5223 testcase to the testsuite.
5225 2002-03-08 Martin Baulig <martin@gnome.org>
5227 * Array.cs (Copy): Optimized: removed duplicate null check, removed
5228 two duplicate GetLowerBound() calls and one duplicate IsValueType.
5230 Fri Mar 8 18:49:19 CET 2002 Paolo Molaro <lupus@ximian.com>
5232 * Object.cs: commit my hacked GetHashCode(): it's good enough for now.
5233 * String.cs: use the dumb code for IndexOf(string): this is worth
5234 15-20 % speedup in mcs compile with mint.
5236 Fri Mar 8 12:45:44 CET 2002 Paolo Molaro <lupus@ximian.com>
5238 * String.cs: revert change to Split() that broke the compiler (hi martin!:-).
5240 2002-03-07 Martin Baulig <martin@gnome.org>
5242 * String.cs (Join): Throw an ArgumentNullException.
5243 (LastIndexOf (string,int,int)): This method does a backwards search,
5244 so startIndex points to the end of value, not to its beginning. Don't
5245 throw an exception if startIndex equals this.Length. Always return -1
5246 if startIndex is smaller than the length of value.
5247 (Replace (string,string)): Replace all occurences of oldValue.
5248 If newValue is null, all occurences of oldValue are to be removed.
5249 (Split (char[],int)): Return an empty array if maxCount is zero, throw
5250 an ArgumentOutOfRangeException if it's less than zero. Return maxValue
5251 elements, not maxValue+1.
5253 Thu Mar 7 17:16:06 CET 2002 Paolo Molaro <lupus@ximian.com>
5255 * MonoType.cs: make GetEvents() an internal call.
5256 * MulticastDelegate.cs: copy the passed in array.
5258 2002-03-06 Martin Baulig <martin@gnome.org>
5260 * Array.cs (Copy): Use FastCopy when appropriate and do correct
5263 2002-03-06 Duco Fijma <duco@lorentz.xs4all.nl>
5264 * CharEnumerator.cs: fixes to CharEnumertor.MoveNext, fixing
5265 some of the failures found be new tests (see ChangeLog in
5266 Test/System). Comments added to this method, based on
5267 the representation invariant of this class, that (try to) explain
5268 why it now should be correct.
5270 2002-03-06 Dietmar Maurer <dietmar@ximian.com>
5272 * Int64.cs (Parse): bug fix for max. negative value.
5274 2002-03-07 Nick Drochak <ndrochak@gol.com>
5276 * RuntimeTypeHandle.cs: Add Serializable attribute as the docs say.
5277 I need to understand what the difference between the attribute and
5280 2002-03-06 Martin Baulig <martin@gnome.org>
5282 * Array.cs (Copy): Always throw an ArrayTypeMismatchException, not
5283 an InvalidCastException if the widening conversion failed. See
5284 testcases #M94-#M96.
5286 * Array.cs (CopyTo): Bug fix from Ajay Dwivedi, correctly handle
5287 arrays with non-zero lower bounds. Also adding testcases #F10-#F13
5290 * Array.cs (CopyTo): Reverted my last change, it was incorrect.
5291 (Copy): Actually allow copying multi-dimensional arrays.
5293 2002-03-05 Duncan Mak <duncan@ximian.com>
5296 (DBNull) Added the missing field.
5297 (IsDBNull) Fixed typo.
5298 (ToByte (string, int)) Implemented.
5299 (ToString (byte, int)) Implemented.
5301 (BuildConvertedString) internal functions used for converting values to
5309 * UInt32.cs: Implemented the IConvertible interface.
5311 * CharEnumerator.cs: Renamed to variables to be clearer and
5312 changed some of the tests to conform to the 1.0 spec.
5314 2002-03-06 Martin Baulig <martin@gnome.org>
5316 * Array.cs (Copy): Calculate absolute array position here and use
5317 GetValueImpl() and SetValueImpl() with that position. We can now
5318 copy multi-dimensional arrays.
5319 (CopyTo): Small bug fix.
5321 2002-03-05 Duco Fijma <duco@lorentz.xs4all.nl>
5323 * Version.cs: CompareTo changed according the LAMESPEC discovered by
5324 Nick (See VersionTest.cs).
5325 * CharEnumerator.cs: fixed two bugs in MoveNext. It had an off-by-one
5326 error comparing the current position (idx) against the length of the
5327 string iterated and it set idx to an unrecognized special value (-2)
5329 Tue Mar 5 17:34:14 CET 2002 Paolo Molaro <lupus@ximian.com>
5331 * SByte.cs, UInt64.cs: implement IConvertible interface. Nobody wants
5332 to do this dirty work, but someone has to do it (and I need it to pass
5333 the "200 sample tests compiled on linux" mark).
5335 2002-03-06 Nick Drochak <ndrochak@gol.com>
5338 * DecimalFormatter.cs
5345 * RuntimeMethodHandle.cs
5346 * RuntimeTypeHandle.cs
5349 Add [MonoTODO]'s to places where we currently throw a
5350 NotImplementedException.
5352 2002-03-05 Dietmar Maurer <dietmar@ximian.com>
5354 * Int16.cs (Parse): do not overflow on max negative value
5356 * Int32.cs (Parse): do not overflow on max negative value
5358 Mon Mar 4 20:36:05 CET 2002 Paolo Molaro <lupus@ximian.com>
5360 * Type.cs: fixed IsClass.
5361 * MonoType.cs: fixed MemberType, IsPrimitiveImpl, IsPointerImpl,
5362 IsByRefImpl. Added GetInterfaces().
5363 * IServiceProvider.cs: compilation fix.
5365 Mon Mar 4 18:37:03 CET 2002 Paolo Molaro <lupus@ximian.com>
5367 * Array.cs: allow copying an empty array to an empty array.
5369 Mon Mar 4 17:59:16 CET 2002 Paolo Molaro <lupus@ximian.com>
5371 * String.cs: fixed LastIndexOf (string) to do a bit of argument
5374 2002-03-04 Duco Fijma <duco@lorentz.xs4all.nl>
5375 * Version.cs: many fixes to failures found by the newly created
5376 test cases for this class. Specifically, the CompareTo member
5377 returned wrong values due to the use of Int32.MaxValue as a special
5378 value indicating an "undefined" version component. Also implemented the
5379 missing operators (==, <, >, etc.), one missing constructor and
5380 and some exception throwing.
5382 2002-03-04 Nick Drochak <ndrochak@gol.com>
5384 * IServiceProvider.cs: Add missing attribute: ComVisible(false)
5385 * Attribute.cs: Add missing attributes: Serializable and
5386 AttributeUsage(AttributeTargets.All)
5388 Mon Mar 4 11:26:49 CET 2002 Paolo Molaro <lupus@ximian.com>
5390 * MonoType.cs: implemented GetConstructors(), GetFields(),
5391 GetMethods(), GetProperties().
5392 * Object.cs: added debugging icall obj_address().
5393 * Type.cs: fixed the binding flags for some Get* methods.
5394 Implemented FindMembers() as calls to the specific GetMember
5397 2002-03-01 Duco Fijma <duco@lorentz.xs4all.nl>
5398 * BitConverter.cs: fixed one little bug: ToString(s, n, 0)
5399 should give an exception for n>=s.Length.
5401 2002-03-01 Martin Baulig <martin@gnome.org>
5403 * Array.cs: More argument checking and bug fixing.
5405 2002-03-01 Miguel de Icaza <miguel@ximian.com>
5407 * BitConverter.cs: Indentation match
5409 * AppDomain.cs: Added MonoTODOs to this too.
5411 * Buffer.cs: Added MonoTODOs to this.
5413 2002-03-01 Martin Baulig <martin@gnome.org>
5415 * Array.cs: Added argument checking to all methods where it was missing.
5417 2002-03-01 Duco Fijma <duco@lorentz.xs4all.nl>
5419 * BitConverter.cs: Fixed bugs in ToString methods
5421 Fri Mar 1 15:20:00 CET 2002 Paolo Molaro <lupus@ximian.com>
5423 * MulticastDelegate.cs: implement operators so mcs3 can be used on linux.
5425 2002-03-01 Nick Drochak <ndrochak@gol.com>
5427 * BitConverter.cs: Throw ArgumentException like mscorlib, instead of
5428 ArgumentOutOfRangeException like the docs say.
5430 2002-03-01 Martin Baulig <martin@gnome.org>
5432 * Enum.cs (CompareTo): Correctly override this method from IComparable.
5434 * Console.cs (setIn, setOut, setError): It's called SetIn, SetOut, SetError.
5436 2002-02-28 Martin Baulig <martin@gnome.org>
5438 * String.cs: This file now passes the testsuite on Linux :-)
5440 * String.cs (Intern, IsInterned): The interncalls are now called _Intern and _IsInterned;
5441 make them private and provide C# wrappers which do proper argument checking.
5443 * String.cs (Format): Correctly handle escaped brackets.
5445 * String.cs (_CompareChar): New internal function which compares two chars.
5446 (_Compare): Provide an internal compare method which can do all sorts of
5447 comparision and call it from all the Compare() methods. Also fixed a lot of
5448 bugs here, this code now actually passes the testsuite.
5450 2002-02-28 Duncan Mak <duncan@ximian.com>
5452 * Convert.cs: Added the missing methods. The new class status page
5453 kicks ass, it even found my typos! Woohoo!
5454 (ConvertFromBase): Moved the Exception throwing in here and
5455 removed the other occurances so it's all centralized now.
5456 (ISDBNull): Implemented.
5457 (GetTypeCode): Implemented.
5459 2002-02-27 Duco Fijma <duco@lorentz.xs4all.nl>
5460 * Guid.cs: Guid.ToString("") and Guid.ToString(null) is now understood as Guid.ToString("D")
5461 just as in mscorlib. There is (probably) a documentation bug in the MS FrameWork SDK, which
5462 states that a lacking format should be interpreted as "N".
5463 Also added [Serializable] attribute
5464 * TimeSpan.cs: some formatting and added the [Serializable] attribute
5466 2002-02-26 Duncan Mak <duncan@ximian.com>
5468 * WeakReference.cs: Committed for Ajay Kumar Dwivedi.
5470 2002-02-26 Martin Baulig <martin@gnome.org>
5472 * TimeZone.cs: Use an internal enum rather than magic numbers to access the
5473 fields of the interncall GetTimeZoneData.
5475 * DateTime.cs: Implemented Parse and fixed a few bugs.
5477 * String.cs (TrimStart): Small fix.
5479 2002-02-26 Martin Baulig <martin@gnome.org>
5481 * DateTime.cs: ParseExact is now fully functional.
5483 * String.cs (TrimEnd): Small fix.
5485 2002-02-26 Duco Fijma <duco@lorentz.xs4all.nl>
5486 * TimeSpan.cs: Added method TimeSpan.FromMilliseconds, mysteriously
5487 missing for about six months.
5489 Tue Feb 26 14:21:19 CET 2002 Paolo Molaro <lupus@ximian.com>
5491 * UInt64.cs: fixed Parse method () to handle some of the NumberStyle flags.
5493 2002-02-26 Martin Baulig <martin@gnome.org>
5495 * DateTime.cs: Miguel already committed this, but there was still a
5496 ChangeLog entry for this missing ....
5497 We're now reusing functionality from TimeSpan, printing dates is
5498 fully implemented, currently working on parsing.
5500 * TimeZone.cs: Fully implemented this. There's a new InternCall in the
5503 Fri Feb 22 18:47:08 CET 2002 Paolo Molaro <lupus@ximian.com>
5505 * MonoType.cs: disable constructor.
5506 * Object.cs: make GetType() an internalcall.
5507 * Type.cs: added correct bindingflags to GetMethods ().
5508 All such calls should be reviewed to use the correct flags.
5510 Thu Feb 21 19:23:46 CET 2002 Paolo Molaro <lupus@ximian.com>
5512 * Type.cs, MonoType.cs: type_is_subtype_of () changed to include extra
5515 Thu Feb 21 16:56:51 CET 2002 Paolo Molaro <lupus@ximian.com>
5517 * Type.cs: implemented IsAssignableFrom.
5519 2002-02-21 Duco Fijma <duco@lorentz.xs4all.nl>
5520 * Guid.cs: fixed Guid.Guid(string) ctor. Changed format:
5521 "{0xdddddddd,0xdddd,0xdddd,{0xdd},{0xdd},{0xdd},{0xdd},{0xdd},{0xdd}}"
5522 to "{0xdddddddd,0xdddd,0xdddd,{0xdd,0xdd,0xdd,0xdd,0xdd,0xdd}}"
5523 The former is documented by Microsoft. The latter is how they
5524 actually implemented it in mscorlib:-)
5526 Tue Feb 19 20:34:35 CET 2002 Paolo Molaro <lupus@ximian.com>
5528 * MonoCustomAttrs.cs: hooks to get the custom attributes from the
5530 * MonoType.cs: Implemented custom attributes methods.
5533 2002-02-21 Duco Fijma <duco@lorentz.xs4all.nl>
5536 Tue Feb 19 20:34:35 CET 2002 Paolo Molaro <lupus@ximian.com>
5538 * MonoCustomAttrs.cs: hooks to get the custom attributes from the
5540 * MonoType.cs: Implemented custom attributes methods.
5542 2002-02-19 Dietmar Maurer <dietmar@ximian.com>
5544 * Array.cs (CopyTo): use GetLength() instead of GetUpperBound()
5546 2002-02-19 Duncan Mak <duncan@ximian.com>
5548 * Convert.cs: Finished up the missing methods in Convert. Added a
5549 new private method ConvertFromBase.
5551 2002-02-19 Dietmar Maurer <dietmar@ximian.com>
5553 * String.cs: impl. IConvertible interface
5555 2002-02-18 Duco Fijma <duco@lorentz.xs4all.nl>
5556 * Guid.cs: actual implementation for Guid.Guid(string) Ctor
5558 2002-02-18 Duncan Mak <duncan@ximian.com>
5560 * Convert.cs: Changed from using Type.GetType (string) to just
5561 typeof (). Probably will speed things up a bit?
5563 2002-02-18 Ajay Kumar Dwivedi <AjayKumar.Dwivedi@dresdner-bank.com>
5566 1. Fix for GetUpperBound to return correct values
5567 2. made some Properties virtual
5568 3. Adds IsFixedSize and IsReadOnly properties.
5569 4. changes CreateInstance(Type,int[],int[]) to throw Exception
5570 when third arg is null. InternalCall CreateInstance changed to
5572 5. Fixed array.GetUpperBound at a couple of places
5573 6. IndexOf and LastIndexOf now use Object.Equals instead of "=="
5574 7. Added two FIXME's in BinarySearch functions.
5576 2002-02-17 Duncan Mak <duncan@ximian.com>
5578 * TimeZone.cs: Applied the rest of Ajay's patch for
5579 IsDaylightSavingTime. Thanks a lot for the nice explanation of how
5582 2002-02-17 Duco Fijma <duco@lorentz.xs4all.nl>
5583 * Guid.cs: added stub for Guid(string) ctor
5585 2002-02-17 Duncan Mak <duncan@ximian.com>
5587 * Convert.cs: Near-complete implementation of Convert.cs
5589 Added all the To* methods taking (object) and
5590 (object, IFormatProvider) as parameters.
5592 Added [CLSCompliant (false)] attributes to methods dealing with
5595 Added the missing section on converting to and from DateTime. Only
5596 6 missing methods, all marked with MonoTODOs. Will tackle them later.
5598 2002-02-16 Duncan Mak <duncan@ximian.com>
5600 * TimeZone.cs: patch from Ajay Kumar Dwivedi (adwiv@yahoo.com) to
5601 make IsDaylightSavingTime (DateTime) call
5602 IsDaylightSavingTime (DateTime, DaylightTime).
5604 Added internal class CurrentTimeZone from Ajay. It needs more work
5605 to fill in the appropriate internal calls.
5607 Sat Feb 16 12:41:41 CET 2002 Paolo Molaro <lupus@ximian.com>
5609 * Type.cs: fix IsClass.
5611 Sat Feb 16 12:02:02 CET 2002 Paolo Molaro <lupus@ximian.com>
5613 * String.cs: fix Trim().
5615 Fri Feb 15 21:02:46 CET 2002 Paolo Molaro <lupus@ximian.com>
5617 * String.cs: fix more off by one errors.
5619 Thu Feb 14 18:54:09 CET 2002 Paolo Molaro <lupus@ximian.com>
5621 * MonoType.cs: fix IsValueTypeImpl.
5622 * Type.cs: fix IsEnum. Implement Equals methods.
5624 Wed Feb 13 21:50:13 CET 2002 Paolo Molaro <lupus@ximian.com>
5626 * Int32.cs: implement IConvertible interface.
5628 2002-02-12 Duncan Mak <duncan@ximian.com>
5630 * TimeZone.cs: Implemented and added to CVS.
5632 2002-02-11 Duncan Mak <duncan@ximian.com>
5634 * Convert.cs: Implemented the ChangeType () methods.
5636 Mon Feb 11 19:48:58 CET 2002 Paolo Molaro <lupus@ximian.com>
5638 * Array.cs: make Clone() an internal call.
5640 2002-02-09 Duco Fijma <duco@lorentz.xs4all.nl>
5641 * Changed Guid.NewGuid so that it can use both System.Random and
5642 System.Security.Cryptography.RandomNumberGenerator
5644 2002-02-09 Duco Fijma <duco@lorentz.xs4all.nl>
5645 * First version of Guid.NewGuid
5647 2002-02-08 Duncan Mak <duncan@ximian.com>
5649 * RuntimeArgumentHandle.cs: Added to CVS.
5651 Fri Feb 8 19:14:54 CET 2002 Paolo Molaro <lupus@ximian.com>
5653 * CrossAppDomainDelegate.cs, AssemblyLoadEventHandler.cs,
5654 UnhandledExceptionEventHandler.cs: added delegates.
5656 Fri Feb 8 18:06:20 CET 2002 Paolo Molaro <lupus@ximian.com>
5658 * MarshalByRefObject.cs: add ToString () method
5659 (apparently needed by nunit).
5660 * _AppDomain.cs: uncomment ToString(): dietmar fixed the bug triggered
5661 by it in the runtime.
5663 2002-02-08 Dan Lewis <dihlewis@yahoo.co.uk>
5665 * String.cs (Format): implemented
5667 2002-02-07 Duncan Mak <duncan@ximian.com>
5669 * DuplicateWaitObjectException:
5670 * InvalidCastException:
5671 * NotImplementedException:
5672 * NotSupportedException:
5673 * NullReferenceException:
5674 * OutOfMemoryException:
5675 * OverflowException:
5677 * StackOverflowException.cs:
5678 * UnauthorizedAccessException: Added missing constructor used for serialization.
5680 2002-02-07 Dietmar Maurer <dietmar@ximian.com>
5682 * String.cs (System.Compare): bug fix
5684 2002-02-06 Dietmar Maurer <dietmar@ximian.com>
5686 * Enum.cs (Parse, GetHashCode): impl.
5688 2002-02-05 Duncan Mak <duncan@ximian.com>
5690 * DBNull.cs: This is my first crack at the DBNull class. I think I
5691 actually got most of the IConvertible methods right, but I haven't
5692 done the research to test whether or not this is the correct
5693 behavior. IConvertible.ToType () is the most iffy of all, IMHO.
5695 * DllNotFoundException.cs: Inherits from TypeLoadException, not SystemException.
5697 2002-02-05 Dietmar Maurer <dietmar@ximian.com>
5699 * Enum.cs: added more functionality (GetName, ToObject, Equals)
5701 2002-01-31 Duncan Mak <duncan@ximian.com>
5703 * InvalidOperationException.cs:
5704 * NotFiniteNumberException.cs:
5705 * ObjectDisposedException.cs:
5706 * TypeInitializationException.cs: Added missing bits for serialization/
5708 * AppDomainUnloadedException.cs:
5709 * ApplicationException.cs:
5710 * ArgumentOutOfRangeException.cs:
5711 * ArithmeticException.cs:
5712 * ArrayTypeMismatchException:
5713 * BadImageFormatException.cs:
5715 * MissingMemberException.cs:
5716 * TypeLoadException.cs: Added missing bits for serialization.
5718 2002-01-30 Duco Fijma <duco@lorentz.xs4all.nl>
5719 * Guid.cs: implemented everything but Guid.NewGuid
5721 Tue Jan 29 22:32:36 CET 2002 Paolo Molaro <lupus@ximian.com>
5723 * _AppDomain.cs: remove ToString() method: it doesn't seem right
5724 to have it in this interface and it screws up the method vtable setup.
5726 2002-01-28 Andrei Zmievski <andrei@php.net>
5728 * Double.cs: implemented IConvertible interface.
5730 2002-01-28 Miguel de Icaza <miguel@ximian.com>
5732 * ArgumentException.cs: Implement serialization constructor.
5733 (GetObjectData): Implement serializer.
5735 * ArgumentNullException.cs: Implement serialization constructor.
5737 * Exception.cs: Implement serialization constructor.
5738 (GetObjectData): Implement serializer.
5740 2002-01-23 Miguel de Icaza <miguel@ximian.com>
5742 * DateTime.cs (UnixEpoch): The Begining of the Unix epoch.
5744 2002-01-23 Duncan Mak <duncan@ximian.com>
5746 * EntryPointNotFoundException.cs:
5747 * FormatException: Added missing constructor and related bits.
5749 * TypeLoadException: Added missing constructor, methods and properties.
5751 2002-01-23 Miguel de Icaza <miguel@ximian.com>
5753 * AppDomain.cs (GetAssemblies): Use foreach construct instead of
5754 manually getting the enumerator.
5756 (AppDomain.AppDomain): Prime the loaded assemblies with the
5757 assemblies loaded by the runtime in our behalf.
5759 * AppDomainSetup.cs: Remove private keyword, that is the default.
5760 Add a new property DisallowPublisherPolicy.
5762 * AppDomain.cs (AppDomain.GetAssemblies): Implement.
5764 Tue Jan 22 22:51:48 CET 2002 Paolo Molaro <lupus@ximian.com>
5766 * MonoType.cs, Type.cs: many updates, corrected implementation,
5769 2002-01-20 Andrei Zmievski <andrei@php.net>
5772 * Char.cs: implemented IConvertible interface.
5774 * Boolean.cs: use our own ToString() method directly.
5776 2002-01-20 Duncan Mak <duncan@ximian.com>
5778 * Files I commited recently: Fixed indentation style.
5780 2002-01-20 Nick Drochak <ndrochak@gol.com>
5782 * SerializableAttribute.cs: this attrib can be used on enums, structs,
5783 and delegates too. Added the appropriate usage flags.
5785 2002-01-18 Duncan Mak <duncan@ximian.com>
5787 * CharEnumerator.cs: Implemented.
5788 * String.cs (System): Fixed the GetEnumerator () method(s).
5790 * ObsoleteAttribute.cs:
5791 * STAThreadAttribute.cs:
5792 * MTAThreadAttribute.cs:
5793 * ThreadStaticAttribute.cs:
5794 * LoaderOptimizationAttribute.cs:
5795 * PlatformNotSupportedException.cs:
5796 * LoaderOptimization.cs: Added to CVS.
5798 2002-01-18 Duncan Mak <duncan@ximian.com>
5800 * AppDomainUnloadedException.cs:
5801 * MethodAccessException.cs:
5802 * ContextMarshalException.cs:
5803 * CannotUnloadAppDomainException.cs:
5804 * DllNotFoundException.cs:
5805 * EntryPointNotFoundException.cs:
5806 * FieldAccessException.cs:
5807 * TypeUnloadedException.cs:
5808 * MissingFieldException.cs: Added to CVS.
5810 * ApplicationException.cs:
5811 * MemberAccessException.cs:
5812 * MissingMemberException.cs
5813 * MissingMethodException.cs:
5814 * SystemException.cs: Added [Serializable] attribute.
5816 * Exception.cs: Added [Serializable] attribute, made properties
5817 'Message', 'Source' and 'StackTrace' virtual methods, per 1.0
5820 * ContextStaticAttribute.cs: Added [Serializable] attribute and
5821 put in the missing constructor.
5823 * Environment.cs: Commented out references to
5824 EnvironmentPermissionAttribute, because they're just stubbed out
5825 right now and has no implementation.
5827 2002-01-16 Andrei Zmievski <andrei@php.net>
5829 * Boolean.cs: implemented IConvertible interface
5831 2002-01-15 Nick Drochak <ndrochak@gol.com>
5833 * ResolveEventArgs.cs: class should derive from EventArgs.
5835 2002-01-14 Miguel de Icaza <miguel@ximian.com>
5837 * String.cs (System): Use DefaultMemberName for the String class.
5839 Mon Jan 14 17:06:40 CET 2002 Paolo Molaro <lupus@ximian.com>
5841 * String.cs: use IndexerName in index char accessor.
5843 Thu Jan 10 21:05:23 CET 2002 Paolo Molaro <lupus@ximian.com>
5845 * MonoType.cs: add rank to MonoTypeInfo and implement GetArrayRank.
5846 * String.c: eliminate 64k+ method calls in search.
5847 * Type.cs: handle byref and array types in ToString ().
5849 2002-01-09 Duco Fijma <duco@lorentz.xs4all.nl>
5851 * Guid.cs: created first version
5853 2002-01-10 Dietmar Maurer <dietmar@ximian.com>
5855 * MonoType.cs: added missing TypeAttributes to MonoTypeInfo
5857 Wed Jan 9 19:35:07 CET 2002 Paolo Molaro <lupus@ximian.com>
5859 * MulticastDelegate.cs: add == and != operator stubs.
5860 * String.cs: check for null in == operator.
5861 * Type.cs: use a virtual method to get TypeAttributes.
5863 Tue Jan 8 23:30:19 EST 2002 Matt Kimball <matt@kimball.net>
5864 * String.cs: Fixed several off-by-one errors in LastIndexOf* methods
5866 2002-01-09 Nick Drochak <ndrochak@gol.com>
5868 * Environment.cs: Comment out Security attribute and put a MonoTODO
5869 there as a reminder. We need mcs magic to handle security attributes in
5872 2002-01-07 Duco Fijma <duco@lorentz.xs4all.nl>
5873 * Created IAppDomainSetup.cs
5875 2002-01-06 Duco Fijma <duco@lorentz.xs4all.nl>
5876 * Created System._AppDomain interface in _AppDomain.cs
5878 2002-01-06 Nick Drochak <ndrochak@gol.com>
5880 * ResolveEventArgs.cs: New File, completely implemented! ;)
5882 Sat Jan 5 15:53:50 CET 2002 Paolo Molaro <lupus@ximian.com>
5884 * Enum.cs: dummy ToString impl.
5885 * String.cs: dummy format implementations to get compiler errors
5887 * Type.cs: implemented filter delegates. FindMembers runs the filter, now.
5889 2002-01-05 Ravi Pratap <ravi@ximian.com>
5891 * TODOAttribute.cs : Augment some more; provide two constructors
5892 with support for a comment too.
5894 2002-01-05 Nick Drochak <ndrochak@gol.com>
5896 * Uncommented those MonoTODO's now that Ravi's got
5899 2001-01-04 Ravi Pratap <ravi@ximian.com>
5901 * TODOAttribute.cs : Actually add this time ;-)
5903 Change name to MonoTODO.
5905 2002-01-04 Jeffrey Stedfast <fejj@ximian.com>
5907 * String.cs (Trim): Fixed a few logic bugs in the code that
5908 calculated how much to trim off the end of the string.
5910 2001-01-04 Nick Drochak <ndrochak@gol.com>
5912 * Commented out the [TODO] attributes for now. We don't have the
5913 class written. Also changed it to [MonoTODO]
5915 2002-01-04 Ravi Pratap <ravi@ximian.com>
5917 * TODOAttribute.cs : Add. We use this attribute to tag all bits in
5918 our class libraries that are incomplete.
5920 * Array.cs : Apply attribute wherever we find a FIXME which says
5921 we need something to be implemented there.
5925 * MulticastDelegate.cs : Ditto.
5927 * RuntimeFieldHandler.cs, RuntimeMethodHandle.cs,
5928 RuntimeTypeHandle.cs : Ditto.
5930 * String.cs : Ditto.
5934 * Byte.cs, Char.cs, ContextBoundObject.cs, DateTime.cs, Delegate.cs : Ditto.
5936 * Enum.cs, Environment.cs, Exception.cs, Int64.cs, SByte.cs, Single.cs,
5937 UInt16.cs, UInt32.cs, ValueType.cs: Ditto.
5939 * Byte.cs, Char.cs, ContextBoundObject.cs, DateTime.cs,
5940 Delegate.cs : Ditto.
5942 * Enum.cs, Environment.cs, Exception.cs, Int64.cs, SByte.cs,
5943 Single.cs, UInt16.cs, UInt32.cs, ValueType.cs: Ditto.
5945 Thu Jan 3 23:24:04 CET 2002 Paolo Molaro <lupus@ximian.com>
5947 * Delegate.cs: add Remove() stub.
5948 * Enum.cs: add ToObject().
5949 * Type.cs: add IsEnum property.
5951 2002-01-03 Kristian Rietveld <kris@gtk.org>
5953 * Convert.cs: add non-CLS-compliant ToBoolean methods for char,
5954 DateTime and object.
5956 2001-12-30 Nick Drochak <ndrochak@gol.com>
5958 * Byte.cs (Parse): Add comments to aid in testing.
5960 2001-12-21 Miguel de Icaza <miguel@ximian.com>
5962 * Char.cs (Parse): Implement.
5964 * Byte.cs (Parse): Implement a fast parser.
5966 * SByte.cs (Parse): Implement a fast parser.
5968 * UInt16.cs (Parse): Implement a fast parser.
5970 * Int16.cs (Parse): Implement a fast parser.
5972 * UInt32.cs (Parse): Implement a fast parser.
5974 * Int32.cs (Parse): Implement a fast parser.
5976 Fri Dec 21 15:14:52 CET 2001 Paolo Molaro <lupus@ximian.com>
5978 * Array.cs: fix null ref in sort code.
5979 * UInt64.cs: add bare-bones parse.
5981 Thu Dec 20 15:29:52 CET 2001 Paolo Molaro <lupus@ximian.com>
5983 * Byte.cs: removed use of Regexes.
5985 Tue Dec 18 18:39:54 CET 2001 Paolo Molaro <lupus@ximian.com>
5987 * Enum.cs: implemented GetValues(), GetNames(), GetName(),
5988 IsDefined(), GetUnderlyingType().
5989 * String.cs: fix one instance of Compare().
5990 * Type.cs: implemented GetProperties(), GetProperty().
5992 Thu Dec 13 20:10:57 CET 2001 Paolo Molaro <lupus@ximian.com>
5994 * Array.cs: implement CopyTo ().
5995 * Char.cs: implement ToString ().
5996 * Exception.cs: bugfix.
5997 * Int32.cs: bare-bones Parse ().
5998 * MonoType.cs: query the needed info with an internalcall.
5999 * String.cs: speedups, bugfixes, reduced copies.
6000 * Type.cs: added missing fields. Implemented many of the Is*
6001 properties. Implemented GetMethod(), GetConstructor(), GetMethods(),
6002 GetFields(), FindMembers(), ToString().
6004 2001-12-11 Dick Porter <dick@ximian.com>
6006 * DateTime.cs: Implemented FromFileTime() and ToFileTime()
6008 * Console.cs: Use handles rather than casting file descriptors
6010 2001-12-08 Nick Drochak <ndrochak@gol.com>
6012 * Byte.cs (Parse): Start implementation. Parse(string) works, but
6013 now we need to handle other formats
6015 2001-12-06 Dietmar Maurer <dietmar@ximian.com>
6017 * DateTime.cs: added an icall to GetNow()
6019 2001-12-04 Dietmar Maurer <dietmar@ximian.com>
6021 * Double.cs: added the parse method from Bob Smith
6023 2001-11-28 Miguel de Icaza <miguel@ximian.com>
6029 * Int32.cs (Int32.CompareTo): Fix because we can not just
6030 substract the values.
6032 Return possitive value if the object is null.
6034 * Boolean.cs: (Boolean.CompareTo): ditto.
6036 * Int16.cs (Int16.CompareTo): ditto.
6038 * Byte.cs (Byte.CompareTo): ditto.
6040 * SByte.cs (SByte.CompareTo): ditto.
6042 * Char.cs (Char.CompareTo): ditto.
6044 * Decimal.cs (Decimal.CompareTo): ditto.
6046 * Int64.cs (Int64.CompareTo): ditto.
6052 2001-11-28 Nick Drochak <ndrochak@gol.com>
6054 * Byte.cs: Throw NotImplementedException for Parse.
6056 2001-11-27 Derek Holden <dholden@draper.com>
6058 * IntegerFormatter.cs: Formatting of type "Number" was not
6059 using NumberFormatInfo.NumberNegativePattern.
6061 2001-11-26 Dick Porter <dick@ximian.com>
6063 * LocalDataStoreSlot.cs: No need to delete a system TLS slot in
6064 the finalise routine any more
6066 2001-11-21 Miguel de Icaza <miguel@ximian.com>
6068 * ApplicationException.cs: internationalize by adding calls to
6069 Locale.GetText (). And throw NotImplementedExceptions on calls
6070 that we have to implement.
6072 * Version.cs: Ditto.
6074 * ValueType.cs: ditto.
6076 * UnauthorizedAccessException.cs: ditto.
6084 * TypeLoadException.cs: ditto
6086 * TypeInitializationException.cs: ditto.
6090 * TimeSpan.cs: ditto.
6092 * SystemException.cs: ditto.
6096 * StackOverflowException.cs: ditto.x
6102 * RuntimeTypeHandle.cs: ditto.
6104 * RuntimeMethodHandle.cs: ditto.
6106 * RuntimeFieldHandle.cs: ditto.
6110 * OutOfMemoryException.cs: ditto.
6112 * OperatingSystem.cs: ditto.
6114 * ObjectDisposedException.cs: ditto.
6116 * NullReferenceException.cs: ditto.
6118 * NotImplementedException.cs: ditto.
6120 * NotFiniteNumberException.cs: ditto.o
6122 * MulticastNotSupportedException.cs: ditto.
6124 * MissingMethodException.cs: ditto.
6126 * MemberAccessException.cs: ditto.
6130 * InvalidCastException.cs: ditto.
6132 * IntegerFormatter.cs: ditto.
6138 * IndexOutOfRangeException.cs: ditto.
6140 * Environment.cs: ditto
6144 * DuplicateWaitObjectException.cs: ditto.
6146 * DivideByZeroException.cs: ditto.
6148 * Delegate.cs: ditto
6150 * DecimalFormatter.cs: ditto.
6152 * Decimal.cs: ditto.
6154 * DateTime.cs: ditto.
6156 * Convert.cs: ditto.
6162 * Boolean.cs: ditto.
6164 * ArrayTypeMismatchException.cs: ditto.
6166 * ArithmeticException.cs: ditto.
6168 * ArgumentOutOfRangeException.cs: ditto.
6170 * ArgumentNullException.cs: ditto.
6172 * Enum.cs: Make it derive from ValueType, add CompareTo method.
6174 * Attribute.cs: Reformat.
6176 2001-11-14 Miguel de Icaza <miguel@ximian.com>
6178 * Decimal.cs, Double.cs, Byte.cs, Char.cs, Int16, UInt16, Int32,
6179 UInt32, Int64, UInt64, SByte, Single (CompareTo): Throw the
6180 exception if the value is null too.
6182 * Char.cs (CompareTo): ditto.
6184 * ApplicationException.cs: Added constructor that does serialization.
6186 * ParamArrayAttribute.cs: Define attribute correctly.
6188 Wed Nov 14 16:31:19 CET 2001 Paolo Molaro <lupus@ximian.com>
6190 * AppDomain.cs: rename dummy interface _AppDomain to AppDomain_Intf.
6191 * Array.cs: fix Array.Copy.
6192 * AssemblyLoadEventArgs.cs: rename field.
6193 * CLSCompliantAttribute.cs: use correct name for the class.
6194 * Char.cs: fix IsLetter.
6195 * Console.cs, DateTime.cs, Decimal.cs, IConvertible.cs, Math.cs,
6196 SByte.cs, UInt16.cs, UInt32.cs, UInt64.cs, UIntPtr.cs: CLSCompliant updates.
6197 * Convert.cs: CLSCompliant updates, add ChangeType() methods.
6198 * Delegate.cs: renamed target field to m_target.
6199 * Enum.cs: added missing methods.
6200 * MonoType.cs: add a constructor and some needed properties.
6201 * Object.cs: implement GetType().
6202 * String.cs: CLSCompliant updates. Fixes everywhere to remove the
6204 * Type.cs: add missing methods/properties.
6206 2001-11-10 Sean MacIsaac <macisaac@ximian.com>
6208 * AttributeUseage.cs: Should define AttributeUsageAttribute.
6210 * CLSCompliant.cs: Marked with AttributeUsage attribute.
6212 * Decimal.cs: Fixed CLSCompliant attributes.
6214 * Type.cs: changed _impl to internal (needs to be accessable by
6217 (TypeHandle): Marked as abstract, implementation removed.
6219 (IsNotPublic, IsPublic, GetMethods, GetPropery, GetConstructor,
6220 GetMethod): Added stub implementations so NUnit would link against
6223 Tue Nov 6 09:11:43 CET 2001 Paolo Molaro <lupus@ximian.com>
6225 * AppDomain.cs: use an internal constructor for AssemblyBuilder.
6227 2001-11-05 Miguel de Icaza <miguel@ximian.com>
6229 * NonSerializedAttribute.cs: Add AttributeUsage rules for this
6232 Fri Nov 2 18:23:15 CET 2001 Paolo Molaro <lupus@ximian.com>
6234 * String.cs: fix a couple of bugs.
6235 * AppDomain.cs: use new AppBuilder constructor.
6236 * Buffer.cs, GC.cs, NonSerializedAttribute.cs,
6237 NotImplementedException.cs, ObjectDisposedException.cs,
6238 UnauthorizedAccessException.cs: add implementation.
6239 * OverflowException.cs: fix class name.
6241 2001-10-28 Jeffrey Stedfast <fejj@ximian.com>
6243 * String.cs: Don't use a terminating nil char for our internal
6246 2001-10-27 Miguel de Icaza <miguel@ximian.com>
6248 * Delegate.cs (Delegate.CombineImpl): Implement.
6249 (Delegate.Combine): Implement.
6251 * MulticastDelegate.cs (MulticastDelegate.Equals): Implement.
6253 (MulticastDelegate.CombineImpl): This was not as trivial as I
6256 * ContextStaticAttribute.cs: Added AttributeUsage to
6257 ContextStaticAttribute.
6259 * FlagsAttribute.cs: Add AttributeUsage to FlagsAttribute
6261 2001-10-15 Martin Weindel <martin.weindel@t-online.de>
6263 * added Decimal.cs * added DecimalFormatter.cs (internal class
6264 used from System.Decimal)
6266 2001-10-11 Thomas Neidhart <tome@sbox.tugraz.at>
6268 * Convert.cs: Added methods for Base64 transforming just used the
6269 existing System.Security.Cryptography.ToBase64Transform, should
6270 be changed to use a stand-alone class, e.g. Base64Encoder
6272 2001-10-10 Derek Holden <dholden@draper.com>
6274 * IntegerFormatter.cs: Added. Implements ToString for all the
6275 integer data types for all the format types.
6277 * Byte.cs: Using IntegerFormatter for ToString's.
6279 * SByte.cs: Using IntegerFormatter for ToString's.
6281 * Int16.cs: Using IntegerFormatter for ToString's.
6283 * Int32.cs: Using IntegerFormatter for ToString's.
6285 * Int64.cs: Using IntegerFormatter for ToString's.
6287 * UInt16.cs: Using IntegerFormatter for ToString's.
6289 * UInt32.cs: Using IntegerFormatter for ToString's.
6291 * UInt64.cs: Using IntegerFormatter for ToString's.
6293 2001-10-07 Miguel de Icaza <miguel@ximian.com>
6295 * Exception.cs: Implement bits of serialization.
6297 * RuntimeFieldHandle.cs: Implement Serialization features.
6299 * Type.cs: Implement TypeHandle property.
6301 2001-09-28 Dick Porter <dick@ximian.com>
6303 * LocalDataStoreSlot.cs: Implemented
6305 Tue Sep 25 19:58:14 CEST 2001 Paolo Molaro <lupus@ximian.com>
6307 * String.cs: fix off-by-one error in Trim().
6309 Tue Sep 25 18:52:14 CEST 2001 Paolo Molaro <lupus@ximian.com>
6311 * Type.cs: added GetType () method.
6313 Tue Sep 25 17:29:02 CEST 2001 Paolo Molaro <lupus@ximian.com>
6315 * MissingMethodException.cs, MissingMemberException.cs,
6316 MemberAccessException.cs: added.
6318 Tue Sep 25 16:46:43 CEST 2001 Paolo Molaro <lupus@ximian.com>
6320 * String.cs: don't access the string array out of bounds in
6321 LastIndexOf. * Type.cs: fix return type of the Assembly property.
6323 Mon Sep 24 20:35:24 CEST 2001 Paolo Molaro <lupus@ximian.com>
6325 * String.cs: make Intern and IsIntern internalcalls.
6327 2001-09-13 Dick Porter <dick@ximian.com>
6329 * Type.cs: Added a stub for the IsValueType property.
6331 * SystemException.cs (System): Added the other constructor, so
6332 that System.Threading exceptions can inherit it.
6334 2001-09-08 Jeffrey Stedfast <fejj@ximian.com>
6336 * String.cs (TrimStart): Don't keep looping through the trimchars
6337 once we've found a match.
6338 (TrimEnd): Same here.
6339 (Trim): And finally here.
6341 2001-09-07 Ravi Pratap <ravi@ximian.com>
6343 * Char.cs (IsLetterOrDigit): Implement.
6344 (IsLower): Implement, but we need to be Unicode aware.
6345 (IsNumber): Implement.
6346 (IsPunctuation): Implement.
6347 (IsWhiteSpace): Implement.
6348 (ToUpper): Fix to subtract 32 from the ASCII value, not 33 :)
6349 (ToLower): Same here.
6351 2001-09-04 Miguel de Icaza <miguel@ximian.com>
6353 * Object.cs: Shortcut, if (a == b) then return true.
6355 Fri Sep 7 18:34:48 CEST 2001 Paolo Molaro <lupus@ximian.com>
6357 * Delegate.cs: we need a pointer to the method thunk in
6358 the delegate object.
6360 Fri Sep 7 12:28:01 CEST 2001 Paolo Molaro <lupus@ximian.com>
6362 * AsyncCallback.cs, common.src: add AsyncCallback delegate.
6364 2001-09-06 Jeffrey Stedfast <fejj@ximian.com>
6366 * String.cs (System): Don't mix uint and int.
6368 2001-09-04 Jeffrey Stedfast <fejj@ximian.com>
6370 * String.cs (BoyerMoore): Modified to not use pointers and to instead
6372 (IndexOf): Use BoyerMoore.
6374 2001-09-02 Miguel de Icaza <miguel@ximian.com>
6376 * All over: Use the autogenerated enumerations from the ECMA
6377 documentation that Sergey wrote.
6379 * PlatformID.cs: Add Unix definition.
6381 * OperatingSystem.cs: Use Unix instead of Linux here.
6383 * MarshalByRefObject.cs: Mark class as [Serializable].
6385 2001-08-28 Dietmar Maurer <dietmar@ximian.com>
6387 * Console.cs: impl. (write only)
6388 implemented the stdin stuff
6390 * Int32.cs: impl. real op_Equal
6392 2001-08-24 Miguel de Icaza <miguel@ximian.com>
6394 * (common.src): Removed IAsyncResult as it is not on CVS yet.
6396 * UIntPtr.cs: Removed CLSCompliant attribute before the namespace,
6397 as it breaks the build.
6399 2001-08-23 Michael Lambert <michaellambert@email.com>
6401 * IntPtr.cs: Optimized unsafe declaration, implemented GetObjectData,
6402 added CLSCompliant attribute
6404 * IAsyncResult.cs: Added
6406 * common.src: Added IAsyncResult.cs
6408 2001-08-23 Michael Lambert <michaellambert@email.com>
6412 * common.src: Added UIntPtr.cs
6414 2001-08-20 Dietmar Maurer <dietmar@ximian.com>
6416 * Attribute.cs: uncomment some code to make it compile again
6418 * mono.src: removed duplicated Attribute.cs
6420 2001-08-16 Nick Drochak <ndrochak@gol.com>
6422 * Attribute.cs: implemented all methods except GetHashCode()
6424 * common.src: added Attribute.cs so it would compile in
6426 2001-08-10 Dietmar Maurer <dietmar@ximian.com>
6428 * Object.cs: changed MemberWiseClone to MemberwiseClone, and
6429 marked it as InternalCall
6431 * common.src: removed UriFormatException.cs because the file is
6434 * RuntimeTypeHandle.cs: replaced IntrPtr with IntPtr
6435 * Char.cs: replaced byte with char
6437 * Array.cs: make it work with the mono interpreter
6439 2001-08-06 Miguel de Icaza <miguel@ximian.com>
6441 * Version.cs: Make the class sealed
6443 2001-08-08 Bob Smith <bob@thestuff.net>
6445 * Random.cs: Many compile fixes.
6446 * Random.cs: I read a bad spec. Class updated to match real spec.
6448 2001-08-06 Miguel de Icaza <miguel@ximian.com>
6450 * IntPtr.cs: Added and Completed implementation.
6452 * Uri.cs: Add a note.
6454 2001-08-06 Bob Smith <bob@thestuff.net>
6456 * Random.cs: Compile fix. Needs more testing.
6458 2001-08-06 Garrett Rooney <rooneg@electricjellyfish.net>
6460 * Uri.cs: Initial Implementation. Parsing needs to be fixed to take
6461 into account IPv6 addresses, url encoding needs to be implemented, and
6462 various minor methods need to be written, but this is a decent start.
6464 2001-08-06 Dietmar Maurer <dietmar@ximian.com>
6466 * common.src: added Object.cs
6468 * mono.src: added ValueType.cs
6470 2001-08-02 Dietmar Maurer <dietmar@ximian.com>
6472 * Math.cs: replaced libc with libm
6474 2001-08-02 Bob Smith <bob@thestuff.net>
6476 * Random.cs: Implemented. Needs testing.
6478 2001-08-02 Miguel de Icaza <miguel@ximian.com>
6480 * IServiceProvider.cs, EventHandler.cs: New files.
6482 2001-08-02 Marcel Narings <marcel@narings.nl>
6484 * DateTime.cs: Cleaned up a bit. Added the Add* family members.
6485 Added exceptions. Added IConvertible. Still needs some platform
6486 dependend stuff, the Parse and ToString members
6488 2001-08-01 Dietmar Maurer <dietmar@ximian.com>
6490 * Type.cs (GetTypeFromHandle): added placeholder
6492 2001-07-24 Derek Holden <dholden@draper.com>
6494 * Boolean.cs: Formatted to code style standard. Added GetTypeCode
6495 which is really an IConvertible defined method.
6497 * Byte.cs: Added a missing Parse method. Put in Parse and ToString
6498 behavior, still need to do the main Parse and ToString.
6500 * Char.cs: Added a bunch of missing ECMA methods. Commented a
6501 specification discrepency. Still didn't any unicode stuff, though
6502 every IsFoo(char c) method has an IsFoo(string, index)
6503 counterpart, added wrappers for those.
6505 * Convert.cs: Fixed NaN/Inf checking and double/float
6506 rounding. Added ToType for IConvertible classes
6508 * Double.cs: Fixed ECMA min and max values. Added IsInfinity /
6509 IsNaN methods. Changed Inf/NaN internals.
6511 * IConvertible.cs: Added comments for using
6512 Convert.ToType. Changed return values to draft base values.
6514 * Int16.cs: Added a missing Parse statement. Put in behavior for
6515 overloaded ToString and Parse methods.
6517 * Int32.cs: Added a missing Parse statement. Put in behavior for
6518 overloaded ToString and Parse methods.
6520 * Int64.cs: Added a missing Parse statement. Put in behavior for
6521 overloaded ToString and Parse methods.
6523 * Single.cs: Put in ECMA epsilon value. Added IsInfinity / IsNaN
6524 methods. Changed Inf/NaN internals.
6526 * SByte.cs: Added a missing Parse method. Put in Parse and
6527 ToString behavior, still need to do the main Parse and ToString.
6529 * UInt16.cs: Added a missing Parse statement. Put in behavior for
6530 overloaded ToString and Parse methods.
6532 * UInt32.cs: Added a missing Parse statement. Put in behavior for
6533 overloaded ToString and Parse methods.
6535 * UInt64.cs: Added a missing Parse statement. Put in behavior for
6536 overloaded ToString and Parse methods.
6538 2001-07-20 Miguel de Icaza <miguel@ximian.com>
6540 * MulticastDelegate.cs: New File.
6542 * Delegate.cs: New file.
6544 * Enum.cs: New file.
6546 * Attribute.cs: New file.
6548 * Type.cs: New file.
6550 * ParamArrayAttribute.cs: New file.
6552 * RuntimeTypeHandle.cs: New file.
6554 * MulticastDelegate.cs: Added.
6556 * DateTime.cs: Added
6558 * Delegate.cs: Added
6560 2001-07-18 Michael Lambert <michaellambert@email.com>
6562 * AttributeTargets.cs: Add.
6564 2001-07-19 Jeffrey Stedfast <fejj@ximian.com>
6566 * Char.cs: Made ToUpper and ToLower public methods.
6568 * String.cs: Lots and lots of compile fixes - just need to write
6569 DateTime.cs and this should build completely now.
6571 2001-07-19 Bob Smith (bob@thestuff.net)
6573 * Math.cs: Implemented.
6575 2001-07-19 Miguel de Icaza <miguel@ximian.com>
6577 * String.cs: Removed tolower and toupper.
6579 * Char.cs: Moved ToLower and ToUpper from string to here.
6581 * Convert.cs ToByte (float value), ToByte (double value) Use IsNan
6582 instead of comparing the value to Nan.
6584 2001-07-19 Duco Fijma (duco@lorentz.xs4all.nl)
6586 * TimeSpan.cs: New implementation.
6588 2001-07-18 Scott Sanders <scott@stonecobra.com>
6590 * UriFormatExcpetion.cs: Add - 85% complete
6592 2001-07-17 Jeffrey Stedfast <fejj@ximian.com>
6594 * String.cs (IndexOf): Slight optimization that allows skipping
6595 over a few chars here and there. This isn't as good as using my
6596 Boyer-Moore implementation, however, Boyer-Moore is only really
6597 good for long strings (I plan on making the code decide which
6598 string search algorithm it should use on-the-fly at some point).
6599 (LastIndexOf): Fix to work correctly.
6600 (BoyerMoore): Took out some unneeded code and fixed an edge-case.
6602 2001-07-16 Michael Lambert <michaellambert@email.com>
6604 * EventArgs.cs: Add.
6606 2001-07-16 Miguel de Icaza <miguel@ximian.com>
6608 * Version.cs: Remove my buggy comment.
6610 2001-07-15 Sean MacIsaac <macisaac@ximian.com>
6612 * String.cs: Spelling error of IComparable, object's
6613 MemberwiseClone cannot be overridden. Made indexer valid for now,
6614 but not sure what to do about this in the long run. Seems to be a
6615 couple bugs in csc.exe having to do with multiple pointer defs in
6616 the same statement, and returning subclasses of a class in the
6617 return type of an interface function implementation. Also moved
6618 operators inside of class definition.
6620 2001-07-14 Jeffrey Stedfast <fejj@ximian.com>
6622 * String.cs: A tom of compile fixes, although we still don't compile.
6624 * IConvertible.cs: The To*Int64() methods return *Int64's, not
6625 *Int32's. Also, it's ToDateTime() not ToDateType().
6627 2001-07-14 Jeffrey Stedfast <fejj@ximian.com>
6629 * String.cs: Apparently I needed to at least write stubs for the
6630 IConvertible interfaces. *sigh*
6632 2001-07-14 Jeffrey Stedfast <fejj@ximian.com>
6634 * String.cs: Many logic/other fixes and better usage of the
6636 (tolower): New convenience method to help condense code.
6637 (toupper): Another new helper method.
6638 (Compare): Use the new helper methods.
6639 (ToLower): use tolower().
6640 (ToUpper): use toupper().
6641 (LastIndexOfAny): Implemented.
6642 (BoyerMoore): New private helper method that implements a modified
6643 version of the Boyer-Moore search algorithm. Noothing uses it yet
6644 as I'm not 100% sure it even works properly with unicode strings
6645 not to mention it uses a huge lookup-table :-)
6646 (Split): Implemented.
6648 2001-07-13 Jeffrey Stedfast <fejj@ximian.com>
6650 * TODO: Added things that need to be finished in System.String
6652 * String.cs: New source file implementing the System.String class
6654 2001-07-12 Sean MacIsaac <macisaac@ximian.com>
6656 * TypeCode.cs: UInt64 was UInt63.
6658 * Object.cs: Fixed a numer of compiler errors.
6660 * Array.cs: Fixed some compiler errors.
6662 * IComparable.cs: Fixed some compiler errors.
6664 * ICloneable.cs: Fixed some compiler errors.
6666 * IConvertible.cs: Fixed some compiler errors.
6668 * IFormattable.cs: Fixed a compiler error.
6670 * IFormatProvider.cs: Fixed a compiler error.
6672 * IDisposable.cs: Fixed a compiler error.
6674 * IFormatProvider.cs: Added public accesability type to
6677 * Exception.cs: Added a using statement to remove compile time
6680 * ApplicationException.cs: Removed a ; that was causing a compiler
6683 * Int16.cs: Fixed some compiler errors.
6685 * Int32.cs: Fixed some compiler errors.
6687 * Int64.cs: Fixed some compiler errors.
6689 * SystemException.cs: Fixed a compiler error.
6691 * UInt16.cs: Fixed some compiler errors.
6693 * UInt32.cs: Fixed some compiler errors.
6695 * UInt64.cs: Fixed some compiler errors.
6697 * Void.cs: Fixed a compiler error.
6699 2001-07-12 Joe Shaw <joe@ximian.com>
6701 * Array.cs: Fix backwards parameters to Array.SetValue()
6703 (BinarySearch): Fix backward logic surrounding whether to call
6704 value.CompareTo or comparer.Compare.
6705 (LastIndexOf): Stop being stupid. I am so not used to strongly
6707 (Sort): Implement a quicksort.
6709 2001-07-11 Joe Shaw <joe@ximian.com>
6711 * Array.cs: Change all instances of trying to access an array with
6712 the index operator to calls to GetValue and SetValue, and add
6713 InternalGetValue and InternalSetValue which are internal calls
6714 into the runtime. Ew.
6716 2001-07-10 Joe Shaw <joe@ximian.com>
6718 * Array.cs: Implemented everything but Sort().
6720 2001-07-09 Jeffrey Stedfast <fejj@ximian.com>
6722 * Object.cs (Object::Equals): Object variable name is `o'.
6724 2001-07-06 Joe Shaw <joe@ximian.com>
6726 * Int16.cs, Int32.cs, Int64.cs, UInt16.cs, UInt32.cs, UInt64.cs:
6727 Implement the IComparable and IFormattable interfaces. Fix a typo
6730 * ApplicationException.cs, ArgumentException.cs,
6731 ArgumentNullException.cs, ArgumentOutOfRangeException.cs,
6732 ArtithmeticException.cs, ArrayTypeMismatchException.cs,
6733 DivideByZeroException.cs, DuplicateWaitObjectException.cs,
6734 ExecutionEngineException.cs, FormatException.cs,
6735 IndexOutOfRangeException.cs, InvalidCastException.cs,
6736 InvalidOperationException.cs, InvalidProgramException.cs,
6737 MulticateNotSupportedException.cs, NotFiniteNumberException.cs,
6738 NotSupportedException.cs, NullReferenceException.cs,
6739 OutOfMemoryException.cs, OverflowException.cs, RankException.cs,
6740 StackOverflowException.cs, SystemException.cs,
6741 TypeInitializationException.cs: Added all of the exceptions
6742 specified by the language spec. Mmmm... bloat.
6744 2001-07-06 Miguel de Icaza <miguel@ximian.com>
6746 * Int64.cs, Int32.cs: Put. Parsing and ToString missing. Should
6747 do a generic routine all of these guys use.
6749 * Int16.cs: identified missing methods.
6751 * UInt16.cs, UInt32.cs, UInt64.cs: Add.
6753 2001-06-26 Miguel de Icaza <miguel@ximian.com>
6755 * TypeCode.cs: Implement
6757 * Void.cs: Implement.
6759 * TODO: Add file to keep track of pending tasks.
6761 * Object.cs, ValueType.cs: Implement.