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