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