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