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