1 2007-02-11 Konstantin Triger <kostat@mainsoft.com>
3 * SqlDateTime.cs, SqlDecimal.cs, SqlByte.cs, SqlDouble.cs, SqlBoolean.cs,
4 SqlBinary.cs, SqlGuid.cs: Added a 2.0 CompareTo override (refactoring).
6 2007-02-11 Vladimir Krasnov <vladimirk@mainsoft.com>
8 * SqlDateTime.cs: changed MaxValue and MinValue initialization, it was
11 2007-02-09 Nagappan A <anagappan@novell.com>
13 * SqlNotFilledException.cs: Removed APIs that are not part of both
16 * SqlTypeException.cs: Implemented missing attributes.
18 * SqlChars.cs, SqlBytes.cs: Implemented missing attributes,
19 methods and added IXmlSerializable.
21 * SqlDouble.cs, SqlSingle.cs, SqlBinary.cs, SqlString.cs:
22 Implemented missing attributes, added IXmlSerializable.
24 * SqlXml.cs, SqlInt16.cs, SqlInt32.cs, SqlInt64.cs: Implemented
25 missing attributes, added IXmlSerializable.
27 * SqlDateTime.cs, SqlDecimal.cs, SqlMoney.cs, SqlGuid.cs:
28 Implemented missing attributes, added IXmlSerializable
30 2006-07-19 Senganal T <tsenganal@novell.com>
33 - Ctr : Throw OverflowException is value oveflows
34 - AdjustScale : Support values greater than Decimal.MaxValue.
35 Throw SqlTruncateException if scale cannot be adjusted.
36 - ConvertToPrecScale : Fix the precision
37 - Sign : use IsPositive to check for sign
38 - ToString : Do not append extrs '0'
39 - operator + , -, * : Support values greater than
40 decimal.maxvalue. Fix for infinite loop when '-' is
41 invoked for some cases.
42 - operators >,<,>=.<=,==,!= : Fix operations on negative numbers
43 Thanks to Harish Kumar Singh for the patch
45 2006-02-17 Chris Toshok <toshok@ximian.com>
47 * StorageState.cs: correct namespace, and remove "Delayed"
50 2006-02-03 Senganal T <tseganal@novell.com>
54 - GetNonUnicodeBytes()
56 Use Encoding class to convert between byte[] and string
58 2006-01-27 Senganal T <tsenganal@novell.com>
60 * SqlDateTime : Corrected the MaxValue for SqlDateTime
62 2005-09-15 Raja R Harinath <rharinath@novell.com>
64 * SqlString.cs (MoneyFormat): Move to SqlMoney.cs.
65 (operator SqlString) [SqlMoney variant]: Delegate to
67 * SqlMoney.cs (MoneyFormat): Move from SqlString.cs.
68 (SqlString): New static constructor.
71 2005-09-02 Umadevi S <sumadevi@novell.com>
73 * SqlXml.cs : Added a dummy placeholder to compile MicrosoftServer namespace
75 2005-03-11 Sureshkumar T <tsureshkumar@novell.com>
77 * SqlDateTime.cs (Parse): Re-org. Resolve unreachable code.
79 2005-02-11 Sureshkumar T <tsureshkumar@novell.com>
80 Ankit Jain <radical@corewars.org>
82 * SqlGuid.cs: Fixed CompareTo to compare all the 16 digits. This
83 is a LAMESPEC and current implementation matches ms.net. This
84 actually reverts Uma's patch with revison 29013.
86 2005-02-03 Sureshkumar T <tsureshkumar@novell.com>
88 * SqlDateTime.cs : Parse : try with local culture first, then try
89 with invariant culture if it fails.
91 2004-09-14 Umadevi S <sumadevi@novell.com>
92 * Made SerializableAttribute !net_2_0 for all the exception classes
95 2004-09-14 Umadevi S <sumadevi@novell.com>
96 * SqlAlreadyFilledException.cs, SqlNotFilledException.cs - Added these files
98 2004-07-21 Umadevi S <sumadevi@novell.com>
99 * SqlInt16.cs, SqlInt32.cs, SqlInt64.cs - Added Modulus,CompareTo method from .NET2.0
101 2004-07-14 Umadevi S <sumadevi@novell.com>
102 * SqlMoney.cs, SqlSingle.cs - Added CompareTo method from .NET2.0
103 * Added new Enum StorageState.cs
105 2004-07-14 Umadevi S <sumadevi@novell.com>
106 * SqlString.cs :Fixed + operator for null, CompareTo to throw SqlTypeException
107 Implemented Add and CompareTo methods from .NET2.0
109 2004-06-18 Gert Driesen <drieseng@users.sourceforge.net>
111 * SqlNullValueException.cs: fixed serialization
112 * SqlTruncateException.cs: fixed serialization
113 * SqlTypeException.cs: fixed serialization
115 2004-06-18 Sebastien Pouliot <sebastien@ximian.com>
117 * SqlMoney.cs: Removed old "hack" to correct scale after rounding as
118 Decimal has been fixed (in fact this code was moved and adapted for
119 Decimal as it was better than the previous fix).
121 2004-06-08 Umadevi S <sumadevi@novell.com>
122 * SqlGuid.cs - fixed bug 59420. Implemented CompareTo according to MSDN documenation
124 2004-05-27 Atsushi Enomoto <atsushi@ximian.com>
126 * SqlDecimal.cs : don't output debug message to Console.
128 2004-05-18 Atsushi Enomoto <atsushi@ximian.com>
130 * SqlDecimal.cs : Fixed operator/ not to return positive always.
131 Halfly fixed ConvertToPrecScale() that was broken.
133 2004-05-18 Atsushi Enomoto <atsushi@ximian.com>
136 - .ctor() should check the valid scale range and throw
138 - Value should copy the last int32 value fragment.
139 - Fixed Abs() and Ceiling() to return Null when the input is Null.
140 - Now AdjustScale() should not depend on Truncate() that keeps zero
141 digits correctly. So Round() before returning the final result.
142 - ToString() should insert '-' for minus values.
143 - operator+ should use larger scale of operands rather than smaller
146 2004-05-18 Atsushi Enomoto <atsushi@ximian.com>
148 * SqlDecimal.cs : Fixed Truncate() to work fine.
149 * SqlMoney.cs : Added one hack line in operator/ to work fine.
151 2004-05-18 Atsushi Enomoto <atsushi@ximian.com>
153 * SqlDecimal.cs : Fixed AdjustScale(). When reducing digits, scale
154 parameter was incorrect.
156 2004-05-18 Atsushi Enomoto <atsushi@ximian.com>
159 - .ctor(double) initializes the precision as 17. If not sufficient,
160 it calls AdjustScale(), and if too much then it calls Round().
161 - Data should not return the internal array otherwise it might be
162 modified by outer code.
163 - Reimplemented AdjustScale() to work fine.
164 - Reimplemented Parse(). It should rather use Decimal.Parse()
165 rather than SqlDouble.Parse() for parsable value range difference.
166 - Reimplemented Round(). Don't use double.
167 - Fixed ToString() to return "Null" for null value.
168 - Fixed explicit let operator to use double .ctor, not decimal
169 .ctor() so that precision can be handled in the same way as double.
171 2004-05-17 Atsushi Enomoto <atsushi@ximian.com>
179 SqlString.cs : If values are null, ToString() should return "Null".
181 2004-05-11 Atsushi Enomoto <atsushi@ximian.com>
183 * SqlMoney.cs : Handle fixed digits correctly.
184 Round decimal value before casting into other numeric types.
187 SqlInt64.cs : Round SqlMoney decimal value before casting into them.
190 Years and months were ignored in some .ctor().
191 Return invariant culture string in ToString().
192 Return null for operator - when operand is null.
194 2004-05-09 Gert Driesen (drieseng@users.sourceforge.net)
195 * SqlString.cs: change accessibility of CompareOptions property
196 to private, commented out unreachable code
198 2004-04-12 Atsushi Enomoto <atsushi@ximian.com>
200 * SqlBoolean.cs : Allow "0" and "1" on Parse(). Allow SqlString.Null
202 * SqlString.cs : CompareOption should not be None.
204 2004-04-01 Lluis Sanchez Gual <lluis@ximian.com>
206 * SqlNullValueException.cs: Use a more clarifying error message.
208 2003-12-19 Tim Coleman <tim@timcoleman.com>
209 * SqlBytes.cs SqlChars.cs SqlDate.cs SqlStreamChars.cs SqlTime.cs
210 * SqlUtcDateTime.cs SqlXmlReader.cs:
212 2003-06-03 Ville Palo <vi64pa@kolumbus.fi>
214 * SqlBinary.cs: Changed one SqlTypeException --> IndexOutOfRange
215 * SqlMoney.cs: checkings
217 2003-06-02 Ville Palo <vi64pa@kolumbus.fi>
219 * SqlString.cs: implementes less than and greater than operators.
220 Added some checks to ctor.
222 2003-06-01 Ville Palo <vi64pa@kolumbus.fi>
224 * SqlString.cs: added null checking
226 2003-05-28 Ville Palo <vi64pa@kolumbus.fi>
228 * SqlMoney.cs: little fixes and clean ups
230 2003-05-28 Ville Palo <vi64pa@kolumbus.fi>
232 * SqlInt16.cs: more checked fixes.
233 * SqlInt64.cs: checked fixes.
234 * SqlSingle.cs: checked fixes.
236 2003-05-28 Ville Palo <vi64pa@kolumbus.fi>
238 * SqlInt16.cs: little fixes.
240 2003-05-28 Ville Palo <vi64pa@kolumbus.fi>
242 * SqlDouble.cs: Some fixes. Mostly infinity checks
243 * SqlSingle.cs: tiny fixes.
244 * SqlInt64.cs: checked fix.
246 2003-05-28 Ville Palo <vi64pa@kolumbus.fi>
248 * ChangeLog: Added this.
249 * SqlByte.cs: Fixed checked parts