New
2008-11-07  Wakaba  <wakaba@suika.fam.cx>

        * sw.cgi: New script.

        * ChangeLog: New file.
2008-11-07  Wakaba  <wakaba@suika.fam.cx>

        * sw.cgi: HTML convertion implemented.
2008-11-08  Wakaba  <wakaba@suika.fam.cx>

        * sw.cgi (store_dom): New method.
        (percent_decode): Reimplemented.
New
2008-11-08  Wakaba  <wakaba@suika.fam.cx>

        * sw.cgi: Fix support for / in path.  Support for XML cache.
        Tentative support for XML dump removed (code is moved to
        SWE::DB::DOM).
2008-11-08  Wakaba  <wakaba@suika.fam.cx>

        * sw.cgi: Support for metadata view.
2008-11-09  Wakaba  <wakaba@suika.fam.cx>

        * sw.cgi: Changed to name-id indirection mode for page/data
        identification and implemented
        (most part of) incremental convertion from SuikaWiki3 data to new
        database structure.

        * mksw3list.pl: New script.
2008-11-09  Wakaba  <wakaba@suika.fam.cx>

        * mksw3list: Don't replace namespace separator '//' by a space,
        for compatibility with existing WikiNames that contains '//' as
        part of semantic name, e.g. 'http://www.w3.org/1999/xhtml';

        * sw.cgi (get_page_url): No longer split name by '//'.  Normalize
        white space in the name.
2008-11-09  Wakaba  <wakaba@suika.fam.cx>

        * sw.cgi: The code to generate HTML headers and body element
        container itself is moved from |convert_swml_to_html| to the main
        code.  Insert an edit link to the HTML document.  Page-edit
        feature implemented.
        (get_page_url): / was not converted to +.
        (get_xml_data): Lock before accessing to the cache.  Save the hash
        of the cached copy of the source text and check whether the cache
        is up to date before returning a cached copy.
        (get_hash): New function.
        (convert_sw3_page): Lock the id before new copy is stored, to
        avoid race condition (access by id before the end of convertion).
2008-11-09  Wakaba  <wakaba@suika.fam.cx>

        * mksw3list.pl: Append index to duplicate keywords to remove
        duplication such that migration process in sw.cgi is simplified.

        * sw.cgi: n/name syntax introduced.  Lock & unlock is now
        done outside of |convert_sw3_page| function.  Generate list of
        same-name pages.  Remove
2008-11-09  Wakaba  <wakaba@suika.fam.cx>

        * sw3.cgi (convert_sw3_page): Set the |hash| property of the
        id-prop.
2008-11-10  Wakaba  <wakaba@suika.fam.cx>

        * sw.cgi: Show a link to page creation page if there is no
        associated page for a name.  Fact out |get_content_type_parameter|
        and |set_content_type_options| functions.  Use (no title) for
        the name for an anonymous page so that no page turns into really
        no title.  'new-page' implemented.
        (http_redirect): New.
2008-11-10  Wakaba  <wakaba@suika.fam.cx>

        * sw.cgi: The STDOUT was not set to UTF-8 in some mode.  Fact out
        <link rel=stylesheet> code and add <link rel=license>.  Add link
        to the license page for all edit and content pages.
        (get_page_url): Support link from another hierarchy.
2008-11-10  Wakaba  <wakaba@suika.fam.cx>

        * sw.cgi: Don't use PATH_INFO but use our own PATH_INFO created
        from REQUEST_URI since it turns out that PATH_INFO is
        percent-decoded such that '$' or ';' can't be distinguished in
        percent-encoded and non-encode forms.  Error pages and
        redirections are implemented.
        (sw:anchor): Support for './', '../', and '//' links for backward
        compatibility.  Normalize spaces in names.
        (get_page_url): Don't normalize spaces here.
        (percent_encode_na): New function.
2008-11-10  Wakaba  <wakaba@suika.fam.cx>

        * sw.cgi: Normalize white space characters and fullwidth/halfwidth
        characters in names and contents.  Add links to the content page
        in the edit page.  Typo fixed.
2008-11-10  Wakaba  <wakaba@suika.fam.cx>

        * sw.cgi: Put edit-body-content form into a section element.  Use
        new style sheet URL.  Use |div| instead of |p| for
        |sw10:comment-p| and |sw10:ed| elements for compatibility with
        HTML syntax (where block-level elements such as |ul| can't be
        inserted in |p| elemnets).
2008-11-10  Wakaba  <wakaba@suika.fam.cx>

        * sw.cgi: <link rel=archives> added.
2008-11-11  Wakaba  <wakaba@suika.fam.cx>

        * sw.cgi (get_xml_data): Lock the id outside of the function.
2008-11-11  Wakaba  <wakaba@suika.fam.cx>

        * sw.cgi (get_xml_data): Get the cache-prop object outside of the
        function, too.