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