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