Jb Evain
16194ffee8
style
...
svn path=/trunk/mcs/; revision=160338
2010-07-14 08:17:12 +00:00
Jb Evain
7765cb325a
2010-07-14 Jb Evain <[email protected] >
...
* Enumerable.cs (Union): fix HashSet.Contains call.
svn path=/trunk/mcs/; revision=160337
2010-07-14 08:16:50 +00:00
Jb Evain
73c7b851cf
2010-07-13 Jb Evain <[email protected] >
...
* Enumerable.cs (Except): fix HashSet.Contains call.
Fixes #621911 .
svn path=/trunk/mcs/; revision=160298
2010-07-13 14:35:56 +00:00
Jb Evain
0b00864125
2010-06-22 Jb Evain <[email protected] >
...
* Queryable.cs: properly set the constants types in the queryable
expression tree.
svn path=/trunk/mcs/; revision=159337
2010-06-22 13:30:05 +00:00
Jb Evain
7d3defbb7b
2010-06-22 Jb Evain <[email protected] >
...
* EnumerableQuery_T.cs
* QueryableEnumerable.cs:
override ToString.
svn path=/trunk/mcs/; revision=159329
2010-06-22 12:13:26 +00:00
Rolf Bjarne Kvinge
754903d2cf
In class/System.Core:
...
2010-06-18 Rolf Bjarne Kvinge <[email protected] >
* System.Core/Dummy.cs:
* moonlight_raw_System.Core.dll.sources: Add an internal dummy class to create
the System.Core namespace.
* Makefile:
* moonlight_raw_System.Core.dll.sources: Include the dlr in Moonlight.
In class/System.Core/System.Linq:
2010-06-18 Rolf Bjarne Kvinge <[email protected] >
* EnumerableQuery.cs:
* EnumerableQuery_T.cs:
* EnumerableExecutor.cs:
* EnumerableExecutor_T.cs: Include in Moonlight.
* Enumerable.cs: Moonlight too needs Zip.
In class/System.Core/System.Runtime.CompilerServices:
2010-06-18 Rolf Bjarne Kvinge <[email protected] >
* ExecutionScope.cs: This class exists in Moonlight, but isn't supported.
* StrongBox_T.cs:
* DynamicAttribute.cs: Include in Moonlight.
svn path=/trunk/mcs/; revision=159111
2010-06-17 23:46:55 +00:00
Jérémie Laval
32d1d3e231
2010-05-25 Jérémie Laval <[email protected] >
...
In class/System.Core/System.Linq/:
* ParallelExecuter.cs: Fix NRE caused by lambda wrapping
svn path=/trunk/mcs/; revision=157856
2010-05-25 14:37:01 +00:00
Jb Evain
deb0e467e0
2010-05-25 Jb Evain <[email protected] >
...
* Enumerable.cs: make Reverse lazier. Based on a patch by
Matthew Flaschen <[email protected] >. Fixes #608195 .
svn path=/trunk/mcs/; revision=157831
2010-05-25 08:56:12 +00:00
Jb Evain
3a9cf4b4cd
2010-05-19 Jb Evain <[email protected] >
...
* Enumerable.cs: fix GroupBy to deal with a null key for the last
group entry. Also fix GroupBy to properly throw ArgumentNullException.
svn path=/trunk/mcs/; revision=157558
2010-05-19 14:41:12 +00:00
Jérémie Laval
b6390b0e5d
2010-05-05 Jérémie Laval <[email protected] >
...
In class/System.Core/System.Linq/:
* ParallelEnumerable.cs: Some operators weren't declared
as extension methods. Fixed.
svn path=/trunk/mcs/; revision=156723
2010-05-05 13:36:38 +00:00
Jérémie Laval
3ebc2a2601
2010-04-29 Jérémie Laval <[email protected] >
...
In class/System.Core/System.Linq/:
* ParallelQueryEnumerator.cs: Use new non-blocking collection
for storing indexed elements.
In class/System.Core/System.Linq/Internal/:
* OrderingEnumerator.cs: Use new non-blocking collection
for storing indexed elements.
svn path=/trunk/mcs/; revision=156433
2010-04-29 13:17:22 +00:00
Jérémie Laval
cfcaf86b6b
2010-04-29 Jérémie Laval <[email protected] >
...
In class/System.Core/System.Linq/:
* ParallelExecuter.cs: Bring indexed worker methods support.
Check for null callback.
svn path=/trunk/mcs/; revision=156432
2010-04-29 13:17:13 +00:00
Jérémie Laval
c88dec6d92
2010-04-15 Jérémie Laval <[email protected] >
...
In class/System.Core/:
* net_4_0_System.Core.dll.sources: add PLinq sources
In class/System.Core/System.Linq/:
* OrderedParallelQuery.cs:
* ParallelEnumerable.cs:
* ParallelExecuter.cs:
* ParallelPartitioner.cs:
* ParallelQuery.cs:
* ParallelQueryEnumerator.cs: First check-in of PLinq
In class/System.Core/System.Linq/Internal/:
* AggregationList.cs:
* ConcurrentGrouping.cs:
* ConcurrentLookup.cs:
* OrderingEnumerator.cs:
* ParallelQuickSort.cs:
* RangeList.cs:
* RepeatList.cs:
* ReverseList.cs:
* StripPartitioner.cs: Initial check-in of PLinq
In class/System.Core/System.Linq/Internal/QueryNodes/:
* QueryBaseNode.cs:
* QueryCastNode.cs:
* QueryChildNode.cs:
* QueryConcatNode.cs:
* QueryDefaultEmptyNode.cs:
* QueryGroupByNode.cs:
* QueryMuxNode.cs:
* QueryOptionNode.cs:
* QueryOrderByNode.cs:
* QueryOrderGuardNode.cs:
* QueryOrderedStreamNode.cs:
* QueryReverseNode.cs:
* QuerySelectManyNode.cs:
* QuerySelectNode.cs:
* QuerySetNode.cs:
* QueryStartNode.cs:
* QueryStreamNode.cs:
* QueryWhereNode.cs:
* QueryZipNode.cs:
* WrapHelper.cs: Initial check-in of PLinq
In class/System.Core/System.Linq/Internal/Visitors/:
* INodeVisitor.cs:
* IVisitableNode.cs:
* QueryCheckerVisitor.cs:
* QueryOptions.cs: First check-in of PLinq
svn path=/trunk/mcs/; revision=155533
2010-04-15 19:01:50 +00:00
Jérémie Laval
ea2b4c0352
2010-04-15 Jérémie Laval <[email protected] >
...
In class/System.Core/System.Linq/:
* ParallelExecutionMode.cs:
* ParallelMergeOptions.cs: Initial check-in of PLinq (enum)
In class/System.Core/System.Linq/Internal/QueryNodes/:
* SetInclusion.cs: Initial check-in of PLinq (enum)
svn path=/trunk/mcs/; revision=155532
2010-04-15 19:01:37 +00:00
Miguel de Icaza
071f495d6a
2010-04-12 Miguel de Icaza <[email protected] >
...
* Enumerable.cs: Jumbo patch that inlines code, mainly for the AOT
scenario where we our compiler cant infer the extra layer of
indirection of a lambda function.
But additionally, since we lack support for our JIT to inline
intermediate delegate calls, it should save memory and run
faster.
svn path=/trunk/mcs/; revision=155280
2010-04-13 02:49:19 +00:00
Jb Evain
65bf9e04bb
2010-04-07 Jb Evain <[email protected] >
...
* EnumerableExecutor.cs: make ctor protected.
svn path=/trunk/mcs/; revision=154958
2010-04-07 13:53:37 +00:00
Jb Evain
4ddfad2f3b
2010-04-07 Jb Evain <[email protected] >
...
* EnumerableQuery_T.cs: implement.
svn path=/trunk/mcs/; revision=154956
2010-04-07 13:50:35 +00:00
Jb Evain
ca2e07776c
2010-04-07 Jb Evain <[email protected] >
...
* EnumerableQuery.cs: make ctor protected.
svn path=/trunk/mcs/; revision=154955
2010-04-07 13:50:11 +00:00
Jb Evain
5729f636e4
2010-04-06 Jb Evain <[email protected] >
...
* QueryableEnumerable.cs: make TransformQueryable work on net_4_0.
svn path=/trunk/mcs/; revision=154854
2010-04-06 15:18:55 +00:00
Jb Evain
c69d983c54
2010-04-06 Jb Evain <[email protected] >
...
* QueryableTransformer.cs: use factory method that work for all
ET implementations.
svn path=/trunk/mcs/; revision=154852
2010-04-06 15:17:55 +00:00
Jb Evain
e800d606de
2010-03-30 Jb Evain <[email protected] >
...
* Queryable.cs: implement Zip for net_4_0.
svn path=/trunk/mcs/; revision=154460
2010-03-30 15:06:54 +00:00
Jb Evain
67cf0f1e9a
2010-03-24 Jb Evain <[email protected] >
...
* SortSequenceContext.cs: Fix OrderByDescending stability.
Based on a patch by Richard Kiene <[email protected] >.
svn path=/trunk/mcs/; revision=154154
2010-03-24 17:39:19 +00:00
Marek Safar
923e44a3cf
2010-02-23 Marek Safar <[email protected] >
...
* Enumerable.cs: Implement Zip.
svn path=/trunk/mcs/; revision=152260
2010-02-23 10:43:41 +00:00
Jb Evain
8ce6a8ec16
2010-01-25 Jb Evain <[email protected] >
...
* QueryableTransformer.cs (ReplaceQueryableMethod): fix
exception message.
svn path=/trunk/mcs/; revision=150132
2010-01-25 15:46:31 +00:00
Marek Safar
eb03d1b17b
2009-12-03 Marek Safar <[email protected] >
...
* EnumerableExecutor.cs, EnumerableExecutor_T.cs, EnumerableQuery.cs
EnumerableQuery_T.cs: Implemented.
svn path=/trunk/mcs/; revision=147535
2009-12-03 08:47:36 +00:00
Jb Evain
7a93057af4
in System.Linq.Expressions:
...
2009-11-14 Jb Evain <[email protected] >
* ExpressionTransformer.cs: adjust return type of all
tranformation methods to make the transformer actually
useful.
in System.Linq:
2009-11-14 Jb Evain <[email protected] >
* QueryableTransformer: adjust to latest ExpressionTransformer
changes.
svn path=/trunk/mcs/; revision=146208
2009-11-14 15:47:07 +00:00
Eric Maupin
fe497ee144
* System.Linq/Lookup.cs: Support null keys
...
* System.Linq/Enumerable.cs: Support null keys
svn path=/trunk/mcs/; revision=146039
2009-11-12 13:56:46 +00:00
Marek Safar
e7ff8ad2e7
2009-10-08 Marek Safar <[email protected] >
...
* Enumerable.cs (Empty): Optimized allocation.
svn path=/trunk/mcs/; revision=143778
2009-10-08 15:39:40 +00:00
Marek Safar
ed47ca25ea
2009-08-07 Marek Safar <[email protected] >
...
* Enumerable.cs (Skip): Optimized and fixed int.MaxValue overflow.
svn path=/trunk/mcs/; revision=139558
2009-08-07 10:44:50 +00:00
Jb Evain
43f59cd5b9
2009-07-20 Jb Evain <[email protected] >
...
* Lookup.cs: avoid a double dictionary lookup on the indexer.
svn path=/trunk/mcs/; revision=138194
2009-07-20 06:17:06 +00:00
Gonzalo Paniagua Javier
f8ca363886
2009-07-19 Gonzalo Paniagua Javier <[email protected] >
...
* Lookup.cs: when there are no matching elements, return an empty
enumerable. Fixes bug #523386 .
svn path=/trunk/mcs/; revision=138190
2009-07-20 02:45:47 +00:00
Jb Evain
5877fe65ac
2009-05-18 Jb Evain <[email protected] >
...
* Enumerable.cs (Max, Min): fix generic versions.
svn path=/trunk/mcs/; revision=134333
2009-05-18 17:08:43 +00:00
Jb Evain
db2a0eb2fb
2009-04-03 Jb Evain <[email protected] >
...
* Enumerable.cs (Cast): fix for when casted enumerator is already
of the appropriate type.
svn path=/trunk/mcs/; revision=130961
2009-04-03 10:48:28 +00:00
Jb Evain
cc2c56a916
2009-03-28 Jb Evain <[email protected] >
...
* Enumerable.cs: fix Intersect.
svn path=/trunk/mcs/; revision=130478
2009-03-28 21:55:24 +00:00
Marek Safar
d93ce80221
2009-02-23 Marek Safar <[email protected] >
...
* Enumerable.cs (IterateNullable): Compare unwrapped values.
svn path=/trunk/mcs/; revision=127820
2009-02-23 22:34:17 +00:00
Jb Evain
5333294da5
2009-02-23 Jb Evain <[email protected] >
...
* Enumerable.cs (IterateNullable): fix initial value
for nullables.
svn path=/trunk/mcs/; revision=127772
2009-02-23 18:12:55 +00:00
Jb Evain
632d0de0e0
2009-01-22 Jb Evain <[email protected] >
...
* SortSequenceContext.cs: make sort stable.
svn path=/trunk/mcs/; revision=124220
2009-01-22 16:01:36 +00:00
Jb Evain
99a81c984e
2009-01-22 Jb Evain <[email protected] >
...
* Enumerable.cs (Sum): check the sum operations for possible overfows.
svn path=/trunk/mcs/; revision=124216
2009-01-22 15:40:38 +00:00
Jb Evain
a560d612bf
2009-01-22 Jb Evain <[email protected] >
...
* Enumerable.cs (SequenceEqual): make sure we dispose enumerators.
svn path=/trunk/mcs/; revision=124212
2009-01-22 15:05:35 +00:00
Jb Evain
f470193a89
2009-01-22 Jb Evain <[email protected] >
...
* Enumerable.cs: optimize Last for lists.
svn path=/trunk/mcs/; revision=124210
2009-01-22 14:56:14 +00:00
Jb Evain
0e24e93af6
2009-01-15 Jb Evain <[email protected] >
...
* Lookup.cs: propage the appropriate comparer for the lookup.
svn path=/trunk/mcs/; revision=123499
2009-01-15 17:15:49 +00:00
Jb Evain
0058cfe975
2008-11-20 Jb Evain <[email protected] >
...
* Enumerable.cs (Any): optimize if we're operating on an ICollection.
svn path=/trunk/mcs/; revision=119433
2008-11-20 12:57:59 +00:00
Jb Evain
f615770859
2008-09-30 Jb Evain <[email protected] >
...
* QueryableEnumerable.cs: fix ElementType.
svn path=/trunk/mcs/; revision=114511
2008-09-30 21:23:16 +00:00
Sebastien Pouliot
6fb0b958fa
2008-09-28 Sebastien Pouliot <[email protected] >
...
* Enumerable.cs: Add missing cast Average on IEnumerable<long?> to
ensure the result is not truncated.
[Found using Gendarme's ReviewCastOnIntegerDivisionRule]
svn path=/trunk/mcs/; revision=114330
2008-09-28 14:55:32 +00:00
Jb Evain
935d94af6a
2008-09-11 Jb Evain <[email protected] >
...
* Enumerable.cs (Iterate*): use a bool empty instead of an int counter.
Fixes #425344 .
svn path=/trunk/mcs/; revision=112743
2008-09-11 07:20:08 +00:00
Marek Safar
0f31b0daf9
2007-08-14 Marek Safar <[email protected] >
...
* Enumerable.cs (Cast): Simplified.
svn path=/trunk/mcs/; revision=110526
2008-08-14 20:09:21 +00:00
Jb Evain
8d8a72bb90
fix #415644
...
svn path=/trunk/mcs/; revision=109948
2008-08-08 08:41:14 +00:00
Marek Safar
c3db302c0b
2008-07-24 Marek Safar <[email protected] >
...
* Enumerable.cs (First): Optimized.
svn path=/trunk/mcs/; revision=108640
2008-07-24 10:01:27 +00:00
Jb Evain
1e9b725152
2008-05-27 Jb Evain <[email protected] >
...
* Enumerable.cs (Sum): don't throw if source is empty.
Fixes #394827 .
svn path=/trunk/mcs/; revision=104189
2008-05-27 19:28:19 +00:00
Roei Erez
d1012d1182
Implement the Lookup.ApplyResultSelector method
...
svn path=/trunk/mcs/; revision=103563
2008-05-20 10:30:25 +00:00