2008-09-18 Thien-Thi Nguyen Use `(string-null? foo)' instead of `(string=? "" foo)'. * ttn/abbrev-tree.scm (gdb-style-ambiguous): Use `string-null?'. (gdb-style-undefined, abtree-add, test): Likewise. * ttn/parse-rfc822.scm (parse-lines): Likewise. * tests/call-process-to-buffers.test (check-cp->b, check-cp->b-w/input): Use `string-null?'. 2008-03-16 Thien-Thi Nguyen Release: 0.50 * configure.in (AC_INIT): Bump version to "0.50" for release. 2008-03-16 Thien-Thi Nguyen Update list of required external programs. * modules.af (programs): Add "ppmforge"; delete "xplanet" and "xearth". 2008-03-16 Thien-Thi Nguyen No longer require a tag for "make dist". * GNUmakefile.in (dtag): Delete var. (dist): Depend on docs. Also, no longer check for non-empty $(dtag). 2008-03-16 Thien-Thi Nguyen Remove useless module (ttn METAINFO). * GNUmakefile.in (all): Don't depend on METAINFO. (METAINFO): Delete target. (install): Unconditionally delete $(instdir)/METAINFO. (extradist): Remove METAINFO. (dist): Don't make METAINFO. (clean): Don't delete METAINFO. * doc/ttn-pers-scheme.twerp (Top): Delete "METAINFO" from menu. (METAINFO): Delete node. 2008-03-16 Thien-Thi Nguyen Add support for "make uninstall". * doc/Makefile.in (uninstall): New target. * GNUmakefile.in (uninstall): New target. 2008-03-16 Thien-Thi Nguyen Fix omission bug: Define $(srcdir) in top-level GNUmakefile. * GNUmakefile.in (srcdir): New var. 2008-03-15 Thien-Thi Nguyen Document plans for ttn-pers-scheme retirement. * TODO: Delete file. * doc/ttn-pers-scheme.twerp (Learning to Let Go): Link to "Future". (Future): Rewrite. * doc/Makefile.in ($(PACKAGE).info): Don't depend on TODO.texi. (TODO.texi): Delete target. (clean): Update. * GNUmakefile.in (extradist): Remove doc/TODO.texi. 2008-03-15 Thien-Thi Nguyen Drop proc `(ttn html-world) html-world'. * ttn/html-world.scm (prop, prop!): Delete proc aliases. (html-world): Delete proc. * doc/ttn-pers-scheme.twerp (html-world): Remove its @twerpdoc for `html-world'. 2008-03-04 Thien-Thi Nguyen Don't log output of "make check". * tests/Makefile.in (check): Remove "guile-tools run-all-tests" option "-l CHECK.LOG". 2008-02-16 Thien-Thi Nguyen Unbotch Git-ism: Preserve timestamps on "make dist". * GNUmakefile.in: Rename from Makefile.in (dist): Use "cp -p" and "git ls-files" instead of "git archive". Also combine $(extradist) and $(minusdist) processing into single "cp" invocation. * configure.in (AC_CONFIG_FILES): Update. 2008-02-13 Thien-Thi Nguyen Convert CVS-isms to Git-isms. * benchmarks/.cvsignore: Delete file. * doc/.cvsignore: Likewise. * meta/.cvsignore: Likewise. * tests/.cvsignore: Likewise. * .cvsignore: Likewise. * .gitignore: Rename from .cvsignore; incorporate contents of {benchmarks,doc,meta,tests}/.cvsignore. * bin/collect-lessons: No longer use module (ttn rlog-scan-proc). (*keys*): Delete data structure. (scan-log!): Delete proc. (scan): Use "git log" to get list of dates. * Makefile.in (.module-catalog): Update to ignore ".git". (minusdist): Update to reflect .gitignore changes. (dist): Test for .git/; use "git archive"; remove post tar fixup. (interesting-dirs): Delete var. (cvs-state-summary): Delete target. 2007-12-13 Thien-Thi Nguyen * autogen.sh: If COPYING is GPLv2, try to find and symlink GPLv3. If not successful, output a warning. * doc/ttn-pers-scheme.twerp (Top): Bump GPL version to 3. 2007-11-04 Thien-Thi Nguyen * benchmarks/common-head.scm: No longer use module (ice-9 common-list). Use `and-map' instead of `every'. 2007-11-04 Thien-Thi Nguyen * benchmarks/common-head.scm: No longer set `%load-path'. * benchmarks/Makefile (run): Also set env var `GUILE_LOAD_PATH'. 2007-10-15 Thien-Thi Nguyen * ttn/html-world.scm (render-html-world): Delete proc. * doc/ttn-pers-scheme.twerp (html-world): Delete @twerpdoc for `render-html-world'. 2007-09-25 Thien-Thi Nguyen * ttn/listener.scm (make-listener): Fix bug: Move `close-port' form inside proper `let' scope. 2007-09-23 Thien-Thi Nguyen * configure.in: Require (ice-9 optargs-kw) to export `remove-keys'. 2007-09-23 Thien-Thi Nguyen * ttn/html-world.scm, ttn/call-process-to-buffers.scm * ttn/call-process.scm: No longer use module (ttn optargs-kw-utils). 2007-09-18 Thien-Thi Nguyen * ttn/bufutils.scm: From module (ice-9 editing-buffer), select also `filename:' and `find-file'. Re-export `find-file'. (filename:): Delete object property. (find-file): Delete proc. 2007-09-18 Thien-Thi Nguyen * bin/collect-lessons (scan): Make sure buffer is writeable. Also, update `strptime' call to handle hyphen in date. 2007-09-18 Thien-Thi Nguyen * doc/Makefile.in (clean): Also delete lessons.texi and TODO.texi. 2007-07-04 Thien-Thi Nguyen * ttn/sanity.scm: From module (ice-9 gumm), also select `module-catalog-manager'. (add-to-load-path!): Also update module catalogs. 2007-04-16 Thien-Thi Nguyen * ttn/html-world.scm (randomly-hyperlinked): If there are no links, just accumulate the chunks, w/o decoration. 2007-04-10 Thien-Thi Nguyen * benchmarks/baseline.scm: Add benchmark for `#t x 1e7'. * benchmarks/fileutils.scm: Bump all iteration counts 10x. 2007-04-10 Thien-Thi Nguyen * benchmarks/common-head.scm (fso): Use `force-output'. 2007-04-10 Thien-Thi Nguyen * Makefile.in (mktea): New var. (dist-tea): New target. 2007-04-10 Thien-Thi Nguyen * autogen.sh: No longer symlink mkinstalldirs. * Makefile.in (extradist): Remove mkinstalldirs. (install): Use `$(srcdir)/install-sh -d'. * doc/Makefile.in (mkinstalldirs): Use `$(top_srcdir)/install-sh -d'. 2007-04-10 Thien-Thi Nguyen Fix module resolution bug. Reported by Issac Trotts. * benchmarks/dirs.mk.in: New file. * configure.in (AC_CONFIG_FILES): Add benchmarks/dirs.mk. * benchmarks/Makefile: Include dirs.mk. (run): New var. (benchmarks): Use $(run). * benchmarks/common-head.scm: Prepend `${srcdir-.}/..' to `%load-path'. 2007-04-10 Thien-Thi Nguyen * benchmarks/common-head.scm: Use `write' to output `%load-path'. 2007-04-10 Thien-Thi Nguyen Handle variation in ls(1) return value on failure. Reported by Issac Trotts. * tests/call-process.test (check-cp): New proc. Convert tests to use it. * tests/call-process-to-buffers.test (check-cp->b, check-cp->b-w/input): Check for zero/nonzero instead of for specific return value. 2007-04-09 Thien-Thi Nguyen * configure.in (AC_INIT): Bump version to "0.49" for release. 2007-04-09 Thien-Thi Nguyen * configure.in (AC_INIT): Add third arg. 2007-04-09 Thien-Thi Nguyen * ttn/markup.scm (css-tree): Rename from `format-css'. Also, expect alternating attribute/value in RULE top-level instead of 2-list (attribute value). * doc/ttn-pers-scheme.twerp (markup): Add @twerpdoc for `css-tree'. Remove the one for `format-css'. 2007-04-09 Thien-Thi Nguyen * ttn/flatten.scm (flatten-to): New proc, exported. * doc/ttn-pers-scheme.twerp (flatten): Add @twerpdoc for `flatten-to'. 2007-04-09 Thien-Thi Nguyen * ttn/markup.scm (:SEMI, :COLON, :COMMA): New named strings. (format-css): New proc, exported. * doc/ttn-pers-scheme.twerp (markup): Add @twerpdoc for `format-css'. 2007-04-08 Thien-Thi Nguyen * ttn/html-data2.scm: New file. * doc/Makefile.in (STEMS): Add html-data2. * doc/ttn-pers-scheme.twerp (Top): Add to detailed menu "html-data2". (In Theory): Add to menu "html-data2". (html-data2): New node/section. 2007-04-08 Thien-Thi Nguyen * doc/ttn-pers-scheme.twerp (html-data): Fix omission bug: Add @findex for `link', `tt', `pre', `div' and `span'. 2007-04-08 Thien-Thi Nguyen * ttn/markup.scm (peel): Use `string<-kw/sym'. (symbol<-kw/sym, string<-kw/sym): New procs, exported. * doc/ttn-pers-scheme.twerp (markup): Add @twerpdoc for `symbol<-kw/sym' and `string<-kw/sym'. 2007-04-08 Thien-Thi Nguyen * ttn/markup.scm (expand): Handle #:xbsc. 2007-04-07 Thien-Thi Nguyen * configure.in (AC_INIT): Bump version to "0.48" for release. 2007-04-07 Thien-Thi Nguyen * ttn/html-data.scm (div, span, link): New procs, exported. (pre): New proc, exported. (tt-pre): Use `pre'. 2007-04-07 Thien-Thi Nguyen * ttn/listener.scm (make-listener): Handle #:catch-tag. 2007-04-07 Thien-Thi Nguyen * ttn/email-log-if-fail.scm: Doc tightening. (email-log-if-fail): Use `status:exit-val'. 2007-04-07 Thien-Thi Nguyen * ttn/bufutils.scm: Autoload (ttn expand-file-name). (fexp): New proc. (find-file, write-buffer, write-buffer-if-changed): Use it. 2007-04-07 Thien-Thi Nguyen * ttn/flatten.scm (flatten): Do nothing for the null string. 2007-04-07 Thien-Thi Nguyen * doc/ttn-pers-scheme.twerp (Top): Add @detailmenu of all modules. 2007-04-07 Thien-Thi Nguyen * ttn/html-world.scm (profile): Delete proc. (randomly-hyperlinked): New proc, exported. (html-world.html-data): Use `randomly-hyperlinked'. * doc/ttn-pers-scheme.twerp (html-world): Add @twerpdoc for `randomly-hyperlinked'. 2007-04-06 Thien-Thi Nguyen * ttn/html-world.scm (html-world.html-data): Use `file-lines'. 2007-04-06 Thien-Thi Nguyen * ttn/html-world.scm (string<-image-command): New proc, exported. (text-globe-command): Delete proc. (html-world.html-world): Use `string<-image-command'. * doc/ttn-pers-scheme.twerp (html-world): Add @twerpdoc for `string<-image-command'. 2007-04-06 Thien-Thi Nguyen * ttn/shell-command-to-string.scm: Autoload (ttn expand-file-name). (read-lines): New proc. (shell-command-to-list): Use `read-lines'. (shell-command-to-string): Use `shell-command->list'. (file-lines): New proc, exported. * doc/ttn-pers-scheme.twerp (shell-command-to-string): Add @findex for `file-lines'. 2007-04-06 Thien-Thi Nguyen * ttn/html-world.scm (html-world): Call `html-world.html-data'. (html-world.html-data): Do the work directly. 2007-04-06 Thien-Thi Nguyen * doc/ttn-pers-scheme.twerp (html-world): Move `html-world' after `html-world.html-data'. 2007-04-06 Thien-Thi Nguyen * ttn/html-world.scm (html-world.html-world): Handle #:link-tree: If specified, use it instead of of `href'. Also, remove keys from `links' passed to `html-world'. 2007-04-06 Thien-Thi Nguyen * ttn/html-world.scm (as-chunks): Delete proc. (*rx-vec*): New data structure: vector of compiled regexps. (profile): New proc. (html-world): Use `profile'. 2007-04-06 Thien-Thi Nguyen * ttn/sanity.scm (ppsrc): New proc, exported. * doc/ttn-pers-scheme.twerp (sanity): Add @twerpdoc for `ppsrc'. 2007-04-06 Thien-Thi Nguyen * ttn/personal-pgtable.scm: Use module (ice-9 mapping). (*cache*): New mapping. (all-defs): Use `*cache*'. 2007-04-05 Thien-Thi Nguyen * ttn/abbrev-tree.scm * ttn/call-process-to-buffers.scm * ttn/call-process.scm * ttn/cron.scm * ttn/cvsutils.scm * ttn/dirutils.scm * ttn/expand-file-name.scm * ttn/gpgutils.scm * ttn/html-data.scm * ttn/optargs-kw-utils.scm * ttn/personal-pgtable.scm * ttn/rcsutils.scm * ttn/read-text-db-table.scm * ttn/rlog-scan-proc.scm * ttn/rw-vcg.scm * ttn/scat.scm * ttn/sgf.scm * ttn/shell-command-to-string.scm * ttn/shellutils.scm * ttn/spewutils.scm: Convert commentary to texinfo. * doc/ttn-pers-scheme.twerp: Add some @twerpdoc entries. Throughout, convert `@twerpcommentary (verbatim ...)' to `@twerpcommentary (include ...)'. 2007-04-05 Thien-Thi Nguyen * doc/Makefile.in ($(PACKAGE).texi): No longer do sed(1) post-processing. Also, pass `--scheme-implied' to twerp2texi. 2007-04-05 Thien-Thi Nguyen * ttn/markup.scm (expand): Use `accumulator'. 2007-04-05 Thien-Thi Nguyen * tests/message-from-ttn.txt, tests/gpgutils.test: Update. 2007-04-05 Thien-Thi Nguyen * ttn/html-data.scm: Use module (ttn markup). Rewrite. 2007-04-05 Thien-Thi Nguyen * ttn/markup.scm: New file. * doc/Makefile.in (STEMS): Add markup. * doc/ttn-pers-scheme.twerp (In Theory): Add menu item "markup". (markup): New node/section. 2007-04-05 Thien-Thi Nguyen * ttn/html-data.scm (title): Convert single arg into a rest-arg. 2007-04-04 Thien-Thi Nguyen * ttn/html-data.scm (tt): New proc, exported. 2007-03-26 Thien-Thi Nguyen * ttn/dirutils.scm (save-cwd): Use `define-macro', `return-it' and `(let () (unspecified) ...)'. (with-cwd): New macro, exported. * doc/ttn-pers-scheme.twerp (dirutils): Add @twerpmacdoc for `with-cwd'. Also, add intro for `save-cwd' and `with-cwd'. 2007-03-01 Thien-Thi Nguyen * ttn/filesystem-tree-to-list.scm (put, get): Delete proc aliases. (zop): Delete proc. (dfs-collect-proc zop): New internal proc. (dfs-collect-proc): Use `make-object-property'. 2007-02-22 Thien-Thi Nguyen * ttn/html-world.scm (ppmforge-ppm-command): New proc. (html-world): Add handling for `gen' value #:ppmforge. Also, make it the default. (html-world.html-world): Make `gen' #:ppmforge the default. 2007-02-20 Thien-Thi Nguyen * ttn/html-world.scm (xplanet-ppm-command): Specify `-num_times'. 2007-02-19 Thien-Thi Nguyen * doc/ttn-pers-scheme.twerp: Update URLs for gnuvola.org. * Makefile.in (METAINFO): Update `Complaints-To' value. 2007-02-19 Thien-Thi Nguyen * doc/Makefile.in (datarootdir): New var. 2007-02-19 Thien-Thi Nguyen * tests/message-from-ttn.txt, tests/gpgutils.test: Update. * configure.in: Update prereqs for testing (ttn gpgutils). 2007-02-19 Thien-Thi Nguyen * ttn/html-world.scm (xplanet-ppm-command): No longer specify `-cloud_threshold'. 2007-02-16 Thien-Thi Nguyen * ttn/moduleutils.scm: Delete file. * doc/ttn-pers-scheme.twerp (In Theory): Remove "moduleutils" from menu. (moduleutils): Delete node. * doc/Makefile.in (STEMS): Remove moduleutils. * Makefile.in (retired): Add moduleutils.scm. 2007-02-16 Thien-Thi Nguyen * ttn/read-text-db-table.scm (read-text-db-table): Remove quoting support for text db table specification. 2007-02-16 Thien-Thi Nguyen * ttn/stringutils.scm: Delete file. * doc/ttn-pers-scheme.twerp (In Theory): Remove "stringutils" from menu. (stringutils): Delete node. * doc/Makefile.in (STEMS): Remove stringutils. * Makefile.in (retired): Add stringutils.scm. * tests/stringutils.test: Delete file. * tests/Makefile.in (TESTS): Remove stringutils.test. 2007-02-16 Thien-Thi Nguyen * bin/snarf-docs: No longer use module (ttn stringutils). Instead, use module (srfi srfi-13). (process-file): Use `string-join'. 2007-02-16 Thien-Thi Nguyen * bin/snarf-docs: Use keywords in `use-modules' form. 2007-02-16 Thien-Thi Nguyen * ttn/abbrev-tree.scm, ttn/grep.scm, ttn/html-world.scm * ttn/optargs-kw-utils.scm, ttn/parse-rfc822.scm * ttn/sgf.scm: Use module (ice-9 accumulate). (accumulator/one-only): Delete proc. 2007-01-29 Thien-Thi Nguyen * bin/steal-this-package (file->string): Use `open-input-file'. (string->file): Use `open-output-file'. 2007-01-26 Thien-Thi Nguyen * ttn/listener.scm (make-listener): Use `PF_INET'. 2006-10-07 Thien-Thi Nguyen * ttn/abbrev-tree.scm (scrub, split-first-word) (list->sep-string): No longer export. * doc/ttn-pers-scheme.twerp (abbrev-tree): Remove @twerpdoc entries for `scrub', `split-first-word' and `list->sep-string'. 2006-10-01 Thien-Thi Nguyen * ttn/echo.scm: Delete file. * doc/ttn-pers-scheme.twerp (In Theory): Remove "echo" from menu. (echo): Delete node. (THUD): No longer refer to deleted node. Also, no longer mention `echo' in discussion. * doc/Makefile.in (STEMS): Remove echo. * Makefile.in (retired): Add echo.scm. * tests/echo.test: Delete file. * tests/Makefile.in (TESTS): Remove echo.test. 2006-08-06 Thien-Thi Nguyen * ttn/sgf.scm (accumulator/one-only): New proc. (compute-rproc, read-sgf-file, nodes, get): Use it. * ttn/optargs-kw-utils.scm (accumulator/one-only): New proc. (remove-keys): Use it. * ttn/grep.scm: No longer use module (ice-9 common-list). (accumulator/one-only): New proc. (grepper-proc): Take L/PICKER instead of PICKER. Its return value's car is the count, cdr is the list. (grep len/pick): New internal proc. Use instead of `pick'. (grep-matches len/pick-mappings): New internal proc. Use instead of `pick-mappings'. (grep-l): Use `accumulator/one-only'. * ttn/parse-rfc822.scm (accumulator/one-only): New proc. (parse-lines add-header-maybe!): New internal proc. (parse-lines): Use new procs. * ttn/html-world.scm (accumulator/one-only): New proc. (as-chunks): Use it. * ttn/abbrev-tree.scm (accumulator/one-only): New proc. (scrub): Use it. 2006-08-06 Thien-Thi Nguyen * tests/dirutils.test: No longer use module (ttn slice). Instead, use `list-head'. * bin/collect-lessons, tests/gpgutils.test: No longer use module (ttn find-file). Instead, use module (ttn bufutils). 2006-08-05 Thien-Thi Nguyen * modules.af (non-critical-external): Remove (database pgsql psql). 2006-08-01 Thien-Thi Nguyen * ttn/html-world.scm (text-globe-command): Use pnminvert(1). * modules.af (programs): For (ttn html-world), replace "mogrify" with "pnminvert". 2006-07-22 Thien-Thi Nguyen * configure.in (AC_INIT): Bump version to "0.47" for release. 2006-07-22 Thien-Thi Nguyen * ttn/rw-vcg.scm (sexp->vcg.sed): Handle "classname" and "infoname" specially. 2006-07-18 Thien-Thi Nguyen * ttn/rw-vcg.scm (vcg->sexp.sed): Handle spaces between keyword and colon. 2006-07-18 Thien-Thi Nguyen * ttn/rw-vcg.scm (vcg-sexp.sed, read-vcg-file): Handle "classname" and "infoname" specially. 2006-06-11 Thien-Thi Nguyen * tests/edit.test * tests/find-file.test * tests/save-buffer.test * tests/slice.test * tests/write-buffer.test: Delete files. * tests/Makefile.in (TESTS): Remove edit.test, find-file.test, save-buffer.test, write-buffer.test and slice.text. * tests/dirutils.test (t.test, t.scm): Update expected file lists. * benchmarks/fileutils.scm: Use module (ttn bufutils). No longer use modules (ttn find-file) or (ttn save-buffer). Recompute buffer's associated filename instead of looking at the `filename' object property. 2006-06-11 Thien-Thi Nguyen * ttn/find-file.scm * ttn/flatten-to-buffer.scm * ttn/save-buffer.scm * ttn/write-buffer-if-changed.scm * ttn/write-buffer.scm: Delete files. * doc/ttn-pers-scheme.twerp (In Theory): Remove "find-file", "flatten-to-buffer", "save-buffer", "write-buffer-if-changed" and "write-buffer" from menu. (find-file, flatten-to-buffer, save-buffer) (write-buffer-if-changed, write-buffer): Delete nodes. (Website Maintenance): Convert @ref to deleted nodes into one @ref to "bufutils". (Learning to Let Go): Document departed modules. * doc/Makefile.in (STEMS): Remove find-file, flatten-to-buffer, save-buffer, write-buffer-if-changed, and write-buffer. * Makefile.in (retired): Add find-file.scm, flatten-to-buffer.scm, save-buffer.scm, write-buffer-if-changed.scm, and write-buffer.scm. 2006-06-11 Thien-Thi Nguyen * ttn/split-mbox.scm: Delete file. * doc/ttn-pers-scheme.twerp (In Theory): Remove "split-mbox" from menu. (split-mbox): Delete node. * doc/Makefile.in (STEMS): Remove split-mbox. * Makefile.in (retired): Add split-mbox.scm. 2006-06-11 Thien-Thi Nguyen * ttn/edit.scm: Delete file. * doc/ttn-pers-scheme.twerp (In Theory): Remove "edit" from menu. (edit): Delete node. (Learning to Let Go): Document departed module. * doc/Makefile.in (STEMS): Remove edit. * Makefile.in (retired): Add edit.scm. 2006-06-11 Thien-Thi Nguyen * ttn/slice.scm: Delete file. * doc/ttn-pers-scheme.twerp (In Theory): Remove "slice" from menu. (slice): Delete node. * doc/Makefile.in (STEMS): Remove slice. * Makefile.in (retired): Add slice.scm. 2006-06-11 Thien-Thi Nguyen * ttn/defvar.scm: Delete file. * doc/ttn-pers-scheme.twerp (In Theory): Remove "defvar" from menu. (defvar): Delete node. (THUD): Convert @pxref to link to "Learning to Let Go". (Learning to Let Go): Document departed module. * doc/Makefile.in (STEMS): Remove defvar. * Makefile.in (retired): Add defvar.scm. 2006-05-31 Thien-Thi Nguyen * rcsutils.scm (group-files-by-rcs-state): Delete proc. * cvsutils.scm (group-files-by-cvs-state): Delete proc. * doc/ttn-pers-scheme.twerp (cvsutils): Remove @twerpdoc for `group-files-by-cvs-state'. (rcsutils): Likewise for `group-files-by-rcs-state'. 2006-02-23 Thien-Thi Nguyen * configure.in (AC_INIT): Bump version to "0.46" for release. 2006-02-23 Thien-Thi Nguyen * bufutils.scm: Autoload module (ttn flatten). 2006-02-23 Thien-Thi Nguyen * ttn/shellutils.scm: No longer use module (ttn echo) or (ttn stringutils). Instead, use modules (srfi srfi-13) and (srfi srfi-14). (*not-space*): New char-set object. (split/space, join/space): New procs. (system*): Use `join/space'. (args->normalized-list): Use `join/space' adn `split/space'. * ttn/parse-rfc822.scm: No longer use module (ttn stringutils). Instead, use module (srfi srfi-13). (string-append/separator): New proc. 2006-02-23 Thien-Thi Nguyen * ttn/spewutils.scm: No longer use module (ttn flatten-to-buffer) or module (ttn write-buffer-if-changed). Instead, use module (ttn bufutils). (spew-html!): Use `insert-tree!'. 2006-02-22 Thien-Thi Nguyen * ttn/grep.scm (grep-l): Use `append!'. * ttn/shell-command-to-string.scm (shell-command-to-list): Likewise. * ttn/expand-file-name.scm (substitute-env-vars): Likewise. * ttn/read-text-db-table.scm (read-text-db-table): Likewise. 2006-02-22 Thien-Thi Nguyen * ttn/bufutils.scm: New file. * tests/bufutils.test: New file. * tests/Makefile.in (TESTS): Add bufutils.test. * doc/ttn-pers-scheme.twep (In Theory): Add menu item "bufutils". (bufutils): New node/section. * Makefile.in (STEMS): Add bufutils. 2006-02-22 Thien-Thi Nguyen * ttn/gpgutils.scm: No longer use module (ice-9 gap-buffer). (msg->gb): Delete proc. (clearsign-message-interactively, verify-signed-message): Use `editing-buffer' directly. 2006-02-22 Thien-Thi Nguyen * ttn/flatten.scm (flatten): Use `null?' and `pair?'. 2006-02-21 Thien-Thi Nguyen * ttn/spewutils.scm (update-all-pages!): Use `fs'. 2006-02-21 Thien-Thi Nguyen * doc/ttn-pers-scheme.twerp: Combine indexes into "Index". Add missing @findex entries. Convert @fnindex to @findex. 2006-02-20 Thien-Thi Nguyen * ttn/rlog-scan-proc.scm: Use module (srfi srfi-1). (group-logs-by): New proc, exported. * doc/ttn-pers-scheme.twerp (rlog-scan-proc): Add blurb and @twerpdoc for `group-logs-by'. * ttn/rcsutils.scm: Add `group-logs-by' to autoload trigger list. (group-files-by-rcs-state, display-rcs-state-summary): Use `group-logs-by'. * ttn/cvsutils.scm (group-files-by-cvs-state) (display-cvs-state-summary): Use `group-logs-by'. 2006-02-19 Thien-Thi Nguyen * ttn/cvsutils.scm (group-files-by-cvs-state): Use `assq-ref', `assq'. Also, fix bug: Return state as symbol, not string. * ttn/rcsutils.scm (group-files-by-rcs-state): Likewise. Also, fix omission bug: Export `group-files-by-rcs-state'. 2006-02-15 Thien-Thi Nguyen * ttn/html-data.scm (h1, h2, h3, h4, h5, h6, b, li, table, tr, td): Convert single arg into a rest-arg. 2006-01-30 Thien-Thi Nguyen * configure.in (AC_INIT): Bump version to "0.45" for release. 2006-01-30 Thien-Thi Nguyen * ttn/cvsutils.scm: No longer use module (ice-9 regex). Use module (ttn rlog-scan-proc). (cvslog-scan): Use `rlog-scan-proc'. 2006-01-29 Thien-Thi Nguyen * ttn/rlog-scan-proc.scm (*rlog-scan-table*): For `date', handle CVS 1.12 change in output format: allow hyphens between date components, as well as optional time zone info. 2006-01-29 Thien-Thi Nguyen * tests/parse-rfc822.test: No longer use module (ttn echo). 2006-01-29 Thien-Thi Nguyen * ttn/cvsutils.scm (group-files-by-cvs-state): Fix omission bug: export. 2006-01-29 Thien-Thi Nguyen * ttn/cvsutils.scm: No longer use module (ttn echo). (display-cvslog, display-cvs-state-summary): Use `simple-format'. 2006-01-07 Thien-Thi Nguyen * ttn/display-table.scm: Delete file. * doc/ttn-pers-scheme.twerp (In Theory): Remove "display-table" from menu. (display-table): Delete node. (Website Maintenance): Convert @ref to name for departed module. (Learning to Let Go): Document departed module. * doc/Makefile.in (STEMS): Remove display-table. * Makefile.in (retired): Add display-table.scm. 2006-01-07 Thien-Thi Nguyen * doc/ttn-pers-scheme.twerp (filesystem-tree-to-list): Add @twerpcommentary. 2005-12-19 Thien-Thi Nguyen * ttn/collect-files-sorted-by-mtime.scm: Delete file. * doc/ttn-pers-scheme.twerp (In Theory): Remove "collect-files-sorted-by-mtime" from menu. (collect-files-sorted-by-mtime): Delete node. (Website Maintenance): Convert @ref to name for departed module. (Learning to Let Go): Document departed module. * doc/Makefile.in (STEMS): Remove collect-files-sorted-by-mtime. * Makefile.in (retired): Add collect-files-sorted-by-mtime.scm. 2005-09-04 Thien-Thi Nguyen * configure.in (AC_INIT): Bump version to "0.44" for release. 2005-09-04 Thien-Thi Nguyen * ttn/read-text-db-table.scm (text-db-table-config): Handle #:closure. (read-text-db-table): Document flag #:closure. 2005-09-03 Thien-Thi Nguyen * doc/ttn-pers-scheme.twerp (collect-files-sorted-by-mtime): (echo, stringutils): Mention expiration. 2005-08-26 Thien-Thi Nguyen * ttn/email-log-if-fail.scm (MAIL): New data structure. (set-system-mail-program!): New proc, exported. * doc/ttn-pers-scheme.twerp (email-log-if-fail): Add @twerpdoc for `set-system-mail-program!'. 2005-08-23 Thien-Thi Nguyen * doc/ttn-pers-scheme.twerp: Fix typo: Remove parens from around @fnindex arg. (Top): Add "Data Structures Index" to the menu. (sgf): Fix bug: Use @defvr and type name for data structures. (Data Structures Index): New node. (Website Maintenance): Restore old (ttn FOO) names. (Learning to Let Go): Document new module names, where applicable. (read-text-db-table): Add @fnindex for `text-db-table-meta'. 2005-08-23 Thien-Thi Nguyen * ttn/pgtype.scm: Delete file. * ttn/pgtable.scm: Delete file. * ttn/pgmeta.scm: Delete file. * doc/ttn-pers-scheme.twerp (In Theory): Remove "pgmeta", "pgtable" and "pgtype" from menu. (pgmeta, pgtable, pgtype): Delete nodes. (Website Maintenance): Use module names from Guile-PG. (Learning to Let Go): Document departed modules. * doc/Makefile.in (STEMS): Remove pgmeta, pgtable and pgtype. * Makefile.in (retired): Add pgmeta.scm, pgtable.scm and pgtype.scm. 2005-08-23 Thien-Thi Nguyen * doc/ttn-pers-scheme.twerp (In Theory): Remove "psql" from menu. (psql): Delete node/section. (Website Maintenance): Mention module (database postgres-gxrepl). (Learning to Let Go): Add info for (ttn psql). 2005-08-23 Thien-Thi Nguyen * Makefile.in (retired): Add psql.scm. 2005-08-23 Thien-Thi Nguyen * ttn/read-text-db-table.scm (text-db-table-config): Take FLAGS as first arg. For flag #:list, return record as a list, not as an alist. (read-text-db-table): Take rest-arg FLAGS. Pass it opaquely. 2005-08-22 Thien-Thi Nguyen * ttn/html-data.scm (smhdwy-since): New proc, exported. 2005-08-20 Thien-Thi Nguyen * doc/ttn-pers-scheme.twerp (Website Maintenance): Say "Guile-PG". 2005-08-20 Thien-Thi Nguyen * ttn/call-process-to-buffers.scm: From module (ice-9 gap-buffer), select `gb->port!'. (call-process->buffers): Use `gb->port!'. * ttn/write-buffer.scm: From module (ice-9 gap-buffer), select `gb->port!'. (write-buffer): Use `gb->port!'. 2005-08-20 Thien-Thi Nguyen * configure.in (AC_INIT): Bump version to "0.43" for release. 2005-08-20 Thien-Thi Nguyen * doc/ttn-pers-scheme.twerp: Remove empty variable index. 2005-08-20 Thien-Thi Nguyen * ttn/read-text-db-table.scm (text-db-table-config): Read and handle `meta'. (read-text-db-table): Set `text-db-table-meta' as side effect. (text-db-table-meta): New object property, exported. 2005-08-20 Thien-Thi Nguyen * ttn/gap-buffer.scm: Delete file. * doc/ttn-pers-scheme.twerp (In Theory): Remove "gap-buffer" from menu. (gap-buffer): Delete node/section. (Website Maintenance): Mention (ice-9 ftw) and (ice-9 gap-buffer). (Learning to Let Go): Add blurb on (ttn gap-buffer). * doc/Makefile.in (STEMS): Delete gap-buffer. * benchmarks/gap-buffer.scm: Delete file. * benchmarks/Makefile (benchmarks): Delete gap-buffer. * benchmarks/fileutils.scm: Use module (ice-9 gap-buffer). * Makefile.in (retired): Add gap-buffer.scm. 2005-08-19 Thien-Thi Nguyen * ttn/eformat.scm: Delete file. * tests/eformat.test: Delete file. * tests/Makefile.in (TESTS): Delete eformat.test. * doc/ttn-pers-scheme.twerp (In Theory): Delete "eformat" from menu. (eformat): Delete node. (Learning to Let Go): Add blurb on (ttn eformat). * doc/Makefile.in (STEMS): Delete eformat. * Makefile.in (retired): Add eformat.scm. * tests/dirutils.test: No longer refer to "eformat.test" or "eformat.scm". 2005-08-19 Thien-Thi Nguyen * doc/ttn-pers-scheme.twerp (In Practice): Add "Learning to Let Go" to menu. (THUD): Mention recent un-languishing. (Learning to Let Go): New node/section. 2005-08-19 Thien-Thi Nguyen * benchmarks/common-head.scm (fs, fso): New procs. (imult, display-timing, time-execution): Use `fso'. * benchmarks/baseline.scm: Use `fso'. Also, use "~A" in format string instead of "%A". * benchmarks/gap-buffer.scm: Use `fs'. * benchmarks/fileutils.scm: Likewise. 2005-08-19 Thien-Thi Nguyen * ttn/ftw.scm: Delete file. * tests/ftw.test: Delete file. * tests/Makefile.in (TESTS): Delete ftw.test. * doc/ttn-pers-scheme.twerp (In Theory): Delete "ftw" from menu. (ftw): Delete node. (Website Maintenance): Remove @ref to "ftw". * doc/Makefile.in (STEMS): Delete "ftw". * benchmarks/ftw.scm: Delete file. * benchmarks/Makefile (benchmarks): Delete ftw. * Makefile.in (retired): New var. (install): Delete files listed in $(retired). * tests/filesystem-tree-to-list.test (testdir, testdir-file): Move here from defunct ftw.test. (bogusdir, badsym, goodsym, loop1sym, loop2sym): Likewise. (already?, make-testdir-files, make-a-mess!, clean-up!): Likewise. 2005-08-19 Thien-Thi Nguyen * configure.in: No longer require (guile-user) to export `eval-in-module'. 2005-08-19 Thien-Thi Nguyen * doc/ttn-pers-scheme.twerp (abbrev-tree): Rewrite. 2005-08-19 Thien-Thi Nguyen * ttn/listener.scm (goof): Make return value unspecified. (make-listener): Make first arg specify `bind' args. Handle integer as backwards-compatible special case. Also, handle new keyword #:concurrency. Operate serially by default. 2005-08-18 Thien-Thi Nguyen * ttn/dirutils.scm (file-newer-than-file?): New proc, exported. * doc/ttn-pers-scheme.twerp (dirutils): Add @twerpdoc for it. 2005-08-17 Thien-Thi Nguyen * ttn/sanity.scm: From module (ice-9 gumm), select `fob-info'. (give-me-a-sane-environment-please!): Use `fob-info'. 2005-08-17 Thien-Thi Nguyen * ttn/dirutils.scm (filtered-files-in-vicinity): Handle options #:filter-prefixed and #:collect-nodir. 2005-07-30 Thien-Thi Nguyen * ttn/grep.scm (grepper-proc): Handle keywords. Update documentation for `grep' and `grep-matches'. 2005-06-05 Thien-Thi Nguyen * configure.in (AC_INIT): Bump version to "0.42" for release. 2005-05-20 Thien-Thi Nguyen * ttn/read-text-db-table.scm: No longer use module (ice-9 gumm). (TDT-eval): Delete proc. (read-text-db-table): Handle both `quote'd and non-`quote'd args in the configuration form. 2005-05-20 Thien-Thi Nguyen * ttn/read-text-db-table.scm (read-text-db-table): Handle string arg as filename. 2005-05-20 Thien-Thi Nguyen * ttn/read-text-db-table.scm: Commentary munging. (read-text-db-table): Add pre-form doc comment. * doc/ttn-pers-scheme.twerp (read-text-db-table): Add @twerpdoc for `read-text-db-table'. 2005-05-20 Thien-Thi Nguyen * ttn/cron.scm (cron!): New macro, exported. * doc/ttn-pers-scheme.twerp (cron): Add @twerpmacdoc for `cron!'. 2005-04-02 Thien-Thi Nguyen * configure.in (AC_INIT): Bump version to "0.41" for release. 2005-04-02 Thien-Thi Nguyen * ttn/read-text-db-table.scm: Autoload (srfi srfi-13). (text-db-table-config): Add `rest-lines-trim' handling. 2005-03-31 Thien-Thi Nguyen * configure.in: Use AC_CONFIG_FILES. 2005-03-18 Thien-Thi Nguyen * ttn/html-data.scm (html, body): Omit newline before end tag. (p): Take optional arg, use begin/end tag style if non-null. 2005-03-18 Thien-Thi Nguyen * ttn/html-world.scm (text-globe-command): Also translit #\& and #\> chars. 2005-03-10 Thien-Thi Nguyen * ttn/cron.scm (cron): Use `define-macro' and `simple-format'. * ttn/cvsutils.scm (cvs-files-under): Use `in-vicinity'. * ttn/email-log-if-fail.scm (email-log-if-fail): Use `simple-format'. * ttn/html-world.scm (concat): Delete alias. (fs): New proc. (xearth-ppm-command): Use `fs'. (xplanet-ppm-command): Likewise. (text-globe-command): Likewise. (as-chunks): Likewise. (html-world): Likewise. * ttn/personal-pgtable.scm (*pgtable-defs*): Use `in-vicinity'. * ttn/rcsutils.scm (fso): New proc. (display-rlog, display-rcs-state-summary): Use `fso'. * ttn/rw-vcg.scm (fs): New proc. (vcg->sexp.sed, read-vcg-file, write-vcg-file): Use `fs'. * ttn/sgf.scm (analyze): Use `simple-format'. * ttn/sanity.scm (give-me-a-sane-environment-please!): Likewise. * ttn/spewutils.scm (fs): New proc. (spew-html!, update-all-pages!): Use `fs'. 2005-03-10 Thien-Thi Nguyen * ttn/shellutils.scm (sysfmt): Use `simple-format'. 2005-02-20 Thien-Thi Nguyen * doc/ttn-pers-scheme.twerp (rw-vcg): Add @twerpdoc for `read-vcg-file' and `write-vcg-file'. 2005-02-20 Thien-Thi Nguyen * ttn/sgf.scm (display-in-emacs-syntax): Delete proc. * doc/ttn-pers-scheme.twerp (sgf): Remove @twerpdoc for `display-in-emacs-syntax'. 2005-02-19 Thien-Thi Nguyen * ttn/rw-vcg.scm: New file. * doc/ttn-pers-scheme.twerp (In Theory): Add menu item "rw-vcg". (rw-vcg): New node/section. * doc/Makefile.in (STEMS): Add rw-vcg. 2005-01-28 Thien-Thi Nguyen * ttn/sgf.scm (*properties*): For `GM', change range to include 6, and extend to 20. 2005-01-27 Thien-Thi Nguyen * ttn/sgf.scm (*properties*): Update name of `LT'. 2005-01-04 Thien-Thi Nguyen * configure.in (PACKAGE_VERSION): Bump to "0.40" for release. 2005-01-03 Thien-Thi Nguyen * meta/.cvsignore: New file. 2005-01-03 Thien-Thi Nguyen * ttn/html-data.scm (q): New proc, exported. (em, strong, dfn, code, samp, kbd, var, cite, abbr): Likewise. 2005-01-03 Thien-Thi Nguyen * ttn/spewutils.scm: Update selection from module (ice-9 gumm). (spewutils-eval): Delete proc. (eval-html-data-file): Use `eval-in-module' and `current-module'. 2005-01-03 Thien-Thi Nguyen * configure.in (PACKAGE_VERSION): Bump to "0.39" for release. 2005-01-03 Thien-Thi Nguyen * ttn/read-text-db-table.scm: Use module (ice-9 gumm). (read-TDT-module): Delete var. (TDT-eval): New proc. (read-text-db-table): Use `TDT-eval'. * ttn/spewutils.scm: Use module (ice-9 gumm). (spewutils-eval): New proc. (eval-html-data-file): Use `spewutils-eval'. 2005-01-01 Thien-Thi Nguyen * configure.in (GNUPG): For this variable's value, try two different autofrisk-set variables, the newer variant first. 2004-12-18 Thien-Thi Nguyen * ttn/gpgutils.scm: No longer autoload module (ttn edit). Instead, autoload module (ice-9 editing-buffer). * bin/collect-lessons: No longer use module (ttn edit). Use module (ice-9 editing-buffer), instead. * tests/edit.test: Use `gb-search-forward' and `gb-search-backward' directly. * tests/parse-rfc822.test: Update `body' check. 2004-12-18 Thien-Thi Nguyen * ttn/edit.scm: Rewrite as (ice-9 editing-buffer) re-export. * doc/ttn-pers-scheme.twerp (edit): Remove all @twerpmacdoc lines. 2004-12-14 Thien-Thi Nguyen * ttn/html-data.scm (blockquote): New proc, exported. 2004-12-07 Thien-Thi Nguyen * ttn/sanity.scm: Autoload (ice-9 pretty-print) on trigger `pretty-print'. (pp): New proc, exported. * doc/ttn-pers-scheme.twerp (sanity): Add @twerpdoc for `pp'. 2004-12-06 Thien-Thi Nguyen * meta: New dir. * meta/GNUmakefile: New file. * meta/uses-prefix.scm: New file. * autogen.sh: Do "make" in subdir `meta' right before autofrisk. * configure.in: Check that Guile supports `#:prefix' in `use-modules'. If not, warn and arrange to skip "make check" for affected modules. * Makefile.in (extradist): Add meta/uses-prefix.list. 2004-12-05 Thien-Thi Nguyen * ttn/sanity.scm: Use module (ice-9 gumm). Use module (ttn expand-file-name). (give-me-a-sane-environment-please!): Change repl prompt. Also, extend read-hash table to handle `#^Ffoo'. 2004-12-05 Thien-Thi Nguyen * ttn/expand-file-name.scm (expand-file-name-substituting-env-vars): New proc, exported. * ttn/ttn-pers-scheme.twerp (expand-file-name): Add @twerpdoc for `expand-file-name-substituting-env-vars'. 2004-12-05 Thien-Thi Nguyen * ttn/sanity.scm (give-me-a-sane-environment-please!): Change repl prompt. 2004-12-05 Thien-Thi Nguyen * ttn/expand-file-name.scm: Autoload (ice-9 regex) on triggers `match:start', `match:substring' and `match:end'. (substitute-env-vars): New proc, exported. * doc/ttn-pers-scheme.twerp (expand-file-name): Add intro blurb and @twerpdoc for `substitute-env-vars'. 2004-12-05 Thien-Thi Nguyen * ttn/stringutils.scm (string-quoted/escaped): Doc fix. 2004-12-05 Thien-Thi Nguyen * ttn/grep.scm: Autoload (ice-9 rdelim) on trigger `read-line'. (grep-l): New proc, exported. * doc/ttn-pers-scheme.twerp (grep): Add intro blurb. Add @twerpdoc for `grep-l'. 2004-12-04 Thien-Thi Nguyen * ttn/dirutils.scm (extract-stem-proc): Take optional arg `transform'. Use it to configure the return value (if not #f). 2004-12-03 Thien-Thi Nguyen * configure.in (PACKAGE_VERSION): Bump to "0.38" for release. 2004-12-03 Thien-Thi Nguyen * ttn/abbrev-tree.scm: Convert `export' form into #:export clause in `define-module'. * ttn/shell-command-to-string.scm: Likewise. * ttn/cvsutils.scm: Likewise. * ttn/spewutils.scm: Likewise. * ttn/rcsutils.scm: Likewise. * ttn/rlog-scan-proc.scm: Likewise. * ttn/mixp.scm: Likewise. * ttn/call-process.scm: Likewise. * ttn/edit.scm: Convert `export' form into #:export and #:export-syntax clauses in `define-module'. * ttn/moduleutils.scm: Likewise. * ttn/cron.scm: Convert `export' form into #:export-syntax clause in `define-module'. * ttn/scat.scm: Convert `export' form into #:export clause in `define-module'. * ttn/echo.scm: Likewise. * ttn/slice.scm: Likewise. Also, write commentary. 2004-12-03 Thien-Thi Nguyen * ttn/edit.scm (replacement-text, *cbprocs*): Use `reverse!'. * ttn/expand-file-name.scm (elide-dot-and-dot-dots): Likewise. * ttn/html-world.scm (as-chunks): Likewise. * ttn/optargs-kw-utils.scm (remove-keys): Likewise. * ttn/parse-rfc822.scm (parse-lines): Likewise. * ttn/sgf.scm (compute-rproc, read-sgf-file, nodes, get): Likewise. * ttn/split-mbox.scm (split-mbox): Likewise. 2004-12-03 Thien-Thi Nguyen * ttn/abbrev-tree.scm: Use module (ice-9 rdelim). (scrub): Use `reverse!'. 2004-12-02 Thien-Thi Nguyen * ttn/read-text-db-table.scm (read-text-db-table): Use tail-pointer style accumulation. 2004-12-02 Thien-Thi Nguyen * ttn/dirutils.scm (filename-sans-end-sep-proc): Rewrite. 2004-12-02 Thien-Thi Nguyen * ttn/stringutils.scm (string/sep->substrings): Use tail-pointer style. (string-quoted/escaped): Likewise. Also, handle `#\"'. 2004-12-02 Thien-Thi Nguyen * ttn/shell-command-to-string.scm (shell-command-to-list): Use tail-pointer style accumulation. 2004-11-26 Thien-Thi Nguyen * ttn/collect-files-sorted-by-mtime.scm (collect-files-sorted-by-mtime): Take additional keyword args `#:key PROC'. Apply PROC to each element in `files' to get an actual filename for the `stat'. 2004-11-25 Thien-Thi Nguyen * doc/Makefile.in ($(PACKAGE).texi): Do some extra cleanup. 2004-11-25 Thien-Thi Nguyen * ttn/html-data.scm (href): Handle #f for `url'. 2004-11-25 Thien-Thi Nguyen * ttn/html-data.scm (href): Handle optional third arg `name'. Use its value for the `NAME' attribute for the `A' element. 2004-11-21 Thien-Thi Nguyen * ttn/edit.scm (case): For this `cbexp-specials' expander proc, fix bug: use `unquote-splicing' instead of simply `unquote'. 2004-09-01 Thien-Thi Nguyen * ttn/sgf.scm (*properties*): Export. (*format-changes*): Likewise. * doc/ttn-pers-scheme.twerp (sgf): Add subsection for data tables. 2004-08-31 Thien-Thi Nguyen * ttn/sgf.scm: New file. * doc/ttn-pers-scheme.twerp (In Theory): Add menu item "sgf". (sgf): New node/section. * doc/Makefile.in (STEMS): Add sgf. 2004-08-10 Thien-Thi Nguyen * doc/ttn-pers-scheme.twerp: Set @dircategory to "Guile modules". 2004-08-05 Thien-Thi Nguyen * configure.in (PACKAGE_VERSION): Bump to "0.37" for release. 2004-08-05 Thien-Thi Nguyen * ttn/gap-buffer.scm: Rewrite as (ice-9 gap-buffer) re-export. * doc/ttn-pers-scheme.twerp (gap-buffer): Remove all @twerpdoc lines. 2004-08-05 Thien-Thi Nguyen * tests/gap-buffer.test: Delete file. * tests/Makefile.in (TESTS): Remove gap-buffer.test. 2004-08-05 Thien-Thi Nguyen * doc/ttn-pers-scheme.twerp (psql): Use @uref. 2004-08-05 Thien-Thi Nguyen * doc/Makefile.in (help): Use only sed(1). * Makefile.in: Likewise. 2004-08-05 Thien-Thi Nguyen * ttn/edit.scm (cb-count): New var. (register-cbproc!): Accumulate name/count association. (*cbprocs*): New var. (ttn-edit-module): Delete var. (ttn-edit-lookup): Rewrite. (let): Use local var name `box' instead of `buf' for this `cbexp-specials' expander proc. (lambda): Likewise. (define): Likewise. (case): Likewise. (current-buffer): Likewise. Also, update access to `box'. (newname<-prefix+idx): New proc. (cbproc-app-expand): No longer expand to call `ttn-edit-lookup'. Instead, construct a name from box car, and use that. Also, push op name on box cdr. (editing-buffer): Rewrite to add `let'-bindings, and update calling convention for `ttn-edit-lookup'. * tests/edit.test: Update calling convention for `ttn-edit-lookup'. 2004-08-05 Thien-Thi Nguyen * ttn/edit.scm (forward-line-internal): New proc. (forward-line): Rewrite "e:" proc to use `forward-line-internal'. (beginning-of-line): Likewise. (end-of-line): Likewise. * tests/edit.test (check-p-rv): New internal proc. Add three groups of query/motion tests. 2004-08-04 Thien-Thi Nguyen * tests/edit.test: Remove superfluous local var `gb'. 2004-08-04 Thien-Thi Nguyen * ttn/edit.scm (nl?): New proc. (bolp, eolp, forward-line, end-of-line): Use it. 2004-08-01 Thien-Thi Nguyen * ttn/edit.scm (re-search-forward): Update check for degenerate case. 2004-07-31 Thien-Thi Nguyen * ttn/edit.scm (re-search-forward): Accept regexp object for `regexp'. 2004-07-26 Thien-Thi Nguyen * ttn/edit.scm (insert): Handle gap buffers, as well. 2004-07-12 Thien-Thi Nguyen * ttn/fileutils.scm (filename-absolute-or-in-vicinity): New proc, exported. * doc/ttn-pers-scheme.twerp (fileutils): Add @twerpdoc for `filename-absolute-or-in-vicinity'. 2004-07-08 Thien-Thi Nguyen * configure.in (PSQL): Delete AC_PATH_PROG var. (pgtable-check-db): Delete AC_ARG_ENABLE block. * tests/Makefile.in (distclean): No longer delete pgtable.db-name. 2004-07-08 Thien-Thi Nguyen * tests/pgtable.test: Delete file. * tests/Makefile.in (TESTS): Remove pgtable.test. 2004-07-08 Thien-Thi Nguyen * ttn/gpgutils.scm: Autoload (ice-9 gap-buffer) instead of (ttn gap-buffer). * ttn/find-file.scm: Likewise. * ttn/save-buffer.scm: Likewise. * ttn/write-buffer-if-changed.scm: Likewise. * ttn/parse-rfc822.scm: Likewise. * ttn/write-buffer.scm: Use (ice-9 gap-buffer) instead of (ttn gap-buffer). * ttn/call-process-to-buffers.scm: Likewise. * ttn/flatten-to-buffer.scm: Likewise. * ttn/make-buffered-caller.scm: Likewise. * ttn/edit.scm: Likewise. * ttn/edit.scm (FROM:gb): Use (ice-9 gap-buffer). * tests/call-process-to-buffers.test: Use (ice-9 gap-buffer) instead of (ttn gap-buffer). * tests/edit.test: Likewise. * tests/find-file.test: Likewise. * tests/make-buffered-caller.test: Likewise. * tests/save-buffer.test: Likewise. * tests/write-buffer.test: Likewise. 2004-07-07 Thien-Thi Nguyen * ttn/dirutils.scm (mkdir-p): New proc, exported. * doc/ttn-pers-scheme.twerp (dirutils): Add @twerpdoc for `mkdir-p'. 2004-07-07 Thien-Thi Nguyen * ttn/dirutils.scm: Update docstrings to use texinfo markup. Convert `export' form into #:export clause in `define-module'. 2004-07-07 Thien-Thi Nguyen * ttn/dirutils.scm (not-dot-not-dotdot): Fix quoting in doc. 2004-07-04 Thien-Thi Nguyen * ttn/expand-file-name.scm: Convert commentary into pre-form docstring. Convert `export' form into #:export clause in `define-module'. (elide-dot-and-dot-dots): Take additional arg `need-trailing-sep?'. (*tilde-cache*): New var. (expand-file-name): Cache ~ and ~USER expansions. (reset-tilde-cache!): New proc, exported. * doc/ttn-pers-scheme.twerp (expand-file-name): Add @twerpdoc for `expand-file-name' and `reset-tilde-cache!'. 2004-07-03 Thien-Thi Nguyen * ttn/html-world.scm (html-world): Also accept keywords for #:gen value. (html-world.html-data): Likewise. 2004-07-02 Thien-Thi Nguyen * configure.in (PACKAGE_VERSION): Bump to "0.36" for release. 2004-07-02 Thien-Thi Nguyen * ttn/personal-pgtable.scm (all-defs): Handle two-form file format. 2004-06-22 Thien-Thi Nguyen * bin/collect-lessons (scan): Use `forward-line'. 2004-06-21 Thien-Thi Nguyen * doc/ttn-pers-scheme.twerp (call-process-to-buffers): Remove @twerpdoc for `prog1'. 2004-06-21 Thien-Thi Nguyen * ttn/edit.scm (end-of-line): Remove `pk'. 2004-06-21 Thien-Thi Nguyen * configure.in (PACKAGE_VERSION): Bump to "0.35" for release. 2004-06-21 Thien-Thi Nguyen * ttn/edit.scm (end-of-line): New "e:" proc. 2004-06-21 Thien-Thi Nguyen * ttn/edit.scm (forward-line): Fix OBOE: Do not adjust `end' when recursing. Also, handle `(= 0 n)' and `(> 0 n)' cases in the same way. 2004-06-21 Thien-Thi Nguyen * ttn/edit.scm (forward-line, beginning-of-line): New "e:" procs. 2004-06-20 Thien-Thi Nguyen * ttn/edit.scm (replacement-text): Rewrite using `string-index'. 2004-06-20 Thien-Thi Nguyen * doc/ttn-pers-scheme.twerp (edit): Comment out @twerpdoc for `ttn-edit-lookup'. 2004-06-20 Thien-Thi Nguyen * ttn/edit.scm (substring-ready-buffer-string): Delete proc. (bsub): New proc. (buffer-substring): Add order, bounds checking. Use `bsub'. (match-string): Use `bsub'. (replacement-text): Call `e:match-string' w/o optional arg `string'. 2004-06-20 Thien-Thi Nguyen * ttn/edit.scm (bolp, eolp): New "e:" procs. 2004-06-14 Thien-Thi Nguyen * doc/ttn-pers-scheme.twerp (edit): Fix bug: Use @twerpmacdoc for `editing-buffer'. 2004-06-10 Thien-Thi Nguyen * configure.in (PACKAGE_VERSION): Bump to "0.34" for release. 2004-06-10 Thien-Thi Nguyen * bin/collect-lessons: No longer use modules (ice-9 regex), (scripts slurp) or (scripts split-string-no-nulls). Instead, use modules (ttn edit) and (ttn find-file). (rlog-scan!): Delete proc. (*lesson-rx*): Delete var. (scan-log!): New proc. (scan): Rewrite. (get-info): Use `extract-stem-proc'. 2004-06-10 Thien-Thi Nguyen * ttn/dirutils.scm (extract-stem-proc): New proc, exported. * doc/ttn-pers-scheme.twerp (dirutils): Add @twerpdoc for `extract-stem-proc'. 2004-06-10 Thien-Thi Nguyen * doc/ttn-pers-scheme.twerp (License): Delete node/chapter. Move "...should have received..." text into node `Top'. 2004-06-10 Thien-Thi Nguyen * ttn/slackful-concat.scm: Write docstring. Convert `export' form into #:export clause in `define-module'. (concat-proc): New proc. (slackful-concat-proc): Use `concat-proc'. Also, accept keyword `return-type' as well as symbolic. * doc/ttn-pers-scheme.twerp (slackful-concat): Add @twerpdoc for `slackful-concat-proc'. 2004-06-10 Thien-Thi Nguyen * Makefile.in (.module-catalog): Ignore files ending in ".NEW". 2004-06-10 Thien-Thi Nguyen * ttn/parse-rfc822.scm: Remove commentary. Update docstrings to use texinfo markup. Convert `export' form into #:export clause in `define-module'. * doc/ttn-pers-scheme.twerp (parse-rfc822): Remove @twerpcommentary. Add @twerpdoc for `parse-rfc822'. 2004-06-10 Thien-Thi Nguyen * ttn/psql.scm: Delete file. * doc/Makefile.in (STEMS): Remove psql. * doc/ttn-pers-scheme.twerp (psql): Remove @twerpcommentary. Mention transfer to and add url for package "ttn-do". 2004-06-10 Thien-Thi Nguyen * doc/ttn-pers-scheme.twerp (cron): Fix bug: Use @twerpmacdoc for `cron'. 2004-06-10 Thien-Thi Nguyen * ttn/gap-buffer.scm: Trim commentary. Write docstrings. Convert `export' form into #:export clause in `define-module'. * doc/ttn-pers-scheme.twerp (gap-buffer): Add @twerpdoc for `gb?', `make-gap-buffer', `gb-point', `gb-point-min', `gb-point-max', `gb-insert-string!', `gb-insert-char!', `gb-delete-char!', `gb-erase!', `gb-goto-char', `gb->port!', `gb->string', `gb-filter!', `gb->lines', `gb-filter-lines!' and `make-gap-buffer-port'. 2004-06-10 Thien-Thi Nguyen * ttn/html-world.scm: Remove commentary. Update docstrings to use texinfo markup. Convert `export' form into #:export clause in `define-module'. * doc/ttn-pers-scheme.twerp (html-world): Remove @twerpcommentary. Add @twerpdoc for `html-world'. Add @twerpdoc for `html-world.html-data'. 2004-06-10 Thien-Thi Nguyen * ttn/fileutils.scm: Remove commentary. Update docstrings to use texinfo markup. Convert `export' form into #:export clause in `define-module'. * doc/ttn-pers-scheme.twerp (fileutils): Remove @twerpcommentary. 2004-06-10 Thien-Thi Nguyen * ttn/gap-buffer.scm (gap-buffer): Delete field `all-sz' from record type. (all-sz:, all-sz!): Delete procs. (realloc): Use string length instead of `all-sz' abstractions. (make-gap-buffer): Likewise. (gb-point-max): Likewise. (gb-delete-char!): Likewise. (gb-erase!): Likewise. (gb->port!): Likewise. (make-gap-buffer-port): Likewise. 2004-06-10 Thien-Thi Nguyen * ttn/sanity.scm: Remove commentary. Update docstrings to use texinfo markup. Convert `export' form into #:export clause in `define-module'. * doc/ttn-pers-scheme.twerp (sanity): Remove @twerpcommentary. Add @twerpdoc for `know-that-ttn-procedures-docs-is-available!'. 2004-06-10 Thien-Thi Nguyen * ttn/split-mbox.scm: Convert commentary into pre-form docstring. Convert `export' form into #:export clause in `define-module'. * doc/ttn-pers-scheme.twerp (split-mbox): Remove @twerpcommentary. Add @twerpdoc for `split-mbox'. 2004-06-10 Thien-Thi Nguyen * ttn/collect-files-sorted-by-mtime.scm: Convert commentary into pre-form docstring. Convert `export' form into #:export clause in `define-module'. * doc/ttn-pers-scheme.twerp (collect-files-sorted-by-mtime): Remove @twerpcommentary. Add @twerpdoc for `collect-files-sorted-by-mtime'. 2004-06-09 Thien-Thi Nguyen * ttn/filesystem-tree-to-list.scm: Convert commentary into pre-form docstring. Convert `export' form into #:export clause in `define-module'. Use module (ice-9 ftw) instead of (ttn ftw). Add lessons comment. (dfs-collect-proc): New proc. (filesystem-tree->list): Rewrite to use `dfs-collect-proc'. * doc/ttn-pers-scheme.twerp (filesystem-tree-to-list): Remove @twerpcommentary. Add @twerpdoc for `filesystem-tree->list'. Add @fnindex for `filesystem-tree-to-list'. * tests/filesystem-tree-to-list.test: Order results by `string * ttn/html-data.scm (center): New proc, exported. 2004-06-05 Thien-Thi Nguyen * ttn/html-data.scm (br): New proc, exported. 2004-05-16 Thien-Thi Nguyen * ttn/personal-pgtable.scm (personal-pgtable-worker): New proc, exported. 2004-03-30 Thien-Thi Nguyen * ttn/spewutils.scm (eval-html-data-file): Use `open-input-file'. 2004-03-23 Thien-Thi Nguyen * ttn/read-text-db-table.scm (read-zonk-trailing-ws): Also handle CRLF eol. 2004-03-23 Thien-Thi Nguyen * modules.af (programs): Remove entry for module (ttn call-process-to-buffers). 2004-03-23 Thien-Thi Nguyen * ttn/call-process-to-buffers.scm: Remove `system*' from (ttn shellutils) autoload triggers. No longer use module (ttn find-file). Convert `export' form into #:export clause in `define-module'. (private-file-port): Delete proc. (prog1): Delete macro. (read/cleanup-fport!): Delete proc. (read/cleanup-tmpfile): New proc. (call-process->buffers): Use `tmpfile'. Handle `prog1' control flow explicitly. 2004-03-23 Thien-Thi Nguyen * ttn/email-log-if-fail.scm: Use module (database tmpfile). (email-log-if-fail): Use `tmpfile'. Return #f if shell command failed. 2004-03-14 Thien-Thi Nguyen * ttn/flatten-to-buffer.scm: Convert commentary into pre-form docstring. Convert `export' form into #:export clause in `define-module'. * doc/ttn-pers-scheme.twerp (flatten-to-buffer): Remove @twerpcommentary. Add @twerpdoc for `flatten-to-buffer'. Add @fnindex for `flatten->buffer'. 2004-03-14 Thien-Thi Nguyen * ttn/flatten.scm: Convert commentary into pre-form docstring. Convert `export' form into #:export clause in `define-module'. * doc/ttn-pers-scheme.twerp (flatten): Remove @twerpcommentary. Add @twerpdoc for `flatten'. 2004-03-14 Thien-Thi Nguyen * ttn/save-buffer.scm: Convert commentary into pre-form docstring. Convert `export' form into #:export clause in `define-module'. (save-buffer): Use `force-output' instead of `flush-all-ports'. * doc/ttn-pers-scheme.twerp (save-buffer): Remove @twerpcommentary. Add @twerpdoc for `save-buffer'. 2004-03-14 Thien-Thi Nguyen * ttn/listener.scm: Remove commentary. Update docstring to use texinfo markup. Convert `export' form into #:export clause in `define-module'. * doc/ttn-pers-scheme.twerp (listener): Remove @twerpcommentary. 2004-03-14 Thien-Thi Nguyen * ttn/find-file.scm: Convert commentary into pre-form docstring. Convert `export' form into #:export clause in `define-module'. * doc/ttn-pers-scheme.twerp (find-file): Remove @twerpcommentary. Add @twerpdoc for `find-file'. 2004-03-14 Thien-Thi Nguyen * ttn/grep.scm: Remove commentary. Update docstrings to use @table. Convert `export' form into #:export clause in `define-module'. * doc/ttn-pers-scheme.twerp (grep): Remove @twerpcommentary. 2004-03-14 Thien-Thi Nguyen * ttn/email-log-if-fail.scm: Convert commentary into pre-form docstring. Convert `export' form into #:export clause in `define-module'. (email-log-if-fail): Execute command in subshell. * doc/ttn-pers-scheme.twerp (email-log-if-fail): Remove @twerpcommentary. Add @twerpdoc for `email-log-if-fail'. 2004-03-14 Thien-Thi Nguyen * ttn/write-buffer-if-changed.scm: Convert commentary into pre-form docstring. Convert `export' form into #:export clause in `define-module'. No longer use module (ttn make-buffered-caller). Autoload module (ttn gap-buffer). Autoload module (scripts slurp). For module (ttn write-buffer), convert to autoload. (write-buffer-if-changed): Rewrite. * doc/ttn-pers-scheme.twerp (write-buffer-if-changed): Remove @twerpcommentary. Add @twerpdoc for `write-buffer-if-changed'. 2004-03-14 Thien-Thi Nguyen * ttn/write-buffer.scm: Convert commentary into pre-form docstring. Convert `export' form into #:export clause in `define-module'. * doc/ttn-pers-scheme.twerp (write-buffer): Remove @twerpcommentary. Add @twerpdoc for `write-buffer'. 2004-03-14 Thien-Thi Nguyen * ttn/make-buffered-caller.scm: Convert commentary into pre-form docstring. Add Lessons comment. (make-buffered-caller): Use keywords internally. * doc/ttn-pers-scheme.twerp (make-buffered-caller): Remove @twerpcommentary. Add @twerpdoc for `make-buffered-caller'. 2004-03-14 Thien-Thi Nguyen * ttn/make-buffered-caller.scm: Convert `export' form into #:export clause in `define-module'. (make-buffered-caller): Make returned proc also handle keyword. 2004-02-19 Thien-Thi Nguyen * ttn/gpgutils.scm: No longer autoload module (ttn echo). Convert `export' form into #:export clause in `define-module'. (msg->gb): Rewrite w/ `if' instead of `cond'. 2004-02-18 Thien-Thi Nguyen * ttn/spewutils.scm: No longer autoload (ttn echo). (concat): Delete unused alias. (update-all-pages!): Use lambda instead of `echo'. (update-all-html-data-pages!): Use `format #f' construct instead of `string-append'. 2004-02-18 Thien-Thi Nguyen * ttn/cvsutils.scm (display-cvs-state-summary): Use `in-vicinity' instead of `string-append'. 2004-02-18 Thien-Thi Nguyen * ttn/cron.scm: No longer use modules (ttn echo), (ttn slackful-concat), or (ttn stringutils). (cron): Rewrite to not use `echo', `->sym', `->str' and `join'. Also, convert comment-style docstring to texinfo format. 2004-02-04 Thien-Thi Nguyen * doc/ttn-pers-scheme.twerp: Remove empty lines between @section and @twerpcommentary. 2004-02-04 Thien-Thi Nguyen * ttn/shellutils.scm: Rework docstrings as texinfo. Convert top-level `export' into `define-module' #:export clause. Move CVS tags comment to last line. * ttn/stringutils.scm: Likewise. (string-ws-trim): Rewrite in terms of `string-trim-both'. 2004-01-30 Thien-Thi Nguyen * modules.af (non-critical-external): Add (database postgres-table). 2004-01-30 Thien-Thi Nguyen * Makefile.in (PACKAGE_VERSION): Bump to "0.33" for release. 2004-01-30 Thien-Thi Nguyen * Makefile.in (interesting-dirs): Add doc. 2004-01-30 Thien-Thi Nguyen * doc/ttn-pers-scheme.twerp (In Theory): Add "METAINFO" to menu. (METAINFO): New node/section. 2004-01-30 Thien-Thi Nguyen * doc/Makefile.in (install): No longer depend on $(PACKAGE).info. Instead, explicitly "test -f" that file in the actions. 2004-01-30 Thien-Thi Nguyen * configure.in (AC_INIT): Use new-style package/version args. (PACKAGE, VERSION, V_VERSION_TAG): Delete vars and related AC_SUBST. (maintainer-mode): New AC_ARG_ENABLE. (MAINTAINER_MODE): New AC_SUBST var. * doc/Makefile.in (PACKAGE): Use @PACKAGE_NAME@. (VERSION): Use @PACKAGE_VERSION@. (MAINTAINER_MODE): New var. * Makefile.in: Likewise. (docs): Bifurcate action based on $(MAINTAINER_MODE). 2004-01-30 Thien-Thi Nguyen * doc/Makefile.in (.doc-index): Depend on $(MODULEFILES). No longer depend on $(DOTDOCS). However, explicitly make them before doing "guile-tools make-twerp2texi-index" to create $@. 2004-01-30 Thien-Thi Nguyen * Makefile.in (extradist): Add doc/.doc-index. Remove .release and modules.af.m4. 2004-01-30 Thien-Thi Nguyen * doc/ttn-pers-scheme.twerp (cvsutils): Add @twerpdoc entries for `cvslog', `cvs-files-under', `display-cvslog', `group-files-by-cvs-state' and `display-cvs-state-summary'. (dirutils): Use @twerpmacdoc for `save-cwd'. Add @twerpdoc for `filtered-files' and `filtered-files-in-vicinity'. (moduleutils): Use @twerpmacdoc for `import-from-module' and `reexport-from-module'. 2004-01-30 Thien-Thi Nguyen * bin/steal-this-package: New file. 2004-01-30 Thien-Thi Nguyen * Makefile.in (extradist): Add INSTALL. (minusdist): Add ttn/TEMPLATE and benchmarks/TEMPLATE. 2004-01-30 Thien-Thi Nguyen * ttn/pgtype.scm: Mention module (database postgres-types). * ttn/pgmeta.scm: Mention module (database postgres-meta). * ttn/pgtable.scm: Mention modules (database postgres-table), (database postgres-resx) and (database postgres-col-defs). 2004-01-29 Thien-Thi Nguyen * modules.af (programs): Add entry for module (ttn cvsutils). 2004-01-29 Thien-Thi Nguyen * Makefile.in (all): Create symlink to doc/$(gdf) from subdir ttn/ instead of from top-level dir. (minusdist): Add benchmarks/.cvsignore and tests/.cvsignore. 2004-01-29 Thien-Thi Nguyen * doc/Makefile.in (help): New target. (install): Install $(gdf) in $(instdir) unconditionally. * ttn/sanity.scm (know-that-ttn-procedures-docs-is-available!): Look for "ttn/ttn-pers-scheme.gdf1". 2004-01-29 Thien-Thi Nguyen * Makefile.in (all): Depend on docs. No longer depend on $(gdf). Also, make symlink $(gdf) if necessary. ($(gdf)): Delete target. (extradist): Add doc/version.texi, doc/TODO.texi, lessons.texi. Remove BUGS. * doc/Makefile.in (all): Depend on $(gdf). ($(gdf)): Depend on $(MODULEFILES). No longer depend on $(DOTDOCS). However, explicitly make them before doing the final concatenation to create $@. 2004-01-29 Thien-Thi Nguyen * configure.in (VERSION): Bump to "0.32.420.1" for hacking. 2004-01-29 Thien-Thi Nguyen * bin/collect-lessons (scan): Use "cvs log" instead of "rlog". 2004-01-29 Thien-Thi Nguyen * doc/.cvsignore, tests/.cvsignore, benchmarks/.cvsignore, .cvsignore: New files. 2004-01-29 Thien-Thi Nguyen * Makefile.in ($(gdf)): No longer depend on doc/$(gdf). Instead, explicitly recurse into doc/ and make $(gdf) there, before symlinking that to cwd. 2004-01-29 Thien-Thi Nguyen * bin/collect-lessons: New file. 2004-01-29 Thien-Thi Nguyen * autogen.sh: Mention tool versions in comments. (amprefix, amlibdir): New vars. Use them to symlink install-sh, mkinstalldirs, INSTALL, COPYING. 2004-01-29 Thien-Thi Nguyen * Makefile.in (dirlist-cmd, jampath, V-VERSION-TAG): Delete vars. (.module-catalog): If "guile-tools make-module-catalog" not available, simply do "touch $@". (METAINFO): Likewise, for "guile-tools generate-METAINFO". (install): No longer install NEWS and ChangeLog. Instead, if those files exist in $(instdir), delete them. (newtag, oldtag): Delete vars. (tag, untag): Delete targets. (extradist): Remove README, NEWS, TODO, AUTHORS, ChangeLog. (minusdist): Add .cvsignore and doc/.cvsignore. (dist): Rewrite to use CVS. Also, generate METAINFO afresh. (rcs-state-summary): Delete target. (cvs-state-summary): New target. 2004-01-28 Thien-Thi Nguyen * ttn/gap-buffer.scm (default-initial-allocation): Bump to 2048. (default-chunk-size): Bump to 1024. (default-realloc-threshold): Bump to 32. 2004-01-28 Thien-Thi Nguyen * ttn/rlog-scan-proc.scm (rlog-scan!-proc): New proc, exported. (rlog-scan-proc): Fix bug: Omit from return value those key/value pairs where the value is #f. 2004-01-28 Thien-Thi Nguyen * doc/ttn-pers-scheme.twerp: Use `verbatim' style for @twerpcommentary directives. (top): Update title. (In Theory): Add menu items "cvsutils", "pgconn", "personal-pgtable" and "rlog-scan-proc". (cvsutils): New node/section. (pgconn, personal-pgtable, rlog-scan-proc): Likewise. (fileutils): Fix @twerpdoc entries: Include only proc name instead of proc name plus argument. (listener): Add @twerpdoc. (shell-command-to-string): Add @findex for `shell-command-to-string', `shell-command-to-list', `shell-command->string' and `shell-command->list'. (In Practice): Add menu items "THUD" and "Website Maintenance". (Learning Scheme Programming): Move THUD-specific stuff to THUD. Rewrite to intro lessons. Add @verbatiminclude lessons.texi. (THUD): New node/section. (Website Maintenance): Likewise. (Future): Use @verbatiminclude TODO.texi. * doc/Makefile.in: Make $(PACKAGE).info also depend on lessons.texi and TODO.texi. (STEMS): Add cvsutils and rlog-scan-proc. (lessons.texi): New target. (TODO.texi): Likewise. (stems-list): Use two spaces to prefix each output line. 2004-01-28 Thien-Thi Nguyen * Makefile.in (minusdist): Remove .hi, .bye, packaging, ttn/import, ttn/under-wraps. * packaging: Remove directory. 2004-01-28 Thien-Thi Nguyen * bin/display-rcs-state-summary: Use "#:" in `use-modules' form. 2004-01-28 Thien-Thi Nguyen * doc/version.texi.in: Delete file. * configure.in (AC_OUTPUT): Remove doc/version.texi. * doc/Makefile.in: Make $(PACKAGE).info depend on version.texi. (version.texi): New target. 2004-01-26 Thien-Thi Nguyen * Makefile.in (.module-catalog): No longer exclude directory ttn/data/ or tmp/. (minusdist): Delete ttn/data and tmp. 2004-01-26 Thien-Thi Nguyen * ttn/rlog-scan-proc.scm: New file. * ttn/rcsutils.scm: No longer use module (ice-9 regex). Autoload module (ttn shell-command-to-string) on trigger `shell-command-to-string' Autoload module (ttn dirutils) on trigger `filtered-files'. Autoload module (ttn rlog-scan-proc) on trigger `rlog-scan-proc'. (*rlog-scan-table*, *rlog-scan-keys*, *rlog-scan-rxs*, rlog-scan-proc): Move to module (ttn rlog-scan-proc). 2004-01-26 Thien-Thi Nguyen * ttn/rcsutils.scm: No longer use module (ttn echo). (display-rlog): Use `format #t' construct instead of `echo'. (group-files-by-rcs-state): Likewise. 2004-01-26 Thien-Thi Nguyen * ttn/rcsutils.scm (rlog-scan): Delete proc. (*rlog-scan-table*, *rlog-scan-keys*, *rlog-scan-rxs*): New vars. (rlog-scan-proc): New proc. (rlog): Use `rlog-scan-proc' instead of `rlog-scan'. 2004-01-05 Thien-Thi Nguyen * ttn/moduleutils.scm (import-from-module): Use "#:" in `use-modules' form. (reexport-from-module): Likewise. 2004-01-05 Thien-Thi Nguyen * ttn/cron.scm (cron): Use "#:" in `use-modules' form. 2004-01-05 Thien-Thi Nguyen * ttn/abbrev-tree.scm: Use "#:" in `define-module' form. * ttn/call-process-to-buffers.scm: Likewise. * ttn/call-process.scm: Likewise. * ttn/cron.scm: Likewise. * ttn/cvsutils.scm: Likewise. * ttn/dirutils.scm: Likewise. * ttn/edit.scm: Likewise. * ttn/email-log-if-fail.scm: Likewise. * ttn/expand-file-name.scm: Likewise. * ttn/filesystem-tree-to-list.scm: Likewise. * ttn/flatten-to-buffer.scm: Likewise. * ttn/ftw.scm: Likewise. * ttn/grep.scm: Likewise. * ttn/html-world.scm: Likewise. * ttn/listener.scm: Likewise. * ttn/make-buffered-caller.scm: Likewise. * ttn/mixp.scm: Likewise. * ttn/parse-rfc822.scm: Likewise. * ttn/pgmeta.scm: Likewise. * ttn/pgtable.scm: Likewise. * ttn/psql.scm: Likewise. * ttn/rcsutils.scm: Likewise. * ttn/read-text-db-table.scm: Likewise. * ttn/sanity.scm: Likewise. * ttn/shellutils.scm: Likewise. * ttn/spewutils.scm: Likewise. * ttn/split-mbox.scm: Likewise. * ttn/write-buffer-if-changed.scm: Likewise. * ttn/write-buffer.scm: Likewise. * ttn/fileutils.scm: Likewise. * ttn/find-file.scm: Likewise. * ttn/gap-buffer.scm: Likewise. * ttn/gpgutils.scm: Likewise. * ttn/personal-pgtable.scm: Likewise. * ttn/save-buffer.scm: Likewise. * ttn/stringutils.scm: Likewise. * ttn/html-data.scm: Likewise. * ttn/optargs-kw-utils.scm: Likewise. 2003-12-12 Thien-Thi Nguyen * ttn/shell-command-to-string.scm: Use "#:" in `define-module' form. (shell-command-to-string, shell-command-to-list): Explicitly close input pipe. 2003-11-15 Thien-Thi Nguyen * ttn/dirutils.scm (filtered-files-in-vicinity): New proc, exported. 2003-10-25 Thien-Thi Nguyen * Makefile.in (all): Also depend on METAINFO. (METAINFO): New target. (install): Also install METAINFO. (clean): Add action to delete `all' dependencies. 2003-10-17 Thien-Thi Nguyen * ttn/edit.scm (parse-search-args): Take additional arg `what' instead of relying on free variable `string'. Update callers. 2003-10-16 Thien-Thi Nguyen * Makefile.in (install): If "guile-tools make-module-catalog" is available, do it as the last step of installation. 2003-10-16 Thien-Thi Nguyen * tests/gpgutils.test: Jam env var "LANG" to "C" before call to `verify-signed-message'. Restore aftewards. 2003-10-16 Thien-Thi Nguyen * tests/Makefile.in (GUILE_TOOLS): Delete var. (TESTS): Rename from `ALLTESTS'. Update use sites. (check): Use "guile-tools" instead of "$(GUILE_TOOLS)". 2003-10-06 Thien-Thi Nguyen * ttn/cvsutils.scm: New file. 2003-10-01 Thien-Thi Nguyen * Makefile.in (.module-catalog): New target. (default, all): Depend on `.module-catalog'. 2003-10-01 Thien-Thi Nguyen * ttn/edit.scm: Use "#:" in `use-modules' form. (looking-at): Fix bug: If `re-str' starts with "^", use flag `regexp/newline', else prefix regexp w/ "^". * tests/edit.test: Add some more tests for `looking-at'. 2003-09-12 Thien-Thi Nguyen * doc/Makefile.in (doc-snarf, twerp2texi): Delete these vars. Use "guile-tools twerp2texi", "guile-tools doc-snarf" and "guile-tools make-twerp2texi-index" directly. 2003-09-12 Thien-Thi Nguyen * ttn/personal-pgtable.scm: New file. * doc/Makefile.in (STEMS): Add personal-pgtable. 2003-09-09 Thien-Thi Nguyen * doc/version.texi.in: New file. * configure.in (AC_OUTPUT): Add doc/version.texi. 2003-08-30 Thien-Thi Nguyen * doc/twerp2texi: Delete. 2003-08-16 Thien-Thi Nguyen * tests/pgtable.test: Handle array output representation change for the case where PostgreSQL is version 7.2 or later. 2003-08-13 Thien-Thi Nguyen * ttn/rcsutils.scm (rlog-scan): New proc. (rlog): Rewrite to use `rlog-scan'. 2003-08-11 Thien-Thi Nguyen * Makefile.in (untag): Also handle case when $(oldtag) specifies a full tag, not just the nickname. (dist): Touch co'd files using orig files as reference. 2003-08-10 Thien-Thi Nguyen * doc/Makefile.in (STEMS): Remove spurious entry `pgconn'. 2003-08-10 Thien-Thi Nguyen * doc/Makefile.in ($(gdf)): No longer copy $(gdf) to parent dir. * Makefile.in (LN_S, gdf): New vars. (all): Depend on $(gdf). ($(gdf)): New target. (extradist): Use $(gdf) instead of hardcoded value. (dist): Also symlink doc/$(gdf) to $(gdf) in distdir. 2003-08-10 Thien-Thi Nguyen * doc/Makefile.in (install): Fix omission bug: make $(instdir) before installing there. 2003-08-10 Thien-Thi Nguyen * configure.in (VERSION): Bump to date-related (non-releasable) value. (INSTALL_INFO): New AC_SUBST var, set if `install-info' found. (AC_OUTPUT): Add doc/Makefile. 2003-08-10 Thien-Thi Nguyen * Makefile.in (GUILE-TOOLS): Rename from `GUILE_TOOLS'. (docs-file): Delete this var. (INSTALL-DATA): New var. (docs): No longer depend on $(docs-file). Instead, add action to do a make in doc/ subdir. ($(docs-file)): Delete this target. (tea): Use `$(MAKE)' instead of `make' in action. (install): Recurse into doc/ as first action. Use `$(INSTALL-DATA)' instead of `$(INSTALL) -m 644' in actions. No longer install $(docs-file). (extradist): Remove `$(docs-file)' from this var. Add doc/ttn-pers-scheme.gdf1, doc/$(PACKAGE).texi, doc/$(PACKAGE).info and doc/$(PACKAGE).html. (minusdist): Remove `doc' from this var. (dist): Add action to symlink ../TODO in doc/ subdir. (clean): No longer delete $(docs-file). 2003-08-10 Thien-Thi Nguyen * doc/ttn-pers-scheme.twerp: New file. 2003-08-10 Thien-Thi Nguyen * doc/Makefile.in ($(gdf)): New target. ($(PACKAGE).texi): Replace individual instructions for creating $(gdf) with "make $(gdf)". 2003-08-10 Thien-Thi Nguyen * tests/sanity.test: New file. * tests/Makefile.in (ALLTESTS): Add sanity.test. * ttn/sanity.scm (know-that-ttn-procedures-docs-is-available!): Look for "ttn-pers-scheme.gdf1" instead of "ttn-procedures-docs.txt". 2003-08-10 Thien-Thi Nguyen * doc/twerp2texi, doc/Makefile.in: New files. 2003-08-06 Thien-Thi Nguyen * ttn/email-log-if-fail.scm: Fix typo in `:use-module' clause in `define-module' form. 2003-08-05 Thien-Thi Nguyen * configure.in (VERSION): Bump to 0.32 for release. 2003-08-05 Thien-Thi Nguyen * autogen.sh: Also pass "-I $HOME/local/share/aclocal" to aclocal. 2003-08-05 Thien-Thi Nguyen * modules.af (programs): Add "xplanet" for (ttn html-world). 2003-08-05 Thien-Thi Nguyen * ttn/pgtype.scm: No longer autoload module (ttn stringutils). (dimension->string): Rewrite to avoid `mapconcat'. 2003-08-05 Thien-Thi Nguyen * ttn/stringutils.scm: Autoload module (srfi srfi-13). (string-append/separator): Rewrite using `string-join'. 2003-08-05 Thien-Thi Nguyen * ttn/call-process-to-buffers.scm: Use module (ttn optargs-kw-utils) for `remove-keys'. No longer look for `remove-keys' in module (ttn call-process). * ttn/call-process.scm: Use module (ttn optargs-kw-utils) for `remove-keys'. (remove-keys): Delete. 2003-08-05 Thien-Thi Nguyen * tests/gpgutils.test (time): Fix localization bug: Rewrite this pass-if to handle local time zone, and compare seconds after epoch. 2003-08-03 Thien-Thi Nguyen * ttn/optargs-kw-utils.scm: New file. 2003-08-03 Thien-Thi Nguyen * ttn/html-world.scm (xearth-ppm-command, xplanet-ppm-command): New procs. (text-globe-command): Rename from `xearth-command', take additional arg `gen-ppm-command', and call that procedure instead of hardcoding "xearth...". (html-world): Fix omission bug: Filter `links' with `remove-keys'. Use `text-globe-command' instead of `xearth-command'. (html-world.html-data): Handle #:size and #:gen keyword args. 2002-09-27 Thien-Thi Nguyen * tests/call-process-to-buffers.test: Use "SETUP" instead of "check.scm". * Makefile.in (dist): No longer symlink from $(dd)/ttn/testing/ttn and $(dd)/ttn/testing/benchmarks. (interesting-dirs): Update path to tests and benchmarks. * configure.in (VERSION): Bump to 0.31 for release. * Makefile.in (extradist): Update paths to tea-1.0 and tea-0.2. * Makefile.in (tea): Use subdir "benchmarks" instead of subdir "ttn/testing/benchmarks". * benchmarks/common-tail.scm: No longer call `deactivate-eformat'. * benchmarks/common-head.scm: No longer load ttn/autoload.scm. No longer load modules (ice-9 string-fun), (ttn echo), or (ttn format). No longer call `activate-eformat'. Replace "echo" with "format" constructs. * benchmarks/gap-buffer.scm, benchmarks/ftw.scm, benchmarks/fileutils.scm: Replace "#[]" constructs with "format" constructs. Add use-modules forms. * benchmarks/baseline.scm: Replace "echo" with "format" construct. * benchmarks/Makefile (datafiles): No longer check for ttn/autoload.scm. * configure.in (psql): Add check for this program. (pgtable-check-db): Add this AC_ARG_ENABLE. * tests/Makefile.in (distclean): New target. * tests/pgtable.test (pgtable:test:make-m): New proc. (m): Use new proc. Do `skip-file!' if unable to define. * Makefile.in (minusdist): Add autom4te.cache. * Makefile.in (check): Use subdir "tests" instead of subdir "ttn/testing/ttn". * configure.in (AC_OUTPUT): Remove ttn/testing/ttn/dont-check. Add tests/Makefile and test/SETUP. * tests/Makefile.in, tests/SETUP.in: New file. * tests/pgtable.test: Skip file if `db-name' cannot be determined by looking in file pgtable.db-name, or if that file has empty contents. * tests/write-buffer.test, tests/save-buffer.test: Use `skip-if-bad-hacky-stash'. 2002-09-26 Thien-Thi Nguyen * tests/ftw.test: Use `test-file-name'. Use relative dir "../ttn" instead of relying on "ttn" symlink in cwd. * tests/write-buffer.test, tests/stringutils.test, tests/slice.test, tests/scat.test, tests/shell-command-to-string.test, tests/shellutils.test, tests/slackful-concat.test, tests/make-buffered-caller.test, tests/parse-rfc822.test, tests/save-buffer.test, tests/gpgutils.test, tests/grep.test, tests/flatten.test, tests/ftw.test, tests/gap-buffer.test, tests/eformat.test, tests/filesystem-tree-to-list.test, tests/fileutils.test, tests/find-file.test, tests/call-process.test, tests/dirutils.test, tests/echo.test, tests/edit.test, tests/call-process-to-buffers.test: Use `skip-if-dont-check-else-use-modules'. 2002-09-21 Thien-Thi Nguyen * tests/dirutils.test: Use `test-file-name'. * tests/pgtable.test: New file. 2002-09-20 Thien-Thi Nguyen * tests/find-file.test: Adjust expected number of lines for SETUP file. * tests/ftw.test: Remove `when-debug' forms. * tests/scat.test, tests/filesystem-tree-to-list.test, tests/ftw.test, tests/dirutils.test, tests/echo.test, tests/shell-command-to-string.test, tests/slice.test, tests/slackful-concat.test, tests/gpgutils.test, tests/make-buffered-caller.test, tests/call-process-to-buffers.test, tests/call-process.test, tests/shellutils.test, tests/parse-rfc822.test, tests/write-buffer.test, tests/save-buffer.test, tests/find-file.test: New file. 2002-09-19 Thien-Thi Nguyen * ttn/save-buffer.scm (save-buffer): Flush all ports after `gb->port!' call. * tests/fileutils.test, tests/edit.test, tests/gap-buffer.test, tests/grep.test: New file. 2002-09-18 Thien-Thi Nguyen * tests/stringutils.test: New file. * tests/eformat.test, tests/flatten.test: New file. 2002-08-31 Thien-Thi Nguyen * modules.af (non-critical-external): Add `(ice-9 threads)'. 2002-08-12 Thien-Thi Nguyen * ttn/testing/ttn/check.scm: When under DEBUG, set `%load-verbosely' to #t. Update expected results for modules (ttn gap-buffer), (ttn edit), (ttn find-file), (ttn fileutils), (ttn save-buffer), (ttn write-buffer), (ttn parse-rfc822), (ttn ftw), (ttn filesystem-tree-to-list). * ttn/listener.scm, ttn/call-process-to-buffers.scm: Use module (ice-9 optargs-kw) instead of (ice-9 optargs). * ttn/call-process.scm: Use module (ice-9 optargs-kw) instead of (ice-9 optargs). (call-process): Use `close-all-fdes-except' instead of `port-for-each' construct. * ttn/make-buffered-caller.scm: Use module (ice-9 optargs-kw) instead of (ice-9 optargs). * ttn/save-buffer.scm: Convert :use-module to :autoload. (save-buffer): Use `gb->port!'. Verify save and return result. * ttn/fileutils.scm: No longer use (ttn stringutils). Autoload (scripts split-string-like-emacs) on proc of same name. Autoload (srfi srfi-13) on `string-take-right' and `string-join'. (filename-sans-end-slash): Use `string-take-right' and `string-drop-right'. (filename-components): Use `split-string-like-emacs'. (filename-components-append): Use `string-join'. * ttn/find-file.scm: No longer use module (ice-9 rw). Autoload (scripts slurp) on `slurp'. Convert remaining :use-module forms to :autoload. (find-file): Use `slurp'. * ttn/gap-buffer.scm: Autoload (srfi srfi-13) on `string-join'. Autoload (ice-9 rw) on `write-string/partial'. No longer autoload (ttn stringutils). (gb->port!): New proc, exported. (gb->lines): Fix bug: At end of buffer, only accumulate if non-empty string. (gb-filter-lines!): Use `string-join'. * ttn/stringutils.scm (string/sep->substrings): No longer use `string-split'. Instead, implement directly. * ttn/ftw.scm: Use `export' instead of `re-export'. 2002-08-07 Thien-Thi Nguyen * ttn/expand-file-name.scm (subs): New alias. (elide-dot-and-dot-dots): New proc. (expand-file-name): Rewrite. 2002-01-12 Thien-Thi Nguyen * Makefile.in (extradist): Add $(docs-file). * Makefile.in, configure.in: Fix typo. * configure.in (VERSION): Bump to 0.29 for release. * .eg, .eg.all-files-checked-in-p: New file. * Makefile.in (docs-file): Change "$<" to "$^". (dist): After confirming $(dtag), do "make docs". 2002-01-11 Thien-Thi Nguyen * ttn/testing/ttn/check-pgtable.scm: No longer use (database postgres). (must-pg-equal, must-pg-fatal, must-pg-nonfatal): Use `pg-result-symbol' instead of `pg-result-status'. * Makefile.in (extradist): Add modules.af.m4. (dist): No longer touch ttn/testing/ttn/.dont-check-gpgutils. * modules.af: New file. * ttn/split-mbox.scm: Write commentary. * ttn/testing/ttn/check.scm: Handle env var "DEBUG". (dont-check): New var. (module-test-count, test-count, tested-modules): New vars. (modules-tested): Delete. (must-equal): Update `module-test-count'. (testing-module): Do nothing if a module is in `dont-check'. Update `test-count' and `tested-modules'. For (ttn gpgutils): Use `dont-check' mechanism. (ef): New proc. (all-modules, unchecked): New vars. Rework end of test output. * configure.in: Require (guile-user) to export `identity'. Replace most module support checks w/ `AUTOFRISK_CHECKS'. Replace "probably won't work" summary w/ `AUTOFRISK_SUMMARY'. (dont_check): Substituted. (AC_OUTPUT): Add ttn/testing/ttn/dont-check. * Makefile.in (all): No longer make autoload or docs files. (clean): No longer delete autoload file. (docs): New target. * autogen.sh: Call autofrisk. Pass "-I ." to aclocal. 2002-01-04 Thien-Thi Nguyen * Makefile.in (V-VERSION-TAG): Renamed from `VERSION-VCTAG'. (disttag): Delete this var. (dtag): New var. (dist): Use `dtag'. * configure.in (V_VERSION_TAG): Renamed from `VERSION_VCTAG'. 2002-01-02 Thien-Thi Nguyen * ttn/pgtable.scm (pg-result-symbol): New proc, exported. * Makefile.in: all: Remove superfluous output. * Makefile.in (GUILE-TOOLS): New var. (VERSION-VCTAG): Renamed var from `v'. all: Use "guile-tools generate-autoload" rather than bin/generate-autoload. * configure.in (VERSION_VCTAG): New var, substituted. (GUILE_PROGS): Instantiate this macro. If guile-tools is not found, signal error. 2001-12-31 Thien-Thi Nguyen * Makefile.in (guile-site): Rename from `guile-site-dir'. Use @GUILE_SITE@ substitution. (v): New var. (tag, untag): Use `v'. (extradist): Add .release. Remove VERSION, .release.scm. * configure.in (VERSION): Define in this file rather than consulting VERSION file. Rewrite checks using latest Guile autoconf support. Add summarization. 2001-12-29 Thien-Thi Nguyen * autogen.sh: Accept "--verbose" and pass to subtools. * autogen.sh: New file. 2001-12-23 Thien-Thi Nguyen * ttn/parse-rfc822.scm: Autoload (ttn gap-buffer). Autoload (ttn stringutils). (parse-lines): Save body lines, with access from returned closure via new `body-lines' key. Key `body' returns a cached concatenation of these lines. (parse-rfc822): Also accept list of lines as arg `mailmsg'. * ttn/split-mbox.scm: New file. 2001-12-21 Thien-Thi Nguyen * ttn/html-data.scm (html): Add !DOCTYPE tag. 2001-12-18 Thien-Thi Nguyen * ttn/pgmeta.scm, ttn/pgtable.scm (common-lisp:mapcar): Delete. Replace callers w/ plain `map'. 2001-12-17 Thien-Thi Nguyen * ttn/display-table.scm: Spelling fix. * ttn/display-table.scm: New file. * ttn/pgtable.scm: Use module (ttn display-table). Re-export `display-table'. (display-table): Move to own module. * ttn/pgtype.scm (timestamp): In postgres->scheme procedure, make return value an integer (seconds since epoch). 2001-12-14 Thien-Thi Nguyen * ttn/spewutils.scm (update-all-html-data-pages!): New proc, exported. * ttn/spewutils.scm: Autoload (ttn echo). * ttn/spewutils.scm (update-all-pages!): New proc, exported. * Makefile.in: Comment fix. * ttn/testing/ttn/check-pgtable.scm (test-m2): Update expected `help' output. * ttn/html-data.scm (name, dl, dll): New procs, exported. 2001-12-13 Thien-Thi Nguyen * ttn/pgtable.scm (table->object-alist-proc): No longer take unused arg `defs'. (object-alist->alists): New proc. (pgtable-manager): Support `table->alists' and `tuples-result->alists'. * ttn/pgtable.scm: Rewrite commentary. (sql-pre): New proc, exported. (->db-insert-string): Pass `x' through if it has non-#f `ttn-pgtable-sql-pre' property. 2001-12-12 Thien-Thi Nguyen * ttn/pgtable.scm (serial?, clean-defs, cdefs->cols): New procs. (insert-values-cmd, insert-col-values-cmd): Rewrite. (insert-alist-cmd, insert-alist-proc): New procs. (pgtable-manager): Support `insert-alist'. 2001-12-03 Thien-Thi Nguyen * ttn/testing/benchmarks/ftw.scm: Use "/etc" instead of "/" since that can be humongous. 2001-12-02 Thien-Thi Nguyen * ttn/html-data.scm (copyright-since): Handle numerical `year'. 2001-11-28 Thien-Thi Nguyen * ttn/spewutils.scm (spew-html!): Fix typo. * ttn/spewutils.scm: New file. * ttn/html-data.scm (http-html-header): Delete. (html): Fix bug: Do not include `http-html-header'. * ttn/write-buffer.scm (write-buffer): Use `with-output-to-file' instead of displaying directly to newly opened file port. 2001-11-27 Thien-Thi Nguyen * ttn/html-world.scm (xearth-command): (Re-)Set image size to 150,150. * ttn/html-world.scm (xearth-command): Fix omission bug: Also use ppmtopgm(1) and pgmtopbm(1). 2001-11-20 Thien-Thi Nguyen * ttn/dirutils.scm (save-cwd): Fix bug: Return BODY value normally. * ttn/html-data.scm (tt-pre): New proc, exported. * ttn/html-world.scm: Rewrite commentary. (html-world.html-data): New proc, exported. * ttn/flatten-to-buffer.scm (flatten-to-buffer): Fix typo. * ttn/flatten-to-buffer.scm, ttn/collect-files-sorted-by-mtime.scm: New file. * ttn/write-buffer-if-changed.scm: New file. 2001-11-18 Thien-Thi Nguyen * ttn/testing/ttn/check.scm: Add section for (ttn flatten). * ttn/flatten.scm (flatten): Fix typo. * ttn/flatten.scm: New file. 2001-11-14 Thien-Thi Nguyen * ttn/gpgutils.scm: No longer autoload module (ttn shellutils). Autoload module (ttn make-buffered-caller). * bin/generate-autoload, bin/display-rcs-state-summary: Use `:select' clause for `use-modules'. * ttn/testing/ttn/check.scm, ttn/dirutils.scm, ttn/shellutils.scm, ttn/html-data.scm, ttn/parse-rfc822.scm, ttn/fileutils.scm: state now Rel * ttn/fileutils.scm: Document. * ttn/testing/ttn/check.scm (check-filename-components-invertible?): New macro. (hacky-stash): New var. For (ttn fileutils), rewrite. Add section for (ttn find-file). Add section for (ttn save-buffer). Add section for (ttn write-buffer). For (ttn shellutils), rewrite. Add section for (ttn call-process). Add section for (ttn call-process-to-buffers). Add section for (ttn make-buffered-caller). 2001-11-12 Thien-Thi Nguyen * ttn/shellutils.scm (sysfmt): New proc, exported. * ttn/html-data.scm (ull, copyright, copyright-since): New procs. 2001-11-10 Thien-Thi Nguyen * ttn/fileutils.scm: Rewrite commentary. No longer autoload module (ice-9 rw). No longer autoload module (ttn gap-buffer). (filename-sans-end-slash): Export. (filename-components): Renamed from `comp-sep', exported. (filename-components-append): Renamed from `comp-append', exported. (expand-file-name): Move to expand-file-name.scm. (find-file): Move to find-file.scm. (save-buffer): Move to save-buffer.scm. (write-buffer): Move to write-buffer.scm. * ttn/call-process-to-buffers.scm: Use module (ttn find-file). (private-file-port): Use `system*'. (read/cleanup-fport): Delete. (read/cleanup-fport!): New proc. (call-process->buffers): Use `read/cleanup-fport!'. * ttn/write-buffer.scm, ttn/save-buffer.scm, ttn/find-file.scm, ttn/expand-file-name.scm: New file. * ttn/shellutils.scm: Rewrite commentary. No longer use module (ice-9 optargs). No longer autoload module (ice-9 rdelim). No longer use module (ttn gap-buffer). (email-log-if-fail): Move to email-log-if-fail.scm. (call-process): Move to call-process.scm. (private-file-port, prog1, read/cleanup-fport): Delete. (call-process->buffers): Move to call-process-to-buffers.scm. (make-buffered-caller): Move to make-buffered-caller.scm. * ttn/call-process.scm: No longer use module (ttn stringutils). Use module (ttn shellutils). (args->normalized-list): Move to (ttn shellutils). * ttn/rcsutils.scm (rlog, group-files-by-rcs-state): Use `acons'. * ttn/abbrev-tree.scm (abtree-expand): Use `acons'. * ttn/pgtype.scm (define-db-col-type): Use `acons'. * ttn/fileutils.scm (find-file): Accept optional arg `buffer', which species a gap-buffer to use instead of creating a new one. * ttn/make-buffered-caller.scm: Fix omission: Use (ice-9 optarg). 2001-11-09 Thien-Thi Nguyen * ttn/call-process-to-buffers.scm (private-file-port): Fix typo. * ttn/call-process-to-buffers.scm, ttn/call-process.scm: Do not specify selection on (ice-9 optargs) import. * ttn/email-log-if-fail.scm, ttn/make-buffered-caller.scm, ttn/call-process-to-buffers.scm: New file. * ttn/call-process.scm (call-process): Export. * ttn/call-process.scm: New file. * ttn/testing/ttn/check.scm: For (ttn dirutils), update file lists. 2001-11-06 Thien-Thi Nguyen * ttn/parse-rfc822.scm (parse-rfc822): Use alternate conditional syntax. 2001-11-02 Thien-Thi Nguyen * Makefile.in (extradist): Add BUGS file. * ttn/html-data.scm (table, tr, td): New procs, exported. * ttn/html-data.scm (h2, h3, h4, h5, h6): New procs, exported. * ttn/testing/ttn/check.scm: For (ttn dirutils), update file lists. * ttn/html-data.scm: New file. 2001-10-30 Thien-Thi Nguyen * ttn/parse-rfc822.scm (parse-rfc822): Comment. * ttn/testing/ttn/check.scm: Add section for (ttn parse-rfc822). * ttn/gap-buffer.scm (gb?): Export. * ttn/testing/ttn/mail-from-ttn.mbox: New file. * ttn/testing/ttn/check.scm: For (ttn dirutils), update file lists. * ttn/parse-rfc822.scm: New file. 2001-10-03 Thien-Thi Nguyen * ttn/gpgutils.scm: No longer autoload `(ice-9 redlim)'. * Makefile.in (extradist): Add .release.scm. * ttn/stringutils.scm (string-append/separator): Fix bug: Handle empty `strings' list. 2001-10-02 Thien-Thi Nguyen * ttn/pgtable.scm (tuples-result->table): Fix typo introduced in last change. * ttn/pgtable.scm (tuples-result->table): Clamp return array inputs. 2001-09-07 Thien-Thi Nguyen * configure.in: Accept versions 1.5.x, 1.6.x and 1.7.x. Use "guile-config info guileversion" instead of "guile-config --version". * Makefile.in (all): Use "echo" instead of "echo -n". 2001-09-05 Thien-Thi Nguyen * ttn/fileutils.scm: No longer autoload `(ice-9 redlim)'. * ttn/abbrev-tree.scm, ttn/cron.scm, ttn/testing/ttn/check-pgmeta.scm, ttn/testing/ttn/check-pgtable.scm, ttn/testing/ttn/check.scm, ttn/testing/benchmarks/common-head.scm: Repace `write-line' w/ `display' and `newline'. 2001-08-25 Thien-Thi Nguyen * ttn/testing/ttn/check-pgmeta.scm: New file. * ttn/testing/ttn/check.scm: (check-cp->b, check-cp->b-w/input): Third arg is now a bool, signifying whether or not the error buffer should be non-empty. Update callers. For (ttn dirutils), update file lists. * ttn/testing/ttn/Makefile (check): Also depend on `check-pgmeta'. (check-pgmeta): New target. * ttn/pgmeta.scm: New file. 2001-08-14 Thien-Thi Nguyen * ttn/testing/benchmarks/Makefile (datafiles, clean): Remove references to modified-autoload.scm. * ttn/testing/benchmarks/common-head.scm: Load "ttn/autoload.scm" instead of "modified-autoload.scm". * ttn/sanity.scm (add-to-load-path!) (know-that-ttn-procedures-docs-is-available!) (give-me-a-sane-environment-please!): Document. * ttn/mixp.scm (make-fully-specified-expat-parser) (parse-xml): Document. * ttn/echo.scm: Document. (echo-n, echow-n): Use `cond' construction instead of `*unspecified*'. * ttn/dirutils.scm (save-cwd, filename-sans-end-sep-proc): Document. * ttn/cron.scm (cron): Use `(ttn stringutils)' to implement `join'. Move most of Commentary to this proc's header comment. * ttn/scat.scm (sl->bytes): Mention byte ordering in docstring. 2001-07-19 Thien-Thi Nguyen * ttn/stringutils.scm: No longer autoload `(ice-9 string-fun)'. (string/sep->substrings): Rewrite. 2001-07-17 Thien-Thi Nguyen * ttn/testing/ttn/check.scm: For (ttn scat), add checks for `sl->bytes'. * ttn/scat.scm: Remove personal note from Commentary. * ttn/scat.scm: Rewrite many docstrings. (expand-hex-string-field-def): Move into `make-sl'. (define-sl): Delete. (sl-find-field): Delete; update callers to use `assq'. (sl->bytes): New exported proc. 2001-07-14 Thien-Thi Nguyen * ttn/testing/ttn/check.scm: Add section for (ttn scat). 2001-07-13 Thien-Thi Nguyen * ttn/scat.scm (hex-string->num): Delete. (btrunc): New proc. (make-scat): No longer accept hex string for `default-value'. Call `btrunc' on `default-value'. (scat-concat): First arg now is shifted, while second arg is not. (sl-field-def-check-func): Delete. (expand-hex-string-field-def): New proc. (make-sl): Call `expand-hex-string-field-def' if given hex string. No longer call `sl-field-def-check-func'. (sl-copy): Renamed from `copy-sl'. (sl-edit!): Renamed from `edit-sl'. (sl-from-template): New exported proc. 2001-06-28 Thien-Thi Nguyen * ttn/testing/benchmarks/Makefile (GUILE): New var. (benchmarks): Use `$(GUILE)'. * ttn/testing/ttn/Makefile (GUILE): New var. (check-pgtable, check-most-everything-else): Use `$(GUILE)'. 2001-06-26 Thien-Thi Nguyen * ttn/scat.scm (make-scat): Fix bug: Compare `default-value' against empty list. Also, use its car instead of using it directly. 2001-05-18 thi * configure.in: Require guile-1.5.x. * ttn/pgtable.scm: Add more procedure documentation. * ttn/gpgutils.scm: Add procedure documentation. * ttn/gpgutils.scm (read-line-no-echo): Now takes arg `prompt'. Rewrite using `getpass'. * ttn/sanity.scm (know-that-ttn-procedures-docs-is-available!): New proc, factored from `give-me-a-sane-environment-please!', exported. (give-me-a-sane-environment-please!): Call new proc. * Makefile.in (install): Also install $(docs-file). 2001-05-17 thi * bin/snarf-docs (display-procedure-doc-entry): Include another terminating newline since that is discarded. 2001-05-16 thi * ttn/sanity.scm (give-me-a-sane-environment-please!): Also add ttn-procedures-docs.txt file to (ice-9 documentation) `documentation-files', if not already there. * Makefile.in (docs-file): Change to "ttn-procedures-docs.txt". * ttn/edit.scm: Move docstrings to preceding comment. * ttn/edit.scm: No longer use (ttn moduleutils). (FROM:gb): Rewrite using `use-modules'. (e:ify): Rewrite using `symbol-prefix-proc'. (reckless-forw-char, reckless-back-char): New bindings imported and renamed from (ttn gap-buffer) `point++n!' and `point+-n!', respectively. (forward-char, backward-char): Rewrite. (re-search-forward): Use `regexp/notbol'. * ttn/testing/benchmarks/gap-buffer.scm: Add "traverse buffer" benchmark. 2001-05-15 thi * bin/snarf-docs (clump): No longer handle "comment-internal" whitespace lines. * ttn/stringutils.scm, ttn/shellutils.scm, ttn/rcsutils.scm, ttn/pgtype.scm, ttn/pgtable.scm, ttn/listener.scm, ttn/html-world.scm, ttn/grep.scm, ttn/fileutils.scm: Move docstrings to preceding comment. * ttn/dirutils.scm: Move docstrings to preceding comment. * ttn/abbrev-tree.scm: Move docstrings to preceding comment. (identity): Delete. * ttn/moduleutils.scm: Move all docstrings to preceding comment. (import-from-module, reexport-from-module): Rewrite. * bin/snarf-docs: No longer use (ttn echo). * ttn/gap-buffer.scm (point++n!, point+-n!): New procs. (gb-goto-char): Rewrite to use new procs. 2001-05-14 thi * bin/snarf-docs (display-procedure-doc-entry): Use more compressed format. * bin/snarf-docs: No longer use (ttn eformat). No longer enable read-option `positions'. Use (ttn stringutils). (display-procedure-doc-entry): Renamed from `display-doc'. (display-docs): Delete. (quoted?, clump, clean, process-file): New procs. (main): Rewrite. 2001-05-11 thi * ttn/sanity.scm (resolve-interface): Delete. (give-me-a-sane-environment-please!): No longer replace system `resolve-interface' w/ local one. 2001-05-04 thi * ttn/edit.scm (gb-bef, gb-aft): No longer import from (ttn gap-buffer). (s:, gap-ofs:, aft-ofs:): Import from (ttn gap-buffer). (looking-at, search-forward, search-backward, re-search-forward): Rewrite to not use `gb-bef' and `gb-aft'. * ttn/gap-buffer.scm (gb-bef, gb-aft): Delete. (gb->string): Rewrite not to use `gb-bef' and `gb-aft'. * ttn/gap-buffer.scm (make-gap-buffer-port): Rewrite "read-char" proc. 2001-05-03 thi * ttn/gap-buffer.scm: Augment commentary, notes. (gb-sz, gb-bef!, gb-aft!, gb-sz!, concat): Delete. (gap-buffer): Use new structure. (s:, all-sz:, gap-ofs:, aft-ofs:, s!, all-sz!, gap-ofs!, aft-ofs!): New procs to access/modify `gap-buffer'. (new): Renamed from `--gb-new'. (default-initial-allocation, default-chunk-size, default-realloc-threshold): New vars. (round-up, realloc, insert-prep): New procs. (make-gap-buffer, gb-point, gb-point-max, gb-insert-string!, gb-insert-char!, gb-delete-char!, gb-erase!, gb-goto-char, gb->string): Rewrite. 2001-05-02 thi * ttn/fileutils.scm: Autoload (ice-9 rdelim), triggered by `read-line'. Autoload (ice-9 rw), triggered by `read-string!/partial'. * ttn/shellutils.scm, ttn/gpgutils.scm, ttn/shell-command-to-string.scm: Autoload (ice-9 rdelim), triggered by `read-line'. * ttn/testing/ttn/check-pgtable.scm: Use modules (ice-9 common-list) and (database postgres). (must-equal, must-true, must-false, must-pg-equal, must-pg-fatal, must-pg-nonfatal, must-cmd-ok, must-tup-ok): New macros. (try-defs): New proc. (expect-bad-defs): New macro. (test-m2): New proc. Call `test-m2'. * ttn/pgtable.scm: No longer use (ttn eformat); no longer call `activate-eformat' or `deactivate-eformat'. Trigger (ttn stringutils) autoload on `string-append/separator'; no longer trigger on `mapconcat'. (ec, pair-lists): Delete. (common-lisp:mapcar, char-sep, ssep): New procs. (csep): Rewrite using `char-sep'. (symbol->qstring, fmt): New procs. (pgdb-connection, drop-table-cmd, drop-sequence-cmd, create-cmd, insert-values-cmd, insert-col-values-cmd, delete-rows-cmd, update-col-cmd, where-clausifier): Use call to `fmt' instead of eformat syntax. (def:col-name, def:type-name, def:type-options): New procs. (validate-def, col-defs, drop-proc, create-cmd, insert-values-cmd, insert-col-values-cmd, update-col-cmd): Use new "def:*" procs. (validate-defs): Also signal error if defs is a null list. (create-cmd, insert-values-cmd, insert-col-values-cmd, update-col-cmd): Use new `csep' and `ssep'. (create-cmd, insert-values-cmd, insert-col-values-cmd, update-col-cmd, select-cmd): Fix omisison bug: Use `symbol->qstring' on column names to avoid keyword alias error. (t-obj-walk-proc): Handle type options w/ ignorance. 2001-04-25 thi * ttn/pgtype.scm (text, text[], text[][]): Use `identity' instead of `id'. * ttn/listener.scm (make-listener): Use `identity' instead of `id'. * ttn/edit.scm (replacement-text): Remove unused call to `id'. * ttn/slice.scm (slice): Use `identity' instead of `id'. * ttn/testing/benchmarks/common-head.scm (imult, time-execution): Use `identity' instead of `id'. 2001-04-23 thi * bin/snarf-docs: Update format example commentary; no functional change. * bin/snarf-docs (display-docs): Fix bug: Use `pair?' instead of `list?' when considering formals. * bin/snarf-docs (display-docs): Fix OBOE. * ttn/gpgutils.scm: New file. * bin/snarf-docs (echo-file-info): Delete this proc. (display-doc): New proc. (display-docs): Call `display-doc'. * Makefile.in (clean): Remove autoload and docs files. * bin/snarf-docs: New file. * Makefile.in: Comment munging, no functional change. 2001-04-22 thi * Makefile.in (default): No longer display autoload and procedure documentation file contents. Instead, display timing info. * Makefile.in (docs-file): New var. (default): Also generate docs. * Makefile.in (dist): Fix omission bug: create "ttn" symlink in bin. 2001-04-15 thi * ttn/html-world.scm (html-world): Fix slack bug: Quote empty array. * Makefile.in (dist): In dist dir, touch file to prevent check of (ttn gpgutils). 2001-04-11 thi * ttn/sanity.scm (give-me-a-sane-environment-please!): No longer attempt to activate readline library. 2001-04-10 thi * ttn/testing/ttn/check.scm: Add section for (ttn gpgutils). * ttn/testing/ttn/message-from-ttn.txt: New file. * ttn/testing/ttn/check.scm: For (ttn dirutils), update file list. * Makefile.in (minusdist): Add ttn/under-wraps. * Makefile.in (dist): Fix omission bug: create "ttn" symlink in ttn/testing/benchmarks. 2001-04-08 thi * ttn/pgtype.scm (dbcoltype-lookup): Add docstring. (define-db-col-type): Update docstring. (define-db-col-type-array-variant): Add docstring. 2001-04-07 thi * ttn/listener.scm (make-listener): Lift call to `loop' out of inner `let*'. * ttn/testing/benchmarks/common-tail.scm: Also call `flush-all-ports'. * Makefile.in (extradist): Add ttn/testing/benchmarks/tea-1.0 and ttn/testing/benchmarks/tea-0.2. * ttn/testing/ttn/check.scm: For (ttn dirutils), update file list. 2001-04-05 thi * Makefile.in (interesting-dirs): Also include `bin'. * bin/generate-autoload: No longer set env var `GUILE_LOAD_PATH' in sh prologue. * Makefile.in (jampath, interesting-dirs): New vars. (all, rcs-state-summary): Use `jampath' (rcs-state-summary): Rewrite to call bin/display-rcs-state-summary. * bin/display-rcs-state-summary: New file. * ttn/testing/ttn/check-pgtable.scm (defs): Change `read' type to `text[][]'. Add column `etc'. Modify insert 1 and 2 to reflect `defs' change. Add insert 3. Modify select 3 and 7 to reflect `defs' change. Add select 9. * ttn/pgtable.scm: Autoload modules (ttn echo) and (ttn stringutils). Use new module (ttn pgtype). (double-quote, *db-col-types*, define-db-col-type): Move to module (ttn pgtype). (csep): New proc. (create-cmd, insert-values-cmd, insert-values-proc, insert-col-values-cmd, update-col-cmd, select-cmd): Use `csep'. (validate-def): Use `dbcoltype:name'. (->db-insert-string): Use `dbcoltype-lookup', `dbcoltype:stringifier' and `dbcoltype:default'. (t-obj-walk-proc): Use `dbcoltype:objectifier'. (pgtable-manager): Use `dbcoltype:name'. (serial, boo, timestamp, text, int4, float4, text[], text[][]): Move these type definitions to module (ttn pgtype). * ttn/pgtype.scm: New file. 2001-03-30 thi * ttn/ftw.scm (visited?-proc): Rewrite to use hash table. Now take arg `size' to size hash. Thanks to Brad Knotwell. (ftw): Now take optional arg `options'. Handle `hash-size N'. (nftw): Handle `hash-size N' in `control-flags'. * ttn/testing/benchmarks/common-head.scm: Load autoload file or signal error if it doesn't exist. No longer explicitly load (ttn stringutils), (ttn gap-buffer) or (ttn fileutils). * ttn/testing/benchmarks/Makefile (benchmarks): Add `ftw'. (tea): New target, synonymous w/ `default'. (datafiles): For this target, copy ttn/autoload.scm into cwd and modify so that autoloads go into module `(guile)'. (clean): Also remove modified autoload file. * ttn/testing/benchmarks/ftw.scm: New file. 2001-03-29 thi * ttn/listener.scm (make-listener): Fix bug: Quote two unquoted `()'. * ttn/stringutils.scm (string-quoted/escaped): Add docstring, no functional change. * ttn/testing/ttn/check.scm: For (ttn dirutils), update file list. * ttn/listener.scm: New file. 2001-03-28 thi * ttn/shellutils.scm (make-buffered-caller): Signal error if bad command. Handle new command: `exit-val'. * ttn/edit.scm (insert): Also take symbols and sexps. * ttn/gap-buffer.scm (make-gap-buffer): Handle optional `init' arg which can be a port or a string. 2001-03-27 thi * ttn/grep.scm (grepper-proc): Handle `literal' flag. (grep, grep-matches): Add `literal' flag to docstring; no functional change. * ttn/grep.scm: Fix typo: No longer export `string->sep-fields'. * ttn/shellutils.scm (make-buffered-caller): Fix docstring typo; no functional change. * ttn/fileutils.scm: Fix omission bug: Add `gb->string' to (ttn gap-buffer) autoload trigger list. 2001-03-24 thi * ttn/pgtable.scm (pgtable-manager): Add `table-name' handling. * ttn/pgtable.scm (pgtable-manager): Add `defs' handling. 2001-03-23 thi * ttn/edit.scm (let): Fix bug: Do not hardcode car of form in this `cbexp-specials' expander proc since it is also used by `let*' and `letrec'. * ttn/edit.scm (buffer-port): New "e:" proc. * Makefile.in (default): Now calls bin/generate-autoload to create ttn/autoload.scm. (minusdist): Remove `bin'. * bin/generate-autoload (display-define-module-form): Count modules and syms. Display result as comment after `define-module' form. * bin/generate-autoload: Commenting, no functional change. * bin/generate-autoload (display-define-module-form): Insist on whitespace after searched string "define-module". * bin/generate-autoload: New file. 2001-03-22 thi * ttn/pgtable.scm (text[]): Fix bug in objectifier proc for this db-col-type: Handle empty set "{}". * ttn/pgtable.scm (col-defs): New proc. (drop-proc): Add comment, no functional change. (insert-col-values-cmd): Use `col-defs'. (delete-rows-cmd, delete-rows-proc, update-col-cmd, update-col-proc): New procs. (pgtable-manager): Add `delete-rows' and `update-col' handling. (serial): New db-col-type. * ttn/pgtable.scm (drop-table-cmd): Rename from `drop-cmd'. (drop-sequence-cmd): New proc. (drop-proc): Also invoke "DROP SEQUENCE" if any fields have type `serial'. Construct name according to documentation in PostgreSQL User Guide, Chapter 3: Data Types. Return value is now cons of "DROP TABLE" result and any "DROP SEQUENCE" results. (insert-col-values-cmd, insert-col-values-proc): New procs. (pgtable-manager): Update `drop-proc' call. Add dispatch for `insert-col-values'. 2001-03-20 thi * ttn/stringutils.scm (string-quoted/escaped): New proc, exported. 2001-03-19 thi * ttn/edit.scm (cbsyn-expand): Delete this proc. (cbexp-specials): New var. (define-cbexp-special): New proc. Use `define-cbexp-special' to register handlers for `let', `let*', `letrec', `lambda', `define', `case', `current-buffer'. (cbproc-app-expand): Consult `cbexp-specials'. * ttn/autoload.scm: Must I hold a candle to my shames? -- William Shakespeare, "The Merchant of Venice" * ttn/testing/ttn/Makefile (check-pgtable): Pass contents of .enable-check-pgtable if it exists to check-pgtable.scm. * ttn/moduleutils.scm (import-from-module): Add docstring, no functional change. * ttn/pgtable.scm (define-db-col-type): Add docstring, no functional change. * Makefile.in: Rewrite part of comment on "make check". (tea): New target. * ttn/testing/benchmarks/gap-buffer.scm: Add section to benchmark `gb->lines'. * ttn/testing/ttn/check.scm (check-gb-search): Delete this macro. Add section for (ttn edit). Move gap-buffer searching tests to this section, since gap-buffer searching is now implemented in (ttn edit). * ttn/edit.scm (cbproc-app-expand): Handle improper lists. * ttn/edit.scm (cbsyn-expand): Also handle `letrec'. * ttn/edit.scm (parse-search-args): Fix omission bug: Also take arg `gb'. Update callers. * ttn/edit.scm (substring-ready-buffer-string): New proc. (buffer-substring): Use `substring-ready-buffer-string'. (match-string): New "e:" proc. (replacement-text): Use `e:match-string'. No longer take `m'. (replace-match): Fix ordering bug: Compute replacement text before modifying buffer. No longer pass match data to `replacement-text'. 2001-03-18 thi * ttn/edit.scm: Reorder stuff, no functional change. * ttn/edit.scm: Autoload (ice-9 regex) on `string-match' or `match:end'. Autoload (ice-9 receieve) on `receive'. (gb-bef, gb-aft): Import from (ttn gap-buffer). (forward-char, backward-char, match-data, set-match-data, looking-at, match-beginning, match-end, search-forward, search-backward, re-search-forward, replace-match): New "e:" procs. (guile-md->md, md, md!, parse-search-args, replacement-text): New procs. * ttn/edit.scm (cbproc-app-expand): Use `e:ify'. * ttn/edit.scm: No longer use (ttn echo). Use (ttn moduleutils). (register-cbproc!, e:ify): New procs. (FROM:gb, simple-gb->e:, tricky-gb->e:, define-e:): New macros. Rewrite binding actions using new macros. * ttn/moduleutils.scm: No longer use module (ice-9 session). (ls): Delete this proc. (import-from-module, reexport-from-module): New macros, exported. (bind-in-the-scm-module!): Add docstring, no functional change. 2001-03-17 thi * ttn/edit.scm: New file. * ttn/testing/ttn/check.scm (check-gb-search): New macro. For (ttn gap-buffer), revise `gb-goto-char' tests; add `gb-search-forward' and `gb-search-backward' tests; add `gb-filter-lines!' test. For (ttn fileutils), revise line-count test; add `write-buffer' test. For (ttn dirutils), update file list. 2001-03-16 thi * ttn/fileutils.scm (find-file, save-buffer): Rewrite. (write-buffer): New proc, exported. * ttn/gap-buffer.scm (gb->lines): Rewrite. * ttn/gap-buffer.scm (gb-goto-char): Always return `new-point'. If `new-point' is out of range, set point to edge of range anyway. * ttn/testing/benchmarks/gap-buffer.scm, ttn/testing/benchmarks/fileutils.scm, ttn/testing/benchmarks/common-tail.scm, ttn/testing/benchmarks/common-head.scm, ttn/testing/benchmarks/baseline.scm, ttn/testing/benchmarks/Makefile: New file. 2001-03-15 thi * ttn/testing/ttn/check.scm: For (ttn gap-buffer), check return value of `gb-goto-char'. 2001-03-14 thi * ttn/pgtable.scm (table->object-alist-proc): Fix bug: Order return value. (bool): New type for `*db-col-types*'. * ttn/testing/ttn/check-pgtable.scm (db-name): New var. (m): Use `db-name'. 2001-03-07 thi * ttn/pgtable.scm: For `timestamp' type, input converter now only tries to convert numbers, and leaves strings alone. * ttn/pgtable.scm (define-db-col-type): Export this proc. * ttn/autoload.scm: Ships are safe in harbor, but they were never meant to stay there. * ttn/pgtable.scm: Add Commentary. (pgtable-manager): Add docstring. Also, handle `types-list' choice. (where-clausifier): Add docstring, no functional change. * ttn/testing/ttn/check-pgtable.scm: Display `menu' and `types-list' choices. * ttn/pgtable.scm (t-obj-walk-proc): Fix omission typo. * ttn/testing/ttn/check-pgtable.scm (objwalk): New proc. (sel/obj/display): Rewrite to use `objwalk'. * ttn/pgtable.scm (pgtable-manager): Also provide `t-obj-walk'. * ttn/pgtable.scm (tuples-result->table): No longer take rest arg `defs'. (t-obj-walk-proc, table->object-alist-proc): New procs. (pgtable-manager): Also provide `table->object-alist' and `tuples-result->object-alist'. * ttn/testing/ttn/check.scm: For (ttn dirutils), update file list. * ttn/testing/ttn/check-pgtable.scm: Add debugging support. * ttn/autoload.scm: Remove entry for hacks.scm since this file is gone. * ttn/testing/ttn/check-pgtable.scm (sel/obj/display): New macro. Add four cases using `sel/obj/display'. * ttn/pgtable.scm: New file. * ttn/testing/ttn/check-pgtable.scm (drop, create, insert, select): Use new access method. * ttn/stringutils.scm: Add Commentary. (mapconcat): Add docstring, no functional change. * ttn/eformat.scm (embedded-format): Remove unnecessary application. * ttn/testing/ttn/check.scm: For (ttn dirutils), update file list. * ttn/testing/ttn/check-pgtable.scm (m): Use `(getenv "USER")' instead of hard-coding "ttn". Also, use table name "check_ttn_pgtable" instead of "zzz". * ttn/testing/ttn/Makefile (check): Split into two. (check-pgtable, check-most-everything-else): New targets. 2001-03-06 thi * ttn/testing/ttn/check-pgtable.scm: New file. * ttn/testing/ttn/check.scm: Comment munging, no functional change. * ttn/stringutils.scm (mapconcat): New proc, exported. * ttn/testing/ttn/check.scm: For (ttn grep), also check handling of `count' flag. * ttn/grep.scm (grepper-proc): Handle `count' flag. (grep, grep-matches): Add `count' flag to docstring; no functional change. * ttn/rcsutils.scm: No longer use (ice-9 and-let*). (rlog): Do "manual and-let*". 2001-03-05 thi * ttn/autoload.scm: Reader, suppose you were an idiot. And suppose you were a member of Congress. But I repeat myself. -- Mark Twain * ttn/testing/ttn/check.scm: Add section for (ttn eformat). * ttn/eformat.scm: Touch up example in header comment; no functional change. * ttn/eformat.scm: New file. * ttn/testing/ttn/check.scm: Remove section for deleted module (ttn original-sin). For (ttn dirutils), update file list. * ttn/autoload.scm: Remove entry for original-sin.scm since this file is gone. 2001-02-27 thi * ttn/autoload.scm: Q: What do you call a blind, deaf-mute, quadraplegic Virginian? A: Trustworthy. * ttn/testing/ttn/check.scm: For (ttn shellutils), also check `make-buffered-caller'. * ttn/testing/ttn/check.scm: For (ttn gap-buffer), also test `gb-filter-lines!'. Add section for (ttn fileutils). * ttn/fileutils.scm: Autoload (ttn gap-buffer) now also triggers on `make-gap-buffer-port'. Use module (ice-9 redelim) if `read-line' not defined. (find-file): Expand docstring; no functional change. (save-buffer): New proc, exported. * ttn/fileutils.scm (expand-file-name): Fix docstring bug. * ttn/fileutils.scm: Add commentary, no functional change. * ttn/fileutils.scm: New file. * ttn/testing/ttn/check.scm: For (ttn dirutils), update file list. 2001-02-26 thi * ttn/gap-buffer.scm: Autoload (ttn stringutils). (gb-filter!, gb->lines, gb-filter-lines!): New procs, exported. * ttn/shellutils.scm: Autoload (ttn gap-buffer) also on `make-gap-buffer'. (make-buffered-caller): New proc, exported. * ttn/grep.scm (grepper-proc): Take new rest-arg `flags', and handle `invert' and `fold-case'. (grep, grep-matches): Take new rest-arg `flags'. Pass to `grepper-proc'. Expand docstring. 2001-02-25 thi * ttn/grep.scm: No longer autoload (ice-9 string-fun). (string->sep-fields): Move this proc to (ttn stringutils), renaming it to `string/sep->substrings'. * ttn/stringutils.scm: New file. * ttn/testing/ttn/check.scm: For (ttn shellutils), also check `call-process' and `call-process->buffers' using key `#:norm'. * ttn/shellutils.scm: Autoload (ttn stringutils). (args->normalized-list): New proc, exported. (call-process): Fix bug: Handle `0' for `outp'. (call-process, call-process->buffers): New key `#:norm' means call `args->normalized-list'. * ttn/testing/ttn/check.scm (must-equal): No longer wrap eval w/ `false-if-exception'. For (ttn grep), use renamed proc `string/sep->substrings'. Add section for (ttn stringutils). For (ttn slice), explicitly use `false-if-exception'. For (ttn dirutils), update file list. * ttn/testing/ttn/check.scm: For (ttn gap-buffer), also check `gb-erase!'. * ttn/gap-buffer.scm (gb-erase!): New proc, exported. * ttn/grep.scm: Add commentary; no functional change. * ttn/testing/ttn/check.scm: Add section for (ttn grep). For (ttn dirutils), update file lists. * ttn/grep.scm: Fix typo. * ttn/grep.scm: New file. 2001-02-23 thi * ttn/shellutils.scm (call-process): Fix bug: Discard error output independently of whether or not output is discarded. * ttn/testing/ttn/check.scm: Add section for (ttn shellutils). * ttn/shellutils.scm: Use (ice-9 optargs). Autoload (ttn echo), (ttn gap-buffer). Use (ice-9 rdelim) if `read-line' not defined. (remove-keys, private-file-port, read/cleanup-fport): New procs. (prog1): New macro. (call-process, call-process->buffers): New procs, exported. * ttn/gap-buffer.scm (gb?): New proc. (make-gap-buffer-port): Throw error if arg not a gap-buffer. 2001-02-20 thi * ttn/gap-buffer.scm: Copy NEWS blurb into Commentary; no functional change. 2001-02-18 thi * ttn/autoload.scm: Have a place for everything and keep the thing somewhere else; this is not advice, it is merely custom. -- Mark Twain * ttn/autoload.scm: October 12, the Discovery. It was wonderful to find America, but it would have been more wonderful to miss it. -- Mark Twain, "Pudd'nhead Wilson's Calendar" * ttn/testing/ttn/check.scm (check-gb): Use `gb->string' instead of `gb-string'. * ttn/gap-buffer.scm (gb->string): Rename from `gb-string'. * ttn/testing/ttn/check.scm: For (ttn gap-buffer), also check `make-gap-buffer-port'. * ttn/gap-buffer.scm (make-gap-buffer-port): New proc, exported. 2001-02-13 thi * ttn/testing/ttn/check.scm: Add section for (ttn gap-buffer). For (ttn dirutils), update file lists. * ttn/gap-buffer.scm: New file. 2001-01-31 thi * Makefile.in (rcs-state-summary): Set GUILE_LOAD_PATH to this dir first. * ttn/autoload.scm: The bay-trees in our country are all wither'd And meteors fright the fixed stars of heaven; The pale-faced moon looks bloody on the earth And lean-look'd prophets whisper fearful change. These signs forerun the death or fall of kings. -- Wm. Shakespeare, "Richard II" * ttn/shell-command-to-string.scm: If `read-line' is not defined use module (ice-9 rdelim). This is applicable for guile post 2001-01-21. 2001-01-26 thi * ttn/autoload.scm: Better hope the life-inspector doesn't come around while you have your life in such a mess. * ttn/cron.scm (cron): If command does not match one of the handler keys, silently return #t instead of #f. 2001-01-21 thi * ttn/rcsutils.scm (rcs-files-under): New proc, exported. (group-files-by-rcs-state): Fix data type bug: Use `assoc' instead of `assq'. No longer export. (display-rcs-state-summary): Rewrite for line-oriented output. 2001-01-12 thi * ttn/autoload.scm: You will give someone a piece of your mind, which you can ill afford. * ttn/shellutils.scm: Add `define-module' form. * ttn/testing/ttn/check.scm: For (ttn dirutils), update list of scheme files in parent dir. * ttn/html-world.scm (xearth-command): Initial image size now 200x200. * ttn/shellutils.scm: New file. 2001-01-05 thi * ttn/autoload.scm: Water, taken in moderation cannot hurt anybody. -- Mark Twain * ttn/testing/ttn/check.scm: For (ttn dirutils), update list of scheme files in parent dir. * ttn/cron.scm: Add (ttn slackful-concat) as a dependency. (cron): Rewrite with new signature. (do-nothing-successfully): Delete. 2001-01-04 thi * ttn/cron.scm (do-nothing-successfully): Renamed from `do-nothing-succesfully'. 2001-01-02 thi * ttn/cron.scm (cron): Fix bug: Do thunk application, not just reference. * ttn/cron.scm: New file. 2000-12-26 thi * ttn/autoload.scm: You see, I consider that a man's brain originally is like a little empty attic, and you have to stock it with such furniture as you choose. A fool takes in all the lumber of every sort he comes across, so that the knowledge which might be useful to him gets crowded out, or at best is jumbled up with a lot of other things, so that he has difficulty in laying his hands upon it. Now the skilful workman is very careful indeed as to what he takes into his brain-attic. He will have nothing but the tools which may help him in doing his work, but of these he has a large assortment, and all in the most perfect order. It is a mistake to think that that little room has elastic walls and can distend to any extent. Depend upon it there comes a time when for every addition of knowledge you forget something that you knew before. It is of the highest importance, therefore, not to have useless facts elbowing out the useful ones. -- Sir Arthur Conan Doyle, "A Study in Scarlet" * ttn/autoload.scm: You will gain money by an immoral action. * ttn/html-world.scm (as-chunks): Fix bug: Also take into account match prefix. (html-world): Pass `concat' to `shell-command->list'. 2000-12-25 thi * ttn/shell-command-to-string.scm (shell-command-to-list): Remove debugging output. Take optional 2nd arg `handle-delim', compatible w/ `read-line' 2nd arg, clean it up and pass to `read-line'. 2000-12-24 thi * ttn/html-world.scm (xearth-command): Do not hardcode xearth path. * ttn/testing/ttn/check.scm: For (ttn dirutils), update list of scheme files in parent dir. * ttn/mixp.scm (parse-xml): Handle rest-arg correctly. * ttn/mixp.scm: Remove cruft. * ttn/mixp.scm: New file. * Makefile.in (check): Update relative dir to reflect dist reorg. 2000-12-22 thi * Makefile.in (oldtag): New var. (untag, clean, distclean): New targets. * Makefile.in (extradist): Add configure and install-sh. (minusdist): New var. (dist): Delete files in `$(minusdist)'. (install): Separate installs by directory. * Makefile.in (tag): Use `dirlist-cmd' instead of hard-coded dirs. * Makefile.in (rcs-state-summary): Also summarize this directory. * configure.in: Remove cruft. (guile_site_dir): New var, substituted. * Makefile.in (default): Now do nothing succesfully. (help): Display "Usage" lines as "make default" used to do. (SHELL, PACKAGE, VERSION, prefix, exec_prefix, INSTALL, guile-site-dir): New vars. (instdir): New var, computed from `guile-site-dir'. (install): Use `INSTALL'. (exd1): Delete var, move contents into `extradist'. (dist): Update relative dir symlinks to reflect dist reorg. * configure.in: New file. * ttn/autoload.scm: Artistic ventures highlighted. Rob a museum. * ttn/original-sin.scm, ttn/shell-command-to-string.scm, ttn/sanity.scm, ttn/html-world.scm, ttn/slackful-concat.scm: state now Rel * Makefile.in (rcs-state-summary): Update relative dirs to reflect dist reorg. * ttn/html-world.scm: Depend on (ttn shell-command-to-string). (shell-command-to-list): Delete local copy, now imported. * ttn/shell-command-to-string.scm (shell-command-to-list, shell-command->list): New exported procs. * ttn/testing/ttn/check.scm: Remove slack: Use strings for `string-append'. Update relative dirs to reflect dist reorg. Add section for (ttn slackful-concat). For (ttn original-sin), comment out testing `local-eval' since we're not really sure how this is supposed to work, yet. For (ttn dirutils), update file lists. * ttn/original-sin.scm (lookup): Coerce `getenv' arg to string. * ttn/slackful-concat.scm, ttn/html-world.scm: New file. * ttn/sanity.scm (add-to-load-path!): Convert symbols to strings. 2000-12-18 thi * packaging/guile-projects-entry: New file. 2000-10-21 thi * ttn/data/gdk+gtk-1.2.ttn-defs: New file. 2000-10-19 thi * ttn/autoload.scm: Reorg and add stuff. * Makefile.in: File renamed to Makefile.in from Makefile. * bin/sleep.scm, ttn/import/add-this-dir