2010-04-07 Jb Evain <jbevain@novell.com>
[mcs.git] / class / System.Core / System.Linq / ChangeLog
blobf4be79aeb3e880c7ff094c41450e754c86e69912
1 2010-04-07  Jb Evain  <jbevain@novell.com>
3         * EnumerableQuery_T.cs: implement.
5 2010-04-07  Jb Evain  <jbevain@novell.com>
7         * EnumerableQuery.cs: make ctor protected.
9 2010-04-06  Jb Evain  <jbevain@novell.com>
11         * QueryableEnumerable.cs: make TransformQueryable work on net_4_0.
13 2010-04-06  Jb Evain  <jbevain@novell.com>
15         * QueryableTransformer.cs: use factory method that work for all
16         ET implementations.
18 2010-03-30  Jb Evain  <jbevain@novell.com>
20         * Queryable.cs: implement Zip for net_4_0.
22 2010-03-24  Jb Evain  <jbevain@novell.com>
24         * SortSequenceContext.cs: Fix OrderByDescending stability.
25         Based on a patch by Richard Kiene  <richard.kiene@logos.com>.
27 2010-02-23  Marek Safar  <marek.safar@gmail.com>
29         * Enumerable.cs: Implement Zip.
31 2010-01-25  Jb Evain  <jbevain@novell.com>
33         * QueryableTransformer.cs (ReplaceQueryableMethod): fix
34         exception message.
36 2009-12-03  Marek Safar  <marek.safar@gmail.com>
38         * EnumerableExecutor.cs, EnumerableExecutor_T.cs, EnumerableQuery.cs
39         EnumerableQuery_T.cs: Implemented.
41 2009-11-14  Jb Evain  <jbevain@novell.com>
43         * QueryableTransformer: adjust to latest ExpressionTransformer
44         changes.
46 2009-11-12  Eric Maupin  <me@ermau.com>
48         * Enumerable.cs (ToLookup): Accept null keys.
49         * Lookup.cs: Accept null keys.
51 2009-10-08  Marek Safar  <marek.safar@gmail.com>
53         * Enumerable.cs (Empty): Optimized allocation.
55 2009-08-07  Marek Safar  <marek.safar@gmail.com>
57         * Enumerable.cs (Skip): Optimized and fixed int.MaxValue overflow.
59 2009-07-20  Jb Evain  <jbevain@novell.com>
61         * Lookup.cs: avoid a double dictionary lookup on the indexer.
63 2009-07-19 Gonzalo Paniagua Javier <gonzalo@novell.com>
65         * Lookup.cs: when there are no matching elements, return an empty
66         enumerable. Fixes bug #523386.
68 2009-05-18  Jb Evain  <jbevain@novell.com>
70         * Enumerable.cs (Max, Min): fix generic versions.
72 2009-04-03  Jb Evain  <jbevain@novell.com>
74         * Enumerable.cs (Cast): fix for when casted enumerator is already
75         of the appropriate type.
77 2009-03-28  Jb Evain  <jbevain@novell.com>
79         * Enumerable.cs: fix Intersect.
81 2009-02-23  Marek Safar  <marek.safar@gmail.com>
83         * Enumerable.cs (IterateNullable): Compare unwrapped values.
85 2009-02-23  Jb Evain  <jbevain@novell.com>
87         * Enumerable.cs (IterateNullable): fix initial value
88         for nullables.
90 2009-01-22  Jb Evain  <jbevain@novell.com>
92         * SortSequenceContext.cs: make sort stable.
94 2009-01-22  Jb Evain  <jbevain@novell.com>
96         * Enumerable.cs (Sum): check the sum operations for possible overfows.
98 2009-01-22  Jb Evain  <jbevain@novell.com>
100         * Enumerable.cs (SequenceEqual): make sure we dispose enumerators.
102 2009-01-22  Jb Evain  <jbevain@novell.com>
104         * Enumerable.cs: optimize Last for lists.
106 2009-01-15  Jb Evain  <jbevain@novell.com>
108         * Lookup.cs: propage the appropriate comparer for the lookup.
110 2008-11-20  Jb Evain  <jbevain@novell.com>
112         * Enumerable.cs (Any): optimize if we're operating on an ICollection.
114 2008-09-30  Jb Evain  <jbevain@novell.com>
116         * QueryableEnumerable.cs: fix ElementType.
118 2008-09-28  Sebastien Pouliot  <sebastien@ximian.com>
120         * Enumerable.cs: Add missing cast Average on IEnumerable<long?> to
121         ensure the result is not truncated.
122         [Found using Gendarme's ReviewCastOnIntegerDivisionRule]
124 2008-09-11  Jb Evain  <jbevain@novell.com>
126         * Enumerable.cs (Iterate*): use a bool empty instead of an int counter.
127         Fixes #425344.
129 2007-08-14  Marek Safar  <marek.safar@gmail.com>
131         * Enumerable.cs (Cast): Simplified.
133 2008-08-08  Jb Evain  <jbevain@novell.com>
135         * Enumerable.cs (Take): fix not too consume an uneeded item from
136         the source enumerable. Fix #415644.
138 2008-07-24  Marek Safar  <marek.safar@gmail.com>
140         * Enumerable.cs (First): Optimized.
142 2008-05-27  Jb Evain  <jbevain@novell.com>
144         * Enumerable.cs (Sum): don't throw if source is empty.
145         Fixes #394827.
147 2008-05-20  Roei Erez  <roeie@mainsoft.com>
149         * Lookup.cs: Implement ApplyResultSelector method
151 2008-05-20  Roei Erez  <roeie@mainsoft.com>
153         * Queryable.cs: Implement the non-generic AsQureyable method.
155 2008-05-20  Marek Safar  <marek.safar@gmail.com>
157         * Enumerable.cs: Removed GroupBy MonoTODO.
159 2008-05-19  Roei Erez  <roeie@mainsoft.com>
161         * Enumerable.cs: Implemente two overloaded GroupBy methods.
163 2008-05-15  Jb Evain  <jbevain@novell.com>
165         * QueryableEnumerable.cs: Make that the first expression is a constant
166         of itself, and not a constant of the source enumerable.
167         * QueryableTransformer.cs: On a constant, transform a QueryableEnumerable
168         into the enumerable.
169         * Queryable.cs: use new constructor.
171 2008-05-15  Jb Evain  <jbevain@novell.com>
173         * QueryableTransformer.cs, QueryableEnumerable.cs: coding style plus
174         some good refactorings.
176 2008-05-15  Roei Erez  <roeie@mainsoft.com>
178         * QueryableTransformer.cs: missed in the last commit.
180 2008-05-15  Roei Erez  <roeie@mainsoft.com>
182         * QueryableTransformer.cs, QueryableEnumerable.cs: two classes added for implementation
183         of Queryable.AsQueryable() implementation.
184         * Queryable.cs: Implement AsQueryable() method.
186 2008-05-08  Jonathan Pryor  <jpryor@novell.com>
188         * Enumerable.cs: LongCount() can be optimized for arrays, and Reverse() can
189           be implemented in terms of IList w/o needing a temporary List<T> copy.
191 2008-05-06  Sasha Kogan  <sashak@mainsoft.com>
193         * Queryable.cs (Average, GroupBy, Union): fix signatures to
194         match MS API.
196 2008-05-03  Jb Evain  <jbevain@novell.com>
198         * Queryable.cs (OrderBy, OrderByDescending): fix signature and
199         properly return a IOrderedQueryable<>.
201 2008-05-02  Jb Evain  <jbevain@novell.com>
203         * SortSequenceContext.cs (Compare): fix key equality case
204         when there's a nested sort.
206 2008-05-01  Jb Evain  <jbevain@novell.com>
208         * SortDirection.cs, SortContext.cs, SortSequenceContext.cs:
209         new infrastructure files for nested orderby/thenby calls.
210         * QuickSort.cs: refactored out of OrderedSequence.cs
211         * OrderedEnumerable.cs, OrderedSequence.cs: refactoring
212         to use the new SortContext infrastructure.
214 2008-04-30  Jb Evain  <jbevain@novell.com>
216         * Enumerable.cs: Average (int|long): properly compute
217         average.
219 2008-04-22  Jb Evain  <jbevain@novell.com>
221         * Enumerable.cs (ToReadOnlyCollection): optimization, use
222         a generic singleton for empty read only collections.
224 2008-03-31  Marek Safar  <marek.safar@gmail.com>
226         * Enumerable.cs: Use Math.Min and Math.Max where appropriate.
228 2008-03-27  Leonid Freydovich  <leonidf@mainsoft.com>
230         * LambdaExpression.cs Add some TARGET_JVM specific code
232 2008-02-09  Miguel de Icaza  <miguel@novell.com>
234         * Enumerable.cs (ToDictionary): Implement this overload.
236 2008-02-01  Jb Evain  <jbevain@novell.com>
238         * Queryable.cs, Check.cs: integrate GHOP work from
239         Andreas Noever <andreas.noever@gmail.com>.
241 2008-01-21  Jb Evain  <jbevain@novell.com>
243         * Enumerable.cs: fix Intersect.
245 2008-01-21  Jb Evain  <jbevain@novell.com>
247         * Enumerable.cs: fix Concat et SelectMany.
249 2008-01-21  Jb Evain  <jbevain@novell.com>
251         * Enumerable.cs: fix range.
253 2008-01-21  Jb Evain  <jbevain@novell.com>
255         * Enumerable.cs: more ArgumentNullExceptions.
257 2008-01-21  Jb Evain  <jbevain@novell.com>
259         * Enumerable.cs: fix some more ArgumentNullException.
261 2008-01-21  Jb Evain  <jbevain@novell.com>
263         * Enumerable.cs: correctly throw ArgumentNullException
264         for Cast.
266 2008-01-21  Jb Evain  <jbevain@novell.com>
268         * Enumerable.cs (Iterate): protect against null selectors.
270 2008-01-21  Jb Evain  <jbevain@novell.com>
272         * Enumerable.cs: fix IterateNullable.
274 2008-01-15  Jb Evain  <jbevain@novell.com>
276         * Enumerable.cs: clean the ToReadOnlyCollection extension
277         method.
279 2007-12-18  Jb Evain  <jbevain@novell.com>
281         * Enumerable.cs: refactor some Min.
283 2007-12-18  Jb Evain  <jbevain@novell.com>
285         * Enumerable.cs: refactor some more Max.
287 2007-12-12  Jb Evain  <jbevain@novell.com>
289         * Check.cs, Enumerable.cs: extract the checks to their
290         own class, as they'll be used by Queryable as well.
292 2007-12-04  Marek Safar <marek.safar@gmail.com>
294         * Enumerable.cs: Refactor some copy&paste blocks.
296 2007-11-28  Jb Evain  <jbevain@novell.com>
298         * Enumerable.cs: fix warnings.
300 2007-11-27  Scott Peterson  <lunchtimemama@gmail.com>
302         * InternalOrderedSequence.cs: updated Quicksort algorithm.
304 2007-11-22  Atsushi Enomoto  <atsushi@ximian.com>
306         * Enumerable.cs : fixed Range(int,int) that iterated one less.
307           Thanks to http://d.hatena.ne.jp/NyaRuRu/ .
309 2007-11-13  Jb Evain  <jbevain@novell.com>
311         * Enumerable.cs: make the new unit tests pass.
313 2007-11-09  Jb Evain  <jbevain@novell.com>
315         * Enumerable.cs: refactor the ArgumentNullException checks.
317 2007-11-08  Jb Evain  <jbevain@novell.com>
319         * Enumerable.cs: Implement SequenceEqual.
321 2007-11-08  Jb Evain  <jbevain@novell.com>
323         * Enumerable.cs: Complete Union.
325 2007-11-08  Jb Evain  <jbevain@novell.com>
327         * Enumerable.cs: correctly implement Intersect.
329 2007-11-08  Jb Evain  <jbevain@novell.com>
331         * Enumerable.cs: code cleanup.
333 2007-11-06  Jb Evain  <jbevain@novell.com>
335         * Enumerable.cs: Fix what we return on Except. Fix #324031.
337 2007-09-12  Marek Safar <marek.safar@gmail.com>
339         * Enumerable.cs: Fixed GroupJoin logic. Reused DefaultIfEmpty
340         implementation.
342 2007-09-11  Marek Safar <marek.safar@gmail.com>
344         * Enumerable.cs: Fixed Join recursion.
346 2007-08-22  Marek Safar <marek.safar@gmail.com>
348         * Enumerable.cs: More SelectionMany.
350 2007-08-21  Marek Safar <marek.safar@gmail.com>
352         * AOrderedEnumerable: New abstract base.
354         * Enumerable.cs, Queryable.cs: Public methods update.
356         * InternalOrderedSequence.cs: Fixed ThenBy.
358 2007-08-21  Marek Safar <marek.safar@gmail.com>
360         * Enumerable.cs, Queryable.cs: Public methods update.
362         * InternalOrderedSequence.cs, OrderedSequence.cs: Derives from
363         IOrderedEnumerable<TElement>.
365 2007-08-17  Michael Hutchinson <m.j.hutchinson@gmail.com>
367         * Enumerable.cs: Fix Aggregate's counting code, and make it more
368           efficient.
370 2007-06-08  Marek Safar <marek.safar@gmail.com>
372         * Enumerable.cs: Fixed recursion in GroupBy.
374 2007-03-24  Antonello Provenzano  <antonello@deveel.com>
376         * Enumerable.cs: Migrated from QueryExpression
377                 - Implemented overload of method Aggregate
378                 - Method AsEnumerable implemented
379                 - Method Contains overloaded
380                 - 'Distinct' method refactored and overloaded
381                 - 'Except' method refactored and overloaded
382                 - Method IndexOf overloaded to be used with IEqualityComparer instances
383                 - Method Join overloaded to be used with IEqualityComparer instances
384                 - Method GroupJoin overloaded to be used with IEqualityComparer instances
385                 - Implemented internal method ToReadOnlyCollection for support
386                 to expressions.
388 2007-02-16  Marek Safar <marek.safar@gmail.com>
390         * Enumerable.cs, Queryable.cs: Remove Extension attribute.
392 2007-02-03  Atsushi Enomoto  <atsushi@ximian.com>
394         * IQueryable_T.cs : fixed type/member signatures (generic arguments).
396 2007-01-19  Marek Safar <marek.safar@gmail.com>
398         * QueryExpression.cs,
399         * Enumerable.cs: New files.
401         * Small update to recent version.
403 2007-01-19  Marek Safar <marek.safar@gmail.com>
405         * ChangeLog: Added