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