| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* haunt/ui.scm (%common-options, %default-common-options): New
variables.
(simple-args-fols, show-common-options-help, leave, string->number*,
load-config): New procedures.
(haunt-error): Remove.
(show-version-and-exit): Actually exit. Add 'name' argument.
(haunt-main): Use new 'show-version-and-exit'.
* haunt/ui/serve.scm (show-server-help): Remove.
(show-help): New procedure.
(%options, %default-options): New variables.
(haunt-serve): Use SRFI-37 option processing.
|
|
|
|
|
| |
* haunt/utils.scm (absolute-file-name, clean-directory): New procedures.
* haunt/site.scm (build-site): New procedure.
|
|
|
|
|
|
|
|
|
|
| |
Naming the field 'sxml' is a poor choice because it may contain any type
of data that the writer procedure accepts.
* haunt/page.scm (<page>): Replace 'sxml' field with 'contents'.
(page-sxml): Delete accessor.
(page-contents): New accessor.
(write-page): s/sxml/contents/
|
|
|
|
| |
* haunt/reader.scm (read-posts): New procedure.
|
|
|
|
|
| |
* haunt/reader.scm (read-html-post): New procedure.
(html-reader): New variable.
|
|
|
|
|
| |
* haunt/utils.scm: New file.
* Makefile.am (SOURCES): Add it.
|
|
|
|
| |
* haunt/reader.scm: Remove stray 'n' character.
|
|
|
|
|
| |
* haunt/site.scm: New file.
* Makefile.am (SOURCES): Add it.
|
|
|
|
|
| |
* haunt/build/html.scm: New file.
* Makefile.am (SOURCES): Add it.
|
|
|
|
|
| |
* haunt/page.scm: New file.
* Makefile.am (SOURCES): Add it.
|
|
|
|
|
| |
* haunt/reader.scm: New file.
* Makefile.am (SOURCES): Add it.
|
|
|
|
|
| |
* haunt/post.scm: New file.
* Makefile.am (SOURCES): Add it.
|
|
|
|
|
|
|
|
|
|
|
| |
* haunt/config.scm: Delete.
* haunt/config.scm.in: New file.
* haunt/ui.scm (show-version-and-exit): New procedure.
(program-name): Change default value.
(haunt-main): Add version option.
* haunt/ui/serve.scm (haunt-serve): Likewise.
* configure.ac (AC_CONFIG_FILES): Add 'haunt/config.scm'.
* .gitignore: Ignore 'haunt/config.scm'.
|
|
|
|
|
|
|
|
|
|
|
|
| |
* haunt/config.scm: New file.
* haunt/serve/mime-types.scm: New file.
* haunt/serve/web-server.scm: New file.
* haunt/ui/serve.scm: New file.
* haunt/ui.scm (commands, program-name): New variables.
(show-haunt-help): Display possible commands.
(run-haunt-command): New procedure.
(haunt-main): Run subcommands.
* Makefile.am (SOURCES): Add files.
|
|
|