1 2008-12-21 Veerapuram Varadhan <vvaradhan@novell.com>
3 * SqlXml.cs (CreateReader): Better use
4 ConformanceLevel.Fragment while creating the reader as column
5 values are not really Xml documents. Also, throw
6 SqlNullValueException when data is null.
7 (.ctor): Take good care of empty XmlReaders.
9 2008-09-24 Veerapuram Varadhan <vvaradhan@novell.com>
11 * SqlXml.cs (.ctor): Use unicode encoding instead of ASCII.
13 2008-09-24 Veerapuram Varadhan <vvaradhan@novell.com>
15 * SqlXml.cs (.ctor): Handle 0 length streams.
16 (get_Value): Throw SqlNullValueException if data is
19 2008-09-23 Veerapuram Varadhan <vvaradhan@novell.com>
21 * SqlXml.cs (.ctor, get_Value, CreateReader): Implemented and
22 removed MonoTODO and MethodNotImplementedException.
24 2008-06-12 Atsushi Enomoto <atsushi@ximian.com>
26 * SqlDateTime.cs, SqlDecimal.cs, SqlInt32.cs, SqlInt16.cs,
27 SqlByte.cs, SqlInt64.cs, SqlString.cs, SqlDouble.cs,
28 SqlSingle.cs, SqlBinary.cs, SqlMoney.cs, SqlGuid.cs:
29 ok, everything needs the same fix.
30 (Do not let me write exhausting tests for everything.)
32 2008-06-12 Atsushi Enomoto <atsushi@ximian.com>
34 * SqlBoolean.cs : SqlBoolean.Null.Equals(non-null) caused crash.
36 2008-04-21 Gert Driesen <drieseng@users.sourceforge.net>
38 * SqlDateTime.cs: Changed argument names to match MS. Code formatting.
39 * SqlDecimal.cs: Changed argument names to match MS. Code formatting.
40 * SqlNotFilledException.cs: Changed argument names to match MS. Code
42 * SqlChars.cs: Changed argument names to match MS. Code formatting.
43 * SqlTypeException.cs: Changed argument names to match MS. Code
45 * SqlXml.cs: Changed argument names to match MS. Code formatting.
46 * SqlInt16.cs: Changed argument names to match MS. Code formatting.
47 * SqlInt64.cs: Changed argument names to match MS. Code formatting.
48 * SqlTruncateException.cs: Changed argument names to match MS.
50 * SqlDouble.cs: Changed argument names to match MS. Code formatting.
51 * SqlSingle.cs: Changed argument names to match MS. Code formatting.
52 * SqlBytes.cs: Changed argument names to match MS. Code formatting.
53 * SqlNullValueException.cs: Changed argument names to match MS. Code
55 * SqlMoney.cs: Changed argument names to match MS. Code formatting.
57 2007-10-02 Veerapuram Varadhan <vvaradhan@novell.com>
59 * SqlChars.cs, SqlBytes.cs (Read, Write): Implemented missing 2.0 APIs.
61 2007-09-27 Veerapuram Varadhan <vvaradhan@novell.com>
63 * SqlDecimal.cs, SqlInt32.cs, SqlChars.cs, SqlInt16.cs, SqlInt64.cs,
64 SqlString.cs, SqlDouble.cs (GetXsdType, GetSchema): Removed the
65 extra XmlRootAttribute and GetXsdType will return appropriate
66 modified root attribute for the XML Serializer. Implemented
69 2007-09-25 Veerapuram Varadhan <vvaradhan@novell.com>
71 * SqlChars.cs (ReadXml, WriteXml): Implemented APIs.
73 * SqlInt16.cs (ReadXml, WriteXml): Implemented APIs.
75 * SqlInt32.cs (ReadXml, WriteXml): Implemented APIs.
77 * SqlInt64.cs (ReadXml, WriteXml): Implemented APIs.
79 * SqlDecimal.cs (ReadXml, WriteXml): Implemented APIs.
81 * SqlDouble.cs (ReadXml, WriteXml): Implemented APIs.
83 * SqlString.cs (ReadXml, WriteXml): Implemented APIs.
85 2007-09-25 Nagappan A <anagappan@novell.com>
87 * SqlMoney.cs (implicit, explicit): Implemented missing APIs.
89 * SqlBytes.cs (implicit, explicit): Implemented missing APIs.
91 * SqlBinary.cs: 2.0 attribute fixes.
93 * SqlAlreadyFilledException.cs: 2.0 attribute fixes.
95 * SqlBoolean.cs: 2.0 attribute fixes.
97 * SqlByte.cs: 2.0 attribute fixes.
99 * SqlXml.cs: 2.0 attribute fixes.
101 * SqlChars.cs (implicit, explicit): Implemented missing APIs.
103 * SqlDecimal.cs (implicit, explicit): Implemented missing APIs.
105 2007-07-26 Nagappan A <anagappan@novell.com>
107 * SqlString.cs: notNull private member is now updated properly in
108 the constructure, based on the argument being passed.
110 2007-07-24 Nagappan A <anagappan@novell.com>
112 * SqlString.cs: Fixed compilation warning.
114 * SqlBytes.cs: Fixed compilation warning.
116 * SqlChars.cs: Fixed compilation warning.
118 2007-05-10 Adar Wesley <adarw@mainsoft.com>
120 * SqlBoolean.cs: fixed typo in method names GreaterThanOrEquals,
123 * SqlByte.cs: added missing method Modulus.
125 * SqlBytes.cs: added missing methods Read, Write.
127 * SqlChars.cs: added missing methods ToSqlString, Write.
129 * SqlDateTime.cs: added missing methods Add, Subtract.
131 * SqlXml.cs: added missing method CreateReader.
133 2007-05-04 Raja R Harinath <rharinath@novell.com>
135 * SqlDateTime.cs: Rewrite parts converting SQL ticks to and from
136 DateTime ticks. Attempt to understand what the damned 'bilisecond'
139 2007-03-09 Nagappan A <anagappan@novell.com>
141 * SqlBoolean.cs (GreaterThan, GreaterThanOrEqual, LessThan)
142 (LessThanOrEqual, GetXsdType, operator >, >=, <, <=): Implemented
145 * SqlDouble.cs (GetXsdType): Implemented missing 2.0 method.
147 * SqlString.cs (GetXsdType): Implemented missing 2.0 method.
149 * SqlBinary.cs (Add, GetXsdType): Implemented missing 2.0 methods.
151 * SqlByte.cs (GetXsdType): Implemented missing 2.0 method.
153 * SqlBytes.cs (GetXsdType): Implemented missing 2.0 method.
155 * SqlChars.cs (GetXsdType): Implemented missing 2.0 method.
157 * SqlXml.cs (GetXsdType): Implemented missing 2.0 method.
159 * SqlGuid.cs (GetXsdType): Implemented missing 2.0 method.
161 * SqlInt64.cs (GetXsdType): Implemented missing 2.0 method.
163 * SqlInt32.cs (GetXsdType): Implemented missing 2.0 method.
165 * SqlInt16.cs (GetXsdType): Implemented missing 2.0 method.
167 * SqlNotFilledException.cs: Fixed syntax errors based on class
170 * SqlDecimal.cs (GetXsdType): Implemented missing method.
172 * SqlDateTime.cs (GetXsdType): Implemented missing method.
174 * SqlMoney.cs (GetXsdType): Implemented missing 2.0 method.
176 * SqlSingle.cs (GetXsdType): Implemented missing 2.0 method.
178 2007-02-11 Konstantin Triger <kostat@mainsoft.com>
180 * SqlDateTime.cs, SqlDecimal.cs, SqlByte.cs, SqlDouble.cs, SqlBoolean.cs,
181 SqlBinary.cs, SqlGuid.cs: Added a 2.0 CompareTo override (refactoring).
183 2007-02-11 Vladimir Krasnov <vladimirk@mainsoft.com>
185 * SqlDateTime.cs: changed MaxValue and MinValue initialization, it was
188 2007-02-09 Nagappan A <anagappan@novell.com>
190 * SqlNotFilledException.cs: Removed APIs that are not part of both
193 * SqlTypeException.cs: Implemented missing attributes.
195 * SqlChars.cs, SqlBytes.cs: Implemented missing attributes,
196 methods and added IXmlSerializable.
198 * SqlDouble.cs, SqlSingle.cs, SqlBinary.cs, SqlString.cs:
199 Implemented missing attributes, added IXmlSerializable.
201 * SqlXml.cs, SqlInt16.cs, SqlInt32.cs, SqlInt64.cs: Implemented
202 missing attributes, added IXmlSerializable.
204 * SqlDateTime.cs, SqlDecimal.cs, SqlMoney.cs, SqlGuid.cs:
205 Implemented missing attributes, added IXmlSerializable
207 2006-07-19 Senganal T <tsenganal@novell.com>
210 - Ctr : Throw OverflowException is value oveflows
211 - AdjustScale : Support values greater than Decimal.MaxValue.
212 Throw SqlTruncateException if scale cannot be adjusted.
213 - ConvertToPrecScale : Fix the precision
214 - Sign : use IsPositive to check for sign
215 - ToString : Do not append extrs '0'
216 - operator + , -, * : Support values greater than
217 decimal.maxvalue. Fix for infinite loop when '-' is
218 invoked for some cases.
219 - operators >,<,>=.<=,==,!= : Fix operations on negative numbers
220 Thanks to Harish Kumar Singh for the patch
222 2006-02-17 Chris Toshok <toshok@ximian.com>
224 * StorageState.cs: correct namespace, and remove "Delayed"
227 2006-02-03 Senganal T <tseganal@novell.com>
231 - GetNonUnicodeBytes()
233 Use Encoding class to convert between byte[] and string
235 2006-01-27 Senganal T <tsenganal@novell.com>
237 * SqlDateTime : Corrected the MaxValue for SqlDateTime
239 2005-09-15 Raja R Harinath <rharinath@novell.com>
241 * SqlString.cs (MoneyFormat): Move to SqlMoney.cs.
242 (operator SqlString) [SqlMoney variant]: Delegate to
243 SqlMoney.ToString ().
244 * SqlMoney.cs (MoneyFormat): Move from SqlString.cs.
245 (SqlString): New static constructor.
248 2005-09-02 Umadevi S <sumadevi@novell.com>
250 * SqlXml.cs : Added a dummy placeholder to compile MicrosoftServer namespace
252 2005-03-11 Sureshkumar T <tsureshkumar@novell.com>
254 * SqlDateTime.cs (Parse): Re-org. Resolve unreachable code.
256 2005-02-11 Sureshkumar T <tsureshkumar@novell.com>
257 Ankit Jain <radical@corewars.org>
259 * SqlGuid.cs: Fixed CompareTo to compare all the 16 digits. This
260 is a LAMESPEC and current implementation matches ms.net. This
261 actually reverts Uma's patch with revison 29013.
263 2005-02-03 Sureshkumar T <tsureshkumar@novell.com>
265 * SqlDateTime.cs : Parse : try with local culture first, then try
266 with invariant culture if it fails.
268 2004-09-14 Umadevi S <sumadevi@novell.com>
269 * Made SerializableAttribute !net_2_0 for all the exception classes
272 2004-09-14 Umadevi S <sumadevi@novell.com>
273 * SqlAlreadyFilledException.cs, SqlNotFilledException.cs - Added these files
275 2004-07-21 Umadevi S <sumadevi@novell.com>
276 * SqlInt16.cs, SqlInt32.cs, SqlInt64.cs - Added Modulus,CompareTo method from .NET2.0
278 2004-07-14 Umadevi S <sumadevi@novell.com>
279 * SqlMoney.cs, SqlSingle.cs - Added CompareTo method from .NET2.0
280 * Added new Enum StorageState.cs
282 2004-07-14 Umadevi S <sumadevi@novell.com>
283 * SqlString.cs :Fixed + operator for null, CompareTo to throw SqlTypeException
284 Implemented Add and CompareTo methods from .NET2.0
286 2004-06-18 Gert Driesen <drieseng@users.sourceforge.net>
288 * SqlNullValueException.cs: fixed serialization
289 * SqlTruncateException.cs: fixed serialization
290 * SqlTypeException.cs: fixed serialization
292 2004-06-18 Sebastien Pouliot <sebastien@ximian.com>
294 * SqlMoney.cs: Removed old "hack" to correct scale after rounding as
295 Decimal has been fixed (in fact this code was moved and adapted for
296 Decimal as it was better than the previous fix).
298 2004-06-08 Umadevi S <sumadevi@novell.com>
299 * SqlGuid.cs - fixed bug 59420. Implemented CompareTo according to MSDN documenation
301 2004-05-27 Atsushi Enomoto <atsushi@ximian.com>
303 * SqlDecimal.cs : don't output debug message to Console.
305 2004-05-18 Atsushi Enomoto <atsushi@ximian.com>
307 * SqlDecimal.cs : Fixed operator/ not to return positive always.
308 Halfly fixed ConvertToPrecScale() that was broken.
310 2004-05-18 Atsushi Enomoto <atsushi@ximian.com>
313 - .ctor() should check the valid scale range and throw
315 - Value should copy the last int32 value fragment.
316 - Fixed Abs() and Ceiling() to return Null when the input is Null.
317 - Now AdjustScale() should not depend on Truncate() that keeps zero
318 digits correctly. So Round() before returning the final result.
319 - ToString() should insert '-' for minus values.
320 - operator+ should use larger scale of operands rather than smaller
323 2004-05-18 Atsushi Enomoto <atsushi@ximian.com>
325 * SqlDecimal.cs : Fixed Truncate() to work fine.
326 * SqlMoney.cs : Added one hack line in operator/ to work fine.
328 2004-05-18 Atsushi Enomoto <atsushi@ximian.com>
330 * SqlDecimal.cs : Fixed AdjustScale(). When reducing digits, scale
331 parameter was incorrect.
333 2004-05-18 Atsushi Enomoto <atsushi@ximian.com>
336 - .ctor(double) initializes the precision as 17. If not sufficient,
337 it calls AdjustScale(), and if too much then it calls Round().
338 - Data should not return the internal array otherwise it might be
339 modified by outer code.
340 - Reimplemented AdjustScale() to work fine.
341 - Reimplemented Parse(). It should rather use Decimal.Parse()
342 rather than SqlDouble.Parse() for parsable value range difference.
343 - Reimplemented Round(). Don't use double.
344 - Fixed ToString() to return "Null" for null value.
345 - Fixed explicit let operator to use double .ctor, not decimal
346 .ctor() so that precision can be handled in the same way as double.
348 2004-05-17 Atsushi Enomoto <atsushi@ximian.com>
356 SqlString.cs : If values are null, ToString() should return "Null".
358 2004-05-11 Atsushi Enomoto <atsushi@ximian.com>
360 * SqlMoney.cs : Handle fixed digits correctly.
361 Round decimal value before casting into other numeric types.
364 SqlInt64.cs : Round SqlMoney decimal value before casting into them.
367 Years and months were ignored in some .ctor().
368 Return invariant culture string in ToString().
369 Return null for operator - when operand is null.
371 2004-05-09 Gert Driesen (drieseng@users.sourceforge.net)
372 * SqlString.cs: change accessibility of CompareOptions property
373 to private, commented out unreachable code
375 2004-04-12 Atsushi Enomoto <atsushi@ximian.com>
377 * SqlBoolean.cs : Allow "0" and "1" on Parse(). Allow SqlString.Null
379 * SqlString.cs : CompareOption should not be None.
381 2004-04-01 Lluis Sanchez Gual <lluis@ximian.com>
383 * SqlNullValueException.cs: Use a more clarifying error message.
385 2003-12-19 Tim Coleman <tim@timcoleman.com>
386 * SqlBytes.cs SqlChars.cs SqlDate.cs SqlStreamChars.cs SqlTime.cs
387 * SqlUtcDateTime.cs SqlXmlReader.cs:
389 2003-06-03 Ville Palo <vi64pa@kolumbus.fi>
391 * SqlBinary.cs: Changed one SqlTypeException --> IndexOutOfRange
392 * SqlMoney.cs: checkings
394 2003-06-02 Ville Palo <vi64pa@kolumbus.fi>
396 * SqlString.cs: implementes less than and greater than operators.
397 Added some checks to ctor.
399 2003-06-01 Ville Palo <vi64pa@kolumbus.fi>
401 * SqlString.cs: added null checking
403 2003-05-28 Ville Palo <vi64pa@kolumbus.fi>
405 * SqlMoney.cs: little fixes and clean ups
407 2003-05-28 Ville Palo <vi64pa@kolumbus.fi>
409 * SqlInt16.cs: more checked fixes.
410 * SqlInt64.cs: checked fixes.
411 * SqlSingle.cs: checked fixes.
413 2003-05-28 Ville Palo <vi64pa@kolumbus.fi>
415 * SqlInt16.cs: little fixes.
417 2003-05-28 Ville Palo <vi64pa@kolumbus.fi>
419 * SqlDouble.cs: Some fixes. Mostly infinity checks
420 * SqlSingle.cs: tiny fixes.
421 * SqlInt64.cs: checked fix.
423 2003-05-28 Ville Palo <vi64pa@kolumbus.fi>
425 * ChangeLog: Added this.
426 * SqlByte.cs: Fixed checked parts