Add declaration to provide module `cwiki-edit'.
[chise/est.git] / ChangeLog
index d2e6d9c..d48d3d6 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,296 @@
+2010-12-10  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
+
+       * cwiki-set.el (www-parse-string-as-space-separated-char-list):
+       Add argument `genre'.
+       (www-feature-parse-string): Likewise.
+       (www-set-display-object-desc):
+       - Support non-character genre objects.
+       - Use `www-display-object-desc'.
+       (www-set-display-feature-desc): Modify for
+       `www-feature-parse-string'.
+       (www-batch-set): Fixed.
+
+       * cwiki-edit.el (www-edit-display-feature-input-box): Moved to
+       cwiki-view.el.
+       (www-edit-display-object-desc): New implementation; use
+       `www-display-object-desc'.
+
+       * cwiki-view.el (www-edit-display-feature-input-box): New function
+       [moved from cwiki-edit.el].     
+       (www-display-object-desc):
+       - Add new optional arguments `uri-feature-name-to-edit' and
+         `editing-format'; it `uri-feature-name-to-edit' is specified,
+         input box is displayed and `editing-format' is used as the
+         format to parse the input.    
+       - Semantics of level 1 was changed to level 0, namely if `level'
+         is 0, display header, otherwise don't display header.
+
+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