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