- May 24, 2008
-
-
David Lichteblau authored
darcs-hash:91b3998d36dae34b4ad9a6a0b8f122568ecf6b4f
-
- Apr 27, 2008
-
-
David Lichteblau authored
Since the dynamic environment was introduced, we can safely go back to the compiler macro approach, because the semantics of EVALUATE are not affected anymore by the compiler's decision to use the compiler macro or not. darcs-hash:8e2b8e2d124b619a814ab3702c4a59f17370a728
-
David Lichteblau authored
darcs-hash:c702c8b884f0116282971e27eb7c62552e0eb49b
-
David Lichteblau authored
darcs-hash:247fb7a72e36cb8406b490c3843c7a41838b125e
-
- Mar 02, 2008
-
-
David Lichteblau authored
darcs-hash:40c6eff5b84fecc5f8377f05c7dbbd6aa2a9db1d
-
David Lichteblau authored
"oops" darcs-hash:124414697b6eca4a749814989db32489946b1315
-
- Mar 01, 2008
-
-
Ivan Shvedunov authored
Fixed xnum parsing / unparsing. Fixed comparison operators. Added lang() function. Node sets returned by EVALUATE and EVALUATE-COMPILED now are automatically sorted using document order by default. Fixed following:: axis (again). Fixed NODE-TEST-NAME for namespace nodes. Numbers in XPath expressions are now never parsed into SINGLE-FLOAT. Added SORT-NODE-SET function. darcs-hash:f11136c9917dee6bd41d96f3e8950db389c78b55
-
- Feb 28, 2008
-
-
Ivan Shvedunov authored
darcs-hash:cbeecb1a3180fb0663c8e9f9cae929339ddc16a4
-
- Feb 27, 2008
-
-
Ivan Shvedunov authored
Added atdoc documentation templates (mostly copied from Xuriella). Renamed xpath-protocol:string-value to xpath-protocol:node-text. Added xpath-protocol:node-text method for namespace nodes. Added list->node-set function (a simpler version of xpath-sys:make-node-set). darcs-hash:5157e09c5e43012d65211d1fb22d6b544a75ee54
-
- Feb 24, 2008
-
-
David Lichteblau authored
darcs-hash:d40b75c09b911dc74c448e12734de19df206bb38
-
David Lichteblau authored
- Reimplemented all xpath-protocol functions using a trampoline, e.g. so that (parent-pipe node) calls (parent-pipe-using-navigator *navigator* node) - All existing methods specialize on a default value for *navigator*. Added a convenience macro DEFINE-DEFAULT-METHOD for that purpose. - Only users of exotic data models need to bind *navigator* to an object of their choice. In particular, cxml/xml/xmls-compat.lisp provides a function cxml-xmls:make-xpath-navigator, which is implemented by plexippus-xpath/xmls-compat.lisp darcs-hash:20beb59300aba5a702a845952ab5efd5c982ccb2
-
Ivan Shvedunov authored
darcs-hash:e7f4e02de3903046839aca68af5ae165e40214e9
-
Ivan Shvedunov authored
darcs-hash:d3828b9c30d4ea787fb181678a3db979fbd16f09
-
- Feb 20, 2008
-
-
Ivan Shvedunov authored
Switched to dynamic bindings. Fixed "names" of character-data nodes. darcs-hash:24a16eac985183f1bfd66894f0c3c94a001e5f57
-
- Feb 19, 2008
-
-
Ivan Shvedunov authored
darcs-hash:6b029cb24791b9e8efc2f780f8b432de2b2f0219
-
- Dec 20, 2007
-
-
david authored
Always require the second argument to COMPILE-XPATH. We cannot see lexical bindings in this function. Replaced the function EVALUATE with EVALUATE-THUNK, which always takes a closure as an argument, never a string or sexp. (EVALUATE-THUNK is just a working title for this function, perhaps a better name can be found.) New macro EVALUATE, replacing the compiler macro. Removed *LEXICAL-NAMESPACES* and *LEXICAL-VARIABLES*. - don't bind *LEXICAL-NAMESPACES* in WITH-NAMESPACES - don't bind *LEXICAL-VARIABLES* in WITH-VARIABLES Export EVALUATE-THUNK from the package in addition to EVALUATE. Added a test checking that the empty namespace can be used without having to use WITH-NAMESPACES. Removed the call to STRING in TEST-FILTERING. (fixme?) darcs-hash:55b42a4c50757f63616b05dccca0cac08aa84fb4
-
- Dec 08, 2007
-
-
david authored
Helper function of the same name to signal this error. Exported XPATH-ERROR. Added another workaround for the non-error condition that parse-number signals. darcs-hash:868c30fb0b1fd42c9c394405fac7c9cacab3a832
-
- Dec 04, 2007
-
-
Ivan Shvedunov authored
darcs-hash:ed5d82a8ecee6fa2ff9f226148004c797a858445
-
Ivan Shvedunov authored
Fixed: map-node-set do-node-set Added node set iterators: make-node-set-iterator node-set-iterator-end-p node-set-iterator-next node-set-iterator-current Exported: node-set-p Added test for empty node sets: node-set-empty-p darcs-hash:9e84b4035564a382ee3af2e16316bd1bb8854ab8
-
- Dec 02, 2007
-
-
david authored
Reverted CONTEXT-VARIABLE-VALUE. Renamed ENVIRONMENT-VALIDATE-VARIABLE to ENVIRONMENT-FIND-VARIABLE, which now returns a closure rather than just a boolean. New exported macro WITH-VARIABLES for the LEXICAL-ENVIRONMENT. (And tests for that.) darcs-hash:4bf3773ca6bd46e449833192b823a08f248a9175
-
- Dec 01, 2007
-
-
Ivan Shvedunov authored
darcs-hash:ef5735f6293dbd141fc6644bb528e5ad44ce825e
-
Ivan Shvedunov authored
Moved XPath parser to parser.lisp. Moved some of toplevel API to api.lisp. Added MAP-NODE-SET and DO-NODE-SET. Added proper unary minus handling. Added test cases for string representation of XPath in TEST-XPATH (previously TEST-XPATH/UNABBREVIATED). Made it possible to pass strings to compile-xpath. STRING-VALUE, NUMBER-VALUE, BOOLEAN-VALUE and NODE-SET-VALUE now can handle single nodes. Added XPATH-PROTOCOL:NODE-P. Compiler macro for EVALUATE now issues warning instead of error if EVALUATE is used outside lexical scope of (WITH-NAMESPACES (...) ...) Added some of missing XPath functions - substring(), true(), false(), boolean(), number() darcs-hash:973601a675f33d9ebcd85ef89b6270e702fbaa1d
-