2010-03-24 Jb Evain <jbevain@novell.com>
[mcs.git] / class / System.Core / System.Linq / ChangeLog
blob0438c8dd5732119845b4e430893a91c61d65a421
1 2010-03-24  Jb Evain  <jbevain@novell.com>
3         * SortSequenceContext.cs: Fix OrderByDescending stability.
4         Based on a patch by Richard Kiene  <richard.kiene@logos.com>.
6 2010-02-23  Marek Safar  <marek.safar@gmail.com>
8         * Enumerable.cs: Implement Zip.
10 2010-01-25  Jb Evain  <jbevain@novell.com>
12         * QueryableTransformer.cs (ReplaceQueryableMethod): fix
13         exception message.
15 2009-12-03  Marek Safar  <marek.safar@gmail.com>
17         * EnumerableExecutor.cs, EnumerableExecutor_T.cs, EnumerableQuery.cs
18         EnumerableQuery_T.cs: Implemented.
20 2009-11-14  Jb Evain  <jbevain@novell.com>
22         * QueryableTransformer: adjust to latest ExpressionTransformer
23         changes.
25 2009-11-12  Eric Maupin  <me@ermau.com>
27         * Enumerable.cs (ToLookup): Accept null keys.
28         * Lookup.cs: Accept null keys.
30 2009-10-08  Marek Safar  <marek.safar@gmail.com>
32         * Enumerable.cs (Empty): Optimized allocation.
34 2009-08-07  Marek Safar  <marek.safar@gmail.com>
36         * Enumerable.cs (Skip): Optimized and fixed int.MaxValue overflow.
38 2009-07-20  Jb Evain  <jbevain@novell.com>
40         * Lookup.cs: avoid a double dictionary lookup on the indexer.
42 2009-07-19 Gonzalo Paniagua Javier <gonzalo@novell.com>
44         * Lookup.cs: when there are no matching elements, return an empty
45         enumerable. Fixes bug #523386.
47 2009-05-18  Jb Evain  <jbevain@novell.com>
49         * Enumerable.cs (Max, Min): fix generic versions.
51 2009-04-03  Jb Evain  <jbevain@novell.com>
53         * Enumerable.cs (Cast): fix for when casted enumerator is already
54         of the appropriate type.
56 2009-03-28  Jb Evain  <jbevain@novell.com>
58         * Enumerable.cs: fix Intersect.
60 2009-02-23  Marek Safar  <marek.safar@gmail.com>
62         * Enumerable.cs (IterateNullable): Compare unwrapped values.
64 2009-02-23  Jb Evain  <jbevain@novell.com>
66         * Enumerable.cs (IterateNullable): fix initial value
67         for nullables.
69 2009-01-22  Jb Evain  <jbevain@novell.com>
71         * SortSequenceContext.cs: make sort stable.
73 2009-01-22  Jb Evain  <jbevain@novell.com>
75         * Enumerable.cs (Sum): check the sum operations for possible overfows.
77 2009-01-22  Jb Evain  <jbevain@novell.com>
79         * Enumerable.cs (SequenceEqual): make sure we dispose enumerators.
81 2009-01-22  Jb Evain  <jbevain@novell.com>
83         * Enumerable.cs: optimize Last for lists.
85 2009-01-15  Jb Evain  <jbevain@novell.com>
87         * Lookup.cs: propage the appropriate comparer for the lookup.
89 2008-11-20  Jb Evain  <jbevain@novell.com>
91         * Enumerable.cs (Any): optimize if we're operating on an ICollection.
93 2008-09-30  Jb Evain  <jbevain@novell.com>
95         * QueryableEnumerable.cs: fix ElementType.
97 2008-09-28  Sebastien Pouliot  <sebastien@ximian.com>
99         * Enumerable.cs: Add missing cast Average on IEnumerable<long?> to
100         ensure the result is not truncated.
101         [Found using Gendarme's ReviewCastOnIntegerDivisionRule]
103 2008-09-11  Jb Evain  <jbevain@novell.com>
105         * Enumerable.cs (Iterate*): use a bool empty instead of an int counter.
106         Fixes #425344.
108 2007-08-14  Marek Safar  <marek.safar@gmail.com>
110         * Enumerable.cs (Cast): Simplified.
112 2008-08-08  Jb Evain  <jbevain@novell.com>
114         * Enumerable.cs (Take): fix not too consume an uneeded item from
115         the source enumerable. Fix #415644.
117 2008-07-24  Marek Safar  <marek.safar@gmail.com>
119         * Enumerable.cs (First): Optimized.
121 2008-05-27  Jb Evain  <jbevain@novell.com>
123         * Enumerable.cs (Sum): don't throw if source is empty.
124         Fixes #394827.
126 2008-05-20  Roei Erez  <roeie@mainsoft.com>
128         * Lookup.cs: Implement ApplyResultSelector method
130 2008-05-20  Roei Erez  <roeie@mainsoft.com>
132         * Queryable.cs: Implement the non-generic AsQureyable method.
134 2008-05-20  Marek Safar  <marek.safar@gmail.com>
136         * Enumerable.cs: Removed GroupBy MonoTODO.
138 2008-05-19  Roei Erez  <roeie@mainsoft.com>
140         * Enumerable.cs: Implemente two overloaded GroupBy methods.
142 2008-05-15  Jb Evain  <jbevain@novell.com>
144         * QueryableEnumerable.cs: Make that the first expression is a constant
145         of itself, and not a constant of the source enumerable.
146         * QueryableTransformer.cs: On a constant, transform a QueryableEnumerable
147         into the enumerable.
148         * Queryable.cs: use new constructor.
150 2008-05-15  Jb Evain  <jbevain@novell.com>
152         * QueryableTransformer.cs, QueryableEnumerable.cs: coding style plus
153         some good refactorings.
155 2008-05-15  Roei Erez  <roeie@mainsoft.com>
157         * QueryableTransformer.cs: missed in the last commit.
159 2008-05-15  Roei Erez  <roeie@mainsoft.com>
161         * QueryableTransformer.cs, QueryableEnumerable.cs: two classes added for implementation
162         of Queryable.AsQueryable() implementation.
163         * Queryable.cs: Implement AsQueryable() method.
165 2008-05-08  Jonathan Pryor  <jpryor@novell.com>
167         * Enumerable.cs: LongCount() can be optimized for arrays, and Reverse() can
168           be implemented in terms of IList w/o needing a temporary List<T> copy.
170 2008-05-06  Sasha Kogan  <sashak@mainsoft.com>
172         * Queryable.cs (Average, GroupBy, Union): fix signatures to
173         match MS API.
175 2008-05-03  Jb Evain  <jbevain@novell.com>
177         * Queryable.cs (OrderBy, OrderByDescending): fix signature and
178         properly return a IOrderedQueryable<>.
180 2008-05-02  Jb Evain  <jbevain@novell.com>
182         * SortSequenceContext.cs (Compare): fix key equality case
183         when there's a nested sort.
185 2008-05-01  Jb Evain  <jbevain@novell.com>
187         * SortDirection.cs, SortContext.cs, SortSequenceContext.cs:
188         new infrastructure files for nested orderby/thenby calls.
189         * QuickSort.cs: refactored out of OrderedSequence.cs
190         * OrderedEnumerable.cs, OrderedSequence.cs: refactoring
191         to use the new SortContext infrastructure.
193 2008-04-30  Jb Evain  <jbevain@novell.com>
195         * Enumerable.cs: Average (int|long): properly compute
196         average.
198 2008-04-22  Jb Evain  <jbevain@novell.com>
200         * Enumerable.cs (ToReadOnlyCollection): optimization, use
201         a generic singleton for empty read only collections.
203 2008-03-31  Marek Safar  <marek.safar@gmail.com>
205         * Enumerable.cs: Use Math.Min and Math.Max where appropriate.
207 2008-03-27  Leonid Freydovich  <leonidf@mainsoft.com>
209         * LambdaExpression.cs Add some TARGET_JVM specific code
211 2008-02-09  Miguel de Icaza  <miguel@novell.com>
213         * Enumerable.cs (ToDictionary): Implement this overload.
215 2008-02-01  Jb Evain  <jbevain@novell.com>
217         * Queryable.cs, Check.cs: integrate GHOP work from
218         Andreas Noever <andreas.noever@gmail.com>.
220 2008-01-21  Jb Evain  <jbevain@novell.com>
222         * Enumerable.cs: fix Intersect.
224 2008-01-21  Jb Evain  <jbevain@novell.com>
226         * Enumerable.cs: fix Concat et SelectMany.
228 2008-01-21  Jb Evain  <jbevain@novell.com>
230         * Enumerable.cs: fix range.
232 2008-01-21  Jb Evain  <jbevain@novell.com>
234         * Enumerable.cs: more ArgumentNullExceptions.
236 2008-01-21  Jb Evain  <jbevain@novell.com>
238         * Enumerable.cs: fix some more ArgumentNullException.
240 2008-01-21  Jb Evain  <jbevain@novell.com>
242         * Enumerable.cs: correctly throw ArgumentNullException
243         for Cast.
245 2008-01-21  Jb Evain  <jbevain@novell.com>
247         * Enumerable.cs (Iterate): protect against null selectors.
249 2008-01-21  Jb Evain  <jbevain@novell.com>
251         * Enumerable.cs: fix IterateNullable.
253 2008-01-15  Jb Evain  <jbevain@novell.com>
255         * Enumerable.cs: clean the ToReadOnlyCollection extension
256         method.
258 2007-12-18  Jb Evain  <jbevain@novell.com>
260         * Enumerable.cs: refactor some Min.
262 2007-12-18  Jb Evain  <jbevain@novell.com>
264         * Enumerable.cs: refactor some more Max.
266 2007-12-12  Jb Evain  <jbevain@novell.com>
268         * Check.cs, Enumerable.cs: extract the checks to their
269         own class, as they'll be used by Queryable as well.
271 2007-12-04  Marek Safar <marek.safar@gmail.com>
273         * Enumerable.cs: Refactor some copy&paste blocks.
275 2007-11-28  Jb Evain  <jbevain@novell.com>
277         * Enumerable.cs: fix warnings.
279 2007-11-27  Scott Peterson  <lunchtimemama@gmail.com>
281         * InternalOrderedSequence.cs: updated Quicksort algorithm.
283 2007-11-22  Atsushi Enomoto  <atsushi@ximian.com>
285         * Enumerable.cs : fixed Range(int,int) that iterated one less.
286           Thanks to http://d.hatena.ne.jp/NyaRuRu/ .
288 2007-11-13  Jb Evain  <jbevain@novell.com>
290         * Enumerable.cs: make the new unit tests pass.
292 2007-11-09  Jb Evain  <jbevain@novell.com>
294         * Enumerable.cs: refactor the ArgumentNullException checks.
296 2007-11-08  Jb Evain  <jbevain@novell.com>
298         * Enumerable.cs: Implement SequenceEqual.
300 2007-11-08  Jb Evain  <jbevain@novell.com>
302         * Enumerable.cs: Complete Union.
304 2007-11-08  Jb Evain  <jbevain@novell.com>
306         * Enumerable.cs: correctly implement Intersect.
308 2007-11-08  Jb Evain  <jbevain@novell.com>
310         * Enumerable.cs: code cleanup.
312 2007-11-06  Jb Evain  <jbevain@novell.com>
314         * Enumerable.cs: Fix what we return on Except. Fix #324031.
316 2007-09-12  Marek Safar <marek.safar@gmail.com>
318         * Enumerable.cs: Fixed GroupJoin logic. Reused DefaultIfEmpty
319         implementation.
321 2007-09-11  Marek Safar <marek.safar@gmail.com>
323         * Enumerable.cs: Fixed Join recursion.
325 2007-08-22  Marek Safar <marek.safar@gmail.com>
327         * Enumerable.cs: More SelectionMany.
329 2007-08-21  Marek Safar <marek.safar@gmail.com>
331         * AOrderedEnumerable: New abstract base.
333         * Enumerable.cs, Queryable.cs: Public methods update.
335         * InternalOrderedSequence.cs: Fixed ThenBy.
337 2007-08-21  Marek Safar <marek.safar@gmail.com>
339         * Enumerable.cs, Queryable.cs: Public methods update.
341         * InternalOrderedSequence.cs, OrderedSequence.cs: Derives from
342         IOrderedEnumerable<TElement>.
344 2007-08-17  Michael Hutchinson <m.j.hutchinson@gmail.com>
346         * Enumerable.cs: Fix Aggregate's counting code, and make it more
347           efficient.
349 2007-06-08  Marek Safar <marek.safar@gmail.com>
351         * Enumerable.cs: Fixed recursion in GroupBy.
353 2007-03-24  Antonello Provenzano  <antonello@deveel.com>
355         * Enumerable.cs: Migrated from QueryExpression
356                 - Implemented overload of method Aggregate
357                 - Method AsEnumerable implemented
358                 - Method Contains overloaded
359                 - 'Distinct' method refactored and overloaded
360                 - 'Except' method refactored and overloaded
361                 - Method IndexOf overloaded to be used with IEqualityComparer instances
362                 - Method Join overloaded to be used with IEqualityComparer instances
363                 - Method GroupJoin overloaded to be used with IEqualityComparer instances
364                 - Implemented internal method ToReadOnlyCollection for support
365                 to expressions.
367 2007-02-16  Marek Safar <marek.safar@gmail.com>
369         * Enumerable.cs, Queryable.cs: Remove Extension attribute.
371 2007-02-03  Atsushi Enomoto  <atsushi@ximian.com>
373         * IQueryable_T.cs : fixed type/member signatures (generic arguments).
375 2007-01-19  Marek Safar <marek.safar@gmail.com>
377         * QueryExpression.cs,
378         * Enumerable.cs: New files.
380         * Small update to recent version.
382 2007-01-19  Marek Safar <marek.safar@gmail.com>
384         * ChangeLog: Added