ChangeLog 11 KB

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