1 2008-01-21 Marek Safar <marek.safar@gmail.com>
3 * BinaryExpression.cs: Fixed initobj initialization.
5 2008-01-21 Jb Evain <jbevain@novell.com>
7 * Expression.cs, UnaryExpression.cs, BinaryExpression.cs:
8 Move the IsUnsigned helper from BinaryExpression to Expression,
9 so it can be used in UnaryExpression.
11 2008-01-21 Miguel de Icaza <miguel@novell.com>
13 * Start code generation for nullables, currently this generates
14 incorrect code for things like:
16 Expression<Func<int?, int?, int?>> e2 = (a, b) => a + b;
17 e2.Compile ().Invoke (null, 3))
19 This should return null, but returns something else.
21 * Introduce LINQ_DBG env variable, which generates a linq file in
22 /tmp; It currently does not work as well as it should, as the
23 Func<> parameters do not mwatch the generated method.
27 2008-01-20 Miguel de Icaza <miguel@novell.com>
29 Introduce support for Nullable arguments, no code is generated for
30 these yet, its only tests + node creation behavior at this point.
32 * Expression.cs (BinaryCoreCheck): Do not allow "int?" and "int"
33 as operators, they must both be nullable.
35 NullableTypes in the arguments are transformed into the underlying
36 values when doing the method validation.
38 2008-01-18 Miguel de Icaza <miguel@novell.com>
40 * ParameterExpression.cs: Add emit support.
42 2008-01-18 Jb Evain <jbevain@novell.com>
44 * Expression[Printer|Visitor].cs: implement UnaryPlus, Not, Negate.
46 2008-01-18 Miguel de Icaza <miguel@novell.com>
48 * BinaryExpression.cs: Add support for emitting code for some
49 operators (ported from the Mono C# compiler).
53 2008-01-17 Miguel de Icaza <miguel@novell.com>
55 Beginning of code generation framework for Linq.Expressions.
56 Some code was borrowed by from the C# compiler
58 * Expression_T.cs: Fill in the blanks.
60 * LambdaExpression.cs: Validation of parameters mostly, a tiny bit
63 * ConstantExpression.cs: Mostly done, need to write tests for
64 non-fundamental types and other ValueType initializations.
66 2008-01-17 Jb Evain <jbevain@novell.com>
68 * Expression.cs: implement MakeMemberAccess.
70 2008-01-17 Jb Evain <jbevain@novell.com>
72 * Expression.cs, ExpressionPrinter.cs, BinaryExpression.cs:
75 2008-01-17 Jb Evain <jbevain@novell.com>
77 * Expression.cs: Use TypeCode for IsInt and IsNumber.
79 2008-01-16 Miguel de Icaza <miguel@novell.com>
81 * Expression.cs: Add support for user-defined operators.
83 Put back various binary operator tests.
85 2008-01-16 Jb Evain <jbevain@novell.com>
87 * Expression.cs, ExpressionPrinter.cs: fix call for static methods.
89 2008-01-15 Miguel de Icaza <miguel@novell.com>
91 * Expression.cs: Do validation on the method parameters and use
92 the return type if provided.
94 2008-01-15 Jb Evain <jbevain@novell.com>
96 * MethodCallExpression.cs, Expression.cs
97 ExpressionPrinter.cs: Implement Call (Expression, ...)
99 2008-01-15 Jb Evain <jbevain@novell.com>
101 * Expression.cs, ConditionalExpressionExpression.cs
102 ExpressionPrinter.cs : implement Expression.Condition.
104 2008-01-15 Jb Evain <jbevain@novell.com>
107 ParameterExpression.cs,
108 ExpressionPrinter.cs: implement Expression.Parameter
110 2008-01-15 Jb Evain <jbevain@novell.com>
112 * ExpressionPrinter.cs (VisitBinaryExpression): simple
113 implementation (probably misses a few cases).
115 2008-01-14 Miguel de Icaza <miguel@novell.com>
117 * Expression.cs: Bring back the (most) of binary operators. Added
118 type checking as well and reorganized the source file by topic
119 instead of alphabetical sorting.
121 2008-01-14 Jb Evain <jbevain@novell.com>
123 * ExpressionPrinter.cs: print ArrayLength.
125 2008-01-14 Jb Evain <jbevain@novell.com>
127 * Expression.cs: TypeAs can't take value types.
128 * ExpressionPrinter.cs: implement TypeAs.
130 2008-01-14 Jb Evain <jbevain@novell.com>
132 * Expression.cs: implement TypeIs.
133 * ExpressionPrinter.cs: implement VisitTypeBinaryExpression.
134 * TypeBinaryExpression.cs: add proper ctor.
136 2008-01-14 Jb Evain <jbevain@novell.com>
138 * Expression.cs, ExpressionPrinter.cs: fix for Quote's type.
140 2008-01-14 Jb Evain <jbevain@novell.com>
142 * BinaryExpression.cs,
143 * Expression.cs: revert part of Miguel's last patch.
144 MakeBinary is expected to call the appropriate factory
145 methods. Whose methods that are responsible for creating
146 the good BinaryExpression, wether they use a custom method
149 2008-01-14 Jb Evain <jbevain@novell.com>
151 * Expression.cs: MakeUnary is expected to call the appropriate
154 2008-01-14 Miguel de Icaza <miguel@novell.com>
156 * Expression.cs (Constant, MakeBinary and consumers of it): Some
157 more fill-up changes.
159 MakeBinary will need much more work to support user-provided
162 2008-01-13 Jb Evain <jbevain@novell.com>
164 * *.cs: fresh implementation.