1 2005-12-21 Sebastien Pouliot <sebastien@ximian.com>
3 * Array.cs: Fixed Sort<T> with IComparable (generic or not) bug #77039
5 2005-12-20 Carlos Alberto Cortez <calberto.cortez@gmail.com>
7 * Array.cs: Added the Sort<T> methods (generics).
9 2005-12-19 Sebastien Pouliot <sebastien@ximian.com>
11 * Array.cs: Fixed BinarySearch when the array is empty (#77030). Added
12 some null check which throws ArgumentNullException under 2.0.
14 2005-12-15 Sebastien Pouliot <sebastien@ximian.com>
16 * DateTime.cs: Added MonoTODO to ctor accepting a Calandar instance.
17 * Double.cs: Under 2.0 throw a ArgumentException when parsing with
18 NumberStyles.AllowHexSpecifier. Partial fix for #72221. Added the
19 second, simpler, TryParse method (2.0).
20 * Single.cs: Added the TryParse methods for 2.0.
22 2005-12-15 Raja R Harinath <rharinath@novell.com>
24 * Type.cs (IsGenericType): Make virtual.
26 2005-12-08 Sebastien Pouliot <sebastien@ximian.com>
28 * AppDomainSetup.cs: ApplicationBase throw exception on get (not on
29 set). New behaviour is more like MS - but most issues (unit tests)
30 were really path issues. Fix bug #71291.
31 * DateTime.cs: Add more information when throwing an exception in
32 ctor(long). Useful for debugging.
34 2005-12-07 Zoltan Varga <vargaz@gmail.com>
36 * Single.cs Double.cs: Fix warnings.
38 2005-12-06 Sebastien Pouliot <sebastien@ximian.com>
40 * Convert.cs: ToBase64String method didn't use the option parameter so
41 we always included new lines. Fix bug #76876.
43 2005-12-06 Sebastien Pouliot <sebastien@ximian.com>
45 * AppDomainSetup.cs: Added missing ComVisible and removed LAMESPEC
46 (the docs were fixed).
47 * NumberFormatter.cs: Fixed the "NotWorking" case where 1.15 was
48 misrounded compared to MS implementation. Extra care is required when
49 dealing with the extra 2 digits information (e.g. double precision is
50 15 digits but 17 are kept - for a reason ;-)
52 2005-12-05 Ben Maurer <bmaurer@ximian.com>
54 * Environment.cs: Bump version
56 * Nullable.cs: New Box and Unbox methods for the jit
58 2004-12-05 Peter Dennis Bartok <pbartok@novell.com>
60 * Enum.cs: Properly handle "No bits set" case even if the sorted numbers
61 list does not have enum value 0 as the first item. Fixes #76921
63 2005-12-05 Sebastien Pouliot <sebastien@ximian.com>
65 * AppDomain.cs: CreateComInstanceFrom isn't static in any profile.
67 Mon Dec 5 15:14:59 CET 2005 Paolo Molaro <lupus@ximian.com>
69 * Double.cs: remove unused icall.
70 * BitConverter.cs: handle double binary format on ARM FPA.
72 2005-12-02 Alp Toker <alp@atoker.com>
75 * Type.cs: DeclaringMethod should return MethodBase, not MethodInfo
77 2005-12-02 Alp Toker <alp@atoker.com>
79 * AppDomain.cs: ReflectionOnlyPreBindAssemblyResolve renamed to
80 ReflectionOnlyAssemblyResolve in 2.0 final
82 2005-12-01 Alp Toker <alp@atoker.com>
84 * String.cs: Add static and non-static Equals(... StringComparison) for
87 2005-12-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
89 * TermInfoDriver.cs: special case for the escape key. Fixes bug #76781.
91 2005-11-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
93 * TermInfoDriver.cs: if the cursor_address capability contains a %i, we
94 have to add 1 to x and y when setting the cursor position.
97 * Convert.cs: remove unused variables.
99 Wed Nov 30 12:14:20 EST 2005 Paolo Molaro <lupus@ximian.com>
101 * NumberFormatter.cs: work around arch-specific ulong cast behaviour
104 Tue Nov 29 05:38:37 EST 2005 Paolo Molaro <lupus@ximian.com>
106 * Convert.cs: fix endianess issue when converting to base-8
107 format. All the base code would need a rewrite for efficience.
109 2005-11-25 Sebastien Pouliot <sebastien@ximian.com>
111 * String.cs: Added support for Compare(... StringComparison) in 2.0.
113 2005-11-25 Alp Toker <alp@atoker.com>
115 * Type.cs (IsVisible): New 2.0 property, implemented recursively.
117 2005-11-17 Dick Porter <dick@ximian.com>
119 * Environment.cs: Incremented corlib version
121 2005-11-14 Carlos Alberto Cortez <calberto.cortez@gmail.com>
123 * Int32.cs, UInt32.cs, Int16.cs, UInt16.cs, Int64.cs,
124 UInt64.cs, Byte.cs, SByte.cs, Double.cs : Modify internal Parse
125 methods to return the exception as an out parameter,
126 instead of throwing it. This will be of special help
128 * Environment.cs: Update corlib version to 42.
130 2005-11-14 Raja R Harinath <rharinath@novell.com>
132 * EventHandler.cs (EventHandler<TEventArgs>): Rename from EventHandler<T>.
134 2005-11-11 Zoltan Varga <vargaz@gmail.com>
136 * Type.cs (GetPseudoCustomAttributes): Return ComImportAttribute as well.
138 2005-11-11 Lluis Sanchez Gual <lluis@novell.com>
140 * TimeZone.cs: Removed incorrect double-check lock and unneeded
143 2005-11-11 Marek Safar <marek.safar@seznam.cz>
145 * Type.cs: IsNested implemented, signature fixes.
147 2005-11-11 Raja R Harinath <rharinath@novell.com>
149 * Array.cs (Resize<T>) [2-argument variant]: Fix nullref.
151 2005-11-10 Zoltan Varga <vargaz@gmail.com>
153 * Array.cs (Resize<T>): New internal method which takes a 'length' argument
154 as well to avoid copying the whole array.
156 2005-11-09 Atsushi Enomoto <atsushi@ximian.com>
158 * Int64.cs : ditto for long.
160 2005-11-09 Atsushi Enomoto <atsushi@ximian.com>
162 * Int32.cs : Parse("2147483648", format_provider) should be rejected.
164 2005-11-09 Sebastien Pouliot <sebastien@ximian.com>
166 * AttributeTargets.cs: Added [ComVisible (true)] and [Serializable]
168 * Base64FormattingOptions.cs: Added missing [Flags] attribute.
169 * ConsoleKey.cs: Removed old BackSpace and WhiteSpace (they were
170 already replaced by Backspace and Whitespace)
171 * DateTime.cs: Moved DayOfWeek enum to it's own file.
172 * DateTimeKind.cs: New (2.0) enum.
173 * DayOfWeek.cs: New file (extracted from DateTime.cs).
174 * DomainManagerInitializationFlags.cs: Removed extra [Serializable].
175 * EnvironmentVariableTarget.cs: Added [ComVisible (true)] and fixed
176 values (-1 to all of them).
177 * Exception.cs: Added a LinkDemand for SerializationFormatter on
178 GetObjectData method.
179 * LoaderOptimization.cs: Added [ComVisible (true)] and [Serializable]
180 on enum and added [Obsolete] to DomainMask and DisallowBindings in 2.0
182 * PlatformID.cs: Added [ComVisible (true)] and [Serializable] in 2.0
184 * StringComparison.cs: New (2.0) enum (needed for Uri).
185 * TermInfoDriver.cs: Fixed BackSpace -> Backspace (see ConsoleKey.cs).
186 * TypeCode.cs: Added [ComVisible (true)] and [Serializable] in 2.0
189 2005-11-08 Atsushi Enomoto <atsushi@ximian.com>
191 * Type.cs : I forgot to mention, some '(' were missing in the
194 2005-11-08 Zoltan Varga <vargaz@freemail.hu>
196 * Type.cs (GetPseudoCustomAttributes): Check for TypeAttributes.Serializable instead of
197 IsSerializable property, since the latter returns true for delegates/enums.
199 2005-11-05 Kornél Pál <kornelpal@hotmail.com>
201 * Environment.cs: Use Consts.RuntimeVersion as Environment.Version that
202 makes maintenance easier.
204 2005-10-24 Martin Baulig <martin@ximian.com>
206 * Type.cs (Type.IsGenericTypeDefinition): Make this virtual.
208 2005-10-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
210 * String.cs: fix bound checkings for LastIndexOfAny. Closes bug #76519.
212 2005-10-20 Raja R Harinath <rharinath@novell.com>
214 * Array.cs (Swapper): Remove NET_2_0 guards from nested declaration.
216 2005-10-16 Michal Moskal <malekith@nemerle.org>
218 * TermInfoDriver.cs: Call Init () in Background/ForegroundColor.
220 2005-10-14 Atsushi Enomoto <atsushi@ximian.com>
222 * DateTime.cs : another crappy Windows dependent format.
224 2005-10-14 Ben Maurer <bmaurer@ximian.com>
226 * DateTime.cs: Speed up when parsing date time objects by not
227 duplicating cultureinfo arrays.
229 2005-10-13 Zoltan Varga <vargaz@gmail.com>
231 * Type.cs (GetTypeCode): Applied patch from
232 Mike Welham <mwelham@gmail.com>. Return TypeCode.Empty when null is
235 2005-10-07 Zoltan Varga <vargaz@gmail.com>
237 * Delegate.cs: Add support for delegate covariance and contravariance
240 2005-10-03 Atsushi Enomoto <atsushi@ximian.com>
242 * StringComparer.cs : (OrdinalIgnoreCaseComparer.Equals()) reverse.
244 2005-09-26 Zoltan Varga <vargaz@gmail.com>
246 * String.cs (ParseFormatSpecifier): Fix skipping of whitespace. Fixes
249 2005-09-23 Miguel de Icaza <miguel@novell.com>
251 * Decimal.cs: Fix typo, patch from Tomas Kukol <tomas.kukol@gmail.com>
253 2005-09-19 Zoltan Varga <vargaz@gmail.com>
255 * MonoCustomAttrs.cs (GetCustomAttributesInternal): Add
256 attributeType parameter.
257 (IsDefined): New icall.
259 * MonoCustomAttrs.cs: Avoid instantiating all custom attrs of an
260 object when only a specific attribute type is requested. Fixes #76062.
262 * Environment.cs: Bump corlib version.
264 2005-09-09 Zoltan Varga <vargaz@gmail.com>
266 * TypeLoadException.cs MissingMethodException.cs MissingFieldException.cs: Add new ctors called by the runtime. Improve Message property.
268 2005-09-14 Atsushi Enomoto <atsushi@ximian.com>
270 * DateTime.cs : (_DoParse) don't check ticks range before computing
271 the actual value. Fixed bug #76082.
273 2005-09-14 Atsushi Enomoto <atsushi@ximian.com>
275 * TimeZone.cs : When the target DateTime is in the range of
276 DST end to DST + delta, don't adjust UtcOffset gap between that of
277 DST and that of STD. This should fix bug #75985.
279 2005-09-06 Atsushi Enomoto <atsushi@ximian.com>
281 * TimeZone.cs, DateTime.cs :
282 - ToLocalTime() and ToUniversalTime() are moved to TimeZone.
283 - Added more COM patterns. Patch by Ankit Jain. Fixed bug #72132.
284 - use ToLocalTime() and don't depend on the own offset computation.
285 Parse() with 'Z' pattern is closer to correct value on switching
286 Daylight Saving Time. See bug #75985.
288 2005-09-06 Atsushi Enomoto <atsushi@ximian.com>
290 * DateTime.cs : (DoParse) DateTimeStyles.AdjustToUniversal was not
291 handled as expected and it kept time value as local one.
292 Patch by Brion Vibber. Fixed bug #75995.
294 2005-09-06 Atsushi Enomoto <atsushi@ximian.com>
296 * DateTime.cs : Literal escape (\) was not checking format as
297 expected. Fixed bug #75213.
299 2005-09-05 Miguel de Icaza <miguel@novell.com>
301 * MonoType.cs: Patch from Jonathan Chambers to implement
304 2005-09-05 Martin Baulig <martin@ximian.com>
306 Reflect latest API changes in the August CTP.
308 * Type.cs (Type.HasGenericArguments): Removed.
309 (Type.BindGenericParameters): Renamed to MakeGenericType().
311 2005-09-01 Atsushi Enomoto <atsushi@ximian.com>
313 * DateTime.cs : another idiotic COM dependent format.
315 2005-09-01 Kornél Pál <kornelpal@hotmail.com>
317 * __ComObject.cs: Fixed to be internal. Removed CLSCompliant attribute.
318 Added some comments about the class.
320 2005-08-30 Sebastien Pouliot <sebastien@ximian.com>
322 * AppDomain.cs: Use the more concise property syntax for declarative
324 * AppDomainManager.cs: Default HostSecurityManager is null.
326 2005-08-25 Atsushi Enomoto <atsushi@ximian.com>
328 * NumberFormatter.cs : eliminate non-ASCII character.
330 2005-08-25 Marek Safar <marek.safar@seznam.cz>
332 * Enum.cs: Better exception message.
334 2005-08-21 Gert Driesen <drieseng@users.sourceforge.net>
336 * Convert.cs: In FromBase64String, return empty byte array for zero
337 length string. Pass bool to InternalFromBase64String to control
338 whether to allow a whitespace-only string.
339 * Environment.cs: Bump corlib version.
341 2005-08-20 Zoltan Varga <vargaz@freemail.hu>
343 * Environment.cs: Bump corlib version.
345 2005-08-19 Zoltan Varga <vargaz@freemail.hu>
347 * Math.cs: Implement a new 2.0 Round method.
349 2005-08-19 Gert Driesen <drieseng@users.sourceforge.net>
351 * Convert.cs: Throw OverflowException if result is larger than
352 ushort.MaxValue to match MS.NET. Remove commented code.
354 2005-08-17 Gert Driesen <drieseng@users.sourceforge.net>
356 * Convert.cs: For now, do not throw OverflowException if hex prefixed
357 value is negative for signed types (other than int64). Need to look
360 2005-08-17 Gert Driesen <drieseng@users.sourceforge.net>
362 * Convert.cs: Numerous fixed in overloads taking base to match
363 behaviour of MS.NET. Throw ArgumentOutOfRangeException is string is
364 empty. If base is 16, 8 or 2, then throw ArgumentException if first
365 character is a negative sign. Throw OverflowException if hex prefixed
366 value is negative for signed types (other than int64) to match MS.NET.
368 2005-08-16 Atsushi Enomoto <atsushi@ximian.com>
370 * DateTime.cs : added another COM dependent pattern (rather to describe
371 how it works on .NET than to add the pattern itself...).
373 2005-08-16 Atsushi Enomoto <atsushi@ximian.com>
375 * DateTime.cs : added case for bug #53023.
377 2005-08-10 Zoltan Varga <vargaz@freemail.hu>
379 * Type.cs: Add IsGenericType property from NET 2.0.
381 2005-08-10 Atsushi Enomoto <atsushi@ximian.com>
383 * String.cs : added new StartsWith()/EndsWith() override, fixing
384 existing EndsWith() which incorrectly assumed that both string
385 lengths must be equivalent (they are not always equal).
386 * StringComparer.cs : added Ordinal and OrdinalIgnoreCase.
388 2005-08-09 Zoltan Varga <vargaz@freemail.hu>
390 * String.cs: Implement Split(String[]) methods.
392 2005-08-09 Miguel de Icaza <miguel@novell.com>
394 * AppDomainSetup.cs: Full-pathization of the appBase should only
395 be done on Windows, the ":" condition never applied to Linux.
397 * ConsoleKey.cs: Include a few aliases for a few values that were
400 2005-08-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
402 * ConsoleKey.cs: added Backspace, which has the same value as BackSpace.
405 2005-08-08 Atsushi Enomoto <atsushi@ximian.com>
407 * String.cs : (StartsWith) compared string lengths are not always the
408 same in culture-sensitive comparison.
410 2005-08-05 Gert Driesen <drieseng@users.sourceforge.net>
412 * Array.cs: Changed protected ctor to private. Fixes API compatibility
414 * RuntimeFieldHandle.cs: Equals methods and GetHashCode should only
415 be exposed in 2.0 profile.
416 * RuntimeMethodHandle.cs: Equals methods and GetHashCode should only
417 be exposed in 2.0 profile.
418 * RuntimeTypeHandle.cs: Equals methods and GetHashCode should only
419 be exposed in 2.0 profile.
420 * Type.cs: Added GetType method and implemented _Type interface.
421 Fixes API compatibility with MS.NET.
423 2005-07-28 Marek Safar <marek.safar@seznam.cz>
425 * StringComparer.cs: Add generics version of string interfaces.
427 2005-07-26 Atsushi Enomoto <atsushi@ximian.com>
429 * StringComparer.cs : implemented StringCultureComparer.GetHashCode().
431 2005-07-26 Zoltan Varga <vargaz@freemail.hu>
433 * StringSplitOptions.cs MidpointRounding.cs: New files.
435 * String.cs Math.cs: Add stubs for some new 2.0 APIs.
437 2005-07-26 Marek Safar <marek.safar@seznam.cz>
439 * StringComparer.cs: New file.
441 2005-07-26 Raja R Harinath <harinath@gmail.com>
443 * Enum.cs (GetValue): Make private. Return an ulong.
444 (Parse): Tighten scope of couple of variables. Use ulong when
447 2005-07-25 Raja R Harinath <rharinath@novell.com>
449 * Enum.cs (FindName, GetValue): New. Carved out of ...
450 (Parse): ... this. Refactor and simplify code. Avoid incurring
451 exceptions when parsing names. Avoid allocating arrays unless
452 necessary. Avoid conversion of an enumeration constant to its own
453 type. (Incorporates ideas from a patch by Gonzalo Paniagua Javier.)
455 2005-07-13 Lluis Sanchez Gual <lluis@novell.com>
457 * MarshalByRefObject.cs: GetLifetimeService() should be virtual.
460 2005-07-13 Miguel de Icaza <miguel@novell.com>
462 * Array.cs: Patch from rodrigobamboo@gmail.com that fixes the
463 signature for GetValue and SetValue to make the long [] argument
464 be a params argument.
466 2005-07-11 Pedro Martínez Juliá <pedromj@gmail.com>
468 * Convert.cs: Fix the bug when Convert.ChangeType was using
469 NumberFormatInfo instead of DateTimeFormatInfo when the type to
470 change is a DateTime.
472 2005-07-11 Martin Baulig <martin@ximian.com>
474 * Array.cs: Use Type.Equals() instead of `==' to compare type
477 2005-07-10 Kamil Skalski <nazgul@nemerle.org>
479 * Type.cs: Mark BindGenericParameters as deprecated. Use
480 MakeGenericType as default implementation with updated signature.
482 2005-07-09 Zoltan Varga <vargaz@freemail.hu>
484 * Attribute.cs (IsDefined): Fix IsDefined for ParameterInfo's. Fixes
487 2005-07-05 Lluis Sanchez Gual <lluis@novell.com>
489 * DelegateSerializationHolder.cs: When the deserialized target is
490 a proxy, call IsInstanceOfType to force the proxy to load the
491 real type of the remote object. This is needed to make sure that
492 subsequent calls to GetType() return the expected type. This fixes
495 2005-07-03 Ben Maurer <bmaurer@ximian.com>
497 * OperatingSystem.cs: patch from Aleksandar Dezelin to fix
500 2005-06-30 Sebastien Pouliot <sebastien@ximian.com>
502 * Guid.cs: Avoid code duplication between overriden methods (new in
503 2.0). Avoid exception processing when possible. Renamed parameters to
504 match the framework. Added ComVisible to NET_2_0.
506 2005-06-28 Elliott Draper <el@eldiablo.co.uk>
508 * Activator.cs: This implements the generic Activator.CreateInstance<T>()
509 function for NET_2_0. It's full signature is:
510 public static T CreateInstance<T>();
512 2005-06-28 Lluis Sanchez Gual <lluis@novell.com>
514 * Decimal.cs: Renamed internal fields for the sake of serialization
515 interoperability with MS.NET.
516 * Exception.cs: In the StackTrace property, return the stack trace
517 if it has a value, even if the exception has not been thrown
518 (it may have been deserialized).
520 2005-06-28 Martin Baulig <martin@ximian.com>
522 * Array.cs (Array.InternalArray<T>): New nested class; derives
523 from Array. This is now used by the runtime for arrays; fixes #74953.
525 2005-06-27 Atsushi Enomoto <atsushi@ximian.com>
527 * String.cs : added some extra whitespace characters for Trim().
530 2005-06-13 Michal Moskal <malekith@nemerle.org>
532 * MonoType.cs: Don't use MethodHandle in GetMethod/GetConstructor,
533 since it now throws on MethodBuilders. Don't use FieldHandle in
534 GetField (throws on FieldBuilder) - just use the name.
536 2005-06-13 Martin Baulig <martin@ximian.com>
539 (MonoType.getFullName): Added `bool assembly_qualified' argument.
540 (MonoType.AssemblyQualifiedName): The interncall now adds the
541 assembly name, so we don't need to do it here.
542 (MonoType.FullName): Use the new getFullName() API.
544 2005-06-14 Sebastien Pouliot <sebastien@ximian.com>
546 * Char.cs: ToLowerInvariant and ToUpperInvariant are now public in
547 NET_2_0. Added "new" white char and ComVisible for 2.0.
549 2005-06-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
551 * Convert.cs: FromBase64String and FromBase64CharArray are now internal
552 calls to avoid extra allocations.
554 2005-06-09 Kamil Skalski <nazgul@nemerle.org>
556 * Type.cs: Add MakeGenericType method form .NET 2.0 beta 2 API
558 * Type.cs MonoType.cs: Add internal virtual
559 Get{Method,Constructor,Field} for obtaining instanciated *Info objects
560 from non-instanciated counterparts
562 2005-06-09 Zoltan Varga <vargaz@freemail.hu>
564 * ModuleHandle RuntimeMethodHandle.cs RuntimeTypeHandle.cs RuntimeFieldHandle.cs RuntimeArgumentHandle.cs: Add missing 2.0 attributes.
566 2005-06-08 Zoltan Varga <vargaz@freemail.hu>
568 * Type.cs: Add missing 2.0 attributes.
570 2005-06-07 Carlos Alberto Cortez <calberto.cortez@gmail.com>
572 * MonoCustomAttrs.cs: Added GetCustomAttributesDataInternal icall, and
573 also internal method GetCustomAttributesData, used by
574 System.Reflection.CustomAttributeData.
576 2005-06-06 Sebastien Pouliot <sebastien@ximian.com>
578 * Activator.cs: Added _Activator interface (and members) for 1.1 and
579 missing attributes (for both 1.1 and 2.0).
580 * String.cs: Made internal To[Lower|Upper]Invariant methods public for
581 2.0. Reworked Trim() to skip a useless call. Added missing attribute
583 * Type.cs: Added _Type, _MemberInfo interfaces (1.1/2.0). Added
584 missing attribute for 2.0. Hided some public/protected methods.
586 2005-06-06 Zoltan Varga <vargaz@freemail.hu>
588 * ModuleHandle.cs: Update after PortableExecutableKinds name change.
590 2005-06-06 Sebastien Pouliot <sebastien@ximian.com>
592 * _AppDomain.cs: Added new members in the interface (added in 1.1 SP1)
593 * AppDomain.cs: Added new members from _AppDomain interface.
594 * AppDomainManager.cs: Fixed flags and added attributes.
595 * DomainManagerInitializationFlags.cs: The flag has been renamed to
596 AppDomainManagerInitializationOptions in beta2.
598 2005-06-06 Zoltan Varga <vargaz@freemail.hu>
600 * Type.cs MonoCustomAttrs.cs: Return SerializableAttribute for types as well.
602 2005-06-06 Sebastien Pouliot <sebastien@ximian.com>
604 * Exception.cs: Implements _Exception only for 2.0.
606 2005-06-06 Zoltan Varga <vargaz@freemail.hu>
610 * GC.cs UnhandledExceptionEventArgs.cs IntPtr.cs RuntimeFieldHandle.cs
611 String.cs Object.cs Math.cs RuntimeMethodHandle.cs ModuleHandle.cs
612 RuntimeTypeHandle.cs AppDomain.cs: Add some missing 2.0 methods/attributes.
614 2005-06-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
617 * AppDomain.cs: if the assembly is loaded from a byte array, Location
618 returns "". Fixes bug #74958.
620 2005-06-04 Ben Maurer <bmaurer@ximian.com>
622 * *.cs: More 2.0 API fixups
624 * *.cs: In beta 2, generics are no longer non-cls-compliant.
626 2005-06-05 Kazuki Oikawa <kazuki@panicode.com>
628 * NumberFormatter.cs: Fixed the output of 0.ToString("00.00E00")
629 that was different from MSFT.
630 * String.cs: Fixed IndexOfAny thrown an exception
631 when startIndex of arguments equals Length. (Closes bug #75083.)
633 * Decimal.cs: Changed to use NumberFormatter in ToString.
634 * NumberFormatter.cs: Implemented decimal formatter.
636 2005-06-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
638 * Type.cs: reverted wrong fix for bug #71300 in r45150. This makes SSL
639 support in System.Net work again.
641 2005-06-01 Ben Maurer <bmaurer@ximian.com>
643 * CharEnumerator.cs: add IEnumerable <char> support
645 2005-05-30 Sebastien Pouliot <sebastien@ximian.com>
647 * Activator.cs: Added missing validation on parameters.
649 2005-05-28 Ben Maurer <bmaurer@ximian.com>
651 * Type.cs: Check that the arguments of the `types' array are
652 non-null. Fixes bug 71300
654 2005-05-28 Sebastien Pouliot <sebastien@ximian.com>
656 * AppDomainSetup.cs: Added new 2,0 constructors and the
657 ActivationArguments property.
658 * AppDomainManager.cs: Added using System.Runtime.Hosting as it is the
659 new location for the ApplicationActivator class.
660 * ApplicationActivator.cs: Moved to System.Runtime.Hosting namespace.
662 2005-05-27 Vladimir Vukicevic <vladimir@pobox.com>
664 * Environment.cs: bump corlib version for bug #75060.
666 2005-05-27 Raja R Harinath <rharinath@novell.com>
668 * Environment.cs (ExpandEnvironmentVariables): Rewrite
669 sb.Append (s.SubString (a, b)) to sb.Append (s, a, b).
670 * String.cs (FormatHelper): Rewrite sb.Append (s.SubString (a)) to
671 sb.Append (s, a, s.Length - a). Avoid allocating 'pad' string --
672 StringBuilder has an appropriate Append overload.
674 2005-05-26 Zoltan Varga <vargaz@freemail.hu>
676 * Type.cs (IsEnum): Special case EnumBuilder here.
678 2005-05-26 Sebastien Pouliot <sebastien@ximian.com>
680 * MonoType.cs: Changed call from GetName to UnprotectedGetName to
681 allow call to work with serialization under a restrictive policy.
682 The code path (the protected information) isn't being used.
684 2005-05-25 Zoltan Varga <vargaz@freemail.hu>
686 * Exception.cs: Use the new StackTrace ctor.
688 * Type.cs: Improve support for user defined type subclasses.
690 2005-05-25 Atsushi Enomoto <atsushi@ximian.com>
692 * DateTime.cs : Added minimum digit parameter to ParseNumber() to
693 reject 2 digit years for "yyyy".
694 Use GetAllDateTimePatterns() instead of constant string.
697 2005-05-25 Atsushi Enomoto <atsushi@ximian.com>
699 * DateTime.cs : next_not_digit prevented some valid parse.
700 Just remove it, since now we pass max length to ParseNumber() and
701 thus it is not needed anymore. Fixed bug 63137.
703 2005-05-24 Atsushi Enomoto <atsushi@ximian.com>
705 * DateTime.cs : HH should not always block tt. Fixed bug #60912.
706 Reset num after whitespace parsing.
707 Added "M/d/yyyy HH':'mm':'ss tt" as an invariant pattern.
709 2005-05-24 Atsushi Enomoto <atsushi@ximian.com>
711 * DateTime.cs : Allow ',' where whitespaces are allowed.
714 2005-05-22 Ben Maurer <bmaurer@ximian.com>
716 * BitConverter.cs: Speed this up, fixing 74014. Patch from
717 `Aleksandar Dezelin'.
719 2005-05-20 Zoltan Varga <vargaz@freemail.hu>
721 * Type.cs: Add some helper methods needed by other classes.
723 * Array.cs: Improve support for user defined Type subclasses.
725 * Type.cs: Rename GetTypeCode icall to GetTypeCodeInternal and add a managed
726 wrapper function, not used yet.
728 * Type.cs Array.cs: Revert this as it breaks the build.
730 * Type.cs Array.cs: Improve support for user defined Type subclasses.
732 2005-05-19 Ben Maurer <bmaurer@ximian.com>
734 * Delegate.cs (Equals): Use `as' to protect in the case where !
737 2005-05-19 Raja R Harinath <rharinath@novell.com>
739 * Console.cs (Readline) [NET_2_0]: Avoid "uninitialized variable"
742 2005-05-19 Miguel de Icaza <miguel@novell.com>
744 * TermInfoDriver.cs: Removed warning.
746 * Array.cs (Resize<T>, TrueForAll<T>, ConvertAll<TInput,TOutput>,
747 FindLastIndex<T>: Parameter names are normative.
748 Fix coding style ("Method<T>" not "Method <T>")
749 Throw argument exceptions per argument.
751 (FindAll): Fix bug, actually return the values that were computed,
752 not a short version of the original array.
754 2005-05-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
756 * Console.cs: fix error in the 2_0 side and split ReadLine in 2, one
757 for each framework version.
759 2005-05-15 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
762 * Exception.cs: .Net 1.1 already has these interfaces
764 Mon May 16 18:23:49 CEST 2005 Paolo Molaro <lupus@ximian.com>
766 * MonoCustomAttrs.cs, Type.cs: do not create a SerializableAttribute
767 object on GetCustomAttributes (fixes bug #74717).
769 2005-05-15 Atsushi Enomoto <atsushi@ximian.com>
771 * DateTime.cs : for 'z' next_not_digit didn't work as expected.
774 2005-05-15 Atsushi Enomoto <atsushi@ximian.com>
776 * DateTime.cs : don't allow extraneous pattern characters also for
777 non-exact parsing (ParseExact() was fine). Bug #74936 fixed
779 2005-05-13 Gert Driesen <drieseng@users.sourceforge.net>
781 * Activator.cs: Match exceptions thrown by MS.NET for
782 CreateInstance overloads if type is abstract. Fixes bug #74861.
784 2005-05-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
786 * OperatingSystem.cs: PlatformID.Unix.
788 2005-05-09 Sebastien Pouliot <sebastien@ximian.com>
790 * Environment.cs: Patch from Gonzalo to fix Environment.OSVersion.
791 Platform under NET_2_0 to return PlatformID.Unix. Fix bug #74841.
793 2005-05-07 Atsushi Enomoto <atsushi@ximian.com>
795 * NumberFormatter.cs : roundtrip number is already rounded before
796 FormatGeneral() and DefaultMaxPrecision was extraneous. This fixes
799 2005-05-07 Ben Maurer <bmaurer@ximian.com>
801 * Array.cs (BinarySearch): Patch from kazuki to pass arguments to
802 the comparer in the same order as msft. Fixes #70725
804 2005-05-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
806 * Enum.cs: the hashtable don't need to be synchronized any more, since
807 it's only accessed from withint a lock.
809 * Console.cs: stdin, stdout and stderr will never be finalized. Fixes
812 2005-05-06 Zoltan Varga <vargaz@freemail.hu>
814 * Array.cs: Remove CLSCompliant (false) attributes.
816 2005-05-06 Martin Baulig <martin@ximian.com>
818 * Predicate.cs, Action.cs, Comparision.cs, Converter.cs: Add
819 [CLSCompliant(true)] attribute.
821 2005-05-04 Miguel de Icaza <miguel@novell.com>
823 * Enum.cs (MonoEnumInfo): Based on a patch from James Willcox,
824 initialize cache as a static method. Fixes #74828.
826 2005-05-03 Marek Safar <marek.safar@seznam.cz>
828 * Console.cs: CancelKeyPress is stubbed.
830 2005-04-25 Sebastien Pouliot <sebastien@ximian.com>
832 * ActivationContext.cs: Updated for beta2.
833 * AppDomainManager.cs: Updated for beta2.
834 * ApplicationId.cs: Updated for beta2.
835 * ApplicationIdentity.cs: Updated for beta2.
836 * Exception.cs: Now use Assembly.UnprotectedGetName () as Exception
837 doesn't leak the code base from the returned AssemblyName.
839 2005-04-25 Martin Baulig <martin@ximian.com>
841 * Environment.cs (Environment.Version): Changed to 2.0.50215.
843 2005-04-22 Sebastien Pouliot <sebastien@ximian.com>
845 * Attribute.cs: Added _Attribute interface to NET_2_0 to reduce the
846 number of "missing" in the class status pages.
848 2005-04-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
850 * MulticastDelegate.cs: (GetInvocationList) when building the list that
851 is later traversed forward, mark 'this' as the end of the chain.
854 2005-04-19 Zoltan Varga <vargaz@freemail.hu>
856 * Environment.cs: Bump corlib version.
858 2005-04-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
860 * WindowsConsoleDriver.cs: ignore key release events.
862 2005-04-06 Atsushi Enomoto <atsushi@ximian.com>
864 * Char.cs : ToUpper()/ToLower() comparison ranges were incorrect.
866 2005-04-05 Sebastien Pouliot <sebastien@ximian.com>
868 * _AppDomain.cs: Add security checks to the interface. Declarative
869 security on events requires BOOTSTRAP_WITH_OLDLIB to work properly
871 * AppDomain.cs: Add some (not complete) security checks. Bug#74411 is
872 blocking some cases from working properly. Declarative security on
873 events requires BOOTSTRAP_WITH_OLDLIB to work properly with older MCS.
875 2005-04-04 Sebastien Pouliot <sebastien@ximian.com>
877 * AppDomain.cs: Use the PolicyLevel to resolve the granted permissions
878 on the AppDomain. Added an internal property to get the granted set.
880 2005-04-04 Atsushi Enomoto <atsushi@ximian.com>
883 Char.cs : use TextInfo for ToLower() and ToUpper().
885 2005-03-31 Sebastien Pouliot <sebastien@ximian.com>
887 * Exception.cs: Added Assert for TypeInformation to GetObjectData and
888 ToString methods (not required for 2.0 as TypeInformation will be
889 deprecated). Added null check for GetObjectData.
891 Tue Mar 29 11:47:19 CEST 2005 Paolo Molaro <lupus@ximian.com>
893 * Delegate.cs: allow IronPython 0.7 to compile.
895 2005-03-24 Miguel de Icaza <miguel@novell.com>
897 * Delegate.cs: Add CreateDelegate with a target option, currently
898 internal as it is not exposed by the framework yet.
900 2005-03-24 Zoltan Varga <vargaz@freemail.hu>
902 * String.cs: Add some 2.0 methods.
904 2005-03-24 Sebastien Pouliot <sebastien@ximian.com>
906 * Activator.cs: Now use the supplied evidences when loading
907 assemblies. Added LinkDemand for RemotingConfiguration on both
909 * Console.cs: Added Assert for UnmanagedCode on OpenStandard[Error|
910 Input|Output] as they use a handle on a FileStream (which is
911 restricted otherwise). Added Demand for UnmanagedCode for the
912 Set[Error|In|Out] methods.
913 * MarshalByRefObject.cs: Added LinkDemand for Infrastructure on
914 CreateObjRef, GetLifetimeService and InitializeLifetimeService.
915 * RuntimeMethodHandle.cs: Added Demand for UnmanagedCode on
916 GetFunctionPointer method.
917 * TypedReference.cs: Added LinkDemand for ReflectionPermission's
918 MemberAccess on MakeTypedReference.
920 2005-03-14 Sebastien Pouliot <sebastien@ximian.com>
922 * Environment.cs: Fix CAS unit tests for NET_1_1.
923 * Exception.cs: Fix CAS unit tests for NET_1_1.
925 2005-03-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
927 * Version.cs: don't ignore the last number. Fixes bug #73539.
929 2005-03-11 Sebastien Pouliot <sebastien@ximian.com>
931 * MonoType.cs: When the security manager is active, constructors and
932 methods will return null if a linkdemand fails during reflection
935 2005-03-11 Zoltan Varga <vargaz@freemail.hu>
937 * Array.cs (Sort): Bail out early if length <= 1. Fixes #72721.
939 2005-03-10 Zoltan Varga <vargaz@freemail.hu>
941 * Environment.cs: Bump corlib version.
943 2005-03-10 Martin Baulig <martin@ximian.com>
945 * Nullable.cs (Nullable<T>.ToString): Return an empty string if
948 2005-03-09 Zoltan Varga <vargaz@freemail.hu>
950 * Activator.cs MonoType.cs: Applied patch from Carlos Alberto Cortez
951 (carlos@unixmexico.org). Allow creation of valuetypes with no ctor.
954 2005-03-04 Zoltan Varga <vargaz@freemail.hu>
956 * Environment.cs: Bump corlib version.
958 * Exception.cs (StackTrace): Return the wrapper info as well.
960 2005-03-02 Kazuki Oikawa <kazuki@panicode.com>
962 * NumberFormatter.cs: Some internal classes was converted to structs,
963 and improved some points.
965 2005-02-26 Kazuki Oikawa <kazuki@panicode.com>
967 * NumberFormatter.cs: Improved performance and memory usage
968 when integer standard format.
979 * TimeSpan.cs: Improved these directly call to NumberFormatter.
981 2005-02-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
983 * TermInfoDriver.cs: set the xmit mode if available. Handle key input
984 and translate them into a ConsoleKeyInfo.
985 * TermInfoReader.cs: added a method to return the bytes of a string
987 * ConsoleKeyInfo.cs: added copy constructor and setters.
989 2005-02-24 Zoltan Varga <vargaz@freemail.hu>
991 * Array.cs: Add missing 2.0 attributes and correct some parameter names.
993 2005-02-24 Carlos Alberto Cortez <calberto.cortez@gmail.com>
995 * AppDomain.cs: Changed GetAssemblies, LoadAssembly, and Load signatures,
996 and added some to support the reflection only methods. DoAssemblyResolve
997 was modified to invoke the new PreBindAssemblyResolve event when the
998 assembly is reflection only.
1000 2005-02-21 Zoltan Varga <vargaz@freemail.hu>
1002 * GC.cs Double.cs IntPtr.cs Array.cs Decimal.cs Math.cs Single.cs:
1003 Add net 2.0 ReliabilityContractAttributes.
1005 2005-02-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1007 * TermInfoDriver.cs: cygwin terminals are handled by the windows
1010 * TermInfoReader.cs:
1011 * TermInfoNumbers.cs:
1012 * KnownTerminals.cs:
1013 * TermInfoBooleans.cs:
1014 * TermInfoStrings.cs: documented.
1016 2005-02-19 Kazuki Oikawa <kazuki@panicode.com>
1018 * Array.cs: Reverse the order in the Equals calls.
1020 2005-02-18 Zoltan Varga <vargaz@freemail.hu>
1022 * Exception.cs (StackTrace): Implement this in managed code since it is
1023 needed by CAS. Fixes #72146.
1025 2005-02-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1027 * WindowsConsoleDriver.cs: implemented MoveBufferArea.
1029 2005-02-14 Raja R Harinath <rharinath@novell.com>
1031 * Array.cs (Array.Swapper) [!BOOTSTRAP_WITH_OLDLIB]: Make nested.
1034 2005-02-12 Ben Maurer <bmaurer@ximian.com>
1036 * Version.cs (CompareTo, Equals): Make sure the versions for
1037 generics handle `null'. The non-generics versions now just call
1038 the regular versions, to reduce code duplication.
1040 * Boolean.cs (CompareTo): make this really work for generics
1042 * Type.cs (GetProperty): Passing new Type [0] is different than
1043 null. null means `I don't care how many types this has,' while new
1044 Type [0] means `this must have 0 types.'
1046 2005-02-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1048 * corlib.dll.sources: added WindowsConsoleDriver.cs
1050 * System/ConsoleDriver.cs: use WindowsConsoleDriver on windows and
1051 implemented the few missing properties/methods.
1053 * System/IConsoleDriver.cs: uncommented all methods/properties.
1054 * System/TermInfoDriver.cs: implement changes from IConsoleDriver.
1055 * System/WindowsConsoleDriver.cs: implemented IConsoleDriver for
1056 windows. Only missing MoveBufferArea by now.
1058 2005-02-11 Zoltan Varga <vargaz@freemail.hu>
1060 * Type.cs (IsAssignableFrom): Add support for TypeBuilders.
1062 * Int32.cs AppDomain.cs: Fix warnings.
1064 2005-02-10 Marek Safar <marek.safar@seznam.cz>
1066 * IServiceProvider.cs: Is not ComVisible.
1068 * NonSerializedAttribute.cs: Fix AttributeUsage flags.
1070 * Type.cs: Fix ClassInterface attribute.
1072 Tue Feb 8 19:26:47 CET 2005 Paolo Molaro <lupus@ximian.com>
1074 * Delegate.cs: remove the finalizer from Delegate: this
1075 is handled internally by the runtime now.
1077 2005-02-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1079 * Activator.cs: provide the Type name when throwing an exception.
1081 2005-02-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1083 * TimeZone.cs: lock on the static Hashtable instead of 'this'. Fixes
1086 Fri Feb 4 15:46:04 CET 2005 Paolo Molaro <lupus@ximian.com>
1088 * Array.cs: provide specialized versions of some methods.
1090 Thu Feb 3 15:15:25 CET 2005 Paolo Molaro <lupus@ximian.com>
1092 * String.cs: provide a managed memcpy and memset method
1093 for use both in corlib and from the JIT. Implement
1094 some methods with the managed helpers and remove some icalls.
1096 2005-01-31 Sebastien Pouliot <sebastien@ximian.com>
1098 * Exception.cs: Added Data property for NET_2_0 (required for new
1101 2005-01-31 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1104 * TermInfoDriver.cs:
1105 * IConsoleDriver.cs:
1106 * Console.cs: added BufferWidth and BufferHeight.
1108 2005-01-31 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1112 * TermInfoDriver.cs:
1113 * IConsoleDriver.cs: added a few more properties and fixed cursor
1116 2005-01-31 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1118 * ConsoleDriver.cs: static class that forwards the Console 2.0 class
1119 calls to the proper driver.
1120 * TermInfoDriver.cs: terminfo based console driver.
1121 * IConsoleDriver.cs: interface implemented by console drivers.
1123 * ConsoleCancelEventArgs.cs:
1124 * ConsoleCancelEventHandler.cs:
1126 * ConsoleModifiers.cs:
1127 * ConsoleSpecialKey.cs:
1129 * ConsoleKey.cs: new enumerations.
1131 * ConsoleKeyInfo.cs: New file.
1133 * TermInfoReader.cs: reader for terminfo capabilities files.
1135 * TermInfoNumbers.cs:
1136 * TermInfoBooleans.cs:
1137 * TermInfoStrings.cs: enumations for terminfo property names.
1139 * KnownTerminals.cs: byte arrays for selected terminals.
1141 * Console.cs: added more 2.0 methods and implemented some of them.
1144 2005-01-30 Atsushi Enomoto <atsushi@ximian.com>
1146 * Int32.cs : (FindSign) IndexOf() is better than creating substring.
1148 2005-01-27 Sebastien Pouliot <sebastien@ximian.com>
1150 * BadImageFormatException.cs: Protect the fusion (GAC) log from being
1151 disclosed unless code has ControlPolicy and ControlEvidence.
1153 2005-01-27 Zoltan Varga <vargaz@freemail.hu>
1155 * Exception.cs: Compute stack trace on demand.
1157 2005-01-26 Sebastien Pouliot <sebastien@ximian.com>
1159 * Environment.cs: Removed hack for static class (NET_2_0). Added
1160 proper security for FailFast (documented in FDBK20543). Added new
1161 method IsRunningOnWindows to replace (Platform == 128) as the logic is
1162 gonna change in the future (Unix is id #4 in NET_2_0).
1164 2005-01-24 Sebastien Pouliot <sebastien@ximian.com>
1166 * Environment.cs: Added CAS security (both declarative and imperative)
1167 as a test. This shouldn't affect execution unless --security is
1170 2005-01-19 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
1171 * Type.cs: Corrected implementation for the Type.FilterNameIgnoreCase
1172 and Type.FilterName delegates They weren't dealing with the optional '*'
1173 at the end of the filter mask
1175 2005-01-19 Zoltan Varga <vargaz@freemail.hu>
1177 * Array.cs: Fix a typo in the previous patch.
1179 * Array.cs: Fix some test failures in the generic methods.
1181 * Array.cs: Implement AsReadOnly.
1183 2005-01-13 Geoff Norton <gnorton@customerdna.com>
1185 * Guid.cs: Fix endian issues (use Mono.Security.BitConverterLE). Fixes
1188 2005-01-11 Sebastien Pouliot <sebastien@ximian.com>
1190 * AppDomain.cs: Removed Activate and ActivateNewProcess methods. They
1191 have been removed from 2.0.
1193 2005-01-11 Zoltan Varga <vargaz@freemail.hu>
1195 * Boolean.cs Char.cs Single.cs Double.cs: Implement IComparable<T> in
1198 2005-01-10 Sebastien Pouliot <sebastien@ximian.com>
1200 * ApplicationIdentity.cs: Throw ArgumentNullException if name is null.
1201 Add default culture (neutral) to the name when none is specified.
1202 * AppDomain.cs: Changed IsDefaultAppDomain (2.0). Is seems that we
1205 2005-01-09 Sebastien Pouliot <sebastien@ximian.com>
1207 * DateTime.cs: Reverted last patch for utc as it broke all certificate
1208 handling and another unit test in DateTime.
1210 2005-01-09 Miguel de Icaza <miguel@ximian.com>
1212 * DateTime.cs: Return immediately if useutc is set to true, there
1213 is no need to do the extra computation (which also happened to
1214 create a new DateTime using the `use_localtime' constructor, which
1215 lead to the erroneous date returns when using 'u' or `U'
1218 Fixes another bug in the regression test suite.
1220 2005-01-08 Sebastien Pouliot <sebastien@ximian.com>
1222 * AppDomain.cs: Fix the DefaultDomain property to return the root
1223 domain (as it seems that the root's Id isn't always 0).
1224 * BitConverter.cs: The "special support" for ToString(new byte[0]) is
1225 only for NET_2_0 - previously this was an ArgumentOutOfRangeException.
1227 2005-01-08 Miguel de Icaza <miguel@ximian.com>
1229 * IntegerFormatter.cs: The - sign inside the "negative" section in
1230 a multi-format string means `show the sign' only if it is the
1231 first token, not `copy verbatim'. In the other sections it means
1234 This makes things like: (-34).ToString ("#;-#") show up as "-34"
1237 The bad news is that this code needs to be rewritten to handle all
1238 the formatting cases, see bug #71112 for details.
1240 * Convert.cs (Convert.ToType): Throw an InvalidCastException if
1241 the conversion is invalid, not ArgumentException, this fixes
1242 another regression in our test suite.
1244 2005-01-08 Sebastien Pouliot <sebastien@ximian.com>
1246 * AppDomain.cs: Add ApplicationIdentity property for 2.0;
1247 * AppDomainManager.cs: Remove HostRefusedSet support (it does not
1250 2005-01-08 Zoltan Varga <vargaz@freemail.hu>
1252 * DateTime.cs: Create MaxValue and MinValue using a different constructor to avoid static
1253 initialization problems.
1255 2005-01-02 Ben Maurer <bmaurer@ximian.com>
1257 * Int32.cs: NumberStyles.AllowExponent was supported by the
1258 Int32.Parse function. From Akira <mei@work.email.ne.jp>. Fixes bug
1261 2005-01-01 Atsushi Enomoto <atsushi@ximian.com>
1263 * Base64FormattingOptions.cs : it was not in System namespace.
1265 2004-12-21 Atsushi Enomoto <atsushi@ximian.com>
1267 * DateTime.cs : If no progress on value string, don't regard as
1268 matched. This fixes bug #70707.
1270 2004-12-20 Sebastien Pouliot <sebastien@ximian.com>
1272 * Environment.cs: Bump corlib version.
1274 2004-12-16 Zoltan Varga <vargaz@freemail.hu>
1276 * Array.cs (DoBinarySearch): Fix a warning.
1278 2004-12-08 Zoltan Varga <vargaz@freemail.hu>
1280 * Environment.cs: Bump corlib version.
1282 * AppDomain.cs: Add new DefineInternalDynamicAssembly () method.
1284 2004-12-06 Ben Maurer <bmaurer@ximian.com>
1286 * Exception.cs: Prevent stringifying the type name on the
1287 ctor. this gets called a few times on every execution to create a
1290 2004-12-06 Martin Baulig <martin@ximian.com>
1292 * Decimal.cs: Decimal constant support has been merged into GMCS,
1295 2004-12-06 Zoltan Varga <vargaz@freemail.hu>
1297 * Environment.cs: Bump corlib version.
1299 * Environment.cs: Bump corlib version.
1301 2004-11-30 Zoltan Varga <vargaz@freemail.hu>
1303 * MonoType.cs (UnderlyingSystemType): Make this return this as in
1304 MS.NET. Fixes #56245.
1306 2004-11-29 Atsushi Enomoto <atsushi@ximian.com>
1308 * GC.cs : Collect(generation) actually does not throw an exception
1309 even if generation > MaxGeneration (MS document bug).
1311 2004-11-28 Zoltan Varga <vargaz@freemail.hu>
1313 * Exception.cs: Implement _Exception under NET_2_0.
1315 * Byte.cs SByte.cs UInt16.cs Int16.cs: Make these compile under csc 2.0.
1317 * AccessViolationException.cs DataMisalignedException.cs OperationCanceledException.cs
1318 NotCancelableException.cs TimeoutException.cs: New files.
1320 2004-11-23 Raja R Harinath <rharinath@novell.com>
1322 * Decimal.cs [NET_2_0]: Use old code till GMCS imports decimal
1325 2004-11-23 Raja R Harinath <rharinath@novell.com>
1327 * Decimal.cs [BOOTSTRAP_WITH_OLDLIB]: Use old code for compilers
1328 without decimal constant support.
1330 2004-11-23 Marek Safar <marek.safar@seznam.cz>
1332 * Decimal.cs: Updated to use compiler decimal constant support.
1334 2004-11-20 Zoltan Varga <vargaz@freemail.hu>
1336 * MonoType.cs: Revert last change since it breaks remoting.
1338 2004-11-18 Zoltan Varga <vargaz@freemail.hu>
1340 * MonoType.cs (UnderlyingSystemType): Make this return this as in
1341 MS.NET. Fixes #56245.
1343 2004-11-17 Carlos Alberto Cortez <carlos@unixmexico.org>
1345 * INullable.cs: New interface added.
1346 * Nullable.cs: Methods added. Also a static Nullable class
1347 containing static methods.
1349 2004-11-15 Sebastien Pouliot <sebastien@ximian.com>
1351 * BitConverter.cs: Added support for special case when ToString is
1352 called with (new byte [0]).
1354 2004-11-10 Lluis Sanchez <lluis@novell.com>
1356 * Exception.cs: Added setter for StackTrace.
1358 2004-11-07 Ben Maurer <bmaurer@ximian.com>
1360 * IntegerFormatter.cs: Avoid .ToCharArray
1362 2004-11-06 Ben Maurer <bmaurer@ximian.com>
1364 * Single.cs, Double.cs (GetHashCode): Better hashcode impl
1366 2004-11-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1368 * InvalidOperationException.cs: make the message more meaningful and
1369 real. Fixes bug #69055.
1371 2004-10-28 Ben Maurer <bmaurer@ximian.com>
1373 * String.cs: Rather than == String.Empty, use .Length == 0. It
1374 is a bit faster (avoids a method call, and the code is less complex).
1376 2004-10-24 Fawad Halim <fawad@fawad.net>
1377 * Environment.cs: If an Environment variable value isn't found, leave the trailing % of the reference for further matches.
1378 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.
1379 This fixes bug #64995.
1381 2004-10-19 Lluis Sanchez <lluis@novell.com>
1383 * MarshalByRefObject.cs: Field _identity is not serializable.
1384 This fixes bug #68567.
1386 2004-10-17 Ben Maurer <bmaurer@ximian.com>
1388 * DateTime.cs (ZeroPad): Use unsafe code to speed this up. We
1389 avoid entering slow integer formatting code.
1391 (_ToString): Use ZeroPad here when possible, as it is faster.
1393 2004-10-11 Martin Baulig <martin@ximian.com>
1395 * Environment.cs: Bump corlib version to 28.
1397 2004-10-08 Zoltan Varga <vargaz@freemail.hu>
1399 * Convert.cs (ToType): Throw an exception when converting null to a
1400 valuetype. Fixes #67780.
1402 2004-10-08 Atsushi Enomoto <atsushi@ximian.com>
1404 * DateTime.cs : Performance fix. ParseExact() implementation should
1405 avoid s = s.Substring(1).
1407 2004-10-08 Atsushi Enomoto <atsushi@ximian.com>
1409 * DateTime.cs : When it it not exact parse, 'Z' is allowed as a suffix
1410 of m/s/t/z. This fixes bug 66723.
1412 Wed Oct 6 12:37:54 CEST 2004 Paolo Molaro <lupus@ximian.com>
1414 * String.cs: make GetHashCode() managed.
1416 2004-10-04 Zoltan Varga <vargaz@freemail.hu>
1418 * AppDomain.cs: Make ThreadStatic variables static. Fixes #56614.
1420 * Runtime*Handle.cs ModuleHandle.cs: Add Equals + GetHashCode.
1422 * ModuleHandle.cs: Add missing methods.
1424 * RuntimeTypeHandle.cs: Add GetModuleHandle () method.
1426 2004-10-03 Zoltan Varga <vargaz@freemail.hu>
1428 * AttributeTargets.cs: Add 2.0 GenericParameter value.
1430 * Environment.cs: Bump corlib version.
1432 2004-10-02 Zoltan Varga <vargaz@freemail.hu>
1434 * Int32.cs UInt32.cs Byte.cs SByte.cs Int16.cs UInt16.cs Int64.cs UInt64.cs: Implement 2.0 TryParse methods.
1436 2004-09-30 Geoff Norton <gnorton@customerdna.com>
1438 * Convert.cs: ConvertToBase* was not endian aware. Implemented EndianSwap
1439 and swapping of all values before going into the BitConverter so that values
1440 are returned with proper endianess.
1442 2004-09-23 Martin Garton <martin@wrasse.demon.co.uk>
1444 * Convert.cs: ToType was returning unconverted object when it should
1445 fail with an ArgumentException.
1447 2004-09-27 Zoltan Varga <vargaz@freemail.hu>
1449 * Array.cs: Add stub for AsReadOnly<T>.
1451 2004-09-25 Zoltan Varga <vargaz@freemail.hu>
1453 * Type.cs: Add MakePointerType && stub for ReflectionOnlyGetType.
1455 * MonoCustomAttrs.cs (GetCustomAttributesBase): Add support for
1458 2004-09-24 Zoltan Varga <vargaz@freemail.hu>
1460 * MonoCustomAttrs.cs (GetCustomAttributesBase): Add support for
1463 * MonoCustomAttrs.cs: Beginnings of support for returning 2.0 pseudo
1466 * MonoCustomAttrs.cs (RetrieveAttributeUsage): Avoid infinite recursion.
1468 * MonoCustomAttrs.cs (GetCustomAttributes): Fix the 'attributeType is
1469 sealed' optimization.
1471 * Type.cs: Implement 2.0 StructLayoutAttribute property.
1473 * Type.cs Add GetPseudoCustomAttributes () method.
1475 2004-09-24 Martin Baulig <martin@ximian.com>
1477 * Type.cs (Type.GetGenericParameterConstraints): New public method.
1479 2004-09-23 Zoltan Varga <vargaz@freemail.hu>
1481 * MonoCustomAttrs.cs (GetCustomAttributes): Rename the icall to
1482 GetCustomAttributesInternal and add a 'pseudoAttrs' argument.
1484 * Type.cs: Tweak Module property in 2.0 build.
1486 2004-09-23 Martin Baulig <martin@ximian.com>
1488 * Type.cs (Type.GenericParameterAttributes): New public property.
1490 2004-09-23 Martin Baulig <martin@ximian.com>
1492 * GenericParameterAttributes.cs: New file.
1494 2004-09-22 Zoltan Varga <vargaz@freemail.hu>
1496 * ModuleHandle.cs: Updated after changes to Module class.
1498 2004-09-21 Geoff Norton <gnorton@customerdna.com>
1500 * Type.cs: BindingFlags.IgnoreCase was being ignored, this reimplements
1501 this filter. Fixes bug #65778.
1503 2004-09-20 Zoltan Varga <vargaz@freemail.hu>
1505 * Environment.cs: Bump corlib version.
1507 2004-09-19 Zoltan Varga <vargaz@freemail.hu>
1509 * ModuleHandle.cs: New file.
1511 * RuntimeFieldHandle.cs: Add an internal ctor.
1513 2004-09-19 Dick Porter <dick@ximian.com>
1515 * Console.cs: Use the internal wrappers for StreamReader and
1516 StreamWriter that catch IOException.
1518 2004-09-16 Sebastien Pouliot <sebastien@ximian.com>
1520 * Environment.cs: Bumped mono_corlib_version to 25.
1522 2004-09-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1524 * AppDomain.cs: added SetupInformationNoCopy property, since
1525 SetupInformation creates a copy now, all updates to it should use the
1526 actual data. Fixes bug #61991 take 2.
1528 2004-09-09 Tim Coleman <tim@timcoleman.com>
1529 * Base64FormattingOptions.cs: New enum
1530 * Convert.cs: Add new ToBase64String methods for Fx 2.0
1532 2004-09-08 Marek Safar <marek.safar@seznam.cz>
1535 * GC.cs: Class is static for NET_2_0.
1537 2004-09-07 Ben Maurer <bmaurer@users.sourceforge.net>
1539 * Activator.cs: Make sure not to call .GetType on a
1540 null argument. fixes 63852
1542 2004-09-06 Ben Maurer <bmaurer@users.sourceforge.net>
1544 * Array.cs (Clear): make this an icall.
1546 2004-09-05 Ben Maurer <bmaurer@users.sourceforge.net>
1548 * MonoCustomAttribute.cs: Avoid the call to GetBase when possible.
1550 2004-09-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1552 * Environment.cs: (ExpandEnvironmentVariables) don't nullify the case
1553 insensitive enironment variables hashtable once we create it.
1555 2004-09-04 Sebastien Pouliot <sebastien@ximian.com>
1557 * AppDomain.cs: Changed 2 imperative security demands to declarative
1558 (unsupported) so it doesn't (for now) call the security runtime.
1560 2004-09-02 Zoltan Varga <vargaz@freemail.hu>
1562 * Delegate.cs: Free the delegate trampoline in the finalizer.
1564 2004-08-26 Sebastien Pouliot <sebastien@ximian.com>
1566 * ApplicationId.cs: Completed GetHashCode using information from MS
1569 2004-08-23 Sebastien Pouliot <sebastien@ximian.com>
1571 * Boolean.cs: Added TryParse static method for NET_2_0 profile.
1573 2004-08-19 Atsushi Enomoto <atsushi@ximian.com>
1575 * DateTime.cs : When hour format is "hh", MS.NET (maybe incorrectly)
1576 allows 12, that should not be accepted (13 is rejected) and
1577 interpreted as 0. This fixes bug 63376.
1579 2004-08-17 Sebastien Pouliot <sebastien@ximian.com>
1581 * Version.cs: Fixed Clone so we can use it on versions with only
1582 major/minor or major/minor/build.
1584 2004-08-17 Martin Baulig <martin@ximian.com>
1586 * MonoType.cs (MonoType.getFullName): Added `bool full_name'
1587 argument specifying whether or not to include the type arguments.
1588 (MonoType.FullName): Don't include the type arguments.
1589 (MonoType.ToString): Include them here.
1591 * Environment.cs: Bumped mono_corlib_version to 24.
1593 2004-08-16 Duncan Mak <duncan@ximian.com>
1595 * AttributeUsageAttribute.cs: Change the AttributeUsage to
1596 AttributeTargets.Class, from AttributeTargets.All, fixes Zoltan's
1599 2004-08-11 Marek Safar <marek.safar@seznam.cz>
1601 * AppDomain.cs: Fixed typo of DefineDynamicAssembly argument.
1602 Added call to AddPermissionRequests to pass permissions
1604 * Environment.cs: Added a few Fx 2.0 methods
1606 2004-08-09 Sebastien Pouliot <sebastien@ximian.com>
1608 * ApplicationId.cs: Fixed typo to fix NET_2_0 compilation.
1609 * AppDomain.cs: Fixed use of Evidence and AppDomainSetup (copies, not
1610 references). Added (non-obsolete) Fx 2.0 properties and methods.
1611 * AppDomainSetup.cs: Added internal copy constructor.
1612 * DomainManagerInitializationFlags.cs: Fixed values.
1614 2004-08-08 Sebastien Pouliot <sebastien@ximian.com>
1616 * AppDomainInitializer.cs: New Fx 2.0 class for AppDomain.
1617 * AppDomainManager.cs: New Fx 2.0 class for AppDomain.
1618 * ApplicationActivator.cs: New Fx 2.0 class for AppDomain.
1619 * ApplicationId.cs: New Fx 2.0 class.
1620 * ApplicationIdentity.cs: Fixed ToString.
1621 * DomainManagerInitializationFlags.cs: New Fx 2.0 flags for AppDomain.
1623 2004-08-05 Sebastien Pouliot <sebastien@ximian.com>
1625 * AppDomain.cs: Added a new icall, getDomainByID, to get the an
1626 AppDomain using it's Id. Completed SetAppDomainPolicy.
1627 * Environment.cs: Bumped mono_corlib_version to 23.
1629 2004-08-02 Martin Baulig <martin@ximian.com>
1631 * DateTime.cs, TimeSpan.cs, Guid.cs, Version.cs: Implement IComparable<T>.
1633 2004-07-29 Atsushi Enomoto <atsushi@ximian.com>
1635 * Environment.cs : GacPath on windows is based on mscorlib.dll, and
1636 now its location is changed.
1638 2004-07-21 Lluis Sanchez Gual <lluis@novell.com>
1640 * Environment.cs: Return the MS.NET 2.0 beta1 runtime version for the
1643 2004-07-18 Martin Baulig <martin@ximian.com>
1645 * Array.cs: Ben Maurer implemented all the new generic methods
1648 2004-07-17 Martin Baulig <martin@ximian.com>
1650 * Decimal.cs: Implement IComparable<Decimal>.
1652 2004-07-17 Martin Baulig <martin@ximian.com>
1654 * Byte.cs, Int16.cs, Int32.cs, Int64.cs, SByte.cs, String.cs,
1655 UInt16.cs, UInt32.cs, UInt64.cs: Implement IComparable<T>.
1657 2004-07-13 Sebastien Pouliot <sebastien@ximian.com>
1659 * ActivationContext.cs: New class in Fx 2.0. Required for
1660 System.Security.Policy.
1661 * ApplicationIdentity.cs: New class in Fx 2.0. Required for
1662 System.Security.Policy.
1663 * IApplicationDescription.cs: New interface in Fx 2.0. Required for
1664 System.Security.Policy.
1665 * IHostContext.cs: New interface in Fx 2.0. Required for
1666 System.Security.Policy.
1668 2004-07-12 Geoff Norton <gnorton@customerdna.com>
1670 * DateTime.cs: Patch for bug #61112. Our DateTime wasn't roundtripping over timezone
1671 boundaries properly. This patch checkes ToLocalTime() to see if we're tripping over a boundary
1672 and will add/subtract the hour if needed
1674 2004-07-07 Geoff Norton <gnorton@customerdna.com>
1676 * Monotype.cs: Patch for bug #58844. Dont throw exceptions right away;
1677 pass through all the possibly BindingInfo's and keep a bool value as to the type
1678 of exception we might need to throw;
1680 2004-07-07 Geoff Norton <gnorton@customerdna.com>
1682 * Patch to fix bug #58973
1684 2004-07-02 Jackson Harper <jackson@ximian.com>
1686 * PlatformID.cs: New 2.0 values.
1688 2004-06-25 Ben Maurer <bmaurer@ximian.com>
1690 * Environment.cs: GetFolderPath has new behavior. r=miguel
1692 2004-06-23 Sebastien Pouliot <sebastien@ximian.com>
1694 * DateTime.cs: Throw ArgumentOutOfRangeException if the year is
1695 bigger than 9999. Fix bug #41845.
1696 * FloatingPointFormatter.cs: Applied correction from Jon Skeet on
1697 the "R"eversible format for negative numbers.
1699 2004-06-21 Jackson Harper <jackson@ximian.com>
1701 * Decimal.cs: Make sure to use invariant culture when parsing
1702 floats stringified with the invariant culture. Patch by Rodrigo
1705 2004-06-19 Atsushi Enomoto <atsushi@ximian.com>
1707 * FloatingPointFormatter.cs : Literal string should be kept in the
1710 2004-06-18 Atsushi Enomoto <atsushi@ximian.com>
1712 * DateTime.cs : Concatenating whitespace removal was not working fine.
1713 Modified FormatException message (1 cent kindness).
1715 2004-06-18 Ben Maurer <bmaurer@ximian.com>
1717 * Action.cs, ArraySegment.cs, Comparison.cs, Converter.cs, Predicate.cs:
1718 new generics classes
1719 * IComparable.cs: add the new <T> version.
1720 * EventHandler.cs: new <T> version.
1722 2004-06-18 Dick Porter <dick@ximian.com>
1724 * String.cs: The icall can cope with embedded \0 now.
1726 2004-06-18 Atsushi Enomoto <atsushi@ximian.com>
1729 - Added new common pattern "yyyy/M/dZ"
1730 - empty string should not be compared in _ParseEnum()
1731 - Use culture independent string comparison in _ParseString()
1732 - Whitespace removal should be checked after '..' token check (some
1733 pattern such like es-ES LongDatePattern contains spaces in '..').
1734 - formats null check should be done (to throw ArgumentNullException)
1736 - When specified one character format, dates are incorrectly regarded
1737 as to use invariant culture.
1739 2004-06-18 Gert Driesen <drieseng@users.sourceforge.net>
1741 * ArgIterator.cs: changed layout to Auto
1742 * DateTime.cs: changed layout to Auto
1744 2004-06-18 Gert Driesen <drieseng@users.sourceforge.net>
1746 * DateTime.cs: CRLF to LF
1748 2004-06-17 Sebastien Pouliot <sebastien@ximian.com>
1750 * Decimal.cs: Fixed regression in System.Data caused by the recent
1751 changes. Adapted (and moved) the code to correct the scale from
1752 SqlMoney. Removed unused (and unusable) IsOne and fixed IsZero (where
1753 scale has no importance).
1755 2004-06-17 Lluis Sanchez Gual <lluis@ximian.com>
1757 * Activator.cs: In CreateInstance(), use Public|Instance if access binding
1758 attributes are omitted.
1760 2004-06-17 Atsushi Enomoto <atsushi@ximian.com>
1762 * DateTime.cs : GetDateTimeFormats(char, IFormatProvider) should also
1763 check if the format character is valid.
1765 2004-06-17 Atsushi Enomoto <atsushi@ximian.com>
1767 * DateTime.cs : AddDays(double) rounds the input.
1769 2004-06-17 Atsushi Enomoto <atsushi@ximian.com>
1771 * DateTime.cs : Incorrect maxvalue comparison in ToUniversalTime().
1772 Fixed ToLocalTime() as well, but it does check range for MinValue.
1774 2004-06-17 Atsushi Enomoto <atsushi@ximian.com>
1776 * DateTime.cs : Added overflow check in ToUniversalTime() and
1777 ToLocalTime(). Fixed bug #60253.
1779 2004-06-16 Sebastien Pouliot <sebastien@ximian.com>
1781 * FloatingPointFormatter.cs: Implemented "R" format using Jon Skeet
1782 source code (with permission). Fix (biggest) part of bug #60110.
1783 http://www.yoda.arachsys.com/csharp/floatingpoint.html
1785 2004-06-15 Sebastien Pouliot <sebastien@ximian.com>
1787 * Decimal.cs: Fixed scale after Round (a different scale is correct
1788 from a math point of view but affect the string representation of the
1789 value). Note: other operations also have scale problems!
1790 * DecimalFormatter.cs: Fixed FormatGeneral to match Fx 1.1 output.
1791 * FloatingPointFormatter.cs: Fixed ToString which doesn't use banker's
1792 rounding (which is the rounding provided by Math.Round). This fix bug
1793 #60111. The code (new Round methods) should be moved elsewhere (as it
1794 may also be required elsewhere) post Mono 1.0.
1796 2004-06-15 Gert Driesen <drieseng@users.sourceforge.net>
1798 * AppDomainSetup.cs: added TODO for serialization
1799 * ExecutionEngineException.cs: added missing serialization ctor
1800 * InvalidProgramException.cs: added missing serialization ctor
1801 * MulticastNotSupportedException.cs: added missing serialization ctor
1802 * ObsoleteAttribute.cs: fixed serialization compatibility with MS.NET
1803 * Random.cs: fixed serialization compatibility with MS.NET
1805 2004-06-15 Paolo Molaro <lupus@ximian.com>
1807 * Type.cs: removed unused (and non-existing) icall type_is_instance.
1809 2004-06-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1811 * Environment.cs: use internalGetHome instead of getting "HOME" as
1812 that variable may not be defined.
1814 2004-06-14 Sebastien Pouliot <sebastien@ximian.com>
1816 * TimeSpan.cs: Fixed timespan with large values for hours or minutes
1817 (overflow is only checked for days but can also occurs in hours and
1818 minutes which uses Int32 when multiplying). The new results match MS
1821 2004-06-14 Atsushi Enomoto <atsushi@ximian.com>
1823 * FloatingPointFormatter.cs : Recognize '%' and '\u2030' and replace
1824 them with matching NumberFormatInfo properties.
1826 2004-06-14 Atsushi Enomoto <atsushi@ximian.com>
1828 * Double.cs : Use IFormatProvider.GetFormat() instead of literal '-'.
1829 * FloatingPointFormatter.cs :
1830 Use NumberFormatInfo.NegativeSign. This change saves many XSLT test
1832 Format Permille pattern (It is undocumented but actually available,
1833 and used in xsl:format-number).
1835 2004-06-14 Raja R Harinath <rharinath@novell.com>
1837 * Console.cs (Console.Write, Console.WriteLine): Disable __arglist
1838 version with BOOTSTRAP_WITH_OLDLIB.
1839 * String.cs (STring.Concat): Likewise.
1841 2004-06-13 Atsushi Enomoto <atsushi@ximian.com>
1843 * FloatingPointFormatter.cs :
1844 - Don't format more than 15 fraction digits. Don't report to Pedro
1845 directly (removing the error message with his concent).
1846 - When format string starts with '.', it means integral part format
1847 is not specified. Ignore '.' characters after the first
1848 appearance. Fixed bug #59890.
1849 - 0.0 is formatted only before the third ';' appearance.
1851 2004-06-11 Sebastien Pouliot <sebastien@ximian.com>
1853 * DateTime.cs: Added a AddRoundedMilliseconds which use the "old Mono"
1854 rounding logic which worked for FromOADate (while the newer didn't).
1855 * TimeSpan.cs: Now throw an OverflowException when the timespan is
1856 over MaxValue or under MinValue.
1858 2004-06-11 Martin Baulig <martin@ximian.com>
1860 * Console.cs (Write, WriteLine): Implemented the varargs versions.
1862 2004-06-11 Martin Baulig <martin@ximian.com>
1864 * String.cs (Concat): Implemented the varargs version.
1866 2004-06-10 Sebastien Pouliot <sebastien@ximian.com>
1868 * Decimal.cs: Hacked the Parse method to allow the runtime C code to
1869 decode it properly (i.e. matching MS results). Fixed the Round method
1870 for negative decimal numbers (moved code from Math.cs).
1871 * Math.cs: Now use Decimal class for Round(Decimal,int). Required to
1872 fix a bug when rounding a negative decimal.
1874 2004-06-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1876 * AppDomain.cs: set the _principal to null when changing the policy.
1877 * Console.cs: remove ClsCompliant attribute from a method marked as
1878 internal and added comment.
1880 2004-06-10 Gert Driesen <drieseng@users.sourceforge.net>
1882 * Delegate.cs: marked protected fields private to match public
1883 API of MS.NET, marked DynamicInvokeImpl and GetMethodImpl
1884 protected to fix public API
1885 * Enum.cs: marked ctor protected to match public API of MS.NET
1886 * MulticastDelegate.cs: marked DynamicInvokeImpl protected to
1887 match public API of MS.NET
1889 2004-06-10 Atsushi Enomoto <atsushi@ximian.com>
1891 * DateTime.cs : Added more common patterns.
1893 2004-06-09 Sebastien Pouliot <sebastien@ximian.com>
1895 * Decimal.cs: Fixed banker rounding by calling Math.Round. This won't
1896 be a performance winner (the actual Math code has a note to wait a
1897 better Decimal implementation) but it returns the correct results
1898 (without adding new code in corlib or the runtime). Fix #37744.
1900 2004-06-09 Atsushi Enomoto <atsushi@ximian.com>
1903 - A bunch of fixes (patch by Steven Brown). Fraction seconds are
1904 now represented as double. Strict token check for 'Z'.
1905 - Pattern validity check in GetDateTimeFormats(char).
1906 - Fixed pattern "yyyy/M/d HH:mm:ss".
1908 2004-06-09 Sebastien Pouliot <sebastien@ximian.com>
1910 * Decimal.cs: Fixed remainder (and optimized some cases not to call
1911 unmanaged code). Simplified divide. Removed workaround for bug #59793.
1912 Fixed GetHashCode to return different result for X and -X.
1914 2004-06-08 Atsushi Enomoto <atsushi@ximian.com>
1917 - Now re-checked all common format patterns. They should be tried
1918 with both current culture and invariant culture. Since '/' covers
1919 '-', removed extraneous patterns. Added more common patterns
1920 such as "yyyy-MM-dd" and X509Certificate pattern (it is valid
1921 only after NET_1_1). Commented out 1 character format patterns.
1922 - The format patterns we should try should not be obtained by
1923 GetAllDateTimePatterns(). Just use 'd', 'D', 't', 'T', ... (one
1924 character patterns), to handle UTC correctly. Examined patterns
1925 are changed, to 1) common patterns with specified (or current)
1926 culture, 2) common patterns with invariant, 3) The above "one
1927 character patterns" with specified (or current) culture.
1928 - When trying to parse some kind of patterns such as RFC1123,
1929 always use invariant DateTimeFormatInfo so that they can avoid
1930 parsing with culture-dependent calendar.
1931 - Check "GMT" only when doing Parse(). Don't it when ParseExact().
1932 - Removed extraneous '-' case. It is not special one.
1933 - When ParseExact(), allow only '/' for '/' pattern character.
1934 - When Parse(), allow any non-letter & non-number characters.
1935 - When pattern is not fully parsed, reject that format.
1936 - Added "exact" parameter to some ParseExact().
1937 - RFC1123 pattern is (again) now parsed in local time. I regressed
1938 some problems in previous fix.
1940 2004-06-08 Sebastien Pouliot <sebastien@ximian.com>
1942 * Decimal.cs: Fixed cast to integer types to truncate (not round) the
1945 2004-06-07 Duncan Mak <duncan@ximian.com>
1947 * Exception.cs (Source): This can return null.
1949 2004-06-07 Sebastien Pouliot <sebastien@ximian.com>
1951 * DateTime.cs: Fixed FromFileTime for negative values. Fixed
1952 constructor to limit range of milliseconds from 0,999. Fixed
1953 ToType method to work for object, string and DateTime.
1955 2004-06-07 Sebastien Pouliot <sebastien@ximian.com>
1957 * DateTime.cs: Fixed OLE Automation date conversions: timezone
1958 insensitive, wrong exception in FromOADate, handling of Min/Max
1959 values, negative doubles where integer part is negative but
1960 decimals are positive! Charming format ;-)
1962 2004-06-06 Sebastien Pouliot <sebastien@ximian.com>
1964 * String.cs: Fixed Join in case separator parameter is null.
1965 * TimeSpan.cs: Cache format errors during parsing and throw
1966 FormatException only if there was no overflow.
1968 2004-06-06 Gert Driesen <drieseng@users.sourceforge.net>
1970 * MonoCustomAttrs.cs: fixed issue where an empty array was
1971 returned when GetCustomAttributes was invoked with null
1972 attribute type and there was only one result
1974 2004-06-06 Sebastien Pouliot <sebastien@ximian.com>
1976 * Decimal.cs: Fixed ToString(String.Empty) to default ("G").
1977 * Int16.cs: Fixed ToString(String.Empty) to default ("G").
1978 * Int32.cs: Fixed ToString(String.Empty) to default ("G").
1979 * Int64.cs: Fixed ToString(String.Empty) to default ("G").
1980 * SByte.cs: Fixed ToString(String.Empty) to default ("G").
1981 * UInt16.cs: Fixed ToString(String.Empty) to default ("G").
1982 * UInt32.cs: Fixed ToString(String.Empty) to default ("G").
1983 * UInt64.cs: Fixed ToString(String.Empty) to default ("G").
1985 2004-06-05 Sebastien Pouliot <sebastien@ximian.com>
1987 * Convert.cs: Fixed the convertion of negative integers (byte, short,
1988 int and long) into string in a specific base (2, 8, 10 or 16).
1990 2004-06-04 Sebastien Pouliot <sebastien@ximian.com>
1992 * Math.cs: Fixed IEEERemainder to return -0 (0x8000000000000000) when
1993 the dividend is negative and the result is 0 (remainder).
1995 2004-06-03 Sebastien Pouliot <sebastien@ximian.com>
1997 * Delegate.cs: Fix the NullReferenceException in Combine(Delegate[]).
1999 2004-06-02 Sebastien Pouliot <sebastien@ximian.com>
2001 * TimeSpan.cs: Fixed overflow issues when delaing with big (days) time
2002 spans. Fixed parsing when only days are presents in the string (which
2003 should be illegal according to the documentation but is supported).
2005 2004-06-01 Sebastien Pouliot <sebastien@ximian.com>
2007 * TimeSpan.cs: Fixed exceptions in FromXXX methods as they are
2008 somewhat different from the documentation.
2010 2004-06-01 Gert Driesen <drieseng@users.sourceforge.net>
2012 * Type.cs: added missing attributes on InvokeMember
2014 2004-06-01 Miguel de Icaza <miguel@ximian.com>
2016 * String.cs: Flag concat with four arguments internal.
2018 2004-05-31 Sebastien Pouliot <sebastien@ximian.com>
2020 * Array.cs: Fixed legal case where value is null.
2021 * Byte.cs: Fixed ToString when format is an empty string (use "G").
2022 * Guid.cs: Renamed private fields (and changed some to signed) to
2023 match MS implementation and allow serialization to work. Fix
2026 2004-05-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2028 * DateTime.cs: adjust milliseconds for fraction specifier ('f').
2030 2004-05-30 Miguel de Icaza <miguel@ximian.com>
2032 * Console.cs: Remove *again* the version of WriteLine with four
2033 arguments; That should *not* be added.
2035 Flag it as internal as people migrate their code.
2037 2004-05-29 Sebastien Pouliot <sebastien@ximian.com>
2039 * Convert.cs: Fixed ToSByte(string,IFormatProvider) to throw
2040 ArgumentNullException (only case, all other returns 0). Fixed exception
2041 reporting for hex prefix only strings. Fixed ChangeTo where null could
2042 be misinterpreted between null and Empty.
2044 2004-05-28 Sebastien Pouliot <sebastien@ximian.com>
2046 * Convert.cs: Fixed integer parsing for special cases (0x, 0X for base
2047 16), non-base 10 negative numbers ... see new unit tests. Fixed the
2048 case when we parse Int64.MinValue (positive doesn't fit a signed long).
2050 2004-05-28 Jackson Harper <jackson@ximian.com>
2052 * Environment.cs: Increment version number.
2054 2004-05-28 Zoltan Varga <vargaz@freemail.hu>
2056 * AppDomain.cs (Load): Try loading from assemblyRef.CodeBase if exists.
2059 2004-05-28 Atsushi Enomoto <atsushi@ximian.com>
2061 * DateTime.cs : I reverted my fix by accident :(
2063 2004-05-28 Atsushi Enomoto <atsushi@ximian.com>
2066 - In ToString(), Don't use culture-dependent daynames to format
2067 Universal/RFC1123 date/time. Also, use FullDateTimePattern for 'U'.
2068 - Fixed GetDateTimeFormats () that generated incorrect 'U' value
2069 (since the format string is the same as 'F').
2071 2004-05-28 Atsushi Enomoto <atsushi@ximian.com>
2073 * DateTime.cs : don't adjust utc value in ToString(). It must output
2074 the same time value, just adding 'Z' for UTC.
2076 2004-05-28 Atsushi Enomoto <atsushi@ximian.com>
2078 * DateTime.cs : in 'Z' case, remove the 'Z' char from input before
2081 2004-05-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2083 * AppDomainSetup.cs: InitAppDomainSetup is not needed now.
2085 2004-05-27 Sebastien Pouliot <sebastien@ximian.com>
2087 * Byte.cs: Fixed parsing for "-0" which is valid for unsigned types.
2088 * Convert.cs: Convert with a base parameter cannot parse negative
2089 string numbers, even "-0".
2090 * UInt16.cs: Fixed parsing for "-0" which is valid for unsigned types.
2091 * UInt32.cs: Fixed parsing for "-0" which is valid for unsigned types.
2092 * UInt64.cs: Fixed parsing for "-0" which is valid for unsigned types.
2094 2004-05-27 Atsushi Enomoto <atsushi@ximian.com>
2097 - Added "yyyy/MM/dd HH:mm:ss 'GMT'" and "yyyy-MM-dd HH:mm:ss 'GMT'"
2098 to common formats (yes, I know it is nothing more than hack)
2099 - Fixed some GetDateTimeFormats() that just returned patterns.
2100 - For InvariantCulture, now try both supported formats and our
2102 - It was accepting incorrectly extraneous characters. That caused
2103 some UTC/non-UTC bug.
2104 - RFC1123 string should return universal time. Uncomment again (the
2105 problem should went away because of the extra characters fix above.
2107 With some of the changes above, fixed bug #47720.
2109 2004-05-27 Atsushi Enomoto <atsushi@ximian.com>
2111 * DateTime.cs : quick revert 'Z' support for certificate verifications.
2113 2004-05-26 Sebastien Pouliot <sebastien@ximian.com>
2115 * Array.cs: Removed duplicate condition if LastIndexOf.
2117 2004-05-26 Atsushi Enomoto <atsushi@ximian.com>
2120 - Added "yyyy-MM-dd HH:mm:ss" to "compatible patterns".
2122 - As a quick remedy to accept more patterns, Parse() now also tries
2123 InvariantInfo patterns (this is because we have no more than one
2124 pattern for each pattern component.)
2125 - In _DoParse(), 'Z' should not be read as timezone specifier. Some
2126 culture uses 'Z' as AM/PM designer, and it should be recognized as
2127 part of the UTCpattern (if it actually UTC pattern for the culture
2130 2004-05-26 Gert Driesen (drieseng@users.sourceforge.net)
2132 * MonoCustomAttrs.cs: Fixed issue with AllowMultiple, as MS
2133 seems to allow multiple attributes with AllowMultiple at
2136 2004-05-26 Sebastien Pouliot <sebastien@ximian.com>
2138 * Byte.cs: Throw an OverflowException for negative numbers.
2139 * Convert.cs: Accept 0x and 0X as prefix when parsing base16 strings.
2140 * Environment.cs: Bumped mono_corlib_version to 20 (rng interface).
2142 2004-05-25 Sebastien Pouliot <sebastien@ximian.com>
2144 * Array.cs: Fixed possible integer overflow.
2145 * BitConverter.cs: Fixed a possible integer overflow in ToString.
2146 * Guid.cs: Added an internal method to create a random Guid without
2147 using CryptoConfig (which is heavy on first use). This is only used
2148 in S.R.E.ModuleBuilder to speedup MCS compilation.
2149 * String.cs: Fixed reported exception for PadLeft|Right. Fixed
2150 possible integer overflow in methods that takes index and count
2153 2004-05-25 Zoltan Varga <vargaz@freemail.hu>
2155 * String.cs: Add new Strcpy icalls which take a char array as
2158 2004-05-25 Atsushi Enomoto <atsushi@ximian.com>
2160 * DateTime.cs : added more invariant format patterns. This should
2161 really fix bug #57656.
2163 2004-05-25 14:14 CET Patrik Torstensson <totte@hiddenpeaks.com>
2165 * BitConverter.cs (ToBoolean): Return true or false instead
2166 of unsafe returing byte as bool. Fixes bug #58874.
2168 2004-05-25 Atsushi Enomoto <atsushi@ximian.com>
2170 * DateTime.cs : In ToString(string, IFormatProvider), use "G" if
2171 string format argument is null.
2173 2004-05-25 Lluis Sanchez Gual <lluis@ximian.com>
2175 * Version.cs: Rename of data fields to match those in Microsoft.NET.
2176 Patch by PAF@design.ru.
2178 2004-05-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2180 * DateTime.cs: allow double quotes in the formats. Don't set
2181 next_not_digit to true in presence of single or double quotes. Patch by
2184 2004-05-24 Zoltan Varga <vargaz@freemail.hu>
2186 * AppDomainSetup.cs (InitAppDomainSetup): This one returns void.
2188 2004-05-23 Sebastien Pouliot <sebastien@ximian.com>
2190 * Array.cs: Fixed exception when we try to Clear outside bounds.
2191 * Boolean.cs: Fixed Equals for True!=True (see bugzilla #58874).
2192 * BitConverter.cs: Fixed negative index and integer overflow in
2194 * Buffer.cs: Fixed integer overflow in BlockCopy.
2196 2004-05-22 Sebastien Pouliot <sebastien@ximian.com>
2198 * Array.cs: Clear can now work on multidimentional arrays.
2199 * IntPtr.cs: We now only accept 32bits values in the long constructor
2200 unless we're on a 64 bits machine.
2201 * UIntPtr.cs: We now only accept 32bits unsigned values in the ulong
2202 constructor unless we're on a 64 bits machine.
2204 2004-05-22 Duncan Mak <duncan@ximian.com>
2206 * Convert.cs: The file was mostly in DOS endings already, for the
2207 sake of consistency, converted it all to DOS endings.
2208 (ToType): When value is null, immediately return null and don't
2209 ever throw a NullReferenceException. When conversionType is null,
2210 throw an InvalidCastException. Give a better error message when
2211 attempting to convert to a DBNull as well.
2213 2004-05-21 Sebastien Pouliot <sebastien@ximian.com>
2215 * Decimal.cs: Fixed To... methods that needs to trunk the integer part
2216 of Decimal (and not use the banker's rounding like Convert.To...).
2217 * Single.cs: Fixed CompareTo and Equals (copied fix from Double) wrt
2218 to NaN compares (see new unit tests).
2220 2004-05-20 Sebastien Pouliot <sebastien@ximian.com>
2222 * Convert.cs: Added checks for integer overflow for From|ToBase64Char.
2223 Also fixed the case where wide (16 bits) characters were converted to
2226 2004-05-19 Gert Driesen (drieseng@users.sourceforge.net)
2228 * ThreadStaticAttribute.cs
2229 * ContextStaticAttribute.cs
2231 * ObsoleteAttribute.cs : now that Inherited is false by
2232 default on AttributeUsageAttribute (as it should be) we
2233 need to explicitly set Inherited to false for those
2234 attributes should it be be false.
2236 2004-05-19 Gert Driesen (drieseng@users.sourceforge.net)
2238 * AttributeUsageAttribute.cs: Inherited property should be
2239 true by defaultrs.cs: respect Inherited property, and
2241 2004-05-19 Gert Driesen (drieseng@users.sourceforge.net)
2243 * MonoCustomAttrs.cs: respect Inherited property, and
2244 AllowMultiple property of a CustomAttribute. This fixes
2245 a major issue we had with respect to custom attributes.
2247 2004-05-19 Gert Driesen (drieseng@users.sourceforge.net)
2249 * MonoType.cs: throw ArgumentNullException when type parameter in
2250 GetCustomAttributes(Type, bool) is null
2252 2004-05-18 Sebastien Pouliot <sebastien@ximian.com>
2254 * Buffer.cs: Added checks for null source and destination. Fix failing
2255 CryptoStream unit test.
2256 * Guid.cs: Fixed thread-safety issue. Simplified implementation to use
2257 pseudo-random numbers to generate GUIDs (as per section 3.4 of the
2258 spec). This removes the TODO to get the computer MAC address and
2259 the chances to get a duplicate GUID (across different machines).
2261 2004-05-17 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
2263 * TimeSpan.cs: Only catch expected exceptions, if we get other exceptions
2264 than OverflowExceptions then something went wrong internally
2266 2004-05-17 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
2268 * Char.cs: Fix long standing bug with ToLower/ToUpper not being
2271 2004-05-14 Zoltan Varga <vargaz@freemail.hu>
2273 * Buffer.cs: Optimize BlockCopy.
2275 * Environment.cs: Bump corlib version.
2277 2004-05-14 Atsushi Enomoto <atsushi@ximian.com>
2279 * __ComObject.cs : This class is not regarded as CLSCompliant by csc.
2280 See also bug #58478.
2282 2004-05-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2284 * AppDomainSetup.cs: don't throw an exception if dynamic_base has not
2285 been set. Just return null as MS. Fixes bug #58120.
2287 2004-05-14 Marek Safar <marek.safar@seznam.cz>
2289 * Boolean.cs, Byte.cs, Char.cs, DBNull.cs, DateTime.cs,
2290 Decimal.cs, Double.cs, Enum.cs, Int16.cs, Int32.cs,
2291 Int64.cs, IntegerFormatter.cs, SByte.cs, Single.cs,
2292 String.cs, UInt16.cs, UInt32.cs, UInt64.cs: Removed
2293 useless [CLSCompliant (false)]
2296 2004-05-13 Sebastien Pouliot <sebastien@ximian.com>
2298 * __ComObject.cs: To please corcompare (no implementation).
2300 2004-05-13 Zoltan Varga <vargaz@freemail.hu>
2302 * Environment.cs: Bump corlib version.
2304 2004-05-13 Sebastien Pouliot <sebastien@ximian.com>
2306 * Environement.cs: Removed two security attributes for CurrentDirectory
2307 that weren't documented (and anyway we don't support them).
2309 2004-05-11 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
2311 * Char.cs: Fix exceptions
2313 2004-05-11 Lluis Sanchez Gual <lluis@ximian.com>
2315 * MissingMemberException.cs: Fix in serialization constructor.
2317 2004-05-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2319 * Environment.cs: GetGacPath return value is resolved at runtime on
2322 2004-05-07 Sebastien Pouliot <sebastien@ximian.com>
2324 * Convert.cs: ToBase64CharArray method was depending on a bug in
2325 S.S.C.ToBase64Transform class to work. Added an internal method to
2326 provide the same functionality (multiple block processing).
2328 2004-05-06 Jackson Harper <jackson@ximian.com>
2330 * Environment.cs: Make $HOME the personal directory.
2332 2004-05-06 Sebastien Pouliot <sebastien@ximian.com>
2334 * Convert.cs: ToBase64String method was depending on a bug in
2335 S.S.C.ToBase64Transform class to work. Added an internal method to
2336 provide the same functionality (multiple block processing).
2338 2004-05-05 Sebastien Pouliot <sebastien@ximian.com>
2340 * Environment.cs: Completed OSVersion property.
2341 * Version.cs: Added internal CreateFromString() to "try" to build the
2342 best version number form the specified string.
2344 2004-05-01 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
2346 * TimeSpan.cs: Redid a lot of stuff in TimeSpan from scratch.
2347 Fixes several potential bugs and makes things way faster.
2349 2004-05-01 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
2351 * TimeSpan.cs: Formatting changes
2353 2004-04-29 Ben Maurer <bmaurer@users.sourceforge.net>
2355 * Activator.cs: change _flags to a const.
2356 * IntegerFormatter.cs: make tables readonly.
2357 * Convert.cs: tables readonly
2358 * DateTime.cs: ditto.
2359 * IntPtr.cs: avoid a cctor.
2361 2004-04-29 Jackson Harper <jackson@ximian.com>
2364 * Type.cs: NET_2_0 now instead of 1_2.
2366 2004-04-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2368 * Environment.cs: implemented GetLogicalDrives.
2370 2004-04-28 Miguel de Icaza <miguel@ximian.com>
2372 * Applied patch from Atsushi Enomoto that allows Synchronized
2373 writers to have a `dont close' flag, this fixes 52094
2375 2004-04-29 Lluis Sanchez Gual <lluis@ximian.com>
2377 * MonoCustomAttrs.cs, MonoType.cs: Property.GetGetMethod() does not
2378 return the method if it is private (it did until now because of a
2379 bug). Make sure it works as it worked before the fix.
2380 * Type.cs: Implemented FilterAttribute delegate.
2382 2004-04-28 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
2384 * IntegerFormatter.cs: Prevent the use of the explicit static constuctor
2386 2004-04-27 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
2388 * IntegerFormatter.cs: Made functions internal (needed by other patches)
2390 2004-04-27 Lluis Sanchez Gual <lluis@ximian.com>
2392 * DateTime.cs: TODO cleaning.
2393 * Delegate.cs: GetObjectData should be virtual.
2394 * IntegerFormatter.cs: Method factorization. I don't want to fix bugs in
2395 30 methods almost identical.
2396 * MulticastDelegate.cs: Implemented GetObjectData.
2398 2004-04-26 Jackson Harper <jackson@ximian.com>
2400 * Environment.cs: Things going bump in the night.
2402 2004-04-25 Miguel de Icaza <miguel@ximian.com>
2404 * Convert.cs (toBase64Transform): Make private.
2406 2004-04-25 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
2410 * DecimalFormatter.cs:
2411 * FloatingPointFormatter.cs: Call invariant Char functions
2412 * Guid.cs: Call invariant Char and String functions
2413 * String.cs: Call invariant Char functions
2415 2004-04-25 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
2417 * String.cs: Refactored the Invariant ToXXX into its own internal methods
2418 so they are directly callable within corlib (can prevent early
2419 construction of CultureInfo, InvariantCulture and related classes)
2421 2004-04-24 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
2423 * String.cs: Managed impl. of Invariant parts of ToLower, ToUpper
2424 * Char.cs: Managed impl. of Invariant parts of ToLower, ToUpper
2426 2004-04-24 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
2428 * String.cs: Check for null values
2430 2004-04-23 Peter Bartok <pbartok@novell.com>
2432 * Environment.cs: GetLogicalDrives now returns "/" instead of null. Gonzalo
2433 will do a better fix in the future, but this way apps can at least use it.
2435 2004-04-23 Sebastien Pouliot <sebastien@ximian.com>
2437 * Environment.cs: Better support for GetFolderPath (same results as MS
2440 2004-04-22 Lluis Sanchez Gual <lluis@ximian.com>
2442 * Activator.cs: Removed TODOs for finished methods.
2443 * AppDomainSetup.cs: When setting a relative path to ApplicationBase, it
2444 must be relative to the current directory, not the temp directory.
2445 Implemented DynamicBase.
2446 * Convert.cs: No need to create a ToBase64Transform instance at every call
2447 to ToBase64CharArray.
2448 * DateTime.cs: Implemented missing methods FromFileTimeUtc and
2450 * Decimal.cs: Implemented FromOACurrency and ToOACurrency.
2451 * Delegate.cs: Removed class TODO.
2452 * IntegerFormatter.cs: Use Char.IsLetter and Char.IsDigit instead of ad-hoc
2454 * Type.cs: Removed TODOs for things already implemented.
2456 2004-04-21 Lluis Sanchez Gual <lluis@ximian.com>
2458 * Char.cs: Implemented culture-dependent ToLower and ToUpper methods.
2459 * MulticastDelegate.cs: Removed unused code.
2461 2004-04-19 Lluis Sanchez Gual <lluis@ximian.com>
2463 * AppDomain.cs: Implemented DynamicDirectory and SetDynamicBase.
2464 * Array.cs: Removed some TODOs in CreateInstance and IndexOf.
2465 * BadImageFormatException.cs: TODO reformat.
2466 * DateTime.cs: Implemented GetDateTimeFormats and GetDateTimeFormats.
2467 * DelegateSerializationHolder.cs: Made class internal.
2468 * Enum.cs: Removed TODO for localization, since this is something that has
2469 to be done for all classes.
2470 * Environment.cs: Removed TODO.
2471 * Exception.cs: Changed ToString to use StringBuilder.
2472 * MonoDummy.cs: Made class internal.
2473 * UnitySerializationHolder.cs: Added support for modules.
2475 2004-04-16 David Sheldon <dave-mono@earth.li>
2477 * DecimalFormatter.cs: Don't append a decimal point after the
2478 end of a number. ((decimal)1).ToString("P0") should be "100 %", not
2481 2004-04-09 Miguel de Icaza <miguel@ximian.com>
2483 * OutOfMemoryException.cs: Removed the call to Locale.GetText from
2486 2004-04-10 Gert Driesen (drieseng@users.sourceforge.net)
2488 * MonoDummy.cs: added MonoTODO to make sure we remove this class
2489 when its no longer needed
2491 2004-04-09 David Sheldon <dave-mono@earth.li>
2493 * Convert.cs: Allow + signs in strings for ToInt32, and
2496 2004-04-08 Atsushi Enomoto <atsushi@ximian.com>
2498 * Nullable.cs : usingdecl should also be conditional.
2500 2004-04-07 Martin Baulig <martin@ximian.com>
2502 * Nullable.cs: New file.
2504 2004-04-07 Martin Baulig <martin@ximian.com>
2506 * Type.cs (Type.GetGenericArguments): Make this abstract.
2508 2004-04-07 Jackson Harper <jackson@ximian.com>
2510 * Environment.cs: Increase corlib version number.
2512 2004-04-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2515 (ExpandEnvironmentVariables): on windows, env. vars. are case
2518 2004-04-06 Sebastien Pouliot <sebastien@ximian.com>
2520 * AppDomain.cs: Added static to [ThreadStatic] _principal field.
2521 Removed [ThreadStatic] for _principalPolicy (not required).
2523 2004-04-06 Miguel de Icaza <miguel@ximian.com>
2525 * Guid.cs: Flag as Sequential.
2527 2004-04-02 Dick Porter <dick@ximian.com>
2529 * String.cs: More sanity checks in Replace(). Fixes bug 55822.
2531 2004-04-02 Sebastien Pouliot <sebastien@ximian.com>
2533 * Environment.cs: Implement ExpandEnvironmentVariables static method.
2534 Now call the runtime to get the username (fix #56144).
2536 2004-04-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2538 * MonoType.cs: AssemblyQualifiedName now displays culture, version...
2541 2004-03-29 Miguel de Icaza <miguel@ximian.com>
2543 * Console.cs: If we fail to open stdin/stdout/stderr, create
2544 readers with a NullStream. This can happen if our caller does not
2545 setup stdin/stoud/stderr file handles. #56158 exposed this, but
2546 it will happen elsewhere.
2548 2004-03-29 Lluis Sanchez Gual <lluis@ximian.com>
2550 * Convert.cs: In ToSingle(double), removed checks for Single.MaxValue
2551 and Single.MinValue. MS.NET don't do it. This fixes bug #56005.
2552 * Guid.cs: Added support for guid strings in the "N" and "P" formats in
2553 the constructor. This fixes bug #54019.
2555 2004-03-23 Lluis Sanchez Gual <lluis@ximian.com>
2557 * FloatingPointFormatter.cs: Made the class thread safe. Had to move some
2558 internal variables to structures that are moved around methods.
2559 Factorized some common formatting code into FormatNumberInternal.
2561 2004-03-23 Dick Porter <dick@ximian.com>
2563 * DateTime.cs: Allow any character for DateSeparator when parsing,
2564 except TimeSeparator, a digit or a letter. Fixes bug 54047. Also
2565 deleted the previous fix for 54721, because this covers it too.
2567 2004-03-23 Dick Porter <dick@ximian.com>
2569 * DateTime.cs: Check the date string for too many digits when
2570 parsing. Fixes bugs 53023 and 53025.
2572 2004-03-22 Dick Porter <dick@ximian.com>
2574 * String.cs: Use the provider when converting strings to other
2577 * DateTime.cs: Add MM-dd-yyyy to the list of standard date parsing
2578 formats. Fixes bug 54721.
2580 2004-03-22 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
2582 * Console.cs: Styled, optimized calls
2583 * CrossAppDomainDelegate.cs: Small header fix
2584 * Buffer.cs: Style, improve errors
2585 * BitConverter.cs: Style, improve errors, remove obsolete comment
2586 * Attribute.cs: Style, improve errors, small fix
2587 * Array.cs: Style, improve errors, small fix, added TODOs
2588 * Activator.cs: Style, localized errors, added error checks
2589 * Byte.cs: Style, localized errors, fixed wrong exception parameters
2592 * AppDomainSetup.cs: Style
2593 * AppDomain.cs: Style, implemented two methods (redirect)
2595 2004-03-21 Jackson Harper <jackson@ximian.com>
2597 * FloatingPointFormatter.cs: Set precision from number format info
2598 when it is not specified. This fixes bug #54983.
2600 2004-03-18 Nick Drochak <ndrochak@ieee.org>
2602 * Math.cs: Use IsNaN() method not "x == NaN".
2604 2004-03-16 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
2606 * EntryPointNotFoundException.cs
2607 * DuplicateWaitObjectException.cs
2608 * DllNotFoundException.cs
2609 * DivideByZeroException.cs
2610 * ContextMarshalException.cs
2611 * CannotUnloadAppDomainException.cs
2612 * BadImageFormatException.cs
2613 * ArrayTypeMismatchException.cs
2614 * ArithmeticException.cs
2615 * ArgumentOutOfRangeException.cs
2616 * ArgumentNullException.cs
2617 * ArgumentException.cs
2618 * ApplicationException.cs
2619 * AppDomainUnloadedException.cs: Added missing HResult overrides
2621 * BadImageFormatException.cs: Improved/ Fixed implementation
2623 2004-03-15 Sebastien Pouliot <sebastien@ximian.com>
2625 * Random.cs: Corrected random value when Next is called with a
2626 negative value. Testing indictae that our results aren't exactly the
2627 same as MS, we have a +/- 1 (probably rounding errors due to
2628 different implementation).
2630 2004-03-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2632 * Environment.cs: updated corlib version.
2634 2004-03-15 Lluis Sanchez Gual <lluis@ximian.com>
2636 * Boolean.cs, Byte.cs, Char.cs, Double.cs, Int16.cs, Int32.cs, Int64.cs,
2637 SByte.cs, Single.cs, UInt16.cs, UInt32.cs, UInt64.cs: Renamed internal
2638 field "value" to "m_value", so it is interoperable with MS.NET when
2639 serializing and deserializing data. Based on the patch from Daniel
2642 2004-03-14 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
2644 * TypeInitializationException.cs
2645 * SystemException.cs
2646 * StackOverflowException.cs
2648 * OverflowExceptionException.cs
2649 * OutOfMemoryException.cs
2650 * NullReferenceException.cs
2651 * NotSupportedException.cs
2652 * NotFiniteNumberException.cs
2653 * InvalidOperationException.cs
2654 * InvalidCastException.cs
2655 * IndexOutOfRangeException.cs
2656 * FormatException.cs
2657 * ExecutionEngineException.cs: improved parameter names
2659 2004-03-13 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
2662 * EntryPointNotFoundException.cs
2663 * DuplicateWaitObjectException.cs
2664 * DoubleFormatter.cs
2665 * DllNotFoundException.cs
2666 * DivideByZeroException.cs
2667 * DelegateSerializationHolder.cs
2670 * ContextStaticAttribute.cs
2671 * ContextMarshalException.cs
2672 * ContextBoundObject.cs
2673 * CLSCompliantAttribute.cs
2675 * CannotUnloadAppDomainException.cs
2676 * BadImageFormatException.cs
2677 * AttributeUsageAttribute.cs
2678 * AttributeTargets.cs
2680 * AssemblyLoadEventHandler.cs
2681 * AssemblyLoadEventArgs.cs
2682 * ArrayTypeMismatchException.cs
2683 * ArithmeticException.cs
2684 * ArgumentOutOfRangeException.cs
2685 * ArgumentNullException.cs
2686 * ArgumentException.cs
2688 * ApplicationException.cs
2689 * AppDomainUnloadedException.cs
2690 * AppDomain.cs: Mono styled, fixed exceptions/ locales
2691 removed excess usings
2693 2004-03-10 Sebastien Pouliot <sebastien@ximian.com>
2695 * Convert.cs: FromBase64 now ignore some characters (tab, LF, CR and
2696 spaces) which fixed #54939. Changed the way that the length is
2697 validated (multiple of 4) because the ignored characters must not be
2698 included in the count.
2700 2004-03-10 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
2702 * String.cs: Monostyled
2704 2004-03-09 Jackson Harper <jackson@ximian.com>
2706 * Char.cs: Only use a byte for numeric data.
2708 2004-03-09 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
2710 * TypedReference.cs: Added missing Attributes
2711 * ParamArrayAttribute.cs: Small style fix
2712 * OperatingSystem.cs: Added .Net 1.1 member
2714 2004-03-09 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
2716 * FieldAccessException.cs
2717 * FormatException.cs
2718 * InvalidCastException.cs
2719 * InvalidOperationException.cs
2720 * MemberAccessException.cs
2721 * MethodAccessException.cs
2722 * MissingFieldException.cs: Locale strings
2723 * MissingMemberException.cs: Locale strings
2724 * MissingMethodException.cs: Locale strings
2725 * NotFiniteNumberException.cs
2726 * NotImplementedException.cs
2727 * NotSupportedException.cs
2728 * NullReferenceException.cs
2729 * ObjectDisposedException.cs
2730 * OutOfMemoryException.cs
2731 * OverflowExceptionException.cs
2732 * PlatformNotSupportedException.cs
2733 * RankException.cs: Added missing HResult overrides
2735 2004-03-09 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
2737 * RuntimeTypeHandle.cs
2738 * RuntimeMethodHandle.cs
2739 * RuntimeFieldHandle.cs: Implemented serialization (partially untested)
2741 2004-03-09 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
2745 * ExecutionEngineException.cs
2746 * FieldAccessException.cs
2747 * FormatException.cs
2750 * IndexOutOfRangeException.cs
2752 * InvalidCastException.cs
2753 * InvalidOperationException.cs
2754 * InvalidProgramException.cs
2755 * IServiceProvider.cs
2756 * LoaderOptimization.cs
2757 * LoaderOptimizationAttribute.cs
2758 * MarshalByRefObject.cs
2760 * MemberAccessException.cs
2761 * MethodAccessException.cs
2762 * MissingFieldException.cs
2763 * MissingMemberException.cs
2764 * MissingMethodException.cs
2765 * MultiCastDelegate.cs
2766 * MulticastNotSupportedException.cs
2767 * NonSerializedAttribute.cs
2768 * NotFiniteNumberException.cs
2769 * NotImplementedException.cs
2770 * NotSupportedException.cs
2771 * NullReferenceException.cs
2772 * ObjectDisposedException.cs
2773 * ObsoleteAttribute.cs
2774 * OperatingSystem.cs
2775 * OutOfMemoryException.cs
2776 * OverflowExceptionException.cs
2778 * PlatformNotSupportedException.cs
2781 * ResolveEventArgs.cs
2782 * ResolveEventHandler.cs
2783 * RuntimeFieldHandle.cs
2784 * RuntimeMethodHandle.cs
2785 * RuntimeTypeHandle.cs: Mono styled, fixed exceptions/ locales
2786 removed excess usings
2788 2004-03-08 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
2790 * SystemException.cs: Exceptions set the HResult
2791 * TypeLoadException.cs: Exceptions set the HResult, fixed wrong exception usage
2792 * SByte.cs: Implemented two missing methods, fix wrong parameters for ArgumentNullException
2794 2004-03-08 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
2797 * TypeLoadException.cs
2798 * TypeInitializationException.cs
2801 * ThreadStaticAttribute.cs
2802 * SystemException.cs
2803 * STAThreadAttribute.cs
2804 * StackOverflowException.cs
2805 * SingleFormatter.cs
2807 * SerializableAttribute.cs: Mono styled, fixed exceptions/ locales
2808 removed excess usings
2810 2004-03-08 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
2812 * UnauthorizedAccessException.cs: Exceptions set the HResult
2813 * UInt64.cs: Implemented two missing methods
2814 * UInt32.cs: Fix wrong parameters for ArgumentNullException, simpler convert
2815 * UInt16.cs: Fix wrong parameters for ArgumentNullException, simpler convert
2817 2004-03-08 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
2823 * UnitySerializationHolder.cs
2824 * UnhandledExceptionEventHandler.cs
2825 * UnauthorizedAccessException.cs
2829 * UInt16.cs: Mono styled, Locale.GetText fixes, msg fixes
2831 2004-03-04 Lluis Sanchez Gual <lluis@ximian.com>
2833 * Environment.cs: Bump corlib version.
2835 2004-03-04 Jackson Harper <jackson@ximian.com>
2837 * Char.cs: New managed implementation. Modified patch by Andreas Nahr.
2839 2004-02-27 Lluis Sanchez Gual <lluis@ximian.com>
2841 * String.cs: Concat() fixed crash when one of the arguments is an object
2842 whose ToString() method returns null.
2843 * TypeLoadException.cs: Added some serialization fiels, needed for
2844 compatibility with MS.NET.
2846 2004-02-23 Ben Maurer <bmaurer@users.sourceforge.net>
2848 * String.cs (Equals): Speed up this method by avoiding Array
2849 Bounds Checks and by comparing by 32 bit words rather than 16 bit chars.
2851 This gives between 0x (for 1 char) and >2x (for large strings)
2852 factor of improvement.
2854 A big thanks to Miguel, who suggested the integer compares.
2856 2004-02-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2858 * MonoType.cs: use the binder in GetPropertyImpl.
2860 2004-02-22 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
2862 * Math.cs: MonoStyled, replaced space with tabs,
2863 speedup of some methods by avoiding method calls
2865 2004-02-18 Atsushi Enomoto <atsushi@ximian.com>
2867 * Char.cs : optimized IsSeparator(), IsWhiteSpace() and IsDigit().
2868 (Moved from InternalCall to Managed code).
2870 2004-02-17 Martin Baulig <martin@ximian.com>
2872 * MonoType.cs (GetConstructors): Renamed the interncall to
2873 GetConstructors_internal(), made it internal and added a `Type
2874 reflected_type' argument to it.
2875 (GetEvents, GetFields): Likewise.
2876 (GetMethodsByName): Added `Type reflected_type' argument.
2877 (GetPropertiesByName): Likewise.
2879 2004-02-16 Jackson Harper <jackson@ximian.com>
2881 * FloatingPointFormater.cs: Allow precision to be up to the number
2882 of decimals without rounding.
2884 2004-02-14 Zoltan Varga <vargaz@freemail.hu>
2886 * Delegate.cs (Equals): Do not compare method_ptr, since it might
2887 point to a trampoline.
2889 2004-02-12 Jackson Harper <jackson@ximian.com>
2891 * AppDomainSetup.cs: If relative paths are used they should be
2892 rooted in the temp directory.
2894 2004-02-11 Marek Safar <marek.safar@seznam.cz>
2896 * Type.cs (FilterNameIgnoreCase_impl): Added extra check for speedup.
2898 2004-02-10 Zoltan Varga <vargaz@freemail.hu>
2900 * AppDomain.cs (Load): Check that assemblyRef.Name is not empty, to
2901 avoid an assert in the runtime.
2903 2004-02-08 Duncan Mak <duncan@ximian.com>
2905 * Convert.cs (ToType): Always let a Convert.ChangeType call
2906 succeed if the source object is already of the destination type.
2908 Patch by Ian MacLean (ianm@activestate.com).
2910 2004-02-05 Sebastien Pouliot <sebastien@ximian.com>
2912 * AppDomain.cs: Implemented SetPrincipalPolicy and SetThreadPrincipal.
2914 2004-02-02 Zoltan Varga <vargaz@freemail.hu>
2916 * Environment.cs: Bump corlib version.
2918 2004-02-02 Sebastien Pouliot <sebastien@ximian.ca>
2920 * DateTime.cs: Corrected support for "Z" in the mask (Parse). This
2923 2004-01-27 Sebastien Pouliot <spouliot@videotron.ca>
2925 * Exception.cs: Changed ToString to remove the \n when no stack trace
2926 is present (which fixed a unit test for SecurityException). Changed
2927 all \n to Environment.NewLine.
2929 2004-01-27 Lluis Sanchez Gual <lluis@ximian.com>
2931 * ContextBoundObject.cs: Removed TODO.
2933 2004-01-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2935 * TimeSpan.cs: fixed bug #52075. Days (int) don't rely on TotalDays
2936 (double), which might round up.
2938 2004-01-19 Jackson Harper <jackson@ximian.com>
2940 * FloatingPointFormatter.cs: Use the default decimal digits count
2941 if they are not specified. This fixes bug #52927.
2943 2004-01-19 Zoltan Varga <vargaz@freemail.hu>
2945 * Environment.cs: Bump version number.
2947 2004-01-19 Lluis Sanchez Gual <lluis@ximian.com>
2949 * Type.cs: Added internal call for IsInstanceOfType. The old implementation
2950 uses IsAssignableFrom(o.GetType()), which is not always valid for
2951 transparent proxies (because GetType will not return the type of the remote
2952 object if its assembly is not present).
2954 2004-01-18 David Sheldon <dave-mono@earth.li>
2956 * FloatingPointFormatter.cs: Skip the decimal point if we have an
2957 integer mantassa. So: 1E+15, rather than 1.E+15.
2959 2004-01-18 David Sheldon <dave-mono@earth.li>
2961 * Array.cs (GetValue/SetValue): Throw NullRef exception like .NET 1.1,
2962 even though docs say it should be an ArgumentNull. Two test cases now
2963 pass. See also nickd's commit of 2003-12-24.
2965 2004-01-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2967 * Environment.cs: increased corlib version.
2969 2004-01-14 Lluis Sanchez Gual <lluis@ximian.com>
2971 * MonoCustomAttrs.cs: Removed attribute cache. Attribute instances can't
2972 be reused because they could be modified. This fixes bug #52655.
2974 2004-01-12 Patrik Torstensson
2976 * Environment.cs: Bump corlib version number due to new StringBuilder
2978 * String.cs: New internal method to support the new StringBuilder that
2979 uses the string as a buffer (until ToString is called)
2981 2004-01-12 Zoltan Varga <vargaz@freemail.hu>
2983 * Environment.cs: Bump corlib version number for real this time.
2985 * AppDomain.cs (LoadAssembly): Pass the assembly name as a string to
2986 the runtime, so it can take into account the Culture etc.
2988 * Environment.cs: Bump corlib version number.
2990 2004-01-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2992 * MonoType.cs: GetMethods renamed to GetMethodsByName. It takes a
2993 new parameter with the method name and a boolean for ignoring case.
2994 Removed some string comparisons no longer needed.
2996 2004-01-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2998 * MonoType.cs: GetProperties renamed to GetPropetiesByName. It takes a
2999 new parameter with the property name and a boolean for ignoring case.
3002 2004-01-11 David Sheldon <dave-mono@earth.li>
3004 * DateTime.cs: Correct processing of formats with multiple '-'s, fixing
3007 2004-01-10 Zoltan Varga <vargaz@freemail.hu>
3009 * AppDomain.cs: Keep track of type resolve and assembly resolve
3010 events in progress to prevent infinite recursion.
3012 2004-01-06 Miguel de Icaza <miguel@ximian.com>
3014 * Console.cs: Test for UTF-8 being present anywhere on the
3015 string, also do ToUpper instead of ToLower, which will work even
3016 around the ICU bug with different locales (#52065), and addresses #52101
3018 2004-01-05 Zoltan Varga <vargaz@freemail.hu>
3020 * Environment.cs: Bump version.
3022 2003-12-24 Ben Maurer <bmaurer@users.sourceforge.net>
3024 * Type.cs (IsNotPublic): One would normally assume that
3025 IsNotPublic == !IsPublic, but this is not the case (note to MS,
3026 make better names ;-). Fixes #52547, `Type.IsNotPublic not
3027 correct for Nested types'
3029 2003-12-24 Nick Drochak <ndrochak@ieee.org>
3031 * Array.cs (CreateInstance): Throw NullRef exception like .NET 1.1,
3032 even though docs say it should be an ArgumentNull. Sent email to MS
3035 2003-12-23 Lluis Sanchez Gual <lluis@ximian.com>
3037 * Exception.cs: Several changes to make it compatible with MS.NET (needed
3038 for remoting interoperability): set a default value for hresult, added
3039 initialization of class_name, serialization field RemoteStackTrace must
3040 be RemoteStackTraceString, added ser. field ExceptionMethod.
3042 * IndexOutOfRangeException.cs: Added serialization constructor.
3044 2003-12-22 Bernie Solomon <bernard@ugsolutions.com>
3047 Int64 (Parse): Fix overflow checking for AllowHexSpecifier
3049 2003-12-20 Zoltan Varga <vargaz@freemail.hu>
3051 * MonoType.cs (GetMethodImpl): Only call FindMostDerivedMatch if the
3052 user supplied no parameter info, but not when the user supplied an
3053 empty parameter list. This fixes IKVM.
3055 * Environment.cs: Bump corlib version.
3057 2003-12-19 Dick Porter <dick@ximian.com>
3059 * String.cs: Added Compare shortcut for length==0.
3061 2003-12-17 Zoltan Varga <vargaz@freemail.hu>
3063 * Environment.cs: Bump corlib version.
3065 2003-12-17 Dick Porter <dick@ximian.com>
3067 * String.cs: Fix StartsWith and EndsWith when the argument is the
3068 empty string. Fixes bug 52283.
3070 2003-12-16 Zoltan Varga <vargaz@freemail.hu>
3072 * Environment.cs (HasShutdownStarted): Implement.
3074 2003-12-15 Zoltan Varga <vargaz@freemail.hu>
3076 * Environment.cs (HasShutdownStarted): Make this static under NET 1.1.
3078 * Environment.cs: Bump version number.
3080 2003-12-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3082 * DateTime.cs: don't bail out with that year out of range error on
3083 stuff like "MM/dd/yyyy HH:MM:ss".
3085 2003-12-13 Zoltan Varga <vargaz@freemail.hu>
3087 * Environment.cs: Make it a const instead.
3089 * Environment.cs: Make version field static.
3091 2003-12-10 Zoltan Varga <vargaz@freemail.hu>
3093 * Type.cs: Make DefaultBindingFlags protected.
3095 * Environment.cs: Applied patch from Todd Berman (tbermann@gentoo.org).
3096 Add new GacPath property + its associated icall.
3098 2003-12-09 Anirban Bhattacharjee <banirban@novell.com>
3100 * DateTime.cs : Bugs fixed (41845, 51422)
3101 * MonoType.cs : Exception message changed
3103 2003-12-08 Martin Baulig <martin@ximian.com>
3105 * Type.cs (MakeByRefType): New public method.
3107 2003-12-08 Zoltan Varga <vargaz@freemail.hu>
3109 * Environment.cs: Add a version number for the corlib-runtime interface
3110 to make it easier to diagnose problems resulting from a mismatch
3113 2003-12-08 Patrik Torstensson <p@rxc.se>
3115 * Type.cs (GetMethod): Check type arguments within array
3116 * MonoType.cs (GetMethodImpl): Handle methods with a new slot
3117 (same signature but different classes (derived level)
3119 2003-12-07 Zoltan Varga <vargaz@freemail.hu>
3121 * Type.cs (MakeArrayType): Add argument checking.
3123 2003-12-06 Dick Porter <dick@ximian.com>
3125 * String.cs: Don't use CompareInfo for non-culture-sensitive
3126 IndexOf and LastIndexOf methods.
3128 2003-12-06 Ravindra <rkumar@novell.com>
3130 * DateTime.cs: Made Parse(string, IFormatProvider) method to
3131 use second argument. Fixed bug #51464.
3133 2003-12-04 Martin Baulig <martin@ximian.com>
3135 * Type.cs (Type.MakeArrayType): New public method.
3137 2003-12-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3140 (BlockCopy): make the exception thrown helpful.
3142 2003-12-03 Dick Porter <dick@ximian.com>
3144 * String.cs: Calling Replace on an empty string returns itself.
3146 2003-12-03 Zoltan Varga <vargaz@freemail.hu>
3148 * MonoType.cs: Get rid of get_type_info, use a separate icall for
3149 each property instead.
3151 2003-12-02 Dick Porter <dick@ximian.com>
3153 * Decimal.cs: Fix NumberFormatInfo lookup. Patch by
3154 Mohammad DAMT (mdamt@cdl2000.com), fixes bug 51443.
3156 2003-12-01 Dick Porter <dick@ximian.com>
3158 * String.cs: Make Compare, IndexOf, LastIndexOf, StartsWith,
3159 Replace, ToLower, ToUpper and Equals use the correct CultureInfo.
3161 2003-11-28 Dick Porter <dick@ximian.com>
3166 * Boolean.cs: Do string compares with the Invariant culture.
3168 2003-11-27 Ben Maurer <bmaurer@users.sourceforge.net>
3170 * Array.cs: make the enumerator ICloneable
3172 2003-11-27 Ben Maurer <bmaurer@users.sourceforge.net>
3174 * Decimal.cs (ToXXX): Call Convert.ToXXX.
3176 2003-11-26 Zoltan Varga <vargaz@freemail.hu>
3178 * AppDomain.cs: Applied patch from ztashev@openlinksw.co.uk (Zdravko Tashev).
3179 Implement Load(byte[]) methods.
3181 * BadImageFormatException.cs: Fix ToString.
3183 2003-11-24 Zoltan Varga <vargaz@freemail.hu>
3185 * MonoType.cs: Make Standard|HasThis match Standard in GetMethod and
3186 GetConstructor, as done by MS.
3188 2003-11-19 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
3190 * FloatingPointFormatter.cs: Removed some unused variables to prevent csc compiler warnings
3192 2003-11-18 Lluis Sanchez Gual <lluis@ximian.com>
3194 * TypeInitializationException.cs: Added missing serialization constructor.
3196 2003-11-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3198 * AppDomainSetup.cs: Don't add an extra '/' at the end of
3199 ApplicationBase. The tests pass now with mono.
3201 2003-11-18 Zoltan Varga <vargaz@freemail.hu>
3203 * ValueType.cs: New optimized implementation for Equals and GetHashCode.
3205 2003-11-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3207 * Environment.cs: use Directory in CurrentDirectory property.
3208 We were not throwing any exception when setting the directory to an
3211 2003-11-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3214 * Delegate.cs: implemented 1.1 stuff.
3217 * IntPtr.cs: removed extra attribute.
3218 * PlatformID.cs: added WinCE.
3220 2003-11-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3223 (Equals): compare the fields of structs too.
3224 (GetHashCode): combine the hash code of all the fields.
3225 Fixes bug #50901 (will remove the icall in a couple of days).
3227 2003-11-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3229 * Array.cs: fixed Clear for non-zero bounded arrays. Fixes bug #50968.
3231 2003-11-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3233 * DateTime.cs: handle century when we try to parse 4-digit years and
3234 only 2 digits are present. Fixes bug #49394.
3236 2003-11-13 Miguel de Icaza <miguel@ximian.com>
3238 * Console.cs: On utf-8 consoles, use unmarked output.
3240 2003-11-13 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
3242 * IAppDomainSetup.cs:
3245 * Type.cs: Added missing attribute
3247 2003-11-12 Lluis Sanchez Gual <lluis@ximian.com>
3249 * Environment.cs: Added internal method for getting the path to
3252 2003-11-12 Jackson Harper <jackson@ximian.com>
3254 * Environment.cs: Add MyMusic and MyPictures to the SpecialFolder
3255 enum. This fixes the SWF build.
3257 2003-11-12 Miguel de Icaza <miguel@ximian.com>
3259 * PlatformID.cs: Remove Unix platform, we cant expose constants
3260 that are not in the framework.
3262 * OperatingSystem.cs: Adjust for the breakage.
3264 * RuntimeMethodHandle.cs: Fix signature.
3266 * Double.cs: Fix signature of TryParse.
3268 * String.cs (Concat (object, object, object, object)): Add missing method.
3270 * OperatingSystem.cs: Removed Equals, GetHashCode, they were not
3271 in the .NET Framework.
3273 * Enum.cs: Hide constructor.
3275 Fix ToUint16 to be explicitly implemented.
3277 * Console.cs: Add couple of extra missing methods (Write and
3278 WriteLine overloaded)
3280 2003-11-11 Miguel de Icaza <miguel@ximian.com>
3282 * AppDomain.cs, Activator.cs: New unimplmented entry points from
3283 1.1 (Com activation related).
3285 * Exception.cs: Formatting.
3287 * IServiceProvider.cs: Add ComVisible (true).
3289 * AppDomainSetup.cs: Add a couple more properties from .NET 1.1
3291 2003-11-03 Lluis Sanchez Gual <lluis@ximian.com>
3293 * AppDomain.cs: Added some null checks in Load methods. This fixes bug
3296 2003-11-01 Zoltan Varga <vargaz@freemail.hu>
3298 * AppDomain.cs: Make the SetDomain icalls private + call InternalInvoke
3299 on MonoMethod instead of Invoke.
3301 2003-11-01 Pedro Martínez Juliá <yoros@wanadoo.es>
3303 * DateTime.cs: Fixed Add* methods handling. Now it works properly
3304 with extreme values (there is a bug with Overflow and Underflow in
3307 2003-10-31 Pedro Martínez Juliá <yoros@wanadoo.es>
3309 * DateTime.cs: Fixed a few format bugs.
3311 2003-10-31 Zoltan Varga <vargaz@freemail.hu>
3313 * AppDomain.cs (InternalPushDomainRef): New icalls.
3315 * AppDomain.cs (InvokeInDomain): New method to execute code in a
3316 different appdomain.
3318 2003-10-27 Zoltan Varga <vargaz@freemail.hu>
3320 * AppDomain.cs: Fix prototype of InternalIsFinalizingForUnload.
3322 2003-10-25 Zoltan Varga <vargaz@freemail.hu>
3324 * AppDomain.cs (IsFinalizingForUnload): Implement.
3326 * AppDomain.cs (Unload): Move the notification of OnUnload listeners
3329 2003-10-25 Martin Baulig <martin@ximian.com>
3331 * MonoType.cs: Don't make this sealed.
3333 2003-10-24 Zoltan Varga <vargaz@freemail.hu>
3335 * AppDomain.cs: Add InternalInvokeInDomain[ByID] icalls.
3337 2003-10-24 Pedro Martínez Juliá <yoros@wanadoo.es>
3339 * DateTime.cs: When handling '-' as a date separator, MS.NET uses
3340 the same symbol in the parse (not DateTimeFormatInfo.DateSeparator).
3342 2003-10-22 Dick Porter <dick@ximian.com>
3344 * DateTime.cs: Handle '-' as a date separator when parsing formats.
3346 2003-10-20 Duncan Mak <duncan@ximian.com>
3348 * Delegate.cs (CreateDelegate): Avoid creating an extra Type array
3349 and merge the two iterations into one.
3351 2003-10-15 Zoltan Varga <vargaz@freemail.hu>
3353 * TypedReference.cs: Add new field used by the runtime.
3355 2003-10-15 Martin Baulig <martin@ximian.com>
3357 * Type.cs (Type.DeclaringMethod): For a generic method's type
3358 parameter, return this method - otherwise, return null.
3360 2003-10-14 Martin Baulig <martin@ximian.com>
3362 The generics API has changed in the spec since it was added here;
3363 these modifications make it match the spec again.
3366 (GetGenericParameters): Renamed to `GetGenericArguments'.
3367 (HasGenericParameters): Renamed to `HasGenericArguments'.
3368 (HasUnboundGenericParameters): Renamed to `ContainsGenericParameters'.
3369 (IsGenericTypeDefinition): New property.
3370 (IsUnboundGenericParameter): Renamed to `IsGenericParameter'.
3372 * MonoType.cs (ContainsGenericParameters): Implement this here;
3373 this is no interncall anymore.
3375 2003-10-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3377 * Delegate.cs: add the method name to the exception when it cannot be
3379 * Exception.cs: fix nullref in Source.
3381 2003-10-10 Zoltan Varga <vargaz@freemail.hu>
3383 * Array.cs: Add argument checking to GetValue and SetValue.
3385 2003-10-09 Miguel de Icaza <miguel@ximian.com>
3387 * DateTime.cs: Patch from Chris Turchin: the DateTime.MaxValue
3388 should not be TimeSpan.MaxValue, because it overflow. Set this to
3391 2003-10-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3393 * MonoCustomAttrs.cs: from_cache is now thread-safe. Yeah, I got a
3394 duplicate entry exception.
3396 2003-10-08 Ben Maurer <bmaurer@users.sourceforge.net>
3398 * DateTime.cs (ToString): Total rewrite, fixes #49358.
3400 2003-10-03 Zoltan Varga <vargaz@freemail.hu>
3402 * AppDomain.cs: Change accessibility of DoTypeResolve to fix build.
3404 2003-10-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3407 (Equals): check that the object is an Enum before comparing the types.
3409 2003-09-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3411 * Array.cs: reduced xsp allocated memory by 1/2.
3413 2003-09-25 Martin Baulig <martin@ximian.com>
3415 * Type.cs (Type.IsGenericTypeDefinition): Removed this method
3416 since it was identical to GetGenericTypeDefinition().
3417 (Type.IsGenericInstance): New property.
3419 2003-09-24 Duncan Mak <duncan@ximian.com>
3421 * Math.cs (Abs): Fix double Locale.GetText bug reported by
3422 davejp@volny.cz. This fixes #48788.
3424 2003-09-14 Pedro Martínez Juliá <yoros@wanadoo.es>
3426 * FloatingPointFormatter.cs: Add the necessary castings to char
3429 2003-09-13 Pedro Martínez Juliá <yoros@wanadoo.es>
3431 * FloatingPointFormatter.cs: Make the method calls more functional
3432 for protecting the values from different threads (make it more
3435 2003-09-13 Pedro Martínez Juliá <yoros@wanadoo.es>
3437 * FloatingPointFormatter.cs: Fix a bug with the negative value of
3440 2003-09-12 Pedro Martínez Juliá <yoros@wanadoo.es>
3442 * FloatingPointFormatter.cs: Applied a lot of improvements in string
3443 construction, make use of Append/Insert with the "count" parameter.
3444 Thanks to Ben Maurer.
3446 2003-09-10 Pedro Martínez Juliá <yoros@wanadoo.es>
3448 * FloatingPointFormatter.cs: Fix a bug with Custm Format.
3450 * FloatingPointFormatter.cs: Fix a little bug I've introduced the
3453 2003-09-10 Pedro Martínez Juliá <yoros@wanadoo.es>
3455 * DoubleFormatter.cs: A few optimizations. Now, only one object
3456 is created to convert all double numbers.
3458 * SingleFormatter.cs: A few optimizations. Now, only one object
3459 is created to convert all float numbers.
3461 * FloatingPointFormatter.cs: Split the "number type parameters" from
3462 the "numver value and format parameters". The first ones are in the
3463 constructor and the others are in a method.
3465 2003-09-09 Zoltan Varga <vargaz@freemail.hu>
3467 * Array.cs: Added argument checking to some NET_1_1 methods.
3469 2003-09-04 Martin Baulig <martin@ximian.com>
3471 * Type.cs (GetGenericTypeDefinition): Make this method virtual.
3473 2003-08-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3475 * Array.cs: added the new overloaded CreateInstance, GetValue, SetValue
3476 taking 'longs'. All tests pass.
3478 2003-08-26 Ben Maurer <bmaurer@users.sourceforge.net>
3480 * Exception.cs: Add ClassInterface attr. Implement TargetSite and
3481 Source. Remove MonoTODO attributes (class is 100% done). Also
3482 passes all Rotor tests for Exception!
3484 2003-08-26 Ben Maurer <bmaurer@users.sourceforge.net>
3486 * Enum.cs: Remove [MonoTODO]'s that had been completed.
3488 2003-08-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3490 * String.cs: fixed bug #47802.
3492 2003-08-21 Ben Maurer <bmaurer@users.sourceforge.net>
3494 * String.cs: Created method FormatHelper that does formatting,
3495 using a StringBuilder.
3497 2003-08-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3499 * Array.cs: patch by lb@lb.ods.org that fixes bug #47707.
3501 2003-08-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3503 * Delegate.cs: CreteDelegate (Type, MethodInfo) only supports static
3506 2003-08-11 Duncan Mak <duncan@ximian.com>
3508 * Environment.cs (Version): Return the same numbers as the MS
3511 2003-08-10 Miguel de Icaza <miguel@ximian.com>
3513 * Array.cs: Applied patch from Thong (Tum) Nguyen; Removed
3514 replicated tests, and have a routine that does the heavy lifting.
3516 2003-08-08 Lluis Sanchez Gual <lluis@ximian.com>
3518 * DateTime.cs: Fixed DoParse. It was calling the wrong constructor
3520 * Environment.cs: return $HOME for ApplicationData folder.
3522 2003-08-04 Duncan Mak <duncan@ximian.com>
3524 * FloatingPointFormatter.cs (Normalize): Apply a patch from Aleksey
3525 Demakov <avd@openlinksw.com> to fix formatting for Big power of 10
3526 floating point values. This fixes bug #46175.
3528 * Convert.cs (ToUInt16): Throw an OverflowException correctly, as
3529 noted by c5n4kh6u02@sneakemail.com in
3530 http://bugzilla.ximian.com/show_bug.cgi?id=43098.
3532 Sat Aug 2 13:01:46 BST 2003 Malte Hildingson <malte@amy.udd.htu.se>
3534 * Double.cs: added icall Double.AssertEndianity.
3536 Fri Aug 1 16:47:17 CEST 2003 Paolo Molaro <lupus@ximian.com>
3538 * Type.cs, MonoType.cs: implemented generic-specific methods.
3540 2003-07-29 Miguel de Icaza <miguel@ximian.com>
3542 * Buffer.cs: Add new internal MemCopy call.
3546 Tue Jul 29 12:13:16 CEST 2003 Paolo Molaro <lupus@ximian.com>
3548 * Type.cs, MonoType.cs, ArgIterator.cs: pass the handles values
3549 to icalls, to avoid special cases in some call conventions.
3551 2003-07-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3553 * Enum.cs: added Serializable attribute.
3555 2003-07-25 Duncan Mak <duncan@ximian.com>
3557 * AppDomain.cs (Equals):
3558 (GetHashCode): Removed because they do not need to be defined
3561 2003-07-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3563 * TypeLoadException.cs: removed unused fields. TypeName returns "" if
3564 cannot even get the type.
3566 2003-07-24 Miguel de Icaza <miguel@ximian.com>
3568 * Type.cs: Added generics stubs.
3570 2003-07-23 Duncan Mak <duncan@ximian.com>
3572 * Environment.cs (SpecialFolder): Added 'Desktop' and 'MyComputer'
3573 as values for NET_1_1.
3574 (GetFolderPath): Return the empty string ("") for values of
3575 SpecialFolder that have no corresponding equivalents in
3576 Linux. Return "$HOME/Desktop" for SpecialFolder.DesktopDirectory
3577 and "$HOME" for SpecialFolder.Personal.
3579 * IntPtr.cs (GetObjectData): Mark it as an interface
3580 implementation, instead of a public method.
3582 * Guid.cs (NewGuid): Remove MonoTODOAttribute.
3584 * TypeLoadException.cs (GetObjectData):
3585 Create stubs for the fields that are being serialized.
3587 * UIntPtr.cs: Removed erroneous CLSCompliantAttributes.
3589 2003-07-23 Lluis Sanchez Gual <lluis@ximian.com>
3591 * Enum.cs: Fixed enum formatting. For flag enums, if one of
3592 the flags is unnamed, ToString() returns the integer value.
3594 2003-07-22 Jerome Laban <jlaban@wanadoo.fr>
3596 * Guid.cs: Fixed ToString (), was producing incorrect string.
3598 2003-07-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3600 * AppDomainSetup.cs: fixed bug #46609.
3602 Thu Jul 17 17:28:27 CEST 2003 Paolo Molaro <lupus@ximian.com>
3604 * MonoType.cs: use an icall for IsPrimitiveImpl ().
3606 Thu Jul 17 15:23:17 CEST 2003 Paolo Molaro <lupus@ximian.com>
3608 * Guid.cs: faster ToString ().
3610 2003-07-15 Pedro Martínez Juliá <yoros@wanadoo.es>
3612 * FloatingPointFormatter.cs: Few changes for get working Rotor
3615 2003-07-13 Zoltan Varga <vargaz@freemail.hu>
3617 * Type.cs (IsAssignableFrom): Implement this as an icall since the
3618 runtime already includes the neccessary logic.
3620 2003-07-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3622 * AppDomainSetup.cs: remove the "file://" prefix from ApplicationBase
3623 if it's present and get the full path for non-Uri paths.
3625 2003-07-2 Lluis Sanchez Gual <lluis@ximian.com>
3627 * DateTime.cs: Fixed formatting of fractions of second.
3629 2003-06-30 Zoltan Varga <vargaz@freemail.hu>
3631 * Console.cs: Turn off buffering for the streams returned by
3632 OpenStandardOutput () and OpenStandardError () if the buffer size is 0.
3634 2003-06-28 Lluis Sanchez Gual <lluis@ximian.com>
3636 * Random.cs: Changed behavior of Random to match MS.NET. When Next is
3637 called with maxvalue==0 or minvalue==maxvalue, MS.NET internally generates
3638 a new random number (although it is not needed), while mono did not.
3639 As a result, the sequence of random numbers could be different for the
3642 Thu Jun 26 16:06:35 CEST 2003 Paolo Molaro <lupus@ximian.com>
3644 * FloatingPointFormatter.cs: use dec_len2 as default precision.
3646 2003-06-26 Lluis Sanchez Gual <lluis@ximian.com>
3648 * DateTime.cs: Modified constructor. Check for valid value of TimeSpan must
3649 be done after the correspondig UTC offset has been applied.
3651 2003-06-26 Lluis Sanchez Gual <lluis@ximian.com>
3653 * Object.cs: Object must have the Serializable attribute.
3654 * DateTime.cs: Fixed _DoParse() so it correctly applies the utc offset
3655 to the resulting date. Also fixed _ToString so now correctly formates the
3658 Wed Jun 18 19:22:22 CEST 2003 Paolo Molaro <lupus@ximian.com>
3660 * Enum.cs: fix race in cache (bug#41841).
3662 Wed Jun 18 18:52:11 CEST 2003 Paolo Molaro <lupus@ximian.com>
3664 * FloatingPointFormatter.cs: if the precision is not specified, use
3665 the default precision for the data type.
3667 Wed Jun 18 18:11:30 CEST 2003 Paolo Molaro <lupus@ximian.com>
3669 * Array.cs: throw ArgumentOutOfRangeException in Copy if needed
3670 (patch by tum@veridicus.com (Thong (Tum) Nguyen)).
3672 2003-06-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3674 * MonoType.cs: don't throw nullref when the return type for a property
3675 is specified and the property doesn't have a get accessor.
3677 2003-06-10 Duncan Mak <duncan@ximian.com>
3679 * Array.cs (CreateInstance): Fixed a typo. It should throw
3680 ArgumentNullException instead of ArgumentException.
3682 2003-06-09 Duncan Mak <duncan@ximian.com>
3684 * Array.cs: Revert the last revert. I fixed it.
3685 (Sort): Put a try-catch block around qsort, and wrap whatever
3686 Exception we get into a InvalidOperationException.
3688 2003-06-08 Jackson Harper <jackson@latitudegeo.com>
3690 * Array.cs: Revert last patch, it broke some other functionality.
3692 2003-06-08 Duncan Mak <duncan@ximian.com>
3694 * Array.cs: Throw more exceptions. This fixes the errors we see
3695 from the Rotor testsuite.
3697 (CreateInstance): Throw ArgumentNullException when the input are
3698 null. Throw ArgumentOutOfRangeException when bounds + length is
3699 greater than Int32.MaxValue.
3700 (LastIndexOf): Throw ArgumentOutOfRangeException if index is outside
3701 the valid range of indices of array.
3702 (Sort): Throw InvalidOperationException when comparer is null and
3703 none of the elements in keys implements IComparable.
3705 2003-06-08 Duncan Mak <duncan@ximian.com>
3707 * Array.cs (CreateInstance): Throw a TypeLoadException if the
3708 Length of the input array 'lengths' is greater than 255 so that we
3709 won't see the g_assert that is in mono_array_class_get in class.c.
3711 This fixes bug #44304.
3713 2003-06-05 Nick Drochak <ndrochak@gol.com>
3715 * UnitySerializataionHolder.cs: Cleanups according to class status page
3717 Wed Jun 4 16:59:39 CEST 2003 Paolo Molaro <lupus@ximian.com>
3719 * ArgIterator.cs, TypedReference.cs, RuntimeArgumentHandle.cs,
3720 RuntimeTypeHandle.cs: implemented the needed stuff to handle
3723 2003-06-02 Sebastien Pouliot <spouliot@videotron.ca>
3725 * Random.cs: New implementation based on Knuth ran3 to fix #43597.
3726 See http://www.library.cornell.edu/nr/bookcpdf/c7-1.pdf. Commited
3727 for Ben Maurer after review and testing.
3729 2003-05-28 Ben Maurer <bmaurer@users.sourceforge.net>
3731 * Array.cs: Added better argument checking to Array.Sort ()
3732 * DBNull.cs: Made the conversions throw like they do in MS.
3734 2003-05-24 Philip Van Hoof <me@freax.org>
3736 * Math.cs: Add the MS.NET 1.1 methods (BigMul, DivRem, DivRem).
3738 2003-05-21 Pedro Martínez Juliá <yoros@wanadoo.es>
3740 * FloatingPointFormatter.cs: Take care with the explicit precision
3741 and round the number to that precision.
3743 * DoubleFormatter.cs: Adapt to the two level precision (15 - 17).
3745 * SingleFormatter.cs: Adapt to the two level precision (7 - 8).
3747 2003-05-20 Philip Van Hoof <me@freax.org>
3749 * DateTime.cs (FromOADate, GetDateTimeFormats, ToOADate):
3752 2003-05-20 Zoltan Varga <vargaz@freemail.hu>
3754 * AppDomainSetup.cs: Added new field which is used to notify the
3755 runtime that the search path has changed.
3757 2003-05-18 Pedro Martínez Juliá <yoros@wanadoo.es>
3759 * FloatingPointFormatter.cs: Fixed NullReferenceException bug I've
3760 introduced the last change I've done.
3762 2003-05-17 Ben Maurer <bmaurer@users.sourceforge.net>
3764 * Array.cs: Fixed SyncRoot to behave like MS (return this). Removed
3765 MonoTODO from SyncRoot (because fixed) and IsSynchronized (it was
3766 behaving correctly).
3768 2003-05-17 Pedro Martínez Juliá <yoros@wanadoo.es>
3770 * FloatingPointFormatter.cs: Fixed little format mismatches.
3772 2003-05-16 Pedro Martínez Juliá <yoros@wanadoo.es>
3774 * FloatingPointFormatter.cs: Fixed "-0" result emited.
3776 2003-05-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3778 * AppDomain.cs: Added null argument check in Load().
3779 * Activator.cs: fixed bug #39926.
3781 2003-05-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3783 * Enum.cs: fixed bugs #41522 and #42879.
3785 2003-05-12 Zoltan Varga <vargaz@freemail.hu>
3787 * String.cs: Tweak IndexOf and LastIndexOf to match specification and
3788 undocumented MS behaviour.
3790 2003-05-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3792 * Activator.cs: applied patch for bug #39926. Thanks to Jean Marc and
3795 2003-05-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3797 * String.cs: fixed bug #41411 and another similar problem in
3798 LastIndexOf (string).
3800 2003-05-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3802 * String.cs: patch by Jean Marc <jean-marc.andre@polymtl.ca> that fixes
3805 2003-05-09 Zoltan Varga <vargaz@freemail.hu>
3807 * MulticastDelegate.cs (GetInvocationList): Avoid ArrayList
3808 construction if the delegate list only has one element.
3810 2003-05-01 Pedro Martínez Juliá <yoros@wanadoo.es>
3812 * Environment.cs: Changed the method GetFolderPath because it must
3813 return at least a directory name (not null).
3815 * Convert.cs: In ToType, if the destination type is unknown, try to
3816 cast the value to object (then, the calling method will downcast it
3817 to the type it wants).
3819 2003-04-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3821 * Enum.cs: fixed bug #41522.
3823 Tue Apr 29 13:58:16 CEST 2003 Paolo Molaro <lupus@ximian.com>
3825 * Enum.cs: protect with the lock also the lookup (bug #41841).
3827 Tue Apr 29 13:24:32 CEST 2003 Paolo Molaro <lupus@ximian.com>
3829 * MonoType.cs: allow a null name if InvokeMember is called with
3830 BindingFlags.CreateInstance set.
3832 2003-04-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3834 * Enum.cs: reverted my previous patch.
3836 2003-04-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3838 * Enum.cs: fixed bug #41841.
3840 2003-04-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3843 (GetPropertyImpl): handle BindingFlags.IgnoreCase.
3845 2003-04-22 Pedro Martínez Juliá <yoros@wanadoo.es>
3847 * FloatingPointFormatter.cs: Little fixes for get the same results
3848 as MS.NET and show a message when something goes wrong with the
3849 parser of Custom Formats.
3851 2003-04-22 Nick Drochak <ndrochak@gol.com>
3853 * Double.cs (ToString):
3854 * Single.cs (ToString): Handle case where param is a CultureInfo.
3856 2003-04-18 Zoltan Varga <vargaz@freemail.hu>
3858 * Object.cs ValueType.cs: Make the Object::GetHashCode() and
3859 ValueType::Equals() icalls static non-virtual, so they can be called
3860 by the code in RuntimeHelpers.
3862 2003-04-18 Miguel de Icaza <miguel@ximian.com>
3864 * Delegate.cs (operator ==): Do not crash if the second argument
3865 is null. Bug fix submitted by Juan Cri.
3867 2003-04-18 Eduardo Garcia Cebollero <kiwnix@yahoo.es>
3869 * Array.cs: Deleted the exception in Array.Initialize(), it looks
3870 like the method do nothing for C#, is still a MonoTODO until
3871 we find a compiler that uses that.
3873 2003-04-14 Miguel de Icaza <miguel@ximian.com>
3875 * Delegate.cs (Delegate): Seems like a typo, we were checking the
3876 a field rather than the argument
3878 * MonoType.cs: Make GetNestedType an external method implementation.
3880 2003-04-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3882 * Enum.cs: fixed bug #41294.
3884 2003-04-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3886 * DateTime.cs: fixes bug #40910, part 2.
3888 2003-04-11 Dietmar Maurer <dietmar@ximian.com>
3890 * String.cs (Equals): avoid the internal call, code cleanups
3892 2003-04-11 Alan Tam <Tam@SiuLung.com>
3894 * Convert.cs: fixed bug #41085.
3896 2003-04-10 Lluis Sanchez Gual <lluis@ideary.com>
3898 * AppDomain.cs: Added internal method for getting process guid.
3900 2003-04-09 Ville Palo <vi64pa@kolumbus.fi>
3902 * Array.cs: Little fix to compare () method.
3904 2003-04-09 Zoltan Varga <vargaz@freemail.hu>
3906 * String.cs (Equals): Add trivial optimization.
3908 2003-04-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3910 * DateTime.cs: fixed bug #40910.
3912 2003-04-05 Miguel de Icaza <miguel@ximian.com>
3914 * Console.cs: Make stderr, stdout and stdin use synchronized
3915 versions of the their readers/writers.
3917 2003-04-04 Dick Porter <dick@ximian.com>
3919 * Version.cs: Make operator== and operator!= cope with null
3920 objects. Didn't change operator<, operator<=, operator> or
3921 operator>= because its not meaningful to use those to compare
3922 against null, and throwing a NullReferenceException is probably
3923 the best thing to do there anyway.
3927 2003-04-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3929 * AppDomain.cs: fixed InvalidCastException.
3931 2003-03-30 Zoltan Varga <vargaz@freemail.hu>
3933 * Array.cs (Copy): Call FastCopy() earlier to avoid the expensive
3934 type checks and let it decide whenever a fast copy is possible.
3936 2003-03-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3939 (GetMethodImpl): support BindingFlags.IgnoreCase flag. Fixes bug #40322.
3941 2003-03-25 Zoltan Varga <vargaz@freemail.hu>
3943 * Activator.cs (CreateInstance): Call GetConstructor with the right
3944 arguments so the nonPublic argument is handled correctly.
3946 2003-03-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3948 * Type.cs: fixed bug #40123.
3950 2003-03-22 Pedro Martínez Juliá <yoros@wanadoo.es>
3952 * FloatingPointFormatter.cs: Fixed some bugs for get the same
3953 results than MS.NET. Added simple error recovering, now ToString
3954 will return a general format if there is any exception in the
3955 process of formatting. This make the library more robust while the
3956 formatters are refined.
3958 2003-03-16 Pedro Martínez Juliá <yoros@wanadoo.es>
3960 * FloatingPointFormatter.cs: Added support for group separators.
3962 2003-03-16 Pedro Martínez Juliá <yoros@wanadoo.es>
3965 * Double.cs: Apply changes of .ToString methods.
3966 * SingleFormatter.cs:
3967 * DoubleFormatter.cs: Simple wrappers to FloatingPointFormatter.
3968 * FloatingPointFormatter.cs: New class. Implementation of double and
3969 single formatters. It is unified now and parametrized with precission
3972 2003-03-15 Lluis Sanchez Gual <lluis@ideary.com>
3974 * AppDomain.cs: fixes bugs #39380 and #39331.
3976 2003-03-06 Nick Drochak <ndrochak@gol.com>
3978 * TimeSpan.cs (Negate): Throw exception when value is MinValue.
3980 2003-03-04 Dick Porter <dick@ximian.com>
3983 * Double.cs: Temporarily reverted the Double and Single ToString()
3984 change, because it broke nunit.
3987 2003-03-04 Pedro Martínez Juliá <yoros@wanadoo.es>
3989 * Double.cs: Changed ToString method. Added NumberFormatInfo support
3990 with DoubleFormatter class.
3991 * Single.cs: Changed ToString method. Added NumberFormatInfo support
3992 with SingleFormatter class.
3993 * DoubleFormatter.cs: New class with Double formatting functions.
3994 * SingleFormatter.cs: New class with Single formatting functions.
3996 2003-03-03 Lluis Sanchez Gual <lluis@ideary.com>
3998 * Activator.cs: Added support for activation using activation attributes.
3999 * AppDomain.cs: Added internal method to get the default context from the runtime.
4001 2003-02-28 Elan Feingold <efeingold@mn.rr.com>
4003 * DateTime.cs: FileTime is expressed in Universal time, and as such must
4004 be converted before subtracting the magic offset.
4005 * DateTime.cs: Strings in the format "2003-02-27T10:05:03-11:00" (note
4006 the timezone at the end) *must* be parsed by DateTime.Parse() for
4007 compatibility with Microsoft.
4009 2003-02-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4012 * MonoCustomAttrs.cs: fix for the regression test failure (see bug
4015 * IntPtr.cs: added serialization .ctor
4017 2003-02-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4019 * AppDomain.cs: check for null in Unload and changed method name.
4021 2003-02-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4023 * MonoCustomAttrs.cs: fixed bug #38238.
4025 2003-02-17 Martin Baulig <martin@ximian.com>
4027 * Exception.cs (Exception.ToString): Print a newline between the
4028 exception message and the stack trace.
4030 2003-02-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4032 * AppDomain.cs: implemented GetCurrentThreadId ().
4034 2003-02-14 Patrik Torstensson
4036 * Exception.cs: Fixed message output formating
4038 2003-02-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4041 (Parse): ignore everything after a \0 (MS parses: "512\0hola" as 512).
4043 2003-02-12 Miguel de Icaza <miguel@ximian.com>
4045 * Type.cs: IsClass should return false for Enumerations
4047 2003-02-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4049 * MonoCustomAttrs.cs: return the correct array type in the short case.
4052 2003-02-08 Pedro Martíenz Juliá <yoros@wanadoo.es>
4054 * Math.cs: Fix a few methods (like Round) and add with comments the
4055 new methods: BigMul and DivRem that were in ECMA specs.
4057 2003-02-07 Patrik Torstensson
4059 * Exception.cs: Fixed formating
4061 2003-02-05 Patrik Torstensson
4063 * AppDomain.cs: Partly fixed the unload method
4065 2003-02-04 Patrik Torstensson
4067 * AppDomain.cs: Fixed lease issue with appdomain
4069 2003-02-04 Lluis Sanchez Gual <lluis@ideary.com>
4071 * MarshalByRefObject.cs: Implemented GetLifetimeService() and
4072 InitializeLifetimeService().
4074 2003-02-03 Patrik Torstensson
4076 * AppDomain.cs: New internalcalls for handling domain/context switches
4077 * AppDomain.cs (CreateDomain): Return transparant proxy for appdomain object
4079 2003-02-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4081 * AppDomain.cs: implemented AppendPrivatePath, ClearPrivatePath
4082 and ClearShadowCopyPath and fixed GetType ().
4084 * Attribute.cs: clean up.
4086 * Console.cs: removed UnixConsoleEncoding. Use Default.
4088 2003-02-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4090 * Attribute.cs: fixed all IsDefined overloads. Gotta fix
4091 GetCustomAttributes later.
4093 2003-01-31 Patrik Torstensson
4095 * Buffer.cs: Changed access level of BlockCopyInternal
4097 Thu Jan 30 19:54:30 CET 2003 Paolo Molaro <lupus@ximian.com>
4099 * String.cs, IntegerFormatter.cs: use const where appropriate.
4101 2003-01-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4103 * MonoCustomAttrs.cs: fixed GetBase () for Type. Thanks to Zoltan for
4106 2003-01-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4108 * MonoCustomAttrs.cs: fixed shortcut in GetCustomAttributes.
4109 The argument ICustomAttributeProvider can be of other types different
4110 from Type. Handle it.
4112 2003-01-28 Zoltan Varga <vargaz@freemail.hu>
4114 * DateTime.cs: fix FromFileTime so the time returned by
4115 File::GetLastModificationTime etc. is in the correct timezone.
4117 2003-01-28 Patrik Torstensson
4118 * Exception.cs: reverted formating/endline changes (sorry guys)
4120 2003-01-28 Patrik Torstensson
4122 * MarshalByRefObject.cs: implemented GetObjectIdentity
4123 * Exception.cs: added support for remote exceptions
4125 2003-01-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4127 * DateTime.cs: fixed bug #37225.
4129 2003-01-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4131 * Enum.cs: Clone the arrays in GetNames and GetValues. Thanks lupus!
4133 2003-01-27 Zoltan Varga <vargaz@freemail.hu>
4135 * AppDomain.cs: Added DoTypeResolve method which will be called by
4136 the runtime to raise TypeResolve events.
4138 2003-01-27 Duncan Mak <duncan@ximian.com>
4140 * Enum.cs (ToType): Implement this using Convert.ToType.
4142 2003-01-21 Miguel de Icaza <miguel@ximian.com>
4144 * Math.cs: Remove Pow's implementation body as it was wrong. The
4145 C code does the right thing. The code was trying to handle a
4146 number of cases, and that was incorrect.
4148 2003-01-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4150 * CharEnumerator.cs: fix to Current by crainaj@hotmail.com. Closes
4153 2003-01-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4155 * Enum.cs: added caching to GetInfo.
4157 2003-01-23 Dick Porter <dick@ximian.com>
4159 * Environment.cs (System): Implemented ExitCode
4161 2003-01-23 Zoltan Varga <vargaz@freemail.hu>
4163 * Type.cs (IsInstanceOfType): fixed regression caused by the change
4166 2003-01-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4168 * MonoType.cs: re-added lines that were removed in the previous commit.
4170 2003-01-16 Lluis Sanchez Gual <lsg@ctv.es>
4172 * Type.cs: corrected property IsSerializable. It should always return
4173 true for enums and delegates
4174 * MonoType.cs: added serialization support.
4175 * Delegate.cs: added serialization support.
4176 * DBNull.cs: added serialization support.
4177 * UnitySerializationHolder.cs: supports serialization of Assembly,
4178 MonoType and DBNull.
4179 * DelegateSerializationHolder.cs: added.
4181 2003-01-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4183 * Exception.cs: changed default message to match MS one.
4185 2003-01-12 Patrik Torstensson <totte@race-x-change.com>
4187 * String.cs: Fixed bug with CompareOrdinal
4189 2003-01-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4191 * Enum.cs: implements IFormattable.
4193 2003-01-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4195 * AppDomain.cs: implemented DoCallBack method.
4197 (GetConstructorImpl): when the flag is BindingFlags.Default, set it to
4200 NUnit2 tests start moving.
4202 2003-01-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4204 * Activator.cs: fixed bug #36052. Also added checks to avoid trying to
4205 instantiate an abstract class.
4207 2003-01-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4210 (IsSubclassOf): return false when null. Use != instead of Equals.
4212 2003-01-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4214 * Type.cs: fixed IsSubclassOf. Patch from Zoltan Varga.
4216 Fri Jan 3 20:18:51 CET 2003 Paolo Molaro <lupus@ximian.com>
4218 * MonoType.cs: fixed Namespace property for nested types.
4220 Fri Jan 3 16:18:27 CET 2003 Paolo Molaro <lupus@ximian.com>
4222 * MonoCustomAttrs.cs: create properly typed arrays when returning
4223 arrays of attributes of a given type.
4225 Fri Jan 3 11:10:14 CET 2003 Paolo Molaro <lupus@ximian.com>
4227 * MonoType.cs: fixed MemberType property for nested types.
4229 2003-01-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4231 * String.cs: fixed bug #36209.
4233 2002-12-20 Lluis Sanchez Gual <lsg@ctv.es>
4235 * Activator.cs: implemented method GetObject.
4237 2002-12-28 Marcus Urban <mathpup@mylinuxisp.com>
4239 * Activator.cs: Since the documentation indicates the method
4240 either succeeds or throws one of the listed exceptions, we weren't
4241 expecting that CreateInstance might be returning null.
4243 For more information on the bug, see http://bugs.ximian.com/show_bug.cgi?id=36109
4245 2002-12-20 Lluis Sanchez Gual <lsg@ctv.es>
4247 * MarshalByRefObject.cs: implemented CreateObjRef.
4249 2002-12-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4251 * DateTime.cs: fixed bug #30076.
4252 * TimeZone.cs: provide the parameter name in a exception.
4254 2002-12-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4256 * DecimalFormatter.cs: fixed bug #35560.
4258 Wed Dec 4 16:04:28 CET 2002 Paolo Molaro <lupus@ximian.com>
4260 * Type.cs: implemented GetInterfaceMap (needs an updated runtime).
4262 2002-12-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4264 * Array.cs: use Object.Equals (obj, obj) to compare objects to avoid
4265 nulls. Fixes #34909.
4267 2002-12-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4269 * AppDomain.cs: DoAssemblyResolve now returns when one of the handlers
4270 returns a non-null assembly.
4272 2002-12-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4274 * MulticastDelegate.cs: make GetInvocationList work for more than 1
4277 2002-12-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4279 * MulticastDelegate.cs: implemented GetInvocationList. I'll check later
4280 if this is the correct order of invocation.
4282 2002-12-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4284 * Type.cs: changed the signature of internal_from_name. Modified
4285 the overloads of GetType to use it and check the typeName argument.
4286 Implemented FindInterfaces.
4288 2002-11-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4290 * MarshalByRefObject.cs: undo latest changes. It breaks the build by
4291 some obscure reasons (try make -f makefile.gnu using a corlib which has
4292 the modified version).
4294 2002-11-26 Miguel de Icaza <miguel@ximian.com>
4296 * String.cs (Concat): Reduce the number of compares required.
4298 Mon Nov 18 17:54:22 CET 2002 Paolo Molaro <lupus@ximian.com>
4300 * Activator.cs: throw a MissingMethodException if the default
4301 constructor is not found in CreateInstance.
4303 2002-11-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4306 (Equals (str, str)): use 'as' instead of casting to object.
4307 (Equals (obj)): check the length of the strings (until now,
4308 "Hello".Equals ((object) "Hellow World!) was true!).
4310 2002-11-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4312 * MonoType.cs: implemented GetEvent (name, flags).
4314 2002-11-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4316 * AppDomain.cs: implemented a couple of methods called from the runtime
4317 to fire AssemblyLoad and AssemblyResolve events.
4319 2002-10-31 Dick Porter <dick@ximian.com>
4321 * Environment.cs: MonoIO methods now have an error parameter
4323 2002-10-29 Zoltan Varga <vargaz@freemail.hu>
4325 * Enum.cs: Added support for whitespaces in Enum:Parse().
4327 2002-10-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4329 * Type.cs: fixed GetProperty (string, Type []) and removed get_property
4330 internal call. Closes bug #32992.
4332 2002-10-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4334 * Exception.cs: display the inner exception, if any, in ToString ().
4336 2002-10-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4338 * Environment.cs: fixed StackTrace property.
4340 2002-10-16 Nick Drochak <ndrochak@gol.com>
4342 * Enum.cs (Parse): Then fix the code so that it works too.
4344 2002-10-15 Nick Drochak <ndrochak@gol.com>
4346 * Enum.cs (Parse): Use unsigned casts to avoid compiler warnings.
4348 2002-10-12 Nick Drochak <ndrochak@gol.com>
4350 * IntegerFormatter.cs: Fix compiler warnings.
4352 2002-10-11 Tim Haynes <thaynes@openlinksw.com>
4354 * Type.cs (GetConstructors): Use the correct flags.
4356 2002-10-09 Nick Drochak <ndrochak@gol.com>
4358 * IntegerFormatter.cs: Suppress insignificant leading zeros
4360 Fri Sep 27 15:06:29 CEST 2002 Paolo Molaro <lupus@ximian.com>
4362 * MonoCustomAttrs.cs: applied patch by "Si Jingnan"
4363 <stonewell@21cn.com> to return also derived types.
4365 2002-09-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4367 * Activator.cs: little fix in CreateInstance (Type, bool).
4369 2002-09-19 Duncan Mak <duncan@ximian.com>
4371 * Array.cs (CopyTo): Revert back to 1.40, this is stopping
4372 I18N/Common from building right now.
4374 2002-09-19 Nick Drochak <ndrochak@gol.com>
4376 * Array.cs (CopyTo): Account for Object type and base (primitive) types
4377 * Type.cs (IsAssignableFrom): return false for a null parameter
4379 2002-09-19 Nick Drochak <ndrochak@gol.com>
4381 * Array.cs (CopyTo): Check that source type can be cast automatically
4382 to the destination type.
4384 2002-09-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4386 * Type.cs: implemented IsAssignableFrom, DefaultBinder and
4389 2002-09-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4391 * Char.cs: implemented ToString (char)
4392 * IntegerFormatter.cs: made it internal.
4394 2002-09-13 Nick Drochak <ndrochak@gol.com>
4396 * Enum.cs (Format): handle the "d" format for both signed and unsigned
4399 2002-09-12 Dick Porter <dick@ximian.com>
4401 * UIntPtr.cs: Remove the [StructLayout(LayoutKind.Auto)]
4402 attribute, as there doesn't appear to be any struct
4403 layout-depending code here (and corcompare says it should be
4404 LayoutKind.Sequential)
4406 * Decimal.cs: Stub out missing methods, add
4407 [DecimalConstantAttribute] to the constant fields (as shown by
4410 * LocalDataStoreSlot.cs:
4413 * Array.cs: Stub out missing methods.
4415 * TypedReference.cs:
4416 * ArgIterator.cs: Stub out
4418 * AppDomainSetup.cs:
4419 * AppDomain.cs: Stub out missing methods, add missing
4420 ClassInterface(ClassInterfaceType.None) attribute.
4422 2002-09-12 Nick Drochak <ndrochak@gol.com>
4424 * Double.cs (ToString): Throw exception when "X" format is passed in.
4426 Wed Sep 11 15:26:34 CEST 2002 Paolo Molaro <lupus@ximian.com>
4428 * MonoType.cs: implemented Module property.
4430 Wed Sep 11 12:49:51 CEST 2002 Paolo Molaro <lupus@ximian.com>
4432 * MonoType.cs, Type.cs: implemented InvokeMember.
4434 Wed Sep 11 11:06:43 CEST 2002 Paolo Molaro <lupus@ximian.com>
4436 * Delegate.cs: check the type passed to CreateDelegate is a Delegate
4437 type. Check the method signature matches.
4439 Sat Sep 7 10:16:52 CEST 2002 Paolo Molaro <lupus@ximian.com>
4441 * RuntimeMethodHandle.cs: implemented GetFunctionPointer().
4443 2002-09-06 Miguel de Icaza <miguel@ximian.com>
4445 * Console.cs: Specify an encoder, otherwise we will get the UTF8
4446 encoder that by default emits the byte markers.
4448 Fri Sep 6 20:14:04 CEST 2002 Paolo Molaro <lupus@ximian.com>
4450 * Delegate.cs: look also for non-public methods until we have the
4451 security checks in place.
4453 Fri Sep 6 12:20:06 CEST 2002 Paolo Molaro <lupus@ximian.com>
4455 * MonoType.cs: consider also the full name in GetInterface.
4457 Fri Sep 6 12:11:28 CEST 2002 Paolo Molaro <lupus@ximian.com>
4459 * MonoType.cs: implemented GetMembers, GetConstructorImpl and
4460 GetMethodImpl using the binder.
4461 * Type.cs: GetConstructorImpl/GetConstructor fixes.
4463 2002-09-03 Jonathan Pryor <jonpryor@vt.edu>
4464 * Enum.cs: Get rid of warning CS0162.
4466 2002-09-04 Miguel de Icaza <miguel@ximian.com>
4468 * Double.cs, Single.cs, Char.cs, Boolean.cs: Use internal for the
4469 actual value instead of public.
4471 * LocalDataStoreSlot.cs: Make constructor internal.
4473 * Int16.cs, UInt16.cs, Int32.cs, UInt32.cs, Int64.cs, UInt64.cs,
4474 SByte.cs, Byte.cs, Char.cs: Use internal for the actual value
4477 2002-09-03 Jonathan Pryor <jonpryor@vt.edu>
4478 * Enum.cs: Fixed Enum.Format so that the "x" format specifier would work
4481 2002-08-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4483 * DateTime.cs: fixed buglet.
4485 Tue Aug 27 16:39:47 CEST 2002 Paolo Molaro <lupus@ximian.com>
4487 * MonoType.cs: speedup access to common data.
4489 2002-08-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4491 * Double.cs: implemented TryParse.
4493 * Math.cs: PowImpl is now private.
4495 * MissingFieldException.cs: implemented Message.
4497 * RuntimeMethodHandle.cs: stubbed GetFunctionPointer.
4499 * _AppDomain.cs: Uncommented ToString.
4501 2002-08-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4504 (IsValueTypeImpl): it's virtual, not abstract. Implemented.
4506 2002-08-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4508 * ArgumentException.cs: use the field instead of the property for
4511 * ArgumentOutOfRangeException.cs: modified Message.
4514 (_DoParse): throw out of range exception for year. Removed check
4515 for month (it's done in the constructor).
4517 2002-08-21 Miguel de Icaza <miguel@ximian.com>
4519 * Environment.cs: Implemented OSVersion property.
4521 2002-08-21 Dietmar Maurer <dietmar@ximian.com>
4523 * Exception.cs: set stack_trace to null
4525 Wed Aug 21 13:02:20 CEST 2002 Paolo Molaro <lupus@ximian.com>
4527 * AppDomain.cs: implemented ToString().
4529 2002-08-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4531 * AppDomain.cs: securityInfo can be null in CreateDomain.
4533 2002-08-19 Dick Porter <dick@ximian.com>
4535 * MonoType.cs: Add a space before the Assembly name in
4536 AssemblyQualifiedName (needed for resource files so the MS runtime
4539 2002-08-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4541 * AppDomain.cs: parameter name when throwing ArgumentNullException.
4543 * ArgumentException.cs: modified Message to do what MS does.
4545 * ArgumentNullException.cs: don't use {0} in message.
4547 * Exception.cs: use Message property in ToString ().
4549 2002-08-14 Cesar Octavio Lopez Nataren <cesar@ciencias.unam.mx>
4551 * WeakReference.cs: Changed the constructor and GetObjectData
4552 method needed for ISerializable implementation in order to be
4553 compatible with SOAP generated by MS.
4555 Wed Aug 14 17:34:07 CEST 2002 Paolo Molaro <lupus@ximian.com>
4557 * MonoType.cs, Type.cs: DeclaringType/ReflectedType fixes.
4559 2002-08-12 Dietmar Maurer <dietmar@ximian.com>
4561 * Exception.cs (ToString): changed the ouput format.
4563 2002-08-07 Dietmar Maurer <dietmar@ximian.com>
4565 * MonoType.cs: moved get_method icall to this class, we can
4566 remove it as soon someone provides a full featured GetMethodImpl.
4568 * Type.cs: use GetMethodImpl everywhere.
4570 * Delegate.cs: new CreateDelegate implementations.
4572 2002-08-06 Tim Coleman <tim@timcoleman.com>
4574 Fix bug #28582. Now checks parameters for properties
4577 2002-08-04 Nick Drochak <ndrochak@gol.com>
4579 * Buffer.cs: Throw correct exception in GetByte() and SetByte().
4581 2002-08-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4584 (FormatSpecifier): allow white space between the comman and the width
4587 2002-07-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4592 * UInt64.cs: fixed bug #28050. May be a MS bug?
4594 Thu Jul 18 14:47:03 CEST 2002 Paolo Molaro <lupus@ximian.com>
4596 * MonoType.cs: fix IsArrayImpl.
4598 2002-07-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4600 * String.cs: make ToLower (culture) and ToUpper (culture) use the
4601 default ToLower and ToUpper and don't throw NotImplemented.
4603 Sat Jul 13 15:09:01 CEST 2002 Paolo Molaro <lupus@ximian.com>
4605 * Type.cs: make GettTypeCode an icall. Test implementation of
4608 2002-07-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4610 * AppDomainSetup.cs: implemented LoaderOptimization.
4612 2002-07-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4614 * Activator.cs: some more intermediate results checking in
4615 in CreateInstance and CreateInstanceFrom and use GetConstructor and
4616 Invoke only with Type [] until the other overloaded versions work.
4618 2002-07-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4620 * Activator.cs: reformatted. Implemented CreateInstance* methods
4621 that return ObjectHandle.
4623 * AppDomain.cs: implemented CreateInstance*AndUnwrap methods.
4625 2002-07-03 Nick Drochak <ndrochak@gol.com>
4627 * Decimal.cs (Divide): Short cut the case where the dividend is 0 (and
4628 the divisor is not) and avoid the icall, which seems to have a bug.
4630 2002-07-03 Nick Drochak <ndrochak@gol.com>
4632 * Double.cs (CompareTo): Correctly handle the case where the instance
4633 is NaN. Also return 0 if the values are equal.
4635 2002/07/03 Nick Drochak <ndrochak@gol.com>
4637 * MissingMethodException: Add missing Message property
4638 * MissingMemberException: Add missing Message property
4640 2002-06-30 Nick Drochak <ndrochak@gol.com>
4642 * Double.cs (CompareTo): Just see which is bigger. Don't use the
4643 subtraction trick, it doesn't work when the values have a diference of
4646 * Single.cs (CompareTo): same
4648 2002-06-27 Martin Baulig <martin@gnome.org>
4650 * UIntPtr.cs (UIntPtr.Zero): Use an explicit `u' suffix in the
4651 constructor argument. [FIXME: The implicit conversion to an
4652 unsigned integer doesn't work with mcs.]
4654 2002-06-26 Martin Baulig <martin@gnome.org>
4656 * DecimalFormatter.cs: Removed MSTEST stuff, use `System',
4657 not `S = System'. This file now compiles with mcs.
4659 * String.cs: Removed the already ifdef-outed __arglist Concat function
4660 to make it compile with mcs.
4662 2002-06-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4664 * IntegerFormatter.cs:
4665 (FormatParse.FormatNumber): fixed custom format for negative numbers.
4667 2002-06-21 Martin Baulig <martin@gnome.org>
4669 * Double.cs: Replace the private `enum State' with constants since this
4670 will avoid some bigger headaches in mcs.
4672 Thu Jun 20 17:51:44 CEST 2002 Paolo Molaro <lupus@ximian.com>
4674 * TimeSpan.cs: do not pollute the namespace with the
4677 2002-06-18 Nick Drochak <ndrochak@gol.com>
4679 * ArgumentException.cs: Use the message given in the constructor when
4680 accessing the Message property. Thanks to Dietmar for the help with
4683 2002-06-17 Dietmar Maurer <dietmar@ximian.com>
4685 * MonoType.cs: GetField is now a InternalCall
4687 2002-06-13 Nick Drochak <ndrochak@gol.com>
4689 * DateTime.cs: (Parse): Accept dates that have no hour,min,sec. in the
4690 sortable format(s), e.g. "2002-02-25"
4692 2002/06/12 Nick Drochak <ndrochak@gol.com>
4694 * Random.cs (Next): Fix math error. Return a number within the range.
4696 2002-06-12 Nick Drochak <ndrochak@gol.com>
4698 * String.cs (IndexOf): Return -1 if start index is equal to string
4701 2002-06-10 Duncan Mak <duncan@ximian.com>
4703 * Convert.cs (ToDouble): Remove rounding in ToDouble (float).
4704 (ToType): Added null field in conversionTable to avoid
4705 IndexOutOfRangeException. Changed what exceptions we throw to match
4708 2002-06-11 Nick Drochak <ndrochak@gol.com>
4710 * Int64.cs (Parse): Added unique strings to the messages where we throw
4711 a FormatException. Needed these to debug, so just left them in since
4712 they might be useful later. Fixed Currency parsing where we weren't
4713 looking at CurrencyDecimalSeparator, etc.
4715 2002-06-09 Lawrence Pit <loz@cable.a2000.nl>
4717 * DateTime.cs: fixes to pass tests M0 to M6:
4718 if yy pattern then year values >= 30 are in 20th century
4719 rfc1123 pattern is always in GMT, therefor useutc must be false
4720 made GetNow() internal static so it can be called from TimeZone.
4721 * TimeZone.cs: removed dependency on year 2002 from initialization of
4724 2002-06-09 Duncan Mak <duncan@ximian.com>
4726 * Convert.cs (ToType): Rearranged what Exceptions we throw to
4729 2002-06-08 Duncan Mak <duncan@ximian.com>
4731 * Decimal.cs: Added support for the IConvertible interface.
4733 2002-06-08 Martin Baulig <martin@gnome.org>
4735 * Enum.cs (IsDefined): `value' may be of the enum's type itself, it
4736 doesn't necessarily need to be of the enum's underlying type.
4738 2002/06/07 Nick Drochak <ndrochak@gol.com>
4740 * String.cs: Add [Serializable] to class
4741 * SByte.cs (Parse): Add [CLSCompliant(false)] to all the overloads
4743 2002-06-04 Nick Drochak <ndrochak@gol.com>
4745 * Double.cs (Parse): Recognize the group separator string, but still we
4746 don't check the format for the proper number of digits between
4747 separators. Also throw OverflowException when we get Pos or Neg
4748 Infinity from runtime.
4750 2002-06-03 Duncan Mak <duncan@ximian.com>
4752 * Convert.cs (ToDouble): Fixed ToDouble (byte value).
4754 Mon Jun 3 12:18:18 CEST 2002 Paolo Molaro <lupus@ximian.com>
4756 * Type.cs: fixed GetTypeCode.
4758 2002-06-02 Duncan Mak <duncan@ximian.com>
4760 * Convert.cs (ToInt16): use Convert.ToInt16 (int) instead of a direct
4761 cast from an int so that we throw OverFlowException correctly.
4763 (ToInt64): Use a new 64bit version of ConvertToBase.
4765 (ConvertToBase): Add checks for overflow (checks Int32.MinValue
4766 and Int32.MaxValue).
4768 (ConvertFromBase64): New 64-bit version of ConvertFromBase.
4770 2002-06-02 Nick Drochak <ndrochak@gol.com>
4772 * Convert.cs (ToSByte): Check for special value.
4773 * Single.cs (Parse):
4774 * UInt16.cs (Parse):
4775 * UInt32.cs (Parse): Throw OverflowException if negative
4777 2002-06-02 Duncan Mak <duncan@ximian.com>
4779 * Convert.cs (DBNull): Point it to DBNull.Value.
4780 (IsDBNull): Instead of checking typecodes, just check to see if
4781 it's the same as the DBNull field.
4783 2002-06-02 Nick Drochak <ndrochak@gol.com>
4785 * Convert.cs (ConvertFromBase): Detect bad digits correctly.
4787 2002-06-02 Duncan Mak <duncan@ximian.com>
4789 * Char.cs (Parse): Simplify the Exception handling.
4791 * Convert.cs (ToDecimal): Remove call to Math.Round () when
4792 converting from a float.
4794 2002-05-30 Martin Baulig <martin@gnome.org>
4796 * MonoType.cs (GetInterface): Implemented.
4798 Thu May 23 17:17:28 CEST 2002 Paolo Molaro <lupus@ximian.com>
4800 * Activator.cs: implemented CreateInstance ().
4802 2002-05-22 Duncan Mak <duncan@ximian.com>
4804 * Convert.cs (ConvertToBase): Added new 64bit version.
4805 (BuildConvertedString64): New 64bit version of
4806 BuildConvertedString.
4808 This fixes bug 25068.
4810 (ConvertFromBase): Added additional test for checking if the
4811 digits are valid. Thanks to Miguel for coming up with this test.
4813 This fixes bug 25071.
4815 2002-05-21 Duncan Mak <duncan@ximian.com>
4817 * Convert.cs (ToType): Rearranged to fit the new layout of
4820 (conversionTable): Rearranged to fit the layout of the
4821 System.TypeCode enum.
4823 This should fix bug 25075.
4825 2002-05-21 Duncan Mak <duncan@ximian.com>
4827 * Convert.cs (ToString): Fixed the ToString methods. Previously I had
4828 mixed up the two code paths, one for converting to a specific base
4829 (this case), another from converting from a foreign base to base10
4830 (used by ToInt16|32|64 (string, int)). This fixes bug 25068.
4832 * Convert.cs (ToByte)
4833 (ToSByte): Fixed bug 25074. Added more bits to ConvertFromBase so
4834 that we won't confuse FormatException with OverflowException.
4836 2002-05-22 Lawrence Pit <loz@cable.a2000.nl>
4838 * Environment.cs: CommandLine missed spaces between arguments.
4839 Implemented StackTrace. Returning MachineName in UserDomainName
4842 Tue May 21 17:25:49 CEST 2002 Paolo Molaro <lupus@ximian.com>
4844 * MonoCustomAttrs.cs: handle inherit argument.
4846 2002-05-21 Nick Drochak <ndrochak@gol.com>
4848 * Math.cs (Pow): Change icall method name and insert parameter
4849 checks in for infinities and NaN.
4851 2002-05-13 Miguel de Icaza <miguel@ximian.com>
4853 * Double.cs (Parse): Reimplement by cleaning up the string first,
4854 and then passing to strtof in the mono runtime.
4856 * Single.cs (Parse): Use the Double implementation and cast to
4859 2002-05-21 Nick Drochak <ndrochak@gol.com>
4862 (Ceiling): Check for "special" values
4863 (Floor): Check for "special" values
4864 (Round): Fix off-by-one error on decimal shifting
4866 2002-05-20 Lawrence Pit <loz@cable.a2000.nl>
4868 * DateTime.cs: ToString () using "G" format specifier
4870 2002-05-19 Martin Baulig <martin@gnome.org>
4872 * Convert.cs (FromBase64CharArray): Do correct exception handling.
4874 2002-05-19 Martin Baulig <martin@gnome.org>
4876 * Convert.cs (FromBase64CharArray): Convert the char array using
4877 System.Text.UTF8Encoding, not UnicodeEncoding (which is UTF-16) to
4880 2002-05-17 Miguel de Icaza <miguel@ximian.com>
4882 * MonoType.cs: Style changes.
4884 * Type.cs: Style changes.
4886 2002-05-16 Piers Haken <piersh@friksit.com
4888 * UInt64.cs: fix declaration of IConvertible.To* overrides.
4890 2002-05-16 Nick Drochak <ndrochak@gol.com>
4892 * BitConverter.cs (ToString): Add parameter check for invalid start
4895 * Console.cs: Use AutoFlush on the StreamWriter for stdin and stdout
4896 now that StreamWriter uses buffering
4898 2002-05-14 Miguel de Icaza <miguel@ximian.com>
4900 * Double.cs: Oops. Also handle exponents without finding a dot.
4902 2002-05-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4904 * ChangeLog: removed empty entry at the top of the file.
4906 * Int32.cs: made static functions used by Parse internal.
4910 * UInt64.cs: removed static fucntions used by Parse and use the ones
4913 2002-05-12 Daniel Morgan <danmorg@sc.rr.com>
4915 * IServiceProvider.cs: added using System
4917 2002-05-09 Daniel Morgan <danmorg@sc.rr.com>
4919 * Single.cs: copied ToString() and Parse() methods from
4920 Double to Single and modified a tiny bit for Single.
4921 There is still a FIXME for Double and Single about
4922 passing the format and provider info to the icall too.
4924 2002-05-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4929 * UInt64.cs (Parse): don't use Char.IsNumber to test for hex digits.
4930 Don't use a delegate to test for valid digits.
4932 2002-05-01 Duncan Mak <duncan@ximian.com>
4935 * Math.cs: Added missing CLSCompliant attributes where necessary.
4937 2002-04-30 Duncan Mak <duncan@ximian.com>
4939 * ArgumentException.cs (Message):
4940 * ArgumentOutOfRangeException.cs (Message): Added.
4942 2002-04-30 Nick Drochak <ndrochak@gol.com>
4944 * MonoType.cs: Remove unused variable and eliminate a compiler warning.
4946 Mon Apr 29 15:32:02 CEST 2002 Paolo Molaro <lupus@ximian.com>
4948 * Environment.cs: support for Exit(), CommandLine, CommandLineArgs ().
4950 2002-04-28 Duncan Mak <duncan@ximian.com>
4952 * DivideByZeroException.cs: Added missing serialization constructor.
4954 * UnauthorizedAccessException.cs: Added the missing Serializable attribute.
4956 2002-04-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4958 * Math.cs: fix Floor () and Round (). Closes #23960.
4960 2002-04-27 Nick Drochak <ndrochak@gol.com>
4962 * Array.cs (IList.Contains): Should throw a RankException if this is
4963 called on a Rank > 1 array. Not in the docs, but this is what the
4966 2002-04-26 Duncan Mak <duncan@ximian.com>
4968 * MissingMemberException.cs: Made the message variable 'protected'
4969 instead of 'private', so that we can see it in
4970 MissingMethodException and MissingFieldException.
4972 * MissingFieldException.cs:
4973 * MissingMethodException.cs: Added missing (string, string)
4974 constructor, and also the Message property.
4976 2002-04-26 Martin Baulig <martin@gnome.org>
4978 * Enum.cs: Implemented the IConvertible methods.
4980 2002-04-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4982 * SByte.cs: little change in Parse (string) to avoid incorrect
4983 OverflowException thrown (reported by nickd).
4985 2002-04-22 Miguel de Icaza <miguel@ximian.com>
4987 * ValueType.cs: Add Serializable attribute.
4989 * String.cs: ifdef-out out the __arglist Concat function until I
4990 add support for that to mcs.
4992 2002-04-24 Patrik Torstensson <patrik.torstensson@labs2.com>
4994 * AppDomain.cs (GetValue): usage of the correct icall (bug)
4996 Wed Apr 24 21:15:44 CEST 2002 Paolo Molaro <lupus@ximian.com>
4998 * GC.cs: implement most of the methods as icalls.
5000 2002-04-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5002 * DecimalFormatter.cs (ToString): return correct value when the
5003 decimal number is 0.
5005 2002-04-24 Patrik Torstensson <patrik.torstensson@labs2.com>
5007 * Type.cs (GetProperty): fixed call syntax (needs an empty array not null)
5008 * MonoType.cs (GetPropertyImpl) : basic implementation (ignores types, bindingAttr, modifiers)
5010 2002-04-24 Nick Drochak <ndrochak@gol.com>
5012 * Double.cs (Parse): Handle case where there are no digits before the
5013 decimal point, such as ".1".
5015 2002-04-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5020 * UInt64.cs: fixed bug #23738 (hex numbers parsed wrong).
5022 2002-04-23 Patrik Torstensson <patrik.torstensson@labs2.com>
5024 * String.cs (Split): fixed invalid split of count 0 and 1.
5026 2002-04-23 Patrik Torstensson <patrik.torstensson@labs2.com>
5028 * String.cs (LastIndexOf): fixed argument checking.
5029 * String.cs (Equals): made internal for performace.
5031 2002-04-23 Nick Drochak <ndrochak@gol.com>
5033 * String.cs (Join): check argument and throw exception if needed
5035 2002-04-23 Nick Drochak <ndrochak@gol.com>
5037 * String.cs (StartsWith): check argument and throw exception if needed
5039 2002-04-22 Nick Drochak <ndrochak@gol.com>
5041 * String.cs (IndexOfAny): check arguments and throw exceptions as
5042 neccessary. ALso remove some debug WriteLines.
5044 2002-04-20 Dietmar Maurer <dietmar@ximian.com>
5046 * String.cs: use internal constructors
5049 Thu Apr 18 17:16:15 CEST 2002 Paolo Molaro <lupus@ximian.com>
5051 * MonoType.cs: make GetElementType its own icall.
5053 2002-04-18 Nick Drochak <ndrochak@gol.com>
5055 * String.cs: Modified file. Re-add methods needed by the unit tests.
5057 Thu Apr 18 12:38:32 CEST 2002 Paolo Molaro <lupus@ximian.com>
5059 * String.cs: some code speedups and restored GetTypeCode().
5061 2002-04-17 Patrik Torstensson <patrik.torstensson@labs2.com>
5063 * String.cs: New implementation using internal calls.
5065 2002-04-16 Nick Drochak <ndrochak@gol.com>
5067 * DecimalFormatter.cs: Trim off excess null characters from the string
5068 that decimal2string gives back.
5070 2002-04-16 Nick Drochak <ndrochak@gol.com>
5072 * String.cs (SubString): revert my change. I can't reproduce the
5075 2002-04-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5077 * Attribute.cs: added GetHashCode and Equals.
5079 2002-04-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5081 * Enum.cs: little improvements to Format ().
5083 Thu Apr 11 12:28:13 CEST 2002 Paolo Molaro <lupus@ximian.com>
5085 * String.cs: internalcall GetHashCode().
5086 * Array.cS: optimize access to elements.
5088 Wed Apr 10 21:20:19 CEST 2002 Paolo Molaro <lupus@ximian.com>
5090 * String.cs: make IndexOfAny() use an internalcall.
5092 2002-04-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5097 * UInt64.cs: fixed error when testing for validity of flags.
5099 2002-04-11 Nick Drochak <ndrochak@gol.com>
5101 * Double.cs: Use an internal call for ToString(). This is just a simple
5102 implementation to get away from throwing a NotImplementedException.
5104 2002-04-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5109 * UInt64.cs: changed Type.GetType () by typeof (), as suggested by
5113 * Int64.cs: throw an OverFlowException when parsing a string
5114 containing a dot followed by any non '0' number.
5116 2002-04-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5121 * UInt64.cs: added complex Parse ().
5123 2002-04-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5128 * Int64.cs: added complex Parse ().
5130 2002-04-09 Nick Drochak <ndrochak@gol.com>
5132 * Array.cs (BinarySearch): Add checks on paramters before using them
5133 and throw exceptions as needed.
5135 * Enum.cs (Format): Check if [Flags] is applied to enum and convert
5136 "G" format to "F" if so.
5138 Tue Apr 9 13:12:09 CEST 2002 Paolo Molaro <lupus@ximian.com>
5140 * MonoCustomAttrs.cs: return arrays of type Attribute[]
5141 instead of object[].
5143 2002/04/09 Nick Drochak <ndrochak@gol.com>
5145 * String.cs (Substring): Copy only non-null characters to the new
5148 2002-04-09 Nick Drochak <ndrochak@gol.com>
5150 * IntegerFormatter.cs: Don't use a format character to indicate a
5151 custom format was passed in. It was using 'z' to indicate a custom
5152 format, but really it should throw a format exception if the user
5153 tries to use "z" as the format string. Now it does.
5155 * Activator.cs: New File.
5157 2002-04-08 Nick Drochak <ndrochak@gol.com>
5159 * Enum.cs (ToString): Big ugly fix for the case where [Flags] is
5160 applied to an enum. Need to handle the different possible integer
5161 types of an enum somehow. Can anyone say generics?
5163 Mon Apr 8 06:22:42 2002 Piers Haken <piersh@friskit.com>
5165 * Convert.cs: switched the To*(object) methods to use
5166 IConvertible directly instead of calling ChangeType
5168 Sat Apr 6 20:08:41 CEST 2002 Paolo Molaro <lupus@ximian.com>
5170 * ValueType.cs: make Equals() an internalcall.
5172 Fri Apr 5 15:38:54 CEST 2002 Paolo Molaro <lupus@ximian.com>
5174 * Type.cs: also look for nested types in FindMembers.
5175 * MonoType.cs: make GetNestedTypes() an internalcall.
5177 2002-04-05 Nick Drochak <ndrochak@gol.com>
5179 * Enum.cs (Parse): Handle different underlying types.
5181 2002/04/04 Nick Drochak <ndrochak@gol.com>
5183 * Enum.cs (IsDefined): Throw exception when type of value to look for
5184 is not the correct one. Attempt to have it work with string values
5185 too, but not sure if the unit tests are getting that far yet.
5187 2002-04-04 Nick Drochak <ndrochak@gol.com>
5189 * Decimal.cs: Fix a couple of typos.
5191 Wed Apr 3 19:46:00 CEST 2002 Paolo Molaro <lupus@ximian.com>
5193 * Enum.cs: the values array is of the enum and not of the underlying
5194 type. Updates and some bug fixes.
5195 * MonoType.cs: make the internalcall return FullName instead of the
5196 assembly qualified name.
5197 * Type.cs: make ToString () simply return FullName.
5199 2002-04-03 Nick Drochak <ndrochak@gol.com>
5201 * Type.cs (GetTypeCode): provide some of the implementation for this
5202 method. It's still too simplistic to be considered complete.
5204 2002-04-02 Dietmar Maurer <dietmar@ximian.com>
5206 * Object.cs: fixed FieldGetter/FieldSetter signature
5208 2002-04-02 Nick Drochak <ndrochak@gol.com>
5210 * Environment.cs: add MonoTODO's on parts that should have it.
5212 2002-04-01 Nick Drochak <ndrochak@gol.com>
5214 * Enum.cs: added reality checks (check parameters to most methods that
5217 2002-03-30 Dietmar Maurer <dietmar@ximian.com>
5219 * Object.cs: added FieldGetter/FieldSetter
5221 2002-03-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5223 * IntegerFormatter.cs: fixed initialization error in static
5226 2002-03-28 Dietmar Maurer <dietmar@ximian.com>
5228 * Delegate.cs: added new field to store a trampoline function
5230 2002-03-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5232 * IntegerFormatter.cs: added workaround for bug #22668. First patch to
5233 make custom format strings work (not fully functional yet).
5235 2002/03/28 Nick Drochak <ndrochak@gol.com>
5237 * IntegerFormatter.cs: Change class from internal to public. Add
5238 necessary [CLSCompliant(false)] attributes.
5240 2002-03-27 Duco Fijma <duco@lorentz.xs4all.nl>
5241 * _AppDomain.cs, AppDomain.cs: renamed method GetDate to GetData
5244 2002-03-28 Nick Drochak <ndrochak@gol.com>
5246 * Type.cs: Added MonoTODO tags on members that have FIXME, etc.
5248 2002-03-27 Dan Lewis <dihlewis@yahoo.co.uk>
5250 * Console.cs: Modified to get std handles from MonoIO.
5251 * Environment.cs: removed PAL dependencies.
5253 2002-03-25 Miguel de Icaza <miguel@ximian.com>
5255 * String.cs (System): Removed internal enumeration, because
5256 bootstrapping the corlib at this point does not support
5259 * IntPtr.cs: Temporary work-around until I fix the assembly
5262 2002-03-24 Martin Baulig <martin@gnome.org>
5264 * Enum.cs (GetValues): According to the docu this is sorted after
5267 * String.cs (System): Removed enumeration, because it is pretty
5268 hard to support enumerations in /nostdlib mode for the core types.
5270 Tue Mar 19 18:18:49 CET 2002 Paolo Molaro <lupus@ximian.com>
5272 * Array.cs: move error handling in the catch block.
5273 * MulticastDelegate.cs: remove == and != operators that were
5274 removed with the delegate changes (when you add stuff, please do not
5275 remove existing functionality!).
5276 * Type.cs: if a property is not found in a type, search for it
5277 in the parent types, too.
5279 2002-03-18 Dan Lewis <dihlewis@yahoo.co.uk>
5281 * Math.cs: changed to use icall instead of PAL.
5283 2002-03-18 Dietmar Maurer <dietmar@ximian.com>
5285 * Double.cs: added check for NaN (Bug [22082])
5287 2002-03-19 Nick Drochak <ndrochak@gol.com>
5289 * Enum.cs (Equals): check for null and throw if it is.
5290 * Enum.cs (Format): check for null parameters and throw if necessary.
5291 This method still needs more argument checking.
5293 2002-03-18 Dietmar Maurer <dietmar@ximian.com>
5295 * Enum.cs (Equals): check if Enums are of the same type
5297 2002-03-18 Nick Drochak <ndrochak@gol.com>
5299 * Double.cs: Explicitly handle comparisons in CompareTo() for
5300 Positive/Negative Infinity and NaN. Unit Test now passes on Linux.
5302 * Enum.cs(CompareTo): Check types of values before trying to compare.
5303 Throw exceptions if types are invalid or don't match.
5305 2002-03-14 Miguel de Icaza <miguel@ximian.com>
5307 * Array.cs: Add some extra debugging information.
5309 2002-03-15 Nick Drochak <ndrochak@gol.com>
5311 * Array.cs: Added IList and IEnumerable.
5313 2002-03-14 Miguel de Icaza <miguel@ximian.com>
5315 * UInt64.cs, UInt32.cs, UInt16.cs: Mark public parse methods as
5318 2002-03-14 Dietmar Maurer <dietmar@ximian.com>
5320 * Delegate.cs (Equals): also compare method_ptr
5321 (GetHashCode): returm method_ptr as hash
5323 2002-03-13 Duco Fijma <duco@lorentz.xs4all.n>
5324 * TimeSpan.cs: removed the use of Custom Numeric Format Strings,
5325 such as 42.ToString("0000000"), as these are (currently) not implemented
5326 in System.IntegerFormatter. TimeSpan luckely can do with Standard
5327 Numeric Format Strings, such as 42.ToString("D7").
5329 2002-03-12 Duncan Mak <duncan@ximian.com>
5331 * FieldAccessException.cs:
5332 * MethodAccessException.cs:
5333 * PlatformNotSupportedException.cs: Inherit from
5334 MemberAccessException, not SystemException.
5336 * ObsoleteAttribute.cs: Made Message and IsError properties
5339 Tue Mar 12 19:21:18 CET 2002 Paolo Molaro <lupus@ximian.com>
5341 * GC.cs: make SuppressFinalize() a nop.
5342 * Delegate.cs: fix == operator.
5344 2002-03-13 Nick Drochak <ndrochak@gol.com>
5346 * Enum.cs: Add IConvertible methods. Cyclic dependancy fixed in the
5347 runtime that goes with this patch.
5349 2002-03-10 Martin Baulig <martin@gnome.org>
5351 * Int32.cs (Parse): Correctly parse negative numbers.
5353 2002-03-08 Martin Baulig <martin@gnome.org>
5355 * String.cs (Split): Really fix it this time. Also adding several new
5356 testcase to the testsuite.
5358 2002-03-08 Martin Baulig <martin@gnome.org>
5360 * Array.cs (Copy): Optimized: removed duplicate null check, removed
5361 two duplicate GetLowerBound() calls and one duplicate IsValueType.
5363 Fri Mar 8 18:49:19 CET 2002 Paolo Molaro <lupus@ximian.com>
5365 * Object.cs: commit my hacked GetHashCode(): it's good enough for now.
5366 * String.cs: use the dumb code for IndexOf(string): this is worth
5367 15-20 % speedup in mcs compile with mint.
5369 Fri Mar 8 12:45:44 CET 2002 Paolo Molaro <lupus@ximian.com>
5371 * String.cs: revert change to Split() that broke the compiler (hi martin!:-).
5373 2002-03-07 Martin Baulig <martin@gnome.org>
5375 * String.cs (Join): Throw an ArgumentNullException.
5376 (LastIndexOf (string,int,int)): This method does a backwards search,
5377 so startIndex points to the end of value, not to its beginning. Don't
5378 throw an exception if startIndex equals this.Length. Always return -1
5379 if startIndex is smaller than the length of value.
5380 (Replace (string,string)): Replace all occurences of oldValue.
5381 If newValue is null, all occurences of oldValue are to be removed.
5382 (Split (char[],int)): Return an empty array if maxCount is zero, throw
5383 an ArgumentOutOfRangeException if it's less than zero. Return maxValue
5384 elements, not maxValue+1.
5386 Thu Mar 7 17:16:06 CET 2002 Paolo Molaro <lupus@ximian.com>
5388 * MonoType.cs: make GetEvents() an internal call.
5389 * MulticastDelegate.cs: copy the passed in array.
5391 2002-03-06 Martin Baulig <martin@gnome.org>
5393 * Array.cs (Copy): Use FastCopy when appropriate and do correct
5396 2002-03-06 Duco Fijma <duco@lorentz.xs4all.nl>
5397 * CharEnumerator.cs: fixes to CharEnumertor.MoveNext, fixing
5398 some of the failures found be new tests (see ChangeLog in
5399 Test/System). Comments added to this method, based on
5400 the representation invariant of this class, that (try to) explain
5401 why it now should be correct.
5403 2002-03-06 Dietmar Maurer <dietmar@ximian.com>
5405 * Int64.cs (Parse): bug fix for max. negative value.
5407 2002-03-07 Nick Drochak <ndrochak@gol.com>
5409 * RuntimeTypeHandle.cs: Add Serializable attribute as the docs say.
5410 I need to understand what the difference between the attribute and
5413 2002-03-06 Martin Baulig <martin@gnome.org>
5415 * Array.cs (Copy): Always throw an ArrayTypeMismatchException, not
5416 an InvalidCastException if the widening conversion failed. See
5417 testcases #M94-#M96.
5419 * Array.cs (CopyTo): Bug fix from Ajay Dwivedi, correctly handle
5420 arrays with non-zero lower bounds. Also adding testcases #F10-#F13
5423 * Array.cs (CopyTo): Reverted my last change, it was incorrect.
5424 (Copy): Actually allow copying multi-dimensional arrays.
5426 2002-03-05 Duncan Mak <duncan@ximian.com>
5429 (DBNull) Added the missing field.
5430 (IsDBNull) Fixed typo.
5431 (ToByte (string, int)) Implemented.
5432 (ToString (byte, int)) Implemented.
5434 (BuildConvertedString) internal functions used for converting values to
5442 * UInt32.cs: Implemented the IConvertible interface.
5444 * CharEnumerator.cs: Renamed to variables to be clearer and
5445 changed some of the tests to conform to the 1.0 spec.
5447 2002-03-06 Martin Baulig <martin@gnome.org>
5449 * Array.cs (Copy): Calculate absolute array position here and use
5450 GetValueImpl() and SetValueImpl() with that position. We can now
5451 copy multi-dimensional arrays.
5452 (CopyTo): Small bug fix.
5454 2002-03-05 Duco Fijma <duco@lorentz.xs4all.nl>
5456 * Version.cs: CompareTo changed according the LAMESPEC discovered by
5457 Nick (See VersionTest.cs).
5458 * CharEnumerator.cs: fixed two bugs in MoveNext. It had an off-by-one
5459 error comparing the current position (idx) against the length of the
5460 string iterated and it set idx to an unrecognized special value (-2)
5462 Tue Mar 5 17:34:14 CET 2002 Paolo Molaro <lupus@ximian.com>
5464 * SByte.cs, UInt64.cs: implement IConvertible interface. Nobody wants
5465 to do this dirty work, but someone has to do it (and I need it to pass
5466 the "200 sample tests compiled on linux" mark).
5468 2002-03-06 Nick Drochak <ndrochak@gol.com>
5471 * DecimalFormatter.cs
5478 * RuntimeMethodHandle.cs
5479 * RuntimeTypeHandle.cs
5482 Add [MonoTODO]'s to places where we currently throw a
5483 NotImplementedException.
5485 2002-03-05 Dietmar Maurer <dietmar@ximian.com>
5487 * Int16.cs (Parse): do not overflow on max negative value
5489 * Int32.cs (Parse): do not overflow on max negative value
5491 Mon Mar 4 20:36:05 CET 2002 Paolo Molaro <lupus@ximian.com>
5493 * Type.cs: fixed IsClass.
5494 * MonoType.cs: fixed MemberType, IsPrimitiveImpl, IsPointerImpl,
5495 IsByRefImpl. Added GetInterfaces().
5496 * IServiceProvider.cs: compilation fix.
5498 Mon Mar 4 18:37:03 CET 2002 Paolo Molaro <lupus@ximian.com>
5500 * Array.cs: allow copying an empty array to an empty array.
5502 Mon Mar 4 17:59:16 CET 2002 Paolo Molaro <lupus@ximian.com>
5504 * String.cs: fixed LastIndexOf (string) to do a bit of argument
5507 2002-03-04 Duco Fijma <duco@lorentz.xs4all.nl>
5508 * Version.cs: many fixes to failures found by the newly created
5509 test cases for this class. Specifically, the CompareTo member
5510 returned wrong values due to the use of Int32.MaxValue as a special
5511 value indicating an "undefined" version component. Also implemented the
5512 missing operators (==, <, >, etc.), one missing constructor and
5513 and some exception throwing.
5515 2002-03-04 Nick Drochak <ndrochak@gol.com>
5517 * IServiceProvider.cs: Add missing attribute: ComVisible(false)
5518 * Attribute.cs: Add missing attributes: Serializable and
5519 AttributeUsage(AttributeTargets.All)
5521 Mon Mar 4 11:26:49 CET 2002 Paolo Molaro <lupus@ximian.com>
5523 * MonoType.cs: implemented GetConstructors(), GetFields(),
5524 GetMethods(), GetProperties().
5525 * Object.cs: added debugging icall obj_address().
5526 * Type.cs: fixed the binding flags for some Get* methods.
5527 Implemented FindMembers() as calls to the specific GetMember
5530 2002-03-01 Duco Fijma <duco@lorentz.xs4all.nl>
5531 * BitConverter.cs: fixed one little bug: ToString(s, n, 0)
5532 should give an exception for n>=s.Length.
5534 2002-03-01 Martin Baulig <martin@gnome.org>
5536 * Array.cs: More argument checking and bug fixing.
5538 2002-03-01 Miguel de Icaza <miguel@ximian.com>
5540 * BitConverter.cs: Indentation match
5542 * AppDomain.cs: Added MonoTODOs to this too.
5544 * Buffer.cs: Added MonoTODOs to this.
5546 2002-03-01 Martin Baulig <martin@gnome.org>
5548 * Array.cs: Added argument checking to all methods where it was missing.
5550 2002-03-01 Duco Fijma <duco@lorentz.xs4all.nl>
5552 * BitConverter.cs: Fixed bugs in ToString methods
5554 Fri Mar 1 15:20:00 CET 2002 Paolo Molaro <lupus@ximian.com>
5556 * MulticastDelegate.cs: implement operators so mcs3 can be used on linux.
5558 2002-03-01 Nick Drochak <ndrochak@gol.com>
5560 * BitConverter.cs: Throw ArgumentException like mscorlib, instead of
5561 ArgumentOutOfRangeException like the docs say.
5563 2002-03-01 Martin Baulig <martin@gnome.org>
5565 * Enum.cs (CompareTo): Correctly override this method from IComparable.
5567 * Console.cs (setIn, setOut, setError): It's called SetIn, SetOut, SetError.
5569 2002-02-28 Martin Baulig <martin@gnome.org>
5571 * String.cs: This file now passes the testsuite on Linux :-)
5573 * String.cs (Intern, IsInterned): The interncalls are now called _Intern and _IsInterned;
5574 make them private and provide C# wrappers which do proper argument checking.
5576 * String.cs (Format): Correctly handle escaped brackets.
5578 * String.cs (_CompareChar): New internal function which compares two chars.
5579 (_Compare): Provide an internal compare method which can do all sorts of
5580 comparision and call it from all the Compare() methods. Also fixed a lot of
5581 bugs here, this code now actually passes the testsuite.
5583 2002-02-28 Duncan Mak <duncan@ximian.com>
5585 * Convert.cs: Added the missing methods. The new class status page
5586 kicks ass, it even found my typos! Woohoo!
5587 (ConvertFromBase): Moved the Exception throwing in here and
5588 removed the other occurances so it's all centralized now.
5589 (ISDBNull): Implemented.
5590 (GetTypeCode): Implemented.
5592 2002-02-27 Duco Fijma <duco@lorentz.xs4all.nl>
5593 * Guid.cs: Guid.ToString("") and Guid.ToString(null) is now understood as Guid.ToString("D")
5594 just as in mscorlib. There is (probably) a documentation bug in the MS FrameWork SDK, which
5595 states that a lacking format should be interpreted as "N".
5596 Also added [Serializable] attribute
5597 * TimeSpan.cs: some formatting and added the [Serializable] attribute
5599 2002-02-26 Duncan Mak <duncan@ximian.com>
5601 * WeakReference.cs: Committed for Ajay Kumar Dwivedi.
5603 2002-02-26 Martin Baulig <martin@gnome.org>
5605 * TimeZone.cs: Use an internal enum rather than magic numbers to access the
5606 fields of the interncall GetTimeZoneData.
5608 * DateTime.cs: Implemented Parse and fixed a few bugs.
5610 * String.cs (TrimStart): Small fix.
5612 2002-02-26 Martin Baulig <martin@gnome.org>
5614 * DateTime.cs: ParseExact is now fully functional.
5616 * String.cs (TrimEnd): Small fix.
5618 2002-02-26 Duco Fijma <duco@lorentz.xs4all.nl>
5619 * TimeSpan.cs: Added method TimeSpan.FromMilliseconds, mysteriously
5620 missing for about six months.
5622 Tue Feb 26 14:21:19 CET 2002 Paolo Molaro <lupus@ximian.com>
5624 * UInt64.cs: fixed Parse method () to handle some of the NumberStyle flags.
5626 2002-02-26 Martin Baulig <martin@gnome.org>
5628 * DateTime.cs: Miguel already committed this, but there was still a
5629 ChangeLog entry for this missing ....
5630 We're now reusing functionality from TimeSpan, printing dates is
5631 fully implemented, currently working on parsing.
5633 * TimeZone.cs: Fully implemented this. There's a new InternCall in the
5636 Fri Feb 22 18:47:08 CET 2002 Paolo Molaro <lupus@ximian.com>
5638 * MonoType.cs: disable constructor.
5639 * Object.cs: make GetType() an internalcall.
5640 * Type.cs: added correct bindingflags to GetMethods ().
5641 All such calls should be reviewed to use the correct flags.
5643 Thu Feb 21 19:23:46 CET 2002 Paolo Molaro <lupus@ximian.com>
5645 * Type.cs, MonoType.cs: type_is_subtype_of () changed to include extra
5648 Thu Feb 21 16:56:51 CET 2002 Paolo Molaro <lupus@ximian.com>
5650 * Type.cs: implemented IsAssignableFrom.
5652 2002-02-21 Duco Fijma <duco@lorentz.xs4all.nl>
5653 * Guid.cs: fixed Guid.Guid(string) ctor. Changed format:
5654 "{0xdddddddd,0xdddd,0xdddd,{0xdd},{0xdd},{0xdd},{0xdd},{0xdd},{0xdd}}"
5655 to "{0xdddddddd,0xdddd,0xdddd,{0xdd,0xdd,0xdd,0xdd,0xdd,0xdd}}"
5656 The former is documented by Microsoft. The latter is how they
5657 actually implemented it in mscorlib:-)
5659 Tue Feb 19 20:34:35 CET 2002 Paolo Molaro <lupus@ximian.com>
5661 * MonoCustomAttrs.cs: hooks to get the custom attributes from the
5663 * MonoType.cs: Implemented custom attributes methods.
5666 2002-02-21 Duco Fijma <duco@lorentz.xs4all.nl>
5669 Tue Feb 19 20:34:35 CET 2002 Paolo Molaro <lupus@ximian.com>
5671 * MonoCustomAttrs.cs: hooks to get the custom attributes from the
5673 * MonoType.cs: Implemented custom attributes methods.
5675 2002-02-19 Dietmar Maurer <dietmar@ximian.com>
5677 * Array.cs (CopyTo): use GetLength() instead of GetUpperBound()
5679 2002-02-19 Duncan Mak <duncan@ximian.com>
5681 * Convert.cs: Finished up the missing methods in Convert. Added a
5682 new private method ConvertFromBase.
5684 2002-02-19 Dietmar Maurer <dietmar@ximian.com>
5686 * String.cs: impl. IConvertible interface
5688 2002-02-18 Duco Fijma <duco@lorentz.xs4all.nl>
5689 * Guid.cs: actual implementation for Guid.Guid(string) Ctor
5691 2002-02-18 Duncan Mak <duncan@ximian.com>
5693 * Convert.cs: Changed from using Type.GetType (string) to just
5694 typeof (). Probably will speed things up a bit?
5696 2002-02-18 Ajay Kumar Dwivedi <AjayKumar.Dwivedi@dresdner-bank.com>
5699 1. Fix for GetUpperBound to return correct values
5700 2. made some Properties virtual
5701 3. Adds IsFixedSize and IsReadOnly properties.
5702 4. changes CreateInstance(Type,int[],int[]) to throw Exception
5703 when third arg is null. InternalCall CreateInstance changed to
5705 5. Fixed array.GetUpperBound at a couple of places
5706 6. IndexOf and LastIndexOf now use Object.Equals instead of "=="
5707 7. Added two FIXME's in BinarySearch functions.
5709 2002-02-17 Duncan Mak <duncan@ximian.com>
5711 * TimeZone.cs: Applied the rest of Ajay's patch for
5712 IsDaylightSavingTime. Thanks a lot for the nice explanation of how
5715 2002-02-17 Duco Fijma <duco@lorentz.xs4all.nl>
5716 * Guid.cs: added stub for Guid(string) ctor
5718 2002-02-17 Duncan Mak <duncan@ximian.com>
5720 * Convert.cs: Near-complete implementation of Convert.cs
5722 Added all the To* methods taking (object) and
5723 (object, IFormatProvider) as parameters.
5725 Added [CLSCompliant (false)] attributes to methods dealing with
5728 Added the missing section on converting to and from DateTime. Only
5729 6 missing methods, all marked with MonoTODOs. Will tackle them later.
5731 2002-02-16 Duncan Mak <duncan@ximian.com>
5733 * TimeZone.cs: patch from Ajay Kumar Dwivedi (adwiv@yahoo.com) to
5734 make IsDaylightSavingTime (DateTime) call
5735 IsDaylightSavingTime (DateTime, DaylightTime).
5737 Added internal class CurrentTimeZone from Ajay. It needs more work
5738 to fill in the appropriate internal calls.
5740 Sat Feb 16 12:41:41 CET 2002 Paolo Molaro <lupus@ximian.com>
5742 * Type.cs: fix IsClass.
5744 Sat Feb 16 12:02:02 CET 2002 Paolo Molaro <lupus@ximian.com>
5746 * String.cs: fix Trim().
5748 Fri Feb 15 21:02:46 CET 2002 Paolo Molaro <lupus@ximian.com>
5750 * String.cs: fix more off by one errors.
5752 Thu Feb 14 18:54:09 CET 2002 Paolo Molaro <lupus@ximian.com>
5754 * MonoType.cs: fix IsValueTypeImpl.
5755 * Type.cs: fix IsEnum. Implement Equals methods.
5757 Wed Feb 13 21:50:13 CET 2002 Paolo Molaro <lupus@ximian.com>
5759 * Int32.cs: implement IConvertible interface.
5761 2002-02-12 Duncan Mak <duncan@ximian.com>
5763 * TimeZone.cs: Implemented and added to CVS.
5765 2002-02-11 Duncan Mak <duncan@ximian.com>
5767 * Convert.cs: Implemented the ChangeType () methods.
5769 Mon Feb 11 19:48:58 CET 2002 Paolo Molaro <lupus@ximian.com>
5771 * Array.cs: make Clone() an internal call.
5773 2002-02-09 Duco Fijma <duco@lorentz.xs4all.nl>
5774 * Changed Guid.NewGuid so that it can use both System.Random and
5775 System.Security.Cryptography.RandomNumberGenerator
5777 2002-02-09 Duco Fijma <duco@lorentz.xs4all.nl>
5778 * First version of Guid.NewGuid
5780 2002-02-08 Duncan Mak <duncan@ximian.com>
5782 * RuntimeArgumentHandle.cs: Added to CVS.
5784 Fri Feb 8 19:14:54 CET 2002 Paolo Molaro <lupus@ximian.com>
5786 * CrossAppDomainDelegate.cs, AssemblyLoadEventHandler.cs,
5787 UnhandledExceptionEventHandler.cs: added delegates.
5789 Fri Feb 8 18:06:20 CET 2002 Paolo Molaro <lupus@ximian.com>
5791 * MarshalByRefObject.cs: add ToString () method
5792 (apparently needed by nunit).
5793 * _AppDomain.cs: uncomment ToString(): dietmar fixed the bug triggered
5794 by it in the runtime.
5796 2002-02-08 Dan Lewis <dihlewis@yahoo.co.uk>
5798 * String.cs (Format): implemented
5800 2002-02-07 Duncan Mak <duncan@ximian.com>
5802 * DuplicateWaitObjectException:
5803 * InvalidCastException:
5804 * NotImplementedException:
5805 * NotSupportedException:
5806 * NullReferenceException:
5807 * OutOfMemoryException:
5808 * OverflowException:
5810 * StackOverflowException.cs:
5811 * UnauthorizedAccessException: Added missing constructor used for serialization.
5813 2002-02-07 Dietmar Maurer <dietmar@ximian.com>
5815 * String.cs (System.Compare): bug fix
5817 2002-02-06 Dietmar Maurer <dietmar@ximian.com>
5819 * Enum.cs (Parse, GetHashCode): impl.
5821 2002-02-05 Duncan Mak <duncan@ximian.com>
5823 * DBNull.cs: This is my first crack at the DBNull class. I think I
5824 actually got most of the IConvertible methods right, but I haven't
5825 done the research to test whether or not this is the correct
5826 behavior. IConvertible.ToType () is the most iffy of all, IMHO.
5828 * DllNotFoundException.cs: Inherits from TypeLoadException, not SystemException.
5830 2002-02-05 Dietmar Maurer <dietmar@ximian.com>
5832 * Enum.cs: added more functionality (GetName, ToObject, Equals)
5834 2002-01-31 Duncan Mak <duncan@ximian.com>
5836 * InvalidOperationException.cs:
5837 * NotFiniteNumberException.cs:
5838 * ObjectDisposedException.cs:
5839 * TypeInitializationException.cs: Added missing bits for serialization/
5841 * AppDomainUnloadedException.cs:
5842 * ApplicationException.cs:
5843 * ArgumentOutOfRangeException.cs:
5844 * ArithmeticException.cs:
5845 * ArrayTypeMismatchException:
5846 * BadImageFormatException.cs:
5848 * MissingMemberException.cs:
5849 * TypeLoadException.cs: Added missing bits for serialization.
5851 2002-01-30 Duco Fijma <duco@lorentz.xs4all.nl>
5852 * Guid.cs: implemented everything but Guid.NewGuid
5854 Tue Jan 29 22:32:36 CET 2002 Paolo Molaro <lupus@ximian.com>
5856 * _AppDomain.cs: remove ToString() method: it doesn't seem right
5857 to have it in this interface and it screws up the method vtable setup.
5859 2002-01-28 Andrei Zmievski <andrei@php.net>
5861 * Double.cs: implemented IConvertible interface.
5863 2002-01-28 Miguel de Icaza <miguel@ximian.com>
5865 * ArgumentException.cs: Implement serialization constructor.
5866 (GetObjectData): Implement serializer.
5868 * ArgumentNullException.cs: Implement serialization constructor.
5870 * Exception.cs: Implement serialization constructor.
5871 (GetObjectData): Implement serializer.
5873 2002-01-23 Miguel de Icaza <miguel@ximian.com>
5875 * DateTime.cs (UnixEpoch): The Begining of the Unix epoch.
5877 2002-01-23 Duncan Mak <duncan@ximian.com>
5879 * EntryPointNotFoundException.cs:
5880 * FormatException: Added missing constructor and related bits.
5882 * TypeLoadException: Added missing constructor, methods and properties.
5884 2002-01-23 Miguel de Icaza <miguel@ximian.com>
5886 * AppDomain.cs (GetAssemblies): Use foreach construct instead of
5887 manually getting the enumerator.
5889 (AppDomain.AppDomain): Prime the loaded assemblies with the
5890 assemblies loaded by the runtime in our behalf.
5892 * AppDomainSetup.cs: Remove private keyword, that is the default.
5893 Add a new property DisallowPublisherPolicy.
5895 * AppDomain.cs (AppDomain.GetAssemblies): Implement.
5897 Tue Jan 22 22:51:48 CET 2002 Paolo Molaro <lupus@ximian.com>
5899 * MonoType.cs, Type.cs: many updates, corrected implementation,
5902 2002-01-20 Andrei Zmievski <andrei@php.net>
5905 * Char.cs: implemented IConvertible interface.
5907 * Boolean.cs: use our own ToString() method directly.
5909 2002-01-20 Duncan Mak <duncan@ximian.com>
5911 * Files I commited recently: Fixed indentation style.
5913 2002-01-20 Nick Drochak <ndrochak@gol.com>
5915 * SerializableAttribute.cs: this attrib can be used on enums, structs,
5916 and delegates too. Added the appropriate usage flags.
5918 2002-01-18 Duncan Mak <duncan@ximian.com>
5920 * CharEnumerator.cs: Implemented.
5921 * String.cs (System): Fixed the GetEnumerator () method(s).
5923 * ObsoleteAttribute.cs:
5924 * STAThreadAttribute.cs:
5925 * MTAThreadAttribute.cs:
5926 * ThreadStaticAttribute.cs:
5927 * LoaderOptimizationAttribute.cs:
5928 * PlatformNotSupportedException.cs:
5929 * LoaderOptimization.cs: Added to CVS.
5931 2002-01-18 Duncan Mak <duncan@ximian.com>
5933 * AppDomainUnloadedException.cs:
5934 * MethodAccessException.cs:
5935 * ContextMarshalException.cs:
5936 * CannotUnloadAppDomainException.cs:
5937 * DllNotFoundException.cs:
5938 * EntryPointNotFoundException.cs:
5939 * FieldAccessException.cs:
5940 * TypeUnloadedException.cs:
5941 * MissingFieldException.cs: Added to CVS.
5943 * ApplicationException.cs:
5944 * MemberAccessException.cs:
5945 * MissingMemberException.cs
5946 * MissingMethodException.cs:
5947 * SystemException.cs: Added [Serializable] attribute.
5949 * Exception.cs: Added [Serializable] attribute, made properties
5950 'Message', 'Source' and 'StackTrace' virtual methods, per 1.0
5953 * ContextStaticAttribute.cs: Added [Serializable] attribute and
5954 put in the missing constructor.
5956 * Environment.cs: Commented out references to
5957 EnvironmentPermissionAttribute, because they're just stubbed out
5958 right now and has no implementation.
5960 2002-01-16 Andrei Zmievski <andrei@php.net>
5962 * Boolean.cs: implemented IConvertible interface
5964 2002-01-15 Nick Drochak <ndrochak@gol.com>
5966 * ResolveEventArgs.cs: class should derive from EventArgs.
5968 2002-01-14 Miguel de Icaza <miguel@ximian.com>
5970 * String.cs (System): Use DefaultMemberName for the String class.
5972 Mon Jan 14 17:06:40 CET 2002 Paolo Molaro <lupus@ximian.com>
5974 * String.cs: use IndexerName in index char accessor.
5976 Thu Jan 10 21:05:23 CET 2002 Paolo Molaro <lupus@ximian.com>
5978 * MonoType.cs: add rank to MonoTypeInfo and implement GetArrayRank.
5979 * String.c: eliminate 64k+ method calls in search.
5980 * Type.cs: handle byref and array types in ToString ().
5982 2002-01-09 Duco Fijma <duco@lorentz.xs4all.nl>
5984 * Guid.cs: created first version
5986 2002-01-10 Dietmar Maurer <dietmar@ximian.com>
5988 * MonoType.cs: added missing TypeAttributes to MonoTypeInfo
5990 Wed Jan 9 19:35:07 CET 2002 Paolo Molaro <lupus@ximian.com>
5992 * MulticastDelegate.cs: add == and != operator stubs.
5993 * String.cs: check for null in == operator.
5994 * Type.cs: use a virtual method to get TypeAttributes.
5996 Tue Jan 8 23:30:19 EST 2002 Matt Kimball <matt@kimball.net>
5997 * String.cs: Fixed several off-by-one errors in LastIndexOf* methods
5999 2002-01-09 Nick Drochak <ndrochak@gol.com>
6001 * Environment.cs: Comment out Security attribute and put a MonoTODO
6002 there as a reminder. We need mcs magic to handle security attributes in
6005 2002-01-07 Duco Fijma <duco@lorentz.xs4all.nl>
6006 * Created IAppDomainSetup.cs
6008 2002-01-06 Duco Fijma <duco@lorentz.xs4all.nl>
6009 * Created System._AppDomain interface in _AppDomain.cs
6011 2002-01-06 Nick Drochak <ndrochak@gol.com>
6013 * ResolveEventArgs.cs: New File, completely implemented! ;)
6015 Sat Jan 5 15:53:50 CET 2002 Paolo Molaro <lupus@ximian.com>
6017 * Enum.cs: dummy ToString impl.
6018 * String.cs: dummy format implementations to get compiler errors
6020 * Type.cs: implemented filter delegates. FindMembers runs the filter, now.
6022 2002-01-05 Ravi Pratap <ravi@ximian.com>
6024 * TODOAttribute.cs : Augment some more; provide two constructors
6025 with support for a comment too.
6027 2002-01-05 Nick Drochak <ndrochak@gol.com>
6029 * Uncommented those MonoTODO's now that Ravi's got
6032 2001-01-04 Ravi Pratap <ravi@ximian.com>
6034 * TODOAttribute.cs : Actually add this time ;-)
6036 Change name to MonoTODO.
6038 2002-01-04 Jeffrey Stedfast <fejj@ximian.com>
6040 * String.cs (Trim): Fixed a few logic bugs in the code that
6041 calculated how much to trim off the end of the string.
6043 2001-01-04 Nick Drochak <ndrochak@gol.com>
6045 * Commented out the [TODO] attributes for now. We don't have the
6046 class written. Also changed it to [MonoTODO]
6048 2002-01-04 Ravi Pratap <ravi@ximian.com>
6050 * TODOAttribute.cs : Add. We use this attribute to tag all bits in
6051 our class libraries that are incomplete.
6053 * Array.cs : Apply attribute wherever we find a FIXME which says
6054 we need something to be implemented there.
6058 * MulticastDelegate.cs : Ditto.
6060 * RuntimeFieldHandler.cs, RuntimeMethodHandle.cs,
6061 RuntimeTypeHandle.cs : Ditto.
6063 * String.cs : Ditto.
6067 * Byte.cs, Char.cs, ContextBoundObject.cs, DateTime.cs, Delegate.cs : Ditto.
6069 * Enum.cs, Environment.cs, Exception.cs, Int64.cs, SByte.cs, Single.cs,
6070 UInt16.cs, UInt32.cs, ValueType.cs: Ditto.
6072 * Byte.cs, Char.cs, ContextBoundObject.cs, DateTime.cs,
6073 Delegate.cs : Ditto.
6075 * Enum.cs, Environment.cs, Exception.cs, Int64.cs, SByte.cs,
6076 Single.cs, UInt16.cs, UInt32.cs, ValueType.cs: Ditto.
6078 Thu Jan 3 23:24:04 CET 2002 Paolo Molaro <lupus@ximian.com>
6080 * Delegate.cs: add Remove() stub.
6081 * Enum.cs: add ToObject().
6082 * Type.cs: add IsEnum property.
6084 2002-01-03 Kristian Rietveld <kris@gtk.org>
6086 * Convert.cs: add non-CLS-compliant ToBoolean methods for char,
6087 DateTime and object.
6089 2001-12-30 Nick Drochak <ndrochak@gol.com>
6091 * Byte.cs (Parse): Add comments to aid in testing.
6093 2001-12-21 Miguel de Icaza <miguel@ximian.com>
6095 * Char.cs (Parse): Implement.
6097 * Byte.cs (Parse): Implement a fast parser.
6099 * SByte.cs (Parse): Implement a fast parser.
6101 * UInt16.cs (Parse): Implement a fast parser.
6103 * Int16.cs (Parse): Implement a fast parser.
6105 * UInt32.cs (Parse): Implement a fast parser.
6107 * Int32.cs (Parse): Implement a fast parser.
6109 Fri Dec 21 15:14:52 CET 2001 Paolo Molaro <lupus@ximian.com>
6111 * Array.cs: fix null ref in sort code.
6112 * UInt64.cs: add bare-bones parse.
6114 Thu Dec 20 15:29:52 CET 2001 Paolo Molaro <lupus@ximian.com>
6116 * Byte.cs: removed use of Regexes.
6118 Tue Dec 18 18:39:54 CET 2001 Paolo Molaro <lupus@ximian.com>
6120 * Enum.cs: implemented GetValues(), GetNames(), GetName(),
6121 IsDefined(), GetUnderlyingType().
6122 * String.cs: fix one instance of Compare().
6123 * Type.cs: implemented GetProperties(), GetProperty().
6125 Thu Dec 13 20:10:57 CET 2001 Paolo Molaro <lupus@ximian.com>
6127 * Array.cs: implement CopyTo ().
6128 * Char.cs: implement ToString ().
6129 * Exception.cs: bugfix.
6130 * Int32.cs: bare-bones Parse ().
6131 * MonoType.cs: query the needed info with an internalcall.
6132 * String.cs: speedups, bugfixes, reduced copies.
6133 * Type.cs: added missing fields. Implemented many of the Is*
6134 properties. Implemented GetMethod(), GetConstructor(), GetMethods(),
6135 GetFields(), FindMembers(), ToString().
6137 2001-12-11 Dick Porter <dick@ximian.com>
6139 * DateTime.cs: Implemented FromFileTime() and ToFileTime()
6141 * Console.cs: Use handles rather than casting file descriptors
6143 2001-12-08 Nick Drochak <ndrochak@gol.com>
6145 * Byte.cs (Parse): Start implementation. Parse(string) works, but
6146 now we need to handle other formats
6148 2001-12-06 Dietmar Maurer <dietmar@ximian.com>
6150 * DateTime.cs: added an icall to GetNow()
6152 2001-12-04 Dietmar Maurer <dietmar@ximian.com>
6154 * Double.cs: added the parse method from Bob Smith
6156 2001-11-28 Miguel de Icaza <miguel@ximian.com>
6162 * Int32.cs (Int32.CompareTo): Fix because we can not just
6163 substract the values.
6165 Return possitive value if the object is null.
6167 * Boolean.cs: (Boolean.CompareTo): ditto.
6169 * Int16.cs (Int16.CompareTo): ditto.
6171 * Byte.cs (Byte.CompareTo): ditto.
6173 * SByte.cs (SByte.CompareTo): ditto.
6175 * Char.cs (Char.CompareTo): ditto.
6177 * Decimal.cs (Decimal.CompareTo): ditto.
6179 * Int64.cs (Int64.CompareTo): ditto.
6185 2001-11-28 Nick Drochak <ndrochak@gol.com>
6187 * Byte.cs: Throw NotImplementedException for Parse.
6189 2001-11-27 Derek Holden <dholden@draper.com>
6191 * IntegerFormatter.cs: Formatting of type "Number" was not
6192 using NumberFormatInfo.NumberNegativePattern.
6194 2001-11-26 Dick Porter <dick@ximian.com>
6196 * LocalDataStoreSlot.cs: No need to delete a system TLS slot in
6197 the finalise routine any more
6199 2001-11-21 Miguel de Icaza <miguel@ximian.com>
6201 * ApplicationException.cs: internationalize by adding calls to
6202 Locale.GetText (). And throw NotImplementedExceptions on calls
6203 that we have to implement.
6205 * Version.cs: Ditto.
6207 * ValueType.cs: ditto.
6209 * UnauthorizedAccessException.cs: ditto.
6217 * TypeLoadException.cs: ditto
6219 * TypeInitializationException.cs: ditto.
6223 * TimeSpan.cs: ditto.
6225 * SystemException.cs: ditto.
6229 * StackOverflowException.cs: ditto.x
6235 * RuntimeTypeHandle.cs: ditto.
6237 * RuntimeMethodHandle.cs: ditto.
6239 * RuntimeFieldHandle.cs: ditto.
6243 * OutOfMemoryException.cs: ditto.
6245 * OperatingSystem.cs: ditto.
6247 * ObjectDisposedException.cs: ditto.
6249 * NullReferenceException.cs: ditto.
6251 * NotImplementedException.cs: ditto.
6253 * NotFiniteNumberException.cs: ditto.o
6255 * MulticastNotSupportedException.cs: ditto.
6257 * MissingMethodException.cs: ditto.
6259 * MemberAccessException.cs: ditto.
6263 * InvalidCastException.cs: ditto.
6265 * IntegerFormatter.cs: ditto.
6271 * IndexOutOfRangeException.cs: ditto.
6273 * Environment.cs: ditto
6277 * DuplicateWaitObjectException.cs: ditto.
6279 * DivideByZeroException.cs: ditto.
6281 * Delegate.cs: ditto
6283 * DecimalFormatter.cs: ditto.
6285 * Decimal.cs: ditto.
6287 * DateTime.cs: ditto.
6289 * Convert.cs: ditto.
6295 * Boolean.cs: ditto.
6297 * ArrayTypeMismatchException.cs: ditto.
6299 * ArithmeticException.cs: ditto.
6301 * ArgumentOutOfRangeException.cs: ditto.
6303 * ArgumentNullException.cs: ditto.
6305 * Enum.cs: Make it derive from ValueType, add CompareTo method.
6307 * Attribute.cs: Reformat.
6309 2001-11-14 Miguel de Icaza <miguel@ximian.com>
6311 * Decimal.cs, Double.cs, Byte.cs, Char.cs, Int16, UInt16, Int32,
6312 UInt32, Int64, UInt64, SByte, Single (CompareTo): Throw the
6313 exception if the value is null too.
6315 * Char.cs (CompareTo): ditto.
6317 * ApplicationException.cs: Added constructor that does serialization.
6319 * ParamArrayAttribute.cs: Define attribute correctly.
6321 Wed Nov 14 16:31:19 CET 2001 Paolo Molaro <lupus@ximian.com>
6323 * AppDomain.cs: rename dummy interface _AppDomain to AppDomain_Intf.
6324 * Array.cs: fix Array.Copy.
6325 * AssemblyLoadEventArgs.cs: rename field.
6326 * CLSCompliantAttribute.cs: use correct name for the class.
6327 * Char.cs: fix IsLetter.
6328 * Console.cs, DateTime.cs, Decimal.cs, IConvertible.cs, Math.cs,
6329 SByte.cs, UInt16.cs, UInt32.cs, UInt64.cs, UIntPtr.cs: CLSCompliant updates.
6330 * Convert.cs: CLSCompliant updates, add ChangeType() methods.
6331 * Delegate.cs: renamed target field to m_target.
6332 * Enum.cs: added missing methods.
6333 * MonoType.cs: add a constructor and some needed properties.
6334 * Object.cs: implement GetType().
6335 * String.cs: CLSCompliant updates. Fixes everywhere to remove the
6337 * Type.cs: add missing methods/properties.
6339 2001-11-10 Sean MacIsaac <macisaac@ximian.com>
6341 * AttributeUseage.cs: Should define AttributeUsageAttribute.
6343 * CLSCompliant.cs: Marked with AttributeUsage attribute.
6345 * Decimal.cs: Fixed CLSCompliant attributes.
6347 * Type.cs: changed _impl to internal (needs to be accessable by
6350 (TypeHandle): Marked as abstract, implementation removed.
6352 (IsNotPublic, IsPublic, GetMethods, GetPropery, GetConstructor,
6353 GetMethod): Added stub implementations so NUnit would link against
6356 Tue Nov 6 09:11:43 CET 2001 Paolo Molaro <lupus@ximian.com>
6358 * AppDomain.cs: use an internal constructor for AssemblyBuilder.
6360 2001-11-05 Miguel de Icaza <miguel@ximian.com>
6362 * NonSerializedAttribute.cs: Add AttributeUsage rules for this
6365 Fri Nov 2 18:23:15 CET 2001 Paolo Molaro <lupus@ximian.com>
6367 * String.cs: fix a couple of bugs.
6368 * AppDomain.cs: use new AppBuilder constructor.
6369 * Buffer.cs, GC.cs, NonSerializedAttribute.cs,
6370 NotImplementedException.cs, ObjectDisposedException.cs,
6371 UnauthorizedAccessException.cs: add implementation.
6372 * OverflowException.cs: fix class name.
6374 2001-10-28 Jeffrey Stedfast <fejj@ximian.com>
6376 * String.cs: Don't use a terminating nil char for our internal
6379 2001-10-27 Miguel de Icaza <miguel@ximian.com>
6381 * Delegate.cs (Delegate.CombineImpl): Implement.
6382 (Delegate.Combine): Implement.
6384 * MulticastDelegate.cs (MulticastDelegate.Equals): Implement.
6386 (MulticastDelegate.CombineImpl): This was not as trivial as I
6389 * ContextStaticAttribute.cs: Added AttributeUsage to
6390 ContextStaticAttribute.
6392 * FlagsAttribute.cs: Add AttributeUsage to FlagsAttribute
6394 2001-10-15 Martin Weindel <martin.weindel@t-online.de>
6396 * added Decimal.cs * added DecimalFormatter.cs (internal class
6397 used from System.Decimal)
6399 2001-10-11 Thomas Neidhart <tome@sbox.tugraz.at>
6401 * Convert.cs: Added methods for Base64 transforming just used the
6402 existing System.Security.Cryptography.ToBase64Transform, should
6403 be changed to use a stand-alone class, e.g. Base64Encoder
6405 2001-10-10 Derek Holden <dholden@draper.com>
6407 * IntegerFormatter.cs: Added. Implements ToString for all the
6408 integer data types for all the format types.
6410 * Byte.cs: Using IntegerFormatter for ToString's.
6412 * SByte.cs: Using IntegerFormatter for ToString's.
6414 * Int16.cs: Using IntegerFormatter for ToString's.
6416 * Int32.cs: Using IntegerFormatter for ToString's.
6418 * Int64.cs: Using IntegerFormatter for ToString's.
6420 * UInt16.cs: Using IntegerFormatter for ToString's.
6422 * UInt32.cs: Using IntegerFormatter for ToString's.
6424 * UInt64.cs: Using IntegerFormatter for ToString's.
6426 2001-10-07 Miguel de Icaza <miguel@ximian.com>
6428 * Exception.cs: Implement bits of serialization.
6430 * RuntimeFieldHandle.cs: Implement Serialization features.
6432 * Type.cs: Implement TypeHandle property.
6434 2001-09-28 Dick Porter <dick@ximian.com>
6436 * LocalDataStoreSlot.cs: Implemented
6438 Tue Sep 25 19:58:14 CEST 2001 Paolo Molaro <lupus@ximian.com>
6440 * String.cs: fix off-by-one error in Trim().
6442 Tue Sep 25 18:52:14 CEST 2001 Paolo Molaro <lupus@ximian.com>
6444 * Type.cs: added GetType () method.
6446 Tue Sep 25 17:29:02 CEST 2001 Paolo Molaro <lupus@ximian.com>
6448 * MissingMethodException.cs, MissingMemberException.cs,
6449 MemberAccessException.cs: added.
6451 Tue Sep 25 16:46:43 CEST 2001 Paolo Molaro <lupus@ximian.com>
6453 * String.cs: don't access the string array out of bounds in
6454 LastIndexOf. * Type.cs: fix return type of the Assembly property.
6456 Mon Sep 24 20:35:24 CEST 2001 Paolo Molaro <lupus@ximian.com>
6458 * String.cs: make Intern and IsIntern internalcalls.
6460 2001-09-13 Dick Porter <dick@ximian.com>
6462 * Type.cs: Added a stub for the IsValueType property.
6464 * SystemException.cs (System): Added the other constructor, so
6465 that System.Threading exceptions can inherit it.
6467 2001-09-08 Jeffrey Stedfast <fejj@ximian.com>
6469 * String.cs (TrimStart): Don't keep looping through the trimchars
6470 once we've found a match.
6471 (TrimEnd): Same here.
6472 (Trim): And finally here.
6474 2001-09-07 Ravi Pratap <ravi@ximian.com>
6476 * Char.cs (IsLetterOrDigit): Implement.
6477 (IsLower): Implement, but we need to be Unicode aware.
6478 (IsNumber): Implement.
6479 (IsPunctuation): Implement.
6480 (IsWhiteSpace): Implement.
6481 (ToUpper): Fix to subtract 32 from the ASCII value, not 33 :)
6482 (ToLower): Same here.
6484 2001-09-04 Miguel de Icaza <miguel@ximian.com>
6486 * Object.cs: Shortcut, if (a == b) then return true.
6488 Fri Sep 7 18:34:48 CEST 2001 Paolo Molaro <lupus@ximian.com>
6490 * Delegate.cs: we need a pointer to the method thunk in
6491 the delegate object.
6493 Fri Sep 7 12:28:01 CEST 2001 Paolo Molaro <lupus@ximian.com>
6495 * AsyncCallback.cs, common.src: add AsyncCallback delegate.
6497 2001-09-06 Jeffrey Stedfast <fejj@ximian.com>
6499 * String.cs (System): Don't mix uint and int.
6501 2001-09-04 Jeffrey Stedfast <fejj@ximian.com>
6503 * String.cs (BoyerMoore): Modified to not use pointers and to instead
6505 (IndexOf): Use BoyerMoore.
6507 2001-09-02 Miguel de Icaza <miguel@ximian.com>
6509 * All over: Use the autogenerated enumerations from the ECMA
6510 documentation that Sergey wrote.
6512 * PlatformID.cs: Add Unix definition.
6514 * OperatingSystem.cs: Use Unix instead of Linux here.
6516 * MarshalByRefObject.cs: Mark class as [Serializable].
6518 2001-08-28 Dietmar Maurer <dietmar@ximian.com>
6520 * Console.cs: impl. (write only)
6521 implemented the stdin stuff
6523 * Int32.cs: impl. real op_Equal
6525 2001-08-24 Miguel de Icaza <miguel@ximian.com>
6527 * (common.src): Removed IAsyncResult as it is not on CVS yet.
6529 * UIntPtr.cs: Removed CLSCompliant attribute before the namespace,
6530 as it breaks the build.
6532 2001-08-23 Michael Lambert <michaellambert@email.com>
6534 * IntPtr.cs: Optimized unsafe declaration, implemented GetObjectData,
6535 added CLSCompliant attribute
6537 * IAsyncResult.cs: Added
6539 * common.src: Added IAsyncResult.cs
6541 2001-08-23 Michael Lambert <michaellambert@email.com>
6545 * common.src: Added UIntPtr.cs
6547 2001-08-20 Dietmar Maurer <dietmar@ximian.com>
6549 * Attribute.cs: uncomment some code to make it compile again
6551 * mono.src: removed duplicated Attribute.cs
6553 2001-08-16 Nick Drochak <ndrochak@gol.com>
6555 * Attribute.cs: implemented all methods except GetHashCode()
6557 * common.src: added Attribute.cs so it would compile in
6559 2001-08-10 Dietmar Maurer <dietmar@ximian.com>
6561 * Object.cs: changed MemberWiseClone to MemberwiseClone, and
6562 marked it as InternalCall
6564 * common.src: removed UriFormatException.cs because the file is
6567 * RuntimeTypeHandle.cs: replaced IntrPtr with IntPtr
6568 * Char.cs: replaced byte with char
6570 * Array.cs: make it work with the mono interpreter
6572 2001-08-06 Miguel de Icaza <miguel@ximian.com>
6574 * Version.cs: Make the class sealed
6576 2001-08-08 Bob Smith <bob@thestuff.net>
6578 * Random.cs: Many compile fixes.
6579 * Random.cs: I read a bad spec. Class updated to match real spec.
6581 2001-08-06 Miguel de Icaza <miguel@ximian.com>
6583 * IntPtr.cs: Added and Completed implementation.
6585 * Uri.cs: Add a note.
6587 2001-08-06 Bob Smith <bob@thestuff.net>
6589 * Random.cs: Compile fix. Needs more testing.
6591 2001-08-06 Garrett Rooney <rooneg@electricjellyfish.net>
6593 * Uri.cs: Initial Implementation. Parsing needs to be fixed to take
6594 into account IPv6 addresses, url encoding needs to be implemented, and
6595 various minor methods need to be written, but this is a decent start.
6597 2001-08-06 Dietmar Maurer <dietmar@ximian.com>
6599 * common.src: added Object.cs
6601 * mono.src: added ValueType.cs
6603 2001-08-02 Dietmar Maurer <dietmar@ximian.com>
6605 * Math.cs: replaced libc with libm
6607 2001-08-02 Bob Smith <bob@thestuff.net>
6609 * Random.cs: Implemented. Needs testing.
6611 2001-08-02 Miguel de Icaza <miguel@ximian.com>
6613 * IServiceProvider.cs, EventHandler.cs: New files.
6615 2001-08-02 Marcel Narings <marcel@narings.nl>
6617 * DateTime.cs: Cleaned up a bit. Added the Add* family members.
6618 Added exceptions. Added IConvertible. Still needs some platform
6619 dependend stuff, the Parse and ToString members
6621 2001-08-01 Dietmar Maurer <dietmar@ximian.com>
6623 * Type.cs (GetTypeFromHandle): added placeholder
6625 2001-07-24 Derek Holden <dholden@draper.com>
6627 * Boolean.cs: Formatted to code style standard. Added GetTypeCode
6628 which is really an IConvertible defined method.
6630 * Byte.cs: Added a missing Parse method. Put in Parse and ToString
6631 behavior, still need to do the main Parse and ToString.
6633 * Char.cs: Added a bunch of missing ECMA methods. Commented a
6634 specification discrepency. Still didn't any unicode stuff, though
6635 every IsFoo(char c) method has an IsFoo(string, index)
6636 counterpart, added wrappers for those.
6638 * Convert.cs: Fixed NaN/Inf checking and double/float
6639 rounding. Added ToType for IConvertible classes
6641 * Double.cs: Fixed ECMA min and max values. Added IsInfinity /
6642 IsNaN methods. Changed Inf/NaN internals.
6644 * IConvertible.cs: Added comments for using
6645 Convert.ToType. Changed return values to draft base values.
6647 * Int16.cs: Added a missing Parse statement. Put in behavior for
6648 overloaded ToString and Parse methods.
6650 * Int32.cs: Added a missing Parse statement. Put in behavior for
6651 overloaded ToString and Parse methods.
6653 * Int64.cs: Added a missing Parse statement. Put in behavior for
6654 overloaded ToString and Parse methods.
6656 * Single.cs: Put in ECMA epsilon value. Added IsInfinity / IsNaN
6657 methods. Changed Inf/NaN internals.
6659 * SByte.cs: Added a missing Parse method. Put in Parse and
6660 ToString behavior, still need to do the main Parse and ToString.
6662 * UInt16.cs: Added a missing Parse statement. Put in behavior for
6663 overloaded ToString and Parse methods.
6665 * UInt32.cs: Added a missing Parse statement. Put in behavior for
6666 overloaded ToString and Parse methods.
6668 * UInt64.cs: Added a missing Parse statement. Put in behavior for
6669 overloaded ToString and Parse methods.
6671 2001-07-20 Miguel de Icaza <miguel@ximian.com>
6673 * MulticastDelegate.cs: New File.
6675 * Delegate.cs: New file.
6677 * Enum.cs: New file.
6679 * Attribute.cs: New file.
6681 * Type.cs: New file.
6683 * ParamArrayAttribute.cs: New file.
6685 * RuntimeTypeHandle.cs: New file.
6687 * MulticastDelegate.cs: Added.
6689 * DateTime.cs: Added
6691 * Delegate.cs: Added
6693 2001-07-18 Michael Lambert <michaellambert@email.com>
6695 * AttributeTargets.cs: Add.
6697 2001-07-19 Jeffrey Stedfast <fejj@ximian.com>
6699 * Char.cs: Made ToUpper and ToLower public methods.
6701 * String.cs: Lots and lots of compile fixes - just need to write
6702 DateTime.cs and this should build completely now.
6704 2001-07-19 Bob Smith (bob@thestuff.net)
6706 * Math.cs: Implemented.
6708 2001-07-19 Miguel de Icaza <miguel@ximian.com>
6710 * String.cs: Removed tolower and toupper.
6712 * Char.cs: Moved ToLower and ToUpper from string to here.
6714 * Convert.cs ToByte (float value), ToByte (double value) Use IsNan
6715 instead of comparing the value to Nan.
6717 2001-07-19 Duco Fijma (duco@lorentz.xs4all.nl)
6719 * TimeSpan.cs: New implementation.
6721 2001-07-18 Scott Sanders <scott@stonecobra.com>
6723 * UriFormatExcpetion.cs: Add - 85% complete
6725 2001-07-17 Jeffrey Stedfast <fejj@ximian.com>
6727 * String.cs (IndexOf): Slight optimization that allows skipping
6728 over a few chars here and there. This isn't as good as using my
6729 Boyer-Moore implementation, however, Boyer-Moore is only really
6730 good for long strings (I plan on making the code decide which
6731 string search algorithm it should use on-the-fly at some point).
6732 (LastIndexOf): Fix to work correctly.
6733 (BoyerMoore): Took out some unneeded code and fixed an edge-case.
6735 2001-07-16 Michael Lambert <michaellambert@email.com>
6737 * EventArgs.cs: Add.
6739 2001-07-16 Miguel de Icaza <miguel@ximian.com>
6741 * Version.cs: Remove my buggy comment.
6743 2001-07-15 Sean MacIsaac <macisaac@ximian.com>
6745 * String.cs: Spelling error of IComparable, object's
6746 MemberwiseClone cannot be overridden. Made indexer valid for now,
6747 but not sure what to do about this in the long run. Seems to be a
6748 couple bugs in csc.exe having to do with multiple pointer defs in
6749 the same statement, and returning subclasses of a class in the
6750 return type of an interface function implementation. Also moved
6751 operators inside of class definition.
6753 2001-07-14 Jeffrey Stedfast <fejj@ximian.com>
6755 * String.cs: A tom of compile fixes, although we still don't compile.
6757 * IConvertible.cs: The To*Int64() methods return *Int64's, not
6758 *Int32's. Also, it's ToDateTime() not ToDateType().
6760 2001-07-14 Jeffrey Stedfast <fejj@ximian.com>
6762 * String.cs: Apparently I needed to at least write stubs for the
6763 IConvertible interfaces. *sigh*
6765 2001-07-14 Jeffrey Stedfast <fejj@ximian.com>
6767 * String.cs: Many logic/other fixes and better usage of the
6769 (tolower): New convenience method to help condense code.
6770 (toupper): Another new helper method.
6771 (Compare): Use the new helper methods.
6772 (ToLower): use tolower().
6773 (ToUpper): use toupper().
6774 (LastIndexOfAny): Implemented.
6775 (BoyerMoore): New private helper method that implements a modified
6776 version of the Boyer-Moore search algorithm. Noothing uses it yet
6777 as I'm not 100% sure it even works properly with unicode strings
6778 not to mention it uses a huge lookup-table :-)
6779 (Split): Implemented.
6781 2001-07-13 Jeffrey Stedfast <fejj@ximian.com>
6783 * TODO: Added things that need to be finished in System.String
6785 * String.cs: New source file implementing the System.String class
6787 2001-07-12 Sean MacIsaac <macisaac@ximian.com>
6789 * TypeCode.cs: UInt64 was UInt63.
6791 * Object.cs: Fixed a numer of compiler errors.
6793 * Array.cs: Fixed some compiler errors.
6795 * IComparable.cs: Fixed some compiler errors.
6797 * ICloneable.cs: Fixed some compiler errors.
6799 * IConvertible.cs: Fixed some compiler errors.
6801 * IFormattable.cs: Fixed a compiler error.
6803 * IFormatProvider.cs: Fixed a compiler error.
6805 * IDisposable.cs: Fixed a compiler error.
6807 * IFormatProvider.cs: Added public accesability type to
6810 * Exception.cs: Added a using statement to remove compile time
6813 * ApplicationException.cs: Removed a ; that was causing a compiler
6816 * Int16.cs: Fixed some compiler errors.
6818 * Int32.cs: Fixed some compiler errors.
6820 * Int64.cs: Fixed some compiler errors.
6822 * SystemException.cs: Fixed a compiler error.
6824 * UInt16.cs: Fixed some compiler errors.
6826 * UInt32.cs: Fixed some compiler errors.
6828 * UInt64.cs: Fixed some compiler errors.
6830 * Void.cs: Fixed a compiler error.
6832 2001-07-12 Joe Shaw <joe@ximian.com>
6834 * Array.cs: Fix backwards parameters to Array.SetValue()
6836 (BinarySearch): Fix backward logic surrounding whether to call
6837 value.CompareTo or comparer.Compare.
6838 (LastIndexOf): Stop being stupid. I am so not used to strongly
6840 (Sort): Implement a quicksort.
6842 2001-07-11 Joe Shaw <joe@ximian.com>
6844 * Array.cs: Change all instances of trying to access an array with
6845 the index operator to calls to GetValue and SetValue, and add
6846 InternalGetValue and InternalSetValue which are internal calls
6847 into the runtime. Ew.
6849 2001-07-10 Joe Shaw <joe@ximian.com>
6851 * Array.cs: Implemented everything but Sort().
6853 2001-07-09 Jeffrey Stedfast <fejj@ximian.com>
6855 * Object.cs (Object::Equals): Object variable name is `o'.
6857 2001-07-06 Joe Shaw <joe@ximian.com>
6859 * Int16.cs, Int32.cs, Int64.cs, UInt16.cs, UInt32.cs, UInt64.cs:
6860 Implement the IComparable and IFormattable interfaces. Fix a typo
6863 * ApplicationException.cs, ArgumentException.cs,
6864 ArgumentNullException.cs, ArgumentOutOfRangeException.cs,
6865 ArtithmeticException.cs, ArrayTypeMismatchException.cs,
6866 DivideByZeroException.cs, DuplicateWaitObjectException.cs,
6867 ExecutionEngineException.cs, FormatException.cs,
6868 IndexOutOfRangeException.cs, InvalidCastException.cs,
6869 InvalidOperationException.cs, InvalidProgramException.cs,
6870 MulticateNotSupportedException.cs, NotFiniteNumberException.cs,
6871 NotSupportedException.cs, NullReferenceException.cs,
6872 OutOfMemoryException.cs, OverflowException.cs, RankException.cs,
6873 StackOverflowException.cs, SystemException.cs,
6874 TypeInitializationException.cs: Added all of the exceptions
6875 specified by the language spec. Mmmm... bloat.
6877 2001-07-06 Miguel de Icaza <miguel@ximian.com>
6879 * Int64.cs, Int32.cs: Put. Parsing and ToString missing. Should
6880 do a generic routine all of these guys use.
6882 * Int16.cs: identified missing methods.
6884 * UInt16.cs, UInt32.cs, UInt64.cs: Add.
6886 2001-06-26 Miguel de Icaza <miguel@ximian.com>
6888 * TypeCode.cs: Implement
6890 * Void.cs: Implement.
6892 * TODO: Add file to keep track of pending tasks.
6894 * Object.cs, ValueType.cs: Implement.