ChangeLog 6.6 KB

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