2005-12-02 Alp Toker <alp@atoker.com>
[mono.git] / mcs / class / corlib / System / ChangeLog
index 3637620e65acad008ec24bf2d603bb96cc6744ff..d95a096c8f5f77238a9cc09dea26c50d508d293b 100644 (file)
@@ -1,5 +1,323 @@
+2005-12-02  Alp Toker  <alp@atoker.com>
+
+       * AppDomain.cs: ReflectionOnlyPreBindAssemblyResolve renamed to
+       ReflectionOnlyAssemblyResolve in 2.0 final
+
+2005-12-01  Alp Toker  <alp@atoker.com>
+
+       * String.cs: Add static and non-static Equals(... StringComparison) for
+       2.0.
+
+2005-12-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
+
+       * TermInfoDriver.cs: special case for the escape key. Fixes bug #76781.
+
+2005-11-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
+
+       * TermInfoDriver.cs: if the cursor_address capability contains a %i, we
+       have to add 1 to x and y when setting the cursor position.
+       Fixes bug #76856.
+
+       * Convert.cs: remove unused variables.
+
+Wed Nov 30 12:14:20 EST 2005 Paolo Molaro <lupus@ximian.com>
+
+       * NumberFormatter.cs: work around arch-specific ulong cast behaviour
+       with large numbers.
+
+Tue Nov 29 05:38:37 EST 2005 Paolo Molaro <lupus@ximian.com>
+
+       * Convert.cs: fix endianess issue when converting to base-8
+       format. All the base code would need a rewrite for efficience.
+
+2005-11-25  Sebastien Pouliot  <sebastien@ximian.com>
+
+       * String.cs: Added support for Compare(... StringComparison) in 2.0.
+
+2005-11-25  Alp Toker  <alp@atoker.com>
+
+       * Type.cs (IsVisible): New 2.0 property, implemented recursively.
+
+2005-11-17  Dick Porter  <dick@ximian.com>
+
+       * Environment.cs: Incremented corlib version
+
+2005-11-14  Carlos Alberto Cortez <calberto.cortez@gmail.com>
+
+       * Int32.cs, UInt32.cs, Int16.cs, UInt16.cs, Int64.cs,
+       UInt64.cs, Byte.cs, SByte.cs, Double.cs : Modify internal Parse
+       methods to return the exception as an out parameter,
+       instead of throwing it. This will be of special help
+       to TryParse methods.
+       * Environment.cs: Update corlib version to 42.
+       
+2005-11-14  Raja R Harinath  <rharinath@novell.com>
+
+       * EventHandler.cs (EventHandler<TEventArgs>): Rename from EventHandler<T>.
+
+2005-11-11  Zoltan Varga  <vargaz@gmail.com>
+
+       * Type.cs (GetPseudoCustomAttributes): Return ComImportAttribute as well.
+
+2005-11-11  Lluis Sanchez Gual  <lluis@novell.com>
+
+       * TimeZone.cs: Removed incorrect double-check lock and unneeded
+       hashtable access.
+
+2005-11-11  Marek Safar  <marek.safar@seznam.cz>
+
+       * Type.cs: IsNested implemented, signature fixes.
+
+2005-11-11  Raja R Harinath  <rharinath@novell.com>
+
+       * Array.cs (Resize<T>) [2-argument variant]: Fix nullref.
+
+2005-11-10  Zoltan Varga  <vargaz@gmail.com>
+
+       * Array.cs (Resize<T>): New internal method which takes a 'length' argument
+       as well to avoid copying the whole array.
+
+2005-11-09  Atsushi Enomoto  <atsushi@ximian.com>
+
+       * Int64.cs : ditto for long.
+
+2005-11-09  Atsushi Enomoto  <atsushi@ximian.com>
+
+       * Int32.cs : Parse("2147483648", format_provider) should be rejected.
+
+2005-11-09  Sebastien Pouliot  <sebastien@ximian.com>
+
+       * AttributeTargets.cs: Added [ComVisible (true)] and [Serializable] 
+       in 2.0 profile.
+       * Base64FormattingOptions.cs: Added missing [Flags] attribute.
+       * ConsoleKey.cs: Removed old BackSpace and WhiteSpace (they were 
+       already replaced by Backspace and Whitespace)
+       * DateTime.cs: Moved DayOfWeek enum to it's own file.
+       * DateTimeKind.cs: New (2.0) enum.
+       * DayOfWeek.cs: New file (extracted from DateTime.cs).
+       * DomainManagerInitializationFlags.cs: Removed extra [Serializable].
+       * EnvironmentVariableTarget.cs: Added [ComVisible (true)] and fixed 
+       values (-1 to all of them).
+       *  Exception.cs: Added a LinkDemand for SerializationFormatter on
+       GetObjectData method.
+       *  LoaderOptimization.cs: Added [ComVisible (true)] and [Serializable] 
+       on enum and added [Obsolete] to DomainMask and DisallowBindings in 2.0
+       profile.
+       * PlatformID.cs: Added [ComVisible (true)] and [Serializable] in 2.0 
+       profile.
+       * StringComparison.cs: New (2.0) enum (needed for Uri).
+       * TermInfoDriver.cs: Fixed BackSpace -> Backspace (see ConsoleKey.cs).
+       * TypeCode.cs: Added [ComVisible (true)] and [Serializable] in 2.0 
+       profile.
+
+2005-11-08  Atsushi Enomoto  <atsushi@ximian.com>
+
+       * Type.cs : I forgot to mention, some '(' were missing in the
+         improved patch ;-)
+
+2005-11-08  Zoltan Varga  <vargaz@freemail.hu>
+
+       * Type.cs (GetPseudoCustomAttributes): Check for TypeAttributes.Serializable instead of
+       IsSerializable property, since the latter returns true for delegates/enums.
+
+2005-11-05  Kornél Pál  <kornelpal@hotmail.com>
+
+       * Environment.cs: Use Consts.RuntimeVersion as Environment.Version that
+         makes maintenance easier.
+
+2005-10-24  Martin Baulig  <martin@ximian.com>
+
+       * Type.cs (Type.IsGenericTypeDefinition): Make this virtual.
+
+2005-10-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
+
+       * String.cs: fix bound checkings for LastIndexOfAny. Closes bug #76519.
+
+2005-10-20  Raja R Harinath  <rharinath@novell.com>
+
+       * Array.cs (Swapper): Remove NET_2_0 guards from nested declaration.
+
+2005-10-16  Michal Moskal  <malekith@nemerle.org>
+
+       * TermInfoDriver.cs: Call Init () in Background/ForegroundColor.
+
+2005-10-14  Atsushi Enomoto  <atsushi@ximian.com>
+
+       * DateTime.cs : another crappy Windows dependent format.
+
+2005-10-14  Ben Maurer  <bmaurer@ximian.com>
+
+       * DateTime.cs: Speed up when parsing date time objects by not
+       duplicating cultureinfo arrays.
+
+2005-10-13  Zoltan Varga  <vargaz@gmail.com>
+
+       * Type.cs (GetTypeCode): Applied patch from 
+       Mike Welham <mwelham@gmail.com>. Return TypeCode.Empty when null is
+       passed in.
+
+2005-10-07  Zoltan Varga  <vargaz@gmail.com>
+
+       * Delegate.cs: Add support for delegate covariance and contravariance
+       from net 2.0.
+
+2005-10-03  Atsushi Enomoto  <atsushi@ximian.com>
+
+       * StringComparer.cs : (OrdinalIgnoreCaseComparer.Equals()) reverse.
+
+2005-09-26  Zoltan Varga  <vargaz@gmail.com>
+
+       * String.cs (ParseFormatSpecifier): Fix skipping of whitespace. Fixes
+       #76204.
+
+2005-09-23  Miguel de Icaza  <miguel@novell.com>
+
+       * Decimal.cs: Fix typo, patch from Tomas Kukol <tomas.kukol@gmail.com>
+
+2005-09-19  Zoltan Varga  <vargaz@gmail.com>
+
+       * MonoCustomAttrs.cs (GetCustomAttributesInternal): Add
+       attributeType parameter.
+       (IsDefined): New icall.
+
+       * MonoCustomAttrs.cs: Avoid instantiating all custom attrs of an
+       object when only a specific attribute type is requested. Fixes #76062.
+
+       * Environment.cs: Bump corlib version.
+
+2005-09-09  Zoltan Varga  <vargaz@gmail.com>
+
+       * TypeLoadException.cs MissingMethodException.cs MissingFieldException.cs: Add new ctors called by the runtime. Improve Message property.
+
+2005-09-14  Atsushi Enomoto  <atsushi@ximian.com>
+
+       * DateTime.cs : (_DoParse) don't check ticks range before computing
+         the actual value. Fixed bug #76082.
+
+2005-09-14  Atsushi Enomoto  <atsushi@ximian.com>
+
+       * TimeZone.cs : When the target DateTime is in the range of
+         DST end to DST + delta, don't adjust UtcOffset gap between that of
+         DST and that of STD. This should fix bug #75985.
+
+2005-09-06  Atsushi Enomoto  <atsushi@ximian.com>
+
+       * TimeZone.cs, DateTime.cs :
+         - ToLocalTime() and ToUniversalTime() are moved to TimeZone.
+         - Added more COM patterns. Patch by Ankit Jain. Fixed bug #72132.
+         - use ToLocalTime() and don't depend on the own offset computation.
+           Parse() with 'Z' pattern is closer to correct value on switching
+           Daylight Saving Time. See bug #75985.
+
+2005-09-06  Atsushi Enomoto  <atsushi@ximian.com>
+
+       * DateTime.cs : (DoParse) DateTimeStyles.AdjustToUniversal was not
+         handled as expected and it kept time value as local one.
+         Patch by Brion Vibber. Fixed bug #75995.
+
+2005-09-06  Atsushi Enomoto  <atsushi@ximian.com>
+
+       * DateTime.cs : Literal escape (\) was not checking format as
+         expected. Fixed bug #75213.
+
+2005-09-05  Miguel de Icaza  <miguel@novell.com>
+
+       * MonoType.cs: Patch from Jonathan Chambers to implement
+       Type.GUID. 
+
+2005-09-05  Martin Baulig  <martin@ximian.com>
+
+       Reflect latest API changes in the August CTP.
+
+       * Type.cs (Type.HasGenericArguments): Removed.
+       (Type.BindGenericParameters): Renamed to MakeGenericType().
+
+2005-09-01  Atsushi Enomoto  <atsushi@ximian.com>
+
+       * DateTime.cs : another idiotic COM dependent format.
+
+2005-09-01  Kornél Pál  <kornelpal@hotmail.com>
+
+       * __ComObject.cs: Fixed to be internal. Removed CLSCompliant attribute.
+       Added some comments about the class.
+
+2005-08-30  Sebastien Pouliot  <sebastien@ximian.com>
+
+       * AppDomain.cs: Use the more concise property syntax for declarative
+       security.
+       * AppDomainManager.cs: Default HostSecurityManager is null.
+
+2005-08-25  Atsushi Enomoto  <atsushi@ximian.com>
+
+       * NumberFormatter.cs : eliminate non-ASCII character.
+
+2005-08-25  Marek Safar  <marek.safar@seznam.cz>
+
+       * Enum.cs: Better exception message.
+       
+2005-08-21  Gert Driesen  <drieseng@users.sourceforge.net>
+
+       * Convert.cs: In FromBase64String, return empty byte array for zero
+       length string. Pass bool to InternalFromBase64String to control 
+       whether to allow a whitespace-only string.
+       * Environment.cs: Bump corlib version.
+
+2005-08-20  Zoltan Varga  <vargaz@freemail.hu>
+
+       * Environment.cs: Bump corlib version.
+
+2005-08-19  Zoltan Varga  <vargaz@freemail.hu>
+
+       * Math.cs: Implement a new 2.0 Round method.
+
+2005-08-19  Gert Driesen  <drieseng@users.sourceforge.net>
+
+       * Convert.cs: Throw OverflowException if result is larger than
+       ushort.MaxValue to match MS.NET. Remove commented code.
+
+2005-08-17  Gert Driesen  <drieseng@users.sourceforge.net>
+
+       * Convert.cs: For now, do not throw OverflowException if hex prefixed
+       value is negative for signed types (other than int64). Need to look
+       into this further.      
+
+2005-08-17  Gert Driesen  <drieseng@users.sourceforge.net>
+
+       * Convert.cs: Numerous fixed in overloads taking base to match 
+       behaviour of MS.NET. Throw ArgumentOutOfRangeException is string is
+       empty. If base is 16, 8 or 2, then throw ArgumentException if first 
+       character is a negative sign. Throw OverflowException if hex prefixed 
+       value is negative for signed types (other than int64) to match MS.NET. 
+
+2005-08-16  Atsushi Enomoto  <atsushi@ximian.com>
+
+       * DateTime.cs : added another COM dependent pattern (rather to describe
+         how it works on .NET than to add the pattern itself...).
+
+2005-08-16  Atsushi Enomoto  <atsushi@ximian.com>
+
+       * DateTime.cs : added case for bug #53023.
+
+2005-08-10  Zoltan Varga  <vargaz@freemail.hu>
+
+       * Type.cs: Add IsGenericType property from NET 2.0.
+
+2005-08-10  Atsushi Enomoto  <atsushi@ximian.com>
+
+       * String.cs : added new StartsWith()/EndsWith() override, fixing
+         existing EndsWith() which incorrectly assumed that both string
+         lengths must be equivalent (they are not always equal).
+       * StringComparer.cs : added Ordinal and OrdinalIgnoreCase.
+
+2005-08-09  Zoltan Varga  <vargaz@freemail.hu>
+
+       * String.cs: Implement Split(String[]) methods.
+
 2005-08-09  Miguel de Icaza  <miguel@novell.com>
 
+       * AppDomainSetup.cs: Full-pathization of the appBase should only
+       be done on Windows, the ":" condition never applied to Linux.
+
        * ConsoleKey.cs: Include a few aliases for a few values that were
        introduced recently.