2004-02-09 Atsushi Enomoto <atsushi@ximian.com>
[mono.git] / mcs / class / System.XML / System.Xml.XPath / ChangeLog
index e7ac03dc9ddf77d11a0425b23665e7d856dc9360..763b1122b674bbe9f71b640a7c91b00c9cda1edc 100644 (file)
@@ -1,3 +1,146 @@
+2004-02-09  Atsushi Enomoto  <atsushi@ximian.com>
+
+       * Expression.cs : RelationalExpr was comparing number and node in
+         reverse order. Patch by Kazuki Oikawa. Fixed bug #72343.
+         RelationalExpr should also handle result tree fragment as node-set
+         as well as EqualityExpr. This fixes RTF case wrt #72343.
+
+2004-02-08  Atsushi Enomoto  <atsushi@ximian.com>
+
+       * Expression.cs : tiny code format fix by Andrew Skiba.
+
+2004-12-26  Atsushi Enomoto  <atsushi@ximian.com>
+
+       * XPathNavigator.cs : Added CheckValidity() and ValueType.
+         For SetTypedValue(), throw NotSupportedException instead of
+         NotImplementedException.
+
+2004-12-16  Atsushi Enomoto  <atsushi@ximian.com>
+
+       * XPathNavigator.cs :added MoveToFollowing(), ReplaceSelf() and
+         all the missing attributes.
+
+2004-12-04  Atsushi Enomoto  <atsushi@ximian.com>
+
+       * XPathDocument.cs : switch to DTMXPathNavigator2 which fully
+         eliminated string fields from struct.
+         (When we switch from struct to class, revert this change to use
+         DTMXPathNavigator, since class-based DTMXPathNavigator2 is rather
+         wasting processing speed.)
+
+2004-12-02  Atsushi Enomoto  <atsushi@ximian.com>
+
+       * Iterator.cs : when PredicateIterator has a numeric predicate, it
+         will never be true twice. So just break up the iteration on true.
+       * XPathNavigator.cs : implemented LookupPrefix().
+       * Expression.cs : ExprParens.Optimize() could just return the content
+         expression.
+
+2004-12-01  Atsushi Enomoto  <atsushi@ximian.com>
+
+       * IXPathChangeNavigable.cs,
+         XmlChangeFilters.cs,
+         XPathDocumentNodeChangedAction.cs : removed old files.
+
+2004-12-01  Atsushi Enomoto  <atsushi@ximian.com>
+
+       * Iterator.cs : with related to the previous patch, many comments
+         got making no sense. Thanks to Harinath.
+
+2004-12-01  Atsushi Enomoto  <atsushi@ximian.com>
+
+       * Iterator.cs : actually I mean this patch.
+
+2004-12-01  Atsushi Enomoto  <atsushi@ximian.com>
+
+       * Iterator.cs : Create _current clone only when required. So just set
+         null when MoveNextCore() succeeded (except for some cases that
+         _current is _nav, such as SelfIterator).
+
+2004-11-30  Atsushi Enomoto  <atsushi@ximian.com>
+
+       * Iterator.cs : SlashIterator.RequireSorting is always false. Whether
+         it has to collect nodes in prior or not and whether it might return
+         nodes in inconsistent order is different matter.
+         (It still needs to store nodes when either of branches requires
+         sorting, because they might return the same node later.)
+
+2004-11-30  Atsushi Enomoto  <atsushi@ximian.com>
+
+       * Iterator.cs : reduced some extraneous ComparePosition() that could
+         be written as IsSamePosition(). ParentIterator doesn't have to be
+         RequireSorting.
+
+2004-11-30  Atsushi Enomoto  <atsushi@ximian.com>
+
+       * Iterator.cs : reimplemented AncestorIterator and 
+         AncestorOrSelfIterator just to collect parents and not to move to
+         siblings. In some cases like thousands of siblings, it used to be
+         so slow, while we usually don't have so deep ancestors.
+
+2004-11-26  Atsushi Enomoto  <atsushi@ximian.com>
+
+       * Expression.cs : warning removal. Added Optimize() which is not
+         implemented at all.
+       * Tokenizer.cs : warning elimination
+
+2004-11-24  Atsushi Enomoto  <atsushi@ximian.com>
+
+       * XPathEditableNavigator.cs, XPathChangeNavigator.cs,
+         IXPathEditable.cs : more removal of oldies.
+
+2004-11-24  Atsushi Enomoto  <atsushi@ximian.com>
+
+       * NodeChangedEventArgs.cs, NodeChangedEventHandler.cs : removed oldies.
+
+2004-11-08  Atsushi Enomoto  <atsushi@ximian.com>
+
+       * Tokenizer.cs : just use raw string instead of char[].
+       * XPathNavigator.cs : reuse NameTable when creating XmlTextReader.
+
+2004-11-07  Atsushi Enomoto  <atsushi@ximian.com>
+
+       * Iterator.cs :
+         - Made copy constructor certainly different from other constructors.
+         - Position is never computed in each derived type. All MoveNext() are
+           now MoveNextCore().
+         - Most of the protected members could just be private.
+
+2004-11-05  Atsushi Enomoto  <atsushi@ximian.com>
+
+       * Expression.cs, XPathNavigator.cs : hold raw expression field for
+         get_Expression. It is preparation for expression optimization.
+
+2004-11-05  Atsushi Enomoto  <atsushi@ximian.com>
+
+       * Iterator.cs : SimpleIterator._current could be cloned only when
+         it is required.
+
+2004-11-05  Atsushi Enomoto  <atsushi@ximian.com>
+
+       * Iterator.cs : Some removal of Clone() were harmless.
+
+2004-10-22  Atsushi Enomoto  <atsushi@ximian.com>
+
+       * XPathDocument.cs : now all the new stuff that used to be in 2.0 are
+         reverted.
+       * XPathEditableNavigator.cs : It will be removed. Right now modified
+         a bit to pass build.
+       * XPathNavigator.cs : Added members that are merged from
+         XPathEditableNavigator. Updated members name.
+
+2004-10-14  Atsushi Enomoto  <atsushi@ximian.com>
+
+       * Iterator.cs :
+         - Added WrapperIterator to return BaseIterator in such case that 
+           variable reference is resolved to XPathNodeIterator. This fixes
+           bug #68267.
+         - Path ".." is reverse axis (actually no effect).
+         - Fixed DescendantIterator.Clone() that missed "_finished" field.
+       * Expression.cs :
+         In ExprVariable.Evaluate(), use WrapperIterator() for custom
+         XPathNodeIterator.
+
 2004-10-09  Atsushi Enomoto  <atsushi@ximian.com>
 
        * XPathAtomicValue.cs : Init(string, XmlSchemaType) is private.