Age | Commit message (Collapse) | Author |
|
* src/guile/skribilo/engine/info.scm (node-next+prev+top): Rename to...
(node-next+prev+up): ... this. Update callers.
* tests/engines/info.test (node-next+prev+up): Update accordingly.
|
|
* src/guile/skribilo/ast.scm (ast-fold): Explicitly document as
depth-first.
* src/guile/skribilo/engine/info.scm (info-node): Support PREV and
NEXT as false.
(node-next+prev+top): Rewrite using `match' and `node-children'.
* tests/Makefile.am (TESTS): Add `engines/info.test'.
* tests/engines/info.test: New file.
|
|
* src/guile/skribilo/ast.scm (node-children): New procedure.
* tests/ast.test ("node-children"): New test.
|
|
* src/guile/skribilo/writer.scm (%procedure-arity): Use
`procedure-minimum-arity' on Guile 2.
* src/guile/srfi/srfi-64.upstream.scm: Use (ice-9 syncase) only when not
on Guile 2.
* tests/readers/rss-2.test (guile-2): Likewise.
|
|
* tests/readers/rss-2.test (test-match): Rewrite using `syntax-rules'.
|
|
* guile-vm.am (guile_warnings): New variable.
(.scm.go): Set $GUILE_LOAD_COMPILED_PATH appropriately, specify Guile
compilation warnings.
* src/pre-inst-skribilo.in, src/skribilo.in: Set
$GUILE_LOAD_COMPILED_PATH appropriately.
* tests/Makefile.am (TESTS_ENVIRONMENT): Set $GUILE_AUTO_COMPILE and
$GUILE_LOAD_COMPILED_PATH.
* doc/user/Makefile.am (skribilo.info, .skb.html, .skb.lout, .skb.tex,
.skb.ctx): Set $GUILE_LOAD_COMPILED_PATH.
(load_compiled_path): New variable.
|
|
* tests/resolve.test ("unresolved node in nested document"): New test.
|
|
* src/guile/skribilo/ast.scm (document-bind-nodes!): Traverse other
nodes as well, such as processors.
* src/guile/skribilo/resolve.scm (do-resolve!<unresolved>>): Likewise.
* tests/resolve.test ("resolved nested document bindings"): New test.
|
|
* tests/resolve.test ("unresolved node in processor body"): Fix typo.
|
|
* src/guile/skribilo/resolve.scm (do-resolve!<unresolved>): Bind
sub-nodes of RES in the innermost document rather than in the root
document.
* tests/resolve.test ("resolved nested document bindings"): New test.
|
|
* src/guile/skribilo/ast.scm (document-bind-nodes!): Bind nodes in the
innermost document, which may or may not be the root document.
* tests/resolve.test ("root document has no parent", "nested document
has a parent", "nested document is its own `ast-document'", "nested
document bindings"): New tests.
|
|
* tests/Makefile.am (TESTS): Add `resolve.test'.
(CLEANFILES): Add `resolve.log'.
|
|
* tests/Makefile.am (TESTS): Add `ast.test'.
(CLEANFILES): Add `ast.log'.
|
|
* tests/readers/rss-2.test ("broken date format", "table"): New tests.
|
|
|
|
* Makefile.am (SUBDIRS): Add `tests'.
* configure.ac: Produce `tests/Makefile'.
* src/guile/Makefile.am (EXTRA_DIST): Add SRFI-64 files.
* tests: New directory.
|