2005-08-17 Shiro Kawai * release 0.5.3 * src/wiliki.scm (wiliki:default-head-elements): added LINK tag for RSS auto discovery. (default-format-wikiname): Allow whitespaces within WikiNames. (wiliki:search-box): added submit button to the search form. * src/wiliki/format.scm, src/wiliki/history.scm: added META tag for the head element of edit-history pages so that robots won't follow every link of the revisions and differences. 2005-08-10 Shiro Kawai * release 0.5.2 2005-07-26 Shiro Kawai * src/wiliki/db.scm: added wiliki-db-fold and wiliki-db-for-each * src/wiliki/macro.scm: fixed the error handling code. fixed define-reader-macro etc to avoid using receive to bind args, for the # of arguments given to the macro can exceed the limit of # of values. * src/wiliki/scr-macros.scm: added as a sample of auxiliary macros. * configure.in, Makefile.in, src/Makefile.in: adapted to the new build scheme. Now it installs gpd file so that gauche-package can display the package version. And configure.in no longer depends on gauche-specific autoconf macros. 2005-05-27 Shiro Kawai * release 0.5.1 * src/wiliki/format.scm (fmt-line): accept telnet:// as a valid protocol, as well as mailto, http(s) and ftp. * src/wiliki/format.scm (fmt-lines generator): fixed a problem of context-passing between included pages. We only need to pass information of nestings of headings, which is required to generate proper heading IDs for tha page that consists of included ones. Other context information could screw fmt-lines. 2005-05-12 Shiro Kawai * src/wiliki/format.scm (mailto): prevent creating an empty anchor tag for mailto. * src/wiliki/macro.scm (toc): fixed a bug in arranging headers into a tree. 2005-03-26 Shiro Kawai * src/wiliki/format.scm (fmt-lines): fixed a call to a local function with wrong number of arguments. 2004-05-23 Shiro Kawai * release 0.5 * doc/Makefile.in : suppress making docs for the time being; it's not ready. * src/wiliki/rssmix.scm, src/rssmix.cgi : splitted customizable part and library part. 2004-04-04 Shiro Kawai * doc/* : start adding documentation. Yet to determine the format. 2004-04-03 Shiro Kawai * src/wiliki2html: removed. The function is implemented by 'wiliki' command. * bin/wiliki: added. A general command-line tool to handle wiliki database. * test/test-bin.scm: added. 2004-04-02 Shiro Kawai * src/wiliki/format.scm (fmt-lines): fixed a bug that caused infinite loop (thanks to Kouhei Sutou for a patch). This changes behavior of ul/ol inside blockquote, but I believe the previous behavior was wrong. 2004-03-29 Shiro Kawai * src/format.scm (fmt-lines) : fixed a bug that caused infinite loop (thanks to Kouhei Sutou for a patch). 2004-03-21 Shiro Kawai * src/wiliki/db.scm, src/wiliki.scm : made wiliki.db only depend on wiliki.format. The APIs are renamed. Compatibility functions are moved to wiliki.scm. * src/wiliki/*.scm : adapted to the new wiliki.db api. 2004-03-19 Shiro Kawai * renamed the directory aux/ to util/, for Windows doesn't like the file name 'aux'. Yuck. * src/wiliki/format.scm : made formatting customization routines methods of . The closure members in are retained for the compatibility of 0.5_pre2, but deprecated. The preferable way is to subclass and override methods. 2004-03-07 Shiro Kawai * src/wiliki.scm (get-page-name): display toppage when null string is given to the 'p' parameter in QUERY_STRING (Patch from Tokuya Kameshima). 2004-02-10 Shiro Kawai * src/wiliki/format.scm (fmt-line): fixed a bug that caused infinite loop when there's an unmatched "[[" in a line. 2004-02-09 Shiro Kawai * src/wiliki2.cgi (my-page-content): make 'Topics' of side-bar a wiki-link (suggested by Zukeran Shin). * src/wiliki/edit.scm (cmd-commit-edit): make top page not deleted even if the content is empty (suggested by Kimura Fuyuki). * src/wiliki/format.scm (fmt-line): let em and strong take the innermost apostrophes instead of first-match. 2004-02-04 Shiro Kawai * src/wiliki/format.scm (fmt-line): fixed a problem of emphasizing phrase containing apostrophe. 2004-01-31 Shiro Kawai * src/wiliki.scm : looking up CGI parameters from cgi-metavariables first, instead of getting them directly by sys-getenv. This makes the host program to parameterize wiliki more easily. 2004-01-21 Shiro Kawai * src/wiliki/format.scm (fmt-line): added hook to parse ##() macro. (wiliki:format-macro): ditto. (): macro slot for ##()-macro formatter. 2004-01-19 Shiro Kawai * src/wiliki.scm (wiliki:version): added procedure to get wiliki version. * src/wiliki/edit.scm (edit-form) : make "don't update recent changes" a label of the checkbox. 2004-01-12 Shiro Kawai * src/wiliki/format.scm, src/wiliki/macro.scm, src/wiliki/util.scm : revised anchoring of headings (uses 'id' instead of 'a', and also uses hash value rather than ordinal numbers). $$toc macro is also revised to handle $$included page properly. 2004-01-11 Shiro Kawai * various files: more fixes for new format handling. * src/wiliki.scm : export various formatting functions for user customization. * src/wiliki2.cgi, src/wiliki2.css : added a sample cgi to show how to customize page display. * src/wiliki.css : renamed from wiliki-sample.css for consistency. * configure.in : 0.5_pre1 2004-01-08 Shiro Kawai * src/wiliki/format.scm : yet another snapshot of refactoring formatter. format-lines is rewritten using SXML. 2003-12-31 Shiro Kawai * another snapshot of refactoring formatter. wiliki.format is decoupled completely. 2003-12-30 Shiro Kawai * working snapshot of refactoring formatter. more changes to come. 2003-12-29 Shiro Kawai * src/wiliki.scm (get-page-name): changed to use PATH_INFO instead of REQUEST_URI * test/test-wiliki.scm : more tests. 2003-12-21 Shiro Kawai * test/test-wiliki.scm : more tests. * src/wiliki/edit.scm: added missing

in the text editing help message. 2003-12-18 Shiro Kawai * aux/*, test/test-wiliki.scm : creating a scaffold for solid testing. * src/wiliki/db.scm : fix behavior of nested with-db form. 2003-12-17 Shiro Kawai * src/wiliki/wiliki.scm (): added 'protocol' and 'server-port' slot. (full-script-path-of) : calculate full URL of script, with consideration of protocol scheme and server port. (url, url-full) : use full-script-path-of. also omit l=lang parameter if lang matches the wiliki's default language. (html-page) : use full-script-path-of to emit base path. * src/wiliki/rss.scm (rss-format): use full-script-path-of to generate page URL. * src/wiliki/edit.scm (cmd-commit-edit) : avoid writing log and db if the content isn't changed. * src/wiliki/macro.scm (define-reader-macro) : generates anchor URL without "p=", so that browser can use cached page to hop around within the page in normal circumstances. * src/wiliki.scm (debug-level): fixed bad method name. (cmd-view): added code to workaround when top page name is changed. 2003-11-19 Shiro Kawai * src/wiliki.scm, src/wiliki/macro.scm : added missing "provide" directives. * src/wiliki2html : added. 2003-10-09 YAEGASHI Takeshi * debian: new directory: Debian packaging files. * DIST_EXCLUDE: do not include config.status, config.log and debian directory in the release distribution. 2003-10-07 Shiro Kawai * release 0.4 * src/wiliki/format.scm : allow the InterWikiName list to have protocol scheme (http, https, ftp, mailto). Patch by Yaegashi Takeshi. 2003-09-01 Shiro Kawai * src/wiliki/edit.scm (edit-form): added class attribute to textareas of edit screen. 2003-08-31 Shiro Kawai * src/wiliki/db.scm (wdb-search-content): use case-insensitive search * src/wiliki.scm (expand-writer-macros): fix regexp so that args for writer macros can be handled. * src/wiliki/format.scm (format-colored-box): use :style attribute instead of :bgcolor, so that it won't interfere with different style sheets. * src/wiliki.scm (language-link): fixed a broken url generation * src/wiliki/edit.scm, src/wiliki/format.scm, src/wiliki/history.scm: Incorporated auto-merge feature to conflict handling. If logging feature is on, wiliki tries to merge both edits. Even if logging feature is not on, it shows diff, so it's much easier to find out what is edited. 2003-08-30 Shiro Kawai * src/wiliki.scm, src/wiliki/history.scm, src/wiliki/log.scm, src/wiliki/format.scm: First snapshot of integrating history module. If the log file name is given to :log-file slot of wiliki, the history feature is turned on. There are still some missing features. 2003-08-23 Shiro Kawai * src/wiliki/format.scm : rewrote formatting engine to produce more "correct" html (not quite, but almost correct). * test/format.scm : added lots of patholocigal cases. * src/wiliki-sample.css : added blockquote style. 2003-08-19 Shiro Kawai * src/wiliki.scm, src/wiliki/format.scm : Oops. Changing the default link to pathname notation had one undesirable side effect---it interferes with PageName begins with '/'. So the link use old ?PageName notation now. 2003-08-18 Shiro Kawai * src/wiliki.scm, src/wiliki/format.scm : Changed precedence of wikiname recoginition in URL. Now the pathname notation (e.g. http://foo/bar/wiliki.cgi/PageName) is the highest precedence, "?p=PageName" comes next, and "?PageName" is the last. The default format of the link of formatted page is also changed to use pathname notation. 2003-08-17 Shiro Kawai * src/wiliki.scm () : added customization parameter textarea-rows and textarea-cols (Patch from knok). * src/wiliki.scm (expand-writer-macros) : bug fix: not to expand writer macros in verbatim block. * src/wiliki/format.scm (format-page): changed not to show language links (->Japanese/->English) at edit and preview pages, for it causes problems in state tracking. * src/wiliki.cgi, src/wiliki.scm (error-page), src/wiliki/db.scm (db-try-open), src/wiliki/macro.scm (handle-expansion): Added debug-level to , and controls whether the diagnostic messages should be shown on webpage or not. The default is set so that it won't give away internal information (such as database path, stack trace, etc). * src/wiliki-sample.css : added "macroerror" class in pre, for error diagnostic messages. 2003-07-09 Shiro Kawai * src/wiliki/db.scm (db-try-open): fixed the bug that wiliki didn't create intitial database. 2003-07-04 Shiro Kawai * src/wiliki/db.scm (db-try-open): fixed a typo of keyword parameter for dbm-open (Patch from kou) * src/wiliki.scm (main): changed so that all commands except edit will open the database in read-only mode (Suggested by kou). 2003-06-06 Shiro Kawai * src/wiliki/db.scm (with-db): capture EAVAIL error from dbm-open and retry after some delay. * src/wiliki/format.scm (format-parts): recognize mailto: scheme (as suggested by Hisazumi Kenji). 2003-05-11 Shiro Kawai * src/wiliki/macro.scm (toc): fixed a bug in referencing the anchor within the same page; this bug has been incorporated by adding base element in the document in order to support pagename by path component. 2003-05-03 Shiro Kawai * src/wiliki.scm (wiliki-main): allow pagenames to be specified by appending extra path component like "wiliki.cgi/PageName". 2003-04-21 Shiro Kawai * Makefile, src/Makefile.am, test/Makefile.am, configure.in : Removed automake dependency. * src/wiliki.scm, src/wiliki/db.scm : separated database access layer. 2003-04-06 Shiro Kawai * src/wiliki/macro.scm : fixed function call wikiname-anchor -> format-wikiname-anchor. sort the result of $$index and $$cindex alphabetically. * src/wiliki.scm (wdb-search): allow optional comparison method for sorting the result. * Makefile.am and other files : adapted to automake * src/wiliki.scm, src/wiliki/format.scm : separated formatting stuff into a module. 2003-03-31 Shiro Kawai * src/wiliki/macro.scm : capture error in macro expander. * src/wiliki.scm, src/wiliki/msgs.jp.euc: fixed the text formatting instruction message. 2003-03-05 Shiro Kawai * src/wiliki.scm (format-wiki-name, cmd-view), src/wiliki/macro.scm (handle-virtual-page, virtual-page?) : Added "virtual page" feature (Patch from Hisazumi Kenji). * src/wiliki.scm (format-parts): in URI formatting, omitting protocol scheme part when a server name is not given; allows the same page to be used from http and https (Patch from YAEGASHI Takeshi). 2003-03-04 Shiro Kawai * src/wiliki/rss.scm (rss-format) : added missing rdf:about attribute in the item element. 2003-02-26 Shiro Kawai * src/wiliki.scm (format-parts) : recognize https and ftp as valid protocols to make a link. 2003-02-21 Shiro Kawai * Makefile.in : added extract target. * src/wiliki.scm (cmd-view): show "create new page" link when nonexitent page is specified. 2003-02-14 Shiro Kawai * src/wiliki.scm (cmd-recent-changes): experimentally added how-long-since display in "Recent Changes" page. 2003-02-13 Shiro Kawai * release 0.3 2003-02-12 Shiro Kawai * src/wiliki.scm (make-line-fetcher): fixed a problem with comments and line continations in a verbatim block; the line fetcher itself needs to recognize "{{{" and "}}}" to switch the mode. 2003-02-11 Shiro Kawai * src/wiliki.scm (format-content): added comment syntax, revised table syntax (use '||' instead of '|' as a delimiter), and revised formatting routine to comply HTML (mostly). 2003-02-10 Shiro Kawai * src/extract.scm : improved format of multiline string. * src/wiliki.scm : allow title to be set. * src/wiliki/msgs.jp.euc : changed some messages. * src/wiliki/macro.scm : fixed problem related to the change of return value of wdb-search. 2003-02-08 Shiro Kawai * src/wiliki/pasttime.scm : a feature to display the time since last modified. * src/wiliki/rss.scm : added RSS support. * src/wiliki.scm : Removed cgi-name slot from . It is now derived from CGI metavariables SCRIPT_NAME. Added db-type slot to , so that dbm system other than gdbm can be used. Added table support (using PukiWiki syntax, i.e. '|' as the delimiter). 2003-02-06 Shiro Kawai * src/wiliki.scm : completed charset support, using new features of www.cgi in upcoming Gauche-0.6.7. 2002-12-26 Shiro Kawai * src/wiliki.scm : added charset support, as suggested by Fumitoshi UKAI. Not completed yet. * test/* : started writing simple tests. 2002-12-21 Shiro Kawai * Makefile.in, src/wiliki/msgs.jp.euc : changed Makefile so that the japanese message file msgs.jp is converted to the gauche's internal encoding during make. 2002-12-18 Shiro Kawai * release 0.2 * src/wiliki/macro.scm : support inline-image by $$img macro. * src/wiliki.scm: added style-sheet support, and inline-image allow/deny rules. 2002-12-09 Shiro Kawai * src/wiliki.scm (redirect-page) : fixed a problem of redirecting a page whose name containing special characters such as '='. 2002-12-01 Shiro Kawai * src/wiliki.scm : various fixes: - added "{{{" and "}}}" to denote
 
. - used redirection to display the fresh page after editing, to prevent multi-posting by reloading. - swap "Preview again" and "Commit" button in the preview screen, for consistency with the edit screen. - show update conflict screen even in preview; it caused internal error in the previous version. - keep language setting across edit. * src/wiliki/msgs.jp : modified accordingly. * src/wiliki/macro.scm : fixed toc macro expander to accomodate "{{{" tag. 2002-10-07 Shiro Kawai * src/wiliki.scm: fixed a problem that the text in the textarea of preview and edit screen wasn't html-escaped. 2002-09-29 Shiro Kawai * release 0.1 (alpha) * src/wiliki.scm : removed the parameter 'page', for the same info is available from the parameter page-format-history. A procedure current-formatting-page is defined for the convenience. * src/wiliki/macro.scm : escape the index line of $$toc correctly. 2002-09-26 Shiro Kawai * src/wiliki.scm : adapted to Gauche 0.6.3. checks Gauche version near the beginning. adds fragment anchor names to headings. added 'page' parameter. * src/wiliki/macro.scm : $$toc creates a link to the headings. 2002-05-21 Shiro Kawai * src/wiliki/macro.scm : separated reader/writer macro handling routines here. Added $$toc reader macro * src/wiliki.scm : added a checkbox in editing screen to set "don't update 'Recent Changes'" option (so called "sage" feature). Also hide "Edit" link in the edit screen. 2002-03-30 Shiro Kawai * emacs/wiliki.el : finish header parsing. * src/extract.scm : adapted to Gauche-0.5.1 and later * src/wiliki/msgs.jp : added messages 2002-03-03 Shiro Kawai * src/wiliki.scm : added lwp-version to the lightweight protocol header. change the lightweight protocol command to "lv". * emacs/wiliki.el : added (not finished yet). 2002-03-02 Shiro Kawai * src/wiliki.scm : added plaintext mode. * src/wiliki.scm : made the current object, the current language and the current db parameters; this simplifies the code a lot. * src/wiliki.scm : switch charset by the language. * src/wiliki.scm : added $$include macro. implement simple parameter mechanism (define-parameter and parameterize*). * src/wiliki.scm : added $$cindex macro. 2002-03-01 Shiro Kawai * src/wiliki.scm : escape special characters in wiki name formatting. * src/wiliki.scm (cmd-commit-edit) : delete page if it contains only whitespace characters. (string-null? is not enough, for some browsers sends extra \n in some cases.). * src/wiliki.scm : added search box. * src/wiliki.scm : added $$index reader macro. 2002-02-27 Shiro Kawai * src/wiliki.scm : sort search result. * src/wiliki.scm : enabled deletion of page. allow '<' and '>' in WikiName. 2001-01-14 Shiro Kawai * src/wiliki.scm : fixed WikiName parse routine to deal with nested "[[" and "]]"'s for InterWikiName, and correctly escape WikiName reference in URL. 2001-01-13 Shiro Kawai * various files : autoconfiscated * src/wiliki.scm, src/wiliki/mcatalog.scm, src/wiliki/msgs.jp : separated language-dependent messages to the separate message catalog. 2001-12-12 Shiro Kawai * src/wiliki.scm : added named url ([URL name]) formatting rule. added InterWikiName feature. 2001-12-05 Shiro Kawai * src/wiliki.scm: fixed a bug that escapes URL twice. fix the problem that the page named "c" couldn't be viewed. added

. allow
to have colons. 2001-11-28 Shiro Kawai * src/wiliki.scm : added preview feature. 2001-11-27 Shiro Kawai * src/wiliki.scm : added back-link search feature and update conflict detection. 2001-11-22 Shiro Kawai * src/wiliki.scm : added recent-changes feature, and bilingual feature for messages. 2001-11-22 Shiro Kawai * src/wiliki.scm : added per-page parameters