1 2009-05-14 Gonzalo Paniagua Javier <gonzalo@novell.com>
3 * Type.cs: (GetInterfaceMap) 'this' can't be an interface itself.
6 2009-05-03 Gonzalo Paniagua Javier <gonzalo@novell.com>
8 * TermInfoDriver.cs: replace Peek with DataAvailable.
10 2009-05-02 Sebastien Pouliot <sebastien@ximian.com>
12 * Console.cs: Remove Windows-specific p/invokes and SSC code
13 from the NET_2_1 build.
15 2009-05-01 Sebastien Pouliot <sebastien@ximian.com>
17 * AppDomainManager.cs: Fix base class for NET_2_1 and implement
18 CheckSecuritySettings (added in 2.0SP and part of SL API)
20 2009-04-29 Gonzalo Paniagua Javier <gonzalo@novell.com>
22 * Enum.cs: return the value as an enum of the right type.
24 2009-04-28 Gonzalo Paniagua Javier <gonzalo@novell.com>
26 * Enum.cs: avoid exceptions from ToObject and use Try* instead.
28 2009-04-25 Miguel de Icaza <miguel@novell.com>
30 * TermInfoDriver.cs: Use the new StreamReader.DataAvailable to
31 load all the data that was added into the `stdin' stream when we
34 2009-04-24 Sebastien Pouliot <sebastien@ximian.com>
36 * Environment.cs: #ifdef out code that use the registry for the
37 NET_2_1 profile and some other properties (2) that added
38 [SecuritySafeCritical] methods to audit inside Moonlight.
40 2009-04-21 Mark Probst <mark.probst@gmail.com>
42 * Environment.cs: Bump corlib version.
44 2009-04-21 Miguel de Icaza <miguel@novell.com>
46 * TermInfoDriver.cs: Prevent race condition if two threads try to
47 initialize the Console at the same time.
49 What happens is that inited is set, and elsewhere we try to
50 dereference native_terminal_size before it is set.
52 * Reduce code size by using a table instead of manually making a
55 2009-04-20 Miguel de Icaza <miguel@novell.com>
57 * Enum.cs (MonoEnumInfo): Compare bytes, shorts, ints and longs as
58 unsigned values as specified and to fix 371559, from the bug:
60 So the actual difference is that MSFT's Enum.GetValues
61 orders the members as unsigned even when the underlying
62 type is int. See the following. Perhaps that's what's
63 being implied by "binary values" in that Enum.GetValues
66 2009-04-18 Mark Probst <mark.probst@gmail.com>
68 * NumberFormatter.cs: Keep the current thread's number formatter
69 as a ThreadStatic member.
71 2009-04-18 Mark Probst <mark.probst@gmail.com>
73 * Environment.cs: Bump corlib version.
75 2009-04-12 Gonzalo Paniagua Javier <gonzalo@novell.com>
77 * GCNotificationStatus.cs: new enum.
79 2009-04-10 Zoltan Varga <vargaz@gmail.com>
81 * Array.cs: Make some of the InternalArray methods non-generic to cut down
82 on the number of instantiations. Add implementation for
83 ICollection:IsReadOnly.
85 2009-03-26 Jb Evain <jbevain@novell.com>
87 * Delegate.cs (CreateDelegate): Support for delegates
88 on static methods closed on a null target.
90 2009-03-26 Zoltan Varga <vargaz@gmail.com>
92 * Environment.cs: Bump corlib version.
94 2009-03-25 Sebastien Pouliot <sebastien@ximian.com>
96 * Delegate.cs: Add new parameter to CreateDelegate_internal (icall)
97 * Environment.cs: Bump mono_corlib_version to 73
99 2009-03-25 Jb Evain <jbevain@novell.com>
101 * Delegate.cs (CreateDelegate): fix checks to deal with
102 valuetypes -> obj conversions for arguments, and avoid
103 issues with such unallowed conversion for return types.
105 2009-03-23 Zoltan Varga <vargaz@gmail.com>
107 * String.cs (LastIndexOf): Handle empty strings correctly. Fixes #486234.
109 2009-03-18 Zoltan Varga <vargaz@gmail.com>
111 * Type.cs (GetGenericTypeDefinition): Make this throw an exception to be
112 consistent with MS.NET. Move the real implementation to MonoType.
114 2009-03-18 Marek Safar <marek.safar@gmail.com>
116 * Decimal.cs: Initialize all fields.
118 2009-03-16 Gonzalo Paniagua Javier <gonzalo@novell.com>
121 * TermInfoDriver.cs: handle Ctrl-D (or similar) in ReadLine.
124 * ControlCharacters.cs: index to the control characters list.
125 * Environment.cs: bumped corlib version.
127 2009-03-14 Miguel de Icaza <miguel@novell.com>
129 * Convert.cs (ToType): Control whether this internal function will
130 call an IConvertible.ToType method or not.
132 Classes and structs implementing IConvertible in mscorlib (the
133 only callers that can access Convert.ToType) must pass false to
134 avoid a infinite recursion problem and callers from the public
135 Convert API must call it with true.
137 This fixes the regression reported in #485377 that was introduced
138 by the fix for #481687.
140 * Int16.cs, UInt64.cs, Double.cs, Enum.cs, SByte.cs, UInt16.cs,
141 Byte.cs, Decimal.cs, Int32.cs, String.cs, Int64.cs, Char.cs,
142 Boolean.cs, Single.cs, UInt32.cs: Update the call sites.
144 2009-03-07 Gert Driesen <drieseng@users.sourceforge.net>
146 * Convert.cs: Do not throw InvalidCastException if
147 IConvertible.ToType returns null.
149 2009-03-06 Andrés G. Aragoneses <aaragoneses@novell.com>
151 * Convert.cs: Correct typo in exception message.
153 2009-03-06 Miguel de Icaza <miguel@novell.com>
155 * Convert.cs: Apply patch from Tom Hindle that uses
156 IConvertible.ToType if there are no other possible conversions
161 2009-03-06 Rodrigo Kumpera <rkumpera@novell.com>
163 * MonoType.cs (MonoTypeInfo): Add default_ctor field.
165 * MonoType.cs: Add GetDefaultConstructor that caches using
166 type_info.default_ctor.
168 * MonoType.cs (FullName): Protects against type_info been replaced
171 * Activator.cs (CreateInstance): If the type is a MonoType resolve the
172 default constructor using the new method from MonoType.
174 Improves Activator::CreateInstance performance by at least 30%, reduces object churn
175 and domain lock contention.
177 2009-03-03 Rodrigo Kumpera <rkumpera@novell.com>
179 * Guid.cs (BaseToString): Reduce allocations.
181 2009-03-02 Rodrigo Kumpera <rkumpera@novell.com>
183 * Environment.cs: Bump corlib version.
185 2009-03-02 Rodrigo Kumpera <rkumpera@novell.com>
187 * Enum.cs (IsDefined): If the enum underlying type is int32, use
188 the generic version, which doesn't box every element of the array.
190 2009-03-02 Rodrigo Kumpera <rkumpera@novell.com>
192 * Enum.cs (GetName): If the enum underlying type is int32, use
193 the generic version, which doesn't box every element of the array.
195 2009-03-02 Rodrigo Kumpera <rkumpera@novell.com>
197 * Enum.cs (MonoEnumInfo::GetInfo): Share the boxed form of the
198 MonoEnumInfo between both caches.
200 2009-02-28 Zoltan Varga <vargaz@gmail.com>
202 * Enum.cs (FindName): Use a hash table for looking up names instead of
203 a linear search for enums with a lot of values.
205 2009-02-27 Rodrigo Kumpera <rkumpera@novell.com>
207 * UInt16.cs (CompareTo/short): Make it return the
208 same values as the /object version.
210 * Enum.cs (CompareTo): Use new compare_value_to icall to do the comparison.
211 This avoids two allocations and reduce the number of trips to unmanaged land
214 The performance improvement is up to 3.5x with the bonus of reducing the generated
217 2009-02-26 Marek Safar <marek.safar@gmail.com>
219 * Nullable.cs: Inline GetValueOrDefault.
221 2009-02-26 Zoltan Varga <vargaz@gmail.com>
223 * String.cs (FormatHelper): If all the arguments are strings, compute an
224 initial length for the stringbuilder to avoid reallocations.
226 * MonoType.cs (FullName): Cache the result of this in a field, as
227 computing it is expensive.
229 * Environment.cs: Bump corlib version.
231 2009-02-25 Zoltan Varga <vargaz@gmail.com>
233 * Enum.cs (GetInfo): Add a global cache in addition to the thread-local
234 caches to accomodate short living threads like threadpool threads.
236 2009-02-23 Zoltan Varga <vargaz@gmail.com>
238 * Type.cs: Add IsUserType internal property.
240 2009-02-21 Jb Evain <jbevain@novell.com>
242 * MonoType.cs (InvokeMember): don't pass a null args to
243 Binder.BindToMethod. Fix for #471275.
245 2009-02-12 Robert Jordan <robertj@gmx.net>
247 * Exception.cs: Rename remote_stack_trace for MS.NET
248 compatibility. Fixes #425512.
250 2009-02-12 Lluis Sanchez Gual <lluis@novell.com>
252 * MarshalByRefObject.cs: Implemented MemberwiseClone(bool).
254 2009-02-10 Gonzalo Paniagua Javier <gonzalo@novell.com>
256 * AppDomain.cs: this fixes the remoting tests.
257 Zoltan found out that there was a domain improperly using shadow
260 2009-02-04 Gonzalo Paniagua Javier <gonzalo@novell.com>
262 * DateTime.cs: check for null and empty strings before anything else
265 2009-01-27 Zoltan Varga <vargaz@gmail.com>
267 * Type.cs (GetHashCode): Work on UnderlyingSystemType. Fixes #467229.
269 2009-01-24 Zoltan Varga <vargaz@gmail.com>
271 * Variant.cs ApplicationIdentity.cs ActivationContext.cs Environment.cs
272 AppDomain.cs: Fix warnings.
274 2009-01-24 Gonzalo Paniagua Javier <gonzalo@novell.com>
276 * AppDomain.cs: LoadAssembly() returns null instead of throwing now.
277 Add new LoadSatellite method.
279 2009-01-20 Mark Probst <mark.probst@gmail.com>
281 * Exception.cs: Added a comment explaining the use of trace_ips.
283 2009-01-12 Bill Holmes <billholmes54@gmail.com>
285 * Variant.cs (GetValue): Handling the NULL IDispatch
288 Contributed under MIT/X11 license.
290 2009-01-09 Miguel de Icaza <miguel@novell.com>
292 * DateTime.cs: Implement TryParse in a way that will not depend on
293 the try/catch statement. The try/catch statement is still there
294 *just in case*, I might have missed some codepaths.
296 2009-01-06 Atsushi Enomoto <atsushi@ximian.com>
298 * DateTime.cs : when ".FF..." is specified, allow milliseconds-less
301 2008-12-19 Bill Holmes <billholmes54@gmail.com>
303 * Environment.cs (GetEnvironmentVariable) : Avoiding an nre if
304 the variable is not set.
306 * Environment.cs (SetEnvironmentVariable) : Adding a call to
307 internalBroadcastSettingChange to notify Windows that an environment
308 variable has changed.
310 Contributed under MIT/X11 license.
312 2008-12-18 Jb Evain <jbevain@novell.com>
314 * String.cs: the Compare methods that were specific to SL2 are now
315 also in .net 2/3.5 sp1.
317 2008-12-10 Bill Holmes <billholmes54@gmail.com>
319 * Variant.cs (SetValue): Changing the behavior for COM object in
320 VARIANTs to match MS. Also adding support for BStrWrapper,
321 UnknownWrapper, and DispatchWrapper.
323 Contributed under MIT/X11 license.
325 2008-11-28 Miguel De Icaza <miguel@novell.com>
327 * TermInfoDriver.cs: Also register a mapping to make verase be the
328 backspace key. Funny thing: verase was fetched from the termios,
329 but it was *never* actually used in this file.
331 VSUSP and VINTR are likewise ignored. Must ponder this.
333 This makes the backspace key in MacOS work on interactive
336 2008-11-15 KornĂ©l PĂ¡l <kornelpal@gmail.com>
338 * Convert.cs: Removed useless check from ToChar (ushort).
340 2008-11-06 Bill Holmes <billholmes54@gmail.com>
342 * Type.cs (FindMembers): Changing the instantiated type of the
343 returned MemberInfo array to match the MemberTypes flag
344 passed in argument 1.
346 Contributed under MIT/X11 license.
348 Mon Nov 3 16:39:37 CET 2008 Paolo Molaro <lupus@ximian.com>
350 * Array.cs: in the IList set_Item, ensure the array
351 element is set using the proper type checks (bug #440819).
353 Mon Oct 13 16:40:56 CEST 2008 Paolo Molaro <lupus@ximian.com>
355 * Environment.cs, OperatingSystem.cs: complete support for
356 PlatformID (bug #433108).
358 2008-10-08 Gonzalo Paniagua Javier <gonzalo@novell.com>
360 * AppDomain.cs: (Load(AssemblyName)) Use the CodeBase after the Name
361 when both are provided.
364 2008-10-08 Bill Holmes <billholmes54@gmail.com>
366 * Variant.cs : Adding the BRECORD field to ensure the right size on
367 a 64-bit OS. 32-bit 16 bytes, 32-bit 24 bytes.
369 Contributed under MIT/X11 license.
371 2008-10-08 Bill Holmes <billholmes54@gmail.com>
373 * Variant.cs (SetValue) : Adding code to handle enums.
375 Contributed under MIT/X11 license.
377 2008-10-08 Bill Holmes <billholmes54@gmail.com>
379 * Variant.cs : Cleaning up some tab formatting problems.
381 Contributed under MIT/X11 license.
383 2008-10-08 Zoltan Varga <vargaz@gmail.com>
385 * PlatformID.cs: Define Xbox/MacOSX on the 2.0 profile too, since it
386 is part of NET 3.5 SP1.
388 2008-10-07 Marek Habersack <mhabersack@novell.com>
390 * Math.cs: implemented the away from zero rounding for the Round
391 (double, int, MidpointRounding) overload.
393 2008-10-06 Zoltan Varga <vargaz@gmail.com>
395 * Activator.cs (CreateInstance): Don't return the return value of the
396 ctor.Invoke (object, ...) overload since it is null, return 'newOb' instead.
398 Mon Oct 6 15:12:25 CEST 2008 Paolo Molaro <lupus@ximian.com>
400 * Array.cs: better message when keys cannot be compared
401 when sorting (bug #368455).
403 2008-09-29 Rodrigo Kumpera <rkumpera@novell.com>
405 * Type.cs (MakeGenericType): Only use UnderlyingSystemType for user types.
406 This must exclude TypeBuilder and EnumBuilder. Fixes #430508.
408 2008-09-28 Juraj Skripsky <js@hotfeet.ch>
410 * String.cs (ReplaceUnchecked): Avoid any unnecessary work and
411 string allocations by returning early when no oldValue was found.
413 2008-09-24 Marek Habersack <mhabersack@novell.com>
415 * Double.cs: check whether decimal_separator, group_separator and
416 currency_symbol strings aren't empty before trying to index them
419 2008-09-24 Jb Evain <jbevain@novell.com>
421 * AppDomain.cs (CreateDomain): call the domain initializer in
422 the newly created AppDomain. Fixes #429545.
424 2008-09-24 Jb Evain <jbevain@novell.com>
426 * AppDomain.cs: implement the CreateDomain overload which
427 takes an AppDomain initializer. Fixes #429545.
429 2008-09-17 Robert Jordan <robertj@gmx.net>
431 * DelegateSerializationHolder.cs: Starting with .NET 2.0, delegates
432 of non-public methods are allowed to be serialized. Fixes #425345.
434 2008-09-15 Andy Hume <andyhume32@yahoo.co.uk>
436 * DateTimeOffset.cs: DateTimeOffset currently has no
437 deserialization constructor, thus deserialization
438 fails ("SerializationException: The constructor to deserialize an
439 object of type System.DateTimeOffset was not found.")
441 Patch attached, implements GetObjectData and that constructor.
442 Also includes tests, which include round-tripping to/from MSFT.
444 2008-09-14 Zoltan Varga <vargaz@gmail.com>
446 * ConsoleDriver.cs: Remove obsolete GetTtySize icall.
448 2008-09-09 Marek Safar <marek.safar@gmail.com>
450 * Convert.cs, Decimal.cs: Fixed float/double to decimal range check.
452 2008-09-07 Miguel de Icaza <miguel@novell.com>
454 * TermInfoDriver.cs: Add support for updating the size of the
455 terminal when it changes.
457 2008-08-27 Miguel de Icaza <miguel@novell.com>
459 * TermInfoDriver.cs: Adds support for the Insert and Delete keys
462 2008-08-26 Miguel de Icaza <miguel@novell.com>
464 * New console features are used by gmcs.exe, but since we only
465 build gmcs.exe with the bootstrap corlib, we need to ensure all
466 the new stuff is included in BOOTSTRAP_NET_2_0
468 2008-08-26 Robert Jordan <robertj@gmx.net>
470 * AppDomain.cs (get_Evidence): Fix endless recursion exposed
471 by the test case of bug #420197.
473 2008-08-24 Miguel de Icaza <miguel@novell.com>
475 * TermInfoDriver.cs (GetKeyFromBuffer): Add support for reporting
476 Alt-LETTER sequences. They were ignored previously.
478 2008-08-22 Sebastien Pouliot <sebastien@ximian.com>
480 * AppDomainSetup.cs: Remove IAppDomainSetup for SL2. This helps
481 the tuner since the methods are then defined correctly (wrt to the
482 implicit implementation of the interfaces)/
484 2008-08-21 Sebastien Pouliot <sebastien@ximian.com>
486 * Nullable.cs: Add two ComVisible(false) for SL2 profile.
487 * PlatformID.cs: Add Xbox and MacOX for SL2 profile.
488 * WeakReference.cs: Add default, protected, ctor for SL2.
490 2008-08-20 Miguel de Icaza <miguel@novell.com>
492 * ConsoleDriver.cs: TtySetup now takes an extra argument: the
495 2008-08-16 Gert Driesen <drieseng@users.sourceforge.net>
497 * Exception.cs: Fixed value of HResult to match MS. Added support for
498 (de)serializing Data. Use deserialized ClassName, if available, to
499 when name of type is used.
501 2008-08-10 Gert Driesen <drieseng@users.sourceforge.net>
503 * IServiceProvider.cs: Added ComVisible attribute (1.0 only).
504 * String.cs: Fixed argument names to match MS.
506 2008-08-10 Gert Driesen <drieseng@users.sourceforge.net>
523 * UInt64.cs: Added missing CLSCompliant attributes for 1.0 profile.
525 2008-08-07 Atsushi Enomoto <atsushi@ximian.com>
527 * DateTime.cs : zzzz format allows non-fixed length of number, even
528 in exact parsing mode. Fixed bug #377042.
530 2008-08-05 Jb Evain <jbevain@novell.com>
532 * String.cs: add new NET_2_1 Compare methods.
534 2008-08-03 Miguel de Icaza <miguel@novell.com>
536 * ConsoleDriver.cs: If the terminal is dumb, do not activate the
537 full terminal support.
539 2008-08-02 Marek Safar <marek.safar@gmail.com>
541 * Type.cs: Removed _MemberInfo from base classes list.
543 2008-07-28 Marek Safar <marek.safar@gmail.com>
545 * KnownTerminals.cs: Don't initialize rarely used static data.
547 2008-07-24 Zoltan Varga <vargaz@gmail.com>
549 * Delegate.cs: Move the rarely used fields to a separate object, add
552 * Environment.cs: Bump corlib version.
554 * ConsoleDriver.cs: Remove unused Suspend icall.
556 2008-07-21 Marek Safar <marek.safar@gmail.com>
558 * AppDomain.cs (Load): Check for 0-length assembly name.
560 2008-07-21 Rodrigo Kumpera <rkumpera@novell.com>
562 * Enum.cs (GetHashCode): Use new icall get_hashcode to
563 avoid allocating a boxed version of the enum basetype.
565 2008-07-17 Marek Safar <marek.safar@gmail.com>
567 * String.cs: reverted GetHashCode changes.
569 2008-07-08 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
571 * Char.cs: Remove obsolete lamespecs (it implements IConvertible, small formatting)
573 2008-07-08 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
575 * Char.cs: Optimize some Is* checks
577 2008-07-06 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
579 * DateTimeOffset.cs: Fix parameter name
581 2008-07-06 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
583 * DateTimeOffset.cs: Remove public, make implicit method
585 2008-07-06 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
587 * Environment.cs: Add missing attribute
589 2008-07-04 Rodrigo Kumpera <rkumpera@novell.com>
591 * Delegate.cs (get_Method): Use the internal version
592 of GetMethodFromHandle to avoid the generic class check.
594 2008-07-04 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
596 * GCCollectionMode.cs: Add attribute
597 * GC.cs: Add semi-stubbed missing method, remove obsolete Lamespec, hide non-public method
599 2008-07-04 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
601 * Delegate.cs: Fix parameter names for 2.0 profile
602 * Int64.cs: Fix parameter names
604 2008-07-04 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
606 * IntPtr.cs: Fix parameter names, change internal name to accomodate for parameter changes
608 2008-07-04 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
613 * MultiCastDelegate.cs
616 * MarshalByRefObject.cs
626 * AppDomain.cs: Fix parameter names
628 2008-07-03 Rodrigo Kumpera <rkumpera@novell.com>
630 * Exception.cs (GetFullNameForStackTrace): Don't do string
633 2008-06-30 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
635 * ContextMarshalException.cs:
636 * DllNotFoundException.cs:
637 * EntryPointNotFoundException.cs:
638 * FieldAccessException.cs:
639 * MethodAccessException.cs:
640 * MissingFieldException.cs:
641 * PlatformNotSupportedException.cs: Fix parameter names
643 2008-06-30 Marek Safar <marek.safar@gmail.com>
645 * String.cs: Tweaked hash code methods for better distibution, and speed-up.
647 2008-06-29 Zoltan Varga <vargaz@gmail.com>
649 * MonoCustomAttrs.cs (IsDefined): Avoid calling the .Assembly property in some
652 2008-06-30 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
654 * Char.cs: Fix formatting, rename wrong named param, remove code duplication
656 2008-06-28 Zoltan Varga <vargaz@gmail.com>
658 * Enum.cs (GetUnderlyingType): Implement this using an icall.
660 * Enum.cs (Format): Call IsDefined with inherited=false.
662 * Exception.cs: Fix a warning.
664 2008-06-27 Zoltan Varga <vargaz@gmail.com>
666 * Enum.cs (FindName): Avoid calling String.Compare for the !ignoreCase case.
668 2008-06-27 Rodrigo Kumpera <rkumpera@novell.com>
670 * Exception.cs: Build method traces using the
671 stack trace StringBuilder.
673 2008-06-27 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
675 * Version.cs: Fix parameter names
679 * Int64.cs: Fix parameter names
680 * Int32.cs: Fix parameter names; some small formatting
681 * Int16.cs: Fix parameter names
682 * Double.cs: Fix parameter names; small formatting
689 * Decimal.cs: Fix parameter names
691 2008-06-14 Zoltan Varga <vargaz@gmail.com>
693 * Environment.cs: Bump corlib version.
695 2008-06-10 Zoltan Varga <vargaz@gmail.com>
697 * Math.cs (IEERemainder): Use the normal BitConverter.Int64BitsToDouble method
698 here to fix this on sparc.
700 2008-06-07 Marek Safar <marek.safar@gmail.com>
702 * Array.cs (IndexOf, LastIndexOf): Fixed more array element comparers used
703 instead of tested value comparers.
705 2008-06-07 Zoltan Varga <vargaz@gmail.com>
707 * Environment.cs: Bump corlib version.
709 2008-06-05 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
711 * String.cs: Managed replacement for Replace method ;)
713 2008-06-03 Zoltan Varga <vargaz@gmail.com>
715 * Decimal.cs (Divide): Move expensive equality checks to unmanaged code.
717 2008-06-02 Ivan N. Zlatev <contact@i-nz.net>
719 * MonoType.cs: For property reflection we should strictly match the return
722 2008-06-01 Juraj Skripsky <js@hotfeet.ch>
724 * String.cs (Substring): Blocking bug #395904 has been fixed,
725 re-enable optimization.
727 2008-06-01 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
729 * String.cs: Replace Split IndexOf
731 2008-05-30 Marek Safar <marek.safar@gmail.com>
733 * Array.cs (IndexOf): Use an array element comparer instead of tested value
736 2008-05-28 Zoltan Varga <vargaz@gmail.com>
738 * Console.cs (.cctor): Make sdout synchronized in the console case too.
741 2008-05-27 Eyal Alaluf <eyala@mainsoft.com>
743 * NumberFormatter.jvm.cs: Fix tables to avoid arithemtic overflow
744 in Double.ToString as exposed by Bug #383531.
746 2008-05-24 Gert Driesen <drieseng@users.sourceforge.net>
748 * String.cs: Comment out 2.0 compatibility fix for SubString, since it
749 causes regressions in System.Xml.
751 2008-05-24 Gert Driesen <drieseng@users.sourceforge.net>
753 * String.cs: Changed exception to match MS. Fixed ToCharArray to use
754 startindex for source. In PadLeft and PadRight, only return current
755 string if totalWidth is less than length.
757 2008-05-24 Gonzalo Paniagua Javier <gonzalo.mono@gmail.com>
759 * Enum.cs: use Array.BinarySearch on the values in IsDefined and
760 GetName instead of looping through the list. Made the cache in
761 MonoEnumInfo thread static to avoid contention.
763 2008-05-20 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
765 * String.cs: Replace Split function
767 2008-05-19 Sebastien Pouliot <sebastien@ximian.com>
775 * UInt64.cs: Avoid unboxing primitive types more than one time.
776 [Found using Gendarme]
778 2008-05-19 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
780 * String.cs: Update Trim functions
782 2008-05-19 Zoltan Varga <vargaz@gmail.com>
784 * ConsoleDriver.cs: Avoid initializing the three driver classes when only one
787 2008-05-18 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
789 * String.cs: Update Join and Pad functions
791 2008-05-18 Sebastien Pouliot <sebastien@ximian.com>
793 * Environment.cs: Use String.IsNullOrEmpty inside 2.0 code.
794 [Found using Gendarme]
796 2008-05-16 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
798 * String.cs: Directly create charenumerator
800 2008-05-15 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
802 * String.cs: Resubmit uncritical parts of String patch
804 2008-05-15 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
806 * DateTime.cs: Fix parameter names
808 2008-05-15 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
810 * Decimal.cs: Fix parameter names
812 2008-05-15 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
814 * Decimal.cs: Tabbify/Format
816 2008-05-14 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
819 UnhandledExceptionEventHandler.cs
822 UInt16.cs: Fix parameter names
823 Type.cs: Fix parameter names, formatting
827 SByte.cs: Fix parameter names
829 2008-05-14 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
838 InsufficientMemoryException.cs: Fix parameter names
840 2008-05-14 Jb Evain <jbevain@novell.com>
842 * Exception.cs (ToString): output a new line before the
843 inner exception separator. Fixes #390150.
845 2008-05-12 Gert Driesen <drieseng@users.sourceforge.net>
847 * Type.cs: Modifies exceptions to match MS. Changed GetTypeFromHandle
848 on 1.0 profile to throw ArgumentException when handle is invalid,
850 2008-05-08 Rodrigo Kumpera <rkumpera@novell.com>
852 * Activator.cs (CreateInstance): Check for null types when creating
855 2008-05-07 Robert Jordan <robertj@gmx.net>
857 * RuntimeFieldHandle.cs, RuntimeTypeHandle.cs, RuntimeMethodHandle.cs:
858 Don't try to serialize uninitialized handles. Fixes #386641.
860 2008-05-06 Marek Safar <marek.safar@gmail.com>
862 * IntPtr.cs (eplicit long, GetObjectData): Use ToInt64.
864 2008-05-05 Zoltan Varga <vargaz@gmail.com>
866 * Type.cs (GetTypeFromHandle): Apparently, it is possible to create a
867 RuntimeTypeHandle with a zero handle value by calling its ctor. Add an argument
870 * IntPtr.cs (ToInt64): Use (long)(int) on 32 bit platforms to avoid the default
871 unsigned conversion done by the compiler. Fixes #386466.
873 2008-05-04 Zoltan Varga <vargaz@gmail.com>
875 * Type.cs (UnderlyingSystemType): Add a comment pointing people to
876 Enum.GetUnderlyingType ().
878 2008-04-26 Zoltan Varga <vargaz@gmail.com>
880 * Array.cs (LastIndexOf): Return GetLowerBound (0) -1 instead of -1.
882 * Array.cs (LastIndexOf): Fix handling of empty arrays. Fixes #383876.
884 2008-04-13 Zoltan Varga <vargaz@gmail.com>
886 * String.cs (Split): Fix the handling of RemoveEmptyEntries when the separator
887 matches at the beginning of the string. Fixes #374511.
889 2008-04-13 Jb Evain <jbevain@novell.com>
891 * ICloneable.cs: use the INSIDE_CORLIB pattern to
892 internalize code that is used outside the corlib.
893 Merged from the Moonlight 2 branch.
895 2008-04-04 Raja R Harinath <harinath@hurrynot.org>
897 * String.cs (EndsWith) [CultureInfo variant]: Handle null 'culture'.
898 (StartsWith, EndsWith, IndexOf, LastIndexOf) [StringComparison variant]:
899 Throw exception on invalid StringComparison.
901 2008-04-01 Eyal Alaluf <eyala@mainsoft.com>
903 * NumberFormatter.cs NumberFormatter.jvm.cs: Performance optimizations.
904 Reuse a per thread instance to format all the primitive types. Modify
905 class accordingly so the same
906 instance can be used multiple times.
907 * Int16.cs UInt64.cs Double.cs SByte.cs UInt16.cs Byte.csDecimal.cs
908 TimeSpan.cs Int32.cs Int64.cs Single.cs UInt32.cs: Change use of
909 NumberFormatter to adapt to above changes in class interface.
911 2008-03-31 Mark Probst <mark.probst@gmail.com>
913 * MonoType.cs: Don't do CAS security checks in CheckMethodSecurity
916 2008-03-28 Marek Safar <marek.safar@gmail.com>
918 * Nullable.cs (Box): Do things explicitly and not rely on broken gmcs
921 2008-03-25 Zoltan Varga <vargaz@gmail.com>
923 * AppDomain.cs: Update after MonoMethod.InternalInvoke signature change.
925 * Environment.cs: Bump corlib version.
927 * DateTime.cs: Fix a warning.
929 2008-03-21 Sebastien Pouliot <sebastien@ximian.com>
931 * String.cs: Use "this" in Split method instead of calling ToString.
932 Found using Gendarme.
934 2008-03-06 Marek Safar <marek.safar@gmail.com>
936 * MonoCustomAttrs (GetCustomAttributes): Type cannot be null with
937 typeof (MonoCustomAttrs) hack.
939 Wed Mar 5 19:39:01 CET 2008 Paolo Molaro <lupus@ximian.com>
941 * Type.cs: optimize GetTypeCode () for the common case
944 2008-03-02 Roei Erez <roeie@mainsoft.com>
946 * DateTime.cs: Improve the patch supplied by James Purcell to be
947 dotnet-compatible, and add support for RoundTripKind parsing.
948 Fixed reopened bug #352210.
951 Tue Feb 26 17:50:17 CET 2008 Paolo Molaro <lupus@ximian.com>
953 * DateTime.cs: instroduce a method that returns ticks monotonically.
955 2008-02-26 Ivan N. Zlatev <contact@i-nz.net>
957 * Attribute.cs, MonoCustomAttrs: MS ignores the inherit param in
958 PropertyInfo's ICustomAttributeProvider implementation, but not
959 in the Attributes, so directly get the attributes from
960 MonoCustomAttrs instead of going throught the PropertyInfo's
961 ICustomAttributeProvider.
962 [Fixes bugs #324472 and #322464]
964 2008-02-26 Atsushi Enomoto <atsushi@ximian.com>
966 * DateTime.cs : fix roundtrip regression in Sys.Xml.XmlConvertTests,
967 patch by James Purcell (at #352210).
969 2008-02-25 Atsushi Enomoto <atsushi@ximian.com>
971 * DateTime.cs, DateTimeUtils.cs : make Kind value from parse result
972 as dotnet-compatible. Patch by James Purcell, fixed bug #352210.
974 2008-02-18 Atsushi Enomoto <atsushi@ximian.com>
976 * DBNull.cs : ToType(typeof(DBNull),...) should be allowed.
978 2008-02-16 Sebastien Pouliot <sebastien@ximian.com>
980 * Object.cs: Fix parameter name to match MS implementation. Found
982 * ValueType.cs: Fix parameter name to match MS implementation.
983 Found using Gendarme.
985 2008-02-14 Jb Evain <jbevain@novell.com>
987 * Delegate.cs (CreateDelegate): refactor. DRY!
989 2008-02-12 Gert Driesen <drieseng@users.sourceforge.net>
991 * Delegate.cs (CreateDelegate): Walk the inheritance change to find
992 matching method. Skip methods for which the return type does not match
993 the delegate. Fixes bug #360784.
995 2008-02-11 Eyal Alaluf <eyala@mainsoft.com>
997 * NumberFormatter.cs: Fix ToString("R") for +-Infinity & NaN.
999 2008-02-08 Sebastien Pouliot <sebastien@ximian.com>
1001 * Random.cs: Explain (and extend) special case in Next(min,max)
1003 2008-02-08 Juraj Skripsky <js@hotfeet.ch>
1005 * Random.cs (Next): Use rounding (via implicit conversion) only on
1006 positive values. Fixes bug 359918.
1008 2008-02-03 Sebastien Pouliot <sebastien@ximian.com>
1010 * Environment.cs: Remove unused method found with Gendarme.
1012 2008-02-02 Gert Driesen <drieseng@users.sourceforge.net>
1014 * Variant.cs: Fixed line endings.
1015 * MonoType.cs: Fixed parameter name for ArgumentException to match MS.
1017 2008-01-29 Zoltan Varga <vargaz@gmail.com>
1019 * Type.cs (MakeGenericType): Fix exception message.
1021 2008-01-29 Jb Evain <jbevain@novell.com>
1023 * AppDomain.cs: add SL overload of DefineDynamicAssembly.
1025 2008-01-29 Marek Safar <marek.safar@gmail.com>
1027 * Type.cs (MakeGenericType): More argument checks. Fixes #356863 by
1030 2008-01-25 Rodrigo Kumpera <rkumpera@novell.com>
1032 * MonoType.cs (InvokeMember): Fixed exceptions arguments for last comit.
1034 2008-01-24 Rodrigo Kumpera <rkumpera@novell.com>
1036 * MonoType.cs (InvokeMember): Check for parameters without default value which
1037 the supplied argument is Missing.Value. Fixes one of the issues of #348522.
1039 2008-01-21 Sebastien Pouliot <sebastien@ximian.com>
1041 * DateTimeOffset.cs: Avoid NRE on bad cast if null is provided to
1042 Equals(object). Found using Gendarme.
1044 2008-01-16 Zoltan Varga <vargaz@gmail.com>
1046 * DateTimeOffset.cs: Fix warnings.
1048 2008-01-15 Stephane Delcroix <sdelcroix@novell.com>
1050 * DateTimeOffset.cs: ParseExact: parse f, F, s too.
1052 2008-01-15 Stephane Delcroix <sdelcroix@novell.com>
1054 * DateTimeOffset.cs: ParseExact: honor the DateTimeStyles parameter.
1056 2008-01-15 Zoltan Varga <vargaz@gmail.com>
1058 * AppDomainSetup.cs Buffer.cs Action.cs Array.cs BadImageFormatException.cs Byte.cs
1059 Attribute.cs _AppDomain.cs Boolean.cs AppDomain.cs: Fix some argument names to be
1062 2008-01-14 Sephane Delcroix <sdelcroix@novell.com>
1064 * DateTimeOffset.cs: start refactoring DoParse.
1066 2008-01-14 Zoltan Varga <vargaz@gmail.com>
1068 * Type.cs (GetConstructor): Use correct binding flags in type (Type[]) overload.
1071 2008-01-13 Eyal Alaluf <eyala@mainsoft.com>
1073 * NumberFormatter.cs, Double.cs, Single.cs: Fix Single & Double default
1074 ToString to handle +-Infinity & NaN.
1076 2008-01-14 Sephane Delcroix <sdelcroix@novell.com>
1078 * DateTimeOffset.cs: ParseExact (string, string, IFormatProvider)
1082 2008-01-14 Zoltan Varga <vargaz@gmail.com>
1084 * NumberFormatter.cs: Remove some redundant assignments.
1086 2008-01-13 Gert Driesen <drieseng@users.sourceforge.net>
1088 * AppDomain.cs: Also fix bug #350530 for overload taking evidence and
1089 args. On 1.0 profile, throw COMException to match MS and to allow
1090 our unit tests to pass on MS.
1092 2008-01-13 Eyal Alaluf <eyala@mainsoft.com>
1094 * NumberFormatter.cs: Check in redesigned implementation. Improves
1095 double.ToString performance by 2-3 orders of magnitude and other
1096 primitive numeric types ToString performance.
1097 * NumberFormatter.jvm.cs: The TARGET_JVM managed tables for NumberFormatter
1098 class for reuse if a completely managed NumberFormatter is required.
1099 * Int16.cs UInt64.cs Double.cs UInt16.cs SByte.cs Byte.cs TimeSpan.cs
1100 Int32.cs Int64.cs Single.cs UInt32.cs: Adapt to new NumberFormatter.
1102 2008-01-13 Zoltan Varga <vargaz@gmail.com>
1104 * AppDomain.cs: Check for a missing entry point in the ExecuteAssembly methods.
1107 2008-01-11 Stephane Delcroix <sdelcroix@novell.com>
1109 * DateTimeOffset.cs: Fixes the MinValue (was equal to MaxValue)...
1111 2008-01-10 Zoltan Varga <vargaz@gmail.com>
1113 * Delegate.cs: Implement argument checking in CreateDelegate(Type,object,MethodInfo)
1114 method. Make the CreateDelegate(Type,MethodInfo) overload calls this version.
1117 2008-01-10 Stephane Delcroix <sdelcroix@novell.com>
1119 * DateTimeOffset.cs: chain the Parse* methods together.
1121 2008-01-09 Atsushi Enomoto <atsushi@ximian.com>
1123 * DateTime.cs : revert the previous fix. It caused regression on
1126 2008-01-09 Atsushi Enomoto <atsushi@ximian.com>
1128 * DateTime.cs : fixed bug #352210. Kind is unspecified by default,
1129 while the tick is for local time by default. This fix also involved
1130 special x509 handling.
1132 2008-01-08 Marek Safar <marek.safar@gmail.com>
1134 * Array.cs (LastIndexOf<T>): Fixed bound checking.
1136 2008-01-06 Zoltan Varga <vargaz@gmail.com>
1138 * AppDomain.cs: Move the assembly loading in ExecuteAssembly and
1139 ExecuteAssemblyByName to managed to as said by the MSDN docs. Fixes #350530.
1141 * Environment.cs: Bump corlib version.
1143 2008-01-02 Marek Habersack <mhabersack@novell.com>
1145 * Array.cs: fix a typo to unbreak the build.
1147 2008-1-1 Scott Peterson <lunchtimemama@gmail.com>
1149 * Array.cs: Slight improvement to the quicksort algorithm.
1151 2007-12-28 Gert Driesen <drieseng@users.sourceforge.net>
1153 * Environment.cs: Bump corlib version.
1155 2007-12-20 Gert Driesen <drieseng@users.sourceforge.net>
1157 * AppDomain.cs: Added check for null AssemblyName, and invalid
1158 AssemblyName.Name to DefineDynamicAssembly overloads. Loosely based on
1159 patch provided by Cedric Vivier. Fixes bug #349272.
1161 2007-12-20 Stephane Delcroix <sdelcroix@novell.com>
1163 * DateTimeOffset.cs: set [Min|Max]Value to UTC. Fixes #349621.
1165 2007-12-19 Stephane Delcroix <sdelcroix@novell.com>
1168 * DateTimeOffset.cs:
1169 * DateTimeUtils.cs: factored out the common pieces of DT and DTO into DTU.
1171 2007-12-18 Stephane Delcroix <sdelcroix@novell.com>
1173 * DateTimeOffset.cs: implementing the 4 ToString overloads by reusing
1174 large chunks of System.DateTime code.
1176 2007-12-16 Stephane Delcroix <sdelcroix@novell.com>
1178 * DateTimeOffset.cs: some bugfix discovered by unit tests.
1180 2007-12-16 Stephane Delcroix <sdelcroix@novell.com>
1182 * DateTimeOffset.cs: almost complete implementation, still missing the
1183 Parse* and ToString methods.
1185 2007-12-11 Zoltan Varga <vargaz@gmail.com>
1187 * AppDomain.cs (DoAssemblyResolve): Fix detection of whenever there is a
1188 reflection-only assembly resolve hook.
1190 2007-12-10 Stephane Delcroix <sdelcroix@novell.com>
1192 * DateTimeOffset.cs: partial implementation. no longer just a stub.
1194 2007-11-30 Zoltan Varga <vargaz@gmail.com>
1196 * Delegate.cs: Compute the Method property lazily.
1198 * Delegate.cs: Add a 'method' field.
1200 * Environment.cs: Bump corlib version.
1202 2007-11-21 Zoltan Varga <vargaz@gmail.com>
1204 * Array.cs: Make the InternalArray_... methods internal.
1206 * Environment.cs: Bump corlib version.
1208 2007-11-21 Atsushi Enomoto <atsushi@ximian.com>
1210 * AppDomain.cs : filled 2.0 API (extra ones are from 2.0 SP1).
1211 * ContextMarshalException.cs : obsolete in 2.0.
1213 2007-11-21 Atsushi Enomoto <atsushi@ximian.com>
1215 * MarshalByRefObject.cs : Added MemberwiseClose() stub.
1216 GetLifetimeService() is not virtual (in both 2.0 and 1.1).
1217 * Console.cs : implemented missing 2.0 key members.
1219 2007-11-18 Gert Driesen <drieseng@users.sourceforge.net>
1221 * Enum.cs: Provided ParamName of Argument(Null)Exceptions. Rewrote
1222 some exception messages.
1224 2007-11-16 Gert Driesen <drieseng@users.sourceforge.net>
1226 * AppDomain.cs: Added some obsolete messages.
1228 2007-11-15 Gert Driesen <drieseng@users.sourceforge.net>
1230 * MonoType.cs: Modified ParamName for ArgumentException to match
1231 MS. Provide meaningful exception messages. On 2.0, throw ANE instead
1232 of ArgumentException when args is null.
1234 2007-11-15 Zoltan Varga <vargaz@gmail.com>
1236 * MonoType.cs (Invoke): Allow BindingFlags.SetField and
1237 BindingFlags.SetProperty to be specified together. Fixes #321735.
1239 2007-11-14 Miguel de Icaza <miguel@novell.com>
1241 * Console.cs, ConsoleDriver.cs, TermInfoDriver.cs,
1242 TermInfoReader.cs, TermInfoNumber.cs, TermInfoStrings.cs,
1243 CStreamReader.cs, CStreamWriter.cs, NullConsoleDriver.cs,
1244 WindowsConsoleDriver.cs: In the 2.1 profile we do not need the
1245 full-blown Console (the terminal-addressable console) so we shrink
1246 it down to the basic 1.0 Console.
1248 2007-11-14 Marek Safar <marek.safar@gmail.com>
1250 * Nullable.cs: Optimized to use generic comparers.
1252 2007-11-14 Zoltan Varga <vargaz@gmail.com>
1254 * Array.cs (Copy): Throw InvalidCastException in more cases.
1256 2007-11-13 Zoltan Varga <vargaz@gmail.com>
1258 * GCCollectionMode.cs GCLatencyMode.cs: New net 3.5 types.
1260 2007-11-12 Atsushi Enomoto <atsushi@ximian.com>
1262 * NumberFormatter.cs : revert previous two changes. It does not
1263 really work for float and hence will rather bring confusion.
1265 2007-11-12 Atsushi Enomoto <atsushi@ximian.com>
1267 * NumberFormatter.cs : limit the situation that needs roundtrip
1268 verification in the previous change to Double.
1270 2007-11-12 Atsushi Enomoto <atsushi@ximian.com>
1272 * NumberFormatter.cs : applied a quick fix for bug #320433. It needs
1273 true fix to avoid extra perf. loss.
1275 2007-11-08 Sebastien Pouliot <sebastien@ximian.com>
1277 * TimeZone.cs: Under 2.0 we must return a Local DateTime.MinValue.
1278 Fix the regression on the x86_64 bot which seems to be in it's own
1281 2007-11-07 Gert Driesen <drieseng@users.sourceforge.net>
1283 * Exception.cs: Cosmetic change to default exception message on
1286 2007-11-05 Gert Driesen <drieseng@users.sourceforge.net>
1288 * Array.cs: Distinguish between notstarted and finished state when
1289 throwing IOE in Current, and provide meaningful exception message.
1291 2007-11-05 Sebastien Pouliot <sebastien@ximian.com>
1293 * Array.cs: Fix Enumerator<T>.Reset (#322248).
1295 2007-11-05 Rodrigo Kumpera <rkumpera@novell.com>
1297 * Type.cs (MakeGenericType): fix for #331199. If an user-defined type
1298 was used, the runtime would crash. Now we apply UnderlyingSystemType to
1299 all types before handling to the runtime.
1301 2007-11-05 Stephane Delcroix <sdelcroix@novell.com>
1303 * TimeZone.cs: fix for #323911. The our after DST.Start is already DST.
1305 2007-11-03 Atsushi Enomoto <atsushi@ximian.com>
1307 * DateTime.cs : fix for #330085. for Local time, convert to Utc
1308 before getting ticks.
1310 2007-11-03 Gert Driesen <drieseng@users.sourceforge.net>
1312 * ArgumentException.cs: Change default message to match MS. Removed
1313 unnecessary check from Message, since base.Message can never be null.
1315 2007-11-01 Atsushi Enomoto <atsushi@ximian.com>
1317 * DateTime.cs : ParseExact() should ignore 'K' when there is no
1320 2007-11-01 Atsushi Enomoto <atsushi@ximian.com>
1322 * DateTime.cs : in roundtrip mode, 'Z' should turn the tick value to
1323 utc time and should not result in different ticks.
1326 2007-10-30 Miguel de Icaza <miguel@novell.com>
1328 * UInt32.cs (Parse): Use Jeff Stedfast's parsing code which is
1329 smaller and does not need checked() constructs.
1331 * Int64.cs, Int32.cs, Int16.cs: small tuneup: do not throw
1332 exception, instead return the exception like every other place in
1335 * Int16.cs, Int32.cs, Int64.cs: Use the Jeff Stedfast parsing code
1336 which is smaller. We no longer use "checked" to check for
1337 overflows, I refactored some stuff and cleaned up the rest and
1340 2007-10-27 Zoltan Varga <vargaz@gmail.com>
1342 * MonoType.cs: Applied patch from Mario A Chavez
1343 <mario.chavez@gmail.com>. Add support for invoking members with the
1344 ParamArray attribute. Fixes #336841.
1346 2007-10-26 Zoltan Varga <vargaz@gmail.com>
1348 * MonoType.cs (InvokeMember): Make sure one operation is passed in the binding
1349 flags. Fixes #336936.
1351 Fri Oct 26 19:43:09 CEST 2007 Paolo Molaro <lupus@ximian.com>
1353 * Environment.cs, String.cs: patch from Tyler Larson
1354 <mono-devel@tlarson.com> to fix the handling of the RemoveEmptyEntries
1355 option in string.Split (bug #322375).
1357 2007-10-26 Dick Porter <dick@ximian.com>
1359 * Environment.cs: Bump version because of Thread initialisation
1362 2007-10-25 Lluis Sanchez Gual <lluis@novell.com>
1364 * AppDomain.cs: In DefaultDomain, wrap the returned domain with
1365 a proxy if the current domain is not the root domain.
1367 2007-10-24 Atsushi Enomoto <atsushi@ximian.com>
1369 * Type.cs : implemented ReflectionOnlyGetType().
1371 2007-10-19 Zoltan Varga <vargaz@gmail.com>
1373 * AppDomain.cs: Add NET 3.5 DefineDynamicAssembly () overloads.
1375 2007-10-13 Zoltan Varga <vargaz@gmail.com>
1377 * Delegate.cs (CreateDelegate): Allow binding instance methods to
1378 delegates with an extra argument, a NET 2.0 feature. Fixes #333647.
1380 Fri Oct 12 08:11:50 CEST 2007 Paolo Molaro <lupus@ximian.com>
1382 * String.cs: reverted unapproved patch that breaks the build.
1384 2007-10-11 Joel Reed <joelwreed@comcast.com>
1386 * String.cs: fix String.Split(char[],int,StringSplitOptions)
1387 with StringSplitOptions.RemoveEmptyEntries option. The correct
1388 behavior is to remove empty entries while the string is being split,
1389 and always return the maximum number of elements possible.
1390 Patch from: Tyler Larson <mono-devel@tlarson.com>
1392 2007-09-28 Jb Evain <jbevain@novell.com>
1394 * Object.cs: Make ToString return Type.ToString ()
1395 by default instead of Type.FullName to match .net
1396 behavior. Fix #329419.
1398 2007-09-28 William Holmes <billholmes54@gmail.com>
1400 * DateTime.cs: Check for AssumeUniversal when parsing string.
1403 2007-09-21 Gert Driesen <drieseng@users.sourceforge.net>
1405 * Enum.cs: Use regular single quotes in exception message.
1407 2007-09-14 Paolo Molaro <lupus@ximian.com>
1409 * String.cs: implemented all the string ctors using CreateString
1410 methods, so they can run completely in managed code.
1412 2007-09-13 Marek Safar <marek.safar@gmail.com>
1414 * DateTimeOffset.cs: Implemented few properties.
1416 2007-09-13 Atsushi Enomoto <atsushi@ximian.com>
1418 * Decimal.cs, Math.cs : implemented midpoint rounding.
1420 2007-09-13 Atsushi Enomoto <atsushi@ximian.com>
1422 * Activator.cs : implemented 2.0 CreateInstance()
1423 and CreateInstanceFrom () overloads.
1425 2007-09-12 Sebastien Pouliot <sebastien@ximian.com>
1427 * Decimal.cs: More explicit text in exception (old and almost
1428 forgetten patch on laptop ;-)
1430 2007-09-10 Atsushi Enomoto <atsushi@ximian.com>
1432 * OperatingSystem.cs : implemented ISerializable.
1434 2007-08-28 Zoltan Varga <vargaz@gmail.com>
1436 * DateTime.cs: Fix a warning.
1438 2007-08-25 Robert Jordan <robertj@gmx.net>
1440 * DateTime.cs: Implement internal To/FromBinary for the 1.1 profile.
1442 2007-08-25 Alan McGovern <amcgovern@novell.com>
1444 * DateTime.cs: Reverted DateTime changes.
1446 2007-08-25 Robert Jordan <robertj@gmx.net>
1448 * DateTime.cs: Implement internal To/FromBinary for the 1.1 profile.
1450 2007-08-24 Zoltan Varga <vargaz@gmail.com>
1452 * Array.cs: Fix min + max / 2 overflows in the BinarySearch and qsort methods.
1455 2007-08-23 Marek Safar <marek.safar@gmail.com>
1457 * DateTimeOffset.cs: New .NET 3.5 struct for 2.0 mscorlib.
1459 2007-08-23 Eyal Alaluf <eyala@mainsoft.com>
1461 * DateTime.cs: Numerous improvements to DateTime.Parse. It handles a lot
1462 more possible formats and more correctly at that. It is also now easier
1463 to manage the formats DateTime.Parse supports.
1465 2007-08-17 Zoltan Varga <vargaz@gmail.com>
1467 * Exception.cs: Make 1.0 and 2.0 object layout the same since this class is seen
1468 by the runtime. Fixes #82459.
1470 2007-08-16 Gert Driesen <drieseng@users.sourceforge.net>
1472 * MonoCustomAttrs.cs: In IsDefined, throw ArgumentNullException if
1473 attributeType is null to avoid a SIGSEGV (and match MS). Only partial
1474 fix for bug #82431 on 1.0 profile; it fully fixes the problem for the
1475 1.0 profile, but more changes (in the runtime) are required for the
1476 2.0 profile. Added a FIXME explaining the problem.
1478 2007-08-15 Gert Driesen <drieseng@users.sourceforge.net>
1480 * MonoCustomAttrs.cs: In IsDefined, only walk inheritance chain if
1481 both AttributeUsage.Inherited and inherit are true. Fixed bug #82431.
1483 2007-08-13 Gert Driesen <drieseng@users.sourceforge.net>
1485 * ArgumentException.cs: Ignore zero-length ParamName for Message.
1486 Use ParamName property instead of field, since the property is marked
1488 * Array.cs: Provide more meaningful exception message when destination
1489 array is not long enough.
1491 2007-08-11 Zoltan Varga <vargaz@gmail.com>
1493 * Array.cs: Implement InternalArray__set_Item. Fixes #82345.
1495 2007-08-08 Atsushi Enomoto <atsushi@ximian.com>
1497 * IntPtr.cs : oops, do not ignore format in ToString(string).
1499 2007-08-08 Atsushi Enomoto <atsushi@ximian.com>
1501 * GC.cs, Exception.cs, IntPtr.cs, Enum.cs, DateTime.cs, Convert.cs
1502 ConsoleKeyInfo.cs, String.cs, Object.cs, Attribute.cs,
1503 Version.cs : couple of cosmetic 2.0 API fixes.
1505 2007-08-06 Aaron Bockover <abockover@novell.com>
1507 * Environment.cs (ReadXdgUserDir): Support the changes to the
1508 xdg-user-dirs spec that allow $HOME to start the path; also allows
1509 for quotes surrounding the path (Patch ported from Banshee,
1512 2007-07-28 Miguel de Icaza <miguel@novell.com>
1514 * MulticastDelegate.cs (Equals): do not cast to avoid exceptions,
1515 instead use the "as" operator, as pointed out by Jesse Jones'
1518 2007-07-21 Gert Driesen <drieseng@users.sourceforge.net>
1520 * BitConverter.cs: Fixed exceptions to match MS. Fixed invalid use
1521 of ArgumentOutOfRangeException and ArgumentException ctors that take
1522 both parameter name and message. In ToString throws ArgumentException
1523 instead of ArgumentOutOfRangeException when length is negative, and
1524 return zero-length string when length is 0.
1526 2007-07-20 Atsushi Enomoto <atsushi@ximian.com>
1528 * AppDomainSetup.cs : fix serialization regression.
1530 2007-07-20 Atsushi Enomoto <atsushi@ximian.com>
1532 * AppDomainSetup.cs :
1533 MonoTODO AppDomainInitializer as its implementation is wrong.
1535 2007-07-20 Atsushi Enomoto <atsushi@ximian.com>
1537 * AppDomainSetup.cs : added missing 2.0 members.
1538 * AppDomain.cs : support AppDomainInitializer.
1540 2007-06-06 Miguel de Icaza <miguel@novell.com>
1542 * Int16.cs, UInt64.cs, SByte.cs, UInt16.cs, Byte.cs, Int32.cs,
1543 Int64.cs, UInt32.cs: Fix for 81775.
1545 I removed Parse from a Byte.cs and UInt16.cs as in various cases
1546 they still depended on UInt32.cs for parsing, there is no reason
1547 to keep all of this code duplicated (UInt64 is a different case
1550 I was hoping for some feedback on whether my tests are correct,
1551 but so far no takers.
1553 2007-07-14 Zoltan Varga <vargaz@gmail.com>
1555 * ModuleHandle.cs: Implement the generic versions of the ResolveXXXHandle () methods.
1557 * ModuleHandle.cs: Add stubs for generic ResolveXXXHandle () methods.
1559 2007-07-10 Alan McGovern <amcgovern@novell.com>
1561 * Guid.cs: All whitespace should be trimmed from before and
1562 after a string passed into the Guid constructor. Fixes #81958
1564 2007-07-10 Zoltan Varga <vargaz@gmail.com>
1566 * RuntimeTypeHandle.cs: Fix signatures of == and != operators.
1568 * ModuleHandle.cs: Add missing 2.0 stuff.
1570 2007-07-08 Zoltan Varga <vargaz@gmail.com>
1572 * *.cs: Add missing ComVisible attributes.
1574 * Delegate.cs: Add missing 2.0 CreateDelegate () methods.
1576 2007-07-07 Gert Driesen <drieseng@users.sourceforge.net>
1578 * DateTime.cs: In ParseExact, throw ArgumentNullException if format
1579 is null; throw FormatException if formats array is empty or if one of
1580 items is null or a zero-length string.
1582 2007-07-06 Rodrigo Kumpera <rkumpera@novell.com>
1584 * Double.cs (Parse): Fix for string ending in garbaga, it was just ignoring it
1585 instead of throwing FormatException. Fixes #81777
1587 2007-07-06 Rodrigo Kumpera <rkumpera@novell.com>
1589 * Double.cs (Parse): Fix for whitespace only strings, it was returning zero
1590 instead of throwing FormatException. Fixes #81630
1592 2007-07-06 Alan McGovern <amcgovern@novell.com>
1594 * DateTime.cs: If the format is null or empty, it should default to 'G'.
1597 2007-07-06 Jonathan Chambers <joncham@gmail.com>
1599 * __ComObject.cs: Support ExtensibleClassFactory.
1602 2007-07-06 Aaron Bockover <abockover@novell.com>
1604 * Environment.cs (InternalGetFolderPath): Try reading some
1605 paths from ~/.config/user-dirs.dirs (XDG user dirs spec);
1606 always return something for MyPictures
1608 2007-07-04 Atsushi Enomoto <atsushi@ximian.com>
1610 * Type.cs : 2.0 TypeHandle and ContainsGenericParameters are virtual
1611 (required fix for 2.0 reflection API fixes).
1613 2007-06-22 Jonathan Chambers <joncham@gmail.com>
1615 * __ComObject.cs: Move interface lookup to unmanaged.
1617 2007-06-21 Zoltan Varga <vargaz@gmail.com>
1619 * Environment.cs: Bump corlib version.
1621 * Delegate.cs: Applied patch from Robert Jordan (robertj@gmx.net). Keep
1622 the dynamic method referenced by a delegate alive.
1624 2007-06-05 David Ferguson <davecferguson@gmail.com>
1626 * DateTime.cs: Changed DateTime.Parse() to throw a FormatException
1627 instead of an ArgumentOutOfRangeException for .NET 2.0. An
1628 ArgumentOutOfRangeException is still thrown for .NET 1.1.
1631 Mon Jun 4 14:52:17 CEST 2007 Paolo Molaro <lupus@ximian.com>
1633 * String.cs: optimized CompareOrdinal ().
1635 2007-06-02 Zoltan Varga <vargaz@gmail.com>
1637 * MonoCustomAttrs.cs (GetBase): Revert last change as it breaks the build.
1639 * MonoCustomAttrs.cs (GetBase): Handle properties correctly. Fixes #81797.
1641 2007-05-31 Zoltan Varga <vargaz@gmail.com>
1643 * Delegate.cs: Add invoke_impl field. Reorder fields for better cache behavior. Add
1644 SetMulticastDelegate icall.
1646 * MulticastDelegate.cs (CombineImpl): Call SetMulticastDelegate () on newly created
1649 * Environment.cs: Bump corlib version.
1651 2007-05-25 Jonathan Chambers <joncham@gmail.com>
1653 * __ComObject.cs: Add overload to GetInterface to allow
1654 not throwing exceptions. Fixes as and is operators for COM objects.
1656 2007-05-23 Atsushi Enomoto <atsushi@ximian.com>
1658 * Array.cs : reverting Array.cs fixes since the runtime depends on
1659 those method attributes.
1661 2007-05-23 Atsushi Enomoto <atsushi@ximian.com>
1663 * Int16.cs UInt64.cs UIntPtr.cs Double.cs CrossAppDomainDelegate.cs
1664 ResolveEventHandler.cs IntPtr.cs UnhandledExceptionEventHandler.cs
1665 Void.cs AssemblyLoadEventHandler.cs SByte.cs UInt16.cs DateTime.cs
1666 Byte.cs TimeSpan.cs Decimal.cs Int32.cs Delegate.cs
1667 AppDomainInitializer.cs MulticastDelegate.cs Int64.cs
1668 EventHandler.cs Single.cs UInt32.cs AsyncCallback.cs :
1669 cosmetic attribute fixes (ComVisible/Serializable).
1671 2007-05-22 Atsushi Enomoto <atsushi@ximian.com>
1673 * Convert.cs : completed 2.0 (ToBase64CharArray).
1674 * String.cs : removed MonoTODO.
1675 * DataMisalignedException.cs : removed extra .ctor().
1676 * Array.cs : internalize extra members. Fixed reliability contract.
1678 2007-05-17 Atsushi Enomoto <atsushi@ximian.com>
1680 * DateTime.cs : added support for 'K'.
1682 2007-05-11 Jonathan Chambers <joncham@gmail.com>
1684 * __ComObject.cs: No need to call CoInitialize anymore since
1685 Thread.ApartmentState was implemented.
1687 2007-05-11 Jeffrey Stedfast <fejj@novell.com>
1691 * TermInfoDriver.cs (WriteSpecialKey): Actually clear the screen
1692 and reset the cursor position to 0,0 when the key is
1694 (Clear): Reset the cursor position to 0,0
1696 2007-05-09 Marek Safar <marek.safar@gmail.com>
1698 * MulticastDelegate.cs: Fixed operators logic.
1700 2007-05-09 Marek Habersack <mhabersack@novell.com>
1702 * DateTime.cs: add a format used in ASP.NET QuickStarts
1703 ("HH':'mm tt MM/dd/yyyy")
1705 2007-04-30 Zoltan Varga <vargaz@gmail.com>
1707 * Type.cs (Equals): Allow a null argument.
1709 2007-04-27 Zoltan Varga <vargaz@gmail.com>
1711 * Environment.cs (StackTrace): Avoid skipping a frame to be
1714 2007-04-25 Atsushi Enomoto <atsushi@ximian.com>
1716 * DateTimeTest.cs : looks like 'F' even removes preceding '.' ...
1718 2007-04-25 Atsushi Enomoto <atsushi@ximian.com>
1720 * DateTime.cs : implemented new-2.0 'F' pattern letter.
1722 2007-04-24 Jeffrey Stedfast <fejj@novell.com>
1724 Fixes the last of the bugs listed in bug #77525
1726 * TermInfoDriver.cs (ctor): For known terminal types, set color16
1727 to true (since we know they support 16 colours).
1728 (Init): set the setlfgcolor and setlbgcolor format strings.
1729 (BackgroundColor): Use the appropriate formatter string for
1730 setting the bgcolor.
1731 (ForegroundColor): Use the appropriate formatter string for
1732 setting the fgcolor.
1733 (TranslateColor): Now takes (and sets appropriately) an output
1734 'bool light' argument.
1736 2007-04-24 Marek Habersack <mhabersack@novell.com>
1738 * TermInfoDriver.cs: don't include debug stuff by default - it
1739 breaks multithreaded applications (they all attempt to open
1740 console.log and fail because of sharing violation).
1742 2007-04-23 Jeffrey Stedfast <fejj@novell.com>
1744 * TermInfoDriver.cs (ReadKeyInternal): Since our input stream is
1745 buffered, check if it has more buffered input in addition to our
1746 timeout check. This makes it such that we will actually correctly
1747 match multi-char escape sequences.
1748 (Read): Changed the logic slightly wrt 'fresh' echoing. Once we
1749 encounter a fresh char, all chars afterward should also be
1750 considered 'fresh' even if 'fresh' is returned as false later.
1751 (ReadLine): Same logic here.
1753 2007-04-23 Jeffrey Stedfast <fejj@novell.com>
1755 Fixes bug #80702 (via getting rid of the casting) and more.
1757 The following change makes it such that even if an application
1758 calls Console.SetOut() with its own output stream, we can still
1759 properly echo user-input from stdin to the real stdout.
1761 * TermInfoDriver.cs (ctor): Grab a reference to the original
1762 Console.stdout so we can be sure we always echo to console.
1763 (QueueEcho): No need to cast Console.stdout anymore.
1765 (WriteConsole: Here too.
1767 2007-04-20 Jeffrey Stedfast <fejj@novell.com>
1769 * TermInfoDriver.cs (QueueEcho): Renamed from Echo(char). Use
1770 CStreamWriter's new InternalWriteChars().
1771 (Echo): Since we can no longer go thru CStreamWriter's ::Write()
1772 method that does checks for special keys, do the checks here
1773 instead - if it is a special key, flush the echo buffer and then
1774 write the special key.
1775 (EchoFlush): Also updated to use CStreamWriter's new
1776 InternalWriteChars().
1777 (Read): Use the Echo(key) variety.
1779 (ReadLine): And here too.
1781 * CStreamWriter.cs (InternalWriteChars): Write a char array
1782 directly to stdout. Do not pass Go, do not collect $200.
1784 2007-04-19 Jeffrey Stedfast <fejj@novell.com>
1786 Optimization for echoing keypresses back to the console when the
1787 user pastes a block of text rather than manually typing text.
1789 * TermInfoDriver.cs (Echo): A new convenience function for echoing
1790 characters/keys back to the console with an optimization twist and
1792 (EchoFlush): Flush our pending echo queue
1793 (Read): Make use of Echo() both for convenience and for speed.
1795 (ReadKey): Make use of Echo()/EchoFlush() for simplicity of code,
1796 but we won't get the same optimization out of it.
1798 2007-04-19 Jeffrey Stedfast <fejj@novell.com>
1802 * TermInfoDriver.cs: Changed 'buffer' to be a char array instead
1803 of a byte array and stdin is now a StreamReader rather than a
1805 (Init): Setup stdin as a StreamReader using Console.InputEncoding
1807 (GetCursorPosition): Use stdin.Read() instead of the old
1809 (AddToBuffer): Updated to allocate the correct array type for
1811 (ReadKeyInternal): Updated to use stdin.Read() rather than
1812 stdin.ReadByte(). This is the main reason we needed to use chars
1813 instead of bytes. Characters entered by the user need to be
1814 represented as unicode chars and not bytes like before.
1815 (Match): Now takes a char[] buffer argument instad of byte[] and
1816 compares the input buffer to the byte-map as chars.
1818 2007-04-18 Jeffrey Stedfast <fejj@novell.com>
1820 Fixes bug #81159: behave the same as mscorlib
1822 * TermInfoDriver.cs (ReadKeyInternal): Now has an 'out bool fresh'
1823 argument which is used to tell our caller if the key was freshly
1824 read from the console or pre-buffered.
1825 (Read): New implementation of Console.In.Read(char[], int, int)
1826 that behaves exactly like mscorlib's implementation.
1827 (ReadKey): Updated for the ReadKeyInternal() API change - only
1828 echo if the key was fresh.
1831 * CStreamReader.cs (Read): Call the new TermInfoDriver.Read()
1833 2007-04-17 Jeffrey Stedfast <fejj@novell.com>
1835 * CStreamWriter.cs (Write): Optimized this some more, we don't
1836 need a temporary buffer. Just blit chunks of the src buffer
1839 * CStreamReader.cs (Read): Need to increment our array index so
1840 that we don't store each byte read into the same
1841 position. Discovered this while testing bug #81159 (which appears
1842 to work as expected with current svn, other than this buglet).
1844 * TermInfoDriver.cs (CursorTop::set): SetCursorPosition() sets our
1845 internal cursorTop variable, so no need to explicitly set it again
1846 after calling SetCursorPosition().
1847 (CursorLeft::set): Same idea here.
1849 2007-04-17 Jeffrey Stedfast <fejj@novell.com>
1851 * TermInfoDriver.cs (ReadLine): Implemented a workaround for
1852 IronPython going behind System.Console's back when writing text to
1853 the screen (it doesn't seem to use Console.stdout, instead it
1854 creates its own file stream or something which just so happens to
1855 write to the same file descriptor) by querying for the cursor
1856 position in ReadLine(), so we lose no real performance (since we
1857 have to wait for user input anyway).
1859 2007-04-17 Jeffrey Stedfast <fejj@novell.com>
1861 * TermInfoDriver.cs (Init): SetEcho(false), we'll be manually
1862 echoing from now on (ReadLine() has already been doing this, might
1863 as well make ReadKey() behave the same).
1864 (GetCursorPosition): No longer need to disable/re-enable echo
1865 anymore since it is now always false.
1866 (ReadKey): Manually echo the key back to the console just like
1867 ReadLine() has been doing (in the interest of consistancy) if
1869 (ReadLine): No longer need to disable/re-enable echo, echo is
1870 always off now. Also, fixed what appears to have been a typo.
1872 2007-04-17 Jeffrey Stedfast <fejj@novell.com>
1874 * TermInfoDriver.cs (IsSpecialKey): Oops, Enter should not be
1875 treated as a special key. Just update out cursor state here like
1876 we do with normal chars.
1877 (WriteSpecialKey): Enter is a no-op now because it is not treated
1878 as a special key anymore.
1880 * CStreamWriter.cs (Write): Only flush our buffer if j > 0
1882 2007-04-17 Jeffrey Stedfast <fejj@gnome.org>
1884 Turns out my last patch was broken wrt handling some special keys
1885 like Backspace and anything else that changed the cursor position
1886 in some non-standard way.
1888 * CStreamWriter.cs (Write): Instead of calling NotifyWrite(), we
1889 instead need to check IsSpecialKey(), and, if so, flush whatever
1890 we have saved in our temporary buffer and then call
1891 WriteSpecialKey(). Otherwise go on as we did in the last patch.
1893 * TermInfoDriver.cs (NotifyWrite): Broken up into 2 functions:
1894 (IsSpecialKey): Returns true if we need to do some special voodoo
1896 (WriteSpecialKey): Write the special key (using whatever voodoo
1899 2007-04-16 Jeffrey Stedfast <fejj@gnome.org>
1901 * CStreamWriter.cs (Write): Instead of writing 1 char at a time,
1902 copy the bytes into a temporary char array (with a fixed max size)
1903 so that we can minimize the number of Write() calls we make on the
1904 underlying stream (and thus on the write() system call).
1906 2007-04-17 Alp Toker <alp@atoker.com>
1908 * Array.cs: Make GetRank() icall private. Subclasses should use the
1909 public Rank property.
1911 2007-04-16 Jeffrey Stedfast <fejj@novell.com>
1913 * WindowsConsoleDriver.cs: Get rid of unused Echo property.
1915 * NullConsoleDriver.cs: Get rid of Echo property.
1917 * IConsoleDriver.cs: Get rid of Echo property.
1919 * ConsoleDriver.cs (Echo::get/set): Removed, not needed.
1921 * TermInfoDriver.cs (Echo::get/set): Removed, this isn't necessary
1923 (ReadKey): If we are intercepting the key, call SetEcho (false)
1924 and then reset back to true after reading the key.
1925 (ReadLine): Same idea here.
1926 (GetCursorPosition): We no longer need to keep track of the
1927 previous echo state, we no longer have it :)
1929 2007-04-16 Jeffrey Stedfast <fejj@novell.com>
1931 Fix for bug #80710 (and a bug I introduced in my last fix due to
1932 this code assuming the underlying term echo state was always
1933 false) and other buglets that I noticed.
1935 * TermInfoDriver.cs (ReadLine): Set (term) Echo to false as we do
1936 our own manual echoing which prevents ^H from getting displayed on
1937 the screen when the user hits backspace.
1938 (ReadLine): If the user hits Backspace and builder.Length is 0, DO
1939 NOT echo the backspace back to the console, ever.
1940 (ReadLine): Only echo characters back to the console if echo is
1941 set to true. Seems the Echo ConsoleDriver property is a Mono
1942 extension, and I'm assuming this is the intended behavior? I can't
1943 see what else the Echo property would be useful for...
1945 2007-04-16 Jeffrey Stedfast <fejj@novell.com>
1949 * TermInfoDriver.cs: Renamed the noEcho variable to echo, makes
1950 the logic cleaner/simpler/etc. Plus it was never actually used
1951 other than in the property methods which are called Echo.
1952 (Init): Call ConsoleDriver.SetEcho() with the 'echo' value -
1953 allows for a slight optimization if called from within the
1955 (GetCursorPosition): Instead of calling the Echo property methods,
1956 call ConsoleDriver.SetEcho() directly to toggle echo off (if echo
1957 isn't already off, and then back on once we're finished getting
1958 the position - assuming the echo state is on, of course) - this
1959 avoids calling back into Init() which just felt dirty.
1960 (Echo::set): If the Echo state differs from our current state,
1961 call ConsoleDriver.SetEcho() with the new state (this is the
1962 important piece of the fix for bug #81050).
1963 (ReadKey): Simplified the echo logic to make it a bit clearer.
1966 2007-04-16 Marek Safar <marek.safar@gmail.com>
1968 * Char.cs (IsLetter): Faster version.
1970 2007-04-15 Alp Toker <alp@atoker.com>
1972 * Decimal.cs: Provide 2.0 Round() overloads using System.Math.
1974 2007-04-15 Alp Toker <alp@atoker.com>
1976 * Activator.cs: CreateInstance(Type,object[]) was not params before
1979 2007-04-15 Alp Toker <alp@atoker.com>
1981 * NonSerializedAttribute.cs: Inherited=false in 2.0.
1983 2007-04-05 Dick Porter <dick@ximian.com>
1985 * Environment.cs: Increment mono_corlib_version
1987 2007-04-03 Alp Toker <alp@atoker.com>
1989 * Array.cs: CreateInstance(Type,int[]) is params.
1990 * AppDomain.cs: ExecuteAssemblyByName(string,Evidence,string[]) is
1993 2007-04-03 Alp Toker <alp@atoker.com>
1996 * Math.cs: Should be static classes in 2.0.
1998 2007-04-03 Alp Toker <alp@atoker.com>
2000 * Delegate.cs: DynamicInvoke(object[]) is params in 2.0.
2002 2007-04-03 Alp Toker <alp@atoker.com>
2004 * Delegate.cs: Combine(Delegate[]) is params in 2.0.
2006 2007-03-27 Dick Porter <dick@ximian.com>
2008 * Environment.cs: Increment mono_corlib_version;
2010 2007-03-16 Miguel de Icaza <miguel@novell.com>
2012 * BitConverter.cs: Revert the patch from 72237 as that introduces
2013 a regression and we are not sure yet what we will be doing about
2016 Introduce a new InternalInt64BitsToDouble method that provides the
2017 fixed functionality, mark it as internal.
2019 Introduce a new SwappableToDouble method that includes the
2020 swapping ToDouble routine as introduced by Zoltan on 72237, this
2021 is used by InternalInt64BitsToDouble.
2023 * Math.cs (IEEERemainder): Use the InternalInt64BitsToDouble
2024 routine here to preserve the semantics from Zoltan.
2026 The problem with BitConverter.cs is that it is completely hossed.
2027 In .NET 1.1 it is a bitwise copy, no attempt is ever done to do
2028 endian-specific swapping. In .NET 2.0 it is *almost* like that,
2029 but it is subtly broken: if data is unaligned then endian
2030 conversions happen. If the data is properly aligned it behaves
2033 In general BitConverter is a sad class that offers little control,
2034 we will be introducing a new mono bit converter and encourage
2035 users to use that instead of the entirely broken
2036 System.BitConverter.
2038 2007-03-11 Gert Driesen <drieseng@users.sourceforge.net>
2040 * Delegate.cs: Fixed bootstrap build.
2042 2007-03-08 Gert Driesen <drieseng@users.sourceforge.net>
2044 * StringComparer.cs: Renamed StringComparer classes and promoted them
2045 to top-level classes. Merged Ordinal and OrdinalIgnoreCase comparers.
2046 Fixes binary serialization compatibility with MS.
2048 2007-03-06 Zoltan Varga <vargaz@gmail.com>
2050 * Type.cs (Equals): Remove a useless check.
2052 * Type.cs: Rename Type:Equals(Type) to EqualsInternal, and add support for checking
2053 UnderlyingSystemType. Fixes #81037.
2055 2007-03-05 Gonzalo Paniagua Javier <gonzalo.mono@gmail.com>
2057 * TermInfoDriver.cs: adjust buffer indexes after *every* read. Fixes
2058 bug #80329. Robert Jordan attached a similar patch to the bug report
2059 but I didn't see it until after my commit...
2061 2007-03-05 Peter Dettman <peter.dettman@iinet.net.au>
2063 * Enum.cs: The above patch makes the formatting for specifiers 'x'
2064 and 'X' behave like MS.NET, including the correct length for each
2065 possible underlying type, and correctly using capital letters for
2068 Patch also includes some more test cases in EnumTests.cs.
2070 2007-02-25 Gert Driesen <drieseng@users.sourceforge.net>
2072 * AppDomainSetup.cs: If configuration file is not an absolute path,
2073 then throw a MemberAccessException if ApplicationBase is not set,
2074 or otherwise consider it as a path relative to ApplicationBase.
2075 Fixes bug #80934. Patch provided by Jamie Cansdale.
2076 * AppDomain.cs: In CreateDomain, construct AppDomain with
2077 ApplicationBase of default domain if not explicitly set in specified
2078 AppDomainSetup. If config file is not set, then use filename of the
2079 default domain config file. Base on patch provided by Jamie Cansdale.
2081 2007-02-16 Sebastien Pouliot <sebastien@ximian.com>
2083 * Random.cs: Fix exception messages ("then" -> "than"). Spotted by
2084 Mark A. Nicolosi (#80873).
2086 2007-02-12 Miguel de Icaza <miguel@novell.com>
2088 * CStreamWriter.cs (Write with char []): take the lock once for
2089 all characters and call manually the InternalWriteChar properly to
2092 (Write with string parameter): same thing, if the driver is not
2093 initialized use a fast path.
2095 If the driver has not been initialized, use a fast path instead.
2097 Mon Feb 12 21:54:57 CET 2007 Paolo Molaro <lupus@ximian.com>
2099 * MonoType.cs: patch from Cedric Vivier <cedricv@neonux.com> to
2100 get correctly non-public fields from generic types.
2102 2007-02-08 Jonathan Chambers <joncham@gmail.com>
2104 * __ComObject.cs: Add IUnknown field to object. Cleanup icalls.
2106 2007-02-03 Zoltan Varga <vargaz@gmail.com>
2108 * BitConverter.cs (ToDouble): Fix this on big-endian machines.
2110 2007-01-30 Atsushi Enomoto <atsushi@ximian.com>
2112 * TimeZone.cs: According to the docs, we should not throw when
2113 converting to Localtime if we are a negative value. Instead we
2114 return DateTime.MinValue.
2116 2007-01-25 Atsushi Enomoto <atsushi@ximian.com>
2118 * DateTime.cs : copy Kind in those members that return DateTime.
2121 2007-01-20 Miguel de Icaza <miguel@novell.com>
2123 * Array.cs (InternalArray__ICollection_Contains,
2124 InternalArray__IndexOf): Cope with null values in the array (See
2127 2007-01-19 Marek Habersack <grendello@gmail.com>
2129 * AppDomain.cs: Make sure that domain
2130 SetupInformation.ConfigurationFile is never null. MS.NET by
2131 default copies the default domain's ConfigurationFile value
2132 there. Fixes bug #80547.
2134 2007-01-14 Jensen Somers <jensen.somers@gmail.com>
2136 * ArraySegment.cs: Added Equals() method, operator == and !=
2137 overloading and GetHashCode().
2139 2007-01-10 Andy Hume <andyhume32@yahoo.co.uk>
2141 * Fixes to a number of exception classes.
2143 A project of mine uses #ctor(String,Exception) on
2144 ObjectDisposedException, so I looked at adding that, and any
2145 other similar constructors missing as per the class status report.
2147 I also spotted inconsistent setting of HResult, and fixed
2148 those too. For instance, ArgumentNullException sets HResult
2149 only in three out of the four constuctors; not setting it in
2150 the v2 (String,Exception) one -- and correctly not in the
2151 Serialization constructor.
2154 So, I fixed the remaining missing (String,Exception)
2155 constructors in corlib (2 of), and fixed the Hresult setting
2156 in all exceptions there (4 of).
2158 The remaining Exception constructor omission listed was
2159 InvalidCastException.ctor(System.String, System.Int32). MSDN says:
2160 "This constructor supplies an HRESULT value that is
2161 accessible to inheritors of the InvalidCastException class,
2162 via the protected HResult property of the Exception class."
2163 I added that method too, setting the HResult property from
2166 2007-01-10 Atsushi Enomoto <atsushi@ximian.com>
2168 * String.cs, StringComparer.cs : avoid extra string creation in
2169 StringComparer.OrdinalIgnoreCase.
2171 2007-01-05 Sebastien Pouliot <sebastien@ximian.com>
2173 * DateTime.cs: Under 2.0 fix ParseExact to set DateTimeKind.Utc when
2174 DateTimeStyles.AdjustToUniversal is used.
2176 2007-01-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2178 * TermInfoDriver.cs: honor the backspace in ReadLine.
2180 2006-12-30 Marek Safar <marek.safar@gmail.com>
2182 * String.cs: Character based method only.
2183 (IndexOf, LastIndexOf, Replace, IndexOfAny): Performance improvements.
2184 (Substring): Returns same instance when index is 0.
2186 2006-12-30 Alp Toker <alp@atoker.com>
2189 * Math.cs: Implement missing Decimal.Ceiling methods for 2.0.
2192 2006-12-22 Sebastien Pouliot <sebastien@ximian.com>
2194 * DateTime.cs: Implement missing [To|From]Binary methods for 2.0.
2195 * OperatingSystem.cs: Implement missing ServicePack and VersionString
2197 * Version.cs: Add missing Major|MinorRevision properties for 2.0.
2199 2006-12-14 Raja R Harinath <rharinath@novell.com>
2201 * Type.cs (MakeGenericType): Can only be called on a generic type
2204 2006-12-03 Miguel de Icaza <miguel@novell.com>
2206 * DateTime.cs: Fix this on the 2.0 profile, return the
2207 DateTimeKind for the Now property
2209 2006-12-01 Duncan Mak <duncan@a-chinaman.com>
2211 * ArgumentOutOfRangeException.cs (.ctor):
2212 * NotFiniteNumberException.cs (.ctor): Add the 2.0 constructor
2213 that takes a string and an inner Exception.
2215 2006-12-01 Atsushi Enomoto <atsushi@ximian.com>
2218 When comparing enumerations, two or more enumeration values might
2219 match. Thus basically we should do complete matching, but right
2220 now just do reverse order search since only numbered abbrev month
2221 names matter (and full iteration is a mess). Fixed bug #80094.
2223 2006-12-01 Atsushi Enomoto <atsushi@ximian.com>
2226 use new internal clone-less DateTimeFormatInfo members.
2228 2006-11-29 Martin Baulig <martin@ximian.com>
2230 * INullableValue.cs: Removed.
2232 2006-11-28 Duncan Mak <duncan@novell.com>
2234 * ArgumentNullException.cs (.ctor): Added new constructor that's
2237 * InsufficientMemoryException.cs: Added missing 2.0 exception.
2239 2006-11-27 Jonathan Chambers <joncham@gmail.com>
2241 * __ComObject.cs: Removed IDispatchMono.
2243 2006-11-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2245 * TermInfoDriver.cs:
2246 * Console.cs: lazy initialization of Console 2.0 (also when
2247 CancelKeyPress is used).
2249 2006-11-27 Miguel de Icaza <miguel@novell.com>
2251 * Exception.cs (GetType): New method in 2.x, Another Moma catch.
2253 Mon Nov 27 19:34:16 CET 2006 Paolo Molaro <lupus@ximian.com>
2255 * GC.cs: implemented the needed methods with icalls.
2257 2006-11-26 Miguel de Icaza <miguel@novell.com>
2259 * Math.cs: Add Floor(Decimal d), for CreativeDocs.NET.
2261 Go Moma! http://www.mono-project.com/Moma
2263 * Decimal.cs: Refactor code to implement TryParse.
2265 Also, avoid initializing messages on every call to stripStyles
2267 2006-11-22 Miguel de Icaza <miguel@novell.com>
2269 * DateTime.cs: A small performance hit, we store the actual time
2270 span in a boxed object. This way, it can be updated from other
2271 threads if necessary. We always unbox to get the value before
2272 any potential updates.
2274 Thanks to Gonzalo for catching this.
2276 2006-11-21 Miguel de Icaza <miguel@novell.com>
2278 * TimeZone.cs (CurrentSystemTimeZone): Cache the current year
2279 daylight savings time in static variables.
2281 (CurrentSystemTimeZone.OnDeserialization): Initialize
2282 this_year_dlt and this_year on this method.
2284 (TimeZone): init statically the currentTimeZone instead of
2285 delaying that to the static property, avoiding a compare.
2287 2006-11-22 Lluis Sanchez Gual <lluis@novell.com>
2289 * Array.cs: (compare<T>) if a comparer is provided, it has
2290 priority over other comparison methods.
2292 2006-11-14 Miguel de Icaza <miguel@novell.com>
2294 * Array.cs: TODOs will from now on be used to flag information
2295 that will be developer-visible, not to flag internal information
2296 that none of us reads or bothers about.
2298 For those, use "FIXME" strings in the source code instead.
2300 * AppDomain.cs: Update to be more useful.
2302 2006-11-13 Atsushi Enomoto <atsushi@ximian.com>
2304 * String.cs : fixed incorrect startIndex/length count in
2305 IndexOf(string,StringComparison).
2307 2006-11-07 Marek Safar <marek.safar@gmail.com>
2309 * String.cs (LastIndexOf): If value is Empty, the return value is
2310 the start index position in value.
2312 2006-10-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2314 * TermInfoDriver.cs: prevent an invalid cast.
2316 2006-10-26 Marek Safar <marek.safar@seznam.cz>
2318 * String.cs (Concat): Add fast-path for empty strings.
2320 2006-10-20 Jonathan Chambers <joncham@gmail.com>
2322 * Variant.cs: Add support for bool and interfaces.
2324 2006-10-18 KornĂ©l PĂ¡l <kornelpal@gmail.com>
2326 * Type.cs: Removed is_subtype_of because IsSubclassOf should be used
2327 that is public and virtual. IsClass: Checking for ValueType is
2328 unnecessary. IsEnum: UnderlyingSystemType is not used anymore so
2329 no EnumBuilder hack is necessary. Checking for Enum is
2330 unnecessary. IsSerializable: Walk BaseType for user defined types.
2331 IsSubclassOf: Walk BaseType for user defined types.
2333 * MonoType.cs: IsValueTypeImpl is unnecessary. IsSubclassOf: Unlike
2334 Type system types throw ArgumentNullException on null Type
2337 2006-10-14 Gert Driesen <drieseng@users.sourceforge.net>
2339 * BadImageFormatException.cs: Changed message for default ctor to
2340 match MS. Use internal message field of Exception to check whether
2341 Message is null. Match MS default messages when no message is
2342 set. Fixed ToString to match MS.
2344 2006-10-09 Miguel de Icaza <miguel@novell.com>
2346 * Environment.cs: Handle SpecialFolder.MyMusic
2348 2006-10-07 Gert Driesen <drieseng@users.sourceforge.net>
2350 * Enum.cs: Use different exception message depending on whether the
2351 type of the passed in value is an Enum or not. Avoid looking up the
2352 enum's underlying type twice in case of "D" or "d" format specifier.
2354 2006-10-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2356 * TermInfoDriver.cs: don't allow backspace if we're at the beginning
2357 position for a ReadLine.
2359 2006-10-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2361 * TermInfoDriver.cs: ironpython autocompletion works now.
2363 2006-09-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2365 * Console.cs: avoid casting on windows.
2367 2006-09-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2370 * TermInfoDriver.cs:
2371 * IConsoleDriver.cs:
2373 * ConsoleKeyInfo.cs:
2374 * NullConsoleDriver.cs:
2377 * WindowsConsoleDriver.cs: initial changes to handle cursor position
2380 2006-09-21 Gert Driesen <drieseng@users.sourceforge.net>
2382 * ArithmeticException.cs: Modified default message to match MS, to
2383 ensure a local regression test passes on both Mono and .NET.
2385 2006-09-21 Gert Driesen <drieseng@users.sourceforge.net>
2387 * Exception.cs: Marked message internal to allow derived classes to
2388 access the raw message (without changing the public API).
2390 2006-09-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2393 * TermInfoDriver.cs:
2394 * IConsoleDriver.cs:
2396 * WindowsConsoleDriver.cs: don't switch to the alternate window.
2397 Trigger the cancel event. Retrieve the cursor position at the
2398 beginning, as we're going to keep track of it instead of querying it
2401 2006-09-14 Jonathan Chambers <joncham@gmail.com>
2403 * Environment.cs (ProcessorCount): Implement as icall.
2404 Patch by Jason McFall.
2406 2006-09-05 Raja R Harinath <rharinath@novell.com>
2408 * DateTime.cs (Today) [NET_2_0]: Set kind to Local.
2410 2006-09-02 Zoltan Varga <vargaz@gmail.com>
2412 * Enum.cs (Equals): Use the generic Equals implementation from ValueType which
2413 is faster and avoids allocations.
2415 2006-09-01 Martin Baulig <martin@ximian.com>
2417 * Array.cs (Array.InternalArray): Removed the helper class;
2418 instead we use private generic methods in System.Array which are
2419 inserted into the vtable at runtime.
2421 2006-08-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2423 * ConsoleCancelEventArgs.cs: fix my build.
2425 2006-08-22 Miguel de Icaza <miguel@novell.com>
2427 * MulticastDelegate.cs: Make DynamicInvokeImpl internal in 2.0
2429 * Converter.cs: update signature to final.
2431 * ModuleHandle.cs: Removed the [Obsolete] flags as they removed
2432 those in the final 2.0
2434 * DateTime.cs: Fixed the signature.
2436 * Convert.cs: Removed API calls that were deprecated in final 2.0
2438 * Enum.cs: Updated to use the obsoletes flagged in 2.0.
2440 * ConsoleCancelEventArgs.cs: Updated to 2.0
2442 2006-08-19 Miguel de Icaza <miguel@novell.com>
2444 * Attribute.cs: This needs to do a deep compare, not a shallow
2445 one. Ran into this bug with the VBNC compiler that compares two
2446 separate attributes for equality using this.
2448 * String.cs (StartsWith): Fix the overloaded constructor that
2449 takes a CultureInfo, if that is null, it means to use the current
2452 * TermInfoDriver.cs: Do not throw exceptions on the driver for
2453 SetWindowSize and SetWindowPosition, they can be treated as nops.
2455 2006-08-18 Zoltan Varga <vargaz@gmail.com>
2457 * *.cs: Use String.Empty instead of "" in a lot of places.
2459 2006-08-17 Sebastien Pouliot <sebastien@ximian.com>
2461 * DateTime.cs: Remove last patch to DateTime as the fix wasn't correct
2462 and made most x.509 unit tests fails. However the original problem is
2465 2006-08-14 Raja R Harinath <rharinath@novell.com>
2468 * Activator.cs (CreateInstance): Throw ArgumentException on open
2471 2006-08-14 Miguel de Icaza <miguel@novell.com>
2473 * MonoType.cs: Do the argument testinf for SetField later,
2474 otherwise the implicit (and not documented, but already considered
2475 side effect of checking SetProperty) did not work.
2479 2006-08-13 Atsushi Enomoto <atsushi@ximian.com>
2481 * String.cs : Normalize() and IsNormalized() implementation.
2483 2006-08-10 Jonathan Chambers <joncham@gmail.com>
2485 * __ComObject.cs: Added defintion of IDispatch interface, and
2486 property. Get CLSID of supertype for creation if class not
2487 ComImport attributed (allows for inheritance of RCW).
2488 * MonoType.cs: Implement IsCOMObjectImpl.
2490 2006-08-09 Atsushi Enomoto <atsushi@ximian.com>
2492 * DateTime.cs : fixed X509Certificate() case that regressed only
2495 2006-08-07 KornĂ©l PĂ¡l <kornelpal@gmail.com>
2497 * Console.cs: Use correct code pages on Windows and initialize
2498 InputEncoding and OutputEncoding to the actual encodings used.
2500 2006-08-05 Duncan Mak <duncan@novell.com>
2502 * Char.cs (TryParse): Implemented missing 2.0 method, which fixed
2505 2006-07-28 Jonathan Chambers <joncham@gmail.com>
2507 * __ComObject.cs: Added support for marshalling objects.
2509 2006-07-24 Atsushi Enomoto <atsushi@ximian.com>
2511 * Char.cs : implemented utf32 conversion methods thus fixed bug #78856.
2513 2006-07-19 John Luke <john.luke@gmail.com>
2515 * TermInfoDriver.cs: switch order of alt and control when
2516 calling new ConsoleKeyInfo()
2518 2006-07-19 KornĂ©l PĂ¡l <kornelpal@gmail.com>
2520 * String.cs: Improve CreateString () performance when length is zero.
2522 2006-07-18 KornĂ©l PĂ¡l <kornelpal@gmail.com>
2524 * String.cs: Added CreateString () methods. Constructors with matching
2525 argument list are redirected to these methods that improves
2526 performance as well as fixes bug #78703.
2528 2006-07-15 Jonathan Chambers <joncham@gmail.com>
2530 * __ComObject.cs: Begin implementing COM Interop.
2531 * Environment.cs: Increment corlib version.
2533 2006-07-12 Zoltan Varga <vargaz@gmail.com>
2535 * Delegate.cs (DynamicInvokeImpl): Add support for bound delegates in Net 2.0.
2537 2006-07-11 Zoltan Varga <vargaz@gmail.com>
2539 * Double.cs (Parse): Fix handling of inner whitespace.
2541 2006-07-09 Zoltan Varga <vargaz@gmail.com>
2543 * Int32.cs: Fix a warning.
2545 2006-07-07 Atsushi Enomoto <atsushi@ximian.com>
2547 * TimeZone.cs : consider DateTimeKind in ToLocalTime() and
2548 ToUniversalTime(). Fixed bug #78784. Patch by Thong Nguyen.
2549 * DateTime.cs : DateTimeKind for UtcNow should be Utc.
2551 2006-06-28 KornĂ©l PĂ¡l <kornelpal@gmail.com>
2553 * Char.cs: Implemented IsHighSurrogate and IsLowSurrogate methods.
2555 2006-06-27 Atsushi Enomoto <atsushi@ximian.com>
2557 * Double.cs : don't throw Exception in TryParse() for 'E'.
2560 2006-06-20 Jb Evain <jbevain@gmail.com>
2562 * Math.cs: implement Math.Truncate.
2564 2006-06-13 Atsushi Enomoto <atsushi@ximian.com>
2567 Another lame win32 dependent pattern. Fixed bug #78618.
2569 2006-06-09 Jonathan Chambers <jonathan.chambers@ansys.com>
2571 * Environment.cs: Implement Set/GetEnvironmentVariable for User/Machine.
2573 2006-06-07 KornĂ©l PĂ¡l <kornelpal@gmail.com>
2575 * Environment.cs: Use Consts.FxFileVersion for Environment.Version
2576 as Consts.RuntimeVersion was removed.
2578 2006-06-05 Jonathan Chambers <jonathan.chambers@ansys.com>
2580 * Variant.cs: Added.
2581 * Environment.cs: Incremented corlib version since adding Variant.
2583 2006-06-01 Raja R Harinath <rharinath@novell.com>
2585 * Nullable.cs (operator==, operator!=): Remove.
2587 2006-05-31 Zoltan Varga <vargaz@gmail.com>
2589 * MonoDummy.cs: Removed as it is no longer needed.
2591 * Environment.cs: Bump corlib version.
2593 * Environment.cs: Revert the last change.
2595 * Environment.cs: Bump corlib version.
2597 * MonoAsyncCall.cs: New file.
2599 2006-05-30 Gert Driesen <drieseng@users.sourceforge.net>
2601 * Char.cs: Removed duplicate (explicit) interface implementation.
2602 * String.cs: Removed duplicate (explicit) interface implemenation.
2603 * MulticastDelegate.cs: Fixed API mismatches.
2605 2006-05-29 Paolo Molaro <lupus@ximian.com>
2607 * String.cs: make sure that the chars truncated by a stringbuilder
2610 2006-05-29 Martin Baulig <martin@ximian.com>
2613 (Exception.StackTrace): Use the new stack trace format which is
2614 very similar to the one of MS.NET - method name goes first,
2615 file / line number last and in the method name, we separate class
2616 and method name by `.'.
2619 (Environment.StackTrace): Enable line-number information.
2621 2006-05-24 Atsushi Enomoto <atsushi@ximian.com>
2624 Implement 2.0 TryParseExact(). Patch by Seo Sanghyeon.
2626 2006-05-17 Kazuki Oikawa <kazuki@panicode.com>
2628 * Array.cs : added internal sort method used
2629 in System.Collections.Generics.List<T>.Sort(Comparison<T>).
2631 2006-05-15 Zoltan Varga <vargaz@gmail.com>
2633 * Environment.cs: Bump corlib version.
2635 2006-05-10 Zoltan Varga <vargaz@gmail.com>
2637 * MonoType.cs (GetMethodImpl): Fix a warning.
2639 2006-05-08 Atsushi Enomoto <atsushi@ximian.com>
2641 * ArrayTest.cs : use proper comparer in IndexOf() and LastIndexOf().
2642 Patch by Kazuki Oikawa. Fixed bug #77277.
2644 2006-05-07 Zoltan Varga <vargaz@gmail.com>
2646 * Nullable.cs (Equals): Fix comparison to null. Fixes #78322.
2648 2006-04-28 Atsushi Enomoto <atsushi@ximian.com>
2650 * Nullable.cs : updated Nullable<T> API to 2.0 RTM.
2652 2006-04-26 Atsushi Enomoto <atsushi@ximian.com>
2654 * Double.cs : (Parse) handle currency symbol when
2655 AllowCurrencySymbol is passed as part of the style. Patch by
2656 nede@aliquant.com, modified to eliminate redundant Substring().
2657 This fixes bug #77721.
2659 2006-04-26 Atsushi Enomoto <atsushi@ximian.com>
2661 * MonoType.cs : (GetMethod) when zero-length type[] is explicitly
2662 passed, don't return methods with some arguments. Fixed bug #77367.
2664 2006-04-21 Gert Driesen <drieseng@users.souceforge.net>
2666 * Enum.cs: Provide meaningful message when type of passed in value
2667 does not match enum type.
2669 2006-04-19 Raja R Harinath <rharinath@novell.com>
2671 * Char.cs (Equals): Don't access 'm_value' field of other
2672 instances. Cast directly to 'char'.
2674 2006-04-13 Atsushi Enomoto <atsushi@ximian.com>
2676 * DateTime.cs : implement SpecifyKind(). Patch by Thong Nguyen.
2678 2006-04-13 Atsushi Enomoto <atsushi@ximian.com>
2680 * NumberFormatter.cs : general performance improvements. Avoid
2681 extraneous evaluation for simple formatting. Details are seen in
2682 bug #77792. Patch by Kazuki Oikawa.
2684 2006-04-13 Atsushi Enomoto <atsushi@ximian.com>
2686 * DateTime.cs : implement IsDaylightSavingTime().
2687 Patch by Seo Sanghyeon <tinuviel@sparcs.kaist.ac.kr>.
2689 2006-04-04 Atsushi Enomoto <atsushi@ximian.com>
2692 added some more [ReliabilityContract].
2693 removed some [CLSCompliant].
2694 renamed generic method parameter names.
2696 2006-03-31 Zoltan Varga <vargaz@gmail.com>
2698 * Environment.cs (SetEnvironmentVariable): Implement.
2700 2006-03-28 Atsushi Enomoto <atsushi@ximian.com>
2702 * Array.cs : oops, the last change caused regression. The array must
2703 be transparent to ReadOnlyCollection, not create another list.
2705 2006-03-28 Atsushi Enomoto <atsushi@ximian.com>
2707 * Array.cs : AsReadOnly<T>() in RTM returns ReadOnlyCollection<T>.
2708 Thus removed ReadOnlyArray<T> and ReadOnlyArrayEnumerator<T>.
2709 In 2.0 some members became non-virtual.
2711 2006-03-23 Atsushi Enomoto <atsushi@ximian.com>
2713 * String.cs : oops, NET_2_0.
2715 2006-03-23 Atsushi Enomoto <atsushi@ximian.com>
2717 * String.cs : added new IndexOf() and LastIndexOf() overloads, and
2718 IEnumerable<char>.GetEnumerator().
2720 2006-03-21 KornĂ©l PĂ¡l <kornelpal@gmail.com>
2722 * String.cs: Make memcpy4 private as it is a helper method.
2723 Make memcpy internal to can be used from UnicodeEncoding.
2725 2006-03-19 Marek Safar <marek.safar@seznam.cz>
2727 * Nullable.cs (Compare, Equals): Added constrain as gmcs now correctly
2728 reports an error here.
2730 2006-03-16 Atsushi Enomoto <atsushi@ximian.com>
2732 * Double.cs : (Parse) reject String.Empty.
2734 Wed Mar 15 16:30:51 CET 2006 Paolo Molaro <lupus@ximian.com>
2736 * LocalDataStoreSlot.cs: implement as index in an array.
2737 Implemented finalizer and allow it to remove the data stored
2740 2006-03-15 Zoltan Varga <vargaz@gmail.com>
2742 * Environment.cs: Bump corlib version.
2744 2006-03-10 Zoltan Varga <vargaz@gmail.com>
2746 * MonoCustomAttrs.cs (IsDefined): Avoid a runtime assert if a type
2747 overwrites GetCustomAttributes () but not IsDefined ().
2749 2006-03-07 Peter Dennis Bartok <pbartok@novell.com>
2751 * Environment.cs: Bumped corlib version to 48 (due to r57532)
2753 2006-03-07 Martin Baulig <martin@ximian.com>
2755 * String.cs (String.FormatHelper): Try getting an `ICustomFormatter'
2756 from the `provider' if possible.
2758 2006-02-26 Gert Driesen <drieseng@users.souceforge.net>
2760 * DecimalFormatter.cs: Removed obsolete class, as it has been replaced
2762 * DoubleFormatter.cs: Same.
2763 * SingleFormatter.cs: Same.
2765 2006-02-21 Marek Safar <marek.safar@seznam.cz>
2767 * String.cs (Equals): Optimized for speed.
2769 2006-02-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2771 * TermInfoDriver.cs: patch by Mike Hull that fixes bug #77518.
2773 Mon Feb 20 11:19:54 CET 2006 Paolo Molaro <lupus@ximian.com>
2775 * MonoType.cs: patch from Joachim Ante <joe@otee.dk> to
2776 improve error messages.
2778 2006-02-15 Martin Baulig <martin@ximian.com>
2780 * Type.cs (Type.IsGenericInstance): Removed.
2782 2006-02-14 Ankit Jain <jankit@novell.com>
2783 Raja R Harinath <rharinath@novell.com>
2785 * ArraySegment.cs (.ctor): Fix bounds check. Rename param 'length' to
2788 2006-02-11 Zoltan Varga <vargaz@gmail.com>
2790 * TermInfoDriver.cs (CreateKeyInfoFromInt): Fix handling of tab and its
2793 * TermInfoDriver.cs (GetWindowDimensions): Obtain the exact terminal
2794 size using an icall.
2795 (GetCursorPosition): Convert the row and column to 0 based indexing.
2796 Also fix reading of large values.
2797 (CreateKeyInfoFromInt): Convert LF to ConsoleKey.Enter.
2799 * ConsoleDriver.cs (GetTtySize): New icall.
2801 2006-02-10 Zoltan Varga <vargaz@gmail.com>
2803 * Array.cs: Fix some methods which previously returned Nullable<T>.
2805 * Nullable.cs: Add T: struct constraint and fix constructor.
2807 Fri Feb 3 11:01:46 CET 2006 Paolo Molaro <lupus@ximian.com>
2809 * String.cs: changed StartsWith/EndsWith to faster versions.
2811 2006-02-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2813 * String.cs: implement 2.0 StartsWith and EndsWith new overloads. Based
2814 on a patch by Thong Nguyen.
2816 2006-01-31 Zoltan Varga <vargaz@gmail.com>
2818 * String.cs: Implement one of the new net 2.0 Split methods.
2820 2006-01-31 Atsushi Enomoto <atsushi@ximian.com>
2822 * String.cs : (LastIndexOf) Fixed bug #77412. It should not expect
2823 that value length is bigger than its index.
2825 2006-01-27 Zoltan Varga <vargaz@gmail.com>
2827 * DateTime.cs: Add some 2.0 methods and properties.
2829 2006-01-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2831 * Console.cs: if InternalCodePage returns -1, use the default encoding.
2832 Also match the UTF8 one properly. Patch by wall_john@sohu.com.
2834 2006-01-19 Atsushi Enomoto <atsushi@ximian.com>
2836 * ModuleHandle.cs : GetPEKind() is not public in 2.0 RTM.
2838 2006-01-16 Alp Toker <alp@atoker.com>
2840 * TimeSpan.cs: Simple implementation of NET 2.0 TryParse() using
2843 2006-01-05 Raja R Harinath <rharinath@novell.com>
2845 Fix regressions introduced by the fix to #71300.
2846 * Activator.cs (CreateInstance): Use Binder.SelectMethod instead
2847 of home-grown FindBestCtor.
2848 (FindBestCtor): Delete.
2850 2006-01-03 Zoltan Varga <vargaz@gmail.com>
2852 * Nullable.cs: Update to Net 2.0 RTM.
2854 * Nullable.cs: Add comments about runtime dependencies on the layout of
2857 2006-01-02 Sebastien Pouliot <sebastien@ximian.com>
2859 * Activator.cs: Now find the best ctor when null are used for
2860 paramaters. Fix bug #71300. Added checks for specific types (void,
2861 TypedReference, ArgIterator and RuntimeArgumentHandle).
2862 * Console.cs: Re-use Environment logic to detect Windows.
2863 * Type.cs: Re-applied r45150 as the real bug was in Activator.
2865 2006-01-02 Zoltan Varga <vargaz@gmail.com>
2867 * Activator.cs: Add a 'params' to one of the CreateInstance overloads.
2869 * RuntimeTypeHandle.cs RuntimeMethodHandle.cs RuntimeFieldHandle.cs:
2870 Add == and != operators.
2872 2005-12-23 Sebastien Pouliot <sebastien@ximian.com>
2874 * Environment.cs: Bump corlib version to 46.
2875 * TimeZone.cs: Partial fix for #76094. Added [Serializable] attribute
2876 and renamed internal CurrentTimeZone class to CurrentSystemTimeZone
2877 (like MS). This allows serialization roundtrip to work in Mono but
2878 there's still an issue when deserializing a stream from MS.
2880 2005-12-23 Sebastien Pouliot <sebastien@ximian.com>
2882 * NumberFormatter.cs: Fixed rounding for float and the string output
2883 now includes all the precision (not counting preceding zeros). This
2884 fix the DecimalTest.TestConstructSingleRounding_NotWorking test cases.
2886 2005-12-21 Sebastien Pouliot <sebastien@ximian.com>
2888 * Array.cs: Fixed Sort<T> with IComparable (generic or not) bug #77039
2890 2005-12-20 Carlos Alberto Cortez <calberto.cortez@gmail.com>
2892 * Array.cs: Added the Sort<T> methods (generics).
2894 2005-12-19 Sebastien Pouliot <sebastien@ximian.com>
2896 * Array.cs: Fixed BinarySearch when the array is empty (#77030). Added
2897 some null check which throws ArgumentNullException under 2.0.
2899 2005-12-15 Sebastien Pouliot <sebastien@ximian.com>
2901 * DateTime.cs: Added MonoTODO to ctor accepting a Calandar instance.
2902 * Double.cs: Under 2.0 throw a ArgumentException when parsing with
2903 NumberStyles.AllowHexSpecifier. Partial fix for #72221. Added the
2904 second, simpler, TryParse method (2.0).
2905 * Single.cs: Added the TryParse methods for 2.0.
2907 2005-12-15 Raja R Harinath <rharinath@novell.com>
2909 * Type.cs (IsGenericType): Make virtual.
2911 2005-12-08 Sebastien Pouliot <sebastien@ximian.com>
2913 * AppDomainSetup.cs: ApplicationBase throw exception on get (not on
2914 set). New behaviour is more like MS - but most issues (unit tests)
2915 were really path issues. Fix bug #71291.
2916 * DateTime.cs: Add more information when throwing an exception in
2917 ctor(long). Useful for debugging.
2919 2005-12-07 Zoltan Varga <vargaz@gmail.com>
2921 * Single.cs Double.cs: Fix warnings.
2923 2005-12-06 Sebastien Pouliot <sebastien@ximian.com>
2925 * Convert.cs: ToBase64String method didn't use the option parameter so
2926 we always included new lines. Fix bug #76876.
2928 2005-12-06 Sebastien Pouliot <sebastien@ximian.com>
2930 * AppDomainSetup.cs: Added missing ComVisible and removed LAMESPEC
2931 (the docs were fixed).
2932 * NumberFormatter.cs: Fixed the "NotWorking" case where 1.15 was
2933 misrounded compared to MS implementation. Extra care is required when
2934 dealing with the extra 2 digits information (e.g. double precision is
2935 15 digits but 17 are kept - for a reason ;-)
2937 2005-12-05 Ben Maurer <bmaurer@ximian.com>
2939 * Environment.cs: Bump version
2941 * Nullable.cs: New Box and Unbox methods for the jit
2943 2004-12-05 Peter Dennis Bartok <pbartok@novell.com>
2945 * Enum.cs: Properly handle "No bits set" case even if the sorted numbers
2946 list does not have enum value 0 as the first item. Fixes #76921
2948 2005-12-05 Sebastien Pouliot <sebastien@ximian.com>
2950 * AppDomain.cs: CreateComInstanceFrom isn't static in any profile.
2952 Mon Dec 5 15:14:59 CET 2005 Paolo Molaro <lupus@ximian.com>
2954 * Double.cs: remove unused icall.
2955 * BitConverter.cs: handle double binary format on ARM FPA.
2957 2005-12-02 Alp Toker <alp@atoker.com>
2960 * Type.cs: DeclaringMethod should return MethodBase, not MethodInfo
2962 2005-12-02 Alp Toker <alp@atoker.com>
2964 * AppDomain.cs: ReflectionOnlyPreBindAssemblyResolve renamed to
2965 ReflectionOnlyAssemblyResolve in 2.0 final
2967 2005-12-01 Alp Toker <alp@atoker.com>
2969 * String.cs: Add static and non-static Equals(... StringComparison) for
2972 2005-12-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2974 * TermInfoDriver.cs: special case for the escape key. Fixes bug #76781.
2976 2005-11-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2978 * TermInfoDriver.cs: if the cursor_address capability contains a %i, we
2979 have to add 1 to x and y when setting the cursor position.
2982 * Convert.cs: remove unused variables.
2984 Wed Nov 30 12:14:20 EST 2005 Paolo Molaro <lupus@ximian.com>
2986 * NumberFormatter.cs: work around arch-specific ulong cast behaviour
2989 Tue Nov 29 05:38:37 EST 2005 Paolo Molaro <lupus@ximian.com>
2991 * Convert.cs: fix endianess issue when converting to base-8
2992 format. All the base code would need a rewrite for efficience.
2994 2005-11-25 Sebastien Pouliot <sebastien@ximian.com>
2996 * String.cs: Added support for Compare(... StringComparison) in 2.0.
2998 2005-11-25 Alp Toker <alp@atoker.com>
3000 * Type.cs (IsVisible): New 2.0 property, implemented recursively.
3002 2005-11-17 Dick Porter <dick@ximian.com>
3004 * Environment.cs: Incremented corlib version
3006 2005-11-14 Carlos Alberto Cortez <calberto.cortez@gmail.com>
3008 * Int32.cs, UInt32.cs, Int16.cs, UInt16.cs, Int64.cs,
3009 UInt64.cs, Byte.cs, SByte.cs, Double.cs : Modify internal Parse
3010 methods to return the exception as an out parameter,
3011 instead of throwing it. This will be of special help
3012 to TryParse methods.
3013 * Environment.cs: Update corlib version to 42.
3015 2005-11-14 Raja R Harinath <rharinath@novell.com>
3017 * EventHandler.cs (EventHandler<TEventArgs>): Rename from EventHandler<T>.
3019 2005-11-11 Zoltan Varga <vargaz@gmail.com>
3021 * Type.cs (GetPseudoCustomAttributes): Return ComImportAttribute as well.
3023 2005-11-11 Lluis Sanchez Gual <lluis@novell.com>
3025 * TimeZone.cs: Removed incorrect double-check lock and unneeded
3028 2005-11-11 Marek Safar <marek.safar@seznam.cz>
3030 * Type.cs: IsNested implemented, signature fixes.
3032 2005-11-11 Raja R Harinath <rharinath@novell.com>
3034 * Array.cs (Resize<T>) [2-argument variant]: Fix nullref.
3036 2005-11-10 Zoltan Varga <vargaz@gmail.com>
3038 * Array.cs (Resize<T>): New internal method which takes a 'length' argument
3039 as well to avoid copying the whole array.
3041 2005-11-09 Atsushi Enomoto <atsushi@ximian.com>
3043 * Int64.cs : ditto for long.
3045 2005-11-09 Atsushi Enomoto <atsushi@ximian.com>
3047 * Int32.cs : Parse("2147483648", format_provider) should be rejected.
3049 2005-11-09 Sebastien Pouliot <sebastien@ximian.com>
3051 * AttributeTargets.cs: Added [ComVisible (true)] and [Serializable]
3053 * Base64FormattingOptions.cs: Added missing [Flags] attribute.
3054 * ConsoleKey.cs: Removed old BackSpace and WhiteSpace (they were
3055 already replaced by Backspace and Whitespace)
3056 * DateTime.cs: Moved DayOfWeek enum to it's own file.
3057 * DateTimeKind.cs: New (2.0) enum.
3058 * DayOfWeek.cs: New file (extracted from DateTime.cs).
3059 * DomainManagerInitializationFlags.cs: Removed extra [Serializable].
3060 * EnvironmentVariableTarget.cs: Added [ComVisible (true)] and fixed
3061 values (-1 to all of them).
3062 * Exception.cs: Added a LinkDemand for SerializationFormatter on
3063 GetObjectData method.
3064 * LoaderOptimization.cs: Added [ComVisible (true)] and [Serializable]
3065 on enum and added [Obsolete] to DomainMask and DisallowBindings in 2.0
3067 * PlatformID.cs: Added [ComVisible (true)] and [Serializable] in 2.0
3069 * StringComparison.cs: New (2.0) enum (needed for Uri).
3070 * TermInfoDriver.cs: Fixed BackSpace -> Backspace (see ConsoleKey.cs).
3071 * TypeCode.cs: Added [ComVisible (true)] and [Serializable] in 2.0
3074 2005-11-08 Atsushi Enomoto <atsushi@ximian.com>
3076 * Type.cs : I forgot to mention, some '(' were missing in the
3079 2005-11-08 Zoltan Varga <vargaz@freemail.hu>
3081 * Type.cs (GetPseudoCustomAttributes): Check for TypeAttributes.Serializable instead of
3082 IsSerializable property, since the latter returns true for delegates/enums.
3084 2005-11-05 KornĂ©l PĂ¡l <kornelpal@hotmail.com>
3086 * Environment.cs: Use Consts.RuntimeVersion as Environment.Version that
3087 makes maintenance easier.
3089 2005-10-24 Martin Baulig <martin@ximian.com>
3091 * Type.cs (Type.IsGenericTypeDefinition): Make this virtual.
3093 2005-10-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3095 * String.cs: fix bound checkings for LastIndexOfAny. Closes bug #76519.
3097 2005-10-20 Raja R Harinath <rharinath@novell.com>
3099 * Array.cs (Swapper): Remove NET_2_0 guards from nested declaration.
3101 2005-10-16 Michal Moskal <malekith@nemerle.org>
3103 * TermInfoDriver.cs: Call Init () in Background/ForegroundColor.
3105 2005-10-14 Atsushi Enomoto <atsushi@ximian.com>
3107 * DateTime.cs : another crappy Windows dependent format.
3109 2005-10-14 Ben Maurer <bmaurer@ximian.com>
3111 * DateTime.cs: Speed up when parsing date time objects by not
3112 duplicating cultureinfo arrays.
3114 2005-10-13 Zoltan Varga <vargaz@gmail.com>
3116 * Type.cs (GetTypeCode): Applied patch from
3117 Mike Welham <mwelham@gmail.com>. Return TypeCode.Empty when null is
3120 2005-10-07 Zoltan Varga <vargaz@gmail.com>
3122 * Delegate.cs: Add support for delegate covariance and contravariance
3125 2005-10-03 Atsushi Enomoto <atsushi@ximian.com>
3127 * StringComparer.cs : (OrdinalIgnoreCaseComparer.Equals()) reverse.
3129 2005-09-26 Zoltan Varga <vargaz@gmail.com>
3131 * String.cs (ParseFormatSpecifier): Fix skipping of whitespace. Fixes
3134 2005-09-23 Miguel de Icaza <miguel@novell.com>
3136 * Decimal.cs: Fix typo, patch from Tomas Kukol <tomas.kukol@gmail.com>
3138 2005-09-19 Zoltan Varga <vargaz@gmail.com>
3140 * MonoCustomAttrs.cs (GetCustomAttributesInternal): Add
3141 attributeType parameter.
3142 (IsDefined): New icall.
3144 * MonoCustomAttrs.cs: Avoid instantiating all custom attrs of an
3145 object when only a specific attribute type is requested. Fixes #76062.
3147 * Environment.cs: Bump corlib version.
3149 2005-09-09 Zoltan Varga <vargaz@gmail.com>
3151 * TypeLoadException.cs MissingMethodException.cs MissingFieldException.cs: Add new ctors called by the runtime. Improve Message property.
3153 2005-09-14 Atsushi Enomoto <atsushi@ximian.com>
3155 * DateTime.cs : (_DoParse) don't check ticks range before computing
3156 the actual value. Fixed bug #76082.
3158 2005-09-14 Atsushi Enomoto <atsushi@ximian.com>
3160 * TimeZone.cs : When the target DateTime is in the range of
3161 DST end to DST + delta, don't adjust UtcOffset gap between that of
3162 DST and that of STD. This should fix bug #75985.
3164 2005-09-06 Atsushi Enomoto <atsushi@ximian.com>
3166 * TimeZone.cs, DateTime.cs :
3167 - ToLocalTime() and ToUniversalTime() are moved to TimeZone.
3168 - Added more COM patterns. Patch by Ankit Jain. Fixed bug #72132.
3169 - use ToLocalTime() and don't depend on the own offset computation.
3170 Parse() with 'Z' pattern is closer to correct value on switching
3171 Daylight Saving Time. See bug #75985.
3173 2005-09-06 Atsushi Enomoto <atsushi@ximian.com>
3175 * DateTime.cs : (DoParse) DateTimeStyles.AdjustToUniversal was not
3176 handled as expected and it kept time value as local one.
3177 Patch by Brion Vibber. Fixed bug #75995.
3179 2005-09-06 Atsushi Enomoto <atsushi@ximian.com>
3181 * DateTime.cs : Literal escape (\) was not checking format as
3182 expected. Fixed bug #75213.
3184 2005-09-05 Miguel de Icaza <miguel@novell.com>
3186 * MonoType.cs: Patch from Jonathan Chambers to implement
3189 2005-09-05 Martin Baulig <martin@ximian.com>
3191 Reflect latest API changes in the August CTP.
3193 * Type.cs (Type.HasGenericArguments): Removed.
3194 (Type.BindGenericParameters): Renamed to MakeGenericType().
3196 2005-09-01 Atsushi Enomoto <atsushi@ximian.com>
3198 * DateTime.cs : another idiotic COM dependent format.
3200 2005-09-01 KornĂ©l PĂ¡l <kornelpal@hotmail.com>
3202 * __ComObject.cs: Fixed to be internal. Removed CLSCompliant attribute.
3203 Added some comments about the class.
3205 2005-08-30 Sebastien Pouliot <sebastien@ximian.com>
3207 * AppDomain.cs: Use the more concise property syntax for declarative
3209 * AppDomainManager.cs: Default HostSecurityManager is null.
3211 2005-08-25 Atsushi Enomoto <atsushi@ximian.com>
3213 * NumberFormatter.cs : eliminate non-ASCII character.
3215 2005-08-25 Marek Safar <marek.safar@seznam.cz>
3217 * Enum.cs: Better exception message.
3219 2005-08-21 Gert Driesen <drieseng@users.sourceforge.net>
3221 * Convert.cs: In FromBase64String, return empty byte array for zero
3222 length string. Pass bool to InternalFromBase64String to control
3223 whether to allow a whitespace-only string.
3224 * Environment.cs: Bump corlib version.
3226 2005-08-20 Zoltan Varga <vargaz@freemail.hu>
3228 * Environment.cs: Bump corlib version.
3230 2005-08-19 Zoltan Varga <vargaz@freemail.hu>
3232 * Math.cs: Implement a new 2.0 Round method.
3234 2005-08-19 Gert Driesen <drieseng@users.sourceforge.net>
3236 * Convert.cs: Throw OverflowException if result is larger than
3237 ushort.MaxValue to match MS.NET. Remove commented code.
3239 2005-08-17 Gert Driesen <drieseng@users.sourceforge.net>
3241 * Convert.cs: For now, do not throw OverflowException if hex prefixed
3242 value is negative for signed types (other than int64). Need to look
3245 2005-08-17 Gert Driesen <drieseng@users.sourceforge.net>
3247 * Convert.cs: Numerous fixed in overloads taking base to match
3248 behaviour of MS.NET. Throw ArgumentOutOfRangeException is string is
3249 empty. If base is 16, 8 or 2, then throw ArgumentException if first
3250 character is a negative sign. Throw OverflowException if hex prefixed
3251 value is negative for signed types (other than int64) to match MS.NET.
3253 2005-08-16 Atsushi Enomoto <atsushi@ximian.com>
3255 * DateTime.cs : added another COM dependent pattern (rather to describe
3256 how it works on .NET than to add the pattern itself...).
3258 2005-08-16 Atsushi Enomoto <atsushi@ximian.com>
3260 * DateTime.cs : added case for bug #53023.
3262 2005-08-10 Zoltan Varga <vargaz@freemail.hu>
3264 * Type.cs: Add IsGenericType property from NET 2.0.
3266 2005-08-10 Atsushi Enomoto <atsushi@ximian.com>
3268 * String.cs : added new StartsWith()/EndsWith() override, fixing
3269 existing EndsWith() which incorrectly assumed that both string
3270 lengths must be equivalent (they are not always equal).
3271 * StringComparer.cs : added Ordinal and OrdinalIgnoreCase.
3273 2005-08-09 Zoltan Varga <vargaz@freemail.hu>
3275 * String.cs: Implement Split(String[]) methods.
3277 2005-08-09 Miguel de Icaza <miguel@novell.com>
3279 * AppDomainSetup.cs: Full-pathization of the appBase should only
3280 be done on Windows, the ":" condition never applied to Linux.
3282 * ConsoleKey.cs: Include a few aliases for a few values that were
3283 introduced recently.
3285 2005-08-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3287 * ConsoleKey.cs: added Backspace, which has the same value as BackSpace.
3290 2005-08-08 Atsushi Enomoto <atsushi@ximian.com>
3292 * String.cs : (StartsWith) compared string lengths are not always the
3293 same in culture-sensitive comparison.
3295 2005-08-05 Gert Driesen <drieseng@users.sourceforge.net>
3297 * Array.cs: Changed protected ctor to private. Fixes API compatibility
3299 * RuntimeFieldHandle.cs: Equals methods and GetHashCode should only
3300 be exposed in 2.0 profile.
3301 * RuntimeMethodHandle.cs: Equals methods and GetHashCode should only
3302 be exposed in 2.0 profile.
3303 * RuntimeTypeHandle.cs: Equals methods and GetHashCode should only
3304 be exposed in 2.0 profile.
3305 * Type.cs: Added GetType method and implemented _Type interface.
3306 Fixes API compatibility with MS.NET.
3308 2005-07-28 Marek Safar <marek.safar@seznam.cz>
3310 * StringComparer.cs: Add generics version of string interfaces.
3312 2005-07-26 Atsushi Enomoto <atsushi@ximian.com>
3314 * StringComparer.cs : implemented StringCultureComparer.GetHashCode().
3316 2005-07-26 Zoltan Varga <vargaz@freemail.hu>
3318 * StringSplitOptions.cs MidpointRounding.cs: New files.
3320 * String.cs Math.cs: Add stubs for some new 2.0 APIs.
3322 2005-07-26 Marek Safar <marek.safar@seznam.cz>
3324 * StringComparer.cs: New file.
3326 2005-07-26 Raja R Harinath <harinath@gmail.com>
3328 * Enum.cs (GetValue): Make private. Return an ulong.
3329 (Parse): Tighten scope of couple of variables. Use ulong when
3332 2005-07-25 Raja R Harinath <rharinath@novell.com>
3334 * Enum.cs (FindName, GetValue): New. Carved out of ...
3335 (Parse): ... this. Refactor and simplify code. Avoid incurring
3336 exceptions when parsing names. Avoid allocating arrays unless
3337 necessary. Avoid conversion of an enumeration constant to its own
3338 type. (Incorporates ideas from a patch by Gonzalo Paniagua Javier.)
3340 2005-07-13 Lluis Sanchez Gual <lluis@novell.com>
3342 * MarshalByRefObject.cs: GetLifetimeService() should be virtual.
3345 2005-07-13 Miguel de Icaza <miguel@novell.com>
3347 * Array.cs: Patch from rodrigobamboo@gmail.com that fixes the
3348 signature for GetValue and SetValue to make the long [] argument
3349 be a params argument.
3351 2005-07-11 Pedro MartĂnez JuliĂ¡ <pedromj@gmail.com>
3353 * Convert.cs: Fix the bug when Convert.ChangeType was using
3354 NumberFormatInfo instead of DateTimeFormatInfo when the type to
3355 change is a DateTime.
3357 2005-07-11 Martin Baulig <martin@ximian.com>
3359 * Array.cs: Use Type.Equals() instead of `==' to compare type
3362 2005-07-10 Kamil Skalski <nazgul@nemerle.org>
3364 * Type.cs: Mark BindGenericParameters as deprecated. Use
3365 MakeGenericType as default implementation with updated signature.
3367 2005-07-09 Zoltan Varga <vargaz@freemail.hu>
3369 * Attribute.cs (IsDefined): Fix IsDefined for ParameterInfo's. Fixes
3372 2005-07-05 Lluis Sanchez Gual <lluis@novell.com>
3374 * DelegateSerializationHolder.cs: When the deserialized target is
3375 a proxy, call IsInstanceOfType to force the proxy to load the
3376 real type of the remote object. This is needed to make sure that
3377 subsequent calls to GetType() return the expected type. This fixes
3380 2005-07-03 Ben Maurer <bmaurer@ximian.com>
3382 * OperatingSystem.cs: patch from Aleksandar Dezelin to fix
3385 2005-06-30 Sebastien Pouliot <sebastien@ximian.com>
3387 * Guid.cs: Avoid code duplication between overriden methods (new in
3388 2.0). Avoid exception processing when possible. Renamed parameters to
3389 match the framework. Added ComVisible to NET_2_0.
3391 2005-06-28 Elliott Draper <el@eldiablo.co.uk>
3393 * Activator.cs: This implements the generic Activator.CreateInstance<T>()
3394 function for NET_2_0. It's full signature is:
3395 public static T CreateInstance<T>();
3397 2005-06-28 Lluis Sanchez Gual <lluis@novell.com>
3399 * Decimal.cs: Renamed internal fields for the sake of serialization
3400 interoperability with MS.NET.
3401 * Exception.cs: In the StackTrace property, return the stack trace
3402 if it has a value, even if the exception has not been thrown
3403 (it may have been deserialized).
3405 2005-06-28 Martin Baulig <martin@ximian.com>
3407 * Array.cs (Array.InternalArray<T>): New nested class; derives
3408 from Array. This is now used by the runtime for arrays; fixes #74953.
3410 2005-06-27 Atsushi Enomoto <atsushi@ximian.com>
3412 * String.cs : added some extra whitespace characters for Trim().
3415 2005-06-13 Michal Moskal <malekith@nemerle.org>
3417 * MonoType.cs: Don't use MethodHandle in GetMethod/GetConstructor,
3418 since it now throws on MethodBuilders. Don't use FieldHandle in
3419 GetField (throws on FieldBuilder) - just use the name.
3421 2005-06-13 Martin Baulig <martin@ximian.com>
3424 (MonoType.getFullName): Added `bool assembly_qualified' argument.
3425 (MonoType.AssemblyQualifiedName): The interncall now adds the
3426 assembly name, so we don't need to do it here.
3427 (MonoType.FullName): Use the new getFullName() API.
3429 2005-06-14 Sebastien Pouliot <sebastien@ximian.com>
3431 * Char.cs: ToLowerInvariant and ToUpperInvariant are now public in
3432 NET_2_0. Added "new" white char and ComVisible for 2.0.
3434 2005-06-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3436 * Convert.cs: FromBase64String and FromBase64CharArray are now internal
3437 calls to avoid extra allocations.
3439 2005-06-09 Kamil Skalski <nazgul@nemerle.org>
3441 * Type.cs: Add MakeGenericType method form .NET 2.0 beta 2 API
3443 * Type.cs MonoType.cs: Add internal virtual
3444 Get{Method,Constructor,Field} for obtaining instanciated *Info objects
3445 from non-instanciated counterparts
3447 2005-06-09 Zoltan Varga <vargaz@freemail.hu>
3449 * ModuleHandle RuntimeMethodHandle.cs RuntimeTypeHandle.cs RuntimeFieldHandle.cs RuntimeArgumentHandle.cs: Add missing 2.0 attributes.
3451 2005-06-08 Zoltan Varga <vargaz@freemail.hu>
3453 * Type.cs: Add missing 2.0 attributes.
3455 2005-06-07 Carlos Alberto Cortez <calberto.cortez@gmail.com>
3457 * MonoCustomAttrs.cs: Added GetCustomAttributesDataInternal icall, and
3458 also internal method GetCustomAttributesData, used by
3459 System.Reflection.CustomAttributeData.
3461 2005-06-06 Sebastien Pouliot <sebastien@ximian.com>
3463 * Activator.cs: Added _Activator interface (and members) for 1.1 and
3464 missing attributes (for both 1.1 and 2.0).
3465 * String.cs: Made internal To[Lower|Upper]Invariant methods public for
3466 2.0. Reworked Trim() to skip a useless call. Added missing attribute
3468 * Type.cs: Added _Type, _MemberInfo interfaces (1.1/2.0). Added
3469 missing attribute for 2.0. Hided some public/protected methods.
3471 2005-06-06 Zoltan Varga <vargaz@freemail.hu>
3473 * ModuleHandle.cs: Update after PortableExecutableKinds name change.
3475 2005-06-06 Sebastien Pouliot <sebastien@ximian.com>
3477 * _AppDomain.cs: Added new members in the interface (added in 1.1 SP1)
3478 * AppDomain.cs: Added new members from _AppDomain interface.
3479 * AppDomainManager.cs: Fixed flags and added attributes.
3480 * DomainManagerInitializationFlags.cs: The flag has been renamed to
3481 AppDomainManagerInitializationOptions in beta2.
3483 2005-06-06 Zoltan Varga <vargaz@freemail.hu>
3485 * Type.cs MonoCustomAttrs.cs: Return SerializableAttribute for types as well.
3487 2005-06-06 Sebastien Pouliot <sebastien@ximian.com>
3489 * Exception.cs: Implements _Exception only for 2.0.
3491 2005-06-06 Zoltan Varga <vargaz@freemail.hu>
3495 * GC.cs UnhandledExceptionEventArgs.cs IntPtr.cs RuntimeFieldHandle.cs
3496 String.cs Object.cs Math.cs RuntimeMethodHandle.cs ModuleHandle.cs
3497 RuntimeTypeHandle.cs AppDomain.cs: Add some missing 2.0 methods/attributes.
3499 2005-06-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3502 * AppDomain.cs: if the assembly is loaded from a byte array, Location
3503 returns "". Fixes bug #74958.
3505 2005-06-04 Ben Maurer <bmaurer@ximian.com>
3507 * *.cs: More 2.0 API fixups
3509 * *.cs: In beta 2, generics are no longer non-cls-compliant.
3511 2005-06-05 Kazuki Oikawa <kazuki@panicode.com>
3513 * NumberFormatter.cs: Fixed the output of 0.ToString("00.00E00")
3514 that was different from MSFT.
3515 * String.cs: Fixed IndexOfAny thrown an exception
3516 when startIndex of arguments equals Length. (Closes bug #75083.)
3518 * Decimal.cs: Changed to use NumberFormatter in ToString.
3519 * NumberFormatter.cs: Implemented decimal formatter.
3521 2005-06-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3523 * Type.cs: reverted wrong fix for bug #71300 in r45150. This makes SSL
3524 support in System.Net work again.
3526 2005-06-01 Ben Maurer <bmaurer@ximian.com>
3528 * CharEnumerator.cs: add IEnumerable <char> support
3530 2005-05-30 Sebastien Pouliot <sebastien@ximian.com>
3532 * Activator.cs: Added missing validation on parameters.
3534 2005-05-28 Ben Maurer <bmaurer@ximian.com>
3536 * Type.cs: Check that the arguments of the `types' array are
3537 non-null. Fixes bug 71300
3539 2005-05-28 Sebastien Pouliot <sebastien@ximian.com>
3541 * AppDomainSetup.cs: Added new 2,0 constructors and the
3542 ActivationArguments property.
3543 * AppDomainManager.cs: Added using System.Runtime.Hosting as it is the
3544 new location for the ApplicationActivator class.
3545 * ApplicationActivator.cs: Moved to System.Runtime.Hosting namespace.
3547 2005-05-27 Vladimir Vukicevic <vladimir@pobox.com>
3549 * Environment.cs: bump corlib version for bug #75060.
3551 2005-05-27 Raja R Harinath <rharinath@novell.com>
3553 * Environment.cs (ExpandEnvironmentVariables): Rewrite
3554 sb.Append (s.SubString (a, b)) to sb.Append (s, a, b).
3555 * String.cs (FormatHelper): Rewrite sb.Append (s.SubString (a)) to
3556 sb.Append (s, a, s.Length - a). Avoid allocating 'pad' string --
3557 StringBuilder has an appropriate Append overload.
3559 2005-05-26 Zoltan Varga <vargaz@freemail.hu>
3561 * Type.cs (IsEnum): Special case EnumBuilder here.
3563 2005-05-26 Sebastien Pouliot <sebastien@ximian.com>
3565 * MonoType.cs: Changed call from GetName to UnprotectedGetName to
3566 allow call to work with serialization under a restrictive policy.
3567 The code path (the protected information) isn't being used.
3569 2005-05-25 Zoltan Varga <vargaz@freemail.hu>
3571 * Exception.cs: Use the new StackTrace ctor.
3573 * Type.cs: Improve support for user defined type subclasses.
3575 2005-05-25 Atsushi Enomoto <atsushi@ximian.com>
3577 * DateTime.cs : Added minimum digit parameter to ParseNumber() to
3578 reject 2 digit years for "yyyy".
3579 Use GetAllDateTimePatterns() instead of constant string.
3582 2005-05-25 Atsushi Enomoto <atsushi@ximian.com>
3584 * DateTime.cs : next_not_digit prevented some valid parse.
3585 Just remove it, since now we pass max length to ParseNumber() and
3586 thus it is not needed anymore. Fixed bug 63137.
3588 2005-05-24 Atsushi Enomoto <atsushi@ximian.com>
3590 * DateTime.cs : HH should not always block tt. Fixed bug #60912.
3591 Reset num after whitespace parsing.
3592 Added "M/d/yyyy HH':'mm':'ss tt" as an invariant pattern.
3594 2005-05-24 Atsushi Enomoto <atsushi@ximian.com>
3596 * DateTime.cs : Allow ',' where whitespaces are allowed.
3599 2005-05-22 Ben Maurer <bmaurer@ximian.com>
3601 * BitConverter.cs: Speed this up, fixing 74014. Patch from
3602 `Aleksandar Dezelin'.
3604 2005-05-20 Zoltan Varga <vargaz@freemail.hu>
3606 * Type.cs: Add some helper methods needed by other classes.
3608 * Array.cs: Improve support for user defined Type subclasses.
3610 * Type.cs: Rename GetTypeCode icall to GetTypeCodeInternal and add a managed
3611 wrapper function, not used yet.
3613 * Type.cs Array.cs: Revert this as it breaks the build.
3615 * Type.cs Array.cs: Improve support for user defined Type subclasses.
3617 2005-05-19 Ben Maurer <bmaurer@ximian.com>
3619 * Delegate.cs (Equals): Use `as' to protect in the case where !
3622 2005-05-19 Raja R Harinath <rharinath@novell.com>
3624 * Console.cs (Readline) [NET_2_0]: Avoid "uninitialized variable"
3627 2005-05-19 Miguel de Icaza <miguel@novell.com>
3629 * TermInfoDriver.cs: Removed warning.
3631 * Array.cs (Resize<T>, TrueForAll<T>, ConvertAll<TInput,TOutput>,
3632 FindLastIndex<T>: Parameter names are normative.
3633 Fix coding style ("Method<T>" not "Method <T>")
3634 Throw argument exceptions per argument.
3636 (FindAll): Fix bug, actually return the values that were computed,
3637 not a short version of the original array.
3639 2005-05-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3641 * Console.cs: fix error in the 2_0 side and split ReadLine in 2, one
3642 for each framework version.
3644 2005-05-15 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
3647 * Exception.cs: .Net 1.1 already has these interfaces
3649 Mon May 16 18:23:49 CEST 2005 Paolo Molaro <lupus@ximian.com>
3651 * MonoCustomAttrs.cs, Type.cs: do not create a SerializableAttribute
3652 object on GetCustomAttributes (fixes bug #74717).
3654 2005-05-15 Atsushi Enomoto <atsushi@ximian.com>
3656 * DateTime.cs : for 'z' next_not_digit didn't work as expected.
3659 2005-05-15 Atsushi Enomoto <atsushi@ximian.com>
3661 * DateTime.cs : don't allow extraneous pattern characters also for
3662 non-exact parsing (ParseExact() was fine). Bug #74936 fixed
3664 2005-05-13 Gert Driesen <drieseng@users.sourceforge.net>
3666 * Activator.cs: Match exceptions thrown by MS.NET for
3667 CreateInstance overloads if type is abstract. Fixes bug #74861.
3669 2005-05-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3671 * OperatingSystem.cs: PlatformID.Unix.
3673 2005-05-09 Sebastien Pouliot <sebastien@ximian.com>
3675 * Environment.cs: Patch from Gonzalo to fix Environment.OSVersion.
3676 Platform under NET_2_0 to return PlatformID.Unix. Fix bug #74841.
3678 2005-05-07 Atsushi Enomoto <atsushi@ximian.com>
3680 * NumberFormatter.cs : roundtrip number is already rounded before
3681 FormatGeneral() and DefaultMaxPrecision was extraneous. This fixes
3684 2005-05-07 Ben Maurer <bmaurer@ximian.com>
3686 * Array.cs (BinarySearch): Patch from kazuki to pass arguments to
3687 the comparer in the same order as msft. Fixes #70725
3689 2005-05-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3691 * Enum.cs: the hashtable don't need to be synchronized any more, since
3692 it's only accessed from withint a lock.
3694 * Console.cs: stdin, stdout and stderr will never be finalized. Fixes
3697 2005-05-06 Zoltan Varga <vargaz@freemail.hu>
3699 * Array.cs: Remove CLSCompliant (false) attributes.
3701 2005-05-06 Martin Baulig <martin@ximian.com>
3703 * Predicate.cs, Action.cs, Comparision.cs, Converter.cs: Add
3704 [CLSCompliant(true)] attribute.
3706 2005-05-04 Miguel de Icaza <miguel@novell.com>
3708 * Enum.cs (MonoEnumInfo): Based on a patch from James Willcox,
3709 initialize cache as a static method. Fixes #74828.
3711 2005-05-03 Marek Safar <marek.safar@seznam.cz>
3713 * Console.cs: CancelKeyPress is stubbed.
3715 2005-04-25 Sebastien Pouliot <sebastien@ximian.com>
3717 * ActivationContext.cs: Updated for beta2.
3718 * AppDomainManager.cs: Updated for beta2.
3719 * ApplicationId.cs: Updated for beta2.
3720 * ApplicationIdentity.cs: Updated for beta2.
3721 * Exception.cs: Now use Assembly.UnprotectedGetName () as Exception
3722 doesn't leak the code base from the returned AssemblyName.
3724 2005-04-25 Martin Baulig <martin@ximian.com>
3726 * Environment.cs (Environment.Version): Changed to 2.0.50215.
3728 2005-04-22 Sebastien Pouliot <sebastien@ximian.com>
3730 * Attribute.cs: Added _Attribute interface to NET_2_0 to reduce the
3731 number of "missing" in the class status pages.
3733 2005-04-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3735 * MulticastDelegate.cs: (GetInvocationList) when building the list that
3736 is later traversed forward, mark 'this' as the end of the chain.
3739 2005-04-19 Zoltan Varga <vargaz@freemail.hu>
3741 * Environment.cs: Bump corlib version.
3743 2005-04-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3745 * WindowsConsoleDriver.cs: ignore key release events.
3747 2005-04-06 Atsushi Enomoto <atsushi@ximian.com>
3749 * Char.cs : ToUpper()/ToLower() comparison ranges were incorrect.
3751 2005-04-05 Sebastien Pouliot <sebastien@ximian.com>
3753 * _AppDomain.cs: Add security checks to the interface. Declarative
3754 security on events requires BOOTSTRAP_WITH_OLDLIB to work properly
3756 * AppDomain.cs: Add some (not complete) security checks. Bug#74411 is
3757 blocking some cases from working properly. Declarative security on
3758 events requires BOOTSTRAP_WITH_OLDLIB to work properly with older MCS.
3760 2005-04-04 Sebastien Pouliot <sebastien@ximian.com>
3762 * AppDomain.cs: Use the PolicyLevel to resolve the granted permissions
3763 on the AppDomain. Added an internal property to get the granted set.
3765 2005-04-04 Atsushi Enomoto <atsushi@ximian.com>
3768 Char.cs : use TextInfo for ToLower() and ToUpper().
3770 2005-03-31 Sebastien Pouliot <sebastien@ximian.com>
3772 * Exception.cs: Added Assert for TypeInformation to GetObjectData and
3773 ToString methods (not required for 2.0 as TypeInformation will be
3774 deprecated). Added null check for GetObjectData.
3776 Tue Mar 29 11:47:19 CEST 2005 Paolo Molaro <lupus@ximian.com>
3778 * Delegate.cs: allow IronPython 0.7 to compile.
3780 2005-03-24 Miguel de Icaza <miguel@novell.com>
3782 * Delegate.cs: Add CreateDelegate with a target option, currently
3783 internal as it is not exposed by the framework yet.
3785 2005-03-24 Zoltan Varga <vargaz@freemail.hu>
3787 * String.cs: Add some 2.0 methods.
3789 2005-03-24 Sebastien Pouliot <sebastien@ximian.com>
3791 * Activator.cs: Now use the supplied evidences when loading
3792 assemblies. Added LinkDemand for RemotingConfiguration on both
3794 * Console.cs: Added Assert for UnmanagedCode on OpenStandard[Error|
3795 Input|Output] as they use a handle on a FileStream (which is
3796 restricted otherwise). Added Demand for UnmanagedCode for the
3797 Set[Error|In|Out] methods.
3798 * MarshalByRefObject.cs: Added LinkDemand for Infrastructure on
3799 CreateObjRef, GetLifetimeService and InitializeLifetimeService.
3800 * RuntimeMethodHandle.cs: Added Demand for UnmanagedCode on
3801 GetFunctionPointer method.
3802 * TypedReference.cs: Added LinkDemand for ReflectionPermission's
3803 MemberAccess on MakeTypedReference.
3805 2005-03-14 Sebastien Pouliot <sebastien@ximian.com>
3807 * Environment.cs: Fix CAS unit tests for NET_1_1.
3808 * Exception.cs: Fix CAS unit tests for NET_1_1.
3810 2005-03-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3812 * Version.cs: don't ignore the last number. Fixes bug #73539.
3814 2005-03-11 Sebastien Pouliot <sebastien@ximian.com>
3816 * MonoType.cs: When the security manager is active, constructors and
3817 methods will return null if a linkdemand fails during reflection
3820 2005-03-11 Zoltan Varga <vargaz@freemail.hu>
3822 * Array.cs (Sort): Bail out early if length <= 1. Fixes #72721.
3824 2005-03-10 Zoltan Varga <vargaz@freemail.hu>
3826 * Environment.cs: Bump corlib version.
3828 2005-03-10 Martin Baulig <martin@ximian.com>
3830 * Nullable.cs (Nullable<T>.ToString): Return an empty string if
3833 2005-03-09 Zoltan Varga <vargaz@freemail.hu>
3835 * Activator.cs MonoType.cs: Applied patch from Carlos Alberto Cortez
3836 (carlos@unixmexico.org). Allow creation of valuetypes with no ctor.
3839 2005-03-04 Zoltan Varga <vargaz@freemail.hu>
3841 * Environment.cs: Bump corlib version.
3843 * Exception.cs (StackTrace): Return the wrapper info as well.
3845 2005-03-02 Kazuki Oikawa <kazuki@panicode.com>
3847 * NumberFormatter.cs: Some internal classes was converted to structs,
3848 and improved some points.
3850 2005-02-26 Kazuki Oikawa <kazuki@panicode.com>
3852 * NumberFormatter.cs: Improved performance and memory usage
3853 when integer standard format.
3864 * TimeSpan.cs: Improved these directly call to NumberFormatter.
3866 2005-02-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3868 * TermInfoDriver.cs: set the xmit mode if available. Handle key input
3869 and translate them into a ConsoleKeyInfo.
3870 * TermInfoReader.cs: added a method to return the bytes of a string
3872 * ConsoleKeyInfo.cs: added copy constructor and setters.
3874 2005-02-24 Zoltan Varga <vargaz@freemail.hu>
3876 * Array.cs: Add missing 2.0 attributes and correct some parameter names.
3878 2005-02-24 Carlos Alberto Cortez <calberto.cortez@gmail.com>
3880 * AppDomain.cs: Changed GetAssemblies, LoadAssembly, and Load signatures,
3881 and added some to support the reflection only methods. DoAssemblyResolve
3882 was modified to invoke the new PreBindAssemblyResolve event when the
3883 assembly is reflection only.
3885 2005-02-21 Zoltan Varga <vargaz@freemail.hu>
3887 * GC.cs Double.cs IntPtr.cs Array.cs Decimal.cs Math.cs Single.cs:
3888 Add net 2.0 ReliabilityContractAttributes.
3890 2005-02-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3892 * TermInfoDriver.cs: cygwin terminals are handled by the windows
3895 * TermInfoReader.cs:
3896 * TermInfoNumbers.cs:
3897 * KnownTerminals.cs:
3898 * TermInfoBooleans.cs:
3899 * TermInfoStrings.cs: documented.
3901 2005-02-19 Kazuki Oikawa <kazuki@panicode.com>
3903 * Array.cs: Reverse the order in the Equals calls.
3905 2005-02-18 Zoltan Varga <vargaz@freemail.hu>
3907 * Exception.cs (StackTrace): Implement this in managed code since it is
3908 needed by CAS. Fixes #72146.
3910 2005-02-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3912 * WindowsConsoleDriver.cs: implemented MoveBufferArea.
3914 2005-02-14 Raja R Harinath <rharinath@novell.com>
3916 * Array.cs (Array.Swapper) [!BOOTSTRAP_WITH_OLDLIB]: Make nested.
3919 2005-02-12 Ben Maurer <bmaurer@ximian.com>
3921 * Version.cs (CompareTo, Equals): Make sure the versions for
3922 generics handle `null'. The non-generics versions now just call
3923 the regular versions, to reduce code duplication.
3925 * Boolean.cs (CompareTo): make this really work for generics
3927 * Type.cs (GetProperty): Passing new Type [0] is different than
3928 null. null means `I don't care how many types this has,' while new
3929 Type [0] means `this must have 0 types.'
3931 2005-02-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3933 * corlib.dll.sources: added WindowsConsoleDriver.cs
3935 * System/ConsoleDriver.cs: use WindowsConsoleDriver on windows and
3936 implemented the few missing properties/methods.
3938 * System/IConsoleDriver.cs: uncommented all methods/properties.
3939 * System/TermInfoDriver.cs: implement changes from IConsoleDriver.
3940 * System/WindowsConsoleDriver.cs: implemented IConsoleDriver for
3941 windows. Only missing MoveBufferArea by now.
3943 2005-02-11 Zoltan Varga <vargaz@freemail.hu>
3945 * Type.cs (IsAssignableFrom): Add support for TypeBuilders.
3947 * Int32.cs AppDomain.cs: Fix warnings.
3949 2005-02-10 Marek Safar <marek.safar@seznam.cz>
3951 * IServiceProvider.cs: Is not ComVisible.
3953 * NonSerializedAttribute.cs: Fix AttributeUsage flags.
3955 * Type.cs: Fix ClassInterface attribute.
3957 Tue Feb 8 19:26:47 CET 2005 Paolo Molaro <lupus@ximian.com>
3959 * Delegate.cs: remove the finalizer from Delegate: this
3960 is handled internally by the runtime now.
3962 2005-02-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3964 * Activator.cs: provide the Type name when throwing an exception.
3966 2005-02-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3968 * TimeZone.cs: lock on the static Hashtable instead of 'this'. Fixes
3971 Fri Feb 4 15:46:04 CET 2005 Paolo Molaro <lupus@ximian.com>
3973 * Array.cs: provide specialized versions of some methods.
3975 Thu Feb 3 15:15:25 CET 2005 Paolo Molaro <lupus@ximian.com>
3977 * String.cs: provide a managed memcpy and memset method
3978 for use both in corlib and from the JIT. Implement
3979 some methods with the managed helpers and remove some icalls.
3981 2005-01-31 Sebastien Pouliot <sebastien@ximian.com>
3983 * Exception.cs: Added Data property for NET_2_0 (required for new
3986 2005-01-31 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3989 * TermInfoDriver.cs:
3990 * IConsoleDriver.cs:
3991 * Console.cs: added BufferWidth and BufferHeight.
3993 2005-01-31 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3997 * TermInfoDriver.cs:
3998 * IConsoleDriver.cs: added a few more properties and fixed cursor
4001 2005-01-31 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4003 * ConsoleDriver.cs: static class that forwards the Console 2.0 class
4004 calls to the proper driver.
4005 * TermInfoDriver.cs: terminfo based console driver.
4006 * IConsoleDriver.cs: interface implemented by console drivers.
4008 * ConsoleCancelEventArgs.cs:
4009 * ConsoleCancelEventHandler.cs:
4011 * ConsoleModifiers.cs:
4012 * ConsoleSpecialKey.cs:
4014 * ConsoleKey.cs: new enumerations.
4016 * ConsoleKeyInfo.cs: New file.
4018 * TermInfoReader.cs: reader for terminfo capabilities files.
4020 * TermInfoNumbers.cs:
4021 * TermInfoBooleans.cs:
4022 * TermInfoStrings.cs: enumations for terminfo property names.
4024 * KnownTerminals.cs: byte arrays for selected terminals.
4026 * Console.cs: added more 2.0 methods and implemented some of them.
4029 2005-01-30 Atsushi Enomoto <atsushi@ximian.com>
4031 * Int32.cs : (FindSign) IndexOf() is better than creating substring.
4033 2005-01-27 Sebastien Pouliot <sebastien@ximian.com>
4035 * BadImageFormatException.cs: Protect the fusion (GAC) log from being
4036 disclosed unless code has ControlPolicy and ControlEvidence.
4038 2005-01-27 Zoltan Varga <vargaz@freemail.hu>
4040 * Exception.cs: Compute stack trace on demand.
4042 2005-01-26 Sebastien Pouliot <sebastien@ximian.com>
4044 * Environment.cs: Removed hack for static class (NET_2_0). Added
4045 proper security for FailFast (documented in FDBK20543). Added new
4046 method IsRunningOnWindows to replace (Platform == 128) as the logic is
4047 gonna change in the future (Unix is id #4 in NET_2_0).
4049 2005-01-24 Sebastien Pouliot <sebastien@ximian.com>
4051 * Environment.cs: Added CAS security (both declarative and imperative)
4052 as a test. This shouldn't affect execution unless --security is
4055 2005-01-19 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
4056 * Type.cs: Corrected implementation for the Type.FilterNameIgnoreCase
4057 and Type.FilterName delegates They weren't dealing with the optional '*'
4058 at the end of the filter mask
4060 2005-01-19 Zoltan Varga <vargaz@freemail.hu>
4062 * Array.cs: Fix a typo in the previous patch.
4064 * Array.cs: Fix some test failures in the generic methods.
4066 * Array.cs: Implement AsReadOnly.
4068 2005-01-13 Geoff Norton <gnorton@customerdna.com>
4070 * Guid.cs: Fix endian issues (use Mono.Security.BitConverterLE). Fixes
4073 2005-01-11 Sebastien Pouliot <sebastien@ximian.com>
4075 * AppDomain.cs: Removed Activate and ActivateNewProcess methods. They
4076 have been removed from 2.0.
4078 2005-01-11 Zoltan Varga <vargaz@freemail.hu>
4080 * Boolean.cs Char.cs Single.cs Double.cs: Implement IComparable<T> in
4083 2005-01-10 Sebastien Pouliot <sebastien@ximian.com>
4085 * ApplicationIdentity.cs: Throw ArgumentNullException if name is null.
4086 Add default culture (neutral) to the name when none is specified.
4087 * AppDomain.cs: Changed IsDefaultAppDomain (2.0). Is seems that we
4090 2005-01-09 Sebastien Pouliot <sebastien@ximian.com>
4092 * DateTime.cs: Reverted last patch for utc as it broke all certificate
4093 handling and another unit test in DateTime.
4095 2005-01-09 Miguel de Icaza <miguel@ximian.com>
4097 * DateTime.cs: Return immediately if useutc is set to true, there
4098 is no need to do the extra computation (which also happened to
4099 create a new DateTime using the `use_localtime' constructor, which
4100 lead to the erroneous date returns when using 'u' or `U'
4103 Fixes another bug in the regression test suite.
4105 2005-01-08 Sebastien Pouliot <sebastien@ximian.com>
4107 * AppDomain.cs: Fix the DefaultDomain property to return the root
4108 domain (as it seems that the root's Id isn't always 0).
4109 * BitConverter.cs: The "special support" for ToString(new byte[0]) is
4110 only for NET_2_0 - previously this was an ArgumentOutOfRangeException.
4112 2005-01-08 Miguel de Icaza <miguel@ximian.com>
4114 * IntegerFormatter.cs: The - sign inside the "negative" section in
4115 a multi-format string means `show the sign' only if it is the
4116 first token, not `copy verbatim'. In the other sections it means
4119 This makes things like: (-34).ToString ("#;-#") show up as "-34"
4122 The bad news is that this code needs to be rewritten to handle all
4123 the formatting cases, see bug #71112 for details.
4125 * Convert.cs (Convert.ToType): Throw an InvalidCastException if
4126 the conversion is invalid, not ArgumentException, this fixes
4127 another regression in our test suite.
4129 2005-01-08 Sebastien Pouliot <sebastien@ximian.com>
4131 * AppDomain.cs: Add ApplicationIdentity property for 2.0;
4132 * AppDomainManager.cs: Remove HostRefusedSet support (it does not
4135 2005-01-08 Zoltan Varga <vargaz@freemail.hu>
4137 * DateTime.cs: Create MaxValue and MinValue using a different constructor to avoid static
4138 initialization problems.
4140 2005-01-02 Ben Maurer <bmaurer@ximian.com>
4142 * Int32.cs: NumberStyles.AllowExponent was supported by the
4143 Int32.Parse function. From Akira <mei@work.email.ne.jp>. Fixes bug
4146 2005-01-01 Atsushi Enomoto <atsushi@ximian.com>
4148 * Base64FormattingOptions.cs : it was not in System namespace.
4150 2004-12-21 Atsushi Enomoto <atsushi@ximian.com>
4152 * DateTime.cs : If no progress on value string, don't regard as
4153 matched. This fixes bug #70707.
4155 2004-12-20 Sebastien Pouliot <sebastien@ximian.com>
4157 * Environment.cs: Bump corlib version.
4159 2004-12-16 Zoltan Varga <vargaz@freemail.hu>
4161 * Array.cs (DoBinarySearch): Fix a warning.
4163 2004-12-08 Zoltan Varga <vargaz@freemail.hu>
4165 * Environment.cs: Bump corlib version.
4167 * AppDomain.cs: Add new DefineInternalDynamicAssembly () method.
4169 2004-12-06 Ben Maurer <bmaurer@ximian.com>
4171 * Exception.cs: Prevent stringifying the type name on the
4172 ctor. this gets called a few times on every execution to create a
4175 2004-12-06 Martin Baulig <martin@ximian.com>
4177 * Decimal.cs: Decimal constant support has been merged into GMCS,
4180 2004-12-06 Zoltan Varga <vargaz@freemail.hu>
4182 * Environment.cs: Bump corlib version.
4184 * Environment.cs: Bump corlib version.
4186 2004-11-30 Zoltan Varga <vargaz@freemail.hu>
4188 * MonoType.cs (UnderlyingSystemType): Make this return this as in
4189 MS.NET. Fixes #56245.
4191 2004-11-29 Atsushi Enomoto <atsushi@ximian.com>
4193 * GC.cs : Collect(generation) actually does not throw an exception
4194 even if generation > MaxGeneration (MS document bug).
4196 2004-11-28 Zoltan Varga <vargaz@freemail.hu>
4198 * Exception.cs: Implement _Exception under NET_2_0.
4200 * Byte.cs SByte.cs UInt16.cs Int16.cs: Make these compile under csc 2.0.
4202 * AccessViolationException.cs DataMisalignedException.cs OperationCanceledException.cs
4203 NotCancelableException.cs TimeoutException.cs: New files.
4205 2004-11-23 Raja R Harinath <rharinath@novell.com>
4207 * Decimal.cs [NET_2_0]: Use old code till GMCS imports decimal
4210 2004-11-23 Raja R Harinath <rharinath@novell.com>
4212 * Decimal.cs [BOOTSTRAP_WITH_OLDLIB]: Use old code for compilers
4213 without decimal constant support.
4215 2004-11-23 Marek Safar <marek.safar@seznam.cz>
4217 * Decimal.cs: Updated to use compiler decimal constant support.
4219 2004-11-20 Zoltan Varga <vargaz@freemail.hu>
4221 * MonoType.cs: Revert last change since it breaks remoting.
4223 2004-11-18 Zoltan Varga <vargaz@freemail.hu>
4225 * MonoType.cs (UnderlyingSystemType): Make this return this as in
4226 MS.NET. Fixes #56245.
4228 2004-11-17 Carlos Alberto Cortez <carlos@unixmexico.org>
4230 * INullable.cs: New interface added.
4231 * Nullable.cs: Methods added. Also a static Nullable class
4232 containing static methods.
4234 2004-11-15 Sebastien Pouliot <sebastien@ximian.com>
4236 * BitConverter.cs: Added support for special case when ToString is
4237 called with (new byte [0]).
4239 2004-11-10 Lluis Sanchez <lluis@novell.com>
4241 * Exception.cs: Added setter for StackTrace.
4243 2004-11-07 Ben Maurer <bmaurer@ximian.com>
4245 * IntegerFormatter.cs: Avoid .ToCharArray
4247 2004-11-06 Ben Maurer <bmaurer@ximian.com>
4249 * Single.cs, Double.cs (GetHashCode): Better hashcode impl
4251 2004-11-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4253 * InvalidOperationException.cs: make the message more meaningful and
4254 real. Fixes bug #69055.
4256 2004-10-28 Ben Maurer <bmaurer@ximian.com>
4258 * String.cs: Rather than == String.Empty, use .Length == 0. It
4259 is a bit faster (avoids a method call, and the code is less complex).
4261 2004-10-24 Fawad Halim <fawad@fawad.net>
4262 * Environment.cs: If an Environment variable value isn't found, leave the trailing % of the reference for further matches.
4263 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.
4264 This fixes bug #64995.
4266 2004-10-19 Lluis Sanchez <lluis@novell.com>
4268 * MarshalByRefObject.cs: Field _identity is not serializable.
4269 This fixes bug #68567.
4271 2004-10-17 Ben Maurer <bmaurer@ximian.com>
4273 * DateTime.cs (ZeroPad): Use unsafe code to speed this up. We
4274 avoid entering slow integer formatting code.
4276 (_ToString): Use ZeroPad here when possible, as it is faster.
4278 2004-10-11 Martin Baulig <martin@ximian.com>
4280 * Environment.cs: Bump corlib version to 28.
4282 2004-10-08 Zoltan Varga <vargaz@freemail.hu>
4284 * Convert.cs (ToType): Throw an exception when converting null to a
4285 valuetype. Fixes #67780.
4287 2004-10-08 Atsushi Enomoto <atsushi@ximian.com>
4289 * DateTime.cs : Performance fix. ParseExact() implementation should
4290 avoid s = s.Substring(1).
4292 2004-10-08 Atsushi Enomoto <atsushi@ximian.com>
4294 * DateTime.cs : When it it not exact parse, 'Z' is allowed as a suffix
4295 of m/s/t/z. This fixes bug 66723.
4297 Wed Oct 6 12:37:54 CEST 2004 Paolo Molaro <lupus@ximian.com>
4299 * String.cs: make GetHashCode() managed.
4301 2004-10-04 Zoltan Varga <vargaz@freemail.hu>
4303 * AppDomain.cs: Make ThreadStatic variables static. Fixes #56614.
4305 * Runtime*Handle.cs ModuleHandle.cs: Add Equals + GetHashCode.
4307 * ModuleHandle.cs: Add missing methods.
4309 * RuntimeTypeHandle.cs: Add GetModuleHandle () method.
4311 2004-10-03 Zoltan Varga <vargaz@freemail.hu>
4313 * AttributeTargets.cs: Add 2.0 GenericParameter value.
4315 * Environment.cs: Bump corlib version.
4317 2004-10-02 Zoltan Varga <vargaz@freemail.hu>
4319 * Int32.cs UInt32.cs Byte.cs SByte.cs Int16.cs UInt16.cs Int64.cs UInt64.cs: Implement 2.0 TryParse methods.
4321 2004-09-30 Geoff Norton <gnorton@customerdna.com>
4323 * Convert.cs: ConvertToBase* was not endian aware. Implemented EndianSwap
4324 and swapping of all values before going into the BitConverter so that values
4325 are returned with proper endianess.
4327 2004-09-23 Martin Garton <martin@wrasse.demon.co.uk>
4329 * Convert.cs: ToType was returning unconverted object when it should
4330 fail with an ArgumentException.
4332 2004-09-27 Zoltan Varga <vargaz@freemail.hu>
4334 * Array.cs: Add stub for AsReadOnly<T>.
4336 2004-09-25 Zoltan Varga <vargaz@freemail.hu>
4338 * Type.cs: Add MakePointerType && stub for ReflectionOnlyGetType.
4340 * MonoCustomAttrs.cs (GetCustomAttributesBase): Add support for
4343 2004-09-24 Zoltan Varga <vargaz@freemail.hu>
4345 * MonoCustomAttrs.cs (GetCustomAttributesBase): Add support for
4348 * MonoCustomAttrs.cs: Beginnings of support for returning 2.0 pseudo
4351 * MonoCustomAttrs.cs (RetrieveAttributeUsage): Avoid infinite recursion.
4353 * MonoCustomAttrs.cs (GetCustomAttributes): Fix the 'attributeType is
4354 sealed' optimization.
4356 * Type.cs: Implement 2.0 StructLayoutAttribute property.
4358 * Type.cs Add GetPseudoCustomAttributes () method.
4360 2004-09-24 Martin Baulig <martin@ximian.com>
4362 * Type.cs (Type.GetGenericParameterConstraints): New public method.
4364 2004-09-23 Zoltan Varga <vargaz@freemail.hu>
4366 * MonoCustomAttrs.cs (GetCustomAttributes): Rename the icall to
4367 GetCustomAttributesInternal and add a 'pseudoAttrs' argument.
4369 * Type.cs: Tweak Module property in 2.0 build.
4371 2004-09-23 Martin Baulig <martin@ximian.com>
4373 * Type.cs (Type.GenericParameterAttributes): New public property.
4375 2004-09-23 Martin Baulig <martin@ximian.com>
4377 * GenericParameterAttributes.cs: New file.
4379 2004-09-22 Zoltan Varga <vargaz@freemail.hu>
4381 * ModuleHandle.cs: Updated after changes to Module class.
4383 2004-09-21 Geoff Norton <gnorton@customerdna.com>
4385 * Type.cs: BindingFlags.IgnoreCase was being ignored, this reimplements
4386 this filter. Fixes bug #65778.
4388 2004-09-20 Zoltan Varga <vargaz@freemail.hu>
4390 * Environment.cs: Bump corlib version.
4392 2004-09-19 Zoltan Varga <vargaz@freemail.hu>
4394 * ModuleHandle.cs: New file.
4396 * RuntimeFieldHandle.cs: Add an internal ctor.
4398 2004-09-19 Dick Porter <dick@ximian.com>
4400 * Console.cs: Use the internal wrappers for StreamReader and
4401 StreamWriter that catch IOException.
4403 2004-09-16 Sebastien Pouliot <sebastien@ximian.com>
4405 * Environment.cs: Bumped mono_corlib_version to 25.
4407 2004-09-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4409 * AppDomain.cs: added SetupInformationNoCopy property, since
4410 SetupInformation creates a copy now, all updates to it should use the
4411 actual data. Fixes bug #61991 take 2.
4413 2004-09-09 Tim Coleman <tim@timcoleman.com>
4414 * Base64FormattingOptions.cs: New enum
4415 * Convert.cs: Add new ToBase64String methods for Fx 2.0
4417 2004-09-08 Marek Safar <marek.safar@seznam.cz>
4420 * GC.cs: Class is static for NET_2_0.
4422 2004-09-07 Ben Maurer <bmaurer@users.sourceforge.net>
4424 * Activator.cs: Make sure not to call .GetType on a
4425 null argument. fixes 63852
4427 2004-09-06 Ben Maurer <bmaurer@users.sourceforge.net>
4429 * Array.cs (Clear): make this an icall.
4431 2004-09-05 Ben Maurer <bmaurer@users.sourceforge.net>
4433 * MonoCustomAttribute.cs: Avoid the call to GetBase when possible.
4435 2004-09-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4437 * Environment.cs: (ExpandEnvironmentVariables) don't nullify the case
4438 insensitive enironment variables hashtable once we create it.
4440 2004-09-04 Sebastien Pouliot <sebastien@ximian.com>
4442 * AppDomain.cs: Changed 2 imperative security demands to declarative
4443 (unsupported) so it doesn't (for now) call the security runtime.
4445 2004-09-02 Zoltan Varga <vargaz@freemail.hu>
4447 * Delegate.cs: Free the delegate trampoline in the finalizer.
4449 2004-08-26 Sebastien Pouliot <sebastien@ximian.com>
4451 * ApplicationId.cs: Completed GetHashCode using information from MS
4454 2004-08-23 Sebastien Pouliot <sebastien@ximian.com>
4456 * Boolean.cs: Added TryParse static method for NET_2_0 profile.
4458 2004-08-19 Atsushi Enomoto <atsushi@ximian.com>
4460 * DateTime.cs : When hour format is "hh", MS.NET (maybe incorrectly)
4461 allows 12, that should not be accepted (13 is rejected) and
4462 interpreted as 0. This fixes bug 63376.
4464 2004-08-17 Sebastien Pouliot <sebastien@ximian.com>
4466 * Version.cs: Fixed Clone so we can use it on versions with only
4467 major/minor or major/minor/build.
4469 2004-08-17 Martin Baulig <martin@ximian.com>
4471 * MonoType.cs (MonoType.getFullName): Added `bool full_name'
4472 argument specifying whether or not to include the type arguments.
4473 (MonoType.FullName): Don't include the type arguments.
4474 (MonoType.ToString): Include them here.
4476 * Environment.cs: Bumped mono_corlib_version to 24.
4478 2004-08-16 Duncan Mak <duncan@ximian.com>
4480 * AttributeUsageAttribute.cs: Change the AttributeUsage to
4481 AttributeTargets.Class, from AttributeTargets.All, fixes Zoltan's
4484 2004-08-11 Marek Safar <marek.safar@seznam.cz>
4486 * AppDomain.cs: Fixed typo of DefineDynamicAssembly argument.
4487 Added call to AddPermissionRequests to pass permissions
4489 * Environment.cs: Added a few Fx 2.0 methods
4491 2004-08-09 Sebastien Pouliot <sebastien@ximian.com>
4493 * ApplicationId.cs: Fixed typo to fix NET_2_0 compilation.
4494 * AppDomain.cs: Fixed use of Evidence and AppDomainSetup (copies, not
4495 references). Added (non-obsolete) Fx 2.0 properties and methods.
4496 * AppDomainSetup.cs: Added internal copy constructor.
4497 * DomainManagerInitializationFlags.cs: Fixed values.
4499 2004-08-08 Sebastien Pouliot <sebastien@ximian.com>
4501 * AppDomainInitializer.cs: New Fx 2.0 class for AppDomain.
4502 * AppDomainManager.cs: New Fx 2.0 class for AppDomain.
4503 * ApplicationActivator.cs: New Fx 2.0 class for AppDomain.
4504 * ApplicationId.cs: New Fx 2.0 class.
4505 * ApplicationIdentity.cs: Fixed ToString.
4506 * DomainManagerInitializationFlags.cs: New Fx 2.0 flags for AppDomain.
4508 2004-08-05 Sebastien Pouliot <sebastien@ximian.com>
4510 * AppDomain.cs: Added a new icall, getDomainByID, to get the an
4511 AppDomain using it's Id. Completed SetAppDomainPolicy.
4512 * Environment.cs: Bumped mono_corlib_version to 23.
4514 2004-08-02 Martin Baulig <martin@ximian.com>
4516 * DateTime.cs, TimeSpan.cs, Guid.cs, Version.cs: Implement IComparable<T>.
4518 2004-07-29 Atsushi Enomoto <atsushi@ximian.com>
4520 * Environment.cs : GacPath on windows is based on mscorlib.dll, and
4521 now its location is changed.
4523 2004-07-21 Lluis Sanchez Gual <lluis@novell.com>
4525 * Environment.cs: Return the MS.NET 2.0 beta1 runtime version for the
4528 2004-07-18 Martin Baulig <martin@ximian.com>
4530 * Array.cs: Ben Maurer implemented all the new generic methods
4533 2004-07-17 Martin Baulig <martin@ximian.com>
4535 * Decimal.cs: Implement IComparable<Decimal>.
4537 2004-07-17 Martin Baulig <martin@ximian.com>
4539 * Byte.cs, Int16.cs, Int32.cs, Int64.cs, SByte.cs, String.cs,
4540 UInt16.cs, UInt32.cs, UInt64.cs: Implement IComparable<T>.
4542 2004-07-13 Sebastien Pouliot <sebastien@ximian.com>
4544 * ActivationContext.cs: New class in Fx 2.0. Required for
4545 System.Security.Policy.
4546 * ApplicationIdentity.cs: New class in Fx 2.0. Required for
4547 System.Security.Policy.
4548 * IApplicationDescription.cs: New interface in Fx 2.0. Required for
4549 System.Security.Policy.
4550 * IHostContext.cs: New interface in Fx 2.0. Required for
4551 System.Security.Policy.
4553 2004-07-12 Geoff Norton <gnorton@customerdna.com>
4555 * DateTime.cs: Patch for bug #61112. Our DateTime wasn't roundtripping over timezone
4556 boundaries properly. This patch checkes ToLocalTime() to see if we're tripping over a boundary
4557 and will add/subtract the hour if needed
4559 2004-07-07 Geoff Norton <gnorton@customerdna.com>
4561 * Monotype.cs: Patch for bug #58844. Dont throw exceptions right away;
4562 pass through all the possibly BindingInfo's and keep a bool value as to the type
4563 of exception we might need to throw;
4565 2004-07-07 Geoff Norton <gnorton@customerdna.com>
4567 * Patch to fix bug #58973
4569 2004-07-02 Jackson Harper <jackson@ximian.com>
4571 * PlatformID.cs: New 2.0 values.
4573 2004-06-25 Ben Maurer <bmaurer@ximian.com>
4575 * Environment.cs: GetFolderPath has new behavior. r=miguel
4577 2004-06-23 Sebastien Pouliot <sebastien@ximian.com>
4579 * DateTime.cs: Throw ArgumentOutOfRangeException if the year is
4580 bigger than 9999. Fix bug #41845.
4581 * FloatingPointFormatter.cs: Applied correction from Jon Skeet on
4582 the "R"eversible format for negative numbers.
4584 2004-06-21 Jackson Harper <jackson@ximian.com>
4586 * Decimal.cs: Make sure to use invariant culture when parsing
4587 floats stringified with the invariant culture. Patch by Rodrigo
4590 2004-06-19 Atsushi Enomoto <atsushi@ximian.com>
4592 * FloatingPointFormatter.cs : Literal string should be kept in the
4595 2004-06-18 Atsushi Enomoto <atsushi@ximian.com>
4597 * DateTime.cs : Concatenating whitespace removal was not working fine.
4598 Modified FormatException message (1 cent kindness).
4600 2004-06-18 Ben Maurer <bmaurer@ximian.com>
4602 * Action.cs, ArraySegment.cs, Comparison.cs, Converter.cs, Predicate.cs:
4603 new generics classes
4604 * IComparable.cs: add the new <T> version.
4605 * EventHandler.cs: new <T> version.
4607 2004-06-18 Dick Porter <dick@ximian.com>
4609 * String.cs: The icall can cope with embedded \0 now.
4611 2004-06-18 Atsushi Enomoto <atsushi@ximian.com>
4614 - Added new common pattern "yyyy/M/dZ"
4615 - empty string should not be compared in _ParseEnum()
4616 - Use culture independent string comparison in _ParseString()
4617 - Whitespace removal should be checked after '..' token check (some
4618 pattern such like es-ES LongDatePattern contains spaces in '..').
4619 - formats null check should be done (to throw ArgumentNullException)
4621 - When specified one character format, dates are incorrectly regarded
4622 as to use invariant culture.
4624 2004-06-18 Gert Driesen <drieseng@users.sourceforge.net>
4626 * ArgIterator.cs: changed layout to Auto
4627 * DateTime.cs: changed layout to Auto
4629 2004-06-18 Gert Driesen <drieseng@users.sourceforge.net>
4631 * DateTime.cs: CRLF to LF
4633 2004-06-17 Sebastien Pouliot <sebastien@ximian.com>
4635 * Decimal.cs: Fixed regression in System.Data caused by the recent
4636 changes. Adapted (and moved) the code to correct the scale from
4637 SqlMoney. Removed unused (and unusable) IsOne and fixed IsZero (where
4638 scale has no importance).
4640 2004-06-17 Lluis Sanchez Gual <lluis@ximian.com>
4642 * Activator.cs: In CreateInstance(), use Public|Instance if access binding
4643 attributes are omitted.
4645 2004-06-17 Atsushi Enomoto <atsushi@ximian.com>
4647 * DateTime.cs : GetDateTimeFormats(char, IFormatProvider) should also
4648 check if the format character is valid.
4650 2004-06-17 Atsushi Enomoto <atsushi@ximian.com>
4652 * DateTime.cs : AddDays(double) rounds the input.
4654 2004-06-17 Atsushi Enomoto <atsushi@ximian.com>
4656 * DateTime.cs : Incorrect maxvalue comparison in ToUniversalTime().
4657 Fixed ToLocalTime() as well, but it does check range for MinValue.
4659 2004-06-17 Atsushi Enomoto <atsushi@ximian.com>
4661 * DateTime.cs : Added overflow check in ToUniversalTime() and
4662 ToLocalTime(). Fixed bug #60253.
4664 2004-06-16 Sebastien Pouliot <sebastien@ximian.com>
4666 * FloatingPointFormatter.cs: Implemented "R" format using Jon Skeet
4667 source code (with permission). Fix (biggest) part of bug #60110.
4668 http://www.yoda.arachsys.com/csharp/floatingpoint.html
4670 2004-06-15 Sebastien Pouliot <sebastien@ximian.com>
4672 * Decimal.cs: Fixed scale after Round (a different scale is correct
4673 from a math point of view but affect the string representation of the
4674 value). Note: other operations also have scale problems!
4675 * DecimalFormatter.cs: Fixed FormatGeneral to match Fx 1.1 output.
4676 * FloatingPointFormatter.cs: Fixed ToString which doesn't use banker's
4677 rounding (which is the rounding provided by Math.Round). This fix bug
4678 #60111. The code (new Round methods) should be moved elsewhere (as it
4679 may also be required elsewhere) post Mono 1.0.
4681 2004-06-15 Gert Driesen <drieseng@users.sourceforge.net>
4683 * AppDomainSetup.cs: added TODO for serialization
4684 * ExecutionEngineException.cs: added missing serialization ctor
4685 * InvalidProgramException.cs: added missing serialization ctor
4686 * MulticastNotSupportedException.cs: added missing serialization ctor
4687 * ObsoleteAttribute.cs: fixed serialization compatibility with MS.NET
4688 * Random.cs: fixed serialization compatibility with MS.NET
4690 2004-06-15 Paolo Molaro <lupus@ximian.com>
4692 * Type.cs: removed unused (and non-existing) icall type_is_instance.
4694 2004-06-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4696 * Environment.cs: use internalGetHome instead of getting "HOME" as
4697 that variable may not be defined.
4699 2004-06-14 Sebastien Pouliot <sebastien@ximian.com>
4701 * TimeSpan.cs: Fixed timespan with large values for hours or minutes
4702 (overflow is only checked for days but can also occurs in hours and
4703 minutes which uses Int32 when multiplying). The new results match MS
4706 2004-06-14 Atsushi Enomoto <atsushi@ximian.com>
4708 * FloatingPointFormatter.cs : Recognize '%' and '\u2030' and replace
4709 them with matching NumberFormatInfo properties.
4711 2004-06-14 Atsushi Enomoto <atsushi@ximian.com>
4713 * Double.cs : Use IFormatProvider.GetFormat() instead of literal '-'.
4714 * FloatingPointFormatter.cs :
4715 Use NumberFormatInfo.NegativeSign. This change saves many XSLT test
4717 Format Permille pattern (It is undocumented but actually available,
4718 and used in xsl:format-number).
4720 2004-06-14 Raja R Harinath <rharinath@novell.com>
4722 * Console.cs (Console.Write, Console.WriteLine): Disable __arglist
4723 version with BOOTSTRAP_WITH_OLDLIB.
4724 * String.cs (STring.Concat): Likewise.
4726 2004-06-13 Atsushi Enomoto <atsushi@ximian.com>
4728 * FloatingPointFormatter.cs :
4729 - Don't format more than 15 fraction digits. Don't report to Pedro
4730 directly (removing the error message with his concent).
4731 - When format string starts with '.', it means integral part format
4732 is not specified. Ignore '.' characters after the first
4733 appearance. Fixed bug #59890.
4734 - 0.0 is formatted only before the third ';' appearance.
4736 2004-06-11 Sebastien Pouliot <sebastien@ximian.com>
4738 * DateTime.cs: Added a AddRoundedMilliseconds which use the "old Mono"
4739 rounding logic which worked for FromOADate (while the newer didn't).
4740 * TimeSpan.cs: Now throw an OverflowException when the timespan is
4741 over MaxValue or under MinValue.
4743 2004-06-11 Martin Baulig <martin@ximian.com>
4745 * Console.cs (Write, WriteLine): Implemented the varargs versions.
4747 2004-06-11 Martin Baulig <martin@ximian.com>
4749 * String.cs (Concat): Implemented the varargs version.
4751 2004-06-10 Sebastien Pouliot <sebastien@ximian.com>
4753 * Decimal.cs: Hacked the Parse method to allow the runtime C code to
4754 decode it properly (i.e. matching MS results). Fixed the Round method
4755 for negative decimal numbers (moved code from Math.cs).
4756 * Math.cs: Now use Decimal class for Round(Decimal,int). Required to
4757 fix a bug when rounding a negative decimal.
4759 2004-06-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4761 * AppDomain.cs: set the _principal to null when changing the policy.
4762 * Console.cs: remove ClsCompliant attribute from a method marked as
4763 internal and added comment.
4765 2004-06-10 Gert Driesen <drieseng@users.sourceforge.net>
4767 * Delegate.cs: marked protected fields private to match public
4768 API of MS.NET, marked DynamicInvokeImpl and GetMethodImpl
4769 protected to fix public API
4770 * Enum.cs: marked ctor protected to match public API of MS.NET
4771 * MulticastDelegate.cs: marked DynamicInvokeImpl protected to
4772 match public API of MS.NET
4774 2004-06-10 Atsushi Enomoto <atsushi@ximian.com>
4776 * DateTime.cs : Added more common patterns.
4778 2004-06-09 Sebastien Pouliot <sebastien@ximian.com>
4780 * Decimal.cs: Fixed banker rounding by calling Math.Round. This won't
4781 be a performance winner (the actual Math code has a note to wait a
4782 better Decimal implementation) but it returns the correct results
4783 (without adding new code in corlib or the runtime). Fix #37744.
4785 2004-06-09 Atsushi Enomoto <atsushi@ximian.com>
4788 - A bunch of fixes (patch by Steven Brown). Fraction seconds are
4789 now represented as double. Strict token check for 'Z'.
4790 - Pattern validity check in GetDateTimeFormats(char).
4791 - Fixed pattern "yyyy/M/d HH:mm:ss".
4793 2004-06-09 Sebastien Pouliot <sebastien@ximian.com>
4795 * Decimal.cs: Fixed remainder (and optimized some cases not to call
4796 unmanaged code). Simplified divide. Removed workaround for bug #59793.
4797 Fixed GetHashCode to return different result for X and -X.
4799 2004-06-08 Atsushi Enomoto <atsushi@ximian.com>
4802 - Now re-checked all common format patterns. They should be tried
4803 with both current culture and invariant culture. Since '/' covers
4804 '-', removed extraneous patterns. Added more common patterns
4805 such as "yyyy-MM-dd" and X509Certificate pattern (it is valid
4806 only after NET_1_1). Commented out 1 character format patterns.
4807 - The format patterns we should try should not be obtained by
4808 GetAllDateTimePatterns(). Just use 'd', 'D', 't', 'T', ... (one
4809 character patterns), to handle UTC correctly. Examined patterns
4810 are changed, to 1) common patterns with specified (or current)
4811 culture, 2) common patterns with invariant, 3) The above "one
4812 character patterns" with specified (or current) culture.
4813 - When trying to parse some kind of patterns such as RFC1123,
4814 always use invariant DateTimeFormatInfo so that they can avoid
4815 parsing with culture-dependent calendar.
4816 - Check "GMT" only when doing Parse(). Don't it when ParseExact().
4817 - Removed extraneous '-' case. It is not special one.
4818 - When ParseExact(), allow only '/' for '/' pattern character.
4819 - When Parse(), allow any non-letter & non-number characters.
4820 - When pattern is not fully parsed, reject that format.
4821 - Added "exact" parameter to some ParseExact().
4822 - RFC1123 pattern is (again) now parsed in local time. I regressed
4823 some problems in previous fix.
4825 2004-06-08 Sebastien Pouliot <sebastien@ximian.com>
4827 * Decimal.cs: Fixed cast to integer types to truncate (not round) the
4830 2004-06-07 Duncan Mak <duncan@ximian.com>
4832 * Exception.cs (Source): This can return null.
4834 2004-06-07 Sebastien Pouliot <sebastien@ximian.com>
4836 * DateTime.cs: Fixed FromFileTime for negative values. Fixed
4837 constructor to limit range of milliseconds from 0,999. Fixed
4838 ToType method to work for object, string and DateTime.
4840 2004-06-07 Sebastien Pouliot <sebastien@ximian.com>
4842 * DateTime.cs: Fixed OLE Automation date conversions: timezone
4843 insensitive, wrong exception in FromOADate, handling of Min/Max
4844 values, negative doubles where integer part is negative but
4845 decimals are positive! Charming format ;-)
4847 2004-06-06 Sebastien Pouliot <sebastien@ximian.com>
4849 * String.cs: Fixed Join in case separator parameter is null.
4850 * TimeSpan.cs: Cache format errors during parsing and throw
4851 FormatException only if there was no overflow.
4853 2004-06-06 Gert Driesen <drieseng@users.sourceforge.net>
4855 * MonoCustomAttrs.cs: fixed issue where an empty array was
4856 returned when GetCustomAttributes was invoked with null
4857 attribute type and there was only one result
4859 2004-06-06 Sebastien Pouliot <sebastien@ximian.com>
4861 * Decimal.cs: Fixed ToString(String.Empty) to default ("G").
4862 * Int16.cs: Fixed ToString(String.Empty) to default ("G").
4863 * Int32.cs: Fixed ToString(String.Empty) to default ("G").
4864 * Int64.cs: Fixed ToString(String.Empty) to default ("G").
4865 * SByte.cs: Fixed ToString(String.Empty) to default ("G").
4866 * UInt16.cs: Fixed ToString(String.Empty) to default ("G").
4867 * UInt32.cs: Fixed ToString(String.Empty) to default ("G").
4868 * UInt64.cs: Fixed ToString(String.Empty) to default ("G").
4870 2004-06-05 Sebastien Pouliot <sebastien@ximian.com>
4872 * Convert.cs: Fixed the convertion of negative integers (byte, short,
4873 int and long) into string in a specific base (2, 8, 10 or 16).
4875 2004-06-04 Sebastien Pouliot <sebastien@ximian.com>
4877 * Math.cs: Fixed IEEERemainder to return -0 (0x8000000000000000) when
4878 the dividend is negative and the result is 0 (remainder).
4880 2004-06-03 Sebastien Pouliot <sebastien@ximian.com>
4882 * Delegate.cs: Fix the NullReferenceException in Combine(Delegate[]).
4884 2004-06-02 Sebastien Pouliot <sebastien@ximian.com>
4886 * TimeSpan.cs: Fixed overflow issues when delaing with big (days) time
4887 spans. Fixed parsing when only days are presents in the string (which
4888 should be illegal according to the documentation but is supported).
4890 2004-06-01 Sebastien Pouliot <sebastien@ximian.com>
4892 * TimeSpan.cs: Fixed exceptions in FromXXX methods as they are
4893 somewhat different from the documentation.
4895 2004-06-01 Gert Driesen <drieseng@users.sourceforge.net>
4897 * Type.cs: added missing attributes on InvokeMember
4899 2004-06-01 Miguel de Icaza <miguel@ximian.com>
4901 * String.cs: Flag concat with four arguments internal.
4903 2004-05-31 Sebastien Pouliot <sebastien@ximian.com>
4905 * Array.cs: Fixed legal case where value is null.
4906 * Byte.cs: Fixed ToString when format is an empty string (use "G").
4907 * Guid.cs: Renamed private fields (and changed some to signed) to
4908 match MS implementation and allow serialization to work. Fix
4911 2004-05-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4913 * DateTime.cs: adjust milliseconds for fraction specifier ('f').
4915 2004-05-30 Miguel de Icaza <miguel@ximian.com>
4917 * Console.cs: Remove *again* the version of WriteLine with four
4918 arguments; That should *not* be added.
4920 Flag it as internal as people migrate their code.
4922 2004-05-29 Sebastien Pouliot <sebastien@ximian.com>
4924 * Convert.cs: Fixed ToSByte(string,IFormatProvider) to throw
4925 ArgumentNullException (only case, all other returns 0). Fixed exception
4926 reporting for hex prefix only strings. Fixed ChangeTo where null could
4927 be misinterpreted between null and Empty.
4929 2004-05-28 Sebastien Pouliot <sebastien@ximian.com>
4931 * Convert.cs: Fixed integer parsing for special cases (0x, 0X for base
4932 16), non-base 10 negative numbers ... see new unit tests. Fixed the
4933 case when we parse Int64.MinValue (positive doesn't fit a signed long).
4935 2004-05-28 Jackson Harper <jackson@ximian.com>
4937 * Environment.cs: Increment version number.
4939 2004-05-28 Zoltan Varga <vargaz@freemail.hu>
4941 * AppDomain.cs (Load): Try loading from assemblyRef.CodeBase if exists.
4944 2004-05-28 Atsushi Enomoto <atsushi@ximian.com>
4946 * DateTime.cs : I reverted my fix by accident :(
4948 2004-05-28 Atsushi Enomoto <atsushi@ximian.com>
4951 - In ToString(), Don't use culture-dependent daynames to format
4952 Universal/RFC1123 date/time. Also, use FullDateTimePattern for 'U'.
4953 - Fixed GetDateTimeFormats () that generated incorrect 'U' value
4954 (since the format string is the same as 'F').
4956 2004-05-28 Atsushi Enomoto <atsushi@ximian.com>
4958 * DateTime.cs : don't adjust utc value in ToString(). It must output
4959 the same time value, just adding 'Z' for UTC.
4961 2004-05-28 Atsushi Enomoto <atsushi@ximian.com>
4963 * DateTime.cs : in 'Z' case, remove the 'Z' char from input before
4966 2004-05-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4968 * AppDomainSetup.cs: InitAppDomainSetup is not needed now.
4970 2004-05-27 Sebastien Pouliot <sebastien@ximian.com>
4972 * Byte.cs: Fixed parsing for "-0" which is valid for unsigned types.
4973 * Convert.cs: Convert with a base parameter cannot parse negative
4974 string numbers, even "-0".
4975 * UInt16.cs: Fixed parsing for "-0" which is valid for unsigned types.
4976 * UInt32.cs: Fixed parsing for "-0" which is valid for unsigned types.
4977 * UInt64.cs: Fixed parsing for "-0" which is valid for unsigned types.
4979 2004-05-27 Atsushi Enomoto <atsushi@ximian.com>
4982 - Added "yyyy/MM/dd HH:mm:ss 'GMT'" and "yyyy-MM-dd HH:mm:ss 'GMT'"
4983 to common formats (yes, I know it is nothing more than hack)
4984 - Fixed some GetDateTimeFormats() that just returned patterns.
4985 - For InvariantCulture, now try both supported formats and our
4987 - It was accepting incorrectly extraneous characters. That caused
4988 some UTC/non-UTC bug.
4989 - RFC1123 string should return universal time. Uncomment again (the
4990 problem should went away because of the extra characters fix above.
4992 With some of the changes above, fixed bug #47720.
4994 2004-05-27 Atsushi Enomoto <atsushi@ximian.com>
4996 * DateTime.cs : quick revert 'Z' support for certificate verifications.
4998 2004-05-26 Sebastien Pouliot <sebastien@ximian.com>
5000 * Array.cs: Removed duplicate condition if LastIndexOf.
5002 2004-05-26 Atsushi Enomoto <atsushi@ximian.com>
5005 - Added "yyyy-MM-dd HH:mm:ss" to "compatible patterns".
5007 - As a quick remedy to accept more patterns, Parse() now also tries
5008 InvariantInfo patterns (this is because we have no more than one
5009 pattern for each pattern component.)
5010 - In _DoParse(), 'Z' should not be read as timezone specifier. Some
5011 culture uses 'Z' as AM/PM designer, and it should be recognized as
5012 part of the UTCpattern (if it actually UTC pattern for the culture
5015 2004-05-26 Gert Driesen (drieseng@users.sourceforge.net)
5017 * MonoCustomAttrs.cs: Fixed issue with AllowMultiple, as MS
5018 seems to allow multiple attributes with AllowMultiple at
5021 2004-05-26 Sebastien Pouliot <sebastien@ximian.com>
5023 * Byte.cs: Throw an OverflowException for negative numbers.
5024 * Convert.cs: Accept 0x and 0X as prefix when parsing base16 strings.
5025 * Environment.cs: Bumped mono_corlib_version to 20 (rng interface).
5027 2004-05-25 Sebastien Pouliot <sebastien@ximian.com>
5029 * Array.cs: Fixed possible integer overflow.
5030 * BitConverter.cs: Fixed a possible integer overflow in ToString.
5031 * Guid.cs: Added an internal method to create a random Guid without
5032 using CryptoConfig (which is heavy on first use). This is only used
5033 in S.R.E.ModuleBuilder to speedup MCS compilation.
5034 * String.cs: Fixed reported exception for PadLeft|Right. Fixed
5035 possible integer overflow in methods that takes index and count
5038 2004-05-25 Zoltan Varga <vargaz@freemail.hu>
5040 * String.cs: Add new Strcpy icalls which take a char array as
5043 2004-05-25 Atsushi Enomoto <atsushi@ximian.com>
5045 * DateTime.cs : added more invariant format patterns. This should
5046 really fix bug #57656.
5048 2004-05-25 14:14 CET Patrik Torstensson <totte@hiddenpeaks.com>
5050 * BitConverter.cs (ToBoolean): Return true or false instead
5051 of unsafe returing byte as bool. Fixes bug #58874.
5053 2004-05-25 Atsushi Enomoto <atsushi@ximian.com>
5055 * DateTime.cs : In ToString(string, IFormatProvider), use "G" if
5056 string format argument is null.
5058 2004-05-25 Lluis Sanchez Gual <lluis@ximian.com>
5060 * Version.cs: Rename of data fields to match those in Microsoft.NET.
5061 Patch by PAF@design.ru.
5063 2004-05-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5065 * DateTime.cs: allow double quotes in the formats. Don't set
5066 next_not_digit to true in presence of single or double quotes. Patch by
5069 2004-05-24 Zoltan Varga <vargaz@freemail.hu>
5071 * AppDomainSetup.cs (InitAppDomainSetup): This one returns void.
5073 2004-05-23 Sebastien Pouliot <sebastien@ximian.com>
5075 * Array.cs: Fixed exception when we try to Clear outside bounds.
5076 * Boolean.cs: Fixed Equals for True!=True (see bugzilla #58874).
5077 * BitConverter.cs: Fixed negative index and integer overflow in
5079 * Buffer.cs: Fixed integer overflow in BlockCopy.
5081 2004-05-22 Sebastien Pouliot <sebastien@ximian.com>
5083 * Array.cs: Clear can now work on multidimentional arrays.
5084 * IntPtr.cs: We now only accept 32bits values in the long constructor
5085 unless we're on a 64 bits machine.
5086 * UIntPtr.cs: We now only accept 32bits unsigned values in the ulong
5087 constructor unless we're on a 64 bits machine.
5089 2004-05-22 Duncan Mak <duncan@ximian.com>
5091 * Convert.cs: The file was mostly in DOS endings already, for the
5092 sake of consistency, converted it all to DOS endings.
5093 (ToType): When value is null, immediately return null and don't
5094 ever throw a NullReferenceException. When conversionType is null,
5095 throw an InvalidCastException. Give a better error message when
5096 attempting to convert to a DBNull as well.
5098 2004-05-21 Sebastien Pouliot <sebastien@ximian.com>
5100 * Decimal.cs: Fixed To... methods that needs to trunk the integer part
5101 of Decimal (and not use the banker's rounding like Convert.To...).
5102 * Single.cs: Fixed CompareTo and Equals (copied fix from Double) wrt
5103 to NaN compares (see new unit tests).
5105 2004-05-20 Sebastien Pouliot <sebastien@ximian.com>
5107 * Convert.cs: Added checks for integer overflow for From|ToBase64Char.
5108 Also fixed the case where wide (16 bits) characters were converted to
5111 2004-05-19 Gert Driesen (drieseng@users.sourceforge.net)
5113 * ThreadStaticAttribute.cs
5114 * ContextStaticAttribute.cs
5116 * ObsoleteAttribute.cs : now that Inherited is false by
5117 default on AttributeUsageAttribute (as it should be) we
5118 need to explicitly set Inherited to false for those
5119 attributes should it be be false.
5121 2004-05-19 Gert Driesen (drieseng@users.sourceforge.net)
5123 * AttributeUsageAttribute.cs: Inherited property should be
5124 true by defaultrs.cs: respect Inherited property, and
5126 2004-05-19 Gert Driesen (drieseng@users.sourceforge.net)
5128 * MonoCustomAttrs.cs: respect Inherited property, and
5129 AllowMultiple property of a CustomAttribute. This fixes
5130 a major issue we had with respect to custom attributes.
5132 2004-05-19 Gert Driesen (drieseng@users.sourceforge.net)
5134 * MonoType.cs: throw ArgumentNullException when type parameter in
5135 GetCustomAttributes(Type, bool) is null
5137 2004-05-18 Sebastien Pouliot <sebastien@ximian.com>
5139 * Buffer.cs: Added checks for null source and destination. Fix failing
5140 CryptoStream unit test.
5141 * Guid.cs: Fixed thread-safety issue. Simplified implementation to use
5142 pseudo-random numbers to generate GUIDs (as per section 3.4 of the
5143 spec). This removes the TODO to get the computer MAC address and
5144 the chances to get a duplicate GUID (across different machines).
5146 2004-05-17 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
5148 * TimeSpan.cs: Only catch expected exceptions, if we get other exceptions
5149 than OverflowExceptions then something went wrong internally
5151 2004-05-17 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
5153 * Char.cs: Fix long standing bug with ToLower/ToUpper not being
5156 2004-05-14 Zoltan Varga <vargaz@freemail.hu>
5158 * Buffer.cs: Optimize BlockCopy.
5160 * Environment.cs: Bump corlib version.
5162 2004-05-14 Atsushi Enomoto <atsushi@ximian.com>
5164 * __ComObject.cs : This class is not regarded as CLSCompliant by csc.
5165 See also bug #58478.
5167 2004-05-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5169 * AppDomainSetup.cs: don't throw an exception if dynamic_base has not
5170 been set. Just return null as MS. Fixes bug #58120.
5172 2004-05-14 Marek Safar <marek.safar@seznam.cz>
5174 * Boolean.cs, Byte.cs, Char.cs, DBNull.cs, DateTime.cs,
5175 Decimal.cs, Double.cs, Enum.cs, Int16.cs, Int32.cs,
5176 Int64.cs, IntegerFormatter.cs, SByte.cs, Single.cs,
5177 String.cs, UInt16.cs, UInt32.cs, UInt64.cs: Removed
5178 useless [CLSCompliant (false)]
5181 2004-05-13 Sebastien Pouliot <sebastien@ximian.com>
5183 * __ComObject.cs: To please corcompare (no implementation).
5185 2004-05-13 Zoltan Varga <vargaz@freemail.hu>
5187 * Environment.cs: Bump corlib version.
5189 2004-05-13 Sebastien Pouliot <sebastien@ximian.com>
5191 * Environement.cs: Removed two security attributes for CurrentDirectory
5192 that weren't documented (and anyway we don't support them).
5194 2004-05-11 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
5196 * Char.cs: Fix exceptions
5198 2004-05-11 Lluis Sanchez Gual <lluis@ximian.com>
5200 * MissingMemberException.cs: Fix in serialization constructor.
5202 2004-05-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5204 * Environment.cs: GetGacPath return value is resolved at runtime on
5207 2004-05-07 Sebastien Pouliot <sebastien@ximian.com>
5209 * Convert.cs: ToBase64CharArray method was depending on a bug in
5210 S.S.C.ToBase64Transform class to work. Added an internal method to
5211 provide the same functionality (multiple block processing).
5213 2004-05-06 Jackson Harper <jackson@ximian.com>
5215 * Environment.cs: Make $HOME the personal directory.
5217 2004-05-06 Sebastien Pouliot <sebastien@ximian.com>
5219 * Convert.cs: ToBase64String method was depending on a bug in
5220 S.S.C.ToBase64Transform class to work. Added an internal method to
5221 provide the same functionality (multiple block processing).
5223 2004-05-05 Sebastien Pouliot <sebastien@ximian.com>
5225 * Environment.cs: Completed OSVersion property.
5226 * Version.cs: Added internal CreateFromString() to "try" to build the
5227 best version number form the specified string.
5229 2004-05-01 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
5231 * TimeSpan.cs: Redid a lot of stuff in TimeSpan from scratch.
5232 Fixes several potential bugs and makes things way faster.
5234 2004-05-01 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
5236 * TimeSpan.cs: Formatting changes
5238 2004-04-29 Ben Maurer <bmaurer@users.sourceforge.net>
5240 * Activator.cs: change _flags to a const.
5241 * IntegerFormatter.cs: make tables readonly.
5242 * Convert.cs: tables readonly
5243 * DateTime.cs: ditto.
5244 * IntPtr.cs: avoid a cctor.
5246 2004-04-29 Jackson Harper <jackson@ximian.com>
5249 * Type.cs: NET_2_0 now instead of 1_2.
5251 2004-04-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5253 * Environment.cs: implemented GetLogicalDrives.
5255 2004-04-28 Miguel de Icaza <miguel@ximian.com>
5257 * Applied patch from Atsushi Enomoto that allows Synchronized
5258 writers to have a `dont close' flag, this fixes 52094
5260 2004-04-29 Lluis Sanchez Gual <lluis@ximian.com>
5262 * MonoCustomAttrs.cs, MonoType.cs: Property.GetGetMethod() does not
5263 return the method if it is private (it did until now because of a
5264 bug). Make sure it works as it worked before the fix.
5265 * Type.cs: Implemented FilterAttribute delegate.
5267 2004-04-28 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
5269 * IntegerFormatter.cs: Prevent the use of the explicit static constuctor
5271 2004-04-27 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
5273 * IntegerFormatter.cs: Made functions internal (needed by other patches)
5275 2004-04-27 Lluis Sanchez Gual <lluis@ximian.com>
5277 * DateTime.cs: TODO cleaning.
5278 * Delegate.cs: GetObjectData should be virtual.
5279 * IntegerFormatter.cs: Method factorization. I don't want to fix bugs in
5280 30 methods almost identical.
5281 * MulticastDelegate.cs: Implemented GetObjectData.
5283 2004-04-26 Jackson Harper <jackson@ximian.com>
5285 * Environment.cs: Things going bump in the night.
5287 2004-04-25 Miguel de Icaza <miguel@ximian.com>
5289 * Convert.cs (toBase64Transform): Make private.
5291 2004-04-25 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
5295 * DecimalFormatter.cs:
5296 * FloatingPointFormatter.cs: Call invariant Char functions
5297 * Guid.cs: Call invariant Char and String functions
5298 * String.cs: Call invariant Char functions
5300 2004-04-25 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
5302 * String.cs: Refactored the Invariant ToXXX into its own internal methods
5303 so they are directly callable within corlib (can prevent early
5304 construction of CultureInfo, InvariantCulture and related classes)
5306 2004-04-24 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
5308 * String.cs: Managed impl. of Invariant parts of ToLower, ToUpper
5309 * Char.cs: Managed impl. of Invariant parts of ToLower, ToUpper
5311 2004-04-24 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
5313 * String.cs: Check for null values
5315 2004-04-23 Peter Bartok <pbartok@novell.com>
5317 * Environment.cs: GetLogicalDrives now returns "/" instead of null. Gonzalo
5318 will do a better fix in the future, but this way apps can at least use it.
5320 2004-04-23 Sebastien Pouliot <sebastien@ximian.com>
5322 * Environment.cs: Better support for GetFolderPath (same results as MS
5325 2004-04-22 Lluis Sanchez Gual <lluis@ximian.com>
5327 * Activator.cs: Removed TODOs for finished methods.
5328 * AppDomainSetup.cs: When setting a relative path to ApplicationBase, it
5329 must be relative to the current directory, not the temp directory.
5330 Implemented DynamicBase.
5331 * Convert.cs: No need to create a ToBase64Transform instance at every call
5332 to ToBase64CharArray.
5333 * DateTime.cs: Implemented missing methods FromFileTimeUtc and
5335 * Decimal.cs: Implemented FromOACurrency and ToOACurrency.
5336 * Delegate.cs: Removed class TODO.
5337 * IntegerFormatter.cs: Use Char.IsLetter and Char.IsDigit instead of ad-hoc
5339 * Type.cs: Removed TODOs for things already implemented.
5341 2004-04-21 Lluis Sanchez Gual <lluis@ximian.com>
5343 * Char.cs: Implemented culture-dependent ToLower and ToUpper methods.
5344 * MulticastDelegate.cs: Removed unused code.
5346 2004-04-19 Lluis Sanchez Gual <lluis@ximian.com>
5348 * AppDomain.cs: Implemented DynamicDirectory and SetDynamicBase.
5349 * Array.cs: Removed some TODOs in CreateInstance and IndexOf.
5350 * BadImageFormatException.cs: TODO reformat.
5351 * DateTime.cs: Implemented GetDateTimeFormats and GetDateTimeFormats.
5352 * DelegateSerializationHolder.cs: Made class internal.
5353 * Enum.cs: Removed TODO for localization, since this is something that has
5354 to be done for all classes.
5355 * Environment.cs: Removed TODO.
5356 * Exception.cs: Changed ToString to use StringBuilder.
5357 * MonoDummy.cs: Made class internal.
5358 * UnitySerializationHolder.cs: Added support for modules.
5360 2004-04-16 David Sheldon <dave-mono@earth.li>
5362 * DecimalFormatter.cs: Don't append a decimal point after the
5363 end of a number. ((decimal)1).ToString("P0") should be "100 %", not
5366 2004-04-09 Miguel de Icaza <miguel@ximian.com>
5368 * OutOfMemoryException.cs: Removed the call to Locale.GetText from
5371 2004-04-10 Gert Driesen (drieseng@users.sourceforge.net)
5373 * MonoDummy.cs: added MonoTODO to make sure we remove this class
5374 when its no longer needed
5376 2004-04-09 David Sheldon <dave-mono@earth.li>
5378 * Convert.cs: Allow + signs in strings for ToInt32, and
5381 2004-04-08 Atsushi Enomoto <atsushi@ximian.com>
5383 * Nullable.cs : usingdecl should also be conditional.
5385 2004-04-07 Martin Baulig <martin@ximian.com>
5387 * Nullable.cs: New file.
5389 2004-04-07 Martin Baulig <martin@ximian.com>
5391 * Type.cs (Type.GetGenericArguments): Make this abstract.
5393 2004-04-07 Jackson Harper <jackson@ximian.com>
5395 * Environment.cs: Increase corlib version number.
5397 2004-04-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5400 (ExpandEnvironmentVariables): on windows, env. vars. are case
5403 2004-04-06 Sebastien Pouliot <sebastien@ximian.com>
5405 * AppDomain.cs: Added static to [ThreadStatic] _principal field.
5406 Removed [ThreadStatic] for _principalPolicy (not required).
5408 2004-04-06 Miguel de Icaza <miguel@ximian.com>
5410 * Guid.cs: Flag as Sequential.
5412 2004-04-02 Dick Porter <dick@ximian.com>
5414 * String.cs: More sanity checks in Replace(). Fixes bug 55822.
5416 2004-04-02 Sebastien Pouliot <sebastien@ximian.com>
5418 * Environment.cs: Implement ExpandEnvironmentVariables static method.
5419 Now call the runtime to get the username (fix #56144).
5421 2004-04-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5423 * MonoType.cs: AssemblyQualifiedName now displays culture, version...
5426 2004-03-29 Miguel de Icaza <miguel@ximian.com>
5428 * Console.cs: If we fail to open stdin/stdout/stderr, create
5429 readers with a NullStream. This can happen if our caller does not
5430 setup stdin/stoud/stderr file handles. #56158 exposed this, but
5431 it will happen elsewhere.
5433 2004-03-29 Lluis Sanchez Gual <lluis@ximian.com>
5435 * Convert.cs: In ToSingle(double), removed checks for Single.MaxValue
5436 and Single.MinValue. MS.NET don't do it. This fixes bug #56005.
5437 * Guid.cs: Added support for guid strings in the "N" and "P" formats in
5438 the constructor. This fixes bug #54019.
5440 2004-03-23 Lluis Sanchez Gual <lluis@ximian.com>
5442 * FloatingPointFormatter.cs: Made the class thread safe. Had to move some
5443 internal variables to structures that are moved around methods.
5444 Factorized some common formatting code into FormatNumberInternal.
5446 2004-03-23 Dick Porter <dick@ximian.com>
5448 * DateTime.cs: Allow any character for DateSeparator when parsing,
5449 except TimeSeparator, a digit or a letter. Fixes bug 54047. Also
5450 deleted the previous fix for 54721, because this covers it too.
5452 2004-03-23 Dick Porter <dick@ximian.com>
5454 * DateTime.cs: Check the date string for too many digits when
5455 parsing. Fixes bugs 53023 and 53025.
5457 2004-03-22 Dick Porter <dick@ximian.com>
5459 * String.cs: Use the provider when converting strings to other
5462 * DateTime.cs: Add MM-dd-yyyy to the list of standard date parsing
5463 formats. Fixes bug 54721.
5465 2004-03-22 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
5467 * Console.cs: Styled, optimized calls
5468 * CrossAppDomainDelegate.cs: Small header fix
5469 * Buffer.cs: Style, improve errors
5470 * BitConverter.cs: Style, improve errors, remove obsolete comment
5471 * Attribute.cs: Style, improve errors, small fix
5472 * Array.cs: Style, improve errors, small fix, added TODOs
5473 * Activator.cs: Style, localized errors, added error checks
5474 * Byte.cs: Style, localized errors, fixed wrong exception parameters
5477 * AppDomainSetup.cs: Style
5478 * AppDomain.cs: Style, implemented two methods (redirect)
5480 2004-03-21 Jackson Harper <jackson@ximian.com>
5482 * FloatingPointFormatter.cs: Set precision from number format info
5483 when it is not specified. This fixes bug #54983.
5485 2004-03-18 Nick Drochak <ndrochak@ieee.org>
5487 * Math.cs: Use IsNaN() method not "x == NaN".
5489 2004-03-16 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
5491 * EntryPointNotFoundException.cs
5492 * DuplicateWaitObjectException.cs
5493 * DllNotFoundException.cs
5494 * DivideByZeroException.cs
5495 * ContextMarshalException.cs
5496 * CannotUnloadAppDomainException.cs
5497 * BadImageFormatException.cs
5498 * ArrayTypeMismatchException.cs
5499 * ArithmeticException.cs
5500 * ArgumentOutOfRangeException.cs
5501 * ArgumentNullException.cs
5502 * ArgumentException.cs
5503 * ApplicationException.cs
5504 * AppDomainUnloadedException.cs: Added missing HResult overrides
5506 * BadImageFormatException.cs: Improved/ Fixed implementation
5508 2004-03-15 Sebastien Pouliot <sebastien@ximian.com>
5510 * Random.cs: Corrected random value when Next is called with a
5511 negative value. Testing indictae that our results aren't exactly the
5512 same as MS, we have a +/- 1 (probably rounding errors due to
5513 different implementation).
5515 2004-03-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5517 * Environment.cs: updated corlib version.
5519 2004-03-15 Lluis Sanchez Gual <lluis@ximian.com>
5521 * Boolean.cs, Byte.cs, Char.cs, Double.cs, Int16.cs, Int32.cs, Int64.cs,
5522 SByte.cs, Single.cs, UInt16.cs, UInt32.cs, UInt64.cs: Renamed internal
5523 field "value" to "m_value", so it is interoperable with MS.NET when
5524 serializing and deserializing data. Based on the patch from Daniel
5527 2004-03-14 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
5529 * TypeInitializationException.cs
5530 * SystemException.cs
5531 * StackOverflowException.cs
5533 * OverflowExceptionException.cs
5534 * OutOfMemoryException.cs
5535 * NullReferenceException.cs
5536 * NotSupportedException.cs
5537 * NotFiniteNumberException.cs
5538 * InvalidOperationException.cs
5539 * InvalidCastException.cs
5540 * IndexOutOfRangeException.cs
5541 * FormatException.cs
5542 * ExecutionEngineException.cs: improved parameter names
5544 2004-03-13 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
5547 * EntryPointNotFoundException.cs
5548 * DuplicateWaitObjectException.cs
5549 * DoubleFormatter.cs
5550 * DllNotFoundException.cs
5551 * DivideByZeroException.cs
5552 * DelegateSerializationHolder.cs
5555 * ContextStaticAttribute.cs
5556 * ContextMarshalException.cs
5557 * ContextBoundObject.cs
5558 * CLSCompliantAttribute.cs
5560 * CannotUnloadAppDomainException.cs
5561 * BadImageFormatException.cs
5562 * AttributeUsageAttribute.cs
5563 * AttributeTargets.cs
5565 * AssemblyLoadEventHandler.cs
5566 * AssemblyLoadEventArgs.cs
5567 * ArrayTypeMismatchException.cs
5568 * ArithmeticException.cs
5569 * ArgumentOutOfRangeException.cs
5570 * ArgumentNullException.cs
5571 * ArgumentException.cs
5573 * ApplicationException.cs
5574 * AppDomainUnloadedException.cs
5575 * AppDomain.cs: Mono styled, fixed exceptions/ locales
5576 removed excess usings
5578 2004-03-10 Sebastien Pouliot <sebastien@ximian.com>
5580 * Convert.cs: FromBase64 now ignore some characters (tab, LF, CR and
5581 spaces) which fixed #54939. Changed the way that the length is
5582 validated (multiple of 4) because the ignored characters must not be
5583 included in the count.
5585 2004-03-10 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
5587 * String.cs: Monostyled
5589 2004-03-09 Jackson Harper <jackson@ximian.com>
5591 * Char.cs: Only use a byte for numeric data.
5593 2004-03-09 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
5595 * TypedReference.cs: Added missing Attributes
5596 * ParamArrayAttribute.cs: Small style fix
5597 * OperatingSystem.cs: Added .Net 1.1 member
5599 2004-03-09 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
5601 * FieldAccessException.cs
5602 * FormatException.cs
5603 * InvalidCastException.cs
5604 * InvalidOperationException.cs
5605 * MemberAccessException.cs
5606 * MethodAccessException.cs
5607 * MissingFieldException.cs: Locale strings
5608 * MissingMemberException.cs: Locale strings
5609 * MissingMethodException.cs: Locale strings
5610 * NotFiniteNumberException.cs
5611 * NotImplementedException.cs
5612 * NotSupportedException.cs
5613 * NullReferenceException.cs
5614 * ObjectDisposedException.cs
5615 * OutOfMemoryException.cs
5616 * OverflowExceptionException.cs
5617 * PlatformNotSupportedException.cs
5618 * RankException.cs: Added missing HResult overrides
5620 2004-03-09 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
5622 * RuntimeTypeHandle.cs
5623 * RuntimeMethodHandle.cs
5624 * RuntimeFieldHandle.cs: Implemented serialization (partially untested)
5626 2004-03-09 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
5630 * ExecutionEngineException.cs
5631 * FieldAccessException.cs
5632 * FormatException.cs
5635 * IndexOutOfRangeException.cs
5637 * InvalidCastException.cs
5638 * InvalidOperationException.cs
5639 * InvalidProgramException.cs
5640 * IServiceProvider.cs
5641 * LoaderOptimization.cs
5642 * LoaderOptimizationAttribute.cs
5643 * MarshalByRefObject.cs
5645 * MemberAccessException.cs
5646 * MethodAccessException.cs
5647 * MissingFieldException.cs
5648 * MissingMemberException.cs
5649 * MissingMethodException.cs
5650 * MultiCastDelegate.cs
5651 * MulticastNotSupportedException.cs
5652 * NonSerializedAttribute.cs
5653 * NotFiniteNumberException.cs
5654 * NotImplementedException.cs
5655 * NotSupportedException.cs
5656 * NullReferenceException.cs
5657 * ObjectDisposedException.cs
5658 * ObsoleteAttribute.cs
5659 * OperatingSystem.cs
5660 * OutOfMemoryException.cs
5661 * OverflowExceptionException.cs
5663 * PlatformNotSupportedException.cs
5666 * ResolveEventArgs.cs
5667 * ResolveEventHandler.cs
5668 * RuntimeFieldHandle.cs
5669 * RuntimeMethodHandle.cs
5670 * RuntimeTypeHandle.cs: Mono styled, fixed exceptions/ locales
5671 removed excess usings
5673 2004-03-08 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
5675 * SystemException.cs: Exceptions set the HResult
5676 * TypeLoadException.cs: Exceptions set the HResult, fixed wrong exception usage
5677 * SByte.cs: Implemented two missing methods, fix wrong parameters for ArgumentNullException
5679 2004-03-08 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
5682 * TypeLoadException.cs
5683 * TypeInitializationException.cs
5686 * ThreadStaticAttribute.cs
5687 * SystemException.cs
5688 * STAThreadAttribute.cs
5689 * StackOverflowException.cs
5690 * SingleFormatter.cs
5692 * SerializableAttribute.cs: Mono styled, fixed exceptions/ locales
5693 removed excess usings
5695 2004-03-08 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
5697 * UnauthorizedAccessException.cs: Exceptions set the HResult
5698 * UInt64.cs: Implemented two missing methods
5699 * UInt32.cs: Fix wrong parameters for ArgumentNullException, simpler convert
5700 * UInt16.cs: Fix wrong parameters for ArgumentNullException, simpler convert
5702 2004-03-08 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
5708 * UnitySerializationHolder.cs
5709 * UnhandledExceptionEventHandler.cs
5710 * UnauthorizedAccessException.cs
5714 * UInt16.cs: Mono styled, Locale.GetText fixes, msg fixes
5716 2004-03-04 Lluis Sanchez Gual <lluis@ximian.com>
5718 * Environment.cs: Bump corlib version.
5720 2004-03-04 Jackson Harper <jackson@ximian.com>
5722 * Char.cs: New managed implementation. Modified patch by Andreas Nahr.
5724 2004-02-27 Lluis Sanchez Gual <lluis@ximian.com>
5726 * String.cs: Concat() fixed crash when one of the arguments is an object
5727 whose ToString() method returns null.
5728 * TypeLoadException.cs: Added some serialization fiels, needed for
5729 compatibility with MS.NET.
5731 2004-02-23 Ben Maurer <bmaurer@users.sourceforge.net>
5733 * String.cs (Equals): Speed up this method by avoiding Array
5734 Bounds Checks and by comparing by 32 bit words rather than 16 bit chars.
5736 This gives between 0x (for 1 char) and >2x (for large strings)
5737 factor of improvement.
5739 A big thanks to Miguel, who suggested the integer compares.
5741 2004-02-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5743 * MonoType.cs: use the binder in GetPropertyImpl.
5745 2004-02-22 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
5747 * Math.cs: MonoStyled, replaced space with tabs,
5748 speedup of some methods by avoiding method calls
5750 2004-02-18 Atsushi Enomoto <atsushi@ximian.com>
5752 * Char.cs : optimized IsSeparator(), IsWhiteSpace() and IsDigit().
5753 (Moved from InternalCall to Managed code).
5755 2004-02-17 Martin Baulig <martin@ximian.com>
5757 * MonoType.cs (GetConstructors): Renamed the interncall to
5758 GetConstructors_internal(), made it internal and added a `Type
5759 reflected_type' argument to it.
5760 (GetEvents, GetFields): Likewise.
5761 (GetMethodsByName): Added `Type reflected_type' argument.
5762 (GetPropertiesByName): Likewise.
5764 2004-02-16 Jackson Harper <jackson@ximian.com>
5766 * FloatingPointFormater.cs: Allow precision to be up to the number
5767 of decimals without rounding.
5769 2004-02-14 Zoltan Varga <vargaz@freemail.hu>
5771 * Delegate.cs (Equals): Do not compare method_ptr, since it might
5772 point to a trampoline.
5774 2004-02-12 Jackson Harper <jackson@ximian.com>
5776 * AppDomainSetup.cs: If relative paths are used they should be
5777 rooted in the temp directory.
5779 2004-02-11 Marek Safar <marek.safar@seznam.cz>
5781 * Type.cs (FilterNameIgnoreCase_impl): Added extra check for speedup.
5783 2004-02-10 Zoltan Varga <vargaz@freemail.hu>
5785 * AppDomain.cs (Load): Check that assemblyRef.Name is not empty, to
5786 avoid an assert in the runtime.
5788 2004-02-08 Duncan Mak <duncan@ximian.com>
5790 * Convert.cs (ToType): Always let a Convert.ChangeType call
5791 succeed if the source object is already of the destination type.
5793 Patch by Ian MacLean (ianm@activestate.com).
5795 2004-02-05 Sebastien Pouliot <sebastien@ximian.com>
5797 * AppDomain.cs: Implemented SetPrincipalPolicy and SetThreadPrincipal.
5799 2004-02-02 Zoltan Varga <vargaz@freemail.hu>
5801 * Environment.cs: Bump corlib version.
5803 2004-02-02 Sebastien Pouliot <sebastien@ximian.ca>
5805 * DateTime.cs: Corrected support for "Z" in the mask (Parse). This
5808 2004-01-27 Sebastien Pouliot <spouliot@videotron.ca>
5810 * Exception.cs: Changed ToString to remove the \n when no stack trace
5811 is present (which fixed a unit test for SecurityException). Changed
5812 all \n to Environment.NewLine.
5814 2004-01-27 Lluis Sanchez Gual <lluis@ximian.com>
5816 * ContextBoundObject.cs: Removed TODO.
5818 2004-01-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5820 * TimeSpan.cs: fixed bug #52075. Days (int) don't rely on TotalDays
5821 (double), which might round up.
5823 2004-01-19 Jackson Harper <jackson@ximian.com>
5825 * FloatingPointFormatter.cs: Use the default decimal digits count
5826 if they are not specified. This fixes bug #52927.
5828 2004-01-19 Zoltan Varga <vargaz@freemail.hu>
5830 * Environment.cs: Bump version number.
5832 2004-01-19 Lluis Sanchez Gual <lluis@ximian.com>
5834 * Type.cs: Added internal call for IsInstanceOfType. The old implementation
5835 uses IsAssignableFrom(o.GetType()), which is not always valid for
5836 transparent proxies (because GetType will not return the type of the remote
5837 object if its assembly is not present).
5839 2004-01-18 David Sheldon <dave-mono@earth.li>
5841 * FloatingPointFormatter.cs: Skip the decimal point if we have an
5842 integer mantassa. So: 1E+15, rather than 1.E+15.
5844 2004-01-18 David Sheldon <dave-mono@earth.li>
5846 * Array.cs (GetValue/SetValue): Throw NullRef exception like .NET 1.1,
5847 even though docs say it should be an ArgumentNull. Two test cases now
5848 pass. See also nickd's commit of 2003-12-24.
5850 2004-01-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5852 * Environment.cs: increased corlib version.
5854 2004-01-14 Lluis Sanchez Gual <lluis@ximian.com>
5856 * MonoCustomAttrs.cs: Removed attribute cache. Attribute instances can't
5857 be reused because they could be modified. This fixes bug #52655.
5859 2004-01-12 Patrik Torstensson
5861 * Environment.cs: Bump corlib version number due to new StringBuilder
5863 * String.cs: New internal method to support the new StringBuilder that
5864 uses the string as a buffer (until ToString is called)
5866 2004-01-12 Zoltan Varga <vargaz@freemail.hu>
5868 * Environment.cs: Bump corlib version number for real this time.
5870 * AppDomain.cs (LoadAssembly): Pass the assembly name as a string to
5871 the runtime, so it can take into account the Culture etc.
5873 * Environment.cs: Bump corlib version number.
5875 2004-01-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5877 * MonoType.cs: GetMethods renamed to GetMethodsByName. It takes a
5878 new parameter with the method name and a boolean for ignoring case.
5879 Removed some string comparisons no longer needed.
5881 2004-01-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5883 * MonoType.cs: GetProperties renamed to GetPropetiesByName. It takes a
5884 new parameter with the property name and a boolean for ignoring case.
5887 2004-01-11 David Sheldon <dave-mono@earth.li>
5889 * DateTime.cs: Correct processing of formats with multiple '-'s, fixing
5892 2004-01-10 Zoltan Varga <vargaz@freemail.hu>
5894 * AppDomain.cs: Keep track of type resolve and assembly resolve
5895 events in progress to prevent infinite recursion.
5897 2004-01-06 Miguel de Icaza <miguel@ximian.com>
5899 * Console.cs: Test for UTF-8 being present anywhere on the
5900 string, also do ToUpper instead of ToLower, which will work even
5901 around the ICU bug with different locales (#52065), and addresses #52101
5903 2004-01-05 Zoltan Varga <vargaz@freemail.hu>
5905 * Environment.cs: Bump version.
5907 2003-12-24 Ben Maurer <bmaurer@users.sourceforge.net>
5909 * Type.cs (IsNotPublic): One would normally assume that
5910 IsNotPublic == !IsPublic, but this is not the case (note to MS,
5911 make better names ;-). Fixes #52547, `Type.IsNotPublic not
5912 correct for Nested types'
5914 2003-12-24 Nick Drochak <ndrochak@ieee.org>
5916 * Array.cs (CreateInstance): Throw NullRef exception like .NET 1.1,
5917 even though docs say it should be an ArgumentNull. Sent email to MS
5920 2003-12-23 Lluis Sanchez Gual <lluis@ximian.com>
5922 * Exception.cs: Several changes to make it compatible with MS.NET (needed
5923 for remoting interoperability): set a default value for hresult, added
5924 initialization of class_name, serialization field RemoteStackTrace must
5925 be RemoteStackTraceString, added ser. field ExceptionMethod.
5927 * IndexOutOfRangeException.cs: Added serialization constructor.
5929 2003-12-22 Bernie Solomon <bernard@ugsolutions.com>
5932 Int64 (Parse): Fix overflow checking for AllowHexSpecifier
5934 2003-12-20 Zoltan Varga <vargaz@freemail.hu>
5936 * MonoType.cs (GetMethodImpl): Only call FindMostDerivedMatch if the
5937 user supplied no parameter info, but not when the user supplied an
5938 empty parameter list. This fixes IKVM.
5940 * Environment.cs: Bump corlib version.
5942 2003-12-19 Dick Porter <dick@ximian.com>
5944 * String.cs: Added Compare shortcut for length==0.
5946 2003-12-17 Zoltan Varga <vargaz@freemail.hu>
5948 * Environment.cs: Bump corlib version.
5950 2003-12-17 Dick Porter <dick@ximian.com>
5952 * String.cs: Fix StartsWith and EndsWith when the argument is the
5953 empty string. Fixes bug 52283.
5955 2003-12-16 Zoltan Varga <vargaz@freemail.hu>
5957 * Environment.cs (HasShutdownStarted): Implement.
5959 2003-12-15 Zoltan Varga <vargaz@freemail.hu>
5961 * Environment.cs (HasShutdownStarted): Make this static under NET 1.1.
5963 * Environment.cs: Bump version number.
5965 2003-12-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5967 * DateTime.cs: don't bail out with that year out of range error on
5968 stuff like "MM/dd/yyyy HH:MM:ss".
5970 2003-12-13 Zoltan Varga <vargaz@freemail.hu>
5972 * Environment.cs: Make it a const instead.
5974 * Environment.cs: Make version field static.
5976 2003-12-10 Zoltan Varga <vargaz@freemail.hu>
5978 * Type.cs: Make DefaultBindingFlags protected.
5980 * Environment.cs: Applied patch from Todd Berman (tbermann@gentoo.org).
5981 Add new GacPath property + its associated icall.
5983 2003-12-09 Anirban Bhattacharjee <banirban@novell.com>
5985 * DateTime.cs : Bugs fixed (41845, 51422)
5986 * MonoType.cs : Exception message changed
5988 2003-12-08 Martin Baulig <martin@ximian.com>
5990 * Type.cs (MakeByRefType): New public method.
5992 2003-12-08 Zoltan Varga <vargaz@freemail.hu>
5994 * Environment.cs: Add a version number for the corlib-runtime interface
5995 to make it easier to diagnose problems resulting from a mismatch
5998 2003-12-08 Patrik Torstensson <p@rxc.se>
6000 * Type.cs (GetMethod): Check type arguments within array
6001 * MonoType.cs (GetMethodImpl): Handle methods with a new slot
6002 (same signature but different classes (derived level)
6004 2003-12-07 Zoltan Varga <vargaz@freemail.hu>
6006 * Type.cs (MakeArrayType): Add argument checking.
6008 2003-12-06 Dick Porter <dick@ximian.com>
6010 * String.cs: Don't use CompareInfo for non-culture-sensitive
6011 IndexOf and LastIndexOf methods.
6013 2003-12-06 Ravindra <rkumar@novell.com>
6015 * DateTime.cs: Made Parse(string, IFormatProvider) method to
6016 use second argument. Fixed bug #51464.
6018 2003-12-04 Martin Baulig <martin@ximian.com>
6020 * Type.cs (Type.MakeArrayType): New public method.
6022 2003-12-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6025 (BlockCopy): make the exception thrown helpful.
6027 2003-12-03 Dick Porter <dick@ximian.com>
6029 * String.cs: Calling Replace on an empty string returns itself.
6031 2003-12-03 Zoltan Varga <vargaz@freemail.hu>
6033 * MonoType.cs: Get rid of get_type_info, use a separate icall for
6034 each property instead.
6036 2003-12-02 Dick Porter <dick@ximian.com>
6038 * Decimal.cs: Fix NumberFormatInfo lookup. Patch by
6039 Mohammad DAMT (mdamt@cdl2000.com), fixes bug 51443.
6041 2003-12-01 Dick Porter <dick@ximian.com>
6043 * String.cs: Make Compare, IndexOf, LastIndexOf, StartsWith,
6044 Replace, ToLower, ToUpper and Equals use the correct CultureInfo.
6046 2003-11-28 Dick Porter <dick@ximian.com>
6051 * Boolean.cs: Do string compares with the Invariant culture.
6053 2003-11-27 Ben Maurer <bmaurer@users.sourceforge.net>
6055 * Array.cs: make the enumerator ICloneable
6057 2003-11-27 Ben Maurer <bmaurer@users.sourceforge.net>
6059 * Decimal.cs (ToXXX): Call Convert.ToXXX.
6061 2003-11-26 Zoltan Varga <vargaz@freemail.hu>
6063 * AppDomain.cs: Applied patch from ztashev@openlinksw.co.uk (Zdravko Tashev).
6064 Implement Load(byte[]) methods.
6066 * BadImageFormatException.cs: Fix ToString.
6068 2003-11-24 Zoltan Varga <vargaz@freemail.hu>
6070 * MonoType.cs: Make Standard|HasThis match Standard in GetMethod and
6071 GetConstructor, as done by MS.
6073 2003-11-19 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
6075 * FloatingPointFormatter.cs: Removed some unused variables to prevent csc compiler warnings
6077 2003-11-18 Lluis Sanchez Gual <lluis@ximian.com>
6079 * TypeInitializationException.cs: Added missing serialization constructor.
6081 2003-11-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6083 * AppDomainSetup.cs: Don't add an extra '/' at the end of
6084 ApplicationBase. The tests pass now with mono.
6086 2003-11-18 Zoltan Varga <vargaz@freemail.hu>
6088 * ValueType.cs: New optimized implementation for Equals and GetHashCode.
6090 2003-11-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6092 * Environment.cs: use Directory in CurrentDirectory property.
6093 We were not throwing any exception when setting the directory to an
6096 2003-11-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6099 * Delegate.cs: implemented 1.1 stuff.
6102 * IntPtr.cs: removed extra attribute.
6103 * PlatformID.cs: added WinCE.
6105 2003-11-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6108 (Equals): compare the fields of structs too.
6109 (GetHashCode): combine the hash code of all the fields.
6110 Fixes bug #50901 (will remove the icall in a couple of days).
6112 2003-11-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6114 * Array.cs: fixed Clear for non-zero bounded arrays. Fixes bug #50968.
6116 2003-11-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6118 * DateTime.cs: handle century when we try to parse 4-digit years and
6119 only 2 digits are present. Fixes bug #49394.
6121 2003-11-13 Miguel de Icaza <miguel@ximian.com>
6123 * Console.cs: On utf-8 consoles, use unmarked output.
6125 2003-11-13 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
6127 * IAppDomainSetup.cs:
6130 * Type.cs: Added missing attribute
6132 2003-11-12 Lluis Sanchez Gual <lluis@ximian.com>
6134 * Environment.cs: Added internal method for getting the path to
6137 2003-11-12 Jackson Harper <jackson@ximian.com>
6139 * Environment.cs: Add MyMusic and MyPictures to the SpecialFolder
6140 enum. This fixes the SWF build.
6142 2003-11-12 Miguel de Icaza <miguel@ximian.com>
6144 * PlatformID.cs: Remove Unix platform, we cant expose constants
6145 that are not in the framework.
6147 * OperatingSystem.cs: Adjust for the breakage.
6149 * RuntimeMethodHandle.cs: Fix signature.
6151 * Double.cs: Fix signature of TryParse.
6153 * String.cs (Concat (object, object, object, object)): Add missing method.
6155 * OperatingSystem.cs: Removed Equals, GetHashCode, they were not
6156 in the .NET Framework.
6158 * Enum.cs: Hide constructor.
6160 Fix ToUint16 to be explicitly implemented.
6162 * Console.cs: Add couple of extra missing methods (Write and
6163 WriteLine overloaded)
6165 2003-11-11 Miguel de Icaza <miguel@ximian.com>
6167 * AppDomain.cs, Activator.cs: New unimplmented entry points from
6168 1.1 (Com activation related).
6170 * Exception.cs: Formatting.
6172 * IServiceProvider.cs: Add ComVisible (true).
6174 * AppDomainSetup.cs: Add a couple more properties from .NET 1.1
6176 2003-11-03 Lluis Sanchez Gual <lluis@ximian.com>
6178 * AppDomain.cs: Added some null checks in Load methods. This fixes bug
6181 2003-11-01 Zoltan Varga <vargaz@freemail.hu>
6183 * AppDomain.cs: Make the SetDomain icalls private + call InternalInvoke
6184 on MonoMethod instead of Invoke.
6186 2003-11-01 Pedro MartĂnez JuliĂ¡ <yoros@wanadoo.es>
6188 * DateTime.cs: Fixed Add* methods handling. Now it works properly
6189 with extreme values (there is a bug with Overflow and Underflow in
6192 2003-10-31 Pedro MartĂnez JuliĂ¡ <yoros@wanadoo.es>
6194 * DateTime.cs: Fixed a few format bugs.
6196 2003-10-31 Zoltan Varga <vargaz@freemail.hu>
6198 * AppDomain.cs (InternalPushDomainRef): New icalls.
6200 * AppDomain.cs (InvokeInDomain): New method to execute code in a
6201 different appdomain.
6203 2003-10-27 Zoltan Varga <vargaz@freemail.hu>
6205 * AppDomain.cs: Fix prototype of InternalIsFinalizingForUnload.
6207 2003-10-25 Zoltan Varga <vargaz@freemail.hu>
6209 * AppDomain.cs (IsFinalizingForUnload): Implement.
6211 * AppDomain.cs (Unload): Move the notification of OnUnload listeners
6214 2003-10-25 Martin Baulig <martin@ximian.com>
6216 * MonoType.cs: Don't make this sealed.
6218 2003-10-24 Zoltan Varga <vargaz@freemail.hu>
6220 * AppDomain.cs: Add InternalInvokeInDomain[ByID] icalls.
6222 2003-10-24 Pedro MartĂnez JuliĂ¡ <yoros@wanadoo.es>
6224 * DateTime.cs: When handling '-' as a date separator, MS.NET uses
6225 the same symbol in the parse (not DateTimeFormatInfo.DateSeparator).
6227 2003-10-22 Dick Porter <dick@ximian.com>
6229 * DateTime.cs: Handle '-' as a date separator when parsing formats.
6231 2003-10-20 Duncan Mak <duncan@ximian.com>
6233 * Delegate.cs (CreateDelegate): Avoid creating an extra Type array
6234 and merge the two iterations into one.
6236 2003-10-15 Zoltan Varga <vargaz@freemail.hu>
6238 * TypedReference.cs: Add new field used by the runtime.
6240 2003-10-15 Martin Baulig <martin@ximian.com>
6242 * Type.cs (Type.DeclaringMethod): For a generic method's type
6243 parameter, return this method - otherwise, return null.
6245 2003-10-14 Martin Baulig <martin@ximian.com>
6247 The generics API has changed in the spec since it was added here;
6248 these modifications make it match the spec again.
6251 (GetGenericParameters): Renamed to `GetGenericArguments'.
6252 (HasGenericParameters): Renamed to `HasGenericArguments'.
6253 (HasUnboundGenericParameters): Renamed to `ContainsGenericParameters'.
6254 (IsGenericTypeDefinition): New property.
6255 (IsUnboundGenericParameter): Renamed to `IsGenericParameter'.
6257 * MonoType.cs (ContainsGenericParameters): Implement this here;
6258 this is no interncall anymore.
6260 2003-10-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6262 * Delegate.cs: add the method name to the exception when it cannot be
6264 * Exception.cs: fix nullref in Source.
6266 2003-10-10 Zoltan Varga <vargaz@freemail.hu>
6268 * Array.cs: Add argument checking to GetValue and SetValue.
6270 2003-10-09 Miguel de Icaza <miguel@ximian.com>
6272 * DateTime.cs: Patch from Chris Turchin: the DateTime.MaxValue
6273 should not be TimeSpan.MaxValue, because it overflow. Set this to
6276 2003-10-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6278 * MonoCustomAttrs.cs: from_cache is now thread-safe. Yeah, I got a
6279 duplicate entry exception.
6281 2003-10-08 Ben Maurer <bmaurer@users.sourceforge.net>
6283 * DateTime.cs (ToString): Total rewrite, fixes #49358.
6285 2003-10-03 Zoltan Varga <vargaz@freemail.hu>
6287 * AppDomain.cs: Change accessibility of DoTypeResolve to fix build.
6289 2003-10-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6292 (Equals): check that the object is an Enum before comparing the types.
6294 2003-09-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6296 * Array.cs: reduced xsp allocated memory by 1/2.
6298 2003-09-25 Martin Baulig <martin@ximian.com>
6300 * Type.cs (Type.IsGenericTypeDefinition): Removed this method
6301 since it was identical to GetGenericTypeDefinition().
6302 (Type.IsGenericInstance): New property.
6304 2003-09-24 Duncan Mak <duncan@ximian.com>
6306 * Math.cs (Abs): Fix double Locale.GetText bug reported by
6307 davejp@volny.cz. This fixes #48788.
6309 2003-09-14 Pedro MartĂnez JuliĂ¡ <yoros@wanadoo.es>
6311 * FloatingPointFormatter.cs: Add the necessary castings to char
6314 2003-09-13 Pedro MartĂnez JuliĂ¡ <yoros@wanadoo.es>
6316 * FloatingPointFormatter.cs: Make the method calls more functional
6317 for protecting the values from different threads (make it more
6320 2003-09-13 Pedro MartĂnez JuliĂ¡ <yoros@wanadoo.es>
6322 * FloatingPointFormatter.cs: Fix a bug with the negative value of
6325 2003-09-12 Pedro MartĂnez JuliĂ¡ <yoros@wanadoo.es>
6327 * FloatingPointFormatter.cs: Applied a lot of improvements in string
6328 construction, make use of Append/Insert with the "count" parameter.
6329 Thanks to Ben Maurer.
6331 2003-09-10 Pedro MartĂnez JuliĂ¡ <yoros@wanadoo.es>
6333 * FloatingPointFormatter.cs: Fix a bug with Custm Format.
6335 * FloatingPointFormatter.cs: Fix a little bug I've introduced the
6338 2003-09-10 Pedro MartĂnez JuliĂ¡ <yoros@wanadoo.es>
6340 * DoubleFormatter.cs: A few optimizations. Now, only one object
6341 is created to convert all double numbers.
6343 * SingleFormatter.cs: A few optimizations. Now, only one object
6344 is created to convert all float numbers.
6346 * FloatingPointFormatter.cs: Split the "number type parameters" from
6347 the "numver value and format parameters". The first ones are in the
6348 constructor and the others are in a method.
6350 2003-09-09 Zoltan Varga <vargaz@freemail.hu>
6352 * Array.cs: Added argument checking to some NET_1_1 methods.
6354 2003-09-04 Martin Baulig <martin@ximian.com>
6356 * Type.cs (GetGenericTypeDefinition): Make this method virtual.
6358 2003-08-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6360 * Array.cs: added the new overloaded CreateInstance, GetValue, SetValue
6361 taking 'longs'. All tests pass.
6363 2003-08-26 Ben Maurer <bmaurer@users.sourceforge.net>
6365 * Exception.cs: Add ClassInterface attr. Implement TargetSite and
6366 Source. Remove MonoTODO attributes (class is 100% done). Also
6367 passes all Rotor tests for Exception!
6369 2003-08-26 Ben Maurer <bmaurer@users.sourceforge.net>
6371 * Enum.cs: Remove [MonoTODO]'s that had been completed.
6373 2003-08-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6375 * String.cs: fixed bug #47802.
6377 2003-08-21 Ben Maurer <bmaurer@users.sourceforge.net>
6379 * String.cs: Created method FormatHelper that does formatting,
6380 using a StringBuilder.
6382 2003-08-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6384 * Array.cs: patch by lb@lb.ods.org that fixes bug #47707.
6386 2003-08-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6388 * Delegate.cs: CreteDelegate (Type, MethodInfo) only supports static
6391 2003-08-11 Duncan Mak <duncan@ximian.com>
6393 * Environment.cs (Version): Return the same numbers as the MS
6396 2003-08-10 Miguel de Icaza <miguel@ximian.com>
6398 * Array.cs: Applied patch from Thong (Tum) Nguyen; Removed
6399 replicated tests, and have a routine that does the heavy lifting.
6401 2003-08-08 Lluis Sanchez Gual <lluis@ximian.com>
6403 * DateTime.cs: Fixed DoParse. It was calling the wrong constructor
6405 * Environment.cs: return $HOME for ApplicationData folder.
6407 2003-08-04 Duncan Mak <duncan@ximian.com>
6409 * FloatingPointFormatter.cs (Normalize): Apply a patch from Aleksey
6410 Demakov <avd@openlinksw.com> to fix formatting for Big power of 10
6411 floating point values. This fixes bug #46175.
6413 * Convert.cs (ToUInt16): Throw an OverflowException correctly, as
6414 noted by c5n4kh6u02@sneakemail.com in
6415 http://bugzilla.ximian.com/show_bug.cgi?id=43098.
6417 Sat Aug 2 13:01:46 BST 2003 Malte Hildingson <malte@amy.udd.htu.se>
6419 * Double.cs: added icall Double.AssertEndianity.
6421 Fri Aug 1 16:47:17 CEST 2003 Paolo Molaro <lupus@ximian.com>
6423 * Type.cs, MonoType.cs: implemented generic-specific methods.
6425 2003-07-29 Miguel de Icaza <miguel@ximian.com>
6427 * Buffer.cs: Add new internal MemCopy call.
6431 Tue Jul 29 12:13:16 CEST 2003 Paolo Molaro <lupus@ximian.com>
6433 * Type.cs, MonoType.cs, ArgIterator.cs: pass the handles values
6434 to icalls, to avoid special cases in some call conventions.
6436 2003-07-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6438 * Enum.cs: added Serializable attribute.
6440 2003-07-25 Duncan Mak <duncan@ximian.com>
6442 * AppDomain.cs (Equals):
6443 (GetHashCode): Removed because they do not need to be defined
6446 2003-07-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6448 * TypeLoadException.cs: removed unused fields. TypeName returns "" if
6449 cannot even get the type.
6451 2003-07-24 Miguel de Icaza <miguel@ximian.com>
6453 * Type.cs: Added generics stubs.
6455 2003-07-23 Duncan Mak <duncan@ximian.com>
6457 * Environment.cs (SpecialFolder): Added 'Desktop' and 'MyComputer'
6458 as values for NET_1_1.
6459 (GetFolderPath): Return the empty string ("") for values of
6460 SpecialFolder that have no corresponding equivalents in
6461 Linux. Return "$HOME/Desktop" for SpecialFolder.DesktopDirectory
6462 and "$HOME" for SpecialFolder.Personal.
6464 * IntPtr.cs (GetObjectData): Mark it as an interface
6465 implementation, instead of a public method.
6467 * Guid.cs (NewGuid): Remove MonoTODOAttribute.
6469 * TypeLoadException.cs (GetObjectData):
6470 Create stubs for the fields that are being serialized.
6472 * UIntPtr.cs: Removed erroneous CLSCompliantAttributes.
6474 2003-07-23 Lluis Sanchez Gual <lluis@ximian.com>
6476 * Enum.cs: Fixed enum formatting. For flag enums, if one of
6477 the flags is unnamed, ToString() returns the integer value.
6479 2003-07-22 Jerome Laban <jlaban@wanadoo.fr>
6481 * Guid.cs: Fixed ToString (), was producing incorrect string.
6483 2003-07-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6485 * AppDomainSetup.cs: fixed bug #46609.
6487 Thu Jul 17 17:28:27 CEST 2003 Paolo Molaro <lupus@ximian.com>
6489 * MonoType.cs: use an icall for IsPrimitiveImpl ().
6491 Thu Jul 17 15:23:17 CEST 2003 Paolo Molaro <lupus@ximian.com>
6493 * Guid.cs: faster ToString ().
6495 2003-07-15 Pedro MartĂnez JuliĂ¡ <yoros@wanadoo.es>
6497 * FloatingPointFormatter.cs: Few changes for get working Rotor
6500 2003-07-13 Zoltan Varga <vargaz@freemail.hu>
6502 * Type.cs (IsAssignableFrom): Implement this as an icall since the
6503 runtime already includes the neccessary logic.
6505 2003-07-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6507 * AppDomainSetup.cs: remove the "file://" prefix from ApplicationBase
6508 if it's present and get the full path for non-Uri paths.
6510 2003-07-2 Lluis Sanchez Gual <lluis@ximian.com>
6512 * DateTime.cs: Fixed formatting of fractions of second.
6514 2003-06-30 Zoltan Varga <vargaz@freemail.hu>
6516 * Console.cs: Turn off buffering for the streams returned by
6517 OpenStandardOutput () and OpenStandardError () if the buffer size is 0.
6519 2003-06-28 Lluis Sanchez Gual <lluis@ximian.com>
6521 * Random.cs: Changed behavior of Random to match MS.NET. When Next is
6522 called with maxvalue==0 or minvalue==maxvalue, MS.NET internally generates
6523 a new random number (although it is not needed), while mono did not.
6524 As a result, the sequence of random numbers could be different for the
6527 Thu Jun 26 16:06:35 CEST 2003 Paolo Molaro <lupus@ximian.com>
6529 * FloatingPointFormatter.cs: use dec_len2 as default precision.
6531 2003-06-26 Lluis Sanchez Gual <lluis@ximian.com>
6533 * DateTime.cs: Modified constructor. Check for valid value of TimeSpan must
6534 be done after the correspondig UTC offset has been applied.
6536 2003-06-26 Lluis Sanchez Gual <lluis@ximian.com>
6538 * Object.cs: Object must have the Serializable attribute.
6539 * DateTime.cs: Fixed _DoParse() so it correctly applies the utc offset
6540 to the resulting date. Also fixed _ToString so now correctly formates the
6543 Wed Jun 18 19:22:22 CEST 2003 Paolo Molaro <lupus@ximian.com>
6545 * Enum.cs: fix race in cache (bug#41841).
6547 Wed Jun 18 18:52:11 CEST 2003 Paolo Molaro <lupus@ximian.com>
6549 * FloatingPointFormatter.cs: if the precision is not specified, use
6550 the default precision for the data type.
6552 Wed Jun 18 18:11:30 CEST 2003 Paolo Molaro <lupus@ximian.com>
6554 * Array.cs: throw ArgumentOutOfRangeException in Copy if needed
6555 (patch by tum@veridicus.com (Thong (Tum) Nguyen)).
6557 2003-06-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6559 * MonoType.cs: don't throw nullref when the return type for a property
6560 is specified and the property doesn't have a get accessor.
6562 2003-06-10 Duncan Mak <duncan@ximian.com>
6564 * Array.cs (CreateInstance): Fixed a typo. It should throw
6565 ArgumentNullException instead of ArgumentException.
6567 2003-06-09 Duncan Mak <duncan@ximian.com>
6569 * Array.cs: Revert the last revert. I fixed it.
6570 (Sort): Put a try-catch block around qsort, and wrap whatever
6571 Exception we get into a InvalidOperationException.
6573 2003-06-08 Jackson Harper <jackson@latitudegeo.com>
6575 * Array.cs: Revert last patch, it broke some other functionality.
6577 2003-06-08 Duncan Mak <duncan@ximian.com>
6579 * Array.cs: Throw more exceptions. This fixes the errors we see
6580 from the Rotor testsuite.
6582 (CreateInstance): Throw ArgumentNullException when the input are
6583 null. Throw ArgumentOutOfRangeException when bounds + length is
6584 greater than Int32.MaxValue.
6585 (LastIndexOf): Throw ArgumentOutOfRangeException if index is outside
6586 the valid range of indices of array.
6587 (Sort): Throw InvalidOperationException when comparer is null and
6588 none of the elements in keys implements IComparable.
6590 2003-06-08 Duncan Mak <duncan@ximian.com>
6592 * Array.cs (CreateInstance): Throw a TypeLoadException if the
6593 Length of the input array 'lengths' is greater than 255 so that we
6594 won't see the g_assert that is in mono_array_class_get in class.c.
6596 This fixes bug #44304.
6598 2003-06-05 Nick Drochak <ndrochak@gol.com>
6600 * UnitySerializataionHolder.cs: Cleanups according to class status page
6602 Wed Jun 4 16:59:39 CEST 2003 Paolo Molaro <lupus@ximian.com>
6604 * ArgIterator.cs, TypedReference.cs, RuntimeArgumentHandle.cs,
6605 RuntimeTypeHandle.cs: implemented the needed stuff to handle
6608 2003-06-02 Sebastien Pouliot <spouliot@videotron.ca>
6610 * Random.cs: New implementation based on Knuth ran3 to fix #43597.
6611 See http://www.library.cornell.edu/nr/bookcpdf/c7-1.pdf. Commited
6612 for Ben Maurer after review and testing.
6614 2003-05-28 Ben Maurer <bmaurer@users.sourceforge.net>
6616 * Array.cs: Added better argument checking to Array.Sort ()
6617 * DBNull.cs: Made the conversions throw like they do in MS.
6619 2003-05-24 Philip Van Hoof <me@freax.org>
6621 * Math.cs: Add the MS.NET 1.1 methods (BigMul, DivRem, DivRem).
6623 2003-05-21 Pedro MartĂnez JuliĂ¡ <yoros@wanadoo.es>
6625 * FloatingPointFormatter.cs: Take care with the explicit precision
6626 and round the number to that precision.
6628 * DoubleFormatter.cs: Adapt to the two level precision (15 - 17).
6630 * SingleFormatter.cs: Adapt to the two level precision (7 - 8).
6632 2003-05-20 Philip Van Hoof <me@freax.org>
6634 * DateTime.cs (FromOADate, GetDateTimeFormats, ToOADate):
6637 2003-05-20 Zoltan Varga <vargaz@freemail.hu>
6639 * AppDomainSetup.cs: Added new field which is used to notify the
6640 runtime that the search path has changed.
6642 2003-05-18 Pedro MartĂnez JuliĂ¡ <yoros@wanadoo.es>
6644 * FloatingPointFormatter.cs: Fixed NullReferenceException bug I've
6645 introduced the last change I've done.
6647 2003-05-17 Ben Maurer <bmaurer@users.sourceforge.net>
6649 * Array.cs: Fixed SyncRoot to behave like MS (return this). Removed
6650 MonoTODO from SyncRoot (because fixed) and IsSynchronized (it was
6651 behaving correctly).
6653 2003-05-17 Pedro MartĂnez JuliĂ¡ <yoros@wanadoo.es>
6655 * FloatingPointFormatter.cs: Fixed little format mismatches.
6657 2003-05-16 Pedro MartĂnez JuliĂ¡ <yoros@wanadoo.es>
6659 * FloatingPointFormatter.cs: Fixed "-0" result emited.
6661 2003-05-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6663 * AppDomain.cs: Added null argument check in Load().
6664 * Activator.cs: fixed bug #39926.
6666 2003-05-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6668 * Enum.cs: fixed bugs #41522 and #42879.
6670 2003-05-12 Zoltan Varga <vargaz@freemail.hu>
6672 * String.cs: Tweak IndexOf and LastIndexOf to match specification and
6673 undocumented MS behaviour.
6675 2003-05-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6677 * Activator.cs: applied patch for bug #39926. Thanks to Jean Marc and
6680 2003-05-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6682 * String.cs: fixed bug #41411 and another similar problem in
6683 LastIndexOf (string).
6685 2003-05-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6687 * String.cs: patch by Jean Marc <jean-marc.andre@polymtl.ca> that fixes
6690 2003-05-09 Zoltan Varga <vargaz@freemail.hu>
6692 * MulticastDelegate.cs (GetInvocationList): Avoid ArrayList
6693 construction if the delegate list only has one element.
6695 2003-05-01 Pedro MartĂnez JuliĂ¡ <yoros@wanadoo.es>
6697 * Environment.cs: Changed the method GetFolderPath because it must
6698 return at least a directory name (not null).
6700 * Convert.cs: In ToType, if the destination type is unknown, try to
6701 cast the value to object (then, the calling method will downcast it
6702 to the type it wants).
6704 2003-04-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6706 * Enum.cs: fixed bug #41522.
6708 Tue Apr 29 13:58:16 CEST 2003 Paolo Molaro <lupus@ximian.com>
6710 * Enum.cs: protect with the lock also the lookup (bug #41841).
6712 Tue Apr 29 13:24:32 CEST 2003 Paolo Molaro <lupus@ximian.com>
6714 * MonoType.cs: allow a null name if InvokeMember is called with
6715 BindingFlags.CreateInstance set.
6717 2003-04-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6719 * Enum.cs: reverted my previous patch.
6721 2003-04-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6723 * Enum.cs: fixed bug #41841.
6725 2003-04-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6728 (GetPropertyImpl): handle BindingFlags.IgnoreCase.
6730 2003-04-22 Pedro MartĂnez JuliĂ¡ <yoros@wanadoo.es>
6732 * FloatingPointFormatter.cs: Little fixes for get the same results
6733 as MS.NET and show a message when something goes wrong with the
6734 parser of Custom Formats.
6736 2003-04-22 Nick Drochak <ndrochak@gol.com>
6738 * Double.cs (ToString):
6739 * Single.cs (ToString): Handle case where param is a CultureInfo.
6741 2003-04-18 Zoltan Varga <vargaz@freemail.hu>
6743 * Object.cs ValueType.cs: Make the Object::GetHashCode() and
6744 ValueType::Equals() icalls static non-virtual, so they can be called
6745 by the code in RuntimeHelpers.
6747 2003-04-18 Miguel de Icaza <miguel@ximian.com>
6749 * Delegate.cs (operator ==): Do not crash if the second argument
6750 is null. Bug fix submitted by Juan Cri.
6752 2003-04-18 Eduardo Garcia Cebollero <kiwnix@yahoo.es>
6754 * Array.cs: Deleted the exception in Array.Initialize(), it looks
6755 like the method do nothing for C#, is still a MonoTODO until
6756 we find a compiler that uses that.
6758 2003-04-14 Miguel de Icaza <miguel@ximian.com>
6760 * Delegate.cs (Delegate): Seems like a typo, we were checking the
6761 a field rather than the argument
6763 * MonoType.cs: Make GetNestedType an external method implementation.
6765 2003-04-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6767 * Enum.cs: fixed bug #41294.
6769 2003-04-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6771 * DateTime.cs: fixes bug #40910, part 2.
6773 2003-04-11 Dietmar Maurer <dietmar@ximian.com>
6775 * String.cs (Equals): avoid the internal call, code cleanups
6777 2003-04-11 Alan Tam <Tam@SiuLung.com>
6779 * Convert.cs: fixed bug #41085.
6781 2003-04-10 Lluis Sanchez Gual <lluis@ideary.com>
6783 * AppDomain.cs: Added internal method for getting process guid.
6785 2003-04-09 Ville Palo <vi64pa@kolumbus.fi>
6787 * Array.cs: Little fix to compare () method.
6789 2003-04-09 Zoltan Varga <vargaz@freemail.hu>
6791 * String.cs (Equals): Add trivial optimization.
6793 2003-04-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6795 * DateTime.cs: fixed bug #40910.
6797 2003-04-05 Miguel de Icaza <miguel@ximian.com>
6799 * Console.cs: Make stderr, stdout and stdin use synchronized
6800 versions of the their readers/writers.
6802 2003-04-04 Dick Porter <dick@ximian.com>
6804 * Version.cs: Make operator== and operator!= cope with null
6805 objects. Didn't change operator<, operator<=, operator> or
6806 operator>= because its not meaningful to use those to compare
6807 against null, and throwing a NullReferenceException is probably
6808 the best thing to do there anyway.
6812 2003-04-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6814 * AppDomain.cs: fixed InvalidCastException.
6816 2003-03-30 Zoltan Varga <vargaz@freemail.hu>
6818 * Array.cs (Copy): Call FastCopy() earlier to avoid the expensive
6819 type checks and let it decide whenever a fast copy is possible.
6821 2003-03-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6824 (GetMethodImpl): support BindingFlags.IgnoreCase flag. Fixes bug #40322.
6826 2003-03-25 Zoltan Varga <vargaz@freemail.hu>
6828 * Activator.cs (CreateInstance): Call GetConstructor with the right
6829 arguments so the nonPublic argument is handled correctly.
6831 2003-03-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6833 * Type.cs: fixed bug #40123.
6835 2003-03-22 Pedro MartĂnez JuliĂ¡ <yoros@wanadoo.es>
6837 * FloatingPointFormatter.cs: Fixed some bugs for get the same
6838 results than MS.NET. Added simple error recovering, now ToString
6839 will return a general format if there is any exception in the
6840 process of formatting. This make the library more robust while the
6841 formatters are refined.
6843 2003-03-16 Pedro MartĂnez JuliĂ¡ <yoros@wanadoo.es>
6845 * FloatingPointFormatter.cs: Added support for group separators.
6847 2003-03-16 Pedro MartĂnez JuliĂ¡ <yoros@wanadoo.es>
6850 * Double.cs: Apply changes of .ToString methods.
6851 * SingleFormatter.cs:
6852 * DoubleFormatter.cs: Simple wrappers to FloatingPointFormatter.
6853 * FloatingPointFormatter.cs: New class. Implementation of double and
6854 single formatters. It is unified now and parametrized with precission
6857 2003-03-15 Lluis Sanchez Gual <lluis@ideary.com>
6859 * AppDomain.cs: fixes bugs #39380 and #39331.
6861 2003-03-06 Nick Drochak <ndrochak@gol.com>
6863 * TimeSpan.cs (Negate): Throw exception when value is MinValue.
6865 2003-03-04 Dick Porter <dick@ximian.com>
6868 * Double.cs: Temporarily reverted the Double and Single ToString()
6869 change, because it broke nunit.
6872 2003-03-04 Pedro MartĂnez JuliĂ¡ <yoros@wanadoo.es>
6874 * Double.cs: Changed ToString method. Added NumberFormatInfo support
6875 with DoubleFormatter class.
6876 * Single.cs: Changed ToString method. Added NumberFormatInfo support
6877 with SingleFormatter class.
6878 * DoubleFormatter.cs: New class with Double formatting functions.
6879 * SingleFormatter.cs: New class with Single formatting functions.
6881 2003-03-03 Lluis Sanchez Gual <lluis@ideary.com>
6883 * Activator.cs: Added support for activation using activation attributes.
6884 * AppDomain.cs: Added internal method to get the default context from the runtime.
6886 2003-02-28 Elan Feingold <efeingold@mn.rr.com>
6888 * DateTime.cs: FileTime is expressed in Universal time, and as such must
6889 be converted before subtracting the magic offset.
6890 * DateTime.cs: Strings in the format "2003-02-27T10:05:03-11:00" (note
6891 the timezone at the end) *must* be parsed by DateTime.Parse() for
6892 compatibility with Microsoft.
6894 2003-02-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6897 * MonoCustomAttrs.cs: fix for the regression test failure (see bug
6900 * IntPtr.cs: added serialization .ctor
6902 2003-02-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6904 * AppDomain.cs: check for null in Unload and changed method name.
6906 2003-02-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6908 * MonoCustomAttrs.cs: fixed bug #38238.
6910 2003-02-17 Martin Baulig <martin@ximian.com>
6912 * Exception.cs (Exception.ToString): Print a newline between the
6913 exception message and the stack trace.
6915 2003-02-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6917 * AppDomain.cs: implemented GetCurrentThreadId ().
6919 2003-02-14 Patrik Torstensson
6921 * Exception.cs: Fixed message output formating
6923 2003-02-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6926 (Parse): ignore everything after a \0 (MS parses: "512\0hola" as 512).
6928 2003-02-12 Miguel de Icaza <miguel@ximian.com>
6930 * Type.cs: IsClass should return false for Enumerations
6932 2003-02-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6934 * MonoCustomAttrs.cs: return the correct array type in the short case.
6937 2003-02-08 Pedro MartĂenz JuliĂ¡ <yoros@wanadoo.es>
6939 * Math.cs: Fix a few methods (like Round) and add with comments the
6940 new methods: BigMul and DivRem that were in ECMA specs.
6942 2003-02-07 Patrik Torstensson
6944 * Exception.cs: Fixed formating
6946 2003-02-05 Patrik Torstensson
6948 * AppDomain.cs: Partly fixed the unload method
6950 2003-02-04 Patrik Torstensson
6952 * AppDomain.cs: Fixed lease issue with appdomain
6954 2003-02-04 Lluis Sanchez Gual <lluis@ideary.com>
6956 * MarshalByRefObject.cs: Implemented GetLifetimeService() and
6957 InitializeLifetimeService().
6959 2003-02-03 Patrik Torstensson
6961 * AppDomain.cs: New internalcalls for handling domain/context switches
6962 * AppDomain.cs (CreateDomain): Return transparant proxy for appdomain object
6964 2003-02-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6966 * AppDomain.cs: implemented AppendPrivatePath, ClearPrivatePath
6967 and ClearShadowCopyPath and fixed GetType ().
6969 * Attribute.cs: clean up.
6971 * Console.cs: removed UnixConsoleEncoding. Use Default.
6973 2003-02-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6975 * Attribute.cs: fixed all IsDefined overloads. Gotta fix
6976 GetCustomAttributes later.
6978 2003-01-31 Patrik Torstensson
6980 * Buffer.cs: Changed access level of BlockCopyInternal
6982 Thu Jan 30 19:54:30 CET 2003 Paolo Molaro <lupus@ximian.com>
6984 * String.cs, IntegerFormatter.cs: use const where appropriate.
6986 2003-01-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6988 * MonoCustomAttrs.cs: fixed GetBase () for Type. Thanks to Zoltan for
6991 2003-01-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6993 * MonoCustomAttrs.cs: fixed shortcut in GetCustomAttributes.
6994 The argument ICustomAttributeProvider can be of other types different
6995 from Type. Handle it.
6997 2003-01-28 Zoltan Varga <vargaz@freemail.hu>
6999 * DateTime.cs: fix FromFileTime so the time returned by
7000 File::GetLastModificationTime etc. is in the correct timezone.
7002 2003-01-28 Patrik Torstensson
7003 * Exception.cs: reverted formating/endline changes (sorry guys)
7005 2003-01-28 Patrik Torstensson
7007 * MarshalByRefObject.cs: implemented GetObjectIdentity
7008 * Exception.cs: added support for remote exceptions
7010 2003-01-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7012 * DateTime.cs: fixed bug #37225.
7014 2003-01-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7016 * Enum.cs: Clone the arrays in GetNames and GetValues. Thanks lupus!
7018 2003-01-27 Zoltan Varga <vargaz@freemail.hu>
7020 * AppDomain.cs: Added DoTypeResolve method which will be called by
7021 the runtime to raise TypeResolve events.
7023 2003-01-27 Duncan Mak <duncan@ximian.com>
7025 * Enum.cs (ToType): Implement this using Convert.ToType.
7027 2003-01-21 Miguel de Icaza <miguel@ximian.com>
7029 * Math.cs: Remove Pow's implementation body as it was wrong. The
7030 C code does the right thing. The code was trying to handle a
7031 number of cases, and that was incorrect.
7033 2003-01-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7035 * CharEnumerator.cs: fix to Current by crainaj@hotmail.com. Closes
7038 2003-01-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7040 * Enum.cs: added caching to GetInfo.
7042 2003-01-23 Dick Porter <dick@ximian.com>
7044 * Environment.cs (System): Implemented ExitCode
7046 2003-01-23 Zoltan Varga <vargaz@freemail.hu>
7048 * Type.cs (IsInstanceOfType): fixed regression caused by the change
7051 2003-01-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7053 * MonoType.cs: re-added lines that were removed in the previous commit.
7055 2003-01-16 Lluis Sanchez Gual <lsg@ctv.es>
7057 * Type.cs: corrected property IsSerializable. It should always return
7058 true for enums and delegates
7059 * MonoType.cs: added serialization support.
7060 * Delegate.cs: added serialization support.
7061 * DBNull.cs: added serialization support.
7062 * UnitySerializationHolder.cs: supports serialization of Assembly,
7063 MonoType and DBNull.
7064 * DelegateSerializationHolder.cs: added.
7066 2003-01-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7068 * Exception.cs: changed default message to match MS one.
7070 2003-01-12 Patrik Torstensson <totte@race-x-change.com>
7072 * String.cs: Fixed bug with CompareOrdinal
7074 2003-01-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7076 * Enum.cs: implements IFormattable.
7078 2003-01-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7080 * AppDomain.cs: implemented DoCallBack method.
7082 (GetConstructorImpl): when the flag is BindingFlags.Default, set it to
7085 NUnit2 tests start moving.
7087 2003-01-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7089 * Activator.cs: fixed bug #36052. Also added checks to avoid trying to
7090 instantiate an abstract class.
7092 2003-01-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7095 (IsSubclassOf): return false when null. Use != instead of Equals.
7097 2003-01-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7099 * Type.cs: fixed IsSubclassOf. Patch from Zoltan Varga.
7101 Fri Jan 3 20:18:51 CET 2003 Paolo Molaro <lupus@ximian.com>
7103 * MonoType.cs: fixed Namespace property for nested types.
7105 Fri Jan 3 16:18:27 CET 2003 Paolo Molaro <lupus@ximian.com>
7107 * MonoCustomAttrs.cs: create properly typed arrays when returning
7108 arrays of attributes of a given type.
7110 Fri Jan 3 11:10:14 CET 2003 Paolo Molaro <lupus@ximian.com>
7112 * MonoType.cs: fixed MemberType property for nested types.
7114 2003-01-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7116 * String.cs: fixed bug #36209.
7118 2002-12-20 Lluis Sanchez Gual <lsg@ctv.es>
7120 * Activator.cs: implemented method GetObject.
7122 2002-12-28 Marcus Urban <mathpup@mylinuxisp.com>
7124 * Activator.cs: Since the documentation indicates the method
7125 either succeeds or throws one of the listed exceptions, we weren't
7126 expecting that CreateInstance might be returning null.
7128 For more information on the bug, see http://bugs.ximian.com/show_bug.cgi?id=36109
7130 2002-12-20 Lluis Sanchez Gual <lsg@ctv.es>
7132 * MarshalByRefObject.cs: implemented CreateObjRef.
7134 2002-12-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7136 * DateTime.cs: fixed bug #30076.
7137 * TimeZone.cs: provide the parameter name in a exception.
7139 2002-12-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7141 * DecimalFormatter.cs: fixed bug #35560.
7143 Wed Dec 4 16:04:28 CET 2002 Paolo Molaro <lupus@ximian.com>
7145 * Type.cs: implemented GetInterfaceMap (needs an updated runtime).
7147 2002-12-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7149 * Array.cs: use Object.Equals (obj, obj) to compare objects to avoid
7150 nulls. Fixes #34909.
7152 2002-12-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7154 * AppDomain.cs: DoAssemblyResolve now returns when one of the handlers
7155 returns a non-null assembly.
7157 2002-12-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7159 * MulticastDelegate.cs: make GetInvocationList work for more than 1
7162 2002-12-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7164 * MulticastDelegate.cs: implemented GetInvocationList. I'll check later
7165 if this is the correct order of invocation.
7167 2002-12-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7169 * Type.cs: changed the signature of internal_from_name. Modified
7170 the overloads of GetType to use it and check the typeName argument.
7171 Implemented FindInterfaces.
7173 2002-11-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7175 * MarshalByRefObject.cs: undo latest changes. It breaks the build by
7176 some obscure reasons (try make -f makefile.gnu using a corlib which has
7177 the modified version).
7179 2002-11-26 Miguel de Icaza <miguel@ximian.com>
7181 * String.cs (Concat): Reduce the number of compares required.
7183 Mon Nov 18 17:54:22 CET 2002 Paolo Molaro <lupus@ximian.com>
7185 * Activator.cs: throw a MissingMethodException if the default
7186 constructor is not found in CreateInstance.
7188 2002-11-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7191 (Equals (str, str)): use 'as' instead of casting to object.
7192 (Equals (obj)): check the length of the strings (until now,
7193 "Hello".Equals ((object) "Hellow World!) was true!).
7195 2002-11-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7197 * MonoType.cs: implemented GetEvent (name, flags).
7199 2002-11-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7201 * AppDomain.cs: implemented a couple of methods called from the runtime
7202 to fire AssemblyLoad and AssemblyResolve events.
7204 2002-10-31 Dick Porter <dick@ximian.com>
7206 * Environment.cs: MonoIO methods now have an error parameter
7208 2002-10-29 Zoltan Varga <vargaz@freemail.hu>
7210 * Enum.cs: Added support for whitespaces in Enum:Parse().
7212 2002-10-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7214 * Type.cs: fixed GetProperty (string, Type []) and removed get_property
7215 internal call. Closes bug #32992.
7217 2002-10-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7219 * Exception.cs: display the inner exception, if any, in ToString ().
7221 2002-10-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7223 * Environment.cs: fixed StackTrace property.
7225 2002-10-16 Nick Drochak <ndrochak@gol.com>
7227 * Enum.cs (Parse): Then fix the code so that it works too.
7229 2002-10-15 Nick Drochak <ndrochak@gol.com>
7231 * Enum.cs (Parse): Use unsigned casts to avoid compiler warnings.
7233 2002-10-12 Nick Drochak <ndrochak@gol.com>
7235 * IntegerFormatter.cs: Fix compiler warnings.
7237 2002-10-11 Tim Haynes <thaynes@openlinksw.com>
7239 * Type.cs (GetConstructors): Use the correct flags.
7241 2002-10-09 Nick Drochak <ndrochak@gol.com>
7243 * IntegerFormatter.cs: Suppress insignificant leading zeros
7245 Fri Sep 27 15:06:29 CEST 2002 Paolo Molaro <lupus@ximian.com>
7247 * MonoCustomAttrs.cs: applied patch by "Si Jingnan"
7248 <stonewell@21cn.com> to return also derived types.
7250 2002-09-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7252 * Activator.cs: little fix in CreateInstance (Type, bool).
7254 2002-09-19 Duncan Mak <duncan@ximian.com>
7256 * Array.cs (CopyTo): Revert back to 1.40, this is stopping
7257 I18N/Common from building right now.
7259 2002-09-19 Nick Drochak <ndrochak@gol.com>
7261 * Array.cs (CopyTo): Account for Object type and base (primitive) types
7262 * Type.cs (IsAssignableFrom): return false for a null parameter
7264 2002-09-19 Nick Drochak <ndrochak@gol.com>
7266 * Array.cs (CopyTo): Check that source type can be cast automatically
7267 to the destination type.
7269 2002-09-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7271 * Type.cs: implemented IsAssignableFrom, DefaultBinder and
7274 2002-09-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7276 * Char.cs: implemented ToString (char)
7277 * IntegerFormatter.cs: made it internal.
7279 2002-09-13 Nick Drochak <ndrochak@gol.com>
7281 * Enum.cs (Format): handle the "d" format for both signed and unsigned
7284 2002-09-12 Dick Porter <dick@ximian.com>
7286 * UIntPtr.cs: Remove the [StructLayout(LayoutKind.Auto)]
7287 attribute, as there doesn't appear to be any struct
7288 layout-depending code here (and corcompare says it should be
7289 LayoutKind.Sequential)
7291 * Decimal.cs: Stub out missing methods, add
7292 [DecimalConstantAttribute] to the constant fields (as shown by
7295 * LocalDataStoreSlot.cs:
7298 * Array.cs: Stub out missing methods.
7300 * TypedReference.cs:
7301 * ArgIterator.cs: Stub out
7303 * AppDomainSetup.cs:
7304 * AppDomain.cs: Stub out missing methods, add missing
7305 ClassInterface(ClassInterfaceType.None) attribute.
7307 2002-09-12 Nick Drochak <ndrochak@gol.com>
7309 * Double.cs (ToString): Throw exception when "X" format is passed in.
7311 Wed Sep 11 15:26:34 CEST 2002 Paolo Molaro <lupus@ximian.com>
7313 * MonoType.cs: implemented Module property.
7315 Wed Sep 11 12:49:51 CEST 2002 Paolo Molaro <lupus@ximian.com>
7317 * MonoType.cs, Type.cs: implemented InvokeMember.
7319 Wed Sep 11 11:06:43 CEST 2002 Paolo Molaro <lupus@ximian.com>
7321 * Delegate.cs: check the type passed to CreateDelegate is a Delegate
7322 type. Check the method signature matches.
7324 Sat Sep 7 10:16:52 CEST 2002 Paolo Molaro <lupus@ximian.com>
7326 * RuntimeMethodHandle.cs: implemented GetFunctionPointer().
7328 2002-09-06 Miguel de Icaza <miguel@ximian.com>
7330 * Console.cs: Specify an encoder, otherwise we will get the UTF8
7331 encoder that by default emits the byte markers.
7333 Fri Sep 6 20:14:04 CEST 2002 Paolo Molaro <lupus@ximian.com>
7335 * Delegate.cs: look also for non-public methods until we have the
7336 security checks in place.
7338 Fri Sep 6 12:20:06 CEST 2002 Paolo Molaro <lupus@ximian.com>
7340 * MonoType.cs: consider also the full name in GetInterface.
7342 Fri Sep 6 12:11:28 CEST 2002 Paolo Molaro <lupus@ximian.com>
7344 * MonoType.cs: implemented GetMembers, GetConstructorImpl and
7345 GetMethodImpl using the binder.
7346 * Type.cs: GetConstructorImpl/GetConstructor fixes.
7348 2002-09-03 Jonathan Pryor <jonpryor@vt.edu>
7349 * Enum.cs: Get rid of warning CS0162.
7351 2002-09-04 Miguel de Icaza <miguel@ximian.com>
7353 * Double.cs, Single.cs, Char.cs, Boolean.cs: Use internal for the
7354 actual value instead of public.
7356 * LocalDataStoreSlot.cs: Make constructor internal.
7358 * Int16.cs, UInt16.cs, Int32.cs, UInt32.cs, Int64.cs, UInt64.cs,
7359 SByte.cs, Byte.cs, Char.cs: Use internal for the actual value
7362 2002-09-03 Jonathan Pryor <jonpryor@vt.edu>
7363 * Enum.cs: Fixed Enum.Format so that the "x" format specifier would work
7366 2002-08-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7368 * DateTime.cs: fixed buglet.
7370 Tue Aug 27 16:39:47 CEST 2002 Paolo Molaro <lupus@ximian.com>
7372 * MonoType.cs: speedup access to common data.
7374 2002-08-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7376 * Double.cs: implemented TryParse.
7378 * Math.cs: PowImpl is now private.
7380 * MissingFieldException.cs: implemented Message.
7382 * RuntimeMethodHandle.cs: stubbed GetFunctionPointer.
7384 * _AppDomain.cs: Uncommented ToString.
7386 2002-08-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7389 (IsValueTypeImpl): it's virtual, not abstract. Implemented.
7391 2002-08-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7393 * ArgumentException.cs: use the field instead of the property for
7396 * ArgumentOutOfRangeException.cs: modified Message.
7399 (_DoParse): throw out of range exception for year. Removed check
7400 for month (it's done in the constructor).
7402 2002-08-21 Miguel de Icaza <miguel@ximian.com>
7404 * Environment.cs: Implemented OSVersion property.
7406 2002-08-21 Dietmar Maurer <dietmar@ximian.com>
7408 * Exception.cs: set stack_trace to null
7410 Wed Aug 21 13:02:20 CEST 2002 Paolo Molaro <lupus@ximian.com>
7412 * AppDomain.cs: implemented ToString().
7414 2002-08-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7416 * AppDomain.cs: securityInfo can be null in CreateDomain.
7418 2002-08-19 Dick Porter <dick@ximian.com>
7420 * MonoType.cs: Add a space before the Assembly name in
7421 AssemblyQualifiedName (needed for resource files so the MS runtime
7424 2002-08-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7426 * AppDomain.cs: parameter name when throwing ArgumentNullException.
7428 * ArgumentException.cs: modified Message to do what MS does.
7430 * ArgumentNullException.cs: don't use {0} in message.
7432 * Exception.cs: use Message property in ToString ().
7434 2002-08-14 Cesar Octavio Lopez Nataren <cesar@ciencias.unam.mx>
7436 * WeakReference.cs: Changed the constructor and GetObjectData
7437 method needed for ISerializable implementation in order to be
7438 compatible with SOAP generated by MS.
7440 Wed Aug 14 17:34:07 CEST 2002 Paolo Molaro <lupus@ximian.com>
7442 * MonoType.cs, Type.cs: DeclaringType/ReflectedType fixes.
7444 2002-08-12 Dietmar Maurer <dietmar@ximian.com>
7446 * Exception.cs (ToString): changed the ouput format.
7448 2002-08-07 Dietmar Maurer <dietmar@ximian.com>
7450 * MonoType.cs: moved get_method icall to this class, we can
7451 remove it as soon someone provides a full featured GetMethodImpl.
7453 * Type.cs: use GetMethodImpl everywhere.
7455 * Delegate.cs: new CreateDelegate implementations.
7457 2002-08-06 Tim Coleman <tim@timcoleman.com>
7459 Fix bug #28582. Now checks parameters for properties
7462 2002-08-04 Nick Drochak <ndrochak@gol.com>
7464 * Buffer.cs: Throw correct exception in GetByte() and SetByte().
7466 2002-08-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7469 (FormatSpecifier): allow white space between the comman and the width
7472 2002-07-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7477 * UInt64.cs: fixed bug #28050. May be a MS bug?
7479 Thu Jul 18 14:47:03 CEST 2002 Paolo Molaro <lupus@ximian.com>
7481 * MonoType.cs: fix IsArrayImpl.
7483 2002-07-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7485 * String.cs: make ToLower (culture) and ToUpper (culture) use the
7486 default ToLower and ToUpper and don't throw NotImplemented.
7488 Sat Jul 13 15:09:01 CEST 2002 Paolo Molaro <lupus@ximian.com>
7490 * Type.cs: make GettTypeCode an icall. Test implementation of
7493 2002-07-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7495 * AppDomainSetup.cs: implemented LoaderOptimization.
7497 2002-07-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7499 * Activator.cs: some more intermediate results checking in
7500 in CreateInstance and CreateInstanceFrom and use GetConstructor and
7501 Invoke only with Type [] until the other overloaded versions work.
7503 2002-07-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7505 * Activator.cs: reformatted. Implemented CreateInstance* methods
7506 that return ObjectHandle.
7508 * AppDomain.cs: implemented CreateInstance*AndUnwrap methods.
7510 2002-07-03 Nick Drochak <ndrochak@gol.com>
7512 * Decimal.cs (Divide): Short cut the case where the dividend is 0 (and
7513 the divisor is not) and avoid the icall, which seems to have a bug.
7515 2002-07-03 Nick Drochak <ndrochak@gol.com>
7517 * Double.cs (CompareTo): Correctly handle the case where the instance
7518 is NaN. Also return 0 if the values are equal.
7520 2002/07/03 Nick Drochak <ndrochak@gol.com>
7522 * MissingMethodException: Add missing Message property
7523 * MissingMemberException: Add missing Message property
7525 2002-06-30 Nick Drochak <ndrochak@gol.com>
7527 * Double.cs (CompareTo): Just see which is bigger. Don't use the
7528 subtraction trick, it doesn't work when the values have a diference of
7531 * Single.cs (CompareTo): same
7533 2002-06-27 Martin Baulig <martin@gnome.org>
7535 * UIntPtr.cs (UIntPtr.Zero): Use an explicit `u' suffix in the
7536 constructor argument. [FIXME: The implicit conversion to an
7537 unsigned integer doesn't work with mcs.]
7539 2002-06-26 Martin Baulig <martin@gnome.org>
7541 * DecimalFormatter.cs: Removed MSTEST stuff, use `System',
7542 not `S = System'. This file now compiles with mcs.
7544 * String.cs: Removed the already ifdef-outed __arglist Concat function
7545 to make it compile with mcs.
7547 2002-06-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7549 * IntegerFormatter.cs:
7550 (FormatParse.FormatNumber): fixed custom format for negative numbers.
7552 2002-06-21 Martin Baulig <martin@gnome.org>
7554 * Double.cs: Replace the private `enum State' with constants since this
7555 will avoid some bigger headaches in mcs.
7557 Thu Jun 20 17:51:44 CEST 2002 Paolo Molaro <lupus@ximian.com>
7559 * TimeSpan.cs: do not pollute the namespace with the
7562 2002-06-18 Nick Drochak <ndrochak@gol.com>
7564 * ArgumentException.cs: Use the message given in the constructor when
7565 accessing the Message property. Thanks to Dietmar for the help with
7568 2002-06-17 Dietmar Maurer <dietmar@ximian.com>
7570 * MonoType.cs: GetField is now a InternalCall
7572 2002-06-13 Nick Drochak <ndrochak@gol.com>
7574 * DateTime.cs: (Parse): Accept dates that have no hour,min,sec. in the
7575 sortable format(s), e.g. "2002-02-25"
7577 2002/06/12 Nick Drochak <ndrochak@gol.com>
7579 * Random.cs (Next): Fix math error. Return a number within the range.
7581 2002-06-12 Nick Drochak <ndrochak@gol.com>
7583 * String.cs (IndexOf): Return -1 if start index is equal to string
7586 2002-06-10 Duncan Mak <duncan@ximian.com>
7588 * Convert.cs (ToDouble): Remove rounding in ToDouble (float).
7589 (ToType): Added null field in conversionTable to avoid
7590 IndexOutOfRangeException. Changed what exceptions we throw to match
7593 2002-06-11 Nick Drochak <ndrochak@gol.com>
7595 * Int64.cs (Parse): Added unique strings to the messages where we throw
7596 a FormatException. Needed these to debug, so just left them in since
7597 they might be useful later. Fixed Currency parsing where we weren't
7598 looking at CurrencyDecimalSeparator, etc.
7600 2002-06-09 Lawrence Pit <loz@cable.a2000.nl>
7602 * DateTime.cs: fixes to pass tests M0 to M6:
7603 if yy pattern then year values >= 30 are in 20th century
7604 rfc1123 pattern is always in GMT, therefor useutc must be false
7605 made GetNow() internal static so it can be called from TimeZone.
7606 * TimeZone.cs: removed dependency on year 2002 from initialization of
7609 2002-06-09 Duncan Mak <duncan@ximian.com>
7611 * Convert.cs (ToType): Rearranged what Exceptions we throw to
7614 2002-06-08 Duncan Mak <duncan@ximian.com>
7616 * Decimal.cs: Added support for the IConvertible interface.
7618 2002-06-08 Martin Baulig <martin@gnome.org>
7620 * Enum.cs (IsDefined): `value' may be of the enum's type itself, it
7621 doesn't necessarily need to be of the enum's underlying type.
7623 2002/06/07 Nick Drochak <ndrochak@gol.com>
7625 * String.cs: Add [Serializable] to class
7626 * SByte.cs (Parse): Add [CLSCompliant(false)] to all the overloads
7628 2002-06-04 Nick Drochak <ndrochak@gol.com>
7630 * Double.cs (Parse): Recognize the group separator string, but still we
7631 don't check the format for the proper number of digits between
7632 separators. Also throw OverflowException when we get Pos or Neg
7633 Infinity from runtime.
7635 2002-06-03 Duncan Mak <duncan@ximian.com>
7637 * Convert.cs (ToDouble): Fixed ToDouble (byte value).
7639 Mon Jun 3 12:18:18 CEST 2002 Paolo Molaro <lupus@ximian.com>
7641 * Type.cs: fixed GetTypeCode.
7643 2002-06-02 Duncan Mak <duncan@ximian.com>
7645 * Convert.cs (ToInt16): use Convert.ToInt16 (int) instead of a direct
7646 cast from an int so that we throw OverFlowException correctly.
7648 (ToInt64): Use a new 64bit version of ConvertToBase.
7650 (ConvertToBase): Add checks for overflow (checks Int32.MinValue
7651 and Int32.MaxValue).
7653 (ConvertFromBase64): New 64-bit version of ConvertFromBase.
7655 2002-06-02 Nick Drochak <ndrochak@gol.com>
7657 * Convert.cs (ToSByte): Check for special value.
7658 * Single.cs (Parse):
7659 * UInt16.cs (Parse):
7660 * UInt32.cs (Parse): Throw OverflowException if negative
7662 2002-06-02 Duncan Mak <duncan@ximian.com>
7664 * Convert.cs (DBNull): Point it to DBNull.Value.
7665 (IsDBNull): Instead of checking typecodes, just check to see if
7666 it's the same as the DBNull field.
7668 2002-06-02 Nick Drochak <ndrochak@gol.com>
7670 * Convert.cs (ConvertFromBase): Detect bad digits correctly.
7672 2002-06-02 Duncan Mak <duncan@ximian.com>
7674 * Char.cs (Parse): Simplify the Exception handling.
7676 * Convert.cs (ToDecimal): Remove call to Math.Round () when
7677 converting from a float.
7679 2002-05-30 Martin Baulig <martin@gnome.org>
7681 * MonoType.cs (GetInterface): Implemented.
7683 Thu May 23 17:17:28 CEST 2002 Paolo Molaro <lupus@ximian.com>
7685 * Activator.cs: implemented CreateInstance ().
7687 2002-05-22 Duncan Mak <duncan@ximian.com>
7689 * Convert.cs (ConvertToBase): Added new 64bit version.
7690 (BuildConvertedString64): New 64bit version of
7691 BuildConvertedString.
7693 This fixes bug 25068.
7695 (ConvertFromBase): Added additional test for checking if the
7696 digits are valid. Thanks to Miguel for coming up with this test.
7698 This fixes bug 25071.
7700 2002-05-21 Duncan Mak <duncan@ximian.com>
7702 * Convert.cs (ToType): Rearranged to fit the new layout of
7705 (conversionTable): Rearranged to fit the layout of the
7706 System.TypeCode enum.
7708 This should fix bug 25075.
7710 2002-05-21 Duncan Mak <duncan@ximian.com>
7712 * Convert.cs (ToString): Fixed the ToString methods. Previously I had
7713 mixed up the two code paths, one for converting to a specific base
7714 (this case), another from converting from a foreign base to base10
7715 (used by ToInt16|32|64 (string, int)). This fixes bug 25068.
7717 * Convert.cs (ToByte)
7718 (ToSByte): Fixed bug 25074. Added more bits to ConvertFromBase so
7719 that we won't confuse FormatException with OverflowException.
7721 2002-05-22 Lawrence Pit <loz@cable.a2000.nl>
7723 * Environment.cs: CommandLine missed spaces between arguments.
7724 Implemented StackTrace. Returning MachineName in UserDomainName
7727 Tue May 21 17:25:49 CEST 2002 Paolo Molaro <lupus@ximian.com>
7729 * MonoCustomAttrs.cs: handle inherit argument.
7731 2002-05-21 Nick Drochak <ndrochak@gol.com>
7733 * Math.cs (Pow): Change icall method name and insert parameter
7734 checks in for infinities and NaN.
7736 2002-05-13 Miguel de Icaza <miguel@ximian.com>
7738 * Double.cs (Parse): Reimplement by cleaning up the string first,
7739 and then passing to strtof in the mono runtime.
7741 * Single.cs (Parse): Use the Double implementation and cast to
7744 2002-05-21 Nick Drochak <ndrochak@gol.com>
7747 (Ceiling): Check for "special" values
7748 (Floor): Check for "special" values
7749 (Round): Fix off-by-one error on decimal shifting
7751 2002-05-20 Lawrence Pit <loz@cable.a2000.nl>
7753 * DateTime.cs: ToString () using "G" format specifier
7755 2002-05-19 Martin Baulig <martin@gnome.org>
7757 * Convert.cs (FromBase64CharArray): Do correct exception handling.
7759 2002-05-19 Martin Baulig <martin@gnome.org>
7761 * Convert.cs (FromBase64CharArray): Convert the char array using
7762 System.Text.UTF8Encoding, not UnicodeEncoding (which is UTF-16) to
7765 2002-05-17 Miguel de Icaza <miguel@ximian.com>
7767 * MonoType.cs: Style changes.
7769 * Type.cs: Style changes.
7771 2002-05-16 Piers Haken <piersh@friksit.com
7773 * UInt64.cs: fix declaration of IConvertible.To* overrides.
7775 2002-05-16 Nick Drochak <ndrochak@gol.com>
7777 * BitConverter.cs (ToString): Add parameter check for invalid start
7780 * Console.cs: Use AutoFlush on the StreamWriter for stdin and stdout
7781 now that StreamWriter uses buffering
7783 2002-05-14 Miguel de Icaza <miguel@ximian.com>
7785 * Double.cs: Oops. Also handle exponents without finding a dot.
7787 2002-05-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7789 * ChangeLog: removed empty entry at the top of the file.
7791 * Int32.cs: made static functions used by Parse internal.
7795 * UInt64.cs: removed static fucntions used by Parse and use the ones
7798 2002-05-12 Daniel Morgan <danmorg@sc.rr.com>
7800 * IServiceProvider.cs: added using System
7802 2002-05-09 Daniel Morgan <danmorg@sc.rr.com>
7804 * Single.cs: copied ToString() and Parse() methods from
7805 Double to Single and modified a tiny bit for Single.
7806 There is still a FIXME for Double and Single about
7807 passing the format and provider info to the icall too.
7809 2002-05-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7814 * UInt64.cs (Parse): don't use Char.IsNumber to test for hex digits.
7815 Don't use a delegate to test for valid digits.
7817 2002-05-01 Duncan Mak <duncan@ximian.com>
7820 * Math.cs: Added missing CLSCompliant attributes where necessary.
7822 2002-04-30 Duncan Mak <duncan@ximian.com>
7824 * ArgumentException.cs (Message):
7825 * ArgumentOutOfRangeException.cs (Message): Added.
7827 2002-04-30 Nick Drochak <ndrochak@gol.com>
7829 * MonoType.cs: Remove unused variable and eliminate a compiler warning.
7831 Mon Apr 29 15:32:02 CEST 2002 Paolo Molaro <lupus@ximian.com>
7833 * Environment.cs: support for Exit(), CommandLine, CommandLineArgs ().
7835 2002-04-28 Duncan Mak <duncan@ximian.com>
7837 * DivideByZeroException.cs: Added missing serialization constructor.
7839 * UnauthorizedAccessException.cs: Added the missing Serializable attribute.
7841 2002-04-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7843 * Math.cs: fix Floor () and Round (). Closes #23960.
7845 2002-04-27 Nick Drochak <ndrochak@gol.com>
7847 * Array.cs (IList.Contains): Should throw a RankException if this is
7848 called on a Rank > 1 array. Not in the docs, but this is what the
7851 2002-04-26 Duncan Mak <duncan@ximian.com>
7853 * MissingMemberException.cs: Made the message variable 'protected'
7854 instead of 'private', so that we can see it in
7855 MissingMethodException and MissingFieldException.
7857 * MissingFieldException.cs:
7858 * MissingMethodException.cs: Added missing (string, string)
7859 constructor, and also the Message property.
7861 2002-04-26 Martin Baulig <martin@gnome.org>
7863 * Enum.cs: Implemented the IConvertible methods.
7865 2002-04-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7867 * SByte.cs: little change in Parse (string) to avoid incorrect
7868 OverflowException thrown (reported by nickd).
7870 2002-04-22 Miguel de Icaza <miguel@ximian.com>
7872 * ValueType.cs: Add Serializable attribute.
7874 * String.cs: ifdef-out out the __arglist Concat function until I
7875 add support for that to mcs.
7877 2002-04-24 Patrik Torstensson <patrik.torstensson@labs2.com>
7879 * AppDomain.cs (GetValue): usage of the correct icall (bug)
7881 Wed Apr 24 21:15:44 CEST 2002 Paolo Molaro <lupus@ximian.com>
7883 * GC.cs: implement most of the methods as icalls.
7885 2002-04-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7887 * DecimalFormatter.cs (ToString): return correct value when the
7888 decimal number is 0.
7890 2002-04-24 Patrik Torstensson <patrik.torstensson@labs2.com>
7892 * Type.cs (GetProperty): fixed call syntax (needs an empty array not null)
7893 * MonoType.cs (GetPropertyImpl) : basic implementation (ignores types, bindingAttr, modifiers)
7895 2002-04-24 Nick Drochak <ndrochak@gol.com>
7897 * Double.cs (Parse): Handle case where there are no digits before the
7898 decimal point, such as ".1".
7900 2002-04-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7905 * UInt64.cs: fixed bug #23738 (hex numbers parsed wrong).
7907 2002-04-23 Patrik Torstensson <patrik.torstensson@labs2.com>
7909 * String.cs (Split): fixed invalid split of count 0 and 1.
7911 2002-04-23 Patrik Torstensson <patrik.torstensson@labs2.com>
7913 * String.cs (LastIndexOf): fixed argument checking.
7914 * String.cs (Equals): made internal for performace.
7916 2002-04-23 Nick Drochak <ndrochak@gol.com>
7918 * String.cs (Join): check argument and throw exception if needed
7920 2002-04-23 Nick Drochak <ndrochak@gol.com>
7922 * String.cs (StartsWith): check argument and throw exception if needed
7924 2002-04-22 Nick Drochak <ndrochak@gol.com>
7926 * String.cs (IndexOfAny): check arguments and throw exceptions as
7927 neccessary. ALso remove some debug WriteLines.
7929 2002-04-20 Dietmar Maurer <dietmar@ximian.com>
7931 * String.cs: use internal constructors
7934 Thu Apr 18 17:16:15 CEST 2002 Paolo Molaro <lupus@ximian.com>
7936 * MonoType.cs: make GetElementType its own icall.
7938 2002-04-18 Nick Drochak <ndrochak@gol.com>
7940 * String.cs: Modified file. Re-add methods needed by the unit tests.
7942 Thu Apr 18 12:38:32 CEST 2002 Paolo Molaro <lupus@ximian.com>
7944 * String.cs: some code speedups and restored GetTypeCode().
7946 2002-04-17 Patrik Torstensson <patrik.torstensson@labs2.com>
7948 * String.cs: New implementation using internal calls.
7950 2002-04-16 Nick Drochak <ndrochak@gol.com>
7952 * DecimalFormatter.cs: Trim off excess null characters from the string
7953 that decimal2string gives back.
7955 2002-04-16 Nick Drochak <ndrochak@gol.com>
7957 * String.cs (SubString): revert my change. I can't reproduce the
7960 2002-04-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7962 * Attribute.cs: added GetHashCode and Equals.
7964 2002-04-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7966 * Enum.cs: little improvements to Format ().
7968 Thu Apr 11 12:28:13 CEST 2002 Paolo Molaro <lupus@ximian.com>
7970 * String.cs: internalcall GetHashCode().
7971 * Array.cS: optimize access to elements.
7973 Wed Apr 10 21:20:19 CEST 2002 Paolo Molaro <lupus@ximian.com>
7975 * String.cs: make IndexOfAny() use an internalcall.
7977 2002-04-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7982 * UInt64.cs: fixed error when testing for validity of flags.
7984 2002-04-11 Nick Drochak <ndrochak@gol.com>
7986 * Double.cs: Use an internal call for ToString(). This is just a simple
7987 implementation to get away from throwing a NotImplementedException.
7989 2002-04-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7994 * UInt64.cs: changed Type.GetType () by typeof (), as suggested by
7998 * Int64.cs: throw an OverFlowException when parsing a string
7999 containing a dot followed by any non '0' number.
8001 2002-04-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8006 * UInt64.cs: added complex Parse ().
8008 2002-04-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8013 * Int64.cs: added complex Parse ().
8015 2002-04-09 Nick Drochak <ndrochak@gol.com>
8017 * Array.cs (BinarySearch): Add checks on paramters before using them
8018 and throw exceptions as needed.
8020 * Enum.cs (Format): Check if [Flags] is applied to enum and convert
8021 "G" format to "F" if so.
8023 Tue Apr 9 13:12:09 CEST 2002 Paolo Molaro <lupus@ximian.com>
8025 * MonoCustomAttrs.cs: return arrays of type Attribute[]
8026 instead of object[].
8028 2002/04/09 Nick Drochak <ndrochak@gol.com>
8030 * String.cs (Substring): Copy only non-null characters to the new
8033 2002-04-09 Nick Drochak <ndrochak@gol.com>
8035 * IntegerFormatter.cs: Don't use a format character to indicate a
8036 custom format was passed in. It was using 'z' to indicate a custom
8037 format, but really it should throw a format exception if the user
8038 tries to use "z" as the format string. Now it does.
8040 * Activator.cs: New File.
8042 2002-04-08 Nick Drochak <ndrochak@gol.com>
8044 * Enum.cs (ToString): Big ugly fix for the case where [Flags] is
8045 applied to an enum. Need to handle the different possible integer
8046 types of an enum somehow. Can anyone say generics?
8048 Mon Apr 8 06:22:42 2002 Piers Haken <piersh@friskit.com>
8050 * Convert.cs: switched the To*(object) methods to use
8051 IConvertible directly instead of calling ChangeType
8053 Sat Apr 6 20:08:41 CEST 2002 Paolo Molaro <lupus@ximian.com>
8055 * ValueType.cs: make Equals() an internalcall.
8057 Fri Apr 5 15:38:54 CEST 2002 Paolo Molaro <lupus@ximian.com>
8059 * Type.cs: also look for nested types in FindMembers.
8060 * MonoType.cs: make GetNestedTypes() an internalcall.
8062 2002-04-05 Nick Drochak <ndrochak@gol.com>
8064 * Enum.cs (Parse): Handle different underlying types.
8066 2002/04/04 Nick Drochak <ndrochak@gol.com>
8068 * Enum.cs (IsDefined): Throw exception when type of value to look for
8069 is not the correct one. Attempt to have it work with string values
8070 too, but not sure if the unit tests are getting that far yet.
8072 2002-04-04 Nick Drochak <ndrochak@gol.com>
8074 * Decimal.cs: Fix a couple of typos.
8076 Wed Apr 3 19:46:00 CEST 2002 Paolo Molaro <lupus@ximian.com>
8078 * Enum.cs: the values array is of the enum and not of the underlying
8079 type. Updates and some bug fixes.
8080 * MonoType.cs: make the internalcall return FullName instead of the
8081 assembly qualified name.
8082 * Type.cs: make ToString () simply return FullName.
8084 2002-04-03 Nick Drochak <ndrochak@gol.com>
8086 * Type.cs (GetTypeCode): provide some of the implementation for this
8087 method. It's still too simplistic to be considered complete.
8089 2002-04-02 Dietmar Maurer <dietmar@ximian.com>
8091 * Object.cs: fixed FieldGetter/FieldSetter signature
8093 2002-04-02 Nick Drochak <ndrochak@gol.com>
8095 * Environment.cs: add MonoTODO's on parts that should have it.
8097 2002-04-01 Nick Drochak <ndrochak@gol.com>
8099 * Enum.cs: added reality checks (check parameters to most methods that
8102 2002-03-30 Dietmar Maurer <dietmar@ximian.com>
8104 * Object.cs: added FieldGetter/FieldSetter
8106 2002-03-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8108 * IntegerFormatter.cs: fixed initialization error in static
8111 2002-03-28 Dietmar Maurer <dietmar@ximian.com>
8113 * Delegate.cs: added new field to store a trampoline function
8115 2002-03-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8117 * IntegerFormatter.cs: added workaround for bug #22668. First patch to
8118 make custom format strings work (not fully functional yet).
8120 2002/03/28 Nick Drochak <ndrochak@gol.com>
8122 * IntegerFormatter.cs: Change class from internal to public. Add
8123 necessary [CLSCompliant(false)] attributes.
8125 2002-03-27 Duco Fijma <duco@lorentz.xs4all.nl>
8126 * _AppDomain.cs, AppDomain.cs: renamed method GetDate to GetData
8129 2002-03-28 Nick Drochak <ndrochak@gol.com>
8131 * Type.cs: Added MonoTODO tags on members that have FIXME, etc.
8133 2002-03-27 Dan Lewis <dihlewis@yahoo.co.uk>
8135 * Console.cs: Modified to get std handles from MonoIO.
8136 * Environment.cs: removed PAL dependencies.
8138 2002-03-25 Miguel de Icaza <miguel@ximian.com>
8140 * String.cs (System): Removed internal enumeration, because
8141 bootstrapping the corlib at this point does not support
8144 * IntPtr.cs: Temporary work-around until I fix the assembly
8147 2002-03-24 Martin Baulig <martin@gnome.org>
8149 * Enum.cs (GetValues): According to the docu this is sorted after
8152 * String.cs (System): Removed enumeration, because it is pretty
8153 hard to support enumerations in /nostdlib mode for the core types.
8155 Tue Mar 19 18:18:49 CET 2002 Paolo Molaro <lupus@ximian.com>
8157 * Array.cs: move error handling in the catch block.
8158 * MulticastDelegate.cs: remove == and != operators that were
8159 removed with the delegate changes (when you add stuff, please do not
8160 remove existing functionality!).
8161 * Type.cs: if a property is not found in a type, search for it
8162 in the parent types, too.
8164 2002-03-18 Dan Lewis <dihlewis@yahoo.co.uk>
8166 * Math.cs: changed to use icall instead of PAL.
8168 2002-03-18 Dietmar Maurer <dietmar@ximian.com>
8170 * Double.cs: added check for NaN (Bug [22082])
8172 2002-03-19 Nick Drochak <ndrochak@gol.com>
8174 * Enum.cs (Equals): check for null and throw if it is.
8175 * Enum.cs (Format): check for null parameters and throw if necessary.
8176 This method still needs more argument checking.
8178 2002-03-18 Dietmar Maurer <dietmar@ximian.com>
8180 * Enum.cs (Equals): check if Enums are of the same type
8182 2002-03-18 Nick Drochak <ndrochak@gol.com>
8184 * Double.cs: Explicitly handle comparisons in CompareTo() for
8185 Positive/Negative Infinity and NaN. Unit Test now passes on Linux.
8187 * Enum.cs(CompareTo): Check types of values before trying to compare.
8188 Throw exceptions if types are invalid or don't match.
8190 2002-03-14 Miguel de Icaza <miguel@ximian.com>
8192 * Array.cs: Add some extra debugging information.
8194 2002-03-15 Nick Drochak <ndrochak@gol.com>
8196 * Array.cs: Added IList and IEnumerable.
8198 2002-03-14 Miguel de Icaza <miguel@ximian.com>
8200 * UInt64.cs, UInt32.cs, UInt16.cs: Mark public parse methods as
8203 2002-03-14 Dietmar Maurer <dietmar@ximian.com>
8205 * Delegate.cs (Equals): also compare method_ptr
8206 (GetHashCode): returm method_ptr as hash
8208 2002-03-13 Duco Fijma <duco@lorentz.xs4all.n>
8209 * TimeSpan.cs: removed the use of Custom Numeric Format Strings,
8210 such as 42.ToString("0000000"), as these are (currently) not implemented
8211 in System.IntegerFormatter. TimeSpan luckely can do with Standard
8212 Numeric Format Strings, such as 42.ToString("D7").
8214 2002-03-12 Duncan Mak <duncan@ximian.com>
8216 * FieldAccessException.cs:
8217 * MethodAccessException.cs:
8218 * PlatformNotSupportedException.cs: Inherit from
8219 MemberAccessException, not SystemException.
8221 * ObsoleteAttribute.cs: Made Message and IsError properties
8224 Tue Mar 12 19:21:18 CET 2002 Paolo Molaro <lupus@ximian.com>
8226 * GC.cs: make SuppressFinalize() a nop.
8227 * Delegate.cs: fix == operator.
8229 2002-03-13 Nick Drochak <ndrochak@gol.com>
8231 * Enum.cs: Add IConvertible methods. Cyclic dependancy fixed in the
8232 runtime that goes with this patch.
8234 2002-03-10 Martin Baulig <martin@gnome.org>
8236 * Int32.cs (Parse): Correctly parse negative numbers.
8238 2002-03-08 Martin Baulig <martin@gnome.org>
8240 * String.cs (Split): Really fix it this time. Also adding several new
8241 testcase to the testsuite.
8243 2002-03-08 Martin Baulig <martin@gnome.org>
8245 * Array.cs (Copy): Optimized: removed duplicate null check, removed
8246 two duplicate GetLowerBound() calls and one duplicate IsValueType.
8248 Fri Mar 8 18:49:19 CET 2002 Paolo Molaro <lupus@ximian.com>
8250 * Object.cs: commit my hacked GetHashCode(): it's good enough for now.
8251 * String.cs: use the dumb code for IndexOf(string): this is worth
8252 15-20 % speedup in mcs compile with mint.
8254 Fri Mar 8 12:45:44 CET 2002 Paolo Molaro <lupus@ximian.com>
8256 * String.cs: revert change to Split() that broke the compiler (hi martin!:-).
8258 2002-03-07 Martin Baulig <martin@gnome.org>
8260 * String.cs (Join): Throw an ArgumentNullException.
8261 (LastIndexOf (string,int,int)): This method does a backwards search,
8262 so startIndex points to the end of value, not to its beginning. Don't
8263 throw an exception if startIndex equals this.Length. Always return -1
8264 if startIndex is smaller than the length of value.
8265 (Replace (string,string)): Replace all occurences of oldValue.
8266 If newValue is null, all occurences of oldValue are to be removed.
8267 (Split (char[],int)): Return an empty array if maxCount is zero, throw
8268 an ArgumentOutOfRangeException if it's less than zero. Return maxValue
8269 elements, not maxValue+1.
8271 Thu Mar 7 17:16:06 CET 2002 Paolo Molaro <lupus@ximian.com>
8273 * MonoType.cs: make GetEvents() an internal call.
8274 * MulticastDelegate.cs: copy the passed in array.
8276 2002-03-06 Martin Baulig <martin@gnome.org>
8278 * Array.cs (Copy): Use FastCopy when appropriate and do correct
8281 2002-03-06 Duco Fijma <duco@lorentz.xs4all.nl>
8282 * CharEnumerator.cs: fixes to CharEnumertor.MoveNext, fixing
8283 some of the failures found be new tests (see ChangeLog in
8284 Test/System). Comments added to this method, based on
8285 the representation invariant of this class, that (try to) explain
8286 why it now should be correct.
8288 2002-03-06 Dietmar Maurer <dietmar@ximian.com>
8290 * Int64.cs (Parse): bug fix for max. negative value.
8292 2002-03-07 Nick Drochak <ndrochak@gol.com>
8294 * RuntimeTypeHandle.cs: Add Serializable attribute as the docs say.
8295 I need to understand what the difference between the attribute and
8298 2002-03-06 Martin Baulig <martin@gnome.org>
8300 * Array.cs (Copy): Always throw an ArrayTypeMismatchException, not
8301 an InvalidCastException if the widening conversion failed. See
8302 testcases #M94-#M96.
8304 * Array.cs (CopyTo): Bug fix from Ajay Dwivedi, correctly handle
8305 arrays with non-zero lower bounds. Also adding testcases #F10-#F13
8308 * Array.cs (CopyTo): Reverted my last change, it was incorrect.
8309 (Copy): Actually allow copying multi-dimensional arrays.
8311 2002-03-05 Duncan Mak <duncan@ximian.com>
8314 (DBNull) Added the missing field.
8315 (IsDBNull) Fixed typo.
8316 (ToByte (string, int)) Implemented.
8317 (ToString (byte, int)) Implemented.
8319 (BuildConvertedString) internal functions used for converting values to
8327 * UInt32.cs: Implemented the IConvertible interface.
8329 * CharEnumerator.cs: Renamed to variables to be clearer and
8330 changed some of the tests to conform to the 1.0 spec.
8332 2002-03-06 Martin Baulig <martin@gnome.org>
8334 * Array.cs (Copy): Calculate absolute array position here and use
8335 GetValueImpl() and SetValueImpl() with that position. We can now
8336 copy multi-dimensional arrays.
8337 (CopyTo): Small bug fix.
8339 2002-03-05 Duco Fijma <duco@lorentz.xs4all.nl>
8341 * Version.cs: CompareTo changed according the LAMESPEC discovered by
8342 Nick (See VersionTest.cs).
8343 * CharEnumerator.cs: fixed two bugs in MoveNext. It had an off-by-one
8344 error comparing the current position (idx) against the length of the
8345 string iterated and it set idx to an unrecognized special value (-2)
8347 Tue Mar 5 17:34:14 CET 2002 Paolo Molaro <lupus@ximian.com>
8349 * SByte.cs, UInt64.cs: implement IConvertible interface. Nobody wants
8350 to do this dirty work, but someone has to do it (and I need it to pass
8351 the "200 sample tests compiled on linux" mark).
8353 2002-03-06 Nick Drochak <ndrochak@gol.com>
8356 * DecimalFormatter.cs
8363 * RuntimeMethodHandle.cs
8364 * RuntimeTypeHandle.cs
8367 Add [MonoTODO]'s to places where we currently throw a
8368 NotImplementedException.
8370 2002-03-05 Dietmar Maurer <dietmar@ximian.com>
8372 * Int16.cs (Parse): do not overflow on max negative value
8374 * Int32.cs (Parse): do not overflow on max negative value
8376 Mon Mar 4 20:36:05 CET 2002 Paolo Molaro <lupus@ximian.com>
8378 * Type.cs: fixed IsClass.
8379 * MonoType.cs: fixed MemberType, IsPrimitiveImpl, IsPointerImpl,
8380 IsByRefImpl. Added GetInterfaces().
8381 * IServiceProvider.cs: compilation fix.
8383 Mon Mar 4 18:37:03 CET 2002 Paolo Molaro <lupus@ximian.com>
8385 * Array.cs: allow copying an empty array to an empty array.
8387 Mon Mar 4 17:59:16 CET 2002 Paolo Molaro <lupus@ximian.com>
8389 * String.cs: fixed LastIndexOf (string) to do a bit of argument
8392 2002-03-04 Duco Fijma <duco@lorentz.xs4all.nl>
8393 * Version.cs: many fixes to failures found by the newly created
8394 test cases for this class. Specifically, the CompareTo member
8395 returned wrong values due to the use of Int32.MaxValue as a special
8396 value indicating an "undefined" version component. Also implemented the
8397 missing operators (==, <, >, etc.), one missing constructor and
8398 and some exception throwing.
8400 2002-03-04 Nick Drochak <ndrochak@gol.com>
8402 * IServiceProvider.cs: Add missing attribute: ComVisible(false)
8403 * Attribute.cs: Add missing attributes: Serializable and
8404 AttributeUsage(AttributeTargets.All)
8406 Mon Mar 4 11:26:49 CET 2002 Paolo Molaro <lupus@ximian.com>
8408 * MonoType.cs: implemented GetConstructors(), GetFields(),
8409 GetMethods(), GetProperties().
8410 * Object.cs: added debugging icall obj_address().
8411 * Type.cs: fixed the binding flags for some Get* methods.
8412 Implemented FindMembers() as calls to the specific GetMember
8415 2002-03-01 Duco Fijma <duco@lorentz.xs4all.nl>
8416 * BitConverter.cs: fixed one little bug: ToString(s, n, 0)
8417 should give an exception for n>=s.Length.
8419 2002-03-01 Martin Baulig <martin@gnome.org>
8421 * Array.cs: More argument checking and bug fixing.
8423 2002-03-01 Miguel de Icaza <miguel@ximian.com>
8425 * BitConverter.cs: Indentation match
8427 * AppDomain.cs: Added MonoTODOs to this too.
8429 * Buffer.cs: Added MonoTODOs to this.
8431 2002-03-01 Martin Baulig <martin@gnome.org>
8433 * Array.cs: Added argument checking to all methods where it was missing.
8435 2002-03-01 Duco Fijma <duco@lorentz.xs4all.nl>
8437 * BitConverter.cs: Fixed bugs in ToString methods
8439 Fri Mar 1 15:20:00 CET 2002 Paolo Molaro <lupus@ximian.com>
8441 * MulticastDelegate.cs: implement operators so mcs3 can be used on linux.
8443 2002-03-01 Nick Drochak <ndrochak@gol.com>
8445 * BitConverter.cs: Throw ArgumentException like mscorlib, instead of
8446 ArgumentOutOfRangeException like the docs say.
8448 2002-03-01 Martin Baulig <martin@gnome.org>
8450 * Enum.cs (CompareTo): Correctly override this method from IComparable.
8452 * Console.cs (setIn, setOut, setError): It's called SetIn, SetOut, SetError.
8454 2002-02-28 Martin Baulig <martin@gnome.org>
8456 * String.cs: This file now passes the testsuite on Linux :-)
8458 * String.cs (Intern, IsInterned): The interncalls are now called _Intern and _IsInterned;
8459 make them private and provide C# wrappers which do proper argument checking.
8461 * String.cs (Format): Correctly handle escaped brackets.
8463 * String.cs (_CompareChar): New internal function which compares two chars.
8464 (_Compare): Provide an internal compare method which can do all sorts of
8465 comparision and call it from all the Compare() methods. Also fixed a lot of
8466 bugs here, this code now actually passes the testsuite.
8468 2002-02-28 Duncan Mak <duncan@ximian.com>
8470 * Convert.cs: Added the missing methods. The new class status page
8471 kicks ass, it even found my typos! Woohoo!
8472 (ConvertFromBase): Moved the Exception throwing in here and
8473 removed the other occurances so it's all centralized now.
8474 (ISDBNull): Implemented.
8475 (GetTypeCode): Implemented.
8477 2002-02-27 Duco Fijma <duco@lorentz.xs4all.nl>
8478 * Guid.cs: Guid.ToString("") and Guid.ToString(null) is now understood as Guid.ToString("D")
8479 just as in mscorlib. There is (probably) a documentation bug in the MS FrameWork SDK, which
8480 states that a lacking format should be interpreted as "N".
8481 Also added [Serializable] attribute
8482 * TimeSpan.cs: some formatting and added the [Serializable] attribute
8484 2002-02-26 Duncan Mak <duncan@ximian.com>
8486 * WeakReference.cs: Committed for Ajay Kumar Dwivedi.
8488 2002-02-26 Martin Baulig <martin@gnome.org>
8490 * TimeZone.cs: Use an internal enum rather than magic numbers to access the
8491 fields of the interncall GetTimeZoneData.
8493 * DateTime.cs: Implemented Parse and fixed a few bugs.
8495 * String.cs (TrimStart): Small fix.
8497 2002-02-26 Martin Baulig <martin@gnome.org>
8499 * DateTime.cs: ParseExact is now fully functional.
8501 * String.cs (TrimEnd): Small fix.
8503 2002-02-26 Duco Fijma <duco@lorentz.xs4all.nl>
8504 * TimeSpan.cs: Added method TimeSpan.FromMilliseconds, mysteriously
8505 missing for about six months.
8507 Tue Feb 26 14:21:19 CET 2002 Paolo Molaro <lupus@ximian.com>
8509 * UInt64.cs: fixed Parse method () to handle some of the NumberStyle flags.
8511 2002-02-26 Martin Baulig <martin@gnome.org>
8513 * DateTime.cs: Miguel already committed this, but there was still a
8514 ChangeLog entry for this missing ....
8515 We're now reusing functionality from TimeSpan, printing dates is
8516 fully implemented, currently working on parsing.
8518 * TimeZone.cs: Fully implemented this. There's a new InternCall in the
8521 Fri Feb 22 18:47:08 CET 2002 Paolo Molaro <lupus@ximian.com>
8523 * MonoType.cs: disable constructor.
8524 * Object.cs: make GetType() an internalcall.
8525 * Type.cs: added correct bindingflags to GetMethods ().
8526 All such calls should be reviewed to use the correct flags.
8528 Thu Feb 21 19:23:46 CET 2002 Paolo Molaro <lupus@ximian.com>
8530 * Type.cs, MonoType.cs: type_is_subtype_of () changed to include extra
8533 Thu Feb 21 16:56:51 CET 2002 Paolo Molaro <lupus@ximian.com>
8535 * Type.cs: implemented IsAssignableFrom.
8537 2002-02-21 Duco Fijma <duco@lorentz.xs4all.nl>
8538 * Guid.cs: fixed Guid.Guid(string) ctor. Changed format:
8539 "{0xdddddddd,0xdddd,0xdddd,{0xdd},{0xdd},{0xdd},{0xdd},{0xdd},{0xdd}}"
8540 to "{0xdddddddd,0xdddd,0xdddd,{0xdd,0xdd,0xdd,0xdd,0xdd,0xdd}}"
8541 The former is documented by Microsoft. The latter is how they
8542 actually implemented it in mscorlib:-)
8544 Tue Feb 19 20:34:35 CET 2002 Paolo Molaro <lupus@ximian.com>
8546 * MonoCustomAttrs.cs: hooks to get the custom attributes from the
8548 * MonoType.cs: Implemented custom attributes methods.
8551 2002-02-21 Duco Fijma <duco@lorentz.xs4all.nl>
8554 Tue Feb 19 20:34:35 CET 2002 Paolo Molaro <lupus@ximian.com>
8556 * MonoCustomAttrs.cs: hooks to get the custom attributes from the
8558 * MonoType.cs: Implemented custom attributes methods.
8560 2002-02-19 Dietmar Maurer <dietmar@ximian.com>
8562 * Array.cs (CopyTo): use GetLength() instead of GetUpperBound()
8564 2002-02-19 Duncan Mak <duncan@ximian.com>
8566 * Convert.cs: Finished up the missing methods in Convert. Added a
8567 new private method ConvertFromBase.
8569 2002-02-19 Dietmar Maurer <dietmar@ximian.com>
8571 * String.cs: impl. IConvertible interface
8573 2002-02-18 Duco Fijma <duco@lorentz.xs4all.nl>
8574 * Guid.cs: actual implementation for Guid.Guid(string) Ctor
8576 2002-02-18 Duncan Mak <duncan@ximian.com>
8578 * Convert.cs: Changed from using Type.GetType (string) to just
8579 typeof (). Probably will speed things up a bit?
8581 2002-02-18 Ajay Kumar Dwivedi <AjayKumar.Dwivedi@dresdner-bank.com>
8584 1. Fix for GetUpperBound to return correct values
8585 2. made some Properties virtual
8586 3. Adds IsFixedSize and IsReadOnly properties.
8587 4. changes CreateInstance(Type,int[],int[]) to throw Exception
8588 when third arg is null. InternalCall CreateInstance changed to
8590 5. Fixed array.GetUpperBound at a couple of places
8591 6. IndexOf and LastIndexOf now use Object.Equals instead of "=="
8592 7. Added two FIXME's in BinarySearch functions.
8594 2002-02-17 Duncan Mak <duncan@ximian.com>
8596 * TimeZone.cs: Applied the rest of Ajay's patch for
8597 IsDaylightSavingTime. Thanks a lot for the nice explanation of how
8600 2002-02-17 Duco Fijma <duco@lorentz.xs4all.nl>
8601 * Guid.cs: added stub for Guid(string) ctor
8603 2002-02-17 Duncan Mak <duncan@ximian.com>
8605 * Convert.cs: Near-complete implementation of Convert.cs
8607 Added all the To* methods taking (object) and
8608 (object, IFormatProvider) as parameters.
8610 Added [CLSCompliant (false)] attributes to methods dealing with
8613 Added the missing section on converting to and from DateTime. Only
8614 6 missing methods, all marked with MonoTODOs. Will tackle them later.
8616 2002-02-16 Duncan Mak <duncan@ximian.com>
8618 * TimeZone.cs: patch from Ajay Kumar Dwivedi (adwiv@yahoo.com) to
8619 make IsDaylightSavingTime (DateTime) call
8620 IsDaylightSavingTime (DateTime, DaylightTime).
8622 Added internal class CurrentTimeZone from Ajay. It needs more work
8623 to fill in the appropriate internal calls.
8625 Sat Feb 16 12:41:41 CET 2002 Paolo Molaro <lupus@ximian.com>
8627 * Type.cs: fix IsClass.
8629 Sat Feb 16 12:02:02 CET 2002 Paolo Molaro <lupus@ximian.com>
8631 * String.cs: fix Trim().
8633 Fri Feb 15 21:02:46 CET 2002 Paolo Molaro <lupus@ximian.com>
8635 * String.cs: fix more off by one errors.
8637 Thu Feb 14 18:54:09 CET 2002 Paolo Molaro <lupus@ximian.com>
8639 * MonoType.cs: fix IsValueTypeImpl.
8640 * Type.cs: fix IsEnum. Implement Equals methods.
8642 Wed Feb 13 21:50:13 CET 2002 Paolo Molaro <lupus@ximian.com>
8644 * Int32.cs: implement IConvertible interface.
8646 2002-02-12 Duncan Mak <duncan@ximian.com>
8648 * TimeZone.cs: Implemented and added to CVS.
8650 2002-02-11 Duncan Mak <duncan@ximian.com>
8652 * Convert.cs: Implemented the ChangeType () methods.
8654 Mon Feb 11 19:48:58 CET 2002 Paolo Molaro <lupus@ximian.com>
8656 * Array.cs: make Clone() an internal call.
8658 2002-02-09 Duco Fijma <duco@lorentz.xs4all.nl>
8659 * Changed Guid.NewGuid so that it can use both System.Random and
8660 System.Security.Cryptography.RandomNumberGenerator
8662 2002-02-09 Duco Fijma <duco@lorentz.xs4all.nl>
8663 * First version of Guid.NewGuid
8665 2002-02-08 Duncan Mak <duncan@ximian.com>
8667 * RuntimeArgumentHandle.cs: Added to CVS.
8669 Fri Feb 8 19:14:54 CET 2002 Paolo Molaro <lupus@ximian.com>
8671 * CrossAppDomainDelegate.cs, AssemblyLoadEventHandler.cs,
8672 UnhandledExceptionEventHandler.cs: added delegates.
8674 Fri Feb 8 18:06:20 CET 2002 Paolo Molaro <lupus@ximian.com>
8676 * MarshalByRefObject.cs: add ToString () method
8677 (apparently needed by nunit).
8678 * _AppDomain.cs: uncomment ToString(): dietmar fixed the bug triggered
8679 by it in the runtime.
8681 2002-02-08 Dan Lewis <dihlewis@yahoo.co.uk>
8683 * String.cs (Format): implemented
8685 2002-02-07 Duncan Mak <duncan@ximian.com>
8687 * DuplicateWaitObjectException:
8688 * InvalidCastException:
8689 * NotImplementedException:
8690 * NotSupportedException:
8691 * NullReferenceException:
8692 * OutOfMemoryException:
8693 * OverflowException:
8695 * StackOverflowException.cs:
8696 * UnauthorizedAccessException: Added missing constructor used for serialization.
8698 2002-02-07 Dietmar Maurer <dietmar@ximian.com>
8700 * String.cs (System.Compare): bug fix
8702 2002-02-06 Dietmar Maurer <dietmar@ximian.com>
8704 * Enum.cs (Parse, GetHashCode): impl.
8706 2002-02-05 Duncan Mak <duncan@ximian.com>
8708 * DBNull.cs: This is my first crack at the DBNull class. I think I
8709 actually got most of the IConvertible methods right, but I haven't
8710 done the research to test whether or not this is the correct
8711 behavior. IConvertible.ToType () is the most iffy of all, IMHO.
8713 * DllNotFoundException.cs: Inherits from TypeLoadException, not SystemException.
8715 2002-02-05 Dietmar Maurer <dietmar@ximian.com>
8717 * Enum.cs: added more functionality (GetName, ToObject, Equals)
8719 2002-01-31 Duncan Mak <duncan@ximian.com>
8721 * InvalidOperationException.cs:
8722 * NotFiniteNumberException.cs:
8723 * ObjectDisposedException.cs:
8724 * TypeInitializationException.cs: Added missing bits for serialization/
8726 * AppDomainUnloadedException.cs:
8727 * ApplicationException.cs:
8728 * ArgumentOutOfRangeException.cs:
8729 * ArithmeticException.cs:
8730 * ArrayTypeMismatchException:
8731 * BadImageFormatException.cs:
8733 * MissingMemberException.cs:
8734 * TypeLoadException.cs: Added missing bits for serialization.
8736 2002-01-30 Duco Fijma <duco@lorentz.xs4all.nl>
8737 * Guid.cs: implemented everything but Guid.NewGuid
8739 Tue Jan 29 22:32:36 CET 2002 Paolo Molaro <lupus@ximian.com>
8741 * _AppDomain.cs: remove ToString() method: it doesn't seem right
8742 to have it in this interface and it screws up the method vtable setup.
8744 2002-01-28 Andrei Zmievski <andrei@php.net>
8746 * Double.cs: implemented IConvertible interface.
8748 2002-01-28 Miguel de Icaza <miguel@ximian.com>
8750 * ArgumentException.cs: Implement serialization constructor.
8751 (GetObjectData): Implement serializer.
8753 * ArgumentNullException.cs: Implement serialization constructor.
8755 * Exception.cs: Implement serialization constructor.
8756 (GetObjectData): Implement serializer.
8758 2002-01-23 Miguel de Icaza <miguel@ximian.com>
8760 * DateTime.cs (UnixEpoch): The Begining of the Unix epoch.
8762 2002-01-23 Duncan Mak <duncan@ximian.com>
8764 * EntryPointNotFoundException.cs:
8765 * FormatException: Added missing constructor and related bits.
8767 * TypeLoadException: Added missing constructor, methods and properties.
8769 2002-01-23 Miguel de Icaza <miguel@ximian.com>
8771 * AppDomain.cs (GetAssemblies): Use foreach construct instead of
8772 manually getting the enumerator.
8774 (AppDomain.AppDomain): Prime the loaded assemblies with the
8775 assemblies loaded by the runtime in our behalf.
8777 * AppDomainSetup.cs: Remove private keyword, that is the default.
8778 Add a new property DisallowPublisherPolicy.
8780 * AppDomain.cs (AppDomain.GetAssemblies): Implement.
8782 Tue Jan 22 22:51:48 CET 2002 Paolo Molaro <lupus@ximian.com>
8784 * MonoType.cs, Type.cs: many updates, corrected implementation,
8787 2002-01-20 Andrei Zmievski <andrei@php.net>
8790 * Char.cs: implemented IConvertible interface.
8792 * Boolean.cs: use our own ToString() method directly.
8794 2002-01-20 Duncan Mak <duncan@ximian.com>
8796 * Files I commited recently: Fixed indentation style.
8798 2002-01-20 Nick Drochak <ndrochak@gol.com>
8800 * SerializableAttribute.cs: this attrib can be used on enums, structs,
8801 and delegates too. Added the appropriate usage flags.
8803 2002-01-18 Duncan Mak <duncan@ximian.com>
8805 * CharEnumerator.cs: Implemented.
8806 * String.cs (System): Fixed the GetEnumerator () method(s).
8808 * ObsoleteAttribute.cs:
8809 * STAThreadAttribute.cs:
8810 * MTAThreadAttribute.cs:
8811 * ThreadStaticAttribute.cs:
8812 * LoaderOptimizationAttribute.cs:
8813 * PlatformNotSupportedException.cs:
8814 * LoaderOptimization.cs: Added to CVS.
8816 2002-01-18 Duncan Mak <duncan@ximian.com>
8818 * AppDomainUnloadedException.cs:
8819 * MethodAccessException.cs:
8820 * ContextMarshalException.cs:
8821 * CannotUnloadAppDomainException.cs:
8822 * DllNotFoundException.cs:
8823 * EntryPointNotFoundException.cs:
8824 * FieldAccessException.cs:
8825 * TypeUnloadedException.cs:
8826 * MissingFieldException.cs: Added to CVS.
8828 * ApplicationException.cs:
8829 * MemberAccessException.cs:
8830 * MissingMemberException.cs
8831 * MissingMethodException.cs:
8832 * SystemException.cs: Added [Serializable] attribute.
8834 * Exception.cs: Added [Serializable] attribute, made properties
8835 'Message', 'Source' and 'StackTrace' virtual methods, per 1.0
8838 * ContextStaticAttribute.cs: Added [Serializable] attribute and
8839 put in the missing constructor.
8841 * Environment.cs: Commented out references to
8842 EnvironmentPermissionAttribute, because they're just stubbed out
8843 right now and has no implementation.
8845 2002-01-16 Andrei Zmievski <andrei@php.net>
8847 * Boolean.cs: implemented IConvertible interface
8849 2002-01-15 Nick Drochak <ndrochak@gol.com>
8851 * ResolveEventArgs.cs: class should derive from EventArgs.
8853 2002-01-14 Miguel de Icaza <miguel@ximian.com>
8855 * String.cs (System): Use DefaultMemberName for the String class.
8857 Mon Jan 14 17:06:40 CET 2002 Paolo Molaro <lupus@ximian.com>
8859 * String.cs: use IndexerName in index char accessor.
8861 Thu Jan 10 21:05:23 CET 2002 Paolo Molaro <lupus@ximian.com>
8863 * MonoType.cs: add rank to MonoTypeInfo and implement GetArrayRank.
8864 * String.c: eliminate 64k+ method calls in search.
8865 * Type.cs: handle byref and array types in ToString ().
8867 2002-01-09 Duco Fijma <duco@lorentz.xs4all.nl>
8869 * Guid.cs: created first version
8871 2002-01-10 Dietmar Maurer <dietmar@ximian.com>
8873 * MonoType.cs: added missing TypeAttributes to MonoTypeInfo
8875 Wed Jan 9 19:35:07 CET 2002 Paolo Molaro <lupus@ximian.com>
8877 * MulticastDelegate.cs: add == and != operator stubs.
8878 * String.cs: check for null in == operator.
8879 * Type.cs: use a virtual method to get TypeAttributes.
8881 Tue Jan 8 23:30:19 EST 2002 Matt Kimball <matt@kimball.net>
8882 * String.cs: Fixed several off-by-one errors in LastIndexOf* methods
8884 2002-01-09 Nick Drochak <ndrochak@gol.com>
8886 * Environment.cs: Comment out Security attribute and put a MonoTODO
8887 there as a reminder. We need mcs magic to handle security attributes in
8890 2002-01-07 Duco Fijma <duco@lorentz.xs4all.nl>
8891 * Created IAppDomainSetup.cs
8893 2002-01-06 Duco Fijma <duco@lorentz.xs4all.nl>
8894 * Created System._AppDomain interface in _AppDomain.cs
8896 2002-01-06 Nick Drochak <ndrochak@gol.com>
8898 * ResolveEventArgs.cs: New File, completely implemented! ;)
8900 Sat Jan 5 15:53:50 CET 2002 Paolo Molaro <lupus@ximian.com>
8902 * Enum.cs: dummy ToString impl.
8903 * String.cs: dummy format implementations to get compiler errors
8905 * Type.cs: implemented filter delegates. FindMembers runs the filter, now.
8907 2002-01-05 Ravi Pratap <ravi@ximian.com>
8909 * TODOAttribute.cs : Augment some more; provide two constructors
8910 with support for a comment too.
8912 2002-01-05 Nick Drochak <ndrochak@gol.com>
8914 * Uncommented those MonoTODO's now that Ravi's got
8917 2001-01-04 Ravi Pratap <ravi@ximian.com>
8919 * TODOAttribute.cs : Actually add this time ;-)
8921 Change name to MonoTODO.
8923 2002-01-04 Jeffrey Stedfast <fejj@ximian.com>
8925 * String.cs (Trim): Fixed a few logic bugs in the code that
8926 calculated how much to trim off the end of the string.
8928 2001-01-04 Nick Drochak <ndrochak@gol.com>
8930 * Commented out the [TODO] attributes for now. We don't have the
8931 class written. Also changed it to [MonoTODO]
8933 2002-01-04 Ravi Pratap <ravi@ximian.com>
8935 * TODOAttribute.cs : Add. We use this attribute to tag all bits in
8936 our class libraries that are incomplete.
8938 * Array.cs : Apply attribute wherever we find a FIXME which says
8939 we need something to be implemented there.
8943 * MulticastDelegate.cs : Ditto.
8945 * RuntimeFieldHandler.cs, RuntimeMethodHandle.cs,
8946 RuntimeTypeHandle.cs : Ditto.
8948 * String.cs : Ditto.
8952 * Byte.cs, Char.cs, ContextBoundObject.cs, DateTime.cs, Delegate.cs : Ditto.
8954 * Enum.cs, Environment.cs, Exception.cs, Int64.cs, SByte.cs, Single.cs,
8955 UInt16.cs, UInt32.cs, ValueType.cs: Ditto.
8957 * Byte.cs, Char.cs, ContextBoundObject.cs, DateTime.cs,
8958 Delegate.cs : Ditto.
8960 * Enum.cs, Environment.cs, Exception.cs, Int64.cs, SByte.cs,
8961 Single.cs, UInt16.cs, UInt32.cs, ValueType.cs: Ditto.
8963 Thu Jan 3 23:24:04 CET 2002 Paolo Molaro <lupus@ximian.com>
8965 * Delegate.cs: add Remove() stub.
8966 * Enum.cs: add ToObject().
8967 * Type.cs: add IsEnum property.
8969 2002-01-03 Kristian Rietveld <kris@gtk.org>
8971 * Convert.cs: add non-CLS-compliant ToBoolean methods for char,
8972 DateTime and object.
8974 2001-12-30 Nick Drochak <ndrochak@gol.com>
8976 * Byte.cs (Parse): Add comments to aid in testing.
8978 2001-12-21 Miguel de Icaza <miguel@ximian.com>
8980 * Char.cs (Parse): Implement.
8982 * Byte.cs (Parse): Implement a fast parser.
8984 * SByte.cs (Parse): Implement a fast parser.
8986 * UInt16.cs (Parse): Implement a fast parser.
8988 * Int16.cs (Parse): Implement a fast parser.
8990 * UInt32.cs (Parse): Implement a fast parser.
8992 * Int32.cs (Parse): Implement a fast parser.
8994 Fri Dec 21 15:14:52 CET 2001 Paolo Molaro <lupus@ximian.com>
8996 * Array.cs: fix null ref in sort code.
8997 * UInt64.cs: add bare-bones parse.
8999 Thu Dec 20 15:29:52 CET 2001 Paolo Molaro <lupus@ximian.com>
9001 * Byte.cs: removed use of Regexes.
9003 Tue Dec 18 18:39:54 CET 2001 Paolo Molaro <lupus@ximian.com>
9005 * Enum.cs: implemented GetValues(), GetNames(), GetName(),
9006 IsDefined(), GetUnderlyingType().
9007 * String.cs: fix one instance of Compare().
9008 * Type.cs: implemented GetProperties(), GetProperty().
9010 Thu Dec 13 20:10:57 CET 2001 Paolo Molaro <lupus@ximian.com>
9012 * Array.cs: implement CopyTo ().
9013 * Char.cs: implement ToString ().
9014 * Exception.cs: bugfix.
9015 * Int32.cs: bare-bones Parse ().
9016 * MonoType.cs: query the needed info with an internalcall.
9017 * String.cs: speedups, bugfixes, reduced copies.
9018 * Type.cs: added missing fields. Implemented many of the Is*
9019 properties. Implemented GetMethod(), GetConstructor(), GetMethods(),
9020 GetFields(), FindMembers(), ToString().
9022 2001-12-11 Dick Porter <dick@ximian.com>
9024 * DateTime.cs: Implemented FromFileTime() and ToFileTime()
9026 * Console.cs: Use handles rather than casting file descriptors
9028 2001-12-08 Nick Drochak <ndrochak@gol.com>
9030 * Byte.cs (Parse): Start implementation. Parse(string) works, but
9031 now we need to handle other formats
9033 2001-12-06 Dietmar Maurer <dietmar@ximian.com>
9035 * DateTime.cs: added an icall to GetNow()
9037 2001-12-04 Dietmar Maurer <dietmar@ximian.com>
9039 * Double.cs: added the parse method from Bob Smith
9041 2001-11-28 Miguel de Icaza <miguel@ximian.com>
9047 * Int32.cs (Int32.CompareTo): Fix because we can not just
9048 substract the values.
9050 Return possitive value if the object is null.
9052 * Boolean.cs: (Boolean.CompareTo): ditto.
9054 * Int16.cs (Int16.CompareTo): ditto.
9056 * Byte.cs (Byte.CompareTo): ditto.
9058 * SByte.cs (SByte.CompareTo): ditto.
9060 * Char.cs (Char.CompareTo): ditto.
9062 * Decimal.cs (Decimal.CompareTo): ditto.
9064 * Int64.cs (Int64.CompareTo): ditto.
9070 2001-11-28 Nick Drochak <ndrochak@gol.com>
9072 * Byte.cs: Throw NotImplementedException for Parse.
9074 2001-11-27 Derek Holden <dholden@draper.com>
9076 * IntegerFormatter.cs: Formatting of type "Number" was not
9077 using NumberFormatInfo.NumberNegativePattern.
9079 2001-11-26 Dick Porter <dick@ximian.com>
9081 * LocalDataStoreSlot.cs: No need to delete a system TLS slot in
9082 the finalise routine any more
9084 2001-11-21 Miguel de Icaza <miguel@ximian.com>
9086 * ApplicationException.cs: internationalize by adding calls to
9087 Locale.GetText (). And throw NotImplementedExceptions on calls
9088 that we have to implement.
9090 * Version.cs: Ditto.
9092 * ValueType.cs: ditto.
9094 * UnauthorizedAccessException.cs: ditto.
9102 * TypeLoadException.cs: ditto
9104 * TypeInitializationException.cs: ditto.
9108 * TimeSpan.cs: ditto.
9110 * SystemException.cs: ditto.
9114 * StackOverflowException.cs: ditto.x
9120 * RuntimeTypeHandle.cs: ditto.
9122 * RuntimeMethodHandle.cs: ditto.
9124 * RuntimeFieldHandle.cs: ditto.
9128 * OutOfMemoryException.cs: ditto.
9130 * OperatingSystem.cs: ditto.
9132 * ObjectDisposedException.cs: ditto.
9134 * NullReferenceException.cs: ditto.
9136 * NotImplementedException.cs: ditto.
9138 * NotFiniteNumberException.cs: ditto.o
9140 * MulticastNotSupportedException.cs: ditto.
9142 * MissingMethodException.cs: ditto.
9144 * MemberAccessException.cs: ditto.
9148 * InvalidCastException.cs: ditto.
9150 * IntegerFormatter.cs: ditto.
9156 * IndexOutOfRangeException.cs: ditto.
9158 * Environment.cs: ditto
9162 * DuplicateWaitObjectException.cs: ditto.
9164 * DivideByZeroException.cs: ditto.
9166 * Delegate.cs: ditto
9168 * DecimalFormatter.cs: ditto.
9170 * Decimal.cs: ditto.
9172 * DateTime.cs: ditto.
9174 * Convert.cs: ditto.
9180 * Boolean.cs: ditto.
9182 * ArrayTypeMismatchException.cs: ditto.
9184 * ArithmeticException.cs: ditto.
9186 * ArgumentOutOfRangeException.cs: ditto.
9188 * ArgumentNullException.cs: ditto.
9190 * Enum.cs: Make it derive from ValueType, add CompareTo method.
9192 * Attribute.cs: Reformat.
9194 2001-11-14 Miguel de Icaza <miguel@ximian.com>
9196 * Decimal.cs, Double.cs, Byte.cs, Char.cs, Int16, UInt16, Int32,
9197 UInt32, Int64, UInt64, SByte, Single (CompareTo): Throw the
9198 exception if the value is null too.
9200 * Char.cs (CompareTo): ditto.
9202 * ApplicationException.cs: Added constructor that does serialization.
9204 * ParamArrayAttribute.cs: Define attribute correctly.
9206 Wed Nov 14 16:31:19 CET 2001 Paolo Molaro <lupus@ximian.com>
9208 * AppDomain.cs: rename dummy interface _AppDomain to AppDomain_Intf.
9209 * Array.cs: fix Array.Copy.
9210 * AssemblyLoadEventArgs.cs: rename field.
9211 * CLSCompliantAttribute.cs: use correct name for the class.
9212 * Char.cs: fix IsLetter.
9213 * Console.cs, DateTime.cs, Decimal.cs, IConvertible.cs, Math.cs,
9214 SByte.cs, UInt16.cs, UInt32.cs, UInt64.cs, UIntPtr.cs: CLSCompliant updates.
9215 * Convert.cs: CLSCompliant updates, add ChangeType() methods.
9216 * Delegate.cs: renamed target field to m_target.
9217 * Enum.cs: added missing methods.
9218 * MonoType.cs: add a constructor and some needed properties.
9219 * Object.cs: implement GetType().
9220 * String.cs: CLSCompliant updates. Fixes everywhere to remove the
9222 * Type.cs: add missing methods/properties.
9224 2001-11-10 Sean MacIsaac <macisaac@ximian.com>
9226 * AttributeUseage.cs: Should define AttributeUsageAttribute.
9228 * CLSCompliant.cs: Marked with AttributeUsage attribute.
9230 * Decimal.cs: Fixed CLSCompliant attributes.
9232 * Type.cs: changed _impl to internal (needs to be accessable by
9235 (TypeHandle): Marked as abstract, implementation removed.
9237 (IsNotPublic, IsPublic, GetMethods, GetPropery, GetConstructor,
9238 GetMethod): Added stub implementations so NUnit would link against
9241 Tue Nov 6 09:11:43 CET 2001 Paolo Molaro <lupus@ximian.com>
9243 * AppDomain.cs: use an internal constructor for AssemblyBuilder.
9245 2001-11-05 Miguel de Icaza <miguel@ximian.com>
9247 * NonSerializedAttribute.cs: Add AttributeUsage rules for this
9250 Fri Nov 2 18:23:15 CET 2001 Paolo Molaro <lupus@ximian.com>
9252 * String.cs: fix a couple of bugs.
9253 * AppDomain.cs: use new AppBuilder constructor.
9254 * Buffer.cs, GC.cs, NonSerializedAttribute.cs,
9255 NotImplementedException.cs, ObjectDisposedException.cs,
9256 UnauthorizedAccessException.cs: add implementation.
9257 * OverflowException.cs: fix class name.
9259 2001-10-28 Jeffrey Stedfast <fejj@ximian.com>
9261 * String.cs: Don't use a terminating nil char for our internal
9264 2001-10-27 Miguel de Icaza <miguel@ximian.com>
9266 * Delegate.cs (Delegate.CombineImpl): Implement.
9267 (Delegate.Combine): Implement.
9269 * MulticastDelegate.cs (MulticastDelegate.Equals): Implement.
9271 (MulticastDelegate.CombineImpl): This was not as trivial as I
9274 * ContextStaticAttribute.cs: Added AttributeUsage to
9275 ContextStaticAttribute.
9277 * FlagsAttribute.cs: Add AttributeUsage to FlagsAttribute
9279 2001-10-15 Martin Weindel <martin.weindel@t-online.de>
9281 * added Decimal.cs * added DecimalFormatter.cs (internal class
9282 used from System.Decimal)
9284 2001-10-11 Thomas Neidhart <tome@sbox.tugraz.at>
9286 * Convert.cs: Added methods for Base64 transforming just used the
9287 existing System.Security.Cryptography.ToBase64Transform, should
9288 be changed to use a stand-alone class, e.g. Base64Encoder
9290 2001-10-10 Derek Holden <dholden@draper.com>
9292 * IntegerFormatter.cs: Added. Implements ToString for all the
9293 integer data types for all the format types.
9295 * Byte.cs: Using IntegerFormatter for ToString's.
9297 * SByte.cs: Using IntegerFormatter for ToString's.
9299 * Int16.cs: Using IntegerFormatter for ToString's.
9301 * Int32.cs: Using IntegerFormatter for ToString's.
9303 * Int64.cs: Using IntegerFormatter for ToString's.
9305 * UInt16.cs: Using IntegerFormatter for ToString's.
9307 * UInt32.cs: Using IntegerFormatter for ToString's.
9309 * UInt64.cs: Using IntegerFormatter for ToString's.
9311 2001-10-07 Miguel de Icaza <miguel@ximian.com>
9313 * Exception.cs: Implement bits of serialization.
9315 * RuntimeFieldHandle.cs: Implement Serialization features.
9317 * Type.cs: Implement TypeHandle property.
9319 2001-09-28 Dick Porter <dick@ximian.com>
9321 * LocalDataStoreSlot.cs: Implemented
9323 Tue Sep 25 19:58:14 CEST 2001 Paolo Molaro <lupus@ximian.com>
9325 * String.cs: fix off-by-one error in Trim().
9327 Tue Sep 25 18:52:14 CEST 2001 Paolo Molaro <lupus@ximian.com>
9329 * Type.cs: added GetType () method.
9331 Tue Sep 25 17:29:02 CEST 2001 Paolo Molaro <lupus@ximian.com>
9333 * MissingMethodException.cs, MissingMemberException.cs,
9334 MemberAccessException.cs: added.
9336 Tue Sep 25 16:46:43 CEST 2001 Paolo Molaro <lupus@ximian.com>
9338 * String.cs: don't access the string array out of bounds in
9339 LastIndexOf. * Type.cs: fix return type of the Assembly property.
9341 Mon Sep 24 20:35:24 CEST 2001 Paolo Molaro <lupus@ximian.com>
9343 * String.cs: make Intern and IsIntern internalcalls.
9345 2001-09-13 Dick Porter <dick@ximian.com>
9347 * Type.cs: Added a stub for the IsValueType property.
9349 * SystemException.cs (System): Added the other constructor, so
9350 that System.Threading exceptions can inherit it.
9352 2001-09-08 Jeffrey Stedfast <fejj@ximian.com>
9354 * String.cs (TrimStart): Don't keep looping through the trimchars
9355 once we've found a match.
9356 (TrimEnd): Same here.
9357 (Trim): And finally here.
9359 2001-09-07 Ravi Pratap <ravi@ximian.com>
9361 * Char.cs (IsLetterOrDigit): Implement.
9362 (IsLower): Implement, but we need to be Unicode aware.
9363 (IsNumber): Implement.
9364 (IsPunctuation): Implement.
9365 (IsWhiteSpace): Implement.
9366 (ToUpper): Fix to subtract 32 from the ASCII value, not 33 :)
9367 (ToLower): Same here.
9369 2001-09-04 Miguel de Icaza <miguel@ximian.com>
9371 * Object.cs: Shortcut, if (a == b) then return true.
9373 Fri Sep 7 18:34:48 CEST 2001 Paolo Molaro <lupus@ximian.com>
9375 * Delegate.cs: we need a pointer to the method thunk in
9376 the delegate object.
9378 Fri Sep 7 12:28:01 CEST 2001 Paolo Molaro <lupus@ximian.com>
9380 * AsyncCallback.cs, common.src: add AsyncCallback delegate.
9382 2001-09-06 Jeffrey Stedfast <fejj@ximian.com>
9384 * String.cs (System): Don't mix uint and int.
9386 2001-09-04 Jeffrey Stedfast <fejj@ximian.com>
9388 * String.cs (BoyerMoore): Modified to not use pointers and to instead
9390 (IndexOf): Use BoyerMoore.
9392 2001-09-02 Miguel de Icaza <miguel@ximian.com>
9394 * All over: Use the autogenerated enumerations from the ECMA
9395 documentation that Sergey wrote.
9397 * PlatformID.cs: Add Unix definition.
9399 * OperatingSystem.cs: Use Unix instead of Linux here.
9401 * MarshalByRefObject.cs: Mark class as [Serializable].
9403 2001-08-28 Dietmar Maurer <dietmar@ximian.com>
9405 * Console.cs: impl. (write only)
9406 implemented the stdin stuff
9408 * Int32.cs: impl. real op_Equal
9410 2001-08-24 Miguel de Icaza <miguel@ximian.com>
9412 * (common.src): Removed IAsyncResult as it is not on CVS yet.
9414 * UIntPtr.cs: Removed CLSCompliant attribute before the namespace,
9415 as it breaks the build.
9417 2001-08-23 Michael Lambert <michaellambert@email.com>
9419 * IntPtr.cs: Optimized unsafe declaration, implemented GetObjectData,
9420 added CLSCompliant attribute
9422 * IAsyncResult.cs: Added
9424 * common.src: Added IAsyncResult.cs
9426 2001-08-23 Michael Lambert <michaellambert@email.com>
9430 * common.src: Added UIntPtr.cs
9432 2001-08-20 Dietmar Maurer <dietmar@ximian.com>
9434 * Attribute.cs: uncomment some code to make it compile again
9436 * mono.src: removed duplicated Attribute.cs
9438 2001-08-16 Nick Drochak <ndrochak@gol.com>
9440 * Attribute.cs: implemented all methods except GetHashCode()
9442 * common.src: added Attribute.cs so it would compile in
9444 2001-08-10 Dietmar Maurer <dietmar@ximian.com>
9446 * Object.cs: changed MemberWiseClone to MemberwiseClone, and
9447 marked it as InternalCall
9449 * common.src: removed UriFormatException.cs because the file is
9452 * RuntimeTypeHandle.cs: replaced IntrPtr with IntPtr
9453 * Char.cs: replaced byte with char
9455 * Array.cs: make it work with the mono interpreter
9457 2001-08-06 Miguel de Icaza <miguel@ximian.com>
9459 * Version.cs: Make the class sealed
9461 2001-08-08 Bob Smith <bob@thestuff.net>
9463 * Random.cs: Many compile fixes.
9464 * Random.cs: I read a bad spec. Class updated to match real spec.
9466 2001-08-06 Miguel de Icaza <miguel@ximian.com>
9468 * IntPtr.cs: Added and Completed implementation.
9470 * Uri.cs: Add a note.
9472 2001-08-06 Bob Smith <bob@thestuff.net>
9474 * Random.cs: Compile fix. Needs more testing.
9476 2001-08-06 Garrett Rooney <rooneg@electricjellyfish.net>
9478 * Uri.cs: Initial Implementation. Parsing needs to be fixed to take
9479 into account IPv6 addresses, url encoding needs to be implemented, and
9480 various minor methods need to be written, but this is a decent start.
9482 2001-08-06 Dietmar Maurer <dietmar@ximian.com>
9484 * common.src: added Object.cs
9486 * mono.src: added ValueType.cs
9488 2001-08-02 Dietmar Maurer <dietmar@ximian.com>
9490 * Math.cs: replaced libc with libm
9492 2001-08-02 Bob Smith <bob@thestuff.net>
9494 * Random.cs: Implemented. Needs testing.
9496 2001-08-02 Miguel de Icaza <miguel@ximian.com>
9498 * IServiceProvider.cs, EventHandler.cs: New files.
9500 2001-08-02 Marcel Narings <marcel@narings.nl>
9502 * DateTime.cs: Cleaned up a bit. Added the Add* family members.
9503 Added exceptions. Added IConvertible. Still needs some platform
9504 dependend stuff, the Parse and ToString members
9506 2001-08-01 Dietmar Maurer <dietmar@ximian.com>
9508 * Type.cs (GetTypeFromHandle): added placeholder
9510 2001-07-24 Derek Holden <dholden@draper.com>
9512 * Boolean.cs: Formatted to code style standard. Added GetTypeCode
9513 which is really an IConvertible defined method.
9515 * Byte.cs: Added a missing Parse method. Put in Parse and ToString
9516 behavior, still need to do the main Parse and ToString.
9518 * Char.cs: Added a bunch of missing ECMA methods. Commented a
9519 specification discrepency. Still didn't any unicode stuff, though
9520 every IsFoo(char c) method has an IsFoo(string, index)
9521 counterpart, added wrappers for those.
9523 * Convert.cs: Fixed NaN/Inf checking and double/float
9524 rounding. Added ToType for IConvertible classes
9526 * Double.cs: Fixed ECMA min and max values. Added IsInfinity /
9527 IsNaN methods. Changed Inf/NaN internals.
9529 * IConvertible.cs: Added comments for using
9530 Convert.ToType. Changed return values to draft base values.
9532 * Int16.cs: Added a missing Parse statement. Put in behavior for
9533 overloaded ToString and Parse methods.
9535 * Int32.cs: Added a missing Parse statement. Put in behavior for
9536 overloaded ToString and Parse methods.
9538 * Int64.cs: Added a missing Parse statement. Put in behavior for
9539 overloaded ToString and Parse methods.
9541 * Single.cs: Put in ECMA epsilon value. Added IsInfinity / IsNaN
9542 methods. Changed Inf/NaN internals.
9544 * SByte.cs: Added a missing Parse method. Put in Parse and
9545 ToString behavior, still need to do the main Parse and ToString.
9547 * UInt16.cs: Added a missing Parse statement. Put in behavior for
9548 overloaded ToString and Parse methods.
9550 * UInt32.cs: Added a missing Parse statement. Put in behavior for
9551 overloaded ToString and Parse methods.
9553 * UInt64.cs: Added a missing Parse statement. Put in behavior for
9554 overloaded ToString and Parse methods.
9556 2001-07-20 Miguel de Icaza <miguel@ximian.com>
9558 * MulticastDelegate.cs: New File.
9560 * Delegate.cs: New file.
9562 * Enum.cs: New file.
9564 * Attribute.cs: New file.
9566 * Type.cs: New file.
9568 * ParamArrayAttribute.cs: New file.
9570 * RuntimeTypeHandle.cs: New file.
9572 * MulticastDelegate.cs: Added.
9574 * DateTime.cs: Added
9576 * Delegate.cs: Added
9578 2001-07-18 Michael Lambert <michaellambert@email.com>
9580 * AttributeTargets.cs: Add.
9582 2001-07-19 Jeffrey Stedfast <fejj@ximian.com>
9584 * Char.cs: Made ToUpper and ToLower public methods.
9586 * String.cs: Lots and lots of compile fixes - just need to write
9587 DateTime.cs and this should build completely now.
9589 2001-07-19 Bob Smith (bob@thestuff.net)
9591 * Math.cs: Implemented.
9593 2001-07-19 Miguel de Icaza <miguel@ximian.com>
9595 * String.cs: Removed tolower and toupper.
9597 * Char.cs: Moved ToLower and ToUpper from string to here.
9599 * Convert.cs ToByte (float value), ToByte (double value) Use IsNan
9600 instead of comparing the value to Nan.
9602 2001-07-19 Duco Fijma (duco@lorentz.xs4all.nl)
9604 * TimeSpan.cs: New implementation.
9606 2001-07-18 Scott Sanders <scott@stonecobra.com>
9608 * UriFormatExcpetion.cs: Add - 85% complete
9610 2001-07-17 Jeffrey Stedfast <fejj@ximian.com>
9612 * String.cs (IndexOf): Slight optimization that allows skipping
9613 over a few chars here and there. This isn't as good as using my
9614 Boyer-Moore implementation, however, Boyer-Moore is only really
9615 good for long strings (I plan on making the code decide which
9616 string search algorithm it should use on-the-fly at some point).
9617 (LastIndexOf): Fix to work correctly.
9618 (BoyerMoore): Took out some unneeded code and fixed an edge-case.
9620 2001-07-16 Michael Lambert <michaellambert@email.com>
9622 * EventArgs.cs: Add.
9624 2001-07-16 Miguel de Icaza <miguel@ximian.com>
9626 * Version.cs: Remove my buggy comment.
9628 2001-07-15 Sean MacIsaac <macisaac@ximian.com>
9630 * String.cs: Spelling error of IComparable, object's
9631 MemberwiseClone cannot be overridden. Made indexer valid for now,
9632 but not sure what to do about this in the long run. Seems to be a
9633 couple bugs in csc.exe having to do with multiple pointer defs in
9634 the same statement, and returning subclasses of a class in the
9635 return type of an interface function implementation. Also moved
9636 operators inside of class definition.
9638 2001-07-14 Jeffrey Stedfast <fejj@ximian.com>
9640 * String.cs: A tom of compile fixes, although we still don't compile.
9642 * IConvertible.cs: The To*Int64() methods return *Int64's, not
9643 *Int32's. Also, it's ToDateTime() not ToDateType().
9645 2001-07-14 Jeffrey Stedfast <fejj@ximian.com>
9647 * String.cs: Apparently I needed to at least write stubs for the
9648 IConvertible interfaces. *sigh*
9650 2001-07-14 Jeffrey Stedfast <fejj@ximian.com>
9652 * String.cs: Many logic/other fixes and better usage of the
9654 (tolower): New convenience method to help condense code.
9655 (toupper): Another new helper method.
9656 (Compare): Use the new helper methods.
9657 (ToLower): use tolower().
9658 (ToUpper): use toupper().
9659 (LastIndexOfAny): Implemented.
9660 (BoyerMoore): New private helper method that implements a modified
9661 version of the Boyer-Moore search algorithm. Noothing uses it yet
9662 as I'm not 100% sure it even works properly with unicode strings
9663 not to mention it uses a huge lookup-table :-)
9664 (Split): Implemented.
9666 2001-07-13 Jeffrey Stedfast <fejj@ximian.com>
9668 * TODO: Added things that need to be finished in System.String
9670 * String.cs: New source file implementing the System.String class
9672 2001-07-12 Sean MacIsaac <macisaac@ximian.com>
9674 * TypeCode.cs: UInt64 was UInt63.
9676 * Object.cs: Fixed a numer of compiler errors.
9678 * Array.cs: Fixed some compiler errors.
9680 * IComparable.cs: Fixed some compiler errors.
9682 * ICloneable.cs: Fixed some compiler errors.
9684 * IConvertible.cs: Fixed some compiler errors.
9686 * IFormattable.cs: Fixed a compiler error.
9688 * IFormatProvider.cs: Fixed a compiler error.
9690 * IDisposable.cs: Fixed a compiler error.
9692 * IFormatProvider.cs: Added public accesability type to
9695 * Exception.cs: Added a using statement to remove compile time
9698 * ApplicationException.cs: Removed a ; that was causing a compiler
9701 * Int16.cs: Fixed some compiler errors.
9703 * Int32.cs: Fixed some compiler errors.
9705 * Int64.cs: Fixed some compiler errors.
9707 * SystemException.cs: Fixed a compiler error.
9709 * UInt16.cs: Fixed some compiler errors.
9711 * UInt32.cs: Fixed some compiler errors.
9713 * UInt64.cs: Fixed some compiler errors.
9715 * Void.cs: Fixed a compiler error.
9717 2001-07-12 Joe Shaw <joe@ximian.com>
9719 * Array.cs: Fix backwards parameters to Array.SetValue()
9721 (BinarySearch): Fix backward logic surrounding whether to call
9722 value.CompareTo or comparer.Compare.
9723 (LastIndexOf): Stop being stupid. I am so not used to strongly
9725 (Sort): Implement a quicksort.
9727 2001-07-11 Joe Shaw <joe@ximian.com>
9729 * Array.cs: Change all instances of trying to access an array with
9730 the index operator to calls to GetValue and SetValue, and add
9731 InternalGetValue and InternalSetValue which are internal calls
9732 into the runtime. Ew.
9734 2001-07-10 Joe Shaw <joe@ximian.com>
9736 * Array.cs: Implemented everything but Sort().
9738 2001-07-09 Jeffrey Stedfast <fejj@ximian.com>
9740 * Object.cs (Object::Equals): Object variable name is `o'.
9742 2001-07-06 Joe Shaw <joe@ximian.com>
9744 * Int16.cs, Int32.cs, Int64.cs, UInt16.cs, UInt32.cs, UInt64.cs:
9745 Implement the IComparable and IFormattable interfaces. Fix a typo
9748 * ApplicationException.cs, ArgumentException.cs,
9749 ArgumentNullException.cs, ArgumentOutOfRangeException.cs,
9750 ArtithmeticException.cs, ArrayTypeMismatchException.cs,
9751 DivideByZeroException.cs, DuplicateWaitObjectException.cs,
9752 ExecutionEngineException.cs, FormatException.cs,
9753 IndexOutOfRangeException.cs, InvalidCastException.cs,
9754 InvalidOperationException.cs, InvalidProgramException.cs,
9755 MulticateNotSupportedException.cs, NotFiniteNumberException.cs,
9756 NotSupportedException.cs, NullReferenceException.cs,
9757 OutOfMemoryException.cs, OverflowException.cs, RankException.cs,
9758 StackOverflowException.cs, SystemException.cs,
9759 TypeInitializationException.cs: Added all of the exceptions
9760 specified by the language spec. Mmmm... bloat.
9762 2001-07-06 Miguel de Icaza <miguel@ximian.com>
9764 * Int64.cs, Int32.cs: Put. Parsing and ToString missing. Should
9765 do a generic routine all of these guys use.
9767 * Int16.cs: identified missing methods.
9769 * UInt16.cs, UInt32.cs, UInt64.cs: Add.
9771 2001-06-26 Miguel de Icaza <miguel@ximian.com>
9773 * TypeCode.cs: Implement
9775 * Void.cs: Implement.
9777 * TODO: Add file to keep track of pending tasks.
9779 * Object.cs, ValueType.cs: Implement.