2003-07-29 Piers Haken <piersh@friskit.com>
[mono.git] / mcs / class / System.XML / System.Xml.XPath / ChangeLog
1 2003-07-29 Piers Haken  <piersh@friskit.com>
2
3         * DefaultContext.cs: 'local-name' returns String, not NodeSet!
4
5 2003-07-29 Piers Haken  <piersh@friskit.com>
6
7         * XPathNavigator.cs:
8         * Expression.cs:
9                 add typesafe Evaluate* methods
10
11 2003-07-29 Piers Haken  <piersh@friskit.com>
12
13         * DefaultContext.cs: fix 'substring-after'
14
15 2003-07-29 Piers Haken  <piersh@friskit.com>
16
17         * Iterator.cs: fix PredicateIterator.CurrentPosition bug (it wasn't incrementing)
18
19 2003-07-29 Ben Maurer  <bmaurer@users.sourceforge.net>
20
21         * Iterator.cs: dont throw exceptions on tostring ()
22         
23 2003-07-28  Piers Haken <piersh@friskit.com>
24
25         * DefaultContext.cs: better handling of null argument lists
26         * XPathNavigator.cs: implement ComparePosition
27
28 2003-07-28  Piers Haken <piersh@friskit.com>
29
30         * Expression.cs: boolean operators: handle comparing .Any better
31
32 2003-07-28  Piers Haken <piersh@friskit.com>
33
34         * DefaultContext.cs: count() should return a double
35         * Expression.cs: better support for handling non-double numbers
36
37 2003-07-28  Piers Haken <piersh@friskit.com>
38
39         * DefaultContext.cs: better function param matching
40
41 2003-07-27  Piers Haken <piersh@friskit.com>
42
43         * Expression.cs:
44         * DefaultContext.cs:
45                 catch FormatExceptions while parsing numbers
46
47 2003-07-27  Piers Haken <piersh@friskit.com>
48
49         * Expression.cs:
50                 fix case sorting order
51                 allow EvaluateNumber to take XPathResultType.Any
52
53 2003-07-27  Piers Haken <piersh@friskit.com>
54
55         * Expression.cs:
56         * Tokenizer.cs:
57                 don't pass null to XmlQualifiedName constructor
58
59 2003-07-27  Piers Haken <piersh@friskit.com>
60
61         * DefaultContext.cs: allow 'concat' to take arbitrary-typed arguments (spec?)
62
63 2003-07-27  Piers Haken <piersh@friskit.com>
64
65         * Expression.cs: allow EvaluateNodeSet to take XPathResultType.Any
66
67 2003-07-26  Piers Haken <piersh@friskit.com>
68
69         * Expression.cs: fix function evaluation with ambigous argument types
70         * XPathNavigator.cs: fix silly null reference bug
71
72 2003-07-26  Piers Haken <piersh@friskit.com>
73
74         * Iterator.cs:
75         * DefaultContext.cs:
76                 ArrayListIterator->EnumeratorIterator
77         * Expression.cs: add sorting support
78
79 2003-07-26  Piers Haken <piersh@friskit.com>
80
81         * Tokenizer.cs:
82         * Parser.jay:
83                 move QName parsing into tokenizer
84         * Expression.cs:
85                 fix evaluating XPathResultType.Any
86                 fix ExprDiv.ToString()
87                 fix NodeTypeTest.ToString() (for namespace axis)
88
89 2003-07-25  Piers Haken <piersh@friskit.com>
90
91         * Expression.cs: return clone of $var evaluation
92
93 2003-07-26  Piers Haken <piersh@friskit.com>
94
95         * Iterator.cs: add setter for NamespaceManager
96         * XPathNavigator.cs: propagate NamespaceManager from context on Evaluate
97         * Expression.cs: fix func/var exception strings
98
99 2003-07-25  Piers Haken <piersh@friskit.com>
100
101         * Expression.cs: implement ExprFilter.Evaluate
102
103 2003-07-25  Piers Haken <piersh@friskit.com>
104
105         * Expression.cs: implement ExprVariable.Evaluate
106
107 2003-07-24  Ben Maurer <bmaurer@users.sourceforge.net>
108         
109         * DefaultContext.cs: implement lang ()
110
111 2003-07-24  Piers Haken <piersh@friskit.com>
112
113         * Parser.jay:
114         * Expression.cs:
115                 allow ExprUNION to take non-nodeset (eg, $var) arguments
116
117 2003-07-24  Piers Haken <piersh@friskit.com>
118
119         * Tokenizer.cs: fix variable references
120         * Parser.jay:
121         * Expression.cs:
122         * XPathNavigator.cs:
123                 use XmlQualifiedName
124
125 2003-06-30  Atsushi Enomoto  <ginga@kit.hi-ho.ne.jp>
126
127         * XPathDocument.cs : removed Driver class and restored authors' name
128           (though it is completely rewrote).
129
130 2003-06-30  Atsushi Enomoto  <ginga@kit.hi-ho.ne.jp>
131
132         * XPathDocument.cs : Replaced existing stub class with real
133           XPathDocument implementation.
134
135 2003-04-28  Piers Haken  <piersh@friskit.com>
136
137         * Parser.jay, Tokenizer.cs: more compliant lexical parsing of ambiguous tokens
138
139 2003-03-07  Piers Haken  <piersh@friskit.com>
140
141         * Tokenizer.cs: allow '.'s in NCNames
142
143 2003-03-07  Piers Haken  <piersh@friskit.com>
144
145         * Exression.cs:
146         * DefaultContext.cs:
147                 fixed function argument resolution
148
149 2003-02-09  Piers Haken  <piersh@friskit.com>
150
151         * XPathNavigator.cs:
152         * Iterator.cs:
153         * Expression.cs: fix namespace handling
154
155 2003-01-04  Piers Haken  <piersh@friskit.com>
156
157         * Parser.*: Remove extraneous "using" that was stopping the build. Permanently thisi time ;-)
158
159 2003-02-02  Piers Haken <piersh@friskit.com>
160
161         * Parser.jay: add token names
162         * Tokenizer.cs: fix NCName tokenization
163
164 2003-01-02  Atsushi Enomoto  <ginga@kit.hi-ho.ne.jp>
165
166         * Tokenizer.cs : Fixed ParseIdentifier to allow digits.
167                 (It should be a temporary fix.)
168
169 2002-09-22  Nick Drochak  <ndrochak@gol.com>
170
171         * Parser.cs: Remove extraneous "using" that was stopping the build.
172
173 2002-09-21  Piers Haken <piersh@friskit.com>
174
175         * XPathException: implementation
176         * Expression.cs:
177         * Iterator.cs:
178         * Parser.jay:
179         * Tokenizer.jay:
180         * XPathNavigator.jay:
181                 use XPathException.
182
183 2002-09-13  Gonzalo Paniagua Javier <gonzalo@ximian.com>
184
185         * Parser.cs: commented out non-existent namespace (it compiles fine
186         with mcs because of a bug that is already on bugzilla).
187
188 2002-09-12  Piers Haken <piersh@friskit.com>
189
190         * Tokenizer.cs: fix parsing numbers that start with '.'
191         * DefaultContext.cs: use MS-compatible formatting of doubles
192
193 2002-09-12  Piers Haken <piersh@friskit.com>
194
195         * Iterator.cs: added NullIterator to handle unspecified contexts
196         * XPathNavigator.cs: use NullIterator insted of SelfIterator when context is unspecified.
197         * XPathNodeIterator.cs: change default _count to -1 to prevent recalculations for NullIterators
198
199 2002-09-12  Piers Haken <piersh@friskit.com>
200
201         * Expression.cs, Parser.jay: allow ExprSLASH to take a generic expression as its left argument.
202         * Iterator.cs: fix SlashIterator.Clone() when _iterRight is null.
203         * DefaultContext.cs: fix id() return type.
204
205 2002-09-03  Gonzalo Paniagua Javier <gonzalo@ximian.com>
206
207         * DefaultContext.cs: fixed bug #28840.
208         * Expression.cs: added FIXME.
209
210 2002-08-17  Jason Diamond <jason@injektilo.org>
211
212         * XPathNavigator.cs: Fixed matching on patterns that look like
213         absolute XPath expressions.
214
215 2002-08-17  Jason Diamond <jason@injektilo.org>
216
217         * XPathNavigator.cs: Added naive (but working) implementation of
218          Matches.
219
220 2002-07-31  Piers Haken <piersh@friskit.com>
221
222         * XPathDocument.cs: simple, XmlDocument-based implementation
223
224 2002-07-25  Piers Haken <piersh@friskit.com>
225
226         * DefaultContext.cs: implement XPathFunctionName 'name()' function.
227
228 2002-07-17  Piers Haken <piersh@friskit.com>
229         
230         * DefaultContext.cs: implement 'string-length()', 'normalize-space()'
231         * Parser.jay: remove redundant production
232         * Expression.cs: add switches for debugging under VS.NET
233
234 2002-07-17  Piers Haken <piersh@friskit.com>
235
236         * Expression.cs: implement nodeset/nodeset comparisons (non-optimal)
237
238 2002-07-15  Piers Haken <piersh@friskit.com>
239
240         * Iterator.cs:
241                 - rename UnionIterator to MergedIterator, 
242                 - create new UnionIterator to implment uniqueness for '|' operator
243                 - fix position bug in ArrayListIterator.Clone()
244         * Expression.cs: use new UnionIterator constructor syntax
245
246 2002-07-12  Piers Haken <piersh@friskit.com>
247
248         * Iterator.cs: PredicateIterator: handle numeric predicates
249         * Parser.jay: add some debugging support: yyparseDebug
250         * Tokenizer.cs: cleanup, include '-' chars in identifier tokens
251
252 2002-06-29  Piers Haken <piersh@friskit.com>
253
254         * Expression.cs:
255                 - remove dead code
256                 - NodeTest uses XPathResultType instead of internal NodeTestTypes enum
257                 - remove NodeTestTypes enum
258                 - remove NodeTestTypeAny (functionality provided by base now)
259                 - fix ExprStep to handle wildcard QNames
260         * Parser.jay:
261                 - moved to Mono.Xml.XPath namespace
262                 - use XPathResultType
263                 - handle wildcard QNames
264                 
265         * Tokenizer.cs: moved to Mono.Xml.XPath namespace
266         
267         * XPathNavigator.cs: implement
268                 - IsDescendant
269                 - SelectAncestors
270                 - SelectDescendants
271                 - SelectChildren
272                 
273         * XPathResultType.cs: fix enum values
274         
275 2002-06-24  Jason Diamond  <jason@injektilo.org>
276
277         * XPathScanner.cs: Removed.
278
279 2002-06-24  Dick Porter <dick@ximian.com>
280
281         * XmlCaseOrder.cs: Fix namespace
282
283 2002-06-23  Piers Haken <piersh@friskit.com>
284
285         * DefaultContext.cs: implemented XPathFUnctionId
286         * Iterator.cs: new ArrayListIterator for id() support
287
288 2002-06-23  Piers Haken <piersh@friskit.com>
289
290         * XPathNavigator.cs: implement:
291                 - Compile
292                 - Evaluate
293                 - Clone
294                 - Select
295                 - ToString
296                 - some forwarding methods
297
298         * XPathNodeIterator: implement caching Count
299
300         * Tokenizer.cs: new XPath tokenizer
301         * Parser.jay: new XPath grammar
302         * Parser.cs: new precompiled XPath grammar
303         * Expression.cs: new XPath expression objects
304         * Iterator.cs: new XPath result/context objects
305         * DefaultContext.cs: new XPath function binding context
306
307 2002-05-08  Tim Coleman <tim@timcoleman.com>
308         * XPathDocument.cs:
309         * XPathException.cs: New stub files added.
310
311 2002-04-12  Duncan Mak  <duncan@ximian.com>
312
313         * XmlCaseOrder.cs: Moved to here from System.Xml.
314
315 2002-03-26  Jason Diamond  <jason@injektilo.org>
316
317         * XPathScanner.cs: Now handles name tests with wildacards. Abbreviated 
318         steps. Both absolution and relative abbreviated location paths.
319
320 2002-03-25  Jason Diamond  <jason@injektilo.org>
321
322         * XPathScanner.cs: Added new file. This class is supposed to be internal
323         but that would make it impossible to test.
324
325 2002-03-08  Duncan Mak  <duncan@ximian.com>
326
327         * XPathNamespaceScope.cs:
328         * XPathNodeType.cs:
329         * XPathResultType.cs:
330         * XmlDataType.cs:
331         * XmlSortOrder.cs: Used EnumCheck and realigned elements to be compatible with MS
332         implementation. XPathResultType is interesting as EnumCheck does
333         not show the Navigator element, but shows the String element twice.
334
335 2002-03-08  Jason Diamond  <jason@injektilo.org>
336
337         * XmlDataType.cs, XmlSortOrder.cs, XPathNodeType.cs: Added files.
338
339 2002-03-06  Jason Diamond  <jason@injektilo.org>
340
341         * ChangeLog: Added to this directory.
342
343         * XPathExpression.cs, XPathNamespaceScope.cs, XPathNodeIterator.cs,
344         XPathResultType.cs: New files.
345
346         * XPathNavigator.cs: Stubbed out all properties and methods.