ChangeLog 9.1 KB

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