1 2008-04-21 Gert Driesen <drieseng@users.sourceforge.net>
3 * SqlDecimal.cs: Changed argument names to match MS. Code formatting.
4 * SqlNotFilledException.cs: Changed argument names to match MS. Code
6 * SqlChars.cs: Changed argument names to match MS. Code formatting.
7 * SqlTypeException.cs: Changed argument names to match MS. Code
9 * SqlXml.cs: Changed argument names to match MS. Code formatting.
10 * SqlInt16.cs: Changed argument names to match MS. Code formatting.
11 * SqlInt64.cs: Changed argument names to match MS. Code formatting.
12 * SqlTruncateException.cs: Changed argument names to match MS.
14 * SqlDouble.cs: Changed argument names to match MS. Code formatting.
15 * SqlSingle.cs: Changed argument names to match MS. Code formatting.
16 * SqlBytes.cs: Changed argument names to match MS. Code formatting.
17 * SqlNullValueException.cs: Changed argument names to match MS. Code
19 * SqlMoney.cs: Changed argument names to match MS. Code formatting.
21 2007-10-02 Veerapuram Varadhan <vvaradhan@novell.com>
23 * SqlChars.cs, SqlBytes.cs (Read, Write): Implemented missing 2.0 APIs.
25 2007-09-27 Veerapuram Varadhan <vvaradhan@novell.com>
27 * SqlDecimal.cs, SqlInt32.cs, SqlChars.cs, SqlInt16.cs, SqlInt64.cs,
28 SqlString.cs, SqlDouble.cs (GetXsdType, GetSchema): Removed the
29 extra XmlRootAttribute and GetXsdType will return appropriate
30 modified root attribute for the XML Serializer. Implemented
33 2007-09-25 Veerapuram Varadhan <vvaradhan@novell.com>
35 * SqlChars.cs (ReadXml, WriteXml): Implemented APIs.
37 * SqlInt16.cs (ReadXml, WriteXml): Implemented APIs.
39 * SqlInt32.cs (ReadXml, WriteXml): Implemented APIs.
41 * SqlInt64.cs (ReadXml, WriteXml): Implemented APIs.
43 * SqlDecimal.cs (ReadXml, WriteXml): Implemented APIs.
45 * SqlDouble.cs (ReadXml, WriteXml): Implemented APIs.
47 * SqlString.cs (ReadXml, WriteXml): Implemented APIs.
49 2007-09-25 Nagappan A <anagappan@novell.com>
51 * SqlMoney.cs (implicit, explicit): Implemented missing APIs.
53 * SqlBytes.cs (implicit, explicit): Implemented missing APIs.
55 * SqlBinary.cs: 2.0 attribute fixes.
57 * SqlAlreadyFilledException.cs: 2.0 attribute fixes.
59 * SqlBoolean.cs: 2.0 attribute fixes.
61 * SqlByte.cs: 2.0 attribute fixes.
63 * SqlXml.cs: 2.0 attribute fixes.
65 * SqlChars.cs (implicit, explicit): Implemented missing APIs.
67 * SqlDecimal.cs (implicit, explicit): Implemented missing APIs.
69 2007-07-26 Nagappan A <anagappan@novell.com>
71 * SqlString.cs: notNull private member is now updated properly in
72 the constructure, based on the argument being passed.
74 2007-07-24 Nagappan A <anagappan@novell.com>
76 * SqlString.cs: Fixed compilation warning.
78 * SqlBytes.cs: Fixed compilation warning.
80 * SqlChars.cs: Fixed compilation warning.
82 2007-05-10 Adar Wesley <adarw@mainsoft.com>
84 * SqlBoolean.cs: fixed typo in method names GreaterThanOrEquals,
87 * SqlByte.cs: added missing method Modulus.
89 * SqlBytes.cs: added missing methods Read, Write.
91 * SqlChars.cs: added missing methods ToSqlString, Write.
93 * SqlDateTime.cs: added missing methods Add, Subtract.
95 * SqlXml.cs: added missing method CreateReader.
97 2007-05-04 Raja R Harinath <rharinath@novell.com>
99 * SqlDateTime.cs: Rewrite parts converting SQL ticks to and from
100 DateTime ticks. Attempt to understand what the damned 'bilisecond'
103 2007-03-09 Nagappan A <anagappan@novell.com>
105 * SqlBoolean.cs (GreaterThan, GreaterThanOrEqual, LessThan)
106 (LessThanOrEqual, GetXsdType, operator >, >=, <, <=): Implemented
109 * SqlDouble.cs (GetXsdType): Implemented missing 2.0 method.
111 * SqlString.cs (GetXsdType): Implemented missing 2.0 method.
113 * SqlBinary.cs (Add, GetXsdType): Implemented missing 2.0 methods.
115 * SqlByte.cs (GetXsdType): Implemented missing 2.0 method.
117 * SqlBytes.cs (GetXsdType): Implemented missing 2.0 method.
119 * SqlChars.cs (GetXsdType): Implemented missing 2.0 method.
121 * SqlXml.cs (GetXsdType): Implemented missing 2.0 method.
123 * SqlGuid.cs (GetXsdType): Implemented missing 2.0 method.
125 * SqlInt64.cs (GetXsdType): Implemented missing 2.0 method.
127 * SqlInt32.cs (GetXsdType): Implemented missing 2.0 method.
129 * SqlInt16.cs (GetXsdType): Implemented missing 2.0 method.
131 * SqlNotFilledException.cs: Fixed syntax errors based on class
134 * SqlDecimal.cs (GetXsdType): Implemented missing method.
136 * SqlDateTime.cs (GetXsdType): Implemented missing method.
138 * SqlMoney.cs (GetXsdType): Implemented missing 2.0 method.
140 * SqlSingle.cs (GetXsdType): Implemented missing 2.0 method.
142 2007-02-11 Konstantin Triger <kostat@mainsoft.com>
144 * SqlDateTime.cs, SqlDecimal.cs, SqlByte.cs, SqlDouble.cs, SqlBoolean.cs,
145 SqlBinary.cs, SqlGuid.cs: Added a 2.0 CompareTo override (refactoring).
147 2007-02-11 Vladimir Krasnov <vladimirk@mainsoft.com>
149 * SqlDateTime.cs: changed MaxValue and MinValue initialization, it was
152 2007-02-09 Nagappan A <anagappan@novell.com>
154 * SqlNotFilledException.cs: Removed APIs that are not part of both
157 * SqlTypeException.cs: Implemented missing attributes.
159 * SqlChars.cs, SqlBytes.cs: Implemented missing attributes,
160 methods and added IXmlSerializable.
162 * SqlDouble.cs, SqlSingle.cs, SqlBinary.cs, SqlString.cs:
163 Implemented missing attributes, added IXmlSerializable.
165 * SqlXml.cs, SqlInt16.cs, SqlInt32.cs, SqlInt64.cs: Implemented
166 missing attributes, added IXmlSerializable.
168 * SqlDateTime.cs, SqlDecimal.cs, SqlMoney.cs, SqlGuid.cs:
169 Implemented missing attributes, added IXmlSerializable
171 2006-07-19 Senganal T <tsenganal@novell.com>
174 - Ctr : Throw OverflowException is value oveflows
175 - AdjustScale : Support values greater than Decimal.MaxValue.
176 Throw SqlTruncateException if scale cannot be adjusted.
177 - ConvertToPrecScale : Fix the precision
178 - Sign : use IsPositive to check for sign
179 - ToString : Do not append extrs '0'
180 - operator + , -, * : Support values greater than
181 decimal.maxvalue. Fix for infinite loop when '-' is
182 invoked for some cases.
183 - operators >,<,>=.<=,==,!= : Fix operations on negative numbers
184 Thanks to Harish Kumar Singh for the patch
186 2006-02-17 Chris Toshok <toshok@ximian.com>
188 * StorageState.cs: correct namespace, and remove "Delayed"
191 2006-02-03 Senganal T <tseganal@novell.com>
195 - GetNonUnicodeBytes()
197 Use Encoding class to convert between byte[] and string
199 2006-01-27 Senganal T <tsenganal@novell.com>
201 * SqlDateTime : Corrected the MaxValue for SqlDateTime
203 2005-09-15 Raja R Harinath <rharinath@novell.com>
205 * SqlString.cs (MoneyFormat): Move to SqlMoney.cs.
206 (operator SqlString) [SqlMoney variant]: Delegate to
207 SqlMoney.ToString ().
208 * SqlMoney.cs (MoneyFormat): Move from SqlString.cs.
209 (SqlString): New static constructor.
212 2005-09-02 Umadevi S <sumadevi@novell.com>
214 * SqlXml.cs : Added a dummy placeholder to compile MicrosoftServer namespace
216 2005-03-11 Sureshkumar T <tsureshkumar@novell.com>
218 * SqlDateTime.cs (Parse): Re-org. Resolve unreachable code.
220 2005-02-11 Sureshkumar T <tsureshkumar@novell.com>
221 Ankit Jain <radical@corewars.org>
223 * SqlGuid.cs: Fixed CompareTo to compare all the 16 digits. This
224 is a LAMESPEC and current implementation matches ms.net. This
225 actually reverts Uma's patch with revison 29013.
227 2005-02-03 Sureshkumar T <tsureshkumar@novell.com>
229 * SqlDateTime.cs : Parse : try with local culture first, then try
230 with invariant culture if it fails.
232 2004-09-14 Umadevi S <sumadevi@novell.com>
233 * Made SerializableAttribute !net_2_0 for all the exception classes
236 2004-09-14 Umadevi S <sumadevi@novell.com>
237 * SqlAlreadyFilledException.cs, SqlNotFilledException.cs - Added these files
239 2004-07-21 Umadevi S <sumadevi@novell.com>
240 * SqlInt16.cs, SqlInt32.cs, SqlInt64.cs - Added Modulus,CompareTo method from .NET2.0
242 2004-07-14 Umadevi S <sumadevi@novell.com>
243 * SqlMoney.cs, SqlSingle.cs - Added CompareTo method from .NET2.0
244 * Added new Enum StorageState.cs
246 2004-07-14 Umadevi S <sumadevi@novell.com>
247 * SqlString.cs :Fixed + operator for null, CompareTo to throw SqlTypeException
248 Implemented Add and CompareTo methods from .NET2.0
250 2004-06-18 Gert Driesen <drieseng@users.sourceforge.net>
252 * SqlNullValueException.cs: fixed serialization
253 * SqlTruncateException.cs: fixed serialization
254 * SqlTypeException.cs: fixed serialization
256 2004-06-18 Sebastien Pouliot <sebastien@ximian.com>
258 * SqlMoney.cs: Removed old "hack" to correct scale after rounding as
259 Decimal has been fixed (in fact this code was moved and adapted for
260 Decimal as it was better than the previous fix).
262 2004-06-08 Umadevi S <sumadevi@novell.com>
263 * SqlGuid.cs - fixed bug 59420. Implemented CompareTo according to MSDN documenation
265 2004-05-27 Atsushi Enomoto <atsushi@ximian.com>
267 * SqlDecimal.cs : don't output debug message to Console.
269 2004-05-18 Atsushi Enomoto <atsushi@ximian.com>
271 * SqlDecimal.cs : Fixed operator/ not to return positive always.
272 Halfly fixed ConvertToPrecScale() that was broken.
274 2004-05-18 Atsushi Enomoto <atsushi@ximian.com>
277 - .ctor() should check the valid scale range and throw
279 - Value should copy the last int32 value fragment.
280 - Fixed Abs() and Ceiling() to return Null when the input is Null.
281 - Now AdjustScale() should not depend on Truncate() that keeps zero
282 digits correctly. So Round() before returning the final result.
283 - ToString() should insert '-' for minus values.
284 - operator+ should use larger scale of operands rather than smaller
287 2004-05-18 Atsushi Enomoto <atsushi@ximian.com>
289 * SqlDecimal.cs : Fixed Truncate() to work fine.
290 * SqlMoney.cs : Added one hack line in operator/ to work fine.
292 2004-05-18 Atsushi Enomoto <atsushi@ximian.com>
294 * SqlDecimal.cs : Fixed AdjustScale(). When reducing digits, scale
295 parameter was incorrect.
297 2004-05-18 Atsushi Enomoto <atsushi@ximian.com>
300 - .ctor(double) initializes the precision as 17. If not sufficient,
301 it calls AdjustScale(), and if too much then it calls Round().
302 - Data should not return the internal array otherwise it might be
303 modified by outer code.
304 - Reimplemented AdjustScale() to work fine.
305 - Reimplemented Parse(). It should rather use Decimal.Parse()
306 rather than SqlDouble.Parse() for parsable value range difference.
307 - Reimplemented Round(). Don't use double.
308 - Fixed ToString() to return "Null" for null value.
309 - Fixed explicit let operator to use double .ctor, not decimal
310 .ctor() so that precision can be handled in the same way as double.
312 2004-05-17 Atsushi Enomoto <atsushi@ximian.com>
320 SqlString.cs : If values are null, ToString() should return "Null".
322 2004-05-11 Atsushi Enomoto <atsushi@ximian.com>
324 * SqlMoney.cs : Handle fixed digits correctly.
325 Round decimal value before casting into other numeric types.
328 SqlInt64.cs : Round SqlMoney decimal value before casting into them.
331 Years and months were ignored in some .ctor().
332 Return invariant culture string in ToString().
333 Return null for operator - when operand is null.
335 2004-05-09 Gert Driesen (drieseng@users.sourceforge.net)
336 * SqlString.cs: change accessibility of CompareOptions property
337 to private, commented out unreachable code
339 2004-04-12 Atsushi Enomoto <atsushi@ximian.com>
341 * SqlBoolean.cs : Allow "0" and "1" on Parse(). Allow SqlString.Null
343 * SqlString.cs : CompareOption should not be None.
345 2004-04-01 Lluis Sanchez Gual <lluis@ximian.com>
347 * SqlNullValueException.cs: Use a more clarifying error message.
349 2003-12-19 Tim Coleman <tim@timcoleman.com>
350 * SqlBytes.cs SqlChars.cs SqlDate.cs SqlStreamChars.cs SqlTime.cs
351 * SqlUtcDateTime.cs SqlXmlReader.cs:
353 2003-06-03 Ville Palo <vi64pa@kolumbus.fi>
355 * SqlBinary.cs: Changed one SqlTypeException --> IndexOutOfRange
356 * SqlMoney.cs: checkings
358 2003-06-02 Ville Palo <vi64pa@kolumbus.fi>
360 * SqlString.cs: implementes less than and greater than operators.
361 Added some checks to ctor.
363 2003-06-01 Ville Palo <vi64pa@kolumbus.fi>
365 * SqlString.cs: added null checking
367 2003-05-28 Ville Palo <vi64pa@kolumbus.fi>
369 * SqlMoney.cs: little fixes and clean ups
371 2003-05-28 Ville Palo <vi64pa@kolumbus.fi>
373 * SqlInt16.cs: more checked fixes.
374 * SqlInt64.cs: checked fixes.
375 * SqlSingle.cs: checked fixes.
377 2003-05-28 Ville Palo <vi64pa@kolumbus.fi>
379 * SqlInt16.cs: little fixes.
381 2003-05-28 Ville Palo <vi64pa@kolumbus.fi>
383 * SqlDouble.cs: Some fixes. Mostly infinity checks
384 * SqlSingle.cs: tiny fixes.
385 * SqlInt64.cs: checked fix.
387 2003-05-28 Ville Palo <vi64pa@kolumbus.fi>
389 * ChangeLog: Added this.
390 * SqlByte.cs: Fixed checked parts