2007-07-26 Nagappan A <anagappan@novell.com>
[mono.git] / mcs / class / System.Data / Mono.Data.SqlExpressions / ChangeLog
1 2007-07-26  Nagappan A  <anagappan@novell.com>
2
3         * Comparison.cs (Compare): Should always parse the object of type
4         DateTime in InvariantCulture CultureInfo, Fixes Bug # 82109.
5
6 2007-06-06  Nagappan A  <anagappan@novell.com>
7
8         * ColumnReference.cs (Unify): Return object as it is, if object
9         type is char. Fixes bug # 81625.
10
11         * Numeric.cs (IsNumeric): Return false if object type is
12         char. Fixes bug # 81625.
13
14 2007-02-23  Nagappan A  <anagappan@novell.com>
15
16         * Comparison.cs (Compare): Extra space characters issue when using
17         System.Data.DataTable.Select. Fixes bug # 79695.
18
19 2006-12-07  Nagappan A  <anagappan@novell.com>
20
21         * Parser.jay (ColumnName): Fix Invalid DataColumn Expression, bug
22         # 80169.
23
24 2006-06-15  Senganal T  <tsenganal@novell.com>
25
26         * Expression.cs : 
27                 - EvalBoolean : throw EvaluateException unless overridden.
28                 - UnaryExpression.EvalBoolean : override EvalBoolean
29         * Like.cs, In.cs, ColumnReference.cs : override EvalBoolean 
30
31 2006-06-09  Juraj Skripsky <js@hotfeet.ch>
32
33         * Tokenizer.cs (ProcessEscapes): Inspect the next character, not the one
34         after that.
35
36 2006-05-02  Senganal T  <tsenganal@novell.com>
37
38         * Parser.jay : fix the rule for IsNull. Fixes bug #78254
39         * Functions.cs : 
40                 - IsNullFunction.Eval : If expr evaluates to null or DBNull.Value, return the
41                 default expression value.
42
43 2006-03-27      Boris Kirzner <borisk@mainsoft.com>
44         * Aggregation.cs: fix possible NullReferenceException.
45
46 2006-02-03  Senganal T  <tsenganal@novell.com>
47         
48         * ColumnReference.cs : 
49                 - GetReferencedRow () 
50                 - GetReferencedRows() : Verify the column before getting the values.
51                         Validate the ColumnReference even when the table has no rows.
52         * Function.cs : Modified Eval()
53                 - A tmp fix to check for null. Expression.Eval needs to be modified all
54                 around to return DBNull.Value.
55
56 2006-01-18 Boris Kirzner <borisk@mainsoft.com>
57         * ColumnReference.cs: added column and relation lazy evaluation 
58         and caching.
59
60 2006-01-09 Senganal T <tsenganal@novell.com>
61         * Aggregation.cs
62         * Expression.cs
63                 - resolving a name clash in IExpression 
64
65 2006-01-06 Senganal T <tsenganal@novell.com>
66
67         * Aggregation.cs
68                 - a correction to the previous check-in
69
70 2006-01-06 Senganal T <tsenganal@novell.com>
71
72         * Aggregation.cs
73                 - Modified the cache to listen for RowChangedEvents.
74         * Expression.cs
75         * IExpression.cs
76                 - Added a Reset Method to cleanup when a Datacolumn is removed
77                 from a table.
78         * Parser.jay
79                 - Modified to check :
80                 1.Aggregate Functions : Only for columns returning multiple values (child/local)
81                 2.Other Numeric/Functions : Only for columns that return single value (parent/local)
82
83 2005-12-20 Senganal T <tsenganal@novell.com>
84
85         * Aggregation.cs :
86                 Modified the Eval and CalculateStatisticalFunction to add boundary checks.
87                 Fixes #77025.
88
89 2005-11-30 Konstantin Triger <kostat@mainsoft.com>
90
91         * Parser.jay: use Convert.ToInt32() instead of cast to throw OverflowException.
92
93 2005-10-26 Konstantin Triger <kostat@mainsoft.com>
94
95         * In.cs: Fix the enumerator initialization problem.
96
97 2005-10-21 Senganal T <tsenganal@novell.com>
98
99         * Numeric.cs :
100                 - Modified the Max and Min functions to convert strings(numeric) to
101                 double. Fixes bug #76213. 
102         
103 2005-09-19 Boris Kirzner <borisk@mainsoft.com>
104         * ColumnReference.cs, Expressions.cs, Like.cs, Aggregation.cs, Literal.cs,
105         StringFunctions.cs, In.cs, Functions.cs : implemented Equals() 
106         and GetHashCode() methods for all Mono.Data.SqlExpressions classes,enabling
107         comparison of the filter expressions.
108
109 2005-08-02  Sureshkumar T  <tsureshkumar@novell.com>
110
111         * Tokenizer.cs: ReadString (): added an overload where the
112         terminator can be escaped by repeating twice.
113
114 2005-06-29  Sureshkumar T  <tsureshkumar@novell.com>
115
116         * ArithmeticExpressions.cs: Eval :if any one of the argument is
117         null for an operator, the result is also NULL.
118
119 2005-05-02 Konstantin Triger <kostat@mainsoft.com>
120
121         * IExpression interface: Added DependsOn(DataColumn) method, which checks whether the Expression contains a specific column
122
123 2005-04-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
124
125         * Tokenizer.cs: make it not rely in exceptions being thrown to know that
126         the array is entirely processed.
127
128 2005-02-10  Atsushi Enomoto  <atsushi@ximian.com>
129
130         * Comparison.cs : allow comparison between guid and string.
131         * ColumnReference.cs : return guid value too. Fixed bug #72426.
132
133 2005-01-28  Atsushi Enomoto  <atsushi@ximian.com>
134
135         * Comparison.cs : Eval() could be direct invocation to EvalBoolean().
136
137 2005-01-26  Atsushi Enomoto  <atsushi@ximian.com>
138
139         * Tokenizer.cs : just throw SyntaxErrorException instead of Exception.
140
141 2005-01-25  Atsushi Enomoto  <atsushi@ximian.com>
142
143         * Expression.cs, ColumnReference.cs, BooleanExpression.cs,
144           Aggregation.cs, Literal.cs : added EvalBoolean() to avoid extraneous
145           boxing in RowFilter.
146
147 2005-01-20  Atsushi Enomoto  <atsushi@ximian.com>
148
149         * Numeric.cs : Fixed ToSameType(). It should let conversion result to
150           reference values.
151
152 2005-01-20  Atsushi Enomoto  <atsushi@ximian.com>
153
154         * Parser.jay : let's use debug flag when MONO_DEBUG_SQLEXPRESSIONS
155           environment variable is set.
156           Fixed substring() function. C# cast does not allow implicit
157           conversion from object.
158
159 2004-07-12 Umadevi S   <sumadevi@novell.com>
160         * Tokenizer.cs - read an Int64 from the text instead of Int32. Resolves
161 bug 61203
162
163                                                                                 
164 2004-06-17  Boris Kirzner <borisk@mainsoft.com>
165         *  Comparison.cs - use 'as' to avoid NullReferenceExeption in casting.
166
167 2004-05-13  Umadevi S <sumadevi@novell.com>
168         *  Literal.cs - made class internal
169
170 2004-05-12  Umadevi S <sumadevi@novell.com>
171         * Expression.cs, Functions.cs, In.cs, Like.cs, Parser.jay, StringFunctions.cs - made class/enum/interfaces internal
172
173 2004-05-12  Umadevi S <sumadevi@novell.com>
174         * BooleanExpression.cs,ColumnReference.cs, Comparision.cs - made class/enum internal
175
176 2004-05-12  Umadevi S <sumadevi@novell.com>
177         * ArthimeticExpression.cs - made class internal
178
179 2004-05012  Umadevi S <sumadevi@novell.com>
180         * Aggregation.cs - made class/enums/interfaces internal 
181
182 2004-05-05  Atsushi Enomoto <atsushi@ximian.com>
183
184         * ArithmeticExpressions.cs: avoid null exception on add operation.
185
186 2004-04-29  Juraj Skripsky <juraj@hotfeet.ch>
187
188         * Parser.jay: Fix rule for negative expressions.
189         Add precedence rules for '<' and '>'.
190
191 2004-04-28 Boris Kirzner <borisk@mainsoft.com>
192
193         * ColumnReference.cs : using DataRow _inExpressionEvaluation before accessing row value
194           to get an access to deleted rows also.
195
196 2004-04-22  Juraj Skripsky <juraj@hotfeet.ch>
197
198         * Parser.jay: Allow computed expressions on left-hand side of
199         "like" operator.
200         Correct ordering for "is null" rule ("NOT IS NULL" => "IS NOT NULL"). 
201
202 2004-04-20  Juraj Skripsky <juraj@hotfeet.ch>
203
204         * Tokenizer.cs (ReadNumber): Correctly consume decimal point
205         when reading numbers. Fixes bug #57251.
206
207 2004-03-31  Juraj Skripsky <juraj@hotfeet.ch>
208
209         * Parser.jay, ColumnReference.cs, Comparison.cs, Functions.cs,
210         Aggregation.cs : fix bugs exposed by DataColumnTest.cs.
211
212 2004-03-29  Juraj Skripsky <juraj@hotfeet.ch>
213
214         * Initial implementation.