ChangeLog 7.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272
  1. 2008-01-30 Jb Evain <[email protected]>
  2. * LambdaExpression.cs, EmitContext.cs: small refactoring.
  3. Extract the different EmitContexts to their own file.
  4. 2008-01-29 Jb Evain <[email protected]>
  5. * MethodCallExpression.cs, Expression.cs: complete Calls.
  6. 2008-01-29 Jb Evain <[email protected]>
  7. * Expression.cs, NewExpression.cs, ExpressionPrinter.cs:
  8. implement the first flavors of New.
  9. 2008-01-27 Jb Evain <[email protected]>
  10. * ConditionalExpression.cs: implement Emit.
  11. 2008-01-27 Jb Evain <[email protected]>
  12. * Expression.cs: implement the last Lambda method.
  13. 2008-01-27 Jb Evain <[email protected]>
  14. * LambdaExpression.cs: fix the Type of the LambdaExpressions.
  15. 2008-01-27 Olivier Dufour <[email protected]>
  16. * Expression.cs, InvocationExpession.cs,
  17. ListInitExpression.cs, MemberInitExpression.cs
  18. NewExpression.cs : Add all missing
  19. constructor in Expressions and remove the base one
  20. 2008-01-25 Jb Evain <[email protected]>
  21. * Expression.cs, ExpressionPrinter.cs: implement Bind.
  22. 2008-01-25 Jb Evain <[email protected]>
  23. * MemberMemberBinding.cs, MemberListBinding.cs,
  24. MemberAssignment.cs, MemberBinding.cs:
  25. add constructors.
  26. 2008-01-25 Jb Evain <[email protected]>
  27. * Expression.cs: implement PropertyOrField.
  28. 2008-01-24 Jb Evain <[email protected]>
  29. * Expression.cs, MemberExpression.cs, ExpressionPrinter.cs:
  30. implement Field and Property.
  31. 2008-01-22 Miguel de Icaza <[email protected]>
  32. * BinaryExpression.cs: Unleash the power of cut and paste.
  33. Bring a bunch of operatros from mcs/expression.cs
  34. * Expression.cs: There is no op_LogicalAnd or op_LogicalOr, I just
  35. used those from mcs, that was wrong. use the proper ones, clean
  36. up the result.
  37. * BinaryExpression.cs: Add method invocations for binary methods.
  38. 2008-01-22 Jb Evain <[email protected]>
  39. * Expression.cs, ExpressionPrinter.cs: implement NewArrayList.
  40. 2008-01-22 Jb Evain <[email protected]>
  41. * Expression.cs, ExpressionPrinter.cs, NewArrayExpression.cs:
  42. implement Expression.NewArrayBounds.
  43. 2008-01-22 Jb Evain <[email protected]>
  44. * ExpressionPrinter.cs: fix Lambda and Equal.
  45. 2008-01-22 Miguel de Icaza <[email protected]>
  46. * BinaryExpression.cs (EmitCoalesce): Add support for emitting
  47. code for Coalesce.
  48. TODO: this does not use the "Conversion" Lambda, which am not sure
  49. who generates this or what it is used for.
  50. (EmitLogical): Fix a couple of bugs in AndAlso, OrElse.
  51. * Expression.cs: Add support for Coalesce.
  52. (BinaryCoreCheck): Move more checking here, instead of the helper
  53. routines, will remove them next.
  54. * LambdaExpression.cs (Compile): Create the delegate last, so we
  55. manage to save the assembly while debugging in case of error
  56. 2008-01-21 Miguel de Icaza <[email protected]>
  57. * Expression.cs (BinaryCoreCheck): Add checking for a few
  58. operators here (to avoid doing a second pass, handles AndAlso and
  59. OrElse).
  60. (AndAlso, OrElse): Add some code.
  61. * BinaryExpression.cs: Instead of using GetValueOrDefault use
  62. get_Value, as we already probed for the lack of value.
  63. Split out support for And/Or to a separate routine as the code is
  64. not very easy to share with the arithmetics code.
  65. 2008-01-21 Marek Safar <[email protected]>
  66. * BinaryExpression.cs: Fixed initobj initialization.
  67. 2008-01-21 Jb Evain <[email protected]>
  68. * Expression.cs, UnaryExpression.cs, BinaryExpression.cs:
  69. Move the IsUnsigned helper from BinaryExpression to Expression,
  70. so it can be used in UnaryExpression.
  71. 2008-01-21 Miguel de Icaza <[email protected]>
  72. * Start code generation for nullables, currently this generates
  73. incorrect code for things like:
  74. Expression<Func<int?, int?, int?>> e2 = (a, b) => a + b;
  75. e2.Compile ().Invoke (null, 3))
  76. This should return null, but returns something else.
  77. * Introduce LINQ_DBG env variable, which generates a linq file in
  78. /tmp; It currently does not work as well as it should, as the
  79. Func<> parameters do not mwatch the generated method.
  80. Investigate.
  81. 2008-01-20 Miguel de Icaza <[email protected]>
  82. Introduce support for Nullable arguments, no code is generated for
  83. these yet, its only tests + node creation behavior at this point.
  84. * Expression.cs (BinaryCoreCheck): Do not allow "int?" and "int"
  85. as operators, they must both be nullable.
  86. NullableTypes in the arguments are transformed into the underlying
  87. values when doing the method validation.
  88. 2008-01-18 Miguel de Icaza <[email protected]>
  89. * ParameterExpression.cs: Add emit support.
  90. 2008-01-18 Jb Evain <[email protected]>
  91. * Expression[Printer|Visitor].cs: implement UnaryPlus, Not, Negate.
  92. 2008-01-18 Miguel de Icaza <[email protected]>
  93. * BinaryExpression.cs: Add support for emitting code for some
  94. operators (ported from the Mono C# compiler).
  95. Add tests.
  96. 2008-01-17 Miguel de Icaza <[email protected]>
  97. Beginning of code generation framework for Linq.Expressions.
  98. Some code was borrowed by from the C# compiler
  99. * Expression_T.cs: Fill in the blanks.
  100. * LambdaExpression.cs: Validation of parameters mostly, a tiny bit
  101. of codegen.
  102. * ConstantExpression.cs: Mostly done, need to write tests for
  103. non-fundamental types and other ValueType initializations.
  104. 2008-01-17 Jb Evain <[email protected]>
  105. * Expression.cs: implement MakeMemberAccess.
  106. 2008-01-17 Jb Evain <[email protected]>
  107. * Expression.cs, ExpressionPrinter.cs, BinaryExpression.cs:
  108. implement ArrayIndex.
  109. 2008-01-17 Jb Evain <[email protected]>
  110. * Expression.cs: Use TypeCode for IsInt and IsNumber.
  111. 2008-01-16 Miguel de Icaza <[email protected]>
  112. * Expression.cs: Add support for user-defined operators.
  113. Put back various binary operator tests.
  114. 2008-01-16 Jb Evain <[email protected]>
  115. * Expression.cs, ExpressionPrinter.cs: fix call for static methods.
  116. 2008-01-15 Miguel de Icaza <[email protected]>
  117. * Expression.cs: Do validation on the method parameters and use
  118. the return type if provided.
  119. 2008-01-15 Jb Evain <[email protected]>
  120. * MethodCallExpression.cs, Expression.cs
  121. ExpressionPrinter.cs: Implement Call (Expression, ...)
  122. 2008-01-15 Jb Evain <[email protected]>
  123. * Expression.cs, ConditionalExpressionExpression.cs
  124. ExpressionPrinter.cs : implement Expression.Condition.
  125. 2008-01-15 Jb Evain <[email protected]>
  126. * Expression.cs,
  127. ParameterExpression.cs,
  128. ExpressionPrinter.cs: implement Expression.Parameter
  129. 2008-01-15 Jb Evain <[email protected]>
  130. * ExpressionPrinter.cs (VisitBinaryExpression): simple
  131. implementation (probably misses a few cases).
  132. 2008-01-14 Miguel de Icaza <[email protected]>
  133. * Expression.cs: Bring back the (most) of binary operators. Added
  134. type checking as well and reorganized the source file by topic
  135. instead of alphabetical sorting.
  136. 2008-01-14 Jb Evain <[email protected]>
  137. * ExpressionPrinter.cs: print ArrayLength.
  138. 2008-01-14 Jb Evain <[email protected]>
  139. * Expression.cs: TypeAs can't take value types.
  140. * ExpressionPrinter.cs: implement TypeAs.
  141. 2008-01-14 Jb Evain <[email protected]>
  142. * Expression.cs: implement TypeIs.
  143. * ExpressionPrinter.cs: implement VisitTypeBinaryExpression.
  144. * TypeBinaryExpression.cs: add proper ctor.
  145. 2008-01-14 Jb Evain <[email protected]>
  146. * Expression.cs, ExpressionPrinter.cs: fix for Quote's type.
  147. 2008-01-14 Jb Evain <[email protected]>
  148. * BinaryExpression.cs,
  149. * Expression.cs: revert part of Miguel's last patch.
  150. MakeBinary is expected to call the appropriate factory
  151. methods. Whose methods that are responsible for creating
  152. the good BinaryExpression, wether they use a custom method
  153. or not.
  154. 2008-01-14 Jb Evain <[email protected]>
  155. * Expression.cs: MakeUnary is expected to call the appropriate
  156. factory methods.
  157. 2008-01-14 Miguel de Icaza <[email protected]>
  158. * Expression.cs (Constant, MakeBinary and consumers of it): Some
  159. more fill-up changes.
  160. MakeBinary will need much more work to support user-provided
  161. types.
  162. 2008-01-13 Jb Evain <[email protected]>
  163. * *.cs: fresh implementation.