ChangeLog 10 KB

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