2005-01-31 Zoltan Varga <vargaz@freemail.hu>
[mono.git] / mcs / class / System.Data / System.Data.SqlTypes / ChangeLog
index 0238793181b369857498e1e677c49f3a38721ff7..0275218e17c32fda338430059d33617236cfed47 100644 (file)
@@ -1,3 +1,134 @@
+2004-09-14 Umadevi S <sumadevi@novell.com>
+        * Made SerializableAttribute !net_2_0 for all the exception classes
+
+                                                                                                    
+2004-09-14 Umadevi S <sumadevi@novell.com>
+       * SqlAlreadyFilledException.cs, SqlNotFilledException.cs - Added these files
+
+2004-07-21 Umadevi S <sumadevi@novell.com>
+       * SqlInt16.cs, SqlInt32.cs, SqlInt64.cs - Added Modulus,CompareTo method from .NET2.0
+
+2004-07-14 Umadevi S <sumadevi@novell.com>
+       * SqlMoney.cs, SqlSingle.cs - Added CompareTo method from .NET2.0
+       * Added new Enum StorageState.cs
+
+2004-07-14 Umadevi S <sumadevi@novell.com>
+       * SqlString.cs :Fixed + operator for null, CompareTo to throw SqlTypeException
+                       Implemented Add and CompareTo methods from .NET2.0
+
+2004-06-18  Gert Driesen <drieseng@users.sourceforge.net>
+
+       * SqlNullValueException.cs: fixed serialization
+       * SqlTruncateException.cs: fixed serialization
+       * SqlTypeException.cs: fixed serialization
+
+2004-06-18  Sebastien Pouliot  <sebastien@ximian.com>
+
+       * SqlMoney.cs: Removed old "hack" to correct scale after rounding as
+       Decimal has been fixed (in fact this code was moved and adapted for
+       Decimal as it was better than the previous fix).
+
+2004-06-08 Umadevi S <sumadevi@novell.com>
+       * SqlGuid.cs - fixed bug 59420. Implemented CompareTo according to MSDN documenation
+
+2004-05-27  Atsushi Enomoto  <atsushi@ximian.com>
+
+       * SqlDecimal.cs : don't output debug message to Console.
+
+2004-05-18  Atsushi Enomoto  <atsushi@ximian.com>
+
+       * SqlDecimal.cs : Fixed operator/ not to return positive always.
+         Halfly fixed ConvertToPrecScale() that was broken.
+
+2004-05-18  Atsushi Enomoto  <atsushi@ximian.com>
+
+       * SqlDecimal.cs :
+         - .ctor() should check the valid scale range and throw 
+           SqlTypeException.
+         - Value should copy the last int32 value fragment.
+         - Fixed Abs() and Ceiling() to return Null when the input is Null.
+         - Now AdjustScale() should not depend on Truncate() that keeps zero
+           digits correctly. So Round() before returning the final result.
+         - ToString() should insert '-' for minus values.
+         - operator+ should use larger scale of operands rather than smaller
+           scale.
+
+2004-05-18  Atsushi Enomoto  <atsushi@ximian.com>
+
+       * SqlDecimal.cs : Fixed Truncate() to work fine.
+       * SqlMoney.cs : Added one hack line in operator/ to work fine.
+
+2004-05-18  Atsushi Enomoto  <atsushi@ximian.com>
+
+       * SqlDecimal.cs : Fixed AdjustScale(). When reducing digits, scale
+         parameter was incorrect.
+
+2004-05-18  Atsushi Enomoto  <atsushi@ximian.com>
+
+       * SqlDecimal.cs :
+         - .ctor(double) initializes the precision as 17. If not sufficient,
+           it calls AdjustScale(), and if too much then it calls Round().
+         - Data should not return the internal array otherwise it might be
+           modified by outer code.
+         - Reimplemented AdjustScale() to work fine.
+         - Reimplemented Parse(). It should rather use Decimal.Parse() 
+           rather than SqlDouble.Parse() for parsable value range difference.
+         - Reimplemented Round(). Don't use double.
+         - Fixed ToString() to return "Null" for null value.
+         - Fixed explicit let operator to use double .ctor, not decimal
+           .ctor() so that precision can be handled in the same way as double.
+
+2004-05-17  Atsushi Enomoto  <atsushi@ximian.com>
+
+       * SqlBinary.cs,
+         SqlDateTime.cs,
+         SqlDouble.cs,
+         SqlGuid.cs,
+         SqlMoney.cs,
+         SqlSingle.cs,
+         SqlString.cs : If values are null, ToString() should return "Null".
+
+2004-05-11  Atsushi Enomoto  <atsushi@ximian.com>
+
+       * SqlMoney.cs : Handle fixed digits correctly.
+         Round decimal value before casting into other numeric types.
+       * SqlInt16.cs,
+         SqlInt32.cs,
+         SqlInt64.cs : Round SqlMoney decimal value before casting into them.
+       * SqlDateTime.cs :
+         Added range check.
+         Years and months were ignored in some .ctor().
+         Return invariant culture string in ToString().
+         Return null for operator - when operand is null.
+
+2004-05-09  Gert Driesen (drieseng@users.sourceforge.net)
+       * SqlString.cs: change accessibility of CompareOptions property
+       to private, commented out unreachable code
+
+2004-04-12  Atsushi Enomoto  <atsushi@ximian.com>
+
+       * SqlBoolean.cs : Allow "0" and "1" on Parse(). Allow SqlString.Null
+         in conversion.
+       * SqlString.cs : CompareOption should not be None.
+
+2004-04-01  Lluis Sanchez Gual  <lluis@ximian.com>
+
+       * SqlNullValueException.cs: Use a more clarifying error message.
+         
+2003-12-19  Tim Coleman <tim@timcoleman.com>
+       * SqlBytes.cs SqlChars.cs SqlDate.cs SqlStreamChars.cs SqlTime.cs
+       * SqlUtcDateTime.cs SqlXmlReader.cs:
+               New stubs added
+2003-06-03  Ville Palo <vi64pa@kolumbus.fi>
+
+       * SqlBinary.cs: Changed one SqlTypeException --> IndexOutOfRange
+       * SqlMoney.cs: checkings
+       
+2003-06-02  Ville Palo <vi64pa@kolumbus.fi>
+
+       * SqlString.cs: implementes less than and greater than operators.
+       Added some checks to ctor.
+               
 2003-06-01  Ville Palo <vi64pa@kolumbus.fi>
 
        * SqlString.cs: added null checking