ChangeLog 9.1 KB

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