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