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