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