update.
[chise/est.git] / ChangeLog
index f1f2a85..10c312a 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,524 @@
+2010-12-04  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
+
+       * cwiki-common.el: Assign new genre `person-name@ruimoku'.
+
+2010-11-20  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
+
+       * cwiki-edit.el (www-edit-display-object-desc): Renamed from
+       `www-edit-display-char-desc'; add new argument `genre'.
+       (www-batch-edit): Modify for `www-edit-display-object-desc'.
+
+       * cwiki-common.el (est-object-genre): New function.
+       (www-format-apply-value): Use `est-object-genre' instead of
+       `concord-object-genre'.
+
+2010-11-18  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
+
+       * cwiki-common.el (www-get-feature-value): Add error-handler for
+       `concord-object-get'.
+       (www-format-value-as-char-list): Refer feature
+       `object-representation-format' instead of `name'.
+       (www-format-apply-value): Modify to edit non-character object.
+
+       * cwiki-view.el (www-display-object-desc): Modify to edit
+       non-character object.
+       (www-display-feature-desc): Add new argument `genre'.
+
+2010-11-17  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
+
+       * cwiki-common.el: Assign new genre `region@ruimoku'.
+
+2010-11-16  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
+
+       * cwiki-view.el (www-display-object-desc): Don't display CHISE
+       IDS-Find for non-character object.
+
+       * cwiki-common.el: Modify genres of ruimoku.
+
+2010-11-15  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
+
+       * cwiki-view.el (www-display-object-desc): Use
+       `www-uri-encode-object' instead of `www-uri-encode-char'.
+       (www-batch-view): Likewise.
+
+       * cwiki-common.el (www-uri-encode-object): Renamed from
+       `www-uri-encode-char'.
+       (www-format-value-as-char-list): Use `www-uri-encode-object'
+       instead of `www-uri-encode-char'.
+       (www-format-value-as-ids): Likewise.
+       (www-format-eval-unit): Likewise.
+
+2010-11-15  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
+
+       * cwiki-common.el (www-uri-encode-char): Support non-character
+       object.
+       (www-format-value-as-char-list): Add link and readable
+       presentation for non-character object.
+
+2010-11-14  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
+
+       * cwiki-set.el (www-batch-set): Encode `xemacs-chise-version'.
+
+       * cwiki-add.el (www-batch-add): Encode `xemacs-chise-version'.
+
+       * cwiki-edit.el (www-batch-edit): Encode `xemacs-chise-version'.
+
+       * cwiki-view.el (www-batch-view): Encode (emacs-version).
+
+2010-11-10  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
+
+       * cwiki-common.el (www-format-apply-value): Rename argument
+       `uri-char' to `uri-object'.
+       (www-format-eval-feature-value): Rename argument `char' and
+       `uri-char' to `object' and `uri-object'.
+       (www-format-eval-unit): Likewise.
+       (www-format-eval-list): Likewise.
+
+2010-10-14  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
+
+       * cwiki-view.el (www-display-object-desc): New function.
+
+       * cwiki-common.el (est-format-object): New function.
+
+2010-10-14  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
+
+       * cwiki-common.el (www-get-genre): Abolished.
+       (www-get-feature-value): Don't use `www-get-genre'.
+
+2010-10-12  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
+
+       * cwiki-common.el:
+       - Set `file-name-coding-system' to 'utf-8-mcs-er.
+       - Add settings to assign genres of Ruimoku.
+       (www-get-feature-value): Modify for non-character genres.
+       (www-uri-decode-object): Use `www-uri-decode-feature-name' for
+       objects of `feature' genre.
+
+       * cwiki-view.el (www-display-object-desc): Fix problem when
+       `object' is not a character.
+       (www-batch-view): Support general genres.
+
+2010-09-15  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
+
+       * cwiki-common.el (www-get-genre): New function.
+       (www-get-feature-value): Renamed from `www-char-feature'.
+       (www-uri-decode-object): Renamed from `www-uri-decode-char'; add
+       new argument `genre'.
+
+       * cwiki-view.el (www-display-object-desc): Renamed from
+       `www-display-char-desc'; add new argument `genre'.
+
+       * cwiki-add.el (www-add-display-char-desc): Use
+       `www-uri-decode-object' instead of `www-uri-decode-char'.
+
+       * cwiki-set.el (www-parse-string-as-space-separated-char-list):
+       Use `www-uri-decode-object' instead of `www-uri-decode-char'.
+       (www-parse-string-as-space-separated-ids): Likewise.
+       (www-set-display-char-desc): Likewise; use `www-get-feature-value'
+       instead of `www-char-feature'.
+
+       * cwiki-edit.el (www-edit-display-feature-input-box): Use
+       `www-get-feature-value' instead of `www-char-feature'.
+       (www-edit-display-char-desc): Use `www-uri-decode-object' instead
+       of `www-uri-decode-char'.
+
+2010-09-13  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
+
+       * cwiki-add.el: New file.
+
+2010-04-08  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
+
+       * cwiki-view.el (www-display-char-desc): Use
+       `chise-wiki-displayed-features' instead of `displayed-features'.
+
+       * cwiki-common.el (chise-wiki-displayed-features): New variable.
+       (char-feature-name-at-domain): Fix problem when `domain' is nil.
+       (char-feature-name-domain): New function.
+       (www-uri-make-feature-name-url): New function.
+       (www-format-props-to-string): Fix problem when :len's value is
+       string.
+       (www-format-eval-unit):
+       - When :feature is specified, prefer FEATURE@DOMAIN to FEATURE.
+       - When :feature is specified in value related format functions,
+         add the displayed feature-name to
+         `chise-wiki-displayed-features'.
+       - Support `name-url' and `domain-name'.
+
+2010-04-07  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
+
+       * cwiki-view.el (www-display-feature-desc): Fix problem to display
+       non-ASCII characters in property `format'.
+
+2010-04-06  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
+
+       * cwiki-view.el (www-display-char-desc): Use `www-feature-format'.
+       (www-display-feature-desc): Ditto.
+
+       * cwiki-common.el (www-feature-format): New function.
+       (www-format-eval-unit): Support `:feature' property for `value'
+       related functions and `name' function.
+
+2010-04-06  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
+
+       * cwiki-common.el (www-feature-value-format): Search ancestors'
+       property if own property is not found.
+       (char-feature-name-parent): New function.
+       (www-format-feature-name*): Search ancestors' property if own
+       property is not found.
+
+2010-04-05  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
+
+       * cwiki-edit.el (www-edit-display-feature-desc): Display and
+       support editing of property `format'.
+
+       * cwiki-common.el (find-previous-defined-code-point): Fix problem
+       with `=ucs'.
+
+       * cwiki-view.el (www-display-feature-desc): Add edit button for
+       `format'.
+
+2010-04-05  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
+
+       * cwiki-common.el (www-feature-value-format): Add
+       `(prev-char) (next-char)' into default format of CCS feature.
+       (get-previous-code-point): New function.
+       (get-next-code-point): New function.
+       (find-previous-defined-code-point): New function.
+       (find-next-defined-code-point): New function.
+       (www-format-eval-unit): Support `prev-char' and `next-char'.
+
+2010-04-05  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
+
+       * cwiki-view.el (www-display-char-desc): Don't display "add
+       feature" button when running with simple mode.
+
+2010-04-05  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
+
+       * cwiki-set.el (www-set-display-feature-desc): Refer
+       `chise-wiki-view-url'.
+
+2010-04-05  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
+
+       * cwiki-view.el (www-display-feature-desc): Add new optional
+       argument `simple'; display "Edit" and "New Account" buttons when
+       running with simple mode; display "Simple" button when running
+       with edit mode.
+       (www-batch-view): Modify for `www-display-feature-desc' to support
+       mode.
+
+2010-04-05  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
+
+       * cwiki-view.el (www-display-char-desc): Use <div> instead of <p>
+       to display feature in top-level.
+
+2010-04-04  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
+
+       * cwiki-set.el (chise-wiki-view-url): Use "view.cgi" instead of
+       "../view.cgi".
+
+       * cwiki-edit.el (chise-wiki-view-url): Use "view.cgi" instead of
+       "../view.cgi".
+
+       * cwiki-view.el (chise-wiki-edit-url): Use "edit.cgi" instead of
+       "edit/edit.cgi".
+       (chise-wiki-add-url): Use "add.cgi" instead of "edit/add.cgi".
+       (www-display-char-desc): Add new optional argument `simple';
+       display "Edit" and "New Account" buttons when running with simple
+       mode; display "Simple" button when running with edit mode.
+       (www-batch-view): Modify to support mode.
+
+       * cwiki-common.el (chise-wiki-edit-url): Changed to "edit.cgi".
+       (www-format-value): Add new optional argument `without-edit';
+       modify for `www-format-apply-value'.
+       (www-format-apply-value): Add new optional argument
+       `without-edit'; modify for `www-format-eval-list'.
+       (www-format-eval-feature-value): Add new optional arguments
+       `without-tags' and `without-edit'; modify for
+       `www-format-apply-value' and `www-format-eval-list'.
+       (www-format-eval-unit):
+       - Add new optional arguments `without-tags' and `without-edit';
+         modify for `www-format-eval-feature-value',
+         `www-format-apply-value' and `www-format-eval-list'.
+       - specify 'without-tags and 'without-edit for
+         `www-format-eval-list' in href part of `link'.
+       (www-format-eval-list): Add new optional arguments `without-tags'
+       and `without-edit'; modify for `www-format-eval-unit'.
+
+2010-04-04  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
+
+       * cwiki-common.el (www-format-eval-unit): Treat `string' as a
+       format specifier of feature-value.
+
+2010-04-04  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
+
+       * cwiki-common.el (www-format-props-to-string): When `:len' is
+       specified, treat `:zero-padding' is specified.
+
+2010-04-03  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
+
+       * cwiki-common.el (www-uri-encode-char): Use `=ruimoku-v6'.
+       (www-format-encode-string): Display `=ruimoku-v6' characters.
+
+       * cwiki-glyph.el (www-glyph-generate-png): Support `=ruimoku-v6'.
+       (www-glyph-display-png): Support RUI6-hhhh;
+
+2010-04-02  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
+
+       * cwiki-common.el (www-uri-encode-char): Accept `=>zinbun-oracle'.
+       (www-format-encode-string):
+       - Display &A-ZOB-dddd;.
+       - Support `ideographic-combination'(合文) and
+         `ideographic-structure'.
+
+2010-04-01  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
+
+       * cwiki-view.el (www-batch-view): Accept
+       "?char=&ENTITY-REFERENCE;".
+
+2010-03-31  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
+
+       * cwiki-view.el (www-display-char-desc): Use
+       `char-feature-name-sans-versions' to avoid domain `$rev=latest'
+       when sort feature-names.
+
+2010-03-29  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
+
+       * cwiki-common.el (www-format-value-as-domain-list): New function.
+       (www-format-apply-value): Support `space-separated-domain-list'.
+       (char-GlyphWiki-id): Try to avoid uHHHH-{u|us}.
+
+2010-03-29  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
+
+       * cwiki-common.el (coded-charset-GlyphWiki-id-alist): Add setting
+       for `=ucs@jis', `=jis-x0208@1978/-4pr' and `=jis-x0208@1978'.
+       (char-GlyphWiki-id): Use `char-feature' instead of `encode-char'.
+
+2010-03-29  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
+
+       * cwiki-view.el (www-display-char-desc): Add input form for CHISE
+       IDS-Find.
+
+2010-03-29  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
+
+       * cwiki-view.el (www-display-char-desc): Try to display glyph of
+       GlyphWiki and link it.
+
+       * cwiki-common.el (coded-charset-GlyphWiki-id-alist): New
+       variable.
+       (char-GlyphWiki-id): New function.
+
+2010-03-28  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
+
+       * cwiki-set.el (www-parse-string-as-kangxi-radical): New function.
+       (www-feature-parse-string): Support format `kangxi-radical'.
+
+       * cwiki-common.el (www-format-value-as-kangxi-radical): New
+       function.
+       (www-format-apply-value): Support format `kangxi-radical'.
+       (www-format-eval-unit): Support `kangxi-radical' as a value
+       format.
+
+2010-03-20  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
+
+       * cwiki-common.el (www-format-value-default): New function.
+       (www-format-encode-string):
+       - Prefer `=gt' to `=cns11643-{1..7}'.
+       - Display &(G-)GT-Kddddd; entity references.
+       (www-format-apply-value):
+       - New implementation for format `string'.
+       - Use `www-format-value-default' for default format.
+
+       * cwiki-glyph.el (www-glyph-generate-png): Support `=gt-k'.
+       (www-glyph-display-png): Support GT-Kddddd.
+
+       * cwiki-set.el (www-parse-string-default): New implementation.
+       (www-set-display-feature-desc):
+       - New argument `format'.
+       - Display `value-format'.
+       (www-batch-set): Modify for the API change to set feature's
+       property.
+
+       * cwiki-view.el (www-display-char-desc): Display parents in the
+       header.
+       (www-display-feature-desc): Use `www-format-value' with default
+       format instead of `www-xml-format-list' and
+       `www-format-encode-string'.
+
+       * cwiki-edit.el (www-edit-display-feature-input-box): Add new
+       optional argument `value'.
+       (www-edit-display-feature-desc):
+       - Use `www-edit-display-feature-input-box' instead of
+         `www-edit-display-input-box'.
+       - Display `value-format'.
+
+2010-03-19  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
+
+       * cwiki-view.el (www-display-feature-desc): Display [edit] button
+       of `value-format'.
+
+2010-03-19  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
+
+       * cwiki-common.el (www-xml-format-unit): Escape `&'.
+
+2010-03-19  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
+
+       * cwiki-common.el (www-format-encode-string): Display
+       &U-hhhhhhhh;.
+       (www-xml-format-props): Encode property value.
+       (www-xml-format-unit): Encode string.
+
+       * cwiki-edit.el (www-edit-display-feature-input-box): Escape <">.
+
+       * cwiki-view.el (www-display-feature-desc): Modify design of
+       [edit] button.
+
+2010-03-18  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
+
+       * cwiki-set.el (www-xml-to-stext-unit): Support
+       <link><ref>...</ref>...</link>.
+
+       * cwiki-common.el (www-xml-format-unit): Support tag style `ref'
+       in `link'.
+
+       * cwiki-view.el (www-display-feature-desc): Display `value-format'
+       and `format'.
+
+2010-03-18  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
+
+       * cwiki-common.el (www-format-feature-name-as-metadata): New
+       function.
+       (www-format-feature-name*): Use
+       `www-format-feature-name-as-metadata' for metadata features.
+
+2010-03-18  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
+
+       * cwiki-set.el (www-xml-parse-string): New function.
+       (www-xml-to-stext-props): New function.
+       (www-xml-to-stext-unit): New function.
+       (www-xml-to-stext-list): New function.
+       (www-stext-parse-xml-string): New function.
+       (www-parse-string-as-wiki-text): Use `www-stext-parse-xml-string'.
+
+       * cwiki-edit.el (www-edit-display-char-feature-default): Abolish.
+       (www-edit-display-char-feature-as-ucs): Abolish.
+       (www-edit-display-input-box): Add the first argument `object';
+       modify for `www-format-apply-value'.
+       (www-edit-display-feature-input-box): Modify input boxes; modify
+       for `www-format-value'.
+       (www-edit-display-feature-desc): Modify for
+       `www-edit-display-input-box'.
+
+       * cwiki-common.el (www-format-value): Add the first argument
+       `object' and the second argument `feature-name'; change argument
+       `variable' to be optional; modify for `www-format-apply-value'.
+       (www-format-apply-value): Add the first argument `object' and the
+       second argument `feature-name'; support format `wiki-text'.
+       (www-format-eval-feature-value): Modify for
+       `www-format-apply-value'.
+       (www-format-eval-unit): Likewise.
+       (www-xml-format-props): New function.
+       (www-xml-format-unit): New function.
+       (www-xml-format-list): New function.
+
+2010-03-18  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
+
+       * cwiki-set.el (www-set-display-char-desc):
+       - Setup property `additional-features' of feature `$object' when
+         feature value is stored.
+       - Mount additional-features.
+
+       * cwiki-view.el (www-char-display-feature-default): Abolished.
+       (www-char-display-feature-as-ucs): Abolished.
+       (www-display-char-desc): Mount additional-features.
+
+       * cwiki-common.el (www-feature-type): Support `*node' and
+       `*sources'.
+       (www-feature-value-format): Return `wiki-text' for type `stext'.
+       (www-format-apply-value): Don't set `default' even if a format is
+       not supported in this function.
+
+2010-03-18  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
+
+       * cwiki-set.el (www-parse-string-as-wiki-text): New function
+       [currently just a stub].
+       (www-feature-parse-string): Use `www-parse-string-as-wiki-text'.
+       (www-set-display-char-desc): Use
+       `char-feature-name-sans-versions'.
+
+       * cwiki-edit.el (www-edit-display-feature-input-box): New
+       function.
+       (www-edit-display-char-desc): Use
+       `www-edit-display-feature-input-box'.
+
+       * cwiki-view.el (www-display-char-desc): Use
+       `char-feature-name-sans-versions'.
+
+       * cwiki-common.el (char-feature-name-sans-versions): New function.
+
+2010-03-18  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
+
+       * cwiki-set.el (www-set-display-char-desc): Store new value into
+       FEATURE@$rev=latest; don't display `$rev=latest' domain features.
+
+       * cwiki-edit.el (www-edit-display-char-feature-default): Use
+       `www-char-feature' instead of `char-feature'.
+       (www-edit-display-char-feature-as-ucs): Likewise.
+       (www-edit-display-char-desc): Likewise; replace value of char-spec
+       with value of `www-char-feature'.
+
+       * cwiki-view.el (www-char-display-feature-default): Use
+       `www-char-feature' instead of `char-feature'.
+       (www-char-display-feature-as-ucs): Likewise.
+       (www-display-char-desc): Ignore `$rev=latest' domain features.
+
+       * cwiki-common.el (char-feature-name-at-domain): New function.
+       (www-char-feature): New function.
+       (www-format-encode-string): Use `www-char-feature' instead of
+       `char-feature'.
+       (www-format-eval-feature-value): Likewise.
+       (www-format-eval-unit): Likewise.
+
+2010-03-18  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
+
+       * cwiki-set.el (www-parse-string-default): New function.
+       (www-feature-parse-string):
+       - Support new format `string'.
+       - Use `www-parse-string-default' for `default'.
+
+2010-03-18  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
+
+       * cwiki-common.el (chise-wiki-glyph-cgi-url): New variable.
+       (www-uri-encode-char): Support `=>>gt'.
+       (www-format-encode-string):
+       - Use GT, Big5 and Big5-CDP fonts.
+       - Use http://www.unicode.org/cgi-bin/refglyph?24-hhhh to display
+         `=ucs@unicode' glyphs.
+       - Display &MCS-hhhhhhhh; with using child's glyph.
+
+       * cwiki-glyph.el: New file.
+
+2010-03-18  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
+
+       * cwiki-common.el (chise-wiki-bitmap-glyphs-url): Renamed from
+       `chise-wiki-glyphs-url'.
+       (www-format-encode-string):
+       - Use `chise-wiki-bitmap-glyphs-url' instead of
+         `chise-wiki-glyphs-url'.
+       - Display &JC3-hhhh; and &ZOB-dddd;.
+
+2010-03-17  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
+
+       * cwiki-edit.el (www-edit-display-feature-desc): Use
+       `www-format-feature-name*' instead of `www-format-feature-name'.
+
+       * cwiki-common.el (www-uri-decode-char):
+       - Accept `:' again.
+       - Prefer `=>jis-x0208' and `=>jis-x0213-1' to `=big5' and
+         `=big5-cdp'.
+       - Fix problem when no CCSes are found.
+       (www-format-feature-name*): New function.
+       (www-format-feature-name): Use `www-format-feature-name*'.
+
 2010-03-17  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
 
        * cwiki-set.el (www-parse-string-as-space-separated-char-list):