Age | Commit message (Expand) | Author |
2012-05-22 | tests: Remove new log files.•••* tests/Makefile.am (CLEANFILES): Add `location.log' and `info.log'.
| Ludovic Courtès |
2012-05-17 | Change `define-markup' to generate a macro, to capture location syntactically.•••* src/guile/skribilo/lib.scm (dsssl->guile-formals): New procedure,
formerly `fix-rest-arg' procedure in `define-markup'.
(define-markup)[guile-2]: Turn into a macro-generating macro, such
that markups capture their invocation location syntactically.
* src/guile/skribilo/location.scm (source-properties->location): New
procedure.
(invocation-location): Use it.
* src/guile/skribilo/package/base.scm (handle): Move above first use,
since it's now a macro on Guile 2.0.
* src/guile/skribilo/package/slide.scm (slide-vspace): Likewise.
* src/guile/skribilo/package/eq.scm: Use (skribilo package base) instead
of autoloading it.
* tests/Makefile.am (TESTS): Add `location.test'.
* tests/location.test: New file.
| Ludovic Courtès |
2012-05-14 | info: Rename `node-next+prev+top' to `node-next+prev+up'.•••* 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.
| Ludovic Courtès |
2012-05-14 | info: Fix prev/next pointers.•••* 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.
| Ludovic Courtès |
2012-05-14 | ast: Add `node-children'.•••* src/guile/skribilo/ast.scm (node-children): New procedure.
* tests/ast.test ("node-children"): New test.
| Ludovic Courtès |
2012-04-25 | Avoid deprecated features on Guile 2.•••* 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.
| Ludovic Courtès |
2012-02-08 | tests: Use `syntax-rules' in `rss-2.test'.•••* tests/readers/rss-2.test (test-match): Rewrite using `syntax-rules'.
| Ludovic Courtès |
2009-11-20 | Define $GUILE_LOAD_COMPILED_PATH for Guile 2.x.•••* 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.
| Ludovic Courtès |
2009-05-26 | resolve: Add new test.•••* tests/resolve.test ("unresolved node in nested document"): New test.
| Ludovic Courtès |
2009-05-26 | Make sure to bind nodes that are in the body of non-markup nodes.•••* 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.
| Ludovic Courtès |
2009-05-26 | Fix typo in `resolve.test'.•••* tests/resolve.test ("unresolved node in processor body"): Fix typo.
| Ludovic Courtès |
2009-05-26 | Fix node binding in sub-documents returned from unresolved nodes.•••* 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.
| Ludovic Courtès |
2009-05-26 | resolve: Clarify node bindings in nested documents.•••* 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.
| Ludovic Courtès |
2009-05-25 | Add `resolve' unit tests.•••* tests/Makefile.am (TESTS): Add `resolve.test'.
(CLEANFILES): Add `resolve.log'.
| Ludovic Courtès |
2009-01-07 | Add AST unit tests.•••* tests/Makefile.am (TESTS): Add `ast.test'.
(CLEANFILES): Add `ast.log'.
| Ludovic Courtès |
2009-01-05 | rss-2: Improve tests.•••* tests/readers/rss-2.test ("broken date format", "table"): New tests.
| Ludovic Courtès |
2008-12-23 | rss-2: Clean up tests. | Ludovic Courtès |
2008-12-23 | Add test framework and `rss-2' unit tests.•••* Makefile.am (SUBDIRS): Add `tests'.
* configure.ac: Produce `tests/Makefile'.
* src/guile/Makefile.am (EXTRA_DIST): Add SRFI-64 files.
* tests: New directory.
| Ludovic Courtès |