Wed Feb 24 15:47:16 CET 2010 Paolo Molaro <lupus@ximian.com>
[mono.git] / mcs / class / System.Core / System.Linq / ChangeLog
1 2010-02-23  Marek Safar  <marek.safar@gmail.com>
2
3         * Enumerable.cs: Implement Zip.
4
5 2010-01-25  Jb Evain  <jbevain@novell.com>
6
7         * QueryableTransformer.cs (ReplaceQueryableMethod): fix
8         exception message.
9
10 2009-12-03  Marek Safar  <marek.safar@gmail.com>
11
12         * EnumerableExecutor.cs, EnumerableExecutor_T.cs, EnumerableQuery.cs
13         EnumerableQuery_T.cs: Implemented.
14
15 2009-11-14  Jb Evain  <jbevain@novell.com>
16
17         * QueryableTransformer: adjust to latest ExpressionTransformer
18         changes.
19
20 2009-11-12  Eric Maupin  <me@ermau.com>
21
22         * Enumerable.cs (ToLookup): Accept null keys.
23         * Lookup.cs: Accept null keys.
24
25 2009-10-08  Marek Safar  <marek.safar@gmail.com>
26
27         * Enumerable.cs (Empty): Optimized allocation.
28
29 2009-08-07  Marek Safar  <marek.safar@gmail.com>
30
31         * Enumerable.cs (Skip): Optimized and fixed int.MaxValue overflow.
32
33 2009-07-20  Jb Evain  <jbevain@novell.com>
34
35         * Lookup.cs: avoid a double dictionary lookup on the indexer.
36
37 2009-07-19 Gonzalo Paniagua Javier <gonzalo@novell.com>
38
39         * Lookup.cs: when there are no matching elements, return an empty
40         enumerable. Fixes bug #523386.
41
42 2009-05-18  Jb Evain  <jbevain@novell.com>
43
44         * Enumerable.cs (Max, Min): fix generic versions.
45
46 2009-04-03  Jb Evain  <jbevain@novell.com>
47
48         * Enumerable.cs (Cast): fix for when casted enumerator is already
49         of the appropriate type.
50
51 2009-03-28  Jb Evain  <jbevain@novell.com>
52
53         * Enumerable.cs: fix Intersect.
54
55 2009-02-23  Marek Safar  <marek.safar@gmail.com>
56
57         * Enumerable.cs (IterateNullable): Compare unwrapped values.
58
59 2009-02-23  Jb Evain  <jbevain@novell.com>
60
61         * Enumerable.cs (IterateNullable): fix initial value
62         for nullables.
63
64 2009-01-22  Jb Evain  <jbevain@novell.com>
65
66         * SortSequenceContext.cs: make sort stable.
67
68 2009-01-22  Jb Evain  <jbevain@novell.com>
69
70         * Enumerable.cs (Sum): check the sum operations for possible overfows.
71
72 2009-01-22  Jb Evain  <jbevain@novell.com>
73
74         * Enumerable.cs (SequenceEqual): make sure we dispose enumerators.
75
76 2009-01-22  Jb Evain  <jbevain@novell.com>
77
78         * Enumerable.cs: optimize Last for lists.
79
80 2009-01-15  Jb Evain  <jbevain@novell.com>
81
82         * Lookup.cs: propage the appropriate comparer for the lookup.
83
84 2008-11-20  Jb Evain  <jbevain@novell.com>
85
86         * Enumerable.cs (Any): optimize if we're operating on an ICollection.
87
88 2008-09-30  Jb Evain  <jbevain@novell.com>
89
90         * QueryableEnumerable.cs: fix ElementType.
91
92 2008-09-28  Sebastien Pouliot  <sebastien@ximian.com>
93
94         * Enumerable.cs: Add missing cast Average on IEnumerable<long?> to
95         ensure the result is not truncated.
96         [Found using Gendarme's ReviewCastOnIntegerDivisionRule]
97
98 2008-09-11  Jb Evain  <jbevain@novell.com>
99
100         * Enumerable.cs (Iterate*): use a bool empty instead of an int counter.
101         Fixes #425344.
102
103 2007-08-14  Marek Safar  <marek.safar@gmail.com>
104
105         * Enumerable.cs (Cast): Simplified.
106
107 2008-08-08  Jb Evain  <jbevain@novell.com>
108
109         * Enumerable.cs (Take): fix not too consume an uneeded item from
110         the source enumerable. Fix #415644.
111
112 2008-07-24  Marek Safar  <marek.safar@gmail.com>
113
114         * Enumerable.cs (First): Optimized.
115
116 2008-05-27  Jb Evain  <jbevain@novell.com>
117
118         * Enumerable.cs (Sum): don't throw if source is empty.
119         Fixes #394827.
120
121 2008-05-20  Roei Erez  <roeie@mainsoft.com>
122
123         * Lookup.cs: Implement ApplyResultSelector method
124
125 2008-05-20  Roei Erez  <roeie@mainsoft.com>
126
127         * Queryable.cs: Implement the non-generic AsQureyable method.
128
129 2008-05-20  Marek Safar  <marek.safar@gmail.com>
130
131         * Enumerable.cs: Removed GroupBy MonoTODO.
132
133 2008-05-19  Roei Erez  <roeie@mainsoft.com>
134
135         * Enumerable.cs: Implemente two overloaded GroupBy methods.
136
137 2008-05-15  Jb Evain  <jbevain@novell.com>
138
139         * QueryableEnumerable.cs: Make that the first expression is a constant
140         of itself, and not a constant of the source enumerable.
141         * QueryableTransformer.cs: On a constant, transform a QueryableEnumerable
142         into the enumerable.
143         * Queryable.cs: use new constructor.
144
145 2008-05-15  Jb Evain  <jbevain@novell.com>
146
147         * QueryableTransformer.cs, QueryableEnumerable.cs: coding style plus
148         some good refactorings.
149
150 2008-05-15  Roei Erez  <roeie@mainsoft.com>
151
152         * QueryableTransformer.cs: missed in the last commit.
153
154 2008-05-15  Roei Erez  <roeie@mainsoft.com>
155
156         * QueryableTransformer.cs, QueryableEnumerable.cs: two classes added for implementation
157         of Queryable.AsQueryable() implementation.
158         * Queryable.cs: Implement AsQueryable() method.
159
160 2008-05-08  Jonathan Pryor  <jpryor@novell.com>
161
162         * Enumerable.cs: LongCount() can be optimized for arrays, and Reverse() can
163           be implemented in terms of IList w/o needing a temporary List<T> copy.
164
165 2008-05-06  Sasha Kogan  <sashak@mainsoft.com>
166
167         * Queryable.cs (Average, GroupBy, Union): fix signatures to
168         match MS API.
169
170 2008-05-03  Jb Evain  <jbevain@novell.com>
171
172         * Queryable.cs (OrderBy, OrderByDescending): fix signature and
173         properly return a IOrderedQueryable<>.
174
175 2008-05-02  Jb Evain  <jbevain@novell.com>
176
177         * SortSequenceContext.cs (Compare): fix key equality case
178         when there's a nested sort.
179
180 2008-05-01  Jb Evain  <jbevain@novell.com>
181
182         * SortDirection.cs, SortContext.cs, SortSequenceContext.cs:
183         new infrastructure files for nested orderby/thenby calls.
184         * QuickSort.cs: refactored out of OrderedSequence.cs
185         * OrderedEnumerable.cs, OrderedSequence.cs: refactoring
186         to use the new SortContext infrastructure.
187
188 2008-04-30  Jb Evain  <jbevain@novell.com>
189
190         * Enumerable.cs: Average (int|long): properly compute
191         average.
192
193 2008-04-22  Jb Evain  <jbevain@novell.com>
194
195         * Enumerable.cs (ToReadOnlyCollection): optimization, use
196         a generic singleton for empty read only collections.
197
198 2008-03-31  Marek Safar  <marek.safar@gmail.com>
199
200         * Enumerable.cs: Use Math.Min and Math.Max where appropriate.
201
202 2008-03-27  Leonid Freydovich  <leonidf@mainsoft.com>
203
204         * LambdaExpression.cs Add some TARGET_JVM specific code
205
206 2008-02-09  Miguel de Icaza  <miguel@novell.com>
207
208         * Enumerable.cs (ToDictionary): Implement this overload.
209
210 2008-02-01  Jb Evain  <jbevain@novell.com>
211
212         * Queryable.cs, Check.cs: integrate GHOP work from
213         Andreas Noever <andreas.noever@gmail.com>.
214
215 2008-01-21  Jb Evain  <jbevain@novell.com>
216
217         * Enumerable.cs: fix Intersect.
218
219 2008-01-21  Jb Evain  <jbevain@novell.com>
220
221         * Enumerable.cs: fix Concat et SelectMany.
222
223 2008-01-21  Jb Evain  <jbevain@novell.com>
224
225         * Enumerable.cs: fix range.
226
227 2008-01-21  Jb Evain  <jbevain@novell.com>
228
229         * Enumerable.cs: more ArgumentNullExceptions.
230
231 2008-01-21  Jb Evain  <jbevain@novell.com>
232
233         * Enumerable.cs: fix some more ArgumentNullException.
234
235 2008-01-21  Jb Evain  <jbevain@novell.com>
236
237         * Enumerable.cs: correctly throw ArgumentNullException
238         for Cast.
239
240 2008-01-21  Jb Evain  <jbevain@novell.com>
241
242         * Enumerable.cs (Iterate): protect against null selectors.
243
244 2008-01-21  Jb Evain  <jbevain@novell.com>
245
246         * Enumerable.cs: fix IterateNullable.
247
248 2008-01-15  Jb Evain  <jbevain@novell.com>
249
250         * Enumerable.cs: clean the ToReadOnlyCollection extension
251         method.
252
253 2007-12-18  Jb Evain  <jbevain@novell.com>
254
255         * Enumerable.cs: refactor some Min.
256
257 2007-12-18  Jb Evain  <jbevain@novell.com>
258
259         * Enumerable.cs: refactor some more Max.
260
261 2007-12-12  Jb Evain  <jbevain@novell.com>
262
263         * Check.cs, Enumerable.cs: extract the checks to their
264         own class, as they'll be used by Queryable as well.
265
266 2007-12-04  Marek Safar <marek.safar@gmail.com>
267
268         * Enumerable.cs: Refactor some copy&paste blocks.
269
270 2007-11-28  Jb Evain  <jbevain@novell.com>
271
272         * Enumerable.cs: fix warnings.
273
274 2007-11-27  Scott Peterson  <lunchtimemama@gmail.com>
275
276         * InternalOrderedSequence.cs: updated Quicksort algorithm.
277
278 2007-11-22  Atsushi Enomoto  <atsushi@ximian.com>
279
280         * Enumerable.cs : fixed Range(int,int) that iterated one less.
281           Thanks to http://d.hatena.ne.jp/NyaRuRu/ .
282
283 2007-11-13  Jb Evain  <jbevain@novell.com>
284
285         * Enumerable.cs: make the new unit tests pass.
286
287 2007-11-09  Jb Evain  <jbevain@novell.com>
288
289         * Enumerable.cs: refactor the ArgumentNullException checks.
290
291 2007-11-08  Jb Evain  <jbevain@novell.com>
292
293         * Enumerable.cs: Implement SequenceEqual.
294
295 2007-11-08  Jb Evain  <jbevain@novell.com>
296
297         * Enumerable.cs: Complete Union.
298
299 2007-11-08  Jb Evain  <jbevain@novell.com>
300
301         * Enumerable.cs: correctly implement Intersect.
302
303 2007-11-08  Jb Evain  <jbevain@novell.com>
304
305         * Enumerable.cs: code cleanup.
306
307 2007-11-06  Jb Evain  <jbevain@novell.com>
308
309         * Enumerable.cs: Fix what we return on Except. Fix #324031.
310
311 2007-09-12  Marek Safar <marek.safar@gmail.com>
312
313         * Enumerable.cs: Fixed GroupJoin logic. Reused DefaultIfEmpty
314         implementation.
315
316 2007-09-11  Marek Safar <marek.safar@gmail.com>
317
318         * Enumerable.cs: Fixed Join recursion.
319
320 2007-08-22  Marek Safar <marek.safar@gmail.com>
321
322         * Enumerable.cs: More SelectionMany.
323
324 2007-08-21  Marek Safar <marek.safar@gmail.com>
325
326         * AOrderedEnumerable: New abstract base.
327
328         * Enumerable.cs, Queryable.cs: Public methods update.
329
330         * InternalOrderedSequence.cs: Fixed ThenBy.
331
332 2007-08-21  Marek Safar <marek.safar@gmail.com>
333
334         * Enumerable.cs, Queryable.cs: Public methods update.
335
336         * InternalOrderedSequence.cs, OrderedSequence.cs: Derives from
337         IOrderedEnumerable<TElement>.
338
339 2007-08-17  Michael Hutchinson <m.j.hutchinson@gmail.com>
340
341         * Enumerable.cs: Fix Aggregate's counting code, and make it more
342           efficient.
343
344 2007-06-08  Marek Safar <marek.safar@gmail.com>
345
346         * Enumerable.cs: Fixed recursion in GroupBy.
347
348 2007-03-24  Antonello Provenzano  <antonello@deveel.com>
349
350         * Enumerable.cs: Migrated from QueryExpression
351                 - Implemented overload of method Aggregate
352                 - Method AsEnumerable implemented
353                 - Method Contains overloaded
354                 - 'Distinct' method refactored and overloaded
355                 - 'Except' method refactored and overloaded
356                 - Method IndexOf overloaded to be used with IEqualityComparer instances
357                 - Method Join overloaded to be used with IEqualityComparer instances
358                 - Method GroupJoin overloaded to be used with IEqualityComparer instances
359                 - Implemented internal method ToReadOnlyCollection for support
360                 to expressions.
361
362 2007-02-16  Marek Safar <marek.safar@gmail.com>
363
364         * Enumerable.cs, Queryable.cs: Remove Extension attribute.
365
366 2007-02-03  Atsushi Enomoto  <atsushi@ximian.com>
367
368         * IQueryable_T.cs : fixed type/member signatures (generic arguments).
369
370 2007-01-19  Marek Safar <marek.safar@gmail.com>
371
372         * QueryExpression.cs,
373         * Enumerable.cs: New files.
374
375         * Small update to recent version.
376
377 2007-01-19  Marek Safar <marek.safar@gmail.com>
378
379         * ChangeLog: Added
380