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