(www-edit-display-feature-input-box): Escape <">.
[chise/est.git] / ChangeLog
1 2010-03-18  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
2
3         * cwiki-set.el (www-xml-to-stext-unit): Support
4         <link><ref>...</ref>...</link>.
5
6         * cwiki-common.el (www-xml-format-unit): Support tag style `ref'
7         in `link'.
8
9         * cwiki-view.el (www-display-feature-desc): Display `value-format'
10         and `format'.
11
12 2010-03-18  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
13
14         * cwiki-common.el (www-format-feature-name-as-metadata): New
15         function.
16         (www-format-feature-name*): Use
17         `www-format-feature-name-as-metadata' for metadata features.
18
19 2010-03-18  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
20
21         * cwiki-set.el (www-xml-parse-string): New function.
22         (www-xml-to-stext-props): New function.
23         (www-xml-to-stext-unit): New function.
24         (www-xml-to-stext-list): New function.
25         (www-stext-parse-xml-string): New function.
26         (www-parse-string-as-wiki-text): Use `www-stext-parse-xml-string'.
27
28         * cwiki-edit.el (www-edit-display-char-feature-default): Abolish.
29         (www-edit-display-char-feature-as-ucs): Abolish.
30         (www-edit-display-input-box): Add the first argument `object';
31         modify for `www-format-apply-value'.
32         (www-edit-display-feature-input-box): Modify input boxes; modify
33         for `www-format-value'.
34         (www-edit-display-feature-desc): Modify for
35         `www-edit-display-input-box'.
36
37         * cwiki-common.el (www-format-value): Add the first argument
38         `object' and the second argument `feature-name'; change argument
39         `variable' to be optional; modify for `www-format-apply-value'.
40         (www-format-apply-value): Add the first argument `object' and the
41         second argument `feature-name'; support format `wiki-text'.
42         (www-format-eval-feature-value): Modify for
43         `www-format-apply-value'.
44         (www-format-eval-unit): Likewise.
45         (www-xml-format-props): New function.
46         (www-xml-format-unit): New function.
47         (www-xml-format-list): New function.
48
49 2010-03-18  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
50
51         * cwiki-set.el (www-set-display-char-desc):
52         - Setup property `additional-features' of feature `$object' when
53           feature value is stored.
54         - Mount additional-features.
55
56         * cwiki-view.el (www-char-display-feature-default): Abolished.
57         (www-char-display-feature-as-ucs): Abolished.
58         (www-display-char-desc): Mount additional-features.
59
60         * cwiki-common.el (www-feature-type): Support `*node' and
61         `*sources'.
62         (www-feature-value-format): Return `wiki-text' for type `stext'.
63         (www-format-apply-value): Don't set `default' even if a format is
64         not supported in this function.
65
66 2010-03-18  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
67
68         * cwiki-set.el (www-parse-string-as-wiki-text): New function
69         [currently just a stub].
70         (www-feature-parse-string): Use `www-parse-string-as-wiki-text'.
71         (www-set-display-char-desc): Use
72         `char-feature-name-sans-versions'.
73
74         * cwiki-edit.el (www-edit-display-feature-input-box): New
75         function.
76         (www-edit-display-char-desc): Use
77         `www-edit-display-feature-input-box'.
78
79         * cwiki-view.el (www-display-char-desc): Use
80         `char-feature-name-sans-versions'.
81
82         * cwiki-common.el (char-feature-name-sans-versions): New function.
83
84 2010-03-18  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
85
86         * cwiki-set.el (www-set-display-char-desc): Store new value into
87         FEATURE@$rev=latest; don't display `$rev=latest' domain features.
88
89         * cwiki-edit.el (www-edit-display-char-feature-default): Use
90         `www-char-feature' instead of `char-feature'.
91         (www-edit-display-char-feature-as-ucs): Likewise.
92         (www-edit-display-char-desc): Likewise; replace value of char-spec
93         with value of `www-char-feature'.
94
95         * cwiki-view.el (www-char-display-feature-default): Use
96         `www-char-feature' instead of `char-feature'.
97         (www-char-display-feature-as-ucs): Likewise.
98         (www-display-char-desc): Ignore `$rev=latest' domain features.
99
100         * cwiki-common.el (char-feature-name-at-domain): New function.
101         (www-char-feature): New function.
102         (www-format-encode-string): Use `www-char-feature' instead of
103         `char-feature'.
104         (www-format-eval-feature-value): Likewise.
105         (www-format-eval-unit): Likewise.
106
107 2010-03-18  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
108
109         * cwiki-set.el (www-parse-string-default): New function.
110         (www-feature-parse-string):
111         - Support new format `string'.
112         - Use `www-parse-string-default' for `default'.
113
114 2010-03-18  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
115
116         * cwiki-common.el (chise-wiki-glyph-cgi-url): New variable.
117         (www-uri-encode-char): Support `=>>gt'.
118         (www-format-encode-string):
119         - Use GT, Big5 and Big5-CDP fonts.
120         - Use http://www.unicode.org/cgi-bin/refglyph?24-hhhh to display
121           `=ucs@unicode' glyphs.
122         - Display &MCS-hhhhhhhh; with using child's glyph.
123
124         * cwiki-glyph.el: New file.
125
126 2010-03-18  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
127
128         * cwiki-common.el (chise-wiki-bitmap-glyphs-url): Renamed from
129         `chise-wiki-glyphs-url'.
130         (www-format-encode-string):
131         - Use `chise-wiki-bitmap-glyphs-url' instead of
132           `chise-wiki-glyphs-url'.
133         - Display &JC3-hhhh; and &ZOB-dddd;.
134
135 2010-03-17  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
136
137         * cwiki-edit.el (www-edit-display-feature-desc): Use
138         `www-format-feature-name*' instead of `www-format-feature-name'.
139
140         * cwiki-common.el (www-uri-decode-char):
141         - Accept `:' again.
142         - Prefer `=>jis-x0208' and `=>jis-x0213-1' to `=big5' and
143           `=big5-cdp'.
144         - Fix problem when no CCSes are found.
145         (www-format-feature-name*): New function.
146         (www-format-feature-name): Use `www-format-feature-name*'.
147
148 2010-03-17  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
149
150         * cwiki-set.el (www-parse-string-as-space-separated-char-list):
151         Expect `string' to be encoded as URI.
152         (www-parse-string-as-space-separated-ids): Likewise.
153         (www-feature-parse-string): Likewise.
154         (www-set-display-char-desc): Expect `uri-char' to be encoded as
155         URI.
156         (www-set-display-feature-desc): Fix problem when `name@lang' is
157         not existed.
158         (www-batch-set): Don't use `decode-uri-string' for value of `char'
159         and feature-value.
160
161         * cwiki-edit.el (www-edit-display-char-desc): Expect `uri-char' to
162         be encoded as URI.
163         (www-batch-edit): Don't use `decode-uri-string' for value of
164         `char'.
165
166         * cwiki-view.el (www-display-char-desc): Expect `uri-char' to be
167         encoded as URI; encode `uri-char' if it is a non-encoded
168         character.
169         (www-batch-view): Don't use `decode-uri-string' for value of
170         `char'.
171
172         * cwiki-common.el (www-uri-decode-char): Expect char-rep to be
173         encoded as URI.
174         (www-uri-encode-char): Encode UCS characters as %XX encoding.
175         (www-format-feature-name-as-CCS): Insert space between
176         prefix (..., ===>, ==>, =>, =>>, =>>>, ..., =) and main-name.
177         (www-html-display-text): Don't escape "&" except "&GT-".
178
179 2010-03-16  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
180
181         * cwiki-set.el (www-parse-string-as-space-separated-ids): New
182         function.
183         (www-parse-string-as-ku-ten): New function.
184         (www-feature-parse-string): Support `space-separated-ids' and
185         `ku-ten'.
186
187 2010-03-16  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
188
189         * cwiki-common.el (www-feature-value-format): Return
190         'space-separated-ids for `structure' type features.
191         (www-format-value-as-ids): New function.
192         (www-format-apply-value): Use `www-format-value-as-ids' for format
193         `space-separated-ids'.
194
195 2010-03-03  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
196
197         * cwiki-common.el, cwiki-edit.el, cwiki-set.el, cwiki-view.el: New
198         files.