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