update.
[chise/est.git] / ChangeLog
index d93b8c8..9217de0 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,423 @@
+2010-12-09  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
+
+       * cwiki-edit.el (www-edit-display-object-desc): Support
+       non-character objects.
+       (www-edit-display-feature-desc): Add new optional argument
+       `object-genre'.
+       (www-batch-edit): Fix problem to edit feature of non-character
+       objects.
+
+       * est-format.el (est-format-unit): Fix bug about `feature-name';
+       modify for `www-uri-make-feature-name-url'.
+
+       * est-eval.el (est-eval-unit): Fix bug about `name-url'; modify
+       for `www-uri-make-feature-name-url'.
+
+       * cwiki-common.el (www-uri-make-feature-name-url): Add new
+       argument `uri-genre' to support non-character objects.
+
+       * cwiki-view.el (www-batch-view): Fix problem to edit feature of
+       non-character objects.
+
+       * cwiki-set.el (www-set-display-object-desc): Renamed from
+       `www-set-display-char-desc'; add new argument `genre'; rename
+       optional argument `uri-char' to `uri-object'.
+       (www-set-display-feature-desc): Rename optional argument
+       `uri-char' to `uri-object'.
+       (www-set-display-feature-desc): Likewise.
+       (www-batch-set): Modify for `www-set-display-object-desc'.
+
+2010-12-08  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
+
+       * cwiki-common.el (chise-wiki-bitmap-glyphs-url): Use
+       http://www.chise.org/glyphs instead of
+       http://chise.zinbun.kyoto-u.ac.jp/glyphs.
+       (chise-wiki-glyph-cgi-url): Use
+       http://www.chise.org/chisewiki/glyph.cgi instead of
+       http://chise.zinbun.kyoto-u.ac.jp/chisewiki/glyph.cgi.
+       (www-uri-make-object-url): New function.
+       (www-format-char-img-style): New variable.
+       (www-format-encode-string):
+       - Add new optional argument `as-body'; if it is specified, "&" is
+       encoded to "&amp;".
+       - Specify style of <img> tags.
+
+       * cwiki-edit.el (www-edit-display-input-box): Abolished because it
+       is not used.
+
+       * cwiki-format.el: New implementation based on `est-eval' and
+       `est-format':
+       (www-format-value-as-kuten): Abolished.
+       (www-format-value-default): Abolished.
+       (www-format-value-as-char-list): Abolished.
+       (www-format-value-as-domain-list): Abolished.
+       (www-format-value-as-ids): Abolished.
+       (www-format-value-as-S-exp): Abolished.
+       (www-format-value-as-HEX): Abolished.
+       (www-format-value-as-kangxi-radical): Abolished.
+       (www-format-value): If `object' is a symbol, it is decoded as
+       `feature' object.
+       (www-format-props-to-string): Abolished.
+       (www-format-apply-value): New implementation; use
+       `est-eval-apply-value' and `est-format-unit'.
+       (www-format-eval-feature-value): Abolished.
+       (www-format-eval-list): New implementation; use `est-eval-list'
+       and `est-format-unit'.
+
+       * est-eval.el, est-format.el: New files.
+
+2010-12-06  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
+
+       * cwiki-format.el (www-format-value-as-char-list): Use
+       `object-representative-feature' instead of
+       `object-representation-format'; use feature
+       `object-representative-format' of genre object if
+       `object-representative-feature' of genre object or `name' is not
+       existed.
+
+2010-12-06  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
+
+       * cwiki-format.el (www-format-value-as-CCS-default): Abolished
+       because it is not used.
+       (www-format-value-as-CCS-94x94): Ditto.
+
+2010-12-06  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
+
+       * cwiki-set.el: Omit to require `cwiki-common'.
+
+       * cwiki-view.el, cwiki-edit.el, cwiki-add.el: Require
+       `cwiki-format' instead of `cwiki-common' and `est-xml'.
+
+       * cwiki-common.el (www-format-value-as-kuten): Moved to
+       cwiki-format.el.
+       (www-format-value-default): Ditto.
+       (www-format-value-as-char-list): Ditto.
+       (www-format-value-as-domain-list): Ditto.
+       (www-format-value-as-ids): Ditto.
+       (www-format-value-as-S-exp): Ditto.
+       (www-format-value-as-HEX): Ditto.
+       (www-format-value-as-CCS-default): Ditto.
+       (www-format-value-as-CCS-94x94): Ditto.
+       (www-format-value-as-kangxi-radical): Ditto.
+       (www-format-value): Ditto.
+       (www-format-props-to-string): Ditto.
+       (www-format-apply-value): Ditto.
+       (www-format-eval-feature-value): Ditto.
+       (www-format-eval-unit): Ditto.
+       (www-format-eval-list): Ditto.
+
+       * cwiki-format.el: New file.
+
+2010-12-06  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
+
+       * cwiki-view.el, cwiki-edit.el, cwiki-add.el: Require 'est-xml.
+
+       * cwiki-common.el (www-xml-format-props): Moved to est-xml.el.
+       (www-xml-format-unit): Ditto.
+       (www-xml-format-list): Ditto.
+
+       * est-xml.el: New file.
+
+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