1 2003-11-04 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
3 * Iterator.cs : Added bool ReverseAxis property to identify whether
4 the iterator is in reverse order or not. Added ComparablePosition
5 for correct position comparison for PredicateIterator and reverse-
6 order-axes. Modified AncestorIterator, AncestorOrSelfIterator,
7 PrecedingIterator and PrecedingSiblingIterator to make MoveNext()
8 return their nodes in document order. This fixes bugzilla #39079.
10 2003-10-15 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
12 * Iterator.cs : DescendantIterator and FollowingIterator also should
13 not MoveNext() after they reached to the end.
15 2003-10-13 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
17 * Iterator.cs : Fixed UnionIterator who ignores document order.
18 Fixed SlashIterator whose MoveNext() should finish at its end.
20 2003-09-27 Ben Maurer <bmaurer@users.sourceforge.net>
22 * Iterator.cs, Expression.cs, XPathNavigator.cs: In AxisIterator
23 use NameTable so we dont call strcmp.
25 2003-09-27 Ben Maurer <bmaurer@users.sourceforge.net>
27 * DefaultContext.cs (translate): translate ("abc", "c", "") = "ab"
29 * Iterator.cs, Expression.cs: All axes are
30 SimpleIterators. SimpleIterators are gaurenteed to give the same
31 XPathNavigator in Current. Make AxisIterator take a
32 SimpleIterator, not any old BaseIterator. Will allow us to make
33 NameTable optimizations and avoid quite a few strcmp's.
35 2003-09-24 Ben Maurer <bmaurer@users.sourceforge.net>
37 * Expression.cs: make // work right, must use another slash itr.
39 2003-09-21 Ben Maurer <bmaurer@users.sourceforge.net>
41 * Expression.cs: cant use $$ before assigned.
43 2003-09-21 Ben Maurer <bmaurer@users.sourceforge.net>
45 * Expression.cs, Parser.jay, XPathNavigator.cs: api beautification.
47 2003-09-20 Ben Maurer <bmaurer@users.sourceforge.net>
49 * Expression.cs: num != double.NaN does not work.
51 2003-09-19 Ben Maurer <bmaurer@users.sourceforge.net>
53 * Expression.cs: in NodeTypeTest dont throw an exception if it is
54 an unknown node type (allows for better Pattern debugging).
56 2003-09-17 Ben Maurer <bmaurer@users.sourceforge.net>
58 * DefaultContext.cs: implement sum () and translate ().
60 2003-09-13 Ben Maurer <bmaurer@users.sourceforge.net>
62 * XPathNavigator.cs: Make methods where you pass in the context,
63 so that we dont have to clone expressions so much.
65 2003-09-06 Ben Maurer <bmaurer@users.sourceforge.net>
67 * DefaultContext.cs, Expresssion.cs, Parser.jay: Rewrite so that
68 system functions are actually expressions. Will allow for some
71 2003-08-25 Ben Maurer <bmaurer@users.sourceforge.net>
73 * XPathNavigator.cs: "Smart" behavior in Matches. Nice 8x speed
74 improvement in the method (5ms/call -> .7 ms / call) measured by
75 monodoc's rendering of N:System.
76 * Expression.cs: Utility methods to support above.
78 2003-08-13 Piers Haken <piersh@friskit.com>
81 fix MergedIterator.Clone(), now clones other's iterators
82 fix DescendantIterator.Clone(), now copies depth
83 make iterator cloning constructors more type-specific
85 2003-08-01 Piers Haken <piersh@friskit.com>
87 * Expression.cs: added NodeNamespaceTest
88 * XPathNavigator.cs: implement Select* with namespaces
90 2003-07-31 Ben Maurer <bmaurer@users.sourceforge.net>
92 * Iterator.cs: Allow creation of an EnumeratorIterator with an
95 2003-07-31 Piers Haken <piersh@friskit.com>
98 Nested predicates (uses ExprFilter instead)
100 make grammar look more like w3c spec
102 remove ExprStep, ExprPredicates
103 NodeTest is now a NodeSet
106 PredicateIterator now only takes a single predicate expression
109 simplified SelectTest
113 2003-07-30 Duncan Mak <duncan@ximian.com>
119 2003-07-29 Piers Haken <piersh@friskit.com>
121 * DefaultContext.cs: 'local-name' returns String, not NodeSet!
123 2003-07-29 Piers Haken <piersh@friskit.com>
127 add typesafe Evaluate* methods
129 2003-07-29 Piers Haken <piersh@friskit.com>
131 * DefaultContext.cs: fix 'substring-after'
133 2003-07-29 Piers Haken <piersh@friskit.com>
135 * Iterator.cs: fix PredicateIterator.CurrentPosition bug (it wasn't incrementing)
137 2003-07-29 Ben Maurer <bmaurer@users.sourceforge.net>
139 * Iterator.cs: dont throw exceptions on tostring ()
141 2003-07-28 Piers Haken <piersh@friskit.com>
143 * DefaultContext.cs: better handling of null argument lists
144 * XPathNavigator.cs: implement ComparePosition
146 2003-07-28 Piers Haken <piersh@friskit.com>
148 * Expression.cs: boolean operators: handle comparing .Any better
150 2003-07-28 Piers Haken <piersh@friskit.com>
152 * DefaultContext.cs: count() should return a double
153 * Expression.cs: better support for handling non-double numbers
155 2003-07-28 Piers Haken <piersh@friskit.com>
157 * DefaultContext.cs: better function param matching
159 2003-07-27 Piers Haken <piersh@friskit.com>
163 catch FormatExceptions while parsing numbers
165 2003-07-27 Piers Haken <piersh@friskit.com>
168 fix case sorting order
169 allow EvaluateNumber to take XPathResultType.Any
171 2003-07-27 Piers Haken <piersh@friskit.com>
175 don't pass null to XmlQualifiedName constructor
177 2003-07-27 Piers Haken <piersh@friskit.com>
179 * DefaultContext.cs: allow 'concat' to take arbitrary-typed arguments (spec?)
181 2003-07-27 Piers Haken <piersh@friskit.com>
183 * Expression.cs: allow EvaluateNodeSet to take XPathResultType.Any
185 2003-07-26 Piers Haken <piersh@friskit.com>
187 * Expression.cs: fix function evaluation with ambigous argument types
188 * XPathNavigator.cs: fix silly null reference bug
190 2003-07-26 Piers Haken <piersh@friskit.com>
194 ArrayListIterator->EnumeratorIterator
195 * Expression.cs: add sorting support
197 2003-07-26 Piers Haken <piersh@friskit.com>
201 move QName parsing into tokenizer
203 fix evaluating XPathResultType.Any
204 fix ExprDiv.ToString()
205 fix NodeTypeTest.ToString() (for namespace axis)
207 2003-07-25 Piers Haken <piersh@friskit.com>
209 * Expression.cs: return clone of $var evaluation
211 2003-07-26 Piers Haken <piersh@friskit.com>
213 * Iterator.cs: add setter for NamespaceManager
214 * XPathNavigator.cs: propagate NamespaceManager from context on Evaluate
215 * Expression.cs: fix func/var exception strings
217 2003-07-25 Piers Haken <piersh@friskit.com>
219 * Expression.cs: implement ExprFilter.Evaluate
221 2003-07-25 Piers Haken <piersh@friskit.com>
223 * Expression.cs: implement ExprVariable.Evaluate
225 2003-07-24 Ben Maurer <bmaurer@users.sourceforge.net>
227 * DefaultContext.cs: implement lang ()
229 2003-07-24 Piers Haken <piersh@friskit.com>
233 allow ExprUNION to take non-nodeset (eg, $var) arguments
235 2003-07-24 Piers Haken <piersh@friskit.com>
237 * Tokenizer.cs: fix variable references
243 2003-06-30 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
245 * XPathDocument.cs : removed Driver class and restored authors' name
246 (though it is completely rewrote).
248 2003-06-30 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
250 * XPathDocument.cs : Replaced existing stub class with real
251 XPathDocument implementation.
253 2003-04-28 Piers Haken <piersh@friskit.com>
255 * Parser.jay, Tokenizer.cs: more compliant lexical parsing of ambiguous tokens
257 2003-03-07 Piers Haken <piersh@friskit.com>
259 * Tokenizer.cs: allow '.'s in NCNames
261 2003-03-07 Piers Haken <piersh@friskit.com>
265 fixed function argument resolution
267 2003-02-09 Piers Haken <piersh@friskit.com>
271 * Expression.cs: fix namespace handling
273 2003-01-04 Piers Haken <piersh@friskit.com>
275 * Parser.*: Remove extraneous "using" that was stopping the build. Permanently thisi time ;-)
277 2003-02-02 Piers Haken <piersh@friskit.com>
279 * Parser.jay: add token names
280 * Tokenizer.cs: fix NCName tokenization
282 2003-01-02 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
284 * Tokenizer.cs : Fixed ParseIdentifier to allow digits.
285 (It should be a temporary fix.)
287 2002-09-22 Nick Drochak <ndrochak@gol.com>
289 * Parser.cs: Remove extraneous "using" that was stopping the build.
291 2002-09-21 Piers Haken <piersh@friskit.com>
293 * XPathException: implementation
298 * XPathNavigator.jay:
301 2002-09-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
303 * Parser.cs: commented out non-existent namespace (it compiles fine
304 with mcs because of a bug that is already on bugzilla).
306 2002-09-12 Piers Haken <piersh@friskit.com>
308 * Tokenizer.cs: fix parsing numbers that start with '.'
309 * DefaultContext.cs: use MS-compatible formatting of doubles
311 2002-09-12 Piers Haken <piersh@friskit.com>
313 * Iterator.cs: added NullIterator to handle unspecified contexts
314 * XPathNavigator.cs: use NullIterator insted of SelfIterator when context is unspecified.
315 * XPathNodeIterator.cs: change default _count to -1 to prevent recalculations for NullIterators
317 2002-09-12 Piers Haken <piersh@friskit.com>
319 * Expression.cs, Parser.jay: allow ExprSLASH to take a generic expression as its left argument.
320 * Iterator.cs: fix SlashIterator.Clone() when _iterRight is null.
321 * DefaultContext.cs: fix id() return type.
323 2002-09-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
325 * DefaultContext.cs: fixed bug #28840.
326 * Expression.cs: added FIXME.
328 2002-08-17 Jason Diamond <jason@injektilo.org>
330 * XPathNavigator.cs: Fixed matching on patterns that look like
331 absolute XPath expressions.
333 2002-08-17 Jason Diamond <jason@injektilo.org>
335 * XPathNavigator.cs: Added naive (but working) implementation of
338 2002-07-31 Piers Haken <piersh@friskit.com>
340 * XPathDocument.cs: simple, XmlDocument-based implementation
342 2002-07-25 Piers Haken <piersh@friskit.com>
344 * DefaultContext.cs: implement XPathFunctionName 'name()' function.
346 2002-07-17 Piers Haken <piersh@friskit.com>
348 * DefaultContext.cs: implement 'string-length()', 'normalize-space()'
349 * Parser.jay: remove redundant production
350 * Expression.cs: add switches for debugging under VS.NET
352 2002-07-17 Piers Haken <piersh@friskit.com>
354 * Expression.cs: implement nodeset/nodeset comparisons (non-optimal)
356 2002-07-15 Piers Haken <piersh@friskit.com>
359 - rename UnionIterator to MergedIterator,
360 - create new UnionIterator to implment uniqueness for '|' operator
361 - fix position bug in ArrayListIterator.Clone()
362 * Expression.cs: use new UnionIterator constructor syntax
364 2002-07-12 Piers Haken <piersh@friskit.com>
366 * Iterator.cs: PredicateIterator: handle numeric predicates
367 * Parser.jay: add some debugging support: yyparseDebug
368 * Tokenizer.cs: cleanup, include '-' chars in identifier tokens
370 2002-06-29 Piers Haken <piersh@friskit.com>
374 - NodeTest uses XPathResultType instead of internal NodeTestTypes enum
375 - remove NodeTestTypes enum
376 - remove NodeTestTypeAny (functionality provided by base now)
377 - fix ExprStep to handle wildcard QNames
379 - moved to Mono.Xml.XPath namespace
380 - use XPathResultType
381 - handle wildcard QNames
383 * Tokenizer.cs: moved to Mono.Xml.XPath namespace
385 * XPathNavigator.cs: implement
391 * XPathResultType.cs: fix enum values
393 2002-06-24 Jason Diamond <jason@injektilo.org>
395 * XPathScanner.cs: Removed.
397 2002-06-24 Dick Porter <dick@ximian.com>
399 * XmlCaseOrder.cs: Fix namespace
401 2002-06-23 Piers Haken <piersh@friskit.com>
403 * DefaultContext.cs: implemented XPathFUnctionId
404 * Iterator.cs: new ArrayListIterator for id() support
406 2002-06-23 Piers Haken <piersh@friskit.com>
408 * XPathNavigator.cs: implement:
414 - some forwarding methods
416 * XPathNodeIterator: implement caching Count
418 * Tokenizer.cs: new XPath tokenizer
419 * Parser.jay: new XPath grammar
420 * Parser.cs: new precompiled XPath grammar
421 * Expression.cs: new XPath expression objects
422 * Iterator.cs: new XPath result/context objects
423 * DefaultContext.cs: new XPath function binding context
425 2002-05-08 Tim Coleman <tim@timcoleman.com>
427 * XPathException.cs: New stub files added.
429 2002-04-12 Duncan Mak <duncan@ximian.com>
431 * XmlCaseOrder.cs: Moved to here from System.Xml.
433 2002-03-26 Jason Diamond <jason@injektilo.org>
435 * XPathScanner.cs: Now handles name tests with wildacards. Abbreviated
436 steps. Both absolution and relative abbreviated location paths.
438 2002-03-25 Jason Diamond <jason@injektilo.org>
440 * XPathScanner.cs: Added new file. This class is supposed to be internal
441 but that would make it impossible to test.
443 2002-03-08 Duncan Mak <duncan@ximian.com>
445 * XPathNamespaceScope.cs:
447 * XPathResultType.cs:
449 * XmlSortOrder.cs: Used EnumCheck and realigned elements to be compatible with MS
450 implementation. XPathResultType is interesting as EnumCheck does
451 not show the Navigator element, but shows the String element twice.
453 2002-03-08 Jason Diamond <jason@injektilo.org>
455 * XmlDataType.cs, XmlSortOrder.cs, XPathNodeType.cs: Added files.
457 2002-03-06 Jason Diamond <jason@injektilo.org>
459 * ChangeLog: Added to this directory.
461 * XPathExpression.cs, XPathNamespaceScope.cs, XPathNodeIterator.cs,
462 XPathResultType.cs: New files.
464 * XPathNavigator.cs: Stubbed out all properties and methods.