ChangeLog 9.5 KB

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