ChangeLog 9.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239
  1. 2004-08-31 Atsushi Enomoto <[email protected]>
  2. * XQueryArithmeticOperator.cs : added.
  3. * XPath2Expression.cs, XQueryParser.jay :
  4. renamed some ArithmeticOperator enumeration members.
  5. Implemented ArithmeticOperationExpr.Evaluate().
  6. 2004-08-30 Atsushi Enomoto <[email protected]>
  7. * XPathSequence.cs : fixed NodeIterator to get correct current node
  8. from the input sequence. Now open MoveNext() again as public to
  9. allow override by NodeIterator.
  10. 2004-08-30 Atsushi Enomoto <[email protected]>
  11. * XPath2Expression.cs : empty ExprSequence should not be allowed for
  12. FLWORExpr.WhereClause. It should be null.
  13. * XPathSequence.cs : ExprSequenceIterator.Clone() was missing copy of
  14. the input sequence. FLWORIterator.MoveNext() had incorrect !(not)
  15. and wrong Where test.
  16. * XQueryContext.cs : sequence should be cloned when pushed to context.
  17. 2004-08-30 Atsushi Enomoto <[email protected]>
  18. * XQueryCommandImpl.cs : dust cleaning :(
  19. 2004-08-30 Atsushi Enomoto <[email protected]>
  20. * XQueryASTCompiler.cs, XQueryStaticContext.cs :
  21. Now it requires Evidence and XQueryCommandImpl for security check
  22. and event dispatch.
  23. * XQueryCommandImpl.cs :
  24. Provide Evidence for compiler. Added some code for message dispatch.
  25. * XQueryContext.cs :
  26. Now don't pool variable only in XQueryContextManager.
  27. When variable name could not be resolved, return empty sequence
  28. (not sure if it is always correct).
  29. Fixes which reflects XPathEmptySequence.ctor() parameter changes.
  30. * XQueryCliFunction.cs :
  31. Now it requires CAS if Evidence is supplied (in the future
  32. Evidence won't be null _at any time_).
  33. * XQueryConvert.cs :
  34. implemented GetFallbackType(). Fixed some comments.
  35. * XPathSequence.cs :
  36. Don't require XPathSequence as an argument for XPathEmptySequence.
  37. Implemented FilteredIterator.
  38. Implemented FLWORIterator partly (not working).
  39. Fixed some incorrect exception type: XPathEx- to XmlQueryEx-.
  40. Dispatch message event to XQueryStaticContext.OnMessageEvent().
  41. Added EnumeratorIterator.
  42. * XQueryFunction.cs:
  43. Fixes which reflects XPathEmptySequence.ctor() parameter changes.
  44. * XQueryExpression.cs :
  45. Commonized content serialization for node constructors.
  46. * XPath2Expression.cs :
  47. use XPathItem.TypedValue instead of (string) Value.
  48. In effective boolean value computation, Check Decimal as well.
  49. Fixed misimplemented QuantifiedExpr.EvaluateAsBoolean().
  50. Fix which reflects XQueryContext.PushVariables() changes.
  51. Handle possible null argument on ParenthesizedExpr i.e. "( )".
  52. 2004-08-26 Atsushi Enomoto <[email protected]>
  53. * XPath2Expression.cs :
  54. Fixed PathRootExpr.Evaluate() that always failed.
  55. Renamed PathChildExpr to PathSlashExpr, PathDescendantExpr to
  56. PathSlash2Expr, and added abstract PathStepExpr.
  57. PathSlash2Expr.Evaluate() now uses PathStepIterator
  58. * XPathSequence.cs :
  59. - Modified MoveNextCore() as protected.
  60. - Fixed SingleItemIterator.MoveNext() to be simple.
  61. - Renamed ChildPathIterator to PathStepIterator. Mostly copied
  62. SlashIterator logic from Iterator.cs into PathStepIterator.
  63. - Removed DescendantPathIterator ("//" should be the same as
  64. "/descendant-or-self::node()/").
  65. - NodeIterator.Node should come from current node, not context node.
  66. - Added dummy flag for NodeIterator's copy constructor (that resulted
  67. in incorrect copying for some usecases).
  68. * XQueryParser.jay : Fixes in sync with Expr class name changes.
  69. 2004-08-26 Atsushi Enomoto <[email protected]>
  70. * XPath2Expression.cs :
  71. Don't compute node's EBV based on atomized value.
  72. 2004-08-26 Atsushi Enomoto <[email protected]>
  73. * XPath2Expression.cs : in Compiler(), function call's arguments must
  74. also be compiled.
  75. * XQueryASTCompiler.cs : When function is external, it should not try
  76. to compile body, and tries to handle it as a native CLI method (I
  77. don't like this name resolution design very much, so it is likely
  78. to be redesigned).
  79. * XQueryCliFunction.cs : trivial code comment fix.
  80. * XQueryFunction : added user-specified function call support.
  81. When CLI function returned null, don't wrap null and just return
  82. XQueryEmptySequence.
  83. * XQueryFunctionCliImpl.cs : fn:nilled() requires certain node.
  84. Implemented numeric functions (in the future they might be
  85. rewritten to avoid boxing).
  86. * XQueryTokenizer.cs : Skip XQuery comment inside default state.
  87. PI and XML comment are not read correctly.
  88. 2004-08-25 Atsushi Enomoto <[email protected]>
  89. * XPath2Expression.cs :
  90. Check write state before writing document node.
  91. Check if navigator's SchemaInfo is null or not before atomizing.
  92. Use individual axis-based iterator in AxisStepExpr.Evaluate().
  93. * XPathSequence.cs : added individual axis-based iterator.
  94. Removed commented NodeKindTestIterator.
  95. * XQueryCliFunction.cs, XQueryContext.cs, XQueryFunction.cs :
  96. Now XQueryContext.CurrentItem explicitly throws exception if
  97. no context node was provided (also XQueryCommand.Execute() is
  98. fixed not to provide empty document as input).
  99. Now XQueryFunction should not access to CurrentItem unless it is
  100. required.
  101. * XQueryFunctionCliImpl.cs : fixed more method signatures.
  102. 2004-08-25 Atsushi Enomoto <[email protected]>
  103. * removed IXmlCompilerInclude.cs (does not exist anymore).
  104. 2004-08-25 Atsushi Enomoto <[email protected]>
  105. * SequenceType.cs : moved type inference method to XPathAtomicValue.
  106. Use IsArray in runtime type inference. Initialize fields completely.
  107. Handle collection to runtime type for functions that takes array.
  108. * XPath2Expression.cs : Add whitespaces on serializing XPath items.
  109. EBV != atomized boolean value. Add Atomize() for XPathItem (Atomize()
  110. for XPathSequence should be removed in the future).
  111. Replaced some ExprSequence to ExprSingle for optimization.
  112. * XQueryFunctionCliImpl.cs : Fixed some return types.
  113. * XQueryTokenizer.cs : Fixed weird ReadDecimal().
  114. 2004-08-24 Atsushi Enomoto <[email protected]>
  115. * SequenceType.cs : added ToRuntimeType().
  116. * XPath2Expression.cs : override is required.
  117. * XPathSequence.cs : fixed ExprSequenceIterator.MoveNext() that caused
  118. infinite loop.
  119. * XQueryCompileContext.cs : CultureInfo was missing.
  120. * XQueryContext.cs : CurrentContext must be created after setting
  121. currentSequence.
  122. * XQueryConvert.cs : DateTimeToString() was missing.
  123. * XQueryFunction.cs : convert parameters to runtime type before
  124. being used in Invoke(). Use function's ReturnType to create typed
  125. atomic.
  126. * XQueryParser.jay : create XQueryFunctionArgumentList instance
  127. for function calls that does not have parameters.
  128. 2004-08-23 Atsushi Enomoto <[email protected]>
  129. * SequenceType.cs, XPath2Expression.cs, XQueryASTCompiler.cs,
  130. XQueryCliFunction.cs, XQueryCompileOptions.cs, XQueryContext.cs,
  131. XQueryConvert.cs, XQueryExpression.cs, XQueryFunction,cs,
  132. XQueryFunctionCliImpl.cs, XQueryFunctionTable.cs,
  133. XQueryModuleProlog.cs, XQueryParser.jay, XQueryStaticContext.cs,
  134. XQueryTokenizer.cs :
  135. Eliminate MS.Internal.Xml.* classes. More null check everywhere and
  136. make Compile() pass though as a dummy. Unified FunctionParam into
  137. XQueryFunctionArgument. More kind error message. Several fixes.
  138. 2004-08-20 Atsushi Enomoto <[email protected]>
  139. * XQueryExpression.cs : Content for XmlTextConstructor might be null,
  140. and use literal text for constructor argument if supplied.
  141. * XQueryParser.jay, XQueryTokenizer.cs : Element content literal
  142. string was not parsed and kept correctly. Parse CDATA section.
  143. 2004-08-20 Atsushi Enomoto <[email protected]>
  144. * XPath2Expression.cs, XQueryConvert.cs, XQueryExpression.cs,
  145. XQueryModuleProlog.cs, XQueryParser.jay, XQueryTokenizer.cs :
  146. several changes for XQueryCommand.Execute() implementation.
  147. 2004-08-20 Atsushi Enomoto <[email protected]>
  148. * XQueryContext.cs, XQueryStaticContext.cs, SequenceType.cs,
  149. XPathSequence.cs, XQueryFunction.cs, XQueryFunctionTable.cs,
  150. XQueryCliFunction.cs, XQueryCompileContext.cs, XQueryASTCompiler.cs,
  151. XQueryCommandImpl.cs, XQueryFunctionCliImpl :
  152. new files for XQuery implementation.
  153. 2004-07-28 Atsushi Enomoto <[email protected]>
  154. * XmlQueryCompileException.cs : removed extra GetObjectData().
  155. * XsltCommand.cs : fixed signatures of Compile() and Execute() methods.
  156. 2004-07-27 Atsushi Enomoto <[email protected]>
  157. * XQueryParser.jay,
  158. XPath2Expression.cs,
  159. XQueryModuleProlog.cs,
  160. XQueryTokenizer.cs :
  161. Removed SchemaContext. StepExpr and XPathAxis redesign.
  162. (Partially) updated Prolog to match with XQuery 7/23/2004 spec.
  163. XML comment/PI/CDATA recognition in tokenizer.
  164. 2004-07-26 Atsushi Enomoto <[email protected]>
  165. * skelton-2.0.cs,
  166. XQueryParser.jay,
  167. XQueryTokenizer.cs,
  168. XQueryModuleProlog.cs,
  169. XPath2Expression.cs,
  170. XQueryExpression.cs : added.
  171. 2004-07-23 Atsushi Enomoto <[email protected]>
  172. * XmlQueryCompileException.cs, XmlQueryException.cs :
  173. added internal constructor that supplies error location.
  174. Removed Message property.
  175. 2004-07-20 Atsushi Enomoto <[email protected]>
  176. * XsltCommand.cs, XmlArgumentList.cs : sealed. Added missing MonoTODO.
  177. * XQueryConvert.cs : added. (namespace is temporarily MS.Internal.Xml)
  178. 2004-05-22 Atsushi Enomoto <[email protected]>
  179. * IXmlCompilerInclude.cs,
  180. QueryEventArgs.cs,
  181. QuertEventHandler.cs,
  182. XmlArgumentList.cs,
  183. XsltCommand.cs : added.
  184. * XmlQueryArgumentList.cs,
  185. XsltProcessor.cs : removed (only in .NET 1.2).
  186. * XmlCommand.cs,
  187. XmlQueryCompileException.cs,
  188. XmlQueryException.cs : updated API to that of .NET 2.0.
  189. 2003-12-14 Tim Coleman <[email protected]>
  190. * ChangeLog XmlCommand.cs XmlQueryArgumentList.cs
  191. * XmlQueryCompileException.cs XmlQueryException.cs XsltProcessor.cs:
  192. Move classes from the System.Data.SqlXml assembly where they
  193. did not belong.