Add this for backwards compatibility
[mono.git] / mcs / class / System.Data / System.Data.SqlTypes / ChangeLog
1 2005-09-15  Raja R Harinath  <rharinath@novell.com>
2
3         * SqlString.cs (MoneyFormat): Move to SqlMoney.cs.
4         (operator SqlString) [SqlMoney variant]: Delegate to
5         SqlMoney.ToString ().
6         * SqlMoney.cs (MoneyFormat): Move from SqlString.cs.
7         (SqlString): New static constructor.
8         (ToString): Use it.
9
10 2005-09-02 Umadevi S <sumadevi@novell.com>
11
12         * SqlXml.cs : Added a dummy placeholder to compile MicrosoftServer namespace
13
14 2005-03-11  Sureshkumar T  <tsureshkumar@novell.com>
15
16         * SqlDateTime.cs (Parse): Re-org. Resolve unreachable code.
17
18 2005-02-11  Sureshkumar T  <tsureshkumar@novell.com>
19             Ankit Jain     <radical@corewars.org>
20
21         * SqlGuid.cs: Fixed CompareTo to compare all the 16 digits. This
22         is a LAMESPEC and current implementation matches ms.net. This
23         actually reverts Uma's patch with revison 29013.
24
25 2005-02-03  Sureshkumar T  <tsureshkumar@novell.com>
26
27         * SqlDateTime.cs : Parse : try with local culture first, then try
28         with invariant culture if it fails.
29
30 2004-09-14 Umadevi S <sumadevi@novell.com>
31         * Made SerializableAttribute !net_2_0 for all the exception classes
32
33                                                                                                     
34 2004-09-14 Umadevi S <sumadevi@novell.com>
35         * SqlAlreadyFilledException.cs, SqlNotFilledException.cs - Added these files
36
37 2004-07-21 Umadevi S <sumadevi@novell.com>
38         * SqlInt16.cs, SqlInt32.cs, SqlInt64.cs - Added Modulus,CompareTo method from .NET2.0
39
40 2004-07-14 Umadevi S <sumadevi@novell.com>
41         * SqlMoney.cs, SqlSingle.cs - Added CompareTo method from .NET2.0
42         * Added new Enum StorageState.cs
43
44 2004-07-14 Umadevi S <sumadevi@novell.com>
45         * SqlString.cs :Fixed + operator for null, CompareTo to throw SqlTypeException
46                         Implemented Add and CompareTo methods from .NET2.0
47
48 2004-06-18  Gert Driesen <drieseng@users.sourceforge.net>
49
50         * SqlNullValueException.cs: fixed serialization
51         * SqlTruncateException.cs: fixed serialization
52         * SqlTypeException.cs: fixed serialization
53
54 2004-06-18  Sebastien Pouliot  <sebastien@ximian.com>
55
56         * SqlMoney.cs: Removed old "hack" to correct scale after rounding as
57         Decimal has been fixed (in fact this code was moved and adapted for
58         Decimal as it was better than the previous fix).
59
60 2004-06-08 Umadevi S <sumadevi@novell.com>
61         * SqlGuid.cs - fixed bug 59420. Implemented CompareTo according to MSDN documenation
62
63 2004-05-27  Atsushi Enomoto  <atsushi@ximian.com>
64
65         * SqlDecimal.cs : don't output debug message to Console.
66
67 2004-05-18  Atsushi Enomoto  <atsushi@ximian.com>
68
69         * SqlDecimal.cs : Fixed operator/ not to return positive always.
70           Halfly fixed ConvertToPrecScale() that was broken.
71
72 2004-05-18  Atsushi Enomoto  <atsushi@ximian.com>
73
74         * SqlDecimal.cs :
75           - .ctor() should check the valid scale range and throw 
76             SqlTypeException.
77           - Value should copy the last int32 value fragment.
78           - Fixed Abs() and Ceiling() to return Null when the input is Null.
79           - Now AdjustScale() should not depend on Truncate() that keeps zero
80             digits correctly. So Round() before returning the final result.
81           - ToString() should insert '-' for minus values.
82           - operator+ should use larger scale of operands rather than smaller
83             scale.
84
85 2004-05-18  Atsushi Enomoto  <atsushi@ximian.com>
86
87         * SqlDecimal.cs : Fixed Truncate() to work fine.
88         * SqlMoney.cs : Added one hack line in operator/ to work fine.
89
90 2004-05-18  Atsushi Enomoto  <atsushi@ximian.com>
91
92         * SqlDecimal.cs : Fixed AdjustScale(). When reducing digits, scale
93           parameter was incorrect.
94
95 2004-05-18  Atsushi Enomoto  <atsushi@ximian.com>
96
97         * SqlDecimal.cs :
98           - .ctor(double) initializes the precision as 17. If not sufficient,
99             it calls AdjustScale(), and if too much then it calls Round().
100           - Data should not return the internal array otherwise it might be
101             modified by outer code.
102           - Reimplemented AdjustScale() to work fine.
103           - Reimplemented Parse(). It should rather use Decimal.Parse() 
104             rather than SqlDouble.Parse() for parsable value range difference.
105           - Reimplemented Round(). Don't use double.
106           - Fixed ToString() to return "Null" for null value.
107           - Fixed explicit let operator to use double .ctor, not decimal
108             .ctor() so that precision can be handled in the same way as double.
109
110 2004-05-17  Atsushi Enomoto  <atsushi@ximian.com>
111
112         * SqlBinary.cs,
113           SqlDateTime.cs,
114           SqlDouble.cs,
115           SqlGuid.cs,
116           SqlMoney.cs,
117           SqlSingle.cs,
118           SqlString.cs : If values are null, ToString() should return "Null".
119
120 2004-05-11  Atsushi Enomoto  <atsushi@ximian.com>
121
122         * SqlMoney.cs : Handle fixed digits correctly.
123           Round decimal value before casting into other numeric types.
124         * SqlInt16.cs,
125           SqlInt32.cs,
126           SqlInt64.cs : Round SqlMoney decimal value before casting into them.
127         * SqlDateTime.cs :
128           Added range check.
129           Years and months were ignored in some .ctor().
130           Return invariant culture string in ToString().
131           Return null for operator - when operand is null.
132
133 2004-05-09  Gert Driesen (drieseng@users.sourceforge.net)
134         * SqlString.cs: change accessibility of CompareOptions property
135         to private, commented out unreachable code
136
137 2004-04-12  Atsushi Enomoto  <atsushi@ximian.com>
138
139         * SqlBoolean.cs : Allow "0" and "1" on Parse(). Allow SqlString.Null
140           in conversion.
141         * SqlString.cs : CompareOption should not be None.
142
143 2004-04-01  Lluis Sanchez Gual  <lluis@ximian.com>
144
145         * SqlNullValueException.cs: Use a more clarifying error message.
146           
147 2003-12-19  Tim Coleman <tim@timcoleman.com>
148         * SqlBytes.cs SqlChars.cs SqlDate.cs SqlStreamChars.cs SqlTime.cs
149         * SqlUtcDateTime.cs SqlXmlReader.cs:
150                 New stubs added
151 2003-06-03  Ville Palo <vi64pa@kolumbus.fi>
152
153         * SqlBinary.cs: Changed one SqlTypeException --> IndexOutOfRange
154         * SqlMoney.cs: checkings
155         
156 2003-06-02  Ville Palo <vi64pa@kolumbus.fi>
157
158         * SqlString.cs: implementes less than and greater than operators.
159         Added some checks to ctor.
160                 
161 2003-06-01  Ville Palo <vi64pa@kolumbus.fi>
162
163         * SqlString.cs: added null checking
164         
165 2003-05-28  Ville Palo <vi64pa@kolumbus.fi>
166
167         * SqlMoney.cs: little fixes and clean ups
168         
169 2003-05-28  Ville Palo <vi64pa@kolumbus.fi>
170
171         * SqlInt16.cs: more checked fixes.
172         * SqlInt64.cs: checked fixes.
173         * SqlSingle.cs: checked fixes.
174         
175 2003-05-28  Ville Palo <vi64pa@kolumbus.fi>
176
177         * SqlInt16.cs: little fixes.
178         
179 2003-05-28  Ville Palo <vi64pa@kolumbus.fi>
180
181         * SqlDouble.cs: Some fixes. Mostly infinity checks
182         * SqlSingle.cs: tiny fixes.
183         * SqlInt64.cs: checked fix.
184         
185 2003-05-28  Ville Palo <vi64pa@kolumbus.fi>
186
187         * ChangeLog: Added this.
188         * SqlByte.cs: Fixed checked parts
189         
190