1 2007-07-26 Nagappan A <anagappan@novell.com>
3 * SqlString.cs: notNull private member is now updated properly in
4 the constructure, based on the argument being passed.
6 2007-07-24 Nagappan A <anagappan@novell.com>
8 * SqlString.cs: Fixed compilation warning.
10 * SqlBytes.cs: Fixed compilation warning.
12 * SqlChars.cs: Fixed compilation warning.
14 2007-05-10 Adar Wesley <adarw@mainsoft.com>
16 * SqlBoolean.cs: fixed typo in method names GreaterThanOrEquals,
19 * SqlByte.cs: added missing method Modulus.
21 * SqlBytes.cs: added missing methods Read, Write.
23 * SqlChars.cs: added missing methods ToSqlString, Write.
25 * SqlDateTime.cs: added missing methods Add, Subtract.
27 * SqlXml.cs: added missing method CreateReader.
29 2007-05-04 Raja R Harinath <rharinath@novell.com>
31 * SqlDateTime.cs: Rewrite parts converting SQL ticks to and from
32 DateTime ticks. Attempt to understand what the damned 'bilisecond'
35 2007-03-09 Nagappan A <anagappan@novell.com>
37 * SqlBoolean.cs (GreaterThan, GreaterThanOrEqual, LessThan)
38 (LessThanOrEqual, GetXsdType, operator >, >=, <, <=): Implemented
41 * SqlDouble.cs (GetXsdType): Implemented missing 2.0 method.
43 * SqlString.cs (GetXsdType): Implemented missing 2.0 method.
45 * SqlBinary.cs (Add, GetXsdType): Implemented missing 2.0 methods.
47 * SqlByte.cs (GetXsdType): Implemented missing 2.0 method.
49 * SqlBytes.cs (GetXsdType): Implemented missing 2.0 method.
51 * SqlChars.cs (GetXsdType): Implemented missing 2.0 method.
53 * SqlXml.cs (GetXsdType): Implemented missing 2.0 method.
55 * SqlGuid.cs (GetXsdType): Implemented missing 2.0 method.
57 * SqlInt64.cs (GetXsdType): Implemented missing 2.0 method.
59 * SqlInt32.cs (GetXsdType): Implemented missing 2.0 method.
61 * SqlInt16.cs (GetXsdType): Implemented missing 2.0 method.
63 * SqlNotFilledException.cs: Fixed syntax errors based on class
66 * SqlDecimal.cs (GetXsdType): Implemented missing method.
68 * SqlDateTime.cs (GetXsdType): Implemented missing method.
70 * SqlMoney.cs (GetXsdType): Implemented missing 2.0 method.
72 * SqlSingle.cs (GetXsdType): Implemented missing 2.0 method.
74 2007-02-11 Konstantin Triger <kostat@mainsoft.com>
76 * SqlDateTime.cs, SqlDecimal.cs, SqlByte.cs, SqlDouble.cs, SqlBoolean.cs,
77 SqlBinary.cs, SqlGuid.cs: Added a 2.0 CompareTo override (refactoring).
79 2007-02-11 Vladimir Krasnov <vladimirk@mainsoft.com>
81 * SqlDateTime.cs: changed MaxValue and MinValue initialization, it was
84 2007-02-09 Nagappan A <anagappan@novell.com>
86 * SqlNotFilledException.cs: Removed APIs that are not part of both
89 * SqlTypeException.cs: Implemented missing attributes.
91 * SqlChars.cs, SqlBytes.cs: Implemented missing attributes,
92 methods and added IXmlSerializable.
94 * SqlDouble.cs, SqlSingle.cs, SqlBinary.cs, SqlString.cs:
95 Implemented missing attributes, added IXmlSerializable.
97 * SqlXml.cs, SqlInt16.cs, SqlInt32.cs, SqlInt64.cs: Implemented
98 missing attributes, added IXmlSerializable.
100 * SqlDateTime.cs, SqlDecimal.cs, SqlMoney.cs, SqlGuid.cs:
101 Implemented missing attributes, added IXmlSerializable
103 2006-07-19 Senganal T <tsenganal@novell.com>
106 - Ctr : Throw OverflowException is value oveflows
107 - AdjustScale : Support values greater than Decimal.MaxValue.
108 Throw SqlTruncateException if scale cannot be adjusted.
109 - ConvertToPrecScale : Fix the precision
110 - Sign : use IsPositive to check for sign
111 - ToString : Do not append extrs '0'
112 - operator + , -, * : Support values greater than
113 decimal.maxvalue. Fix for infinite loop when '-' is
114 invoked for some cases.
115 - operators >,<,>=.<=,==,!= : Fix operations on negative numbers
116 Thanks to Harish Kumar Singh for the patch
118 2006-02-17 Chris Toshok <toshok@ximian.com>
120 * StorageState.cs: correct namespace, and remove "Delayed"
123 2006-02-03 Senganal T <tseganal@novell.com>
127 - GetNonUnicodeBytes()
129 Use Encoding class to convert between byte[] and string
131 2006-01-27 Senganal T <tsenganal@novell.com>
133 * SqlDateTime : Corrected the MaxValue for SqlDateTime
135 2005-09-15 Raja R Harinath <rharinath@novell.com>
137 * SqlString.cs (MoneyFormat): Move to SqlMoney.cs.
138 (operator SqlString) [SqlMoney variant]: Delegate to
139 SqlMoney.ToString ().
140 * SqlMoney.cs (MoneyFormat): Move from SqlString.cs.
141 (SqlString): New static constructor.
144 2005-09-02 Umadevi S <sumadevi@novell.com>
146 * SqlXml.cs : Added a dummy placeholder to compile MicrosoftServer namespace
148 2005-03-11 Sureshkumar T <tsureshkumar@novell.com>
150 * SqlDateTime.cs (Parse): Re-org. Resolve unreachable code.
152 2005-02-11 Sureshkumar T <tsureshkumar@novell.com>
153 Ankit Jain <radical@corewars.org>
155 * SqlGuid.cs: Fixed CompareTo to compare all the 16 digits. This
156 is a LAMESPEC and current implementation matches ms.net. This
157 actually reverts Uma's patch with revison 29013.
159 2005-02-03 Sureshkumar T <tsureshkumar@novell.com>
161 * SqlDateTime.cs : Parse : try with local culture first, then try
162 with invariant culture if it fails.
164 2004-09-14 Umadevi S <sumadevi@novell.com>
165 * Made SerializableAttribute !net_2_0 for all the exception classes
168 2004-09-14 Umadevi S <sumadevi@novell.com>
169 * SqlAlreadyFilledException.cs, SqlNotFilledException.cs - Added these files
171 2004-07-21 Umadevi S <sumadevi@novell.com>
172 * SqlInt16.cs, SqlInt32.cs, SqlInt64.cs - Added Modulus,CompareTo method from .NET2.0
174 2004-07-14 Umadevi S <sumadevi@novell.com>
175 * SqlMoney.cs, SqlSingle.cs - Added CompareTo method from .NET2.0
176 * Added new Enum StorageState.cs
178 2004-07-14 Umadevi S <sumadevi@novell.com>
179 * SqlString.cs :Fixed + operator for null, CompareTo to throw SqlTypeException
180 Implemented Add and CompareTo methods from .NET2.0
182 2004-06-18 Gert Driesen <drieseng@users.sourceforge.net>
184 * SqlNullValueException.cs: fixed serialization
185 * SqlTruncateException.cs: fixed serialization
186 * SqlTypeException.cs: fixed serialization
188 2004-06-18 Sebastien Pouliot <sebastien@ximian.com>
190 * SqlMoney.cs: Removed old "hack" to correct scale after rounding as
191 Decimal has been fixed (in fact this code was moved and adapted for
192 Decimal as it was better than the previous fix).
194 2004-06-08 Umadevi S <sumadevi@novell.com>
195 * SqlGuid.cs - fixed bug 59420. Implemented CompareTo according to MSDN documenation
197 2004-05-27 Atsushi Enomoto <atsushi@ximian.com>
199 * SqlDecimal.cs : don't output debug message to Console.
201 2004-05-18 Atsushi Enomoto <atsushi@ximian.com>
203 * SqlDecimal.cs : Fixed operator/ not to return positive always.
204 Halfly fixed ConvertToPrecScale() that was broken.
206 2004-05-18 Atsushi Enomoto <atsushi@ximian.com>
209 - .ctor() should check the valid scale range and throw
211 - Value should copy the last int32 value fragment.
212 - Fixed Abs() and Ceiling() to return Null when the input is Null.
213 - Now AdjustScale() should not depend on Truncate() that keeps zero
214 digits correctly. So Round() before returning the final result.
215 - ToString() should insert '-' for minus values.
216 - operator+ should use larger scale of operands rather than smaller
219 2004-05-18 Atsushi Enomoto <atsushi@ximian.com>
221 * SqlDecimal.cs : Fixed Truncate() to work fine.
222 * SqlMoney.cs : Added one hack line in operator/ to work fine.
224 2004-05-18 Atsushi Enomoto <atsushi@ximian.com>
226 * SqlDecimal.cs : Fixed AdjustScale(). When reducing digits, scale
227 parameter was incorrect.
229 2004-05-18 Atsushi Enomoto <atsushi@ximian.com>
232 - .ctor(double) initializes the precision as 17. If not sufficient,
233 it calls AdjustScale(), and if too much then it calls Round().
234 - Data should not return the internal array otherwise it might be
235 modified by outer code.
236 - Reimplemented AdjustScale() to work fine.
237 - Reimplemented Parse(). It should rather use Decimal.Parse()
238 rather than SqlDouble.Parse() for parsable value range difference.
239 - Reimplemented Round(). Don't use double.
240 - Fixed ToString() to return "Null" for null value.
241 - Fixed explicit let operator to use double .ctor, not decimal
242 .ctor() so that precision can be handled in the same way as double.
244 2004-05-17 Atsushi Enomoto <atsushi@ximian.com>
252 SqlString.cs : If values are null, ToString() should return "Null".
254 2004-05-11 Atsushi Enomoto <atsushi@ximian.com>
256 * SqlMoney.cs : Handle fixed digits correctly.
257 Round decimal value before casting into other numeric types.
260 SqlInt64.cs : Round SqlMoney decimal value before casting into them.
263 Years and months were ignored in some .ctor().
264 Return invariant culture string in ToString().
265 Return null for operator - when operand is null.
267 2004-05-09 Gert Driesen (drieseng@users.sourceforge.net)
268 * SqlString.cs: change accessibility of CompareOptions property
269 to private, commented out unreachable code
271 2004-04-12 Atsushi Enomoto <atsushi@ximian.com>
273 * SqlBoolean.cs : Allow "0" and "1" on Parse(). Allow SqlString.Null
275 * SqlString.cs : CompareOption should not be None.
277 2004-04-01 Lluis Sanchez Gual <lluis@ximian.com>
279 * SqlNullValueException.cs: Use a more clarifying error message.
281 2003-12-19 Tim Coleman <tim@timcoleman.com>
282 * SqlBytes.cs SqlChars.cs SqlDate.cs SqlStreamChars.cs SqlTime.cs
283 * SqlUtcDateTime.cs SqlXmlReader.cs:
285 2003-06-03 Ville Palo <vi64pa@kolumbus.fi>
287 * SqlBinary.cs: Changed one SqlTypeException --> IndexOutOfRange
288 * SqlMoney.cs: checkings
290 2003-06-02 Ville Palo <vi64pa@kolumbus.fi>
292 * SqlString.cs: implementes less than and greater than operators.
293 Added some checks to ctor.
295 2003-06-01 Ville Palo <vi64pa@kolumbus.fi>
297 * SqlString.cs: added null checking
299 2003-05-28 Ville Palo <vi64pa@kolumbus.fi>
301 * SqlMoney.cs: little fixes and clean ups
303 2003-05-28 Ville Palo <vi64pa@kolumbus.fi>
305 * SqlInt16.cs: more checked fixes.
306 * SqlInt64.cs: checked fixes.
307 * SqlSingle.cs: checked fixes.
309 2003-05-28 Ville Palo <vi64pa@kolumbus.fi>
311 * SqlInt16.cs: little fixes.
313 2003-05-28 Ville Palo <vi64pa@kolumbus.fi>
315 * SqlDouble.cs: Some fixes. Mostly infinity checks
316 * SqlSingle.cs: tiny fixes.
317 * SqlInt64.cs: checked fix.
319 2003-05-28 Ville Palo <vi64pa@kolumbus.fi>
321 * ChangeLog: Added this.
322 * SqlByte.cs: Fixed checked parts