* ExceptonTest.cs: Added GetObjectData and deserialization ctor tests.
[mono.git] / mcs / class / corlib / System / ChangeLog
index a6915de109372a040c8c3f71bfabcc236c76dac0..8354f45d5bfe4fb39d742887d2d17fd86b101f5f 100644 (file)
@@ -1,3 +1,348 @@
+2008-08-16  Gert Driesen  <drieseng@users.sourceforge.net>
+
+       * Exception.cs: Fixed value of HResult to match MS. Added support for
+       (de)serializing Data. Use deserialized ClassName, if available, to
+       when name of type is used.
+
+2008-08-10  Gert Driesen  <drieseng@users.sourceforge.net>
+
+       * IServiceProvider.cs: Added ComVisible attribute (1.0 only).
+       * String.cs: Fixed argument names to match MS.
+
+2008-08-10  Gert Driesen  <drieseng@users.sourceforge.net>
+
+       * Boolean.cs
+       * Byte.cs
+       * Char.cs
+       * DateTime.cs
+       * DBNull.cs
+       * Decimal.cs
+       * Double.cs
+       * Enum.cs
+       * Int16.cs
+       * Int32.cs
+       * Int64.cs
+       * Single.cs
+       * String.cs
+       * UInt16.cs
+       * UInt32.cs
+       * UInt64.cs: Added missing CLSCompliant attributes for 1.0 profile.
+
+2008-08-07  Atsushi Enomoto  <atsushi@ximian.com>
+
+       * DateTime.cs : zzzz format allows non-fixed length of number, even
+         in exact parsing mode. Fixed bug #377042.
+
+2008-08-05  Jb Evain  <jbevain@novell.com>
+
+       * String.cs: add new NET_2_1 Compare methods.
+
+2008-08-03  Miguel de Icaza  <miguel@novell.com>
+
+       * ConsoleDriver.cs: If the terminal is dumb, do not activate the
+       full terminal support.
+
+2008-08-02  Marek Safar  <marek.safar@gmail.com>
+
+       * Type.cs: Removed _MemberInfo from base classes list.
+       
+2008-07-28  Marek Safar  <marek.safar@gmail.com>
+
+       * KnownTerminals.cs: Don't initialize rarely used static data.
+
+2008-07-24  Zoltan Varga  <vargaz@gmail.com>
+
+       * Delegate.cs: Move the rarely used fields to a separate object, add
+       'method_code' field.
+
+       * Environment.cs: Bump corlib version.
+
+       * ConsoleDriver.cs: Remove unused Suspend icall.
+
+2008-07-21  Marek Safar  <marek.safar@gmail.com>
+
+       * AppDomain.cs (Load): Check for 0-length assembly name.
+
+2008-07-21  Rodrigo Kumpera  <rkumpera@novell.com>
+
+       * Enum.cs (GetHashCode): Use new icall get_hashcode to
+       avoid allocating a boxed version of the enum basetype.
+
+2008-07-17  Marek Safar  <marek.safar@gmail.com>
+
+       * String.cs: reverted GetHashCode changes.
+
+2008-07-08  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
+
+       * Char.cs: Remove obsolete lamespecs (it implements IConvertible, small formatting)
+
+2008-07-08  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
+
+       * Char.cs: Optimize some Is* checks
+
+2008-07-06  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
+
+       * DateTimeOffset.cs: Fix parameter name
+
+2008-07-06  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
+
+       * DateTimeOffset.cs: Remove public, make implicit method
+
+2008-07-06  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
+
+       * Environment.cs: Add missing attribute
+
+2008-07-04  Rodrigo Kumpera  <rkumpera@novell.com>
+
+       * Delegate.cs (get_Method): Use the internal version
+       of GetMethodFromHandle to avoid the generic class check.
+
+2008-07-04  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
+
+       * GCCollectionMode.cs: Add attribute
+       * GC.cs: Add semi-stubbed missing method, remove obsolete Lamespec, hide non-public method
+
+2008-07-04  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
+
+       * Delegate.cs: Fix parameter names for 2.0 profile
+       * Int64.cs: Fix parameter names
+
+2008-07-04  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
+
+       * IntPtr.cs: Fix parameter names, change internal name to accomodate for parameter changes
+
+2008-07-04  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
+
+       * Predicate.cs:
+       * Object.cs:
+       * Nullable.cs
+       * MultiCastDelegate.cs
+       * ModuleHandle.cs
+       * Math.cs
+       * MarshalByRefObject.cs
+       * Int64.cs
+       * Int32.cs
+       * Int16.cs
+       * Environment.cs
+       * Delegate.cs
+       * DateTimeOffset.cs
+       * ConsoleKeyInfo.cs
+       * Console.cs
+       * Array.cs
+       * AppDomain.cs: Fix parameter names
+
+2008-07-03  Rodrigo Kumpera  <rkumpera@novell.com>
+
+       * Exception.cs (GetFullNameForStackTrace): Don't do string
+       concatenation.
+
+2008-06-30  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
+
+       * ContextMarshalException.cs:
+       * DllNotFoundException.cs:
+       * EntryPointNotFoundException.cs:
+       * FieldAccessException.cs:
+       * MethodAccessException.cs:
+       * MissingFieldException.cs:
+       * PlatformNotSupportedException.cs: Fix parameter names
+
+2008-06-30  Marek Safar  <marek.safar@gmail.com>
+
+       * String.cs: Tweaked hash code methods for better distibution, and speed-up.
+
+2008-06-29  Zoltan Varga  <vargaz@gmail.com>
+
+       * MonoCustomAttrs.cs (IsDefined): Avoid calling the .Assembly property in some
+       cases.
+
+2008-06-30  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
+
+       * Char.cs: Fix formatting, rename wrong named param, remove code duplication
+
+2008-06-28  Zoltan Varga  <vargaz@gmail.com>
+
+       * Enum.cs (GetUnderlyingType): Implement this using an icall.
+       
+       * Enum.cs (Format): Call IsDefined with inherited=false.
+
+       * Exception.cs: Fix a warning.
+
+2008-06-27  Zoltan Varga  <vargaz@gmail.com>
+
+       * Enum.cs (FindName): Avoid calling String.Compare for the !ignoreCase case.
+
+2008-06-27  Rodrigo Kumpera  <rkumpera@novell.com>
+
+       * Exception.cs: Build method traces using the
+       stack trace StringBuilder.
+
+2008-06-27  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
+
+       * Version.cs: Fix parameter names
+       * UInt64.cs: 
+       * UInt32.cs:
+       * UInt16.cs:
+       * Int64.cs: Fix parameter names
+       * Int32.cs: Fix parameter names; some small formatting
+       * Int16.cs: Fix parameter names
+       * Double.cs: Fix parameter names; small formatting
+       * Single.cs:
+       * SByte.cs:
+       * Byte.cs:
+       * Boolean.cs:
+       * DateTime.cs:
+       * Enum.cs:
+       * Decimal.cs: Fix parameter names
+
+2008-06-14  Zoltan Varga  <vargaz@gmail.com>
+
+       * Environment.cs: Bump corlib version.
+
+2008-06-10  Zoltan Varga  <vargaz@gmail.com>
+
+       * Math.cs (IEERemainder): Use the normal BitConverter.Int64BitsToDouble method
+       here to fix this on sparc.
+
+2008-06-07  Marek Safar  <marek.safar@gmail.com>
+
+       * Array.cs (IndexOf, LastIndexOf): Fixed more array element comparers used
+       instead of tested value comparers.
+
+2008-06-07  Zoltan Varga  <vargaz@gmail.com>
+
+       * Environment.cs: Bump corlib version.
+
+2008-06-05  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
+
+       * String.cs: Managed replacement for Replace method ;)
+
+2008-06-03  Zoltan Varga  <vargaz@gmail.com>
+
+       * Decimal.cs (Divide): Move expensive equality checks to unmanaged code.
+
+2008-06-02  Ivan N. Zlatev  <contact@i-nz.net>
+
+       * MonoType.cs: For property reflection we should strictly match the return 
+       type if available.
+
+2008-06-01  Juraj Skripsky  <js@hotfeet.ch>
+
+       * String.cs (Substring): Blocking bug #395904 has been fixed,
+       re-enable optimization.
+
+2008-06-01  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
+
+       * String.cs: Replace Split IndexOf
+
+2008-05-30  Marek Safar  <marek.safar@gmail.com>
+
+       * Array.cs (IndexOf): Use an array element comparer instead of tested value
+       comparer.
+
+2008-05-28  Zoltan Varga  <vargaz@gmail.com>
+
+       * Console.cs (.cctor): Make sdout synchronized in the console case too.
+       Fixes #395069.
+
+2008-05-27  Eyal Alaluf <eyala@mainsoft.com>
+
+       * NumberFormatter.jvm.cs: Fix tables to avoid arithemtic overflow
+         in Double.ToString as exposed by Bug #383531.
+
+2008-05-24  Gert Driesen  <drieseng@users.sourceforge.net>
+
+       * String.cs: Comment out 2.0 compatibility fix for SubString, since it
+       causes regressions in System.Xml.
+
+2008-05-24  Gert Driesen  <drieseng@users.sourceforge.net>
+
+       * String.cs: Changed exception to match MS. Fixed ToCharArray to use
+       startindex for source. In PadLeft and PadRight, only return current
+       string if totalWidth is less than length.
+
+2008-05-24 Gonzalo Paniagua Javier <gonzalo.mono@gmail.com>
+
+       * Enum.cs: use Array.BinarySearch on the values in IsDefined and
+       GetName instead of looping through the list. Made the cache in
+       MonoEnumInfo thread static to avoid contention.
+
+2008-05-20  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
+
+       * String.cs: Replace Split function
+
+2008-05-19  Sebastien Pouliot  <sebastien@ximian.com>
+
+       * Boolean.cs,
+       * Double.cs,
+       * Enum.cs,
+       * Int64.cs,
+       * Single.cs,
+       * UInt32.cs,
+       * UInt64.cs: Avoid unboxing primitive types more than one time.
+       [Found using Gendarme]
+
+2008-05-19  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
+
+       * String.cs: Update Trim functions
+
+2008-05-19  Zoltan Varga  <vargaz@gmail.com>
+
+       * ConsoleDriver.cs: Avoid initializing the three driver classes when only one
+       is needed.
+
+2008-05-18  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
+
+       * String.cs: Update Join and Pad functions
+
+2008-05-18  Sebastien Pouliot  <sebastien@ximian.com>
+
+       * Environment.cs: Use String.IsNullOrEmpty inside 2.0 code.
+       [Found using Gendarme]
+
+2008-05-16  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
+
+       * String.cs: Directly create charenumerator
+
+2008-05-15  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
+
+       * String.cs: Resubmit uncritical parts of String patch
+
+2008-05-15  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
+
+       * DateTime.cs: Fix parameter names
+
+2008-05-15  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
+
+       * Decimal.cs: Fix parameter names
+
+2008-05-15  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
+
+       * Decimal.cs: Tabbify/Format
+
+2008-05-14  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
+
+       * Version.cs
+         UnhandledExceptionEventHandler.cs
+         UInt64.cs
+         UInt32.cs
+         UInt16.cs: Fix parameter names
+         Type.cs: Fix parameter names, formatting
+         TimeSpan.cs
+         StringComparer.cs
+         Single.cs
+         SByte.cs: Fix parameter names
+
+2008-05-14  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
+
+       * Double.cs
+         Enum.cs
+         Exception.cs
+         IComparable.cs
+         IEquatable.cs
+         IFormatProvider.cs
+         IFormattable.cs
+         InsufficientMemoryException.cs: Fix parameter names
+
 2008-05-14  Jb Evain  <jbevain@novell.com>
 
        * Exception.cs (ToString): output a new line before the