update.
[chise/est.git] / ChangeLog
1 2010-12-09  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
2
3         * cwiki-edit.el (www-edit-display-object-desc): Support
4         non-character objects.
5         (www-edit-display-feature-desc): Add new optional argument
6         `object-genre'.
7         (www-batch-edit): Fix problem to edit feature of non-character
8         objects.
9
10         * est-format.el (est-format-unit): Fix bug about `feature-name';
11         modify for `www-uri-make-feature-name-url'.
12
13         * est-eval.el (est-eval-unit): Fix bug about `name-url'; modify
14         for `www-uri-make-feature-name-url'.
15
16         * cwiki-common.el (www-uri-make-feature-name-url): Add new
17         argument `uri-genre' to support non-character objects.
18
19         * cwiki-view.el (www-batch-view): Fix problem to edit feature of
20         non-character objects.
21
22         * cwiki-set.el (www-set-display-object-desc): Renamed from
23         `www-set-display-char-desc'; add new argument `genre'; rename
24         optional argument `uri-char' to `uri-object'.
25         (www-set-display-feature-desc): Rename optional argument
26         `uri-char' to `uri-object'.
27         (www-set-display-feature-desc): Likewise.
28         (www-batch-set): Modify for `www-set-display-object-desc'.
29
30 2010-12-08  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
31
32         * cwiki-common.el (chise-wiki-bitmap-glyphs-url): Use
33         http://www.chise.org/glyphs instead of
34         http://chise.zinbun.kyoto-u.ac.jp/glyphs.
35         (chise-wiki-glyph-cgi-url): Use
36         http://www.chise.org/chisewiki/glyph.cgi instead of
37         http://chise.zinbun.kyoto-u.ac.jp/chisewiki/glyph.cgi.
38         (www-uri-make-object-url): New function.
39         (www-format-char-img-style): New variable.
40         (www-format-encode-string):
41         - Add new optional argument `as-body'; if it is specified, "&" is
42         encoded to "&amp;".
43         - Specify style of <img> tags.
44
45         * cwiki-edit.el (www-edit-display-input-box): Abolished because it
46         is not used.
47
48         * cwiki-format.el: New implementation based on `est-eval' and
49         `est-format':
50         (www-format-value-as-kuten): Abolished.
51         (www-format-value-default): Abolished.
52         (www-format-value-as-char-list): Abolished.
53         (www-format-value-as-domain-list): Abolished.
54         (www-format-value-as-ids): Abolished.
55         (www-format-value-as-S-exp): Abolished.
56         (www-format-value-as-HEX): Abolished.
57         (www-format-value-as-kangxi-radical): Abolished.
58         (www-format-value): If `object' is a symbol, it is decoded as
59         `feature' object.
60         (www-format-props-to-string): Abolished.
61         (www-format-apply-value): New implementation; use
62         `est-eval-apply-value' and `est-format-unit'.
63         (www-format-eval-feature-value): Abolished.
64         (www-format-eval-list): New implementation; use `est-eval-list'
65         and `est-format-unit'.
66
67         * est-eval.el, est-format.el: New files.
68
69 2010-12-06  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
70
71         * cwiki-format.el (www-format-value-as-char-list): Use
72         `object-representative-feature' instead of
73         `object-representation-format'; use feature
74         `object-representative-format' of genre object if
75         `object-representative-feature' of genre object or `name' is not
76         existed.
77
78 2010-12-06  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
79
80         * cwiki-format.el (www-format-value-as-CCS-default): Abolished
81         because it is not used.
82         (www-format-value-as-CCS-94x94): Ditto.
83
84 2010-12-06  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
85
86         * cwiki-set.el: Omit to require `cwiki-common'.
87
88         * cwiki-view.el, cwiki-edit.el, cwiki-add.el: Require
89         `cwiki-format' instead of `cwiki-common' and `est-xml'.
90
91         * cwiki-common.el (www-format-value-as-kuten): Moved to
92         cwiki-format.el.
93         (www-format-value-default): Ditto.
94         (www-format-value-as-char-list): Ditto.
95         (www-format-value-as-domain-list): Ditto.
96         (www-format-value-as-ids): Ditto.
97         (www-format-value-as-S-exp): Ditto.
98         (www-format-value-as-HEX): Ditto.
99         (www-format-value-as-CCS-default): Ditto.
100         (www-format-value-as-CCS-94x94): Ditto.
101         (www-format-value-as-kangxi-radical): Ditto.
102         (www-format-value): Ditto.
103         (www-format-props-to-string): Ditto.
104         (www-format-apply-value): Ditto.
105         (www-format-eval-feature-value): Ditto.
106         (www-format-eval-unit): Ditto.
107         (www-format-eval-list): Ditto.
108
109         * cwiki-format.el: New file.
110
111 2010-12-06  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
112
113         * cwiki-view.el, cwiki-edit.el, cwiki-add.el: Require 'est-xml.
114
115         * cwiki-common.el (www-xml-format-props): Moved to est-xml.el.
116         (www-xml-format-unit): Ditto.
117         (www-xml-format-list): Ditto.
118
119         * est-xml.el: New file.
120
121 2010-12-04  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
122
123         * cwiki-common.el: Assign new genre `person-name@ruimoku'.
124
125 2010-11-20  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
126
127         * cwiki-edit.el (www-edit-display-object-desc): Renamed from
128         `www-edit-display-char-desc'; add new argument `genre'.
129         (www-batch-edit): Modify for `www-edit-display-object-desc'.
130
131         * cwiki-common.el (est-object-genre): New function.
132         (www-format-apply-value): Use `est-object-genre' instead of
133         `concord-object-genre'.
134
135 2010-11-18  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
136
137         * cwiki-common.el (www-get-feature-value): Add error-handler for
138         `concord-object-get'.
139         (www-format-value-as-char-list): Refer feature
140         `object-representation-format' instead of `name'.
141         (www-format-apply-value): Modify to edit non-character object.
142
143         * cwiki-view.el (www-display-object-desc): Modify to edit
144         non-character object.
145         (www-display-feature-desc): Add new argument `genre'.
146
147 2010-11-17  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
148
149         * cwiki-common.el: Assign new genre `region@ruimoku'.
150
151 2010-11-16  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
152
153         * cwiki-view.el (www-display-object-desc): Don't display CHISE
154         IDS-Find for non-character object.
155
156         * cwiki-common.el: Modify genres of ruimoku.
157
158 2010-11-15  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
159
160         * cwiki-view.el (www-display-object-desc): Use
161         `www-uri-encode-object' instead of `www-uri-encode-char'.
162         (www-batch-view): Likewise.
163
164         * cwiki-common.el (www-uri-encode-object): Renamed from
165         `www-uri-encode-char'.
166         (www-format-value-as-char-list): Use `www-uri-encode-object'
167         instead of `www-uri-encode-char'.
168         (www-format-value-as-ids): Likewise.
169         (www-format-eval-unit): Likewise.
170
171 2010-11-15  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
172
173         * cwiki-common.el (www-uri-encode-char): Support non-character
174         object.
175         (www-format-value-as-char-list): Add link and readable
176         presentation for non-character object.
177
178 2010-11-14  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
179
180         * cwiki-set.el (www-batch-set): Encode `xemacs-chise-version'.
181
182         * cwiki-add.el (www-batch-add): Encode `xemacs-chise-version'.
183
184         * cwiki-edit.el (www-batch-edit): Encode `xemacs-chise-version'.
185
186         * cwiki-view.el (www-batch-view): Encode (emacs-version).
187
188 2010-11-10  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
189
190         * cwiki-common.el (www-format-apply-value): Rename argument
191         `uri-char' to `uri-object'.
192         (www-format-eval-feature-value): Rename argument `char' and
193         `uri-char' to `object' and `uri-object'.
194         (www-format-eval-unit): Likewise.
195         (www-format-eval-list): Likewise.
196
197 2010-10-14  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
198
199         * cwiki-view.el (www-display-object-desc): New function.
200
201         * cwiki-common.el (est-format-object): New function.
202
203 2010-10-14  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
204
205         * cwiki-common.el (www-get-genre): Abolished.
206         (www-get-feature-value): Don't use `www-get-genre'.
207
208 2010-10-12  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
209
210         * cwiki-common.el:
211         - Set `file-name-coding-system' to 'utf-8-mcs-er.
212         - Add settings to assign genres of Ruimoku.
213         (www-get-feature-value): Modify for non-character genres.
214         (www-uri-decode-object): Use `www-uri-decode-feature-name' for
215         objects of `feature' genre.
216
217         * cwiki-view.el (www-display-object-desc): Fix problem when
218         `object' is not a character.
219         (www-batch-view): Support general genres.
220
221 2010-09-15  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
222
223         * cwiki-common.el (www-get-genre): New function.
224         (www-get-feature-value): Renamed from `www-char-feature'.
225         (www-uri-decode-object): Renamed from `www-uri-decode-char'; add
226         new argument `genre'.
227
228         * cwiki-view.el (www-display-object-desc): Renamed from
229         `www-display-char-desc'; add new argument `genre'.
230
231         * cwiki-add.el (www-add-display-char-desc): Use
232         `www-uri-decode-object' instead of `www-uri-decode-char'.
233
234         * cwiki-set.el (www-parse-string-as-space-separated-char-list):
235         Use `www-uri-decode-object' instead of `www-uri-decode-char'.
236         (www-parse-string-as-space-separated-ids): Likewise.
237         (www-set-display-char-desc): Likewise; use `www-get-feature-value'
238         instead of `www-char-feature'.
239
240         * cwiki-edit.el (www-edit-display-feature-input-box): Use
241         `www-get-feature-value' instead of `www-char-feature'.
242         (www-edit-display-char-desc): Use `www-uri-decode-object' instead
243         of `www-uri-decode-char'.
244
245 2010-09-13  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
246
247         * cwiki-add.el: New file.
248
249 2010-04-08  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
250
251         * cwiki-view.el (www-display-char-desc): Use
252         `chise-wiki-displayed-features' instead of `displayed-features'.
253
254         * cwiki-common.el (chise-wiki-displayed-features): New variable.
255         (char-feature-name-at-domain): Fix problem when `domain' is nil.
256         (char-feature-name-domain): New function.
257         (www-uri-make-feature-name-url): New function.
258         (www-format-props-to-string): Fix problem when :len's value is
259         string.
260         (www-format-eval-unit):
261         - When :feature is specified, prefer FEATURE@DOMAIN to FEATURE.
262         - When :feature is specified in value related format functions,
263           add the displayed feature-name to
264           `chise-wiki-displayed-features'.
265         - Support `name-url' and `domain-name'.
266
267 2010-04-07  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
268
269         * cwiki-view.el (www-display-feature-desc): Fix problem to display
270         non-ASCII characters in property `format'.
271
272 2010-04-06  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
273
274         * cwiki-view.el (www-display-char-desc): Use `www-feature-format'.
275         (www-display-feature-desc): Ditto.
276
277         * cwiki-common.el (www-feature-format): New function.
278         (www-format-eval-unit): Support `:feature' property for `value'
279         related functions and `name' function.
280
281 2010-04-06  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
282
283         * cwiki-common.el (www-feature-value-format): Search ancestors'
284         property if own property is not found.
285         (char-feature-name-parent): New function.
286         (www-format-feature-name*): Search ancestors' property if own
287         property is not found.
288
289 2010-04-05  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
290
291         * cwiki-edit.el (www-edit-display-feature-desc): Display and
292         support editing of property `format'.
293
294         * cwiki-common.el (find-previous-defined-code-point): Fix problem
295         with `=ucs'.
296
297         * cwiki-view.el (www-display-feature-desc): Add edit button for
298         `format'.
299
300 2010-04-05  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
301
302         * cwiki-common.el (www-feature-value-format): Add
303         `(prev-char) (next-char)' into default format of CCS feature.
304         (get-previous-code-point): New function.
305         (get-next-code-point): New function.
306         (find-previous-defined-code-point): New function.
307         (find-next-defined-code-point): New function.
308         (www-format-eval-unit): Support `prev-char' and `next-char'.
309
310 2010-04-05  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
311
312         * cwiki-view.el (www-display-char-desc): Don't display "add
313         feature" button when running with simple mode.
314
315 2010-04-05  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
316
317         * cwiki-set.el (www-set-display-feature-desc): Refer
318         `chise-wiki-view-url'.
319
320 2010-04-05  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
321
322         * cwiki-view.el (www-display-feature-desc): Add new optional
323         argument `simple'; display "Edit" and "New Account" buttons when
324         running with simple mode; display "Simple" button when running
325         with edit mode.
326         (www-batch-view): Modify for `www-display-feature-desc' to support
327         mode.
328
329 2010-04-05  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
330
331         * cwiki-view.el (www-display-char-desc): Use <div> instead of <p>
332         to display feature in top-level.
333
334 2010-04-04  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
335
336         * cwiki-set.el (chise-wiki-view-url): Use "view.cgi" instead of
337         "../view.cgi".
338
339         * cwiki-edit.el (chise-wiki-view-url): Use "view.cgi" instead of
340         "../view.cgi".
341
342         * cwiki-view.el (chise-wiki-edit-url): Use "edit.cgi" instead of
343         "edit/edit.cgi".
344         (chise-wiki-add-url): Use "add.cgi" instead of "edit/add.cgi".
345         (www-display-char-desc): Add new optional argument `simple';
346         display "Edit" and "New Account" buttons when running with simple
347         mode; display "Simple" button when running with edit mode.
348         (www-batch-view): Modify to support mode.
349
350         * cwiki-common.el (chise-wiki-edit-url): Changed to "edit.cgi".
351         (www-format-value): Add new optional argument `without-edit';
352         modify for `www-format-apply-value'.
353         (www-format-apply-value): Add new optional argument
354         `without-edit'; modify for `www-format-eval-list'.
355         (www-format-eval-feature-value): Add new optional arguments
356         `without-tags' and `without-edit'; modify for
357         `www-format-apply-value' and `www-format-eval-list'.
358         (www-format-eval-unit):
359         - Add new optional arguments `without-tags' and `without-edit';
360           modify for `www-format-eval-feature-value',
361           `www-format-apply-value' and `www-format-eval-list'.
362         - specify 'without-tags and 'without-edit for
363           `www-format-eval-list' in href part of `link'.
364         (www-format-eval-list): Add new optional arguments `without-tags'
365         and `without-edit'; modify for `www-format-eval-unit'.
366
367 2010-04-04  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
368
369         * cwiki-common.el (www-format-eval-unit): Treat `string' as a
370         format specifier of feature-value.
371
372 2010-04-04  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
373
374         * cwiki-common.el (www-format-props-to-string): When `:len' is
375         specified, treat `:zero-padding' is specified.
376
377 2010-04-03  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
378
379         * cwiki-common.el (www-uri-encode-char): Use `=ruimoku-v6'.
380         (www-format-encode-string): Display `=ruimoku-v6' characters.
381
382         * cwiki-glyph.el (www-glyph-generate-png): Support `=ruimoku-v6'.
383         (www-glyph-display-png): Support RUI6-hhhh;
384
385 2010-04-02  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
386
387         * cwiki-common.el (www-uri-encode-char): Accept `=>zinbun-oracle'.
388         (www-format-encode-string):
389         - Display &A-ZOB-dddd;.
390         - Support `ideographic-combination'(合文) and
391           `ideographic-structure'.
392
393 2010-04-01  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
394
395         * cwiki-view.el (www-batch-view): Accept
396         "?char=&ENTITY-REFERENCE;".
397
398 2010-03-31  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
399
400         * cwiki-view.el (www-display-char-desc): Use
401         `char-feature-name-sans-versions' to avoid domain `$rev=latest'
402         when sort feature-names.
403
404 2010-03-29  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
405
406         * cwiki-common.el (www-format-value-as-domain-list): New function.
407         (www-format-apply-value): Support `space-separated-domain-list'.
408         (char-GlyphWiki-id): Try to avoid uHHHH-{u|us}.
409
410 2010-03-29  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
411
412         * cwiki-common.el (coded-charset-GlyphWiki-id-alist): Add setting
413         for `=ucs@jis', `=jis-x0208@1978/-4pr' and `=jis-x0208@1978'.
414         (char-GlyphWiki-id): Use `char-feature' instead of `encode-char'.
415
416 2010-03-29  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
417
418         * cwiki-view.el (www-display-char-desc): Add input form for CHISE
419         IDS-Find.
420
421 2010-03-29  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
422
423         * cwiki-view.el (www-display-char-desc): Try to display glyph of
424         GlyphWiki and link it.
425
426         * cwiki-common.el (coded-charset-GlyphWiki-id-alist): New
427         variable.
428         (char-GlyphWiki-id): New function.
429
430 2010-03-28  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
431
432         * cwiki-set.el (www-parse-string-as-kangxi-radical): New function.
433         (www-feature-parse-string): Support format `kangxi-radical'.
434
435         * cwiki-common.el (www-format-value-as-kangxi-radical): New
436         function.
437         (www-format-apply-value): Support format `kangxi-radical'.
438         (www-format-eval-unit): Support `kangxi-radical' as a value
439         format.
440
441 2010-03-20  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
442
443         * cwiki-common.el (www-format-value-default): New function.
444         (www-format-encode-string):
445         - Prefer `=gt' to `=cns11643-{1..7}'.
446         - Display &(G-)GT-Kddddd; entity references.
447         (www-format-apply-value):
448         - New implementation for format `string'.
449         - Use `www-format-value-default' for default format.
450
451         * cwiki-glyph.el (www-glyph-generate-png): Support `=gt-k'.
452         (www-glyph-display-png): Support GT-Kddddd.
453
454         * cwiki-set.el (www-parse-string-default): New implementation.
455         (www-set-display-feature-desc):
456         - New argument `format'.
457         - Display `value-format'.
458         (www-batch-set): Modify for the API change to set feature's
459         property.
460
461         * cwiki-view.el (www-display-char-desc): Display parents in the
462         header.
463         (www-display-feature-desc): Use `www-format-value' with default
464         format instead of `www-xml-format-list' and
465         `www-format-encode-string'.
466
467         * cwiki-edit.el (www-edit-display-feature-input-box): Add new
468         optional argument `value'.
469         (www-edit-display-feature-desc):
470         - Use `www-edit-display-feature-input-box' instead of
471           `www-edit-display-input-box'.
472         - Display `value-format'.
473
474 2010-03-19  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
475
476         * cwiki-view.el (www-display-feature-desc): Display [edit] button
477         of `value-format'.
478
479 2010-03-19  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
480
481         * cwiki-common.el (www-xml-format-unit): Escape `&'.
482
483 2010-03-19  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
484
485         * cwiki-common.el (www-format-encode-string): Display
486         &U-hhhhhhhh;.
487         (www-xml-format-props): Encode property value.
488         (www-xml-format-unit): Encode string.
489
490         * cwiki-edit.el (www-edit-display-feature-input-box): Escape <">.
491
492         * cwiki-view.el (www-display-feature-desc): Modify design of
493         [edit] button.
494
495 2010-03-18  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
496
497         * cwiki-set.el (www-xml-to-stext-unit): Support
498         <link><ref>...</ref>...</link>.
499
500         * cwiki-common.el (www-xml-format-unit): Support tag style `ref'
501         in `link'.
502
503         * cwiki-view.el (www-display-feature-desc): Display `value-format'
504         and `format'.
505
506 2010-03-18  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
507
508         * cwiki-common.el (www-format-feature-name-as-metadata): New
509         function.
510         (www-format-feature-name*): Use
511         `www-format-feature-name-as-metadata' for metadata features.
512
513 2010-03-18  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
514
515         * cwiki-set.el (www-xml-parse-string): New function.
516         (www-xml-to-stext-props): New function.
517         (www-xml-to-stext-unit): New function.
518         (www-xml-to-stext-list): New function.
519         (www-stext-parse-xml-string): New function.
520         (www-parse-string-as-wiki-text): Use `www-stext-parse-xml-string'.
521
522         * cwiki-edit.el (www-edit-display-char-feature-default): Abolish.
523         (www-edit-display-char-feature-as-ucs): Abolish.
524         (www-edit-display-input-box): Add the first argument `object';
525         modify for `www-format-apply-value'.
526         (www-edit-display-feature-input-box): Modify input boxes; modify
527         for `www-format-value'.
528         (www-edit-display-feature-desc): Modify for
529         `www-edit-display-input-box'.
530
531         * cwiki-common.el (www-format-value): Add the first argument
532         `object' and the second argument `feature-name'; change argument
533         `variable' to be optional; modify for `www-format-apply-value'.
534         (www-format-apply-value): Add the first argument `object' and the
535         second argument `feature-name'; support format `wiki-text'.
536         (www-format-eval-feature-value): Modify for
537         `www-format-apply-value'.
538         (www-format-eval-unit): Likewise.
539         (www-xml-format-props): New function.
540         (www-xml-format-unit): New function.
541         (www-xml-format-list): New function.
542
543 2010-03-18  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
544
545         * cwiki-set.el (www-set-display-char-desc):
546         - Setup property `additional-features' of feature `$object' when
547           feature value is stored.
548         - Mount additional-features.
549
550         * cwiki-view.el (www-char-display-feature-default): Abolished.
551         (www-char-display-feature-as-ucs): Abolished.
552         (www-display-char-desc): Mount additional-features.
553
554         * cwiki-common.el (www-feature-type): Support `*node' and
555         `*sources'.
556         (www-feature-value-format): Return `wiki-text' for type `stext'.
557         (www-format-apply-value): Don't set `default' even if a format is
558         not supported in this function.
559
560 2010-03-18  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
561
562         * cwiki-set.el (www-parse-string-as-wiki-text): New function
563         [currently just a stub].
564         (www-feature-parse-string): Use `www-parse-string-as-wiki-text'.
565         (www-set-display-char-desc): Use
566         `char-feature-name-sans-versions'.
567
568         * cwiki-edit.el (www-edit-display-feature-input-box): New
569         function.
570         (www-edit-display-char-desc): Use
571         `www-edit-display-feature-input-box'.
572
573         * cwiki-view.el (www-display-char-desc): Use
574         `char-feature-name-sans-versions'.
575
576         * cwiki-common.el (char-feature-name-sans-versions): New function.
577
578 2010-03-18  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
579
580         * cwiki-set.el (www-set-display-char-desc): Store new value into
581         FEATURE@$rev=latest; don't display `$rev=latest' domain features.
582
583         * cwiki-edit.el (www-edit-display-char-feature-default): Use
584         `www-char-feature' instead of `char-feature'.
585         (www-edit-display-char-feature-as-ucs): Likewise.
586         (www-edit-display-char-desc): Likewise; replace value of char-spec
587         with value of `www-char-feature'.
588
589         * cwiki-view.el (www-char-display-feature-default): Use
590         `www-char-feature' instead of `char-feature'.
591         (www-char-display-feature-as-ucs): Likewise.
592         (www-display-char-desc): Ignore `$rev=latest' domain features.
593
594         * cwiki-common.el (char-feature-name-at-domain): New function.
595         (www-char-feature): New function.
596         (www-format-encode-string): Use `www-char-feature' instead of
597         `char-feature'.
598         (www-format-eval-feature-value): Likewise.
599         (www-format-eval-unit): Likewise.
600
601 2010-03-18  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
602
603         * cwiki-set.el (www-parse-string-default): New function.
604         (www-feature-parse-string):
605         - Support new format `string'.
606         - Use `www-parse-string-default' for `default'.
607
608 2010-03-18  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
609
610         * cwiki-common.el (chise-wiki-glyph-cgi-url): New variable.
611         (www-uri-encode-char): Support `=>>gt'.
612         (www-format-encode-string):
613         - Use GT, Big5 and Big5-CDP fonts.
614         - Use http://www.unicode.org/cgi-bin/refglyph?24-hhhh to display
615           `=ucs@unicode' glyphs.
616         - Display &MCS-hhhhhhhh; with using child's glyph.
617
618         * cwiki-glyph.el: New file.
619
620 2010-03-18  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
621
622         * cwiki-common.el (chise-wiki-bitmap-glyphs-url): Renamed from
623         `chise-wiki-glyphs-url'.
624         (www-format-encode-string):
625         - Use `chise-wiki-bitmap-glyphs-url' instead of
626           `chise-wiki-glyphs-url'.
627         - Display &JC3-hhhh; and &ZOB-dddd;.
628
629 2010-03-17  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
630
631         * cwiki-edit.el (www-edit-display-feature-desc): Use
632         `www-format-feature-name*' instead of `www-format-feature-name'.
633
634         * cwiki-common.el (www-uri-decode-char):
635         - Accept `:' again.
636         - Prefer `=>jis-x0208' and `=>jis-x0213-1' to `=big5' and
637           `=big5-cdp'.
638         - Fix problem when no CCSes are found.
639         (www-format-feature-name*): New function.
640         (www-format-feature-name): Use `www-format-feature-name*'.
641
642 2010-03-17  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
643
644         * cwiki-set.el (www-parse-string-as-space-separated-char-list):
645         Expect `string' to be encoded as URI.
646         (www-parse-string-as-space-separated-ids): Likewise.
647         (www-feature-parse-string): Likewise.
648         (www-set-display-char-desc): Expect `uri-char' to be encoded as
649         URI.
650         (www-set-display-feature-desc): Fix problem when `name@lang' is
651         not existed.
652         (www-batch-set): Don't use `decode-uri-string' for value of `char'
653         and feature-value.
654
655         * cwiki-edit.el (www-edit-display-char-desc): Expect `uri-char' to
656         be encoded as URI.
657         (www-batch-edit): Don't use `decode-uri-string' for value of
658         `char'.
659
660         * cwiki-view.el (www-display-char-desc): Expect `uri-char' to be
661         encoded as URI; encode `uri-char' if it is a non-encoded
662         character.
663         (www-batch-view): Don't use `decode-uri-string' for value of
664         `char'.
665
666         * cwiki-common.el (www-uri-decode-char): Expect char-rep to be
667         encoded as URI.
668         (www-uri-encode-char): Encode UCS characters as %XX encoding.
669         (www-format-feature-name-as-CCS): Insert space between
670         prefix (..., ===>, ==>, =>, =>>, =>>>, ..., =) and main-name.
671         (www-html-display-text): Don't escape "&" except "&GT-".
672
673 2010-03-16  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
674
675         * cwiki-set.el (www-parse-string-as-space-separated-ids): New
676         function.
677         (www-parse-string-as-ku-ten): New function.
678         (www-feature-parse-string): Support `space-separated-ids' and
679         `ku-ten'.
680
681 2010-03-16  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
682
683         * cwiki-common.el (www-feature-value-format): Return
684         'space-separated-ids for `structure' type features.
685         (www-format-value-as-ids): New function.
686         (www-format-apply-value): Use `www-format-value-as-ids' for format
687         `space-separated-ids'.
688
689 2010-03-03  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
690
691         * cwiki-common.el, cwiki-edit.el, cwiki-set.el, cwiki-view.el: New
692         files.