2002-03-15 Nick Drochak <ndrochak@gol.com>
[mono.git] / mcs / class / corlib / System / ChangeLog
index 9d178fa3021f528f8f2d608926eba11cc9a6719a..1b4022724203ecaa76e79261ee8ad4b2d6fd5464 100644 (file)
@@ -1,3 +1,191 @@
+2002-03-15  Nick Drochak  <ndrochak@gol.com>
+
+       * Array.cs: Added IList and IEnumerable. 
+
+2002-03-14  Miguel de Icaza  <miguel@ximian.com>
+
+       * UInt64.cs, UInt32.cs, UInt16.cs: Mark public parse methods as
+       NonCLSCompliant. 
+
+2002-03-14  Dietmar Maurer  <dietmar@ximian.com>
+
+       * Delegate.cs (Equals): also compare method_ptr 
+       (GetHashCode): returm method_ptr as hash
+
+2002-03-13  Duco Fijma  <duco@lorentz.xs4all.n>
+       * TimeSpan.cs: removed the use of Custom Numeric Format Strings,
+       such as 42.ToString("0000000"), as these are (currently) not implemented
+       in System.IntegerFormatter. TimeSpan luckely can do with Standard
+       Numeric Format Strings, such as 42.ToString("D7").
+
+2002-03-12  Duncan Mak  <duncan@ximian.com>
+
+       * FieldAccessException.cs: 
+       * MethodAccessException.cs: 
+       * PlatformNotSupportedException.cs: Inherit from
+       MemberAccessException, not SystemException.
+
+       * ObsoleteAttribute.cs: Made Message and IsError properties
+       instead of fields.
+
+Tue Mar 12 19:21:18 CET 2002 Paolo Molaro <lupus@ximian.com>
+
+       * GC.cs: make SuppressFinalize() a nop.
+       * Delegate.cs: fix == operator.
+
+2002-03-13  Nick Drochak  <ndrochak@gol.com>
+
+       * Enum.cs: Add IConvertible methods. Cyclic dependancy fixed in the
+       runtime that goes with this patch.
+
+2002-03-10  Martin Baulig  <martin@gnome.org>
+
+       * Int32.cs (Parse): Correctly parse negative numbers.
+
+2002-03-08  Martin Baulig  <martin@gnome.org>
+
+       * String.cs (Split): Really fix it this time. Also adding several new
+       testcase to the testsuite.       
+
+2002-03-08  Martin Baulig  <martin@gnome.org>
+
+       * Array.cs (Copy): Optimized: removed duplicate null check, removed
+       two duplicate GetLowerBound() calls and one duplicate IsValueType.
+
+Fri Mar 8 18:49:19 CET 2002 Paolo Molaro <lupus@ximian.com>
+
+       * Object.cs: commit my hacked GetHashCode(): it's good enough for now.
+       * String.cs: use the dumb code for IndexOf(string): this is worth
+       15-20 % speedup in mcs compile with mint.
+
+Fri Mar 8 12:45:44 CET 2002 Paolo Molaro <lupus@ximian.com>
+
+       * String.cs: revert change to Split() that broke the compiler (hi martin!:-).
+
+2002-03-07  Martin Baulig  <martin@gnome.org>
+
+       * String.cs (Join): Throw an ArgumentNullException.
+       (LastIndexOf (string,int,int)): This method does a backwards search,
+       so startIndex points to the end of value, not to its beginning. Don't
+       throw an exception if startIndex equals this.Length. Always return -1
+       if startIndex is smaller than the length of value.
+       (Replace (string,string)): Replace all occurences of oldValue.
+       If newValue is null, all occurences of oldValue are to be removed.
+       (Split (char[],int)): Return an empty array if maxCount is zero, throw
+       an ArgumentOutOfRangeException if it's less than zero. Return maxValue
+       elements, not maxValue+1.
+
+Thu Mar 7 17:16:06 CET 2002 Paolo Molaro <lupus@ximian.com>
+
+       * MonoType.cs: make GetEvents() an internal call.
+       * MulticastDelegate.cs: copy the passed in array.
+
+2002-03-06  Martin Baulig  <martin@gnome.org>
+
+       * Array.cs (Copy): Use FastCopy when appropriate and do correct
+       exception handling.
+
+2002-03-06  Duco Fijma  <duco@lorentz.xs4all.nl>
+       * CharEnumerator.cs: fixes to CharEnumertor.MoveNext, fixing 
+       some of the failures found be new tests (see ChangeLog in 
+       Test/System). Comments added to this method, based on
+       the representation invariant of this class, that (try to) explain
+       why it now should be correct.
+
+2002-03-06  Dietmar Maurer  <dietmar@ximian.com>
+
+       * Int64.cs (Parse): bug fix for max. negative value. 
+
+2002-03-07  Nick Drochak  <ndrochak@gol.com>
+
+       * RuntimeTypeHandle.cs: Add Serializable attribute as the docs say.
+       I need to understand what the difference between the attribute and
+       the interface is.
+
+2002-03-06  Martin Baulig  <martin@gnome.org>
+
+       * Array.cs (Copy): Always throw an ArrayTypeMismatchException, not
+       an InvalidCastException if the widening conversion failed. See
+       testcases #M94-#M96.
+
+       * Array.cs (CopyTo): Bug fix from Ajay Dwivedi, correctly handle
+       arrays with non-zero lower bounds. Also adding testcases #F10-#F13
+       for this.
+
+       * Array.cs (CopyTo): Reverted my last change, it was incorrect.
+       (Copy): Actually allow copying multi-dimensional arrays.
+
+2002-03-05  Duncan Mak  <duncan@ximian.com>
+
+       * Convert.cs:
+       (DBNull) Added the missing field.
+       (IsDBNull) Fixed typo.
+       (ToByte (string, int)) Implemented.
+       (ToString (byte, int)) Implemented.
+       (ConvertToBase)
+       (BuildConvertedString) internal functions used for converting values to
+       a specific base.
+
+       * Int16.cs: 
+       * Int32.cs:
+       * Int64.cs:
+       * Single.cs:
+       * UInt16.cs: 
+       * UInt32.cs: Implemented the IConvertible interface.    
+
+       * CharEnumerator.cs: Renamed to variables to be clearer and
+       changed some of the tests to conform to the 1.0 spec.
+
+2002-03-06  Martin Baulig  <martin@gnome.org>
+
+       * Array.cs (Copy): Calculate absolute array position here and use
+       GetValueImpl() and SetValueImpl() with that position. We can now
+       copy multi-dimensional arrays.
+       (CopyTo): Small bug fix.
+
+2002-03-05  Duco Fijma  <duco@lorentz.xs4all.nl>
+
+       * Version.cs: CompareTo changed according the LAMESPEC discovered by 
+       Nick (See VersionTest.cs).
+       * CharEnumerator.cs: fixed two bugs in MoveNext. It had an off-by-one
+       error comparing the current position (idx) against the length of the
+       string iterated and it set idx to an unrecognized special value (-2)
+
+Tue Mar 5 17:34:14 CET 2002 Paolo Molaro <lupus@ximian.com>
+
+       * SByte.cs, UInt64.cs: implement IConvertible interface. Nobody wants
+       to do this dirty work, but someone has to do it (and I need it to pass
+       the "200 sample tests compiled on linux" mark).
+
+2002-03-06  Nick Drochak  <ndrochak@gol.com>
+
+       * Attribute.cs
+       * DecimalFormatter.cs
+       * Delegate.cs
+       * Double.cs
+       * GC.cs
+       * Int16.cs
+       * Int32.cs
+       * MonoType.cs
+       * RuntimeMethodHandle.cs
+       * RuntimeTypeHandle.cs
+       * String.cs
+       * Type.cs:
+               Add [MonoTODO]'s to places where we currently throw a
+               NotImplementedException.
+
+2002-03-05  Dietmar Maurer  <dietmar@ximian.com>
+
+       * Int16.cs (Parse): do not overflow on max negative value
+
+       * Int32.cs (Parse): do not overflow on max negative value
+
+Mon Mar 4 20:36:05 CET 2002 Paolo Molaro <lupus@ximian.com>
+
+       * Type.cs: fixed IsClass.
+       * MonoType.cs: fixed MemberType, IsPrimitiveImpl, IsPointerImpl,
+       IsByRefImpl. Added GetInterfaces().
+       * IServiceProvider.cs: compilation fix.
 
 Mon Mar 4 18:37:03 CET 2002 Paolo Molaro <lupus@ximian.com>