298e9bddaeadbbe6565c4affd03b11475cae6a58
[chise/est.git] / ChangeLog
1 2010-04-02  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
2
3         * cwiki-common.el (www-uri-encode-char): Accept `=>zinbun-oracle'.
4         (www-format-encode-string):
5         - Display &A-ZOB-dddd;.
6         - Support `ideographic-combination'(合文) and
7           `ideographic-structure'.
8
9 2010-04-01  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
10
11         * cwiki-view.el (www-batch-view): Accept
12         "?char=&ENTITY-REFERENCE;".
13
14 2010-03-31  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
15
16         * cwiki-view.el (www-display-char-desc): Use
17         `char-feature-name-sans-versions' to avoid domain `$rev=latest'
18         when sort feature-names.
19
20 2010-03-29  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
21
22         * cwiki-common.el (www-format-value-as-domain-list): New function.
23         (www-format-apply-value): Support `space-separated-domain-list'.
24         (char-GlyphWiki-id): Try to avoid uHHHH-{u|us}.
25
26 2010-03-29  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
27
28         * cwiki-common.el (coded-charset-GlyphWiki-id-alist): Add setting
29         for `=ucs@jis', `=jis-x0208@1978/-4pr' and `=jis-x0208@1978'.
30         (char-GlyphWiki-id): Use `char-feature' instead of `encode-char'.
31
32 2010-03-29  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
33
34         * cwiki-view.el (www-display-char-desc): Add input form for CHISE
35         IDS-Find.
36
37 2010-03-29  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
38
39         * cwiki-view.el (www-display-char-desc): Try to display glyph of
40         GlyphWiki and link it.
41
42         * cwiki-common.el (coded-charset-GlyphWiki-id-alist): New
43         variable.
44         (char-GlyphWiki-id): New function.
45
46 2010-03-28  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
47
48         * cwiki-set.el (www-parse-string-as-kangxi-radical): New function.
49         (www-feature-parse-string): Support format `kangxi-radical'.
50
51         * cwiki-common.el (www-format-value-as-kangxi-radical): New
52         function.
53         (www-format-apply-value): Support format `kangxi-radical'.
54         (www-format-eval-unit): Support `kangxi-radical' as a value
55         format.
56
57 2010-03-20  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
58
59         * cwiki-common.el (www-format-value-default): New function.
60         (www-format-encode-string):
61         - Prefer `=gt' to `=cns11643-{1..7}'.
62         - Display &(G-)GT-Kddddd; entity references.
63         (www-format-apply-value):
64         - New implementation for format `string'.
65         - Use `www-format-value-default' for default format.
66
67         * cwiki-glyph.el (www-glyph-generate-png): Support `=gt-k'.
68         (www-glyph-display-png): Support GT-Kddddd.
69
70         * cwiki-set.el (www-parse-string-default): New implementation.
71         (www-set-display-feature-desc):
72         - New argument `format'.
73         - Display `value-format'.
74         (www-batch-set): Modify for the API change to set feature's
75         property.
76
77         * cwiki-view.el (www-display-char-desc): Display parents in the
78         header.
79         (www-display-feature-desc): Use `www-format-value' with default
80         format instead of `www-xml-format-list' and
81         `www-format-encode-string'.
82
83         * cwiki-edit.el (www-edit-display-feature-input-box): Add new
84         optional argument `value'.
85         (www-edit-display-feature-desc):
86         - Use `www-edit-display-feature-input-box' instead of
87           `www-edit-display-input-box'.
88         - Display `value-format'.
89
90 2010-03-19  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
91
92         * cwiki-view.el (www-display-feature-desc): Display [edit] button
93         of `value-format'.
94
95 2010-03-19  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
96
97         * cwiki-common.el (www-xml-format-unit): Escape `&'.
98
99 2010-03-19  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
100
101         * cwiki-common.el (www-format-encode-string): Display
102         &U-hhhhhhhh;.
103         (www-xml-format-props): Encode property value.
104         (www-xml-format-unit): Encode string.
105
106         * cwiki-edit.el (www-edit-display-feature-input-box): Escape <">.
107
108         * cwiki-view.el (www-display-feature-desc): Modify design of
109         [edit] button.
110
111 2010-03-18  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
112
113         * cwiki-set.el (www-xml-to-stext-unit): Support
114         <link><ref>...</ref>...</link>.
115
116         * cwiki-common.el (www-xml-format-unit): Support tag style `ref'
117         in `link'.
118
119         * cwiki-view.el (www-display-feature-desc): Display `value-format'
120         and `format'.
121
122 2010-03-18  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
123
124         * cwiki-common.el (www-format-feature-name-as-metadata): New
125         function.
126         (www-format-feature-name*): Use
127         `www-format-feature-name-as-metadata' for metadata features.
128
129 2010-03-18  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
130
131         * cwiki-set.el (www-xml-parse-string): New function.
132         (www-xml-to-stext-props): New function.
133         (www-xml-to-stext-unit): New function.
134         (www-xml-to-stext-list): New function.
135         (www-stext-parse-xml-string): New function.
136         (www-parse-string-as-wiki-text): Use `www-stext-parse-xml-string'.
137
138         * cwiki-edit.el (www-edit-display-char-feature-default): Abolish.
139         (www-edit-display-char-feature-as-ucs): Abolish.
140         (www-edit-display-input-box): Add the first argument `object';
141         modify for `www-format-apply-value'.
142         (www-edit-display-feature-input-box): Modify input boxes; modify
143         for `www-format-value'.
144         (www-edit-display-feature-desc): Modify for
145         `www-edit-display-input-box'.
146
147         * cwiki-common.el (www-format-value): Add the first argument
148         `object' and the second argument `feature-name'; change argument
149         `variable' to be optional; modify for `www-format-apply-value'.
150         (www-format-apply-value): Add the first argument `object' and the
151         second argument `feature-name'; support format `wiki-text'.
152         (www-format-eval-feature-value): Modify for
153         `www-format-apply-value'.
154         (www-format-eval-unit): Likewise.
155         (www-xml-format-props): New function.
156         (www-xml-format-unit): New function.
157         (www-xml-format-list): New function.
158
159 2010-03-18  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
160
161         * cwiki-set.el (www-set-display-char-desc):
162         - Setup property `additional-features' of feature `$object' when
163           feature value is stored.
164         - Mount additional-features.
165
166         * cwiki-view.el (www-char-display-feature-default): Abolished.
167         (www-char-display-feature-as-ucs): Abolished.
168         (www-display-char-desc): Mount additional-features.
169
170         * cwiki-common.el (www-feature-type): Support `*node' and
171         `*sources'.
172         (www-feature-value-format): Return `wiki-text' for type `stext'.
173         (www-format-apply-value): Don't set `default' even if a format is
174         not supported in this function.
175
176 2010-03-18  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
177
178         * cwiki-set.el (www-parse-string-as-wiki-text): New function
179         [currently just a stub].
180         (www-feature-parse-string): Use `www-parse-string-as-wiki-text'.
181         (www-set-display-char-desc): Use
182         `char-feature-name-sans-versions'.
183
184         * cwiki-edit.el (www-edit-display-feature-input-box): New
185         function.
186         (www-edit-display-char-desc): Use
187         `www-edit-display-feature-input-box'.
188
189         * cwiki-view.el (www-display-char-desc): Use
190         `char-feature-name-sans-versions'.
191
192         * cwiki-common.el (char-feature-name-sans-versions): New function.
193
194 2010-03-18  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
195
196         * cwiki-set.el (www-set-display-char-desc): Store new value into
197         FEATURE@$rev=latest; don't display `$rev=latest' domain features.
198
199         * cwiki-edit.el (www-edit-display-char-feature-default): Use
200         `www-char-feature' instead of `char-feature'.
201         (www-edit-display-char-feature-as-ucs): Likewise.
202         (www-edit-display-char-desc): Likewise; replace value of char-spec
203         with value of `www-char-feature'.
204
205         * cwiki-view.el (www-char-display-feature-default): Use
206         `www-char-feature' instead of `char-feature'.
207         (www-char-display-feature-as-ucs): Likewise.
208         (www-display-char-desc): Ignore `$rev=latest' domain features.
209
210         * cwiki-common.el (char-feature-name-at-domain): New function.
211         (www-char-feature): New function.
212         (www-format-encode-string): Use `www-char-feature' instead of
213         `char-feature'.
214         (www-format-eval-feature-value): Likewise.
215         (www-format-eval-unit): Likewise.
216
217 2010-03-18  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
218
219         * cwiki-set.el (www-parse-string-default): New function.
220         (www-feature-parse-string):
221         - Support new format `string'.
222         - Use `www-parse-string-default' for `default'.
223
224 2010-03-18  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
225
226         * cwiki-common.el (chise-wiki-glyph-cgi-url): New variable.
227         (www-uri-encode-char): Support `=>>gt'.
228         (www-format-encode-string):
229         - Use GT, Big5 and Big5-CDP fonts.
230         - Use http://www.unicode.org/cgi-bin/refglyph?24-hhhh to display
231           `=ucs@unicode' glyphs.
232         - Display &MCS-hhhhhhhh; with using child's glyph.
233
234         * cwiki-glyph.el: New file.
235
236 2010-03-18  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
237
238         * cwiki-common.el (chise-wiki-bitmap-glyphs-url): Renamed from
239         `chise-wiki-glyphs-url'.
240         (www-format-encode-string):
241         - Use `chise-wiki-bitmap-glyphs-url' instead of
242           `chise-wiki-glyphs-url'.
243         - Display &JC3-hhhh; and &ZOB-dddd;.
244
245 2010-03-17  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
246
247         * cwiki-edit.el (www-edit-display-feature-desc): Use
248         `www-format-feature-name*' instead of `www-format-feature-name'.
249
250         * cwiki-common.el (www-uri-decode-char):
251         - Accept `:' again.
252         - Prefer `=>jis-x0208' and `=>jis-x0213-1' to `=big5' and
253           `=big5-cdp'.
254         - Fix problem when no CCSes are found.
255         (www-format-feature-name*): New function.
256         (www-format-feature-name): Use `www-format-feature-name*'.
257
258 2010-03-17  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
259
260         * cwiki-set.el (www-parse-string-as-space-separated-char-list):
261         Expect `string' to be encoded as URI.
262         (www-parse-string-as-space-separated-ids): Likewise.
263         (www-feature-parse-string): Likewise.
264         (www-set-display-char-desc): Expect `uri-char' to be encoded as
265         URI.
266         (www-set-display-feature-desc): Fix problem when `name@lang' is
267         not existed.
268         (www-batch-set): Don't use `decode-uri-string' for value of `char'
269         and feature-value.
270
271         * cwiki-edit.el (www-edit-display-char-desc): Expect `uri-char' to
272         be encoded as URI.
273         (www-batch-edit): Don't use `decode-uri-string' for value of
274         `char'.
275
276         * cwiki-view.el (www-display-char-desc): Expect `uri-char' to be
277         encoded as URI; encode `uri-char' if it is a non-encoded
278         character.
279         (www-batch-view): Don't use `decode-uri-string' for value of
280         `char'.
281
282         * cwiki-common.el (www-uri-decode-char): Expect char-rep to be
283         encoded as URI.
284         (www-uri-encode-char): Encode UCS characters as %XX encoding.
285         (www-format-feature-name-as-CCS): Insert space between
286         prefix (..., ===>, ==>, =>, =>>, =>>>, ..., =) and main-name.
287         (www-html-display-text): Don't escape "&" except "&GT-".
288
289 2010-03-16  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
290
291         * cwiki-set.el (www-parse-string-as-space-separated-ids): New
292         function.
293         (www-parse-string-as-ku-ten): New function.
294         (www-feature-parse-string): Support `space-separated-ids' and
295         `ku-ten'.
296
297 2010-03-16  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
298
299         * cwiki-common.el (www-feature-value-format): Return
300         'space-separated-ids for `structure' type features.
301         (www-format-value-as-ids): New function.
302         (www-format-apply-value): Use `www-format-value-as-ids' for format
303         `space-separated-ids'.
304
305 2010-03-03  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
306
307         * cwiki-common.el, cwiki-edit.el, cwiki-set.el, cwiki-view.el: New
308         files.