2008-06-07 Zoltan Varga <vargaz@gmail.com>
[mono.git] / mcs / class / corlib / System / ChangeLog
index 801ec150b1c6d7dd7461db368f9452ee715a940f..aaba19c91fa29073eec8eb8c186c998cc6f264b3 100644 (file)
@@ -1,3 +1,267 @@
+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 
+       inner exception separator. Fixes #390150.
+
+2008-05-12  Gert Driesen  <drieseng@users.sourceforge.net>
+
+       * Type.cs: Modifies exceptions to match MS. Changed GetTypeFromHandle
+       on 1.0 profile to throw ArgumentException when handle is invalid,
+
+2008-05-08  Rodrigo Kumpera  <rkumpera@novell.com>
+
+       * Activator.cs (CreateInstance): Check for null types when creating
+       the error message.
+
+2008-05-07  Robert Jordan  <robertj@gmx.net>
+
+       * RuntimeFieldHandle.cs, RuntimeTypeHandle.cs, RuntimeMethodHandle.cs:
+       Don't try to serialize uninitialized handles. Fixes #386641.
+
+2008-05-06  Marek Safar  <marek.safar@gmail.com>
+
+       * IntPtr.cs (eplicit long, GetObjectData): Use ToInt64.
+
+2008-05-05  Zoltan Varga  <vargaz@gmail.com>
+
+       * Type.cs (GetTypeFromHandle): Apparently, it is possible to create a 
+       RuntimeTypeHandle with a zero handle value by calling its ctor. Add an argument
+       check for that.
+
+       * IntPtr.cs (ToInt64): Use (long)(int) on 32 bit platforms to avoid the default
+       unsigned conversion done by the compiler. Fixes #386466.
+
+2008-05-04  Zoltan Varga  <vargaz@gmail.com>
+
+       * Type.cs (UnderlyingSystemType): Add a comment pointing people to 
+       Enum.GetUnderlyingType ().
+
+2008-04-26  Zoltan Varga  <vargaz@gmail.com>
+
+       * Array.cs (LastIndexOf): Return GetLowerBound (0) -1 instead of -1.
+       
+       * Array.cs (LastIndexOf): Fix handling of empty arrays. Fixes #383876.
+
+2008-04-13  Zoltan Varga  <vargaz@gmail.com>
+
+       * String.cs (Split): Fix the handling of RemoveEmptyEntries when the separator
+       matches at the beginning of the string. Fixes #374511.
+
+2008-04-13  Jb Evain  <jbevain@novell.com>
+
+       * ICloneable.cs: use the INSIDE_CORLIB pattern to
+       internalize code that is used outside the corlib.
+       Merged from the Moonlight 2 branch.
+
+2008-04-04  Raja R Harinath  <harinath@hurrynot.org>
+
+       * String.cs (EndsWith) [CultureInfo variant]: Handle null 'culture'.
+       (StartsWith, EndsWith, IndexOf, LastIndexOf) [StringComparison variant]:
+       Throw exception on invalid StringComparison.
+
+2008-04-01  Eyal Alaluf <eyala@mainsoft.com>
+
+       * NumberFormatter.cs NumberFormatter.jvm.cs: Performance optimizations.
+         Reuse a per thread instance to format all the primitive types. Modify
+         class accordingly so the same
+         instance can be used multiple times.
+       * Int16.cs UInt64.cs Double.cs SByte.cs UInt16.cs Byte.csDecimal.cs
+         TimeSpan.cs Int32.cs Int64.cs Single.cs UInt32.cs: Change use of
+         NumberFormatter to adapt to above changes in class interface.
+
+2008-03-31  Mark Probst  <mark.probst@gmail.com>
+
+       * MonoType.cs: Don't do CAS security checks in CheckMethodSecurity
+       for 2.1 profile.
+
+2008-03-28  Marek Safar  <marek.safar@gmail.com>
+
+       * Nullable.cs (Box): Do things explicitly and not rely on broken gmcs
+       behaviour.
+
+2008-03-25  Zoltan Varga  <vargaz@gmail.com>
+
+       * AppDomain.cs: Update after MonoMethod.InternalInvoke signature change.
+
+       * Environment.cs: Bump corlib version.
+
+       * DateTime.cs: Fix a warning.
+
+2008-03-21  Sebastien Pouliot  <sebastien@ximian.com>
+
+       * String.cs: Use "this" in Split method instead of calling ToString.
+       Found using Gendarme.
+
+2008-03-06  Marek Safar  <marek.safar@gmail.com>
+
+       * MonoCustomAttrs (GetCustomAttributes): Type cannot be null with
+       typeof (MonoCustomAttrs) hack.
+
+Wed Mar 5 19:39:01 CET 2008 Paolo Molaro <lupus@ximian.com>
+
+       * Type.cs: optimize GetTypeCode () for the common case
+       (fixes bug #367354).
+
+2008-03-02  Roei Erez  <roeie@mainsoft.com>
+
+       * DateTime.cs: Improve the patch supplied by James Purcell to be
+         dotnet-compatible, and add support for RoundTripKind parsing. 
+         Fixed reopened bug #352210.
+
+
+Tue Feb 26 17:50:17 CET 2008 Paolo Molaro <lupus@ximian.com>
+
+       * DateTime.cs: instroduce a method that returns ticks monotonically.
+
+2008-02-26  Ivan N. Zlatev  <contact@i-nz.net>
+
+       * Attribute.cs, MonoCustomAttrs: MS ignores the inherit param in 
+       PropertyInfo's ICustomAttributeProvider implementation, but not 
+       in the Attributes, so directly get the attributes from 
+       MonoCustomAttrs instead of going throught the PropertyInfo's 
+       ICustomAttributeProvider.
+       [Fixes bugs #324472 and #322464]
+
+2008-02-26  Atsushi Enomoto  <atsushi@ximian.com>
+
+       * DateTime.cs : fix roundtrip regression in Sys.Xml.XmlConvertTests,
+         patch by James Purcell (at #352210).
+
 2008-02-25  Atsushi Enomoto  <atsushi@ximian.com>
 
        * DateTime.cs, DateTimeUtils.cs : make Kind value from parse result