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