1 2006-07-19 Senganal T <tsenganal@novell.com>
4 - Ctr : Throw OverflowException is value oveflows
5 - AdjustScale : Support values greater than Decimal.MaxValue.
6 Throw SqlTruncateException if scale cannot be adjusted.
7 - ConvertToPrecScale : Fix the precision
8 - Sign : use IsPositive to check for sign
9 - ToString : Do not append extrs '0'
10 - operator + , -, * : Support values greater than
11 decimal.maxvalue. Fix for infinite loop when '-' is
12 invoked for some cases.
13 - operators >,<,>=.<=,==,!= : Fix operations on negative numbers
14 Thanks to Harish Kumar Singh for the patch
16 2006-02-17 Chris Toshok <toshok@ximian.com>
18 * StorageState.cs: correct namespace, and remove "Delayed"
21 2006-02-03 Senganal T <tseganal@novell.com>
25 - GetNonUnicodeBytes()
27 Use Encoding class to convert between byte[] and string
29 2006-01-27 Senganal T <tsenganal@novell.com>
31 * SqlDateTime : Corrected the MaxValue for SqlDateTime
33 2005-09-15 Raja R Harinath <rharinath@novell.com>
35 * SqlString.cs (MoneyFormat): Move to SqlMoney.cs.
36 (operator SqlString) [SqlMoney variant]: Delegate to
38 * SqlMoney.cs (MoneyFormat): Move from SqlString.cs.
39 (SqlString): New static constructor.
42 2005-09-02 Umadevi S <sumadevi@novell.com>
44 * SqlXml.cs : Added a dummy placeholder to compile MicrosoftServer namespace
46 2005-03-11 Sureshkumar T <tsureshkumar@novell.com>
48 * SqlDateTime.cs (Parse): Re-org. Resolve unreachable code.
50 2005-02-11 Sureshkumar T <tsureshkumar@novell.com>
51 Ankit Jain <radical@corewars.org>
53 * SqlGuid.cs: Fixed CompareTo to compare all the 16 digits. This
54 is a LAMESPEC and current implementation matches ms.net. This
55 actually reverts Uma's patch with revison 29013.
57 2005-02-03 Sureshkumar T <tsureshkumar@novell.com>
59 * SqlDateTime.cs : Parse : try with local culture first, then try
60 with invariant culture if it fails.
62 2004-09-14 Umadevi S <sumadevi@novell.com>
63 * Made SerializableAttribute !net_2_0 for all the exception classes
66 2004-09-14 Umadevi S <sumadevi@novell.com>
67 * SqlAlreadyFilledException.cs, SqlNotFilledException.cs - Added these files
69 2004-07-21 Umadevi S <sumadevi@novell.com>
70 * SqlInt16.cs, SqlInt32.cs, SqlInt64.cs - Added Modulus,CompareTo method from .NET2.0
72 2004-07-14 Umadevi S <sumadevi@novell.com>
73 * SqlMoney.cs, SqlSingle.cs - Added CompareTo method from .NET2.0
74 * Added new Enum StorageState.cs
76 2004-07-14 Umadevi S <sumadevi@novell.com>
77 * SqlString.cs :Fixed + operator for null, CompareTo to throw SqlTypeException
78 Implemented Add and CompareTo methods from .NET2.0
80 2004-06-18 Gert Driesen <drieseng@users.sourceforge.net>
82 * SqlNullValueException.cs: fixed serialization
83 * SqlTruncateException.cs: fixed serialization
84 * SqlTypeException.cs: fixed serialization
86 2004-06-18 Sebastien Pouliot <sebastien@ximian.com>
88 * SqlMoney.cs: Removed old "hack" to correct scale after rounding as
89 Decimal has been fixed (in fact this code was moved and adapted for
90 Decimal as it was better than the previous fix).
92 2004-06-08 Umadevi S <sumadevi@novell.com>
93 * SqlGuid.cs - fixed bug 59420. Implemented CompareTo according to MSDN documenation
95 2004-05-27 Atsushi Enomoto <atsushi@ximian.com>
97 * SqlDecimal.cs : don't output debug message to Console.
99 2004-05-18 Atsushi Enomoto <atsushi@ximian.com>
101 * SqlDecimal.cs : Fixed operator/ not to return positive always.
102 Halfly fixed ConvertToPrecScale() that was broken.
104 2004-05-18 Atsushi Enomoto <atsushi@ximian.com>
107 - .ctor() should check the valid scale range and throw
109 - Value should copy the last int32 value fragment.
110 - Fixed Abs() and Ceiling() to return Null when the input is Null.
111 - Now AdjustScale() should not depend on Truncate() that keeps zero
112 digits correctly. So Round() before returning the final result.
113 - ToString() should insert '-' for minus values.
114 - operator+ should use larger scale of operands rather than smaller
117 2004-05-18 Atsushi Enomoto <atsushi@ximian.com>
119 * SqlDecimal.cs : Fixed Truncate() to work fine.
120 * SqlMoney.cs : Added one hack line in operator/ to work fine.
122 2004-05-18 Atsushi Enomoto <atsushi@ximian.com>
124 * SqlDecimal.cs : Fixed AdjustScale(). When reducing digits, scale
125 parameter was incorrect.
127 2004-05-18 Atsushi Enomoto <atsushi@ximian.com>
130 - .ctor(double) initializes the precision as 17. If not sufficient,
131 it calls AdjustScale(), and if too much then it calls Round().
132 - Data should not return the internal array otherwise it might be
133 modified by outer code.
134 - Reimplemented AdjustScale() to work fine.
135 - Reimplemented Parse(). It should rather use Decimal.Parse()
136 rather than SqlDouble.Parse() for parsable value range difference.
137 - Reimplemented Round(). Don't use double.
138 - Fixed ToString() to return "Null" for null value.
139 - Fixed explicit let operator to use double .ctor, not decimal
140 .ctor() so that precision can be handled in the same way as double.
142 2004-05-17 Atsushi Enomoto <atsushi@ximian.com>
150 SqlString.cs : If values are null, ToString() should return "Null".
152 2004-05-11 Atsushi Enomoto <atsushi@ximian.com>
154 * SqlMoney.cs : Handle fixed digits correctly.
155 Round decimal value before casting into other numeric types.
158 SqlInt64.cs : Round SqlMoney decimal value before casting into them.
161 Years and months were ignored in some .ctor().
162 Return invariant culture string in ToString().
163 Return null for operator - when operand is null.
165 2004-05-09 Gert Driesen (drieseng@users.sourceforge.net)
166 * SqlString.cs: change accessibility of CompareOptions property
167 to private, commented out unreachable code
169 2004-04-12 Atsushi Enomoto <atsushi@ximian.com>
171 * SqlBoolean.cs : Allow "0" and "1" on Parse(). Allow SqlString.Null
173 * SqlString.cs : CompareOption should not be None.
175 2004-04-01 Lluis Sanchez Gual <lluis@ximian.com>
177 * SqlNullValueException.cs: Use a more clarifying error message.
179 2003-12-19 Tim Coleman <tim@timcoleman.com>
180 * SqlBytes.cs SqlChars.cs SqlDate.cs SqlStreamChars.cs SqlTime.cs
181 * SqlUtcDateTime.cs SqlXmlReader.cs:
183 2003-06-03 Ville Palo <vi64pa@kolumbus.fi>
185 * SqlBinary.cs: Changed one SqlTypeException --> IndexOutOfRange
186 * SqlMoney.cs: checkings
188 2003-06-02 Ville Palo <vi64pa@kolumbus.fi>
190 * SqlString.cs: implementes less than and greater than operators.
191 Added some checks to ctor.
193 2003-06-01 Ville Palo <vi64pa@kolumbus.fi>
195 * SqlString.cs: added null checking
197 2003-05-28 Ville Palo <vi64pa@kolumbus.fi>
199 * SqlMoney.cs: little fixes and clean ups
201 2003-05-28 Ville Palo <vi64pa@kolumbus.fi>
203 * SqlInt16.cs: more checked fixes.
204 * SqlInt64.cs: checked fixes.
205 * SqlSingle.cs: checked fixes.
207 2003-05-28 Ville Palo <vi64pa@kolumbus.fi>
209 * SqlInt16.cs: little fixes.
211 2003-05-28 Ville Palo <vi64pa@kolumbus.fi>
213 * SqlDouble.cs: Some fixes. Mostly infinity checks
214 * SqlSingle.cs: tiny fixes.
215 * SqlInt64.cs: checked fix.
217 2003-05-28 Ville Palo <vi64pa@kolumbus.fi>
219 * ChangeLog: Added this.
220 * SqlByte.cs: Fixed checked parts