2009-07-19 Gonzalo Paniagua Javier <gonzalo@novell.com>
[mono-project.git] / mcs / class / System.Core / System.Linq / ChangeLog
blob8234a3e1da216d26235cecaaeb63c18e858390dc
1 2009-07-19 Gonzalo Paniagua Javier <gonzalo@novell.com>
3         * Lookup.cs: when there are no matching elements, return an empty
4         enumerable. Fixes bug #523386.
6 2009-05-18  Jb Evain  <jbevain@novell.com>
8         * Enumerable.cs (Max, Min): fix generic versions.
10 2009-04-03  Jb Evain  <jbevain@novell.com>
12         * Enumerable.cs (Cast): fix for when casted enumerator is already
13         of the appropriate type.
15 2009-03-28  Jb Evain  <jbevain@novell.com>
17         * Enumerable.cs: fix Intersect.
19 2009-02-23  Marek Safar  <marek.safar@gmail.com>
21         * Enumerable.cs (IterateNullable): Compare unwrapped values.
23 2009-02-23  Jb Evain  <jbevain@novell.com>
25         * Enumerable.cs (IterateNullable): fix initial value
26         for nullables.
28 2009-01-22  Jb Evain  <jbevain@novell.com>
30         * SortSequenceContext.cs: make sort stable.
32 2009-01-22  Jb Evain  <jbevain@novell.com>
34         * Enumerable.cs (Sum): check the sum operations for possible overfows.
36 2009-01-22  Jb Evain  <jbevain@novell.com>
38         * Enumerable.cs (SequenceEqual): make sure we dispose enumerators.
40 2009-01-22  Jb Evain  <jbevain@novell.com>
42         * Enumerable.cs: optimize Last for lists.
44 2009-01-15  Jb Evain  <jbevain@novell.com>
46         * Lookup.cs: propage the appropriate comparer for the lookup.
48 2008-11-20  Jb Evain  <jbevain@novell.com>
50         * Enumerable.cs (Any): optimize if we're operating on an ICollection.
52 2008-09-30  Jb Evain  <jbevain@novell.com>
54         * QueryableEnumerable.cs: fix ElementType.
56 2008-09-28  Sebastien Pouliot  <sebastien@ximian.com>
58         * Enumerable.cs: Add missing cast Average on IEnumerable<long?> to
59         ensure the result is not truncated.
60         [Found using Gendarme's ReviewCastOnIntegerDivisionRule]
62 2008-09-11  Jb Evain  <jbevain@novell.com>
64         * Enumerable.cs (Iterate*): use a bool empty instead of an int counter.
65         Fixes #425344.
67 2007-08-14  Marek Safar  <marek.safar@gmail.com>
69         * Enumerable.cs (Cast): Simplified.
71 2008-08-08  Jb Evain  <jbevain@novell.com>
73         * Enumerable.cs (Take): fix not too consume an uneeded item from
74         the source enumerable. Fix #415644.
76 2008-07-24  Marek Safar  <marek.safar@gmail.com>
78         * Enumerable.cs (First): Optimized.
80 2008-05-27  Jb Evain  <jbevain@novell.com>
82         * Enumerable.cs (Sum): don't throw if source is empty.
83         Fixes #394827.
85 2008-05-20  Roei Erez  <roeie@mainsoft.com>
87         * Lookup.cs: Implement ApplyResultSelector method
89 2008-05-20  Roei Erez  <roeie@mainsoft.com>
91         * Queryable.cs: Implement the non-generic AsQureyable method.
93 2008-05-20  Marek Safar  <marek.safar@gmail.com>
95         * Enumerable.cs: Removed GroupBy MonoTODO.
97 2008-05-19  Roei Erez  <roeie@mainsoft.com>
99         * Enumerable.cs: Implemente two overloaded GroupBy methods.
101 2008-05-15  Jb Evain  <jbevain@novell.com>
103         * QueryableEnumerable.cs: Make that the first expression is a constant
104         of itself, and not a constant of the source enumerable.
105         * QueryableTransformer.cs: On a constant, transform a QueryableEnumerable
106         into the enumerable.
107         * Queryable.cs: use new constructor.
109 2008-05-15  Jb Evain  <jbevain@novell.com>
111         * QueryableTransformer.cs, QueryableEnumerable.cs: coding style plus
112         some good refactorings.
114 2008-05-15  Roei Erez  <roeie@mainsoft.com>
116         * QueryableTransformer.cs: missed in the last commit.
118 2008-05-15  Roei Erez  <roeie@mainsoft.com>
120         * QueryableTransformer.cs, QueryableEnumerable.cs: two classes added for implementation
121         of Queryable.AsQueryable() implementation.
122         * Queryable.cs: Implement AsQueryable() method.
124 2008-05-08  Jonathan Pryor  <jpryor@novell.com>
126         * Enumerable.cs: LongCount() can be optimized for arrays, and Reverse() can
127           be implemented in terms of IList w/o needing a temporary List<T> copy.
129 2008-05-06  Sasha Kogan  <sashak@mainsoft.com>
131         * Queryable.cs (Average, GroupBy, Union): fix signatures to
132         match MS API.
134 2008-05-03  Jb Evain  <jbevain@novell.com>
136         * Queryable.cs (OrderBy, OrderByDescending): fix signature and
137         properly return a IOrderedQueryable<>.
139 2008-05-02  Jb Evain  <jbevain@novell.com>
141         * SortSequenceContext.cs (Compare): fix key equality case
142         when there's a nested sort.
144 2008-05-01  Jb Evain  <jbevain@novell.com>
146         * SortDirection.cs, SortContext.cs, SortSequenceContext.cs:
147         new infrastructure files for nested orderby/thenby calls.
148         * QuickSort.cs: refactored out of OrderedSequence.cs
149         * OrderedEnumerable.cs, OrderedSequence.cs: refactoring
150         to use the new SortContext infrastructure.
152 2008-04-30  Jb Evain  <jbevain@novell.com>
154         * Enumerable.cs: Average (int|long): properly compute
155         average.
157 2008-04-22  Jb Evain  <jbevain@novell.com>
159         * Enumerable.cs (ToReadOnlyCollection): optimization, use
160         a generic singleton for empty read only collections.
162 2008-03-31  Marek Safar  <marek.safar@gmail.com>
164         * Enumerable.cs: Use Math.Min and Math.Max where appropriate.
166 2008-03-27  Leonid Freydovich  <leonidf@mainsoft.com>
168         * LambdaExpression.cs Add some TARGET_JVM specific code
170 2008-02-09  Miguel de Icaza  <miguel@novell.com>
172         * Enumerable.cs (ToDictionary): Implement this overload.
174 2008-02-01  Jb Evain  <jbevain@novell.com>
176         * Queryable.cs, Check.cs: integrate GHOP work from
177         Andreas Noever <andreas.noever@gmail.com>.
179 2008-01-21  Jb Evain  <jbevain@novell.com>
181         * Enumerable.cs: fix Intersect.
183 2008-01-21  Jb Evain  <jbevain@novell.com>
185         * Enumerable.cs: fix Concat et SelectMany.
187 2008-01-21  Jb Evain  <jbevain@novell.com>
189         * Enumerable.cs: fix range.
191 2008-01-21  Jb Evain  <jbevain@novell.com>
193         * Enumerable.cs: more ArgumentNullExceptions.
195 2008-01-21  Jb Evain  <jbevain@novell.com>
197         * Enumerable.cs: fix some more ArgumentNullException.
199 2008-01-21  Jb Evain  <jbevain@novell.com>
201         * Enumerable.cs: correctly throw ArgumentNullException
202         for Cast.
204 2008-01-21  Jb Evain  <jbevain@novell.com>
206         * Enumerable.cs (Iterate): protect against null selectors.
208 2008-01-21  Jb Evain  <jbevain@novell.com>
210         * Enumerable.cs: fix IterateNullable.
212 2008-01-15  Jb Evain  <jbevain@novell.com>
214         * Enumerable.cs: clean the ToReadOnlyCollection extension
215         method.
217 2007-12-18  Jb Evain  <jbevain@novell.com>
219         * Enumerable.cs: refactor some Min.
221 2007-12-18  Jb Evain  <jbevain@novell.com>
223         * Enumerable.cs: refactor some more Max.
225 2007-12-12  Jb Evain  <jbevain@novell.com>
227         * Check.cs, Enumerable.cs: extract the checks to their
228         own class, as they'll be used by Queryable as well.
230 2007-12-04  Marek Safar <marek.safar@gmail.com>
232         * Enumerable.cs: Refactor some copy&paste blocks.
234 2007-11-28  Jb Evain  <jbevain@novell.com>
236         * Enumerable.cs: fix warnings.
238 2007-11-27  Scott Peterson  <lunchtimemama@gmail.com>
240         * InternalOrderedSequence.cs: updated Quicksort algorithm.
242 2007-11-22  Atsushi Enomoto  <atsushi@ximian.com>
244         * Enumerable.cs : fixed Range(int,int) that iterated one less.
245           Thanks to http://d.hatena.ne.jp/NyaRuRu/ .
247 2007-11-13  Jb Evain  <jbevain@novell.com>
249         * Enumerable.cs: make the new unit tests pass.
251 2007-11-09  Jb Evain  <jbevain@novell.com>
253         * Enumerable.cs: refactor the ArgumentNullException checks.
255 2007-11-08  Jb Evain  <jbevain@novell.com>
257         * Enumerable.cs: Implement SequenceEqual.
259 2007-11-08  Jb Evain  <jbevain@novell.com>
261         * Enumerable.cs: Complete Union.
263 2007-11-08  Jb Evain  <jbevain@novell.com>
265         * Enumerable.cs: correctly implement Intersect.
267 2007-11-08  Jb Evain  <jbevain@novell.com>
269         * Enumerable.cs: code cleanup.
271 2007-11-06  Jb Evain  <jbevain@novell.com>
273         * Enumerable.cs: Fix what we return on Except. Fix #324031.
275 2007-09-12  Marek Safar <marek.safar@gmail.com>
277         * Enumerable.cs: Fixed GroupJoin logic. Reused DefaultIfEmpty
278         implementation.
280 2007-09-11  Marek Safar <marek.safar@gmail.com>
282         * Enumerable.cs: Fixed Join recursion.
284 2007-08-22  Marek Safar <marek.safar@gmail.com>
286         * Enumerable.cs: More SelectionMany.
288 2007-08-21  Marek Safar <marek.safar@gmail.com>
290         * AOrderedEnumerable: New abstract base.
292         * Enumerable.cs, Queryable.cs: Public methods update.
294         * InternalOrderedSequence.cs: Fixed ThenBy.
296 2007-08-21  Marek Safar <marek.safar@gmail.com>
298         * Enumerable.cs, Queryable.cs: Public methods update.
300         * InternalOrderedSequence.cs, OrderedSequence.cs: Derives from
301         IOrderedEnumerable<TElement>.
303 2007-08-17  Michael Hutchinson <m.j.hutchinson@gmail.com>
305         * Enumerable.cs: Fix Aggregate's counting code, and make it more
306           efficient.
308 2007-06-08  Marek Safar <marek.safar@gmail.com>
310         * Enumerable.cs: Fixed recursion in GroupBy.
312 2007-03-24  Antonello Provenzano  <antonello@deveel.com>
314         * Enumerable.cs: Migrated from QueryExpression
315                 - Implemented overload of method Aggregate
316                 - Method AsEnumerable implemented
317                 - Method Contains overloaded
318                 - 'Distinct' method refactored and overloaded
319                 - 'Except' method refactored and overloaded
320                 - Method IndexOf overloaded to be used with IEqualityComparer instances
321                 - Method Join overloaded to be used with IEqualityComparer instances
322                 - Method GroupJoin overloaded to be used with IEqualityComparer instances
323                 - Implemented internal method ToReadOnlyCollection for support
324                 to expressions.
326 2007-02-16  Marek Safar <marek.safar@gmail.com>
328         * Enumerable.cs, Queryable.cs: Remove Extension attribute.
330 2007-02-03  Atsushi Enomoto  <atsushi@ximian.com>
332         * IQueryable_T.cs : fixed type/member signatures (generic arguments).
334 2007-01-19  Marek Safar <marek.safar@gmail.com>
336         * QueryExpression.cs,
337         * Enumerable.cs: New files.
339         * Small update to recent version.
341 2007-01-19  Marek Safar <marek.safar@gmail.com>
343         * ChangeLog: Added