- Feb 02, 2011
-
-
David Lichteblau authored
Fix lazy evaluation of second argument to append-pipes for consistency with make-pipe; fixes mappend-pipe laziness Ignore-this: f3fed201712877e374d820d195f79ce1 darcs-hash:fbc7a09b8d36e224a278b21b6b374442e835edc1
-
- Dec 07, 2008
-
-
David Lichteblau authored
darcs-hash:882a689b51a77206ea6f5876bfe808fcf2a06b63
-
- Apr 27, 2008
-
-
David Lichteblau authored
darcs-hash:4730d74117d54d5dcd62f037deb7d426f3de94eb
-
- Apr 06, 2008
-
-
David Lichteblau authored
darcs-hash:2b6a99497964e338216de09af22a820f5c40e6b8
-
- Mar 02, 2008
-
-
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 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 25, 2008
-
-
Ivan Shvedunov authored
Fixed :following, :preceding-sibling, :following-sibling and :namespace axes. Fixed contains() (what a shame! I made a mistake in the order of arguments). Fixed translate(). Added get-node-id() and plx:generate-id() (same as generate-id() in XSLT). Added checks for number of arguments passed to XPath functions. Fixed a package-related problem in define-xpath-function/single-type. Fixed xnum-round. darcs-hash:f3bff21d76ef40b125506213bf44f04efd054b8d
-
- Feb 24, 2008
-
-
David Lichteblau authored
darcs-hash:d40b75c09b911dc74c448e12734de19df206bb38
-
Ivan Shvedunov authored
darcs-hash:b323c75b68956e5b82e23d755b6f70a793472dde
-
Ivan Shvedunov authored
darcs-hash:e7f4e02de3903046839aca68af5ae165e40214e9
-
Ivan Shvedunov authored
darcs-hash:bfacee78d09841b9f911b77239e7c926329b0856
-
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 18, 2008
-
-
Ivan Shvedunov authored
Added id(), namespace-uri(), floor(), round(), ceiling(). Added xpath-protocol:get-element-by-id and its implementation for DOM. Added *dom-builder* and *document-element* in xpath-test.lisp so that it's now possible to run unit tests for other document representations. darcs-hash:27372b9c5e8d77100eb75ccffe3cc070893a2de3
-
- Dec 30, 2007
-
-
Ivan Shvedunov authored
darcs-hash:9dd87a2a69312e0beb21c574842c778200709655
-
- 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 27, 2007
-
-
Ivan Shvedunov authored
darcs-hash:ba21e52ac64e9b31b5f90bd3cbbe4bb178fefcd1
-
- Dec 05, 2007
-
-
david authored
darcs-hash:e0b618d6ff8d77af1719d04706d32b61baa72dc1
-
- 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
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
-
- Nov 25, 2007
-
-
david authored
A new function EVALUATE is provided that... - automatically parses XPath strings. - also accepts sexps in the syntax (xpath (sexp-goes-here)). (The special marker XPATH in the CAR is needed to distinguish literal strings from XPath strings.) - and accepts pre-compiled closures. Users who want to use this function with a customized environment must pass precompiled closures. For the first two cases, the environment is defined lexically using the new macro WITH-NAMESPACES. The context argument to ALL-NODES can be either... - an actual context - or any other node understood by the XPath protocol, and will then be turned into a trivial context automatically A compiler macro on EVALUATE allows pre-compilation of closures at fasl load time. (Macrolet tricks propagate the information from WITH-NAMESPACES into the compiler macro. Thanks to chandler on #lisp for the tip.) darcs-hash:88c7a7985b99372e14071fb9eb8da0bc97d0b054
-
david authored
darcs-hash:2d8860ef9e911e6597859b4fa6ea89a4138523bc
-
david authored
darcs-hash:b96e13c8d54121d1fbfffc220ff442053e425942
-