Commit graph

89 commits

Author SHA1 Message Date
Jez Higgins
36b3cd8a76 Replace auto_ptr with unique_ptr in XPath compiler 2020-04-15 23:20:50 +01:00
Ben Key
5885afe6b2 Resolved 64-bit specific warnings. 2018-01-29 19:21:27 -06:00
Jez Higgins
69f040133b execution context 2012-11-08 17:13:33 +00:00
Jez Higgins
50c39c533c Added a couple of using declarations that clang needed 2010-12-15 10:09:43 +00:00
Jez Higgins
144fb9a6d6 Disallow variable references in xsl:key match and use expressions 2010-10-09 23:10:35 +01:00
Jez Higgins
ffec8d53b9 Modified XPath parser/compiler so that we can disallow variables at compile time 2010-10-09 22:29:13 +01:00
Jez Higgins
c2d1e42c20 Modified XPath parser/compiler so that we can disallow variables at compile time 2010-10-09 22:04:56 +01:00
jez
d322e15038 Explicitly compare pointer to zero to silence a rather pointless VS warning 2010-10-04 12:14:04 +01:00
jez
c1b21c0790 Explicitly compare pointer to zero to silence a rather pointless VS warning 2010-10-04 12:08:33 +01:00
Jez Higgins
cbc3f6e8d6 still chipping away at function-available 2010-02-20 21:56:47 +00:00
Jez Higgins
c35185a64c add hasFunction to FunctionResolver interface 2010-02-20 13:03:22 +00:00
Jez Higgins
67c5ae7846 pulled out a seperate function resolver for Standard XPath functions 2010-02-20 09:13:53 +00:00
Jez Higgins
327328c9aa more warnings silenced 2010-01-10 20:49:20 +00:00
Jez Higgins
c8bf5a5296 more warnings sorted out 2010-01-10 20:23:53 +00:00
Jez Higgins
7f8d20b46f more warnings fixed 2010-01-10 18:47:09 +00:00
Jez Higgins
7fbed3b382 fixed ambiguous else 2010-01-09 23:01:41 +00:00
Jez Higgins
7103c3973a fixed unused param warning 2010-01-09 23:00:39 +00:00
Jez Higgins
549e67f314 silenced unused parameter warnings 2010-01-09 22:58:37 +00:00
Alex Ott
975cca8c20 Use proper boost includes for different boost versions
starting from boost 1.38, there is boost.spirit v2 in the repository, older version
could be used as 'classic'
2009-10-06 12:38:30 +02:00
jez
9d72ecf556 More work on optimising expression evaluation. 2009-07-31 17:44:54 +01:00
jez
b56f09d2d9 added NodeSetXPathFunction base class 2009-07-13 09:24:03 +01:00
jez
bbcae98bec renamed XPath function base classes, moved out of impl namespace 2009-07-13 09:13:11 +01:00
jez
41b0da452f added StringFunction base class 2009-07-13 08:47:46 +01:00
jez
c65cb5c8aa added NumericExpression and NumericFunction base classes 2009-07-13 08:24:52 +01:00
jez
7e3caeb2d0 converted AxisEnumerator to uses Node_impl* internally 2009-05-19 09:24:19 +01:00
jez
4611919eff whitespace changes 2009-05-18 19:33:04 +01:00
jez
a46276eb57 Reworked to reduce number of temporary objects created 2009-05-12 09:18:56 +01:00
jez
9167533dc8 compiled recent changes with GCC so made the necessary standard compliance fixes :) 2009-05-11 19:33:48 +01:00
jez
50e46f3bcc refactored to eliminate temporary object creation 2009-05-11 10:24:51 +01:00
jez
50fbb691cd efactgoring to avoid creating so many temporary objects when evaluation expressions and values 2009-05-11 08:55:52 +01:00
jez
4f28c8ae71 key as match pattern now runs - woo 2009-03-23 19:38:59 +00:00
jez
0a6f2071eb Id and Key match patterns now compile 2009-03-23 19:08:04 +00:00
jez
83cd0cd15b working on the IdKey match pattern - currently crashes 2009-03-17 21:08:26 +00:00
jez
8cb5109ac1 keys now look something up. yay! 2009-02-26 10:16:49 +00:00
jez
b494ffe317 added push_back(NodeSet) 2009-02-26 09:32:02 +00:00
jez
b74514bc58 Shuffled around the Stylesheet class. Stylesheet is now the public face, while CompiledStylesheet is what gets chucked around internally. 2008-11-05 01:33:28 +00:00
jez
db54b7c7bc In XPath numbers do not have leading +, so, while '-1.5' converts to -1.5, '+1.5' converts to NaN. Weird and counter-intuitive, but in the spec. 2008-11-03 18:29:10 +00:00
jez
2f4848bedc Fixed element value when has consecutive text node descendants 2008-09-19 09:03:19 +01:00
jez
93549c451d improved preceding and preceding-sibling in the face of consecutive text nodes 2008-09-18 22:43:56 +01:00
jez
2cf6d009bf added some more following, following-sibling, and child axis tests in the presence of text nodes 2008-09-17 22:58:36 +01:00
jez
49fa53e9b0 Updated child and descendant axis to skip over adjacent text nodes 2008-09-16 08:58:18 +01:00
jez
57e8e9248e Reworked node value to combine consecutive text nodes together into a single value 2008-09-13 18:36:46 +01:00
jez
bc233d68ca Updated NodeTest to match CDATA sections as well as text nodes. 2008-08-26 11:53:14 +01:00
jez
07ef52f308 Added -table option to test executables. It outputs the results as a tab
seperated table, which can be pasted into spreadsheet/google docs/etc.
2008-08-09 23:19:21 +01:00
jez
cd3577292d Ensure an unbound namespace prefix throws an exception 2008-08-09 18:24:34 +01:00
jez
b668bdc3b2 removed TODO comment, because I actually did it sometime ago 2008-08-09 18:24:11 +01:00
jez
a1890d2a31 amazingly, the XPath prefix:* didn't compile. I had no test for it, and had overlooked it. fixed 2008-08-09 17:32:28 +01:00
jez
04af379b54 ensure @xmlns|@xsmlns:* selects no nodes 2008-08-09 17:03:44 +01:00
jez
73d0cdaef9 fixed for other than std::strings 2008-05-30 21:45:27 +00:00
jez
3874438091 Include default namespace when constructing namespace nodes 2008-05-28 16:37:15 +00:00