summaryrefslogtreecommitdiff
path: root/module/sxml
AgeCommit message (Collapse)AuthorFilesLines
2012-01-20remove duplicate when/unless definitionsAndy Wingo1-8/+1
* module/rnrs/control.scm: * module/sxml/ssax.scm: * test-suite/lalr/common-test.scm: Remove local `when'/`unless' definitions.
2011-09-02more define-syntax-rule usageAndy Wingo1-22/+15
* module/ice-9/boot-9.scm: * module/ice-9/control.scm: * module/ice-9/futures.scm: * module/ice-9/optargs.scm: * module/ice-9/poll.scm: * module/ice-9/receive.scm: * module/ice-9/threads.scm: * module/ice-9/vlist.scm: * module/language/assembly/compile-bytecode.scm: * module/language/ecmascript/compile-tree-il.scm: * module/language/tree-il.scm: * module/oop/goops.scm: * module/oop/goops/simple.scm: * module/oop/goops/stklos.scm: * module/srfi/srfi-1.scm: * module/srfi/srfi-35.scm: * module/srfi/srfi-39.scm: * module/srfi/srfi-45.scm: * module/srfi/srfi-67/compare.scm: * module/sxml/match.scm: * module/system/repl/error-handling.scm: * module/system/repl/repl.scm: * module/system/vm/inspect.scm: * module/texinfo.scm: * module/web/server.scm: Use define-syntax-rule, where it makes sense.
2010-12-02sxml->xml fixAndy Wingo1-0/+2
* module/sxml/simple.scm (attribute-value->xml): Whoops, fix null case.
2010-12-02sxml->xml writes directly to a portAndy Wingo1-91/+149
* module/sxml/simple.scm: Remove "universal-sxslt-rules" -- it was a bad interface, and I couldn't find any users of it. (sxml->xml): Rewrite so that instead of generating another tree of data, we write the data directly to a port.
2010-10-14ssax: add procs to define parsed entitiesAndy Wingo1-1/+22
* module/sxml/ssax.scm (reset-parsed-entity-definitions!) (define-parsed-entity!): New heavy-handed knobs for adding to the set of parsed entity definitions.
2010-07-15sxml-match: Always use the same prompt tag.Ludovic Courtès1-8/+10
* module/sxml/match.scm (%call/ec-prompt): New variable. (call/ec): Use it instead of creating a new prompt tag.
2010-05-26sxml-match: Handle multiple-value returns.Ludovic Courtès2-2/+8
* module/sxml/sxml-match.ss (sxml-match1): Invoke ESCAPE via `call-with-values'. * test-suite/tests/sxml-match-tests.ss ("test multiple value returns"): New test. * module/sxml/match.scm: Mention the modification.
2010-05-25Add (sxml match).Ludovic Courtès2-0/+1270
* module/Makefile.am (LIB_SOURCES): Add `sxml/match.scm'. (NOCOMP_SOURCES): Add `sxml/sxml-match.ss'. * module/sxml/match.scm, module/sxml/sxml-match.ss: New files. * test-suite/Makefile.am (SCM_TESTS): Add `tests/sxml.match.test'. (EXTRA_DIST): Add `tests/sxml-match-tests.ss'. * test-suite/tests/sxml-match-tests.ss, test-suite/tests/sxml.match.test: New files. * doc/ref/guile.texi (Guile Modules): Include `sxml-match.texi'. * doc/ref/sxml-match.texi: New file. * doc/ref/Makefile.am (guile_TEXINFOS): Add `sxml-match.texi'.
2010-05-11Have `sxml->xml' handle `*TOP*' nodes (bug #29260).Ludovic Courtès1-1/+2
* module/sxml/simple.scm (universal-sxslt-rules): Add handler for `*TOP*'. Suggested by Stefan Israelsson Tampe at <https://savannah.gnu.org/bugs/index.php?29260>. * test-suite/Makefile.am (SCM_TESTS): Add `sxml.simple.test'. * test-suite/tests/sxml.simple.test: New file. * THANKS: Add Stefan.
2010-04-09Remove `fold' from (sxml fold).Ludovic Courtès1-12/+3
* module/sxml/fold.scm: Use (srfi srfi-1). (fold): Remove. (fold-values): Update docstring accordingly. * test-suite/tests/sxml.fold.test: Use (srfi srfi-1).
2009-12-21import statprof, sxml, and texinfo from guile-libAndy Wingo13-0/+6787
* module/Makefile.am (LIB_SOURCES): Add statprof, sxml, and texinfo to the build. (NOCOMP_SOURCES): Reindent, and add the upstream SSAX files. * module/statprof.scm: * module/sxml/apply-templates.scm: * module/sxml/fold.scm: * module/sxml/simple.scm: * module/sxml/ssax.scm: * module/sxml/ssax/input-parse.scm: * module/sxml/transform.scm: * module/sxml/upstream/COPYING.SSAX: * module/sxml/upstream/SSAX.scm: * module/sxml/upstream/SXML-tree-trans.scm: * module/sxml/upstream/SXPath-old.scm: * module/sxml/upstream/assert.scm: * module/sxml/upstream/input-parse.scm: * module/sxml/xpath.scm: * module/texinfo.scm: * module/texinfo/docbook.scm: * module/texinfo/html.scm: * module/texinfo/indexing.scm: * module/texinfo/plain-text.scm: * module/texinfo/reflection.scm: * module/texinfo/serialize.scm: * module/texinfo/string-utils.scm: Add files from guile-lib to Guile. It's only Richard, Andreas, Rob, and myself that have copyright on these, and we have all assigned to the FSF. SSAX itself is in the public domain.