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