Mark tests as not working under TARGET_JVM
[mono.git] / mcs / class / System.Data / System.Data.SqlTypes / ChangeLog
1 2007-03-09  Nagappan A  <anagappan@novell.com>
2
3         * SqlBoolean.cs (GreaterThan, GreaterThanOrEqual, LessThan)
4         (LessThanOrEqual, GetXsdType, operator >, >=, <, <=): Implemented
5         missing 2.0 methods.
6
7         * SqlDouble.cs (GetXsdType): Implemented missing 2.0 method.
8
9         * SqlString.cs (GetXsdType): Implemented missing 2.0 method.
10
11         * SqlBinary.cs (Add, GetXsdType): Implemented missing 2.0 methods.
12
13         * SqlByte.cs (GetXsdType): Implemented missing 2.0 method.
14
15         * SqlBytes.cs (GetXsdType): Implemented missing 2.0 method.
16
17         * SqlChars.cs (GetXsdType): Implemented missing 2.0 method.
18
19         * SqlXml.cs (GetXsdType): Implemented missing 2.0 method.
20
21         * SqlGuid.cs (GetXsdType): Implemented missing 2.0 method.
22
23         * SqlInt64.cs (GetXsdType): Implemented missing 2.0 method.
24
25         * SqlInt32.cs (GetXsdType): Implemented missing 2.0 method.
26
27         * SqlInt16.cs (GetXsdType): Implemented missing 2.0 method.
28
29         * SqlNotFilledException.cs: Fixed syntax errors based on class
30         status page.
31
32         * SqlDecimal.cs (GetXsdType): Implemented missing method.
33
34         * SqlDateTime.cs (GetXsdType): Implemented missing method.
35
36         * SqlMoney.cs (GetXsdType): Implemented missing 2.0 method.
37
38         * SqlSingle.cs (GetXsdType): Implemented missing 2.0 method.
39
40 2007-02-11  Konstantin Triger <kostat@mainsoft.com>
41
42         * SqlDateTime.cs, SqlDecimal.cs, SqlByte.cs, SqlDouble.cs, SqlBoolean.cs,
43                 SqlBinary.cs, SqlGuid.cs: Added a 2.0 CompareTo override (refactoring).
44
45 2007-02-11  Vladimir Krasnov  <vladimirk@mainsoft.com>
46
47         * SqlDateTime.cs: changed MaxValue and MinValue initialization, it was
48         failing on .net VM.
49
50 2007-02-09  Nagappan A  <anagappan@novell.com>
51
52         * SqlNotFilledException.cs: Removed APIs that are not part of both
53         1.0 and 2.0.
54
55         * SqlTypeException.cs: Implemented missing attributes.
56
57         * SqlChars.cs, SqlBytes.cs: Implemented missing attributes,
58         methods and added IXmlSerializable.
59
60         * SqlDouble.cs, SqlSingle.cs, SqlBinary.cs, SqlString.cs:
61         Implemented missing attributes, added IXmlSerializable.
62
63         * SqlXml.cs, SqlInt16.cs, SqlInt32.cs, SqlInt64.cs: Implemented
64         missing attributes, added IXmlSerializable.
65
66         * SqlDateTime.cs, SqlDecimal.cs, SqlMoney.cs, SqlGuid.cs:
67         Implemented missing attributes, added IXmlSerializable
68
69 2006-07-19  Senganal T  <tsenganal@novell.com>
70
71         * SqlDecimal.cs :
72                 - Ctr : Throw OverflowException is value oveflows
73                 - AdjustScale : Support values greater than Decimal.MaxValue.
74                 Throw SqlTruncateException if scale cannot be adjusted.
75                 - ConvertToPrecScale : Fix the precision
76                 - Sign : use IsPositive to check for sign
77                 - ToString : Do not append extrs '0'
78                 - operator + , -, * : Support values greater than
79                 decimal.maxvalue. Fix for infinite loop when '-' is
80                 invoked for some cases.
81                 - operators >,<,>=.<=,==,!= : Fix operations on negative numbers
82         Thanks to Harish Kumar Singh for the patch
83         
84 2006-02-17  Chris Toshok  <toshok@ximian.com>
85
86         * StorageState.cs: correct namespace, and remove "Delayed"
87         element.
88
89 2006-02-03  Senganal T <tseganal@novell.com>
90
91         * SqlString.cs : 
92                 - GetUnicodeBytes()
93                 - GetNonUnicodeBytes() 
94                 - Constructor 
95                         Use Encoding class to convert between byte[] and string
96
97 2006-01-27  Senganal T <tsenganal@novell.com>
98
99         * SqlDateTime : Corrected the MaxValue for SqlDateTime
100         
101 2005-09-15  Raja R Harinath  <rharinath@novell.com>
102
103         * SqlString.cs (MoneyFormat): Move to SqlMoney.cs.
104         (operator SqlString) [SqlMoney variant]: Delegate to
105         SqlMoney.ToString ().
106         * SqlMoney.cs (MoneyFormat): Move from SqlString.cs.
107         (SqlString): New static constructor.
108         (ToString): Use it.
109
110 2005-09-02 Umadevi S <sumadevi@novell.com>
111
112         * SqlXml.cs : Added a dummy placeholder to compile MicrosoftServer namespace
113
114 2005-03-11  Sureshkumar T  <tsureshkumar@novell.com>
115
116         * SqlDateTime.cs (Parse): Re-org. Resolve unreachable code.
117
118 2005-02-11  Sureshkumar T  <tsureshkumar@novell.com>
119             Ankit Jain     <radical@corewars.org>
120
121         * SqlGuid.cs: Fixed CompareTo to compare all the 16 digits. This
122         is a LAMESPEC and current implementation matches ms.net. This
123         actually reverts Uma's patch with revison 29013.
124
125 2005-02-03  Sureshkumar T  <tsureshkumar@novell.com>
126
127         * SqlDateTime.cs : Parse : try with local culture first, then try
128         with invariant culture if it fails.
129
130 2004-09-14 Umadevi S <sumadevi@novell.com>
131         * Made SerializableAttribute !net_2_0 for all the exception classes
132
133                                                                                                     
134 2004-09-14 Umadevi S <sumadevi@novell.com>
135         * SqlAlreadyFilledException.cs, SqlNotFilledException.cs - Added these files
136
137 2004-07-21 Umadevi S <sumadevi@novell.com>
138         * SqlInt16.cs, SqlInt32.cs, SqlInt64.cs - Added Modulus,CompareTo method from .NET2.0
139
140 2004-07-14 Umadevi S <sumadevi@novell.com>
141         * SqlMoney.cs, SqlSingle.cs - Added CompareTo method from .NET2.0
142         * Added new Enum StorageState.cs
143
144 2004-07-14 Umadevi S <sumadevi@novell.com>
145         * SqlString.cs :Fixed + operator for null, CompareTo to throw SqlTypeException
146                         Implemented Add and CompareTo methods from .NET2.0
147
148 2004-06-18  Gert Driesen <drieseng@users.sourceforge.net>
149
150         * SqlNullValueException.cs: fixed serialization
151         * SqlTruncateException.cs: fixed serialization
152         * SqlTypeException.cs: fixed serialization
153
154 2004-06-18  Sebastien Pouliot  <sebastien@ximian.com>
155
156         * SqlMoney.cs: Removed old "hack" to correct scale after rounding as
157         Decimal has been fixed (in fact this code was moved and adapted for
158         Decimal as it was better than the previous fix).
159
160 2004-06-08 Umadevi S <sumadevi@novell.com>
161         * SqlGuid.cs - fixed bug 59420. Implemented CompareTo according to MSDN documenation
162
163 2004-05-27  Atsushi Enomoto  <atsushi@ximian.com>
164
165         * SqlDecimal.cs : don't output debug message to Console.
166
167 2004-05-18  Atsushi Enomoto  <atsushi@ximian.com>
168
169         * SqlDecimal.cs : Fixed operator/ not to return positive always.
170           Halfly fixed ConvertToPrecScale() that was broken.
171
172 2004-05-18  Atsushi Enomoto  <atsushi@ximian.com>
173
174         * SqlDecimal.cs :
175           - .ctor() should check the valid scale range and throw 
176             SqlTypeException.
177           - Value should copy the last int32 value fragment.
178           - Fixed Abs() and Ceiling() to return Null when the input is Null.
179           - Now AdjustScale() should not depend on Truncate() that keeps zero
180             digits correctly. So Round() before returning the final result.
181           - ToString() should insert '-' for minus values.
182           - operator+ should use larger scale of operands rather than smaller
183             scale.
184
185 2004-05-18  Atsushi Enomoto  <atsushi@ximian.com>
186
187         * SqlDecimal.cs : Fixed Truncate() to work fine.
188         * SqlMoney.cs : Added one hack line in operator/ to work fine.
189
190 2004-05-18  Atsushi Enomoto  <atsushi@ximian.com>
191
192         * SqlDecimal.cs : Fixed AdjustScale(). When reducing digits, scale
193           parameter was incorrect.
194
195 2004-05-18  Atsushi Enomoto  <atsushi@ximian.com>
196
197         * SqlDecimal.cs :
198           - .ctor(double) initializes the precision as 17. If not sufficient,
199             it calls AdjustScale(), and if too much then it calls Round().
200           - Data should not return the internal array otherwise it might be
201             modified by outer code.
202           - Reimplemented AdjustScale() to work fine.
203           - Reimplemented Parse(). It should rather use Decimal.Parse() 
204             rather than SqlDouble.Parse() for parsable value range difference.
205           - Reimplemented Round(). Don't use double.
206           - Fixed ToString() to return "Null" for null value.
207           - Fixed explicit let operator to use double .ctor, not decimal
208             .ctor() so that precision can be handled in the same way as double.
209
210 2004-05-17  Atsushi Enomoto  <atsushi@ximian.com>
211
212         * SqlBinary.cs,
213           SqlDateTime.cs,
214           SqlDouble.cs,
215           SqlGuid.cs,
216           SqlMoney.cs,
217           SqlSingle.cs,
218           SqlString.cs : If values are null, ToString() should return "Null".
219
220 2004-05-11  Atsushi Enomoto  <atsushi@ximian.com>
221
222         * SqlMoney.cs : Handle fixed digits correctly.
223           Round decimal value before casting into other numeric types.
224         * SqlInt16.cs,
225           SqlInt32.cs,
226           SqlInt64.cs : Round SqlMoney decimal value before casting into them.
227         * SqlDateTime.cs :
228           Added range check.
229           Years and months were ignored in some .ctor().
230           Return invariant culture string in ToString().
231           Return null for operator - when operand is null.
232
233 2004-05-09  Gert Driesen (drieseng@users.sourceforge.net)
234         * SqlString.cs: change accessibility of CompareOptions property
235         to private, commented out unreachable code
236
237 2004-04-12  Atsushi Enomoto  <atsushi@ximian.com>
238
239         * SqlBoolean.cs : Allow "0" and "1" on Parse(). Allow SqlString.Null
240           in conversion.
241         * SqlString.cs : CompareOption should not be None.
242
243 2004-04-01  Lluis Sanchez Gual  <lluis@ximian.com>
244
245         * SqlNullValueException.cs: Use a more clarifying error message.
246           
247 2003-12-19  Tim Coleman <tim@timcoleman.com>
248         * SqlBytes.cs SqlChars.cs SqlDate.cs SqlStreamChars.cs SqlTime.cs
249         * SqlUtcDateTime.cs SqlXmlReader.cs:
250                 New stubs added
251 2003-06-03  Ville Palo <vi64pa@kolumbus.fi>
252
253         * SqlBinary.cs: Changed one SqlTypeException --> IndexOutOfRange
254         * SqlMoney.cs: checkings
255         
256 2003-06-02  Ville Palo <vi64pa@kolumbus.fi>
257
258         * SqlString.cs: implementes less than and greater than operators.
259         Added some checks to ctor.
260                 
261 2003-06-01  Ville Palo <vi64pa@kolumbus.fi>
262
263         * SqlString.cs: added null checking
264         
265 2003-05-28  Ville Palo <vi64pa@kolumbus.fi>
266
267         * SqlMoney.cs: little fixes and clean ups
268         
269 2003-05-28  Ville Palo <vi64pa@kolumbus.fi>
270
271         * SqlInt16.cs: more checked fixes.
272         * SqlInt64.cs: checked fixes.
273         * SqlSingle.cs: checked fixes.
274         
275 2003-05-28  Ville Palo <vi64pa@kolumbus.fi>
276
277         * SqlInt16.cs: little fixes.
278         
279 2003-05-28  Ville Palo <vi64pa@kolumbus.fi>
280
281         * SqlDouble.cs: Some fixes. Mostly infinity checks
282         * SqlSingle.cs: tiny fixes.
283         * SqlInt64.cs: checked fix.
284         
285 2003-05-28  Ville Palo <vi64pa@kolumbus.fi>
286
287         * ChangeLog: Added this.
288         * SqlByte.cs: Fixed checked parts
289         
290