2007-02-11 Konstantin Triger * SqlDateTime.cs, SqlDecimal.cs, SqlByte.cs, SqlDouble.cs, SqlBoolean.cs, SqlBinary.cs, SqlGuid.cs: Added a 2.0 CompareTo override (refactoring). 2007-02-11 Vladimir Krasnov * SqlDateTime.cs: changed MaxValue and MinValue initialization, it was failing on .net VM. 2007-02-09 Nagappan A * SqlNotFilledException.cs: Removed APIs that are not part of both 1.0 and 2.0. * SqlTypeException.cs: Implemented missing attributes. * SqlChars.cs, SqlBytes.cs: Implemented missing attributes, methods and added IXmlSerializable. * SqlDouble.cs, SqlSingle.cs, SqlBinary.cs, SqlString.cs: Implemented missing attributes, added IXmlSerializable. * SqlXml.cs, SqlInt16.cs, SqlInt32.cs, SqlInt64.cs: Implemented missing attributes, added IXmlSerializable. * SqlDateTime.cs, SqlDecimal.cs, SqlMoney.cs, SqlGuid.cs: Implemented missing attributes, added IXmlSerializable 2006-07-19 Senganal T * SqlDecimal.cs : - Ctr : Throw OverflowException is value oveflows - AdjustScale : Support values greater than Decimal.MaxValue. Throw SqlTruncateException if scale cannot be adjusted. - ConvertToPrecScale : Fix the precision - Sign : use IsPositive to check for sign - ToString : Do not append extrs '0' - operator + , -, * : Support values greater than decimal.maxvalue. Fix for infinite loop when '-' is invoked for some cases. - operators >,<,>=.<=,==,!= : Fix operations on negative numbers Thanks to Harish Kumar Singh for the patch 2006-02-17 Chris Toshok * StorageState.cs: correct namespace, and remove "Delayed" element. 2006-02-03 Senganal T * SqlString.cs : - GetUnicodeBytes() - GetNonUnicodeBytes() - Constructor Use Encoding class to convert between byte[] and string 2006-01-27 Senganal T * SqlDateTime : Corrected the MaxValue for SqlDateTime 2005-09-15 Raja R Harinath * SqlString.cs (MoneyFormat): Move to SqlMoney.cs. (operator SqlString) [SqlMoney variant]: Delegate to SqlMoney.ToString (). * SqlMoney.cs (MoneyFormat): Move from SqlString.cs. (SqlString): New static constructor. (ToString): Use it. 2005-09-02 Umadevi S * SqlXml.cs : Added a dummy placeholder to compile MicrosoftServer namespace 2005-03-11 Sureshkumar T * SqlDateTime.cs (Parse): Re-org. Resolve unreachable code. 2005-02-11 Sureshkumar T Ankit Jain * SqlGuid.cs: Fixed CompareTo to compare all the 16 digits. This is a LAMESPEC and current implementation matches ms.net. This actually reverts Uma's patch with revison 29013. 2005-02-03 Sureshkumar T * SqlDateTime.cs : Parse : try with local culture first, then try with invariant culture if it fails. 2004-09-14 Umadevi S * Made SerializableAttribute !net_2_0 for all the exception classes 2004-09-14 Umadevi S * SqlAlreadyFilledException.cs, SqlNotFilledException.cs - Added these files 2004-07-21 Umadevi S * SqlInt16.cs, SqlInt32.cs, SqlInt64.cs - Added Modulus,CompareTo method from .NET2.0 2004-07-14 Umadevi S * SqlMoney.cs, SqlSingle.cs - Added CompareTo method from .NET2.0 * Added new Enum StorageState.cs 2004-07-14 Umadevi S * SqlString.cs :Fixed + operator for null, CompareTo to throw SqlTypeException Implemented Add and CompareTo methods from .NET2.0 2004-06-18 Gert Driesen * SqlNullValueException.cs: fixed serialization * SqlTruncateException.cs: fixed serialization * SqlTypeException.cs: fixed serialization 2004-06-18 Sebastien Pouliot * 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 * SqlGuid.cs - fixed bug 59420. Implemented CompareTo according to MSDN documenation 2004-05-27 Atsushi Enomoto * SqlDecimal.cs : don't output debug message to Console. 2004-05-18 Atsushi Enomoto * SqlDecimal.cs : Fixed operator/ not to return positive always. Halfly fixed ConvertToPrecScale() that was broken. 2004-05-18 Atsushi Enomoto * 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 * SqlDecimal.cs : Fixed Truncate() to work fine. * SqlMoney.cs : Added one hack line in operator/ to work fine. 2004-05-18 Atsushi Enomoto * SqlDecimal.cs : Fixed AdjustScale(). When reducing digits, scale parameter was incorrect. 2004-05-18 Atsushi Enomoto * 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 * 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 * 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 * 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 * SqlNullValueException.cs: Use a more clarifying error message. 2003-12-19 Tim Coleman * SqlBytes.cs SqlChars.cs SqlDate.cs SqlStreamChars.cs SqlTime.cs * SqlUtcDateTime.cs SqlXmlReader.cs: New stubs added 2003-06-03 Ville Palo * SqlBinary.cs: Changed one SqlTypeException --> IndexOutOfRange * SqlMoney.cs: checkings 2003-06-02 Ville Palo * SqlString.cs: implementes less than and greater than operators. Added some checks to ctor. 2003-06-01 Ville Palo * SqlString.cs: added null checking 2003-05-28 Ville Palo * SqlMoney.cs: little fixes and clean ups 2003-05-28 Ville Palo * SqlInt16.cs: more checked fixes. * SqlInt64.cs: checked fixes. * SqlSingle.cs: checked fixes. 2003-05-28 Ville Palo * SqlInt16.cs: little fixes. 2003-05-28 Ville Palo * SqlDouble.cs: Some fixes. Mostly infinity checks * SqlSingle.cs: tiny fixes. * SqlInt64.cs: checked fix. 2003-05-28 Ville Palo * ChangeLog: Added this. * SqlByte.cs: Fixed checked parts