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