summaryrefslogtreecommitdiff
AgeCommit message (Expand)Author
2007-04-03Reduced reliance on the debugging evaluator (improves performance).•••* src/guile/skribilo.scm (skribilo): Do not impose use of the debugging evaluator, allowing for significant performance improvements. * src/guile/skribilo/evaluator.scm (%evaluate): Use the debugging evaluator when evaluating EXPR. * src/guile/skribilo/location.scm (invocation-location): Return `#f' when the debugging evaluator is not being used. git-archimport-id: lcourtes@laas.fr--2006-libre/skribilo--devo--1.2--patch-41 Ludovic Court`es
2007-04-03Moved legacy source location code to `compat'.•••* src/guile/skribilo/lib.scm (skribe-eval-location): Removed. * src/guile/skribilo/location.scm (location-pos): Removed. * src/guile/skribilo/utils/compat.scm: Use `(skribilo location)'. (location-pos, skribe-eval-location): New. git-archimport-id: skribilo@sv.gnu.org--2006/skribilo--devo--1.2--patch-81 Ludovic Court`es
2007-04-03Added source location tracking to various packages.•••* src/guile/skribilo/package/base.scm: Autoload `parameters'. (ref)[skribe-ref]: Use `search-path' and `*document-path*' instead of `find-file/path' and `skribe-path'. Initialize the `loc' field of markups. * src/guile/skribilo/package/eq.scm: Likewise. * src/guile/skribilo/package/pie.scm: Likewise. * src/guile/skribilo/package/slide.scm: Likewise. git-archimport-id: skribilo@sv.gnu.org--2006/skribilo--devo--1.2--patch-80 Ludovic Court`es
2007-04-03Added support for source location tracking.•••* src/guile/skribilo/ast.scm (<ast>): Added the `:loc' init-keyword. * src/guile/skribilo/lib.scm: Re-export `invocation-location'. (define-markup): Locally define `&invocation-location' for use by markups. (define-simple-markup): Initialize `loc'. (define-simple-container): Likewise. (%skribe-warn): New `col'. parameter. (skribe-warning): Updated. (skribe-warning/ast): Likewise. * src/guile/skribilo/location.scm (<location>): Removed slot `pos'. Added slot `column'. Export `location-column'. (location-pos): Kept for compatibility. (write): New method. (invocation-location): New function. git-archimport-id: skribilo@sv.gnu.org--2006/skribilo--devo--1.2--patch-79 Ludovic Court`es
2007-04-03biblio template: Small fix.•••* src/guile/skribilo/biblio/template.scm (make-bib-entry-template/default): Fixed `books'. git-archimport-id: skribilo@sv.gnu.org--2006/skribilo--devo--1.2--patch-78 Ludovic Court`es
2007-04-03Moved legacy source location code to `compat'.•••* src/guile/skribilo/lib.scm (skribe-eval-location): Removed. * src/guile/skribilo/location.scm (location-pos): Removed. * src/guile/skribilo/utils/compat.scm: Use `(skribilo location)'. (location-pos, skribe-eval-location): New. git-archimport-id: lcourtes@laas.fr--2006-libre/skribilo--devo--1.2--patch-40 Ludovic Court`es
2007-04-03Added source location tracking to various packages.•••* src/guile/skribilo/package/base.scm: Autoload `parameters'. (ref)[skribe-ref]: Use `search-path' and `*document-path*' instead of `find-file/path' and `skribe-path'. Initialize the `loc' field of markups. * src/guile/skribilo/package/eq.scm: Likewise. * src/guile/skribilo/package/pie.scm: Likewise. * src/guile/skribilo/package/slide.scm: Likewise. git-archimport-id: lcourtes@laas.fr--2006-libre/skribilo--devo--1.2--patch-39 Ludovic Court`es
2007-04-03Added support for source location tracking.•••* src/guile/skribilo/ast.scm (<ast>): Added the `:loc' init-keyword. * src/guile/skribilo/lib.scm: Re-export `invocation-location'. (define-markup): Locally define `&invocation-location' for use by markups. (define-simple-markup): Initialize `loc'. (define-simple-container): Likewise. (%skribe-warn): New `col'. parameter. (skribe-warning): Updated. (skribe-warning/ast): Likewise. * src/guile/skribilo/location.scm (<location>): Removed slot `pos'. Added slot `column'. Export `location-column'. (location-pos): Kept for compatibility. (write): New method. (invocation-location): New function. git-archimport-id: lcourtes@laas.fr--2006-libre/skribilo--devo--1.2--patch-38 Ludovic Court`es
2007-04-02biblio template: Small fix.•••* src/guile/skribilo/biblio/template.scm (make-bib-entry-template/default): Fixed `books'. git-archimport-id: lcourtes@laas.fr--2006-libre/skribilo--devo--1.2--patch-37 Ludovic Court`es
2007-03-28`diff' package: Fixed off-by-one in string diff.•••* src/guile/skribilo/package/diff.scm (add-unchanged): When `(null? edits)', check whether `(< str-pos str-len)' (was `(< str-pos (- str-len 1))'). This fixes off-by-one when diffing strings (last character didn't appear). git-archimport-id: skribilo@sv.gnu.org--2006/skribilo--devo--1.2--patch-77 Ludovic Court`es
2007-03-28`diff' package: Use `breakable-space' instead of `~' in `annotated-string-diff'.•••* src/guile/skribilo/package/diff.scm: Autoload `(skribilo utils keywords)'. (annotated-string-diff)[space-preserving-substring]: Use `breakable-space' instead of `~'. git-archimport-id: skribilo@sv.gnu.org--2006/skribilo--devo--1.2--patch-76 Ludovic Court`es
2007-03-28doc: Documented spacing.•••* NEWS: Mention `breakable-space'. * doc/user/markup.skb: Include "spacing.skb". git-archimport-id: skribilo@sv.gnu.org--2006/skribilo--devo--1.2--patch-75 Ludovic Court`es
2007-03-28`base' package: Introduced `breakable-space'.•••* src/guile/skribilo/engine/base.scm (breakable-space): New writer. * src/guile/skribilo/engine/latex.scm (breakable-space): New writer. * src/guile/skribilo/engine/lout.scm (breakable-space): New writer. * src/guile/skribilo/package/base.scm (breakable-space): New markup. git-archimport-id: skribilo@sv.gnu.org--2006/skribilo--devo--1.2--patch-74 Ludovic Court`es
2007-03-28`lout' engine: Fixed space handling with `color'.•••* src/guile/skribilo/engine/lout.scm (color): Insert the linebreak between the left parameter of `@Color' and `@Color' itself, so as to never insert additional spaces. git-archimport-id: skribilo@sv.gnu.org--2006/skribilo--devo--1.2--patch-73 Ludovic Court`es
2007-03-28`diff' package: Handle commands appropriately.•••* src/guile/skribilo/package/diff.scm (make-diff-document): Don't touch commands. git-archimport-id: skribilo@sv.gnu.org--2006/skribilo--devo--1.2--patch-72 Ludovic Court`es
2007-03-28`diff' package: Preserve space around diff'd strings.•••* src/guile/skribilo/package/diff.scm: Use `srfi-14'. (annotated-string-diff)[space-preserving-substring]: New. Use it. git-archimport-id: skribilo@sv.gnu.org--2006/skribilo--devo--1.2--patch-71 Ludovic Court`es
2007-03-28`diff' package: Compute diffs on selected options.•••* src/guile/skribilo/package/diff.scm (%diffable-options): New. (make-diff-document)[make-diff-options]: New. Use it. git-archimport-id: skribilo@sv.gnu.org--2006/skribilo--devo--1.2--patch-70 Ludovic Court`es
2007-03-28Slightly optimized `make-string-replace'.•••* src/guile/skribilo/utils/strings.scm (%make-general-string-replace): Removed the `let'... git-archimport-id: skribilo@sv.gnu.org--2006/skribilo--devo--1.2--patch-69 Ludovic Court`es
2007-03-28`diff' package: Use actual markups and writers.•••* src/guile/skribilo/package/diff.scm: Use `output' and `writer'. (deletion, insertion, replacement, unchanged): Return a specific markup object. Add the corresponding writers for the `base' engine. git-archimport-id: skribilo@sv.gnu.org--2006/skribilo--devo--1.2--patch-68 Ludovic Court`es
2007-03-28`diff' package: Fixed off-by-one in string diff.•••* src/guile/skribilo/package/diff.scm (add-unchanged): When `(null? edits)', check whether `(< str-pos str-len)' (was `(< str-pos (- str-len 1))'). This fixes off-by-one when diffing strings (last character didn't appear). git-archimport-id: lcourtes@laas.fr--2006-libre/skribilo--devo--1.2--patch-36 Ludovic Court`es
2007-03-28`diff' package: Use `breakable-space' instead of `~' in `annotated-string-diff'.•••* src/guile/skribilo/package/diff.scm: Autoload `(skribilo utils keywords)'. (annotated-string-diff)[space-preserving-substring]: Use `breakable-space' instead of `~'. git-archimport-id: lcourtes@laas.fr--2006-libre/skribilo--devo--1.2--patch-35 Ludovic Court`es
2007-03-28doc: Documented spacing.•••* NEWS: Mention `breakable-space'. * doc/user/markup.skb: Include "spacing.skb". git-archimport-id: lcourtes@laas.fr--2006-libre/skribilo--devo--1.2--patch-34 Ludovic Court`es
2007-03-28`base' package: Introduced `breakable-space'.•••* src/guile/skribilo/engine/base.scm (breakable-space): New writer. * src/guile/skribilo/engine/latex.scm (breakable-space): New writer. * src/guile/skribilo/engine/lout.scm (breakable-space): New writer. * src/guile/skribilo/package/base.scm (breakable-space): New markup. git-archimport-id: lcourtes@laas.fr--2006-libre/skribilo--devo--1.2--patch-33 Ludovic Court`es
2007-03-27`lout' engine: Fixed space handling with `color'.•••* src/guile/skribilo/engine/lout.scm (color): Insert the linebreak between the left parameter of `@Color' and `@Color' itself, so as to never insert additional spaces. git-archimport-id: lcourtes@laas.fr--2006-libre/skribilo--devo--1.2--patch-32 Ludovic Court`es
2007-03-27`diff' package: Handle commands appropriately.•••* src/guile/skribilo/package/diff.scm (make-diff-document): Don't touch commands. git-archimport-id: lcourtes@laas.fr--2006-libre/skribilo--devo--1.2--patch-31 Ludovic Court`es
2007-03-27`diff' package: Preserve space around diff'd strings.•••* src/guile/skribilo/package/diff.scm: Use `srfi-14'. (annotated-string-diff)[space-preserving-substring]: New. Use it. git-archimport-id: lcourtes@laas.fr--2006-libre/skribilo--devo--1.2--patch-30 Ludovic Court`es
2007-03-27`diff' package: Compute diffs on selected options.•••* src/guile/skribilo/package/diff.scm (%diffable-options): New. (make-diff-document)[make-diff-options]: New. Use it. git-archimport-id: lcourtes@laas.fr--2006-libre/skribilo--devo--1.2--patch-29 Ludovic Court`es
2007-03-27Slightly optimized `make-string-replace'.•••* src/guile/skribilo/utils/strings.scm (%make-general-string-replace): Removed the `let'... git-archimport-id: lcourtes@laas.fr--2006-libre/skribilo--devo--1.2--patch-28 Ludovic Court`es
2007-03-27`diff' package: Use actual markups and writers.•••* src/guile/skribilo/package/diff.scm: Use `output' and `writer'. (deletion, insertion, replacement, unchanged): Return a specific markup object. Add the corresponding writers for the `base' engine. git-archimport-id: lcourtes@laas.fr--2006-libre/skribilo--devo--1.2--patch-27 Ludovic Court`es
2007-03-16`eq' package: Added `eq:set'.•••* src/guile/skribilo/package/eq.scm: Use `(srfi srfi-1)'. (%operators): Added `set'. (eq:set): New. New writer. * src/guile/skribilo/package/eq/lout.scm: Use `srfi-1'. (eq:set): New writer. git-archimport-id: skribilo@sv.gnu.org--2006/skribilo--devo--1.2--patch-67 Ludovic Court`es
2007-03-16`diff' package: Various fixes.•••* src/guile/skribilo/package/diff.scm (%undiffable-markups): Added `numref' and `eq'. (make-diff-document)[undiffable?]: New. For containers, check whether they are undiffable. For lists, iterate until AST2 is empty, not until the smallest is empty. Added an `(equal? ast1 ast2)' cond clause. git-archimport-id: skribilo@sv.gnu.org--2006/skribilo--devo--1.2--patch-66 Ludovic Court`es
2007-03-16`lout' engine: Skip lines in `color'.•••* src/guile/skribilo/engine/lout.scm (color): Skip a line at the end. git-archimport-id: skribilo@sv.gnu.org--2006/skribilo--devo--1.2--patch-65 Ludovic Court`es
2007-03-16`eq' package: Added `eq:set'.•••* src/guile/skribilo/package/eq.scm: Use `(srfi srfi-1)'. (%operators): Added `set'. (eq:set): New. New writer. * src/guile/skribilo/package/eq/lout.scm: Use `srfi-1'. (eq:set): New writer. git-archimport-id: lcourtes@laas.fr--2006-libre/skribilo--devo--1.2--patch-26 Ludovic Court`es
2007-03-13`diff' package: Various fixes.•••* src/guile/skribilo/package/diff.scm (%undiffable-markups): Added `numref' and `eq'. (make-diff-document)[undiffable?]: New. For containers, check whether they are undiffable. For lists, iterate until AST2 is empty, not until the smallest is empty. Added an `(equal? ast1 ast2)' cond clause. git-archimport-id: lcourtes@laas.fr--2006-libre/skribilo--devo--1.2--patch-25 Ludovic Court`es
2007-03-13`lout' engine: Skip lines in `color'.•••* src/guile/skribilo/engine/lout.scm (color): Skip a line at the end. git-archimport-id: lcourtes@laas.fr--2006-libre/skribilo--devo--1.2--patch-24 Ludovic Court`es
2007-03-08`diff' package: Fixes and hacking.•••* src/guile/skribilo/package/diff.scm (add-unchanged): Fixed (hopefully). (annotated-string-diff): New. (make-diff-document): Moved code to `annotated-string-diff'. (make-diff-document-from-files): Cleaned up. git-archimport-id: skribilo@sv.gnu.org--2006/skribilo--devo--1.2--patch-64 Ludovic Court`es
2007-03-08Added an experimental `diff' package.•••* src/guile/Makefile.am (dist_guilemodule_DATA): Added `differ.scm'. * src/guile/skribilo/package/Makefile.am (dist_guilemodule_DATA): Added `diff.scm'. git-archimport-id: skribilo@sv.gnu.org--2006/skribilo--devo--1.2--patch-63 Ludovic Court`es
2007-03-08biblio: Adding missing `use-module'.•••* src/guile/skribilo/biblio.scm: Autoload `(skribilo lib)'. git-archimport-id: skribilo@sv.gnu.org--2006/skribilo--devo--1.2--patch-62 Ludovic Court`es
2007-03-08evaluator: Modularized the evaluation process.•••* src/guile/skribilo/evaluator.scm (evaluate-ast-from-port): New. Based on code formerly in `evaluate-document-from-port'. Pass `(current-module)' instead of `module' when invoking `%evaluate'. (evaluate-document-from-port): Use it. git-archimport-id: skribilo@sv.gnu.org--2006/skribilo--devo--1.2--patch-61 Ludovic Court`es
2007-03-08`base' engine: Fixed autoload issue.•••* src/guile/skribilo/engine/base.scm: Autoload `(skribilo package base)' upon `it', `bold' and `ref' as well. git-archimport-id: skribilo@sv.gnu.org--2006/skribilo--devo--1.2--patch-60 Ludovic Court`es
2007-03-08`diff' package: Fixes and hacking.•••* src/guile/skribilo/package/diff.scm (add-unchanged): Fixed (hopefully). (annotated-string-diff): New. (make-diff-document): Moved code to `annotated-string-diff'. (make-diff-document-from-files): Cleaned up. git-archimport-id: lcourtes@laas.fr--2006-libre/skribilo--devo--1.2--patch-23 Ludovic Court`es
2007-03-08Added an experimental `diff' package.•••* src/guile/Makefile.am (dist_guilemodule_DATA): Added `differ.scm'. * src/guile/skribilo/package/Makefile.am (dist_guilemodule_DATA): Added `diff.scm'. git-archimport-id: lcourtes@laas.fr--2006-libre/skribilo--devo--1.2--patch-22 Ludovic Court`es
2007-03-08biblio: Adding missing `use-module'.•••* src/guile/skribilo/biblio.scm: Autoload `(skribilo lib)'. git-archimport-id: lcourtes@laas.fr--2006-libre/skribilo--devo--1.2--patch-21 Ludovic Court`es
2007-03-08evaluator: Modularized the evaluation process.•••* src/guile/skribilo/evaluator.scm (evaluate-ast-from-port): New. Based on code formerly in `evaluate-document-from-port'. Pass `(current-module)' instead of `module' when invoking `%evaluate'. (evaluate-document-from-port): Use it. git-archimport-id: lcourtes@laas.fr--2006-libre/skribilo--devo--1.2--patch-20 Ludovic Court`es
2007-03-07`base' engine: Fixed autoload issue.•••* src/guile/skribilo/engine/base.scm: Autoload `(skribilo package base)' upon `it', `bold' and `ref' as well. git-archimport-id: lcourtes@laas.fr--2006-libre/skribilo--devo--1.2--patch-19 Ludovic Court`es
2007-03-07Merge from skribilo@sv.gnu.org--2006•••Patches applied: * lcourtes@laas.fr--2005-libre/skribilo--engine-classes--1.2 (patch 5, 11) - `slide' package: use the native APIs. - evaluator: Made safer with respect to module excursions. * lcourtes@laas.fr--2005-mobile/skribilo--devel--1.2 (patch 92-99) - Merge from skribilo@sv.gnu.org--2006/skribilo--devo--1.2 - evaluator: Made safer with respect to module excursions. - `slide' package: use the native APIs. - evaluator: Slight module-related cleanups. - skribe-load: Better modulogy. - `base' engine: Use the native Skribilo APIs. * lcourtes@laas.fr--2005-mobile/skribilo--engine-classes--1.2 (patch 7) - evaluator: Made safer with respect to module excursions. * skribilo@sv.gnu.org--2006/skribilo--devo--1.2 (patch 34-59) - lout & latex engines: Fixed the output of `&prog-line'. - eq/lout: Properly handle `div-style' and `mul-style'. - Fixed `publisher' in default biblio entry style. - lout engine: Fixed automatic `url-ref' breaking wrt. spacing. - LaTeX engine: Added support for classes without `chapter'. - Updated the LaTeX engine doc, mention `class-has-chapters?'. - `lncs' package: Use the native APIs. - `lncs' package: Fixed `abstract' for LaTeX. - `lncs' package: Use a native LaTeX/BibTeX bibliography. - `latex' engine: Removed stupid uses of `bold'. - `lncs' package: Changed the default bibliography sort, udpated the doc. - `latex' engine: Support `a' with grave accent. - `lncs' package: Tiny fix. - `latex' engine: Fixed `ref' with both `:handle' and `:text'. - Added basic GNU Gettext support. - Fixed biblio template output. - Rewrote the bib entry template evaluator, added support for `if'. - Cleaned up the default bibliography template. - biblio: Use SRFI-3[45] conditions instead of `skribe-error'. - Internationalized `(skribilo condition)'. - Updated (French) translation. - evaluator: Made safer with respect to module excursions. - `slide' package: use the native APIs. - evaluator: Slight module-related cleanups. - skribe-load: Better modulogy. - `base' engine: Use the native Skribilo APIs. git-archimport-id: lcourtes@laas.fr--2006-libre/skribilo--devo--1.2--patch-18 Ludovic Court`es
2007-02-19`base' engine: Use the native Skribilo APIs.•••* src/guile/skribilo/engine/base.scm: No longer use `define-skribe-module'. Use the native Skribilo APIs instead. git-archimport-id: skribilo@sv.gnu.org--2006/skribilo--devo--1.2--patch-59 Ludovic Courtes
2007-02-07skribe-load: Better modulogy.•••* src/guile/skribilo/utils/compat.scm (skribe-load): Use `resolve-interface' instead of `resolve-module'; use `module-use-interfaces!' instead of `set-module-uses!'. git-archimport-id: skribilo@sv.gnu.org--2006/skribilo--devo--1.2--patch-58 Ludovic Courtes
2007-02-07evaluator: Slight module-related cleanups.•••* src/guile/skribilo/evaluator.scm (%evaluate): Take an additional MODULE argument. Updated callers. (evaluate-document-from-port): Likewise. (load-document): Take additional MODULE and READER arguments. (include-document): Have MODULE default to `(*skribilo-user-module*)' instead of `(current-module)'. git-archimport-id: skribilo@sv.gnu.org--2006/skribilo--devo--1.2--patch-57 Ludovic Courtes
2007-02-06`slide' package: use the native APIs.•••Patches applied: * lcourtes@laas.fr--2005-libre/skribilo--engine-classes--1.2 (patch 5) - `slide' package: use the native APIs. git-archimport-id: skribilo@sv.gnu.org--2006/skribilo--devo--1.2--patch-56 Ludovic Courtes