(est-eval-apply-value): Support new format `unordered-link-list'.
[chise/est.git] / ChangeLog
1 2017-12-09  MORIOKA Tomohiko  <tomo.git@chise.org>
2
3         * cwiki-common.el (www-format-encode-string): Display
4         "&A-cgnU+hhhh;".
5
6 2017-11-14  MORIOKA Tomohiko  <tomo.git@chise.org>
7
8         * cwiki-common.el (www-format-encode-string): Add setting of
9         `coded-charset-entity-reference-alist' for `=>big5-cdp'.
10
11 2017-11-11  MORIOKA Tomohiko  <tomo.git@chise.org>
12
13         * cwiki-common.el (www-format-encode-string):
14         - Add entity-reference setting for `==cbeta'.
15         - Display "&R-CBddddd;".
16         - Display "&g2-iddd+hhhh;".
17         - Fix alt property of img tag for "&CDP-iddd-hhhh;".
18         - Display "&g2-U-vddd+hhhh;".
19         (coded-charset-GlyphWiki-id-alist): Add settings for
20         `==ucs-itaiji-005' and `=>>adobe-japan1-{0..6}'.
21
22 2017-08-20  MORIOKA Tomohiko  <tomo.git@chise.org>
23
24         * cwiki-common.el (est-coded-charset-priority-list): Add
25         `=ucs-itaiji-004', `=ucs-itaiji-005', `=ucs-itaiji-006',
26         `=ucs-itaiji-007', `=ucs-itaiji-008', `=ucs-itaiji-009',
27         `=ucs-itaiji-010', `=ucs-itaiji-011', `=ucs-itaiji-084',
28         `=ucs-var-001', `=ucs-var-002', `=ucs-var-003', `=ucs-var-004',
29         `=>ucs-itaiji-002', `=>ucs-itaiji-003', `=>ucs-itaiji-004',
30         `=>ucs-itaiji-005', `=>ucs-itaiji-006' and `=>ucs-itaiji-007'.
31         (www-format-encode-string): Display "&(A-)CDP-iddd-hhhh;".
32         (coded-charset-GlyphWiki-id-alist): Add settings for
33         `=ucs-var-004', `=>ucs-itaiji-006', `=big5-cdp-itaiji-001',
34         `=big5-cdp-itaiji-002' and `=>big5-cdp-itaiji-001'.
35
36 2017-08-10  MORIOKA Tomohiko  <tomo.git@chise.org>
37
38         * cwiki-common.el (est-coded-charset-priority-list): Add settings
39         for `=+>ucs@iso', `=+>ucs@unicode', `===adobe-japan1',
40         `===cns11643-1', `===cns11643-2', `===cns11643-3',
41         `===cns11643-4', `===cns11643-5', `===cns11643-6' and
42         `===cns11643-7'.
43
44 2017-07-26  MORIOKA Tomohiko  <tomo.git@chise.org>
45
46         * cwiki-common.el (est-coded-charset-priority-list): Add
47         `=>ucs-itaiji-001'.
48         (www-format-encode-string): Display "&A-MJdddddd;",
49         "&A-U-iddd+hhhh;", "&g2-GT-Kddddd;", "&A-CDP-hhhh;" and
50         "&A-RUI6-hhhh;" entity references.
51         (coded-charset-GlyphWiki-id-alist): Add settings for
52         `=>ucs-itaiji-001', `=>big5-cdp', `=ruimoku-v6' and
53         `=>ruimoku-v6'.
54
55         * cwiki-view.el (www-display-object-desc): Fix problem about
56         "&GT-...;" in input boxes of IDS-Find.
57
58 2017-07-23  MORIOKA Tomohiko  <tomo.git@chise.org>
59
60         * cwiki-common.el (est-coded-charset-priority-list): Add
61         `=>ucs@iwds-1' and `=>ucs@component'.
62         (www-format-encode-string): Display "&A-compU+hhhh;" entity
63         references.
64
65 2016-11-17  MORIOKA Tomohiko  <tomo.git@chise.org>
66
67         * char-db-json.el (char-db-json-insert-relation-feature): Check
68         argument `value' to accept character object as the same as list of
69         characters.
70
71         * cwiki-view.el (www-display-object-desc): Check return value of
72         `www-get-feature-value' to accept character object as the same as
73         list of characters.
74
75         * cwiki-common.el (www-format-encode-string): Check return value
76         of `www-get-feature-value' to accept character object as the same
77         as list of characters.
78
79 2016-09-13  MORIOKA Tomohiko  <tomo.git@chise.org>
80
81         * cwiki-common.el (www-format-encode-string): Display
82         "&A-GT-Kddddd;" entity references.
83
84 2016-07-21  MORIOKA Tomohiko  <tomo.git@chise.org>
85
86         * est-eval.el (est-eval-value-as-created-works): Fix problem when
87         some items of value are omitted.
88
89 2016-06-29  MORIOKA Tomohiko  <tomo.git@chise.org>
90
91         * cwiki-view.el (www-display-object-desc): Add CSS setting for
92         image-list.
93
94         * est-eval.el (est-eval-value-as-image-resource): Add optional
95         argument `accept-full-image'.
96         (est-eval-value-as-image-object): New function.
97         (est-eval-value-as-image-list): New function.
98         (est-eval-apply-value): Use `est-eval-value-as-image-list' for
99         format `image-list'.
100
101         * est-format.el (est-format-unit): Treat `image-list' as the same
102         as `list'.
103
104 2016-06-29  MORIOKA Tomohiko  <tomo.git@chise.org>
105
106         * cwiki-view.el (www-display-object-desc): Change URL of HNG card
107         image from
108         "http://hng.chise.org/images/HNG/<nnn>/cards/<nnnn>.jpg" to
109         "http://hng.chise.org/images/HNG/<nnn>/card/<nnnn>.jpg".
110
111         * cwiki-common.el (www-format-encode-string): Display
112         &{G-|g2-|R-}RUI6-hhhh;.
113
114 2016-06-28  MORIOKA Tomohiko  <tomo.git@chise.org>
115
116         * cwiki-view.el (www-display-object-desc): For each character
117         object to represent HNG glyph-image, generate features
118         `sources@HNG/card' and `sources@zinbun/takuhon' and display them.
119
120 2016-06-15  MORIOKA Tomohiko  <tomo.git@chise.org>
121
122         * est-eval.el (est-eval-value-as-glyph-image): New function.
123         (est-eval-value-as-object): Use `est-eval-value-as-glyph-image'
124         for genre `glyph-image'.
125         (est-eval-value-as-location): New function.
126         (est-eval-value-as-name): New function.
127         (est-eval-value-as-location-list): New function.
128         (est-eval-value-as-name-list): New function.
129         (est-eval-apply-value):
130         - Use `est-eval-value-as-location-list' for format
131           `location-list'.
132         - Use `est-eval-value-as-name-list' for format `name-list'.
133
134         * cwiki-view.el (www-display-object-desc): Add code to display
135         image in head for genre `glyph-image'.
136
137 2016-06-14  MORIOKA Tomohiko  <tomo.git@chise.org>
138
139         * cwiki-common.el: Assign genre `glyph-image'.
140
141 2016-06-12  MORIOKA Tomohiko  <tomo.git@chise.org>
142
143         * est-eval.el (est-eval-value-as-character): New function.
144         (est-eval-value-as-char-list): New function.
145         (est-eval-apply-value): Add new format `char-list'.
146
147 2016-06-11  MORIOKA Tomohiko  <tomo.git@chise.org>
148
149         * est-eval.el (est-eval-value-as-image-resource): New function.
150         (est-eval-value-as-object): Use `est-eval-value-as-image-resource'
151         for `image-resource' genre.
152
153         * est-format.el (est-format-unit): Support `img' tag.
154
155 2016-06-09  MORIOKA Tomohiko  <tomo.git@chise.org>
156
157         * cwiki-view.el (www-display-object-desc): Use "...$.zoom-xywh="
158         instead of "...$zoom-xywh=" to specify image zooming.
159         (www-batch-view-smart): Likewise.
160
161 2016-06-09  MORIOKA Tomohiko  <tomo.git@chise.org>
162
163         * cwiki-view.el (www-display-object-desc):
164         - For each image segment, add link to the corresponding original
165           image with zooming.
166         - Implement zooming feature for `image-resource' genre.
167         - Use HNG-card page of EsT instead of HNG-card image as link from
168           HNG glyph-images.
169         (www-batch-view-smart): Support "...$zoom-xywh=" modifier for
170         `image-resource' genre.
171
172 2016-06-08  MORIOKA Tomohiko  <tomo.git@chise.org>
173
174         * cwiki-view.el (www-display-object-desc): Add code for genre
175         `hng-card' to display image of HNG-card.
176
177         * cwiki-common.el: Assign genre `hng-card'.
178
179 2016-06-08  MORIOKA Tomohiko  <tomo.git@chise.org>
180
181         * cwiki-view.el (www-display-object-desc):
182         - Add new argument `image-selection'.
183         - Add code to display image in head for genre `image-resource'.
184         (www-batch-view): Modify for interface change of
185         `www-display-object-desc'.
186
187 2016-06-07  MORIOKA Tomohiko  <tomo.git@chise.org>
188
189         * cwiki-common.el: Assign genre `image-resource'.
190
191 2016-06-01  MORIOKA Tomohiko  <tomo.git@chise.org>
192
193         * cwiki-view.el (www-display-object-desc): Add styles for
194         tooltips.
195
196         * cwiki-common.el (www-format-encode-string): Add "tooltip" and
197         "tooltiptext" for HNG images.
198
199 2016-05-08  MORIOKA Tomohiko  <tomo.git@chise.org>
200
201         * cwiki-view.el (www-batch-view-smart): Use
202         `char-db-json-char-data-with-variant' with readable mode.
203
204         * char-db-json.el (char-db-ignored-attributes): Add `composition'.
205         (char-db-json-insert-relation-feature): Use
206         `char-db-json-insert-char-spec' even if running with readable
207         mode.
208         (char-db-json-insert-char-features):    
209         - Delete line-breaking for `=>ucs' and `=>ucs*'.
210         - Delete setting for `japanese-radical', `ideographic-',
211           `->ideograph', `ideograph=', `original-ideograph-of',
212           `ancient-ideograph-of', `vulgar-ideograph-of',
213           `wrong-ideograph-of' and `ideographic-variants' because they
214           have been already abolished.
215         (what-char-definition-json): Use
216         `char-db-json-char-data-with-variant' with readable mode.
217
218 2016-05-05  MORIOKA Tomohiko  <tomo.git@chise.org>
219
220         * cwiki-common.el (est-coded-charset-priority-list): Add
221         `=ucs@unicode', `==ucs@unicode', `===ucs@unicode', `==>ucs@bucs',
222         `===daikanwa/+p' and `===gt'.
223
224         * char-db-json.el (char-db-json-insert-char-features): Add "@type"
225         based on glyph granularity.
226
227 2016-05-05  MORIOKA Tomohiko  <tomo.git@chise.org>
228
229         * char-db-json.el (char-db-json-insert-ccs-feature): Modify
230         layout.
231         (char-db-json-insert-relation-feature): Likewise.
232         (char-db-json-insert-char-features): Likewise; add "@context" and
233         "@id".
234
235 2016-05-04  MORIOKA Tomohiko  <tomo.git@chise.org>
236
237         * cwiki-view.el: Require `char-db-json'.
238         (www-display-object-desc): Add [JSON] button.
239         (www-batch-view-smart): Support "/data.json" API for character
240         genre.
241
242         * char-db-json.el: New file.
243
244 2016-05-02  MORIOKA Tomohiko  <tomo.git@chise.org>
245
246         * cwiki-common.el (www-format-encode-string): Display
247         "&A-IWDSU+xxxx;".
248
249 2016-04-30  MORIOKA Tomohiko  <tomo.git@chise.org>
250
251         * cwiki-view.el (www-display-object-desc): Add link for HNG-card
252         for HNG representative glyph-images.
253
254 2016-04-15  MORIOKA Tomohiko  <tomo.git@chise.org>
255
256         * cwiki-common.el (coded-charset-GlyphWiki-id-alist): Decrease
257         preferences of `=jis-x0212', `=jis-x0213-1@2000',
258         `=jis-x0213-1@2004', `=jis-x0213-2', `=jef-china3',
259         `=jis-x0208@1978/1pr', `=jis-x0208@1978/-4pr' and
260         `=jis-x0208@1978'.
261
262 2016-04-14  MORIOKA Tomohiko  <tomo.git@chise.org>
263
264         * cwiki-common.el (coded-charset-GlyphWiki-id-alist):
265         - Add setting for `==cbeta'.
266         - Use "cbeta-" instead of "cb" as the prefix for `=cbeta'.
267
268 2016-04-12  MORIOKA Tomohiko  <tomo.git@chise.org>
269
270         * cwiki-common.el (www-format-encode-string): Display
271         "&U-vnnn-xxxx;"; omit support for "&{o|G|g2|R}-U-innn+xxxx;".
272         (coded-charset-GlyphWiki-id-alist): Add setting for
273         `==ucs@unicode'.
274
275 2016-04-06  MORIOKA Tomohiko  <tomo.git@chise.org>
276
277         * cwiki-common.el (coded-charset-GlyphWiki-id-alist): Modify order
278         to prefer glyph-images (===foo) > abstract glyph-forms (==foo) >
279         detailed glyphs (=>>foo) > glyphs (=foo) > unified glyphs (=+>foo)
280         > abstract characters.
281
282 2016-04-05  MORIOKA Tomohiko  <tomo.git@chise.org>
283
284         * est-format.el (est-format-props): Don't apply
285         `www-format-encode-string' to the return value of
286         `est-format-unit' because it has already been encoded.
287
288 2016-03-19  MORIOKA Tomohiko  <tomo.git@chise.org>
289
290         * cwiki-common.el (est-coded-charset-priority-list): Add
291         `=ucs@unicode'.
292
293 2016-03-18  MORIOKA Tomohiko  <tomo.git@chise.org>
294
295         * cwiki-common.el (www-format-encode-string): Add setting for
296         `=mj' and `==mj'.
297         (coded-charset-GlyphWiki-id-alist): Don't prefer `=ucs' to other
298         CCSes.
299
300 2016-03-16  MORIOKA Tomohiko  <tomo.git@chise.org>
301
302         * cwiki-glyph.el (www-glyph-big5-to-ucs-pua): New function.
303         (www-glyph-generate-png): Use `www-glyph-big5-to-ucs-pua' as a
304         fall-back.
305         (www-glyph-display-png): Support HZK-hhhh.
306
307         * cwiki-common.el (www-format-encode-string):
308         - Support `=hanziku-{1..12}' and `=big5'.
309         - Display &G-CBddddd; and &g2-CBddddd;.
310         - Display &({o-|G-|g2-}){I|U}+hhhh;.
311         - Display &A-GT-ddddd;.
312
313 2016-03-16  MORIOKA Tomohiko  <tomo.git@chise.org>
314
315         * cwiki-view.el (www-display-object-desc): Add setting of CSS in
316         header.
317
318         * est-format.el (est-format-unit): For conversion of
319         `feature-name' unit, enclose '(a (:href ...) ...) with '(span
320         (:class "feature-name") ...)
321
322         * est-eval.el (est-eval-value-as-ids): New implementation.
323
324 2016-03-15  MORIOKA Tomohiko  <tomo.git@chise.org>
325
326         * cwiki-common.el (est-coded-charset-priority-list): Add `=mj',
327         `==mj', `===mj' and `=ucs-itaiji-003'.
328         (coded-charset-GlyphWiki-id-alist): Add setting for
329         `=ucs-itaiji-003' and `=koseki'.
330
331 2016-03-14  MORIOKA Tomohiko  <tomo.git@chise.org>
332
333         * cwiki-common.el (est-coded-charset-priority-list): Add
334         `=>cbeta'.
335         (www-format-encode-string): Support &A-CBddddd;
336
337 2016-02-11  MORIOKA Tomohiko  <tomo.git@chise.org>
338
339         * cwiki-common.el (est-coded-charset-priority-list): Add
340         `=ucs-itaiji-001'.
341         (coded-charset-GlyphWiki-id-alist): Prefer
342         `=ucs-var-{001|002|003}', `=ucs-itaiji-{002|084}' to `=ucs'; add
343         setting for `=ucs-itaiji-001'.
344
345 2015-11-22  MORIOKA Tomohiko  <tomo.git@chise.org>
346
347         * cwiki-common.el (est-coded-charset-priority-list): Add
348         `===ucs@iso'.
349         (www-format-encode-string): Use GlyphWiki to display SIP
350         characters.
351         (coded-charset-GlyphWiki-id-alist): Add setting for `==ucs@iso'.
352
353 2015-11-20  MORIOKA Tomohiko  <tomo.git@chise.org>
354
355         * cwiki-view.el (www-display-object-desc): Add input box for
356         http://www.chise.org/hng-ids-find.
357
358 2015-11-05  MORIOKA Tomohiko  <tomo.git@chise.org>
359
360         * cwiki-common.el (est-coded-charset-priority-list): New variable.
361         (www-uri-encode-object): Refer `est-coded-charset-priority-list'.
362         (www-format-encode-string): Support `=ucs-itaiji-nnn'.
363         (coded-charset-GlyphWiki-id-alist): Add setting for
364         `=ucs-var-001', `=ucs-var-002', `=ucs-var-003', `=ucs-itaiji-002',
365         `=ucs-itaiji-084', `=big5-cdp-var-3' and `=big5-cdp-var-5'.
366
367 2015-10-29  MORIOKA Tomohiko  <tomo.git@chise.org>
368
369         * cwiki-view.el (www-display-feature-desc): Decode return value of
370         `char-feature-property' [perhaps `char-feature-property' should
371         return decoded string].
372
373 2015-10-21  MORIOKA Tomohiko  <tomo.git@chise.org>
374
375         * cwiki-common.el (www-feature-format): Refer
376         char-feature-property `presentation-format'.
377
378 2015-09-28  MORIOKA Tomohiko  <tomo.git@chise.org>
379
380         * cwiki-common.el: Mount `->HNG' and `<-HNG'.
381         (chise-wiki-hng-bitmap-glyphs-url): New variable.
382         (www-format-encode-string):
383         - Format "&(o-|G-|g2-|R-)J0-hhhh;".
384         - Format "R-HD-*;".
385         - Format "&HNGdd-ddddd;".
386         - Format "&(o-|G-|g2-|R-)MJ-dddddd;".
387         - Format "&(G-|g2-|R-)CDP-hhhh;".
388
389 2014-11-21  MORIOKA Tomohiko  <tomo.git@chise.org>
390
391         * cwiki-common.el(www-uri-decode-feature-name):
392         - Decode repi.FOO to ===FOO.
393         - Decode rep2.FOO to ===FOO instead of ==FOO.
394         - Decode g2.FOO to ==FOO.
395         - Decode gi.FOO to ==FOO instead of =>>>FOO.
396         (www-uri-encode-feature-name):
397         - Encode ==FOO to g2.FOO instead of rep2.FOO.
398         - Encode ===FOO to repi.FOO.
399         (www-format-encode-string): Add setting for `=>>hanyo-denshi/*'
400         and `==hanyo-denshi/*'; support some ===FOO and ==FOO.
401         (coded-charset-GlyphWiki-id-alist): Add `==adobe-japan1-*',
402         `===adobe-japan1-*', `==ucs@jis', `===ucs@jis', `==ucs@cns',
403         `==daikanwa', `===daikanwa', `==ucs@ks' and `===ucs@ks'.
404         (char-GlyphWiki-id): Treat `=jis-x0213-2' as uXXXX.
405
406 2014-09-19  MORIOKA Tomohiko  <tomo.git@chise.org>
407
408         * est-eval.el (est-eval-value-as-domain-list): Fix problem about
409         ranges.
410         (est-eval-feature-value): Don't omit items of `sources'.
411
412 2014-06-19  MORIOKA Tomohiko  <tomo.git@chise.org>
413
414         * cwiki-view.el (www-display-object-desc): Support
415         `est-hide-cgi-mode'.
416         (www-display-feature-desc): Likewise.
417         (www-batch-view-smart): New function.
418
419         * cwiki-common.el (est-hide-cgi-mode): New variable.
420         (est-view-url-prefix): New variable.
421         (est-uri-decode-feature-name-body): New function.
422         (est-uri-encode-feature-name-body): New function.
423         (www-uri-decode-feature-name): Use
424         `est-uri-decode-feature-name-body'.
425         (www-uri-encode-feature-name): Use
426         `est-uri-encode-feature-name-body'.
427         (www-uri-make-feature-name-url): Add implementation for
428         `est-hide-cgi-mode'.
429         (www-uri-decode-object): Support `est-hide-cgi-mode'; use
430         `est-uri-decode-feature-name-body'.
431         (www-uri-encode-object): Support `est-hide-cgi-mode'; use
432         `est-uri-encode-feature-name-body'.
433         (www-uri-make-object-url): Add implementation for
434         `est-hide-cgi-mode'.
435
436         * est-format.el (est-format-unit): Support `est-hide-cgi-mode'.
437
438 2014-06-18  MORIOKA Tomohiko  <tomo.git@chise.org>
439
440         * cwiki-view.el (www-display-object-desc): Add new argument
441         `uri-feature-name'; if it is specified, display only the specified
442         feature with all items of the value.
443         (www-batch-view): Modify for `www-display-object-desc'.
444
445         * est-eval.el (est-eval-list-feature-items-limit): New variable.
446         (est-eval-feature-value): Use `est-eval-list-feature-items-limit';
447         don't omit items of feature value if
448         `est-eval-list-feature-items-limit' is nil.
449
450         * est-format.el (est-format-unit): Format `omitted'.
451
452         * cwiki-set.el (www-set-display-object-desc): Modify for
453         `www-display-object-desc'.
454
455         * cwiki-edit.el (www-edit-display-object-desc): Modify for
456         `www-display-object-desc'.
457
458 2014-05-26  MORIOKA Tomohiko  <tomo.git@chise.org>
459
460         * cwiki-common.el (www-uri-decode-feature-name): Decode `rep2.FOO'
461         to `==FOO'.
462         (www-uri-encode-feature-name): Encode `==FOO' to `rep2.FOO'.
463         (www-format-encode-string): Support `==cns11643-*'; support `==gt'
464         and `==ucs@unicode'.
465
466         * est-eval.el (est-eval-value-as-domain-list): Treat `zob1959' in
467         `source' as the same as `zob1968'.
468
469 2013-09-18  MORIOKA Tomohiko  <tomo.git@chise.org>
470
471         * cwiki-common.el (www-format-encode-string): Support
472         `=hanyo-denshi/*', `=adobe-japan1-6', `=big5-cdp', `=ucs@unicode'
473         and `=ucs@JP/hanazono'; support &{G|g2}-J{78|83|90|97|SP}-hhhh;.
474         (coded-charset-GlyphWiki-id-alist): Modify preference of
475         `=>>daikanwa' and `=ucs@ks'.
476
477         * cwiki-glyph.el (www-glyph-generate-png): Support
478         `=ucs@JP/hanazono'.
479         (www-glyph-display-png): Likewise.
480
481         * est-eval.el (est-eval-value-as-composition-list): New function.
482         (est-eval-value-as-decomposition-list): New function.
483         (est-eval-apply-value): Add new formats `decomposition',
484         `composition' and `unordered-composition-list'.
485
486 2013-09-02  MORIOKA Tomohiko  <tomo.git@chise.org>
487
488         * cwiki-common.el: Assign genre `entry@zh-classical' instead of
489         `morpheme-entry@zh-classical' and `sentence-entry@zh-classical'.
490
491 2013-08-27  MORIOKA Tomohiko  <tomo.git@chise.org>
492
493         * cwiki-common.el:
494         - Assign new genres `morpheme-entry@zh-classical',
495           `word-class@zh-classical', `morpheme@zh-classical',
496           `sentence@zh-classical' and `sentence-entry@zh-classical'.
497         - Mount char-feature `*instance@morpheme-entry/zh-classical'.
498
499 2012-12-20  MORIOKA Tomohiko  <tomo.git@chise.org>
500
501         * cwiki-common.el (www-feature-value-format): Refer
502         `value-presentation-format' as like as `value-format'.
503
504 2012-12-20  MORIOKA Tomohiko  <tomo.git@chise.org>
505
506         * est-rdf-view.el (est-rdf-encode-feature-name): Map domain to
507         xmlns-prefix; refer feature `rdf-namespace-prefix' and
508         `rdf-namespace-uri'; return '(<XMLNS-PREFIX> <XMLNS-URI>
509         <PREDICATE>) instead of '(<XMLNS-PREFIX> . <PREDICATE>).
510         (est-rdf-display-object-desc): Modify for
511         `est-rdf-encode-feature-name'.
512
513         * cwiki-view.el (www-display-feature-desc): Display
514         `value-presentation-format'.
515
516         * cwiki-edit.el (www-edit-display-feature-desc): Support
517         `value-presentation-format'.
518
519 2012-12-08  MORIOKA Tomohiko  <tomo.git@chise.org>
520
521         * est-rdf-view.el (est-rdf-encode-feature-name):        
522         - Use ".-." instead of "." for non-top `*'.
523         - Use "..." instead of "-" for `/'.
524         (est-rdf-display-object-desc): Support metadata feature.
525         (est-rdf-batch-view): Modify for `est-rdf-display-object-desc'.
526
527 2012-12-08  MORIOKA Tomohiko  <tomo.git@chise.org>
528
529         * cwiki-common.el: Use `*instance@ruimoku/bibliography/title'
530         instead of `instance@ruimoku/bibliography/title'.
531
532 2012-09-23  MORIOKA Tomohiko  <tomo.git@chise.org>
533
534         * cwiki-view.el (www-display-object-desc): Add a link-button for
535         RDF.
536
537 2012-09-22  MORIOKA Tomohiko  <tomo.git@chise.org>
538
539         * est-rdf-view.el: New file.
540
541 2012-09-15  MORIOKA Tomohiko  <tomo.git@chise.org>
542
543         * est-eval.el (est-eval-value-as-journal-volume): Add new optional
544         argument `short'.
545         (est-eval-value-as-journal-volumes): New function.
546         (est-eval-apply-value): Use `est-eval-value-as-journal-volumes'
547         for format `journal-volume-list'.
548         (est-eval-feature-value): Change limit size from 127 to 255.
549
550 2012-09-14  MORIOKA Tomohiko  <tomo.git@chise.org>
551
552         * est-eval.el (est-eval-value-as-journal-volume): Refer
553         `<-journal/volume*name'.
554         (est-eval-value-as-creators-names): Fix problem when string is
555         occurred in value.
556
557 2012-09-13  MORIOKA Tomohiko  <tomo.git@chise.org>
558
559         * est-eval.el (est-eval-value-as-journal-volume): Support book
560         object.
561         (est-eval-value-as-article): New implementation; use
562         `est-eval-value-as-book'; add journal-volume, page and date.
563         (est-eval-value-as-book): New implementation.
564
565         * est-format.el (est-format-list): Don't specify separator for
566         each child unit.
567
568 2012-09-13  MORIOKA Tomohiko  <tomo.git@chise.org>
569
570         * est-eval.el (est-eval-value-as-journal-volume): Use
571         `<-journal/volume', `<-journal/volume*volume' and
572         `<-journal/volume*number' if they are found.
573
574 2012-09-12  MORIOKA Tomohiko  <tomo.git@chise.org>
575
576         * cwiki-view.el (www-batch-view): Fix problem when decoding
577         URL-encoding of genre.
578
579         * cwiki-common.el (www-uri-decode-object): Use `decode-uri-string'
580         for value-part of object-representation.
581
582 2012-09-11  MORIOKA Tomohiko  <tomo.git@chise.org>
583
584         * cwiki-common.el (www-uri-encode-object): Add `=jis-x0213-2',
585         `=adobe-japan1', `=>>>adobe-japan1', `=>>>jis-x0208',
586         `=>>>jis-x0213-1', `=>>>jis-x0213-2', `=>>jis-x0213-1',
587         `=>>jis-x0213-2', `=>>adobe-japan1', `=+>jis-x0208',
588         `=+>jis-x0213-1', `=+>jis-x0213-2', `=+>adobe-japan1',
589         `=>>ucs@iso', `=>>ucs@unicode', `=>>ucs@jis', `=>>ucs@cns',
590         `=>>ucs@ks', `=>>>ucs@iso', `=>>>ucs@unicode', `=>>>ucs@jis',
591         `=>>>ucs@cns' and `=>>>ucs@ks' to ccs-list.
592         (coded-charset-GlyphWiki-id-alist): Add settings for
593         `=adobe-japan1-{0..5}', `=decomposition@cid',
594         `=decomposition@hanyo-denshi', `=hanyo-denshi/ks',
595         `=>>hanyo-denshi/ks', `=>>daikanwa', `=>>big5-cdp',
596         `=>>>jis-x0208', `=>>jis-x0208', `=+>jis-x0208',
597         `=>>>jis-x0208@1990', `=>>jis-x0208@1990', `=+>jis-x0208@1990',
598         `=>>>jis-x0208@1983', `=>>jis-x0208@1983' and `=+>jis-x0208@1983'.
599         (char-GlyphWiki-id): Support IVS representation.
600
601 2012-09-11  MORIOKA Tomohiko  <tomo.git@chise.org>
602
603         * est-eval.el (est-eval-value-as-journal-volume): Renamed from
604         `est-eval-journal-volume'.
605         (est-eval-value-as-article): New function.
606         (est-eval-value-as-book): New function.
607         (est-eval-value-as-object):     
608         - Use `est-eval-value-as-journal-volume' instead of
609           `est-eval-journal-volume'.
610         - Use function `est-eval-value-as-article' for genre
611           `article@ruimoku'.
612         - Use function `est-eval-value-as-book' for genre `book@ruimoku'.
613         (est-eval-value-as-object-list):
614         - Add new optional argument `subtype'; set it into property
615           :subtype.
616         - Fix problem when `value' is not a valid list.
617         (est-eval-value-as-creators-names): Add new optional argument
618         `subtype'; set it into property :subtype.
619         (est-eval-value-as-created-works): Likewise.
620         (est-eval-apply-value): Add new formats `unordered-list',
621         `unordered-creator-name-list' and `unordered-created-work-list'.
622
623 2012-09-10  MORIOKA Tomohiko  <tomo.git@chise.org>
624
625         * est-format.el (est-format-unit): Support :subtype property of
626         list node; if subtype `unordered-list' is specified, use <ul> tag.
627         (est-format-list): Likewise.
628
629 2012-09-09  MORIOKA Tomohiko  <tomo.git@chise.org>
630
631         * est-eval.el (est-eval-journal-volume): Use feature `date'
632         instead of `published/date'.
633         (est-eval-value-as-object): Refer feature `=name'.
634         (est-eval-value-as-creators-names): Use `->creator/name' instead
635         of `->name'.
636         (est-eval-value-as-created-works): Use `<-creator' instead of
637         `->created'.
638
639 2012-09-08  MORIOKA Tomohiko  <tomo.git@chise.org>
640
641         * cwiki-common.el: Assign new genres `journal-name@ruimoku',
642         `publisher@ruimoku' and `publisher-name@ruimoku'.
643         (www-feature-value-format): Use `space-separated' instead of
644         `space-separated-char-list' for type `relation'; use
645         `space-separated' as the default format.
646         (est-format-object): Add new optional argument `readable'; if the
647         optional argument `readable' is not nil, use feature-value of
648         `name', `=name' or `title' as object representation format.
649
650         * cwiki-view.el (www-display-object-desc): Run `est-format-object'
651         with `readable' option in header.
652
653 2012-09-06  MORIOKA Tomohiko  <tomo.git@chise.org>
654
655         * est-eval.el (est-eval-journal-volume): Use `year' feature of
656         `published/date' object.
657
658 2012-04-06  MORIOKA Tomohiko  <tomo.git@chise.org>
659
660         * cwiki-common.el (www-uri-decode-feature-name): Use
661         `decode-uri-string'.
662
663 2011-10-12  MORIOKA Tomohiko  <tomo.git@chise.org>
664
665         * cwiki-common.el (www-uri-decode-feature-name): Decode "o.foo" to
666         `=+>foo'.
667         (www-uri-encode-feature-name): Encode `=+>foo' to "o.foo".
668         (www-uri-encode-object): Add `=+>jis-x0208@1978', `=>ucs@iso',
669         `=>ucs@unicode', `=>ucs@jis', `=>ucs@cns' and `=>ucs@ks' to
670         ccs-list.
671         (www-format-encode-string): Support "&o-foo;", "&g2-GT-ddddd;" and
672         "&A-{UU+|U-}hhhh(h)*;".
673
674 2011-06-24  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
675
676         * cwiki-common.el (instance@ruimoku/bibliography/title): Mount
677         char-feature `instance@ruimoku/bibliography/title'.
678
679 2011-06-03  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
680
681         * cwiki-view.el (www-edit-display-feature-input-box):
682         - If argument `value' is a symbol and argument `format' is
683           `wiki-text', treat `value' as a list of a function.
684         - Use `est-format-list' instead of `www-format-value'.
685
686 2011-06-10  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
687
688         * est-eval.el (ruimoku-format-volume): New function.
689         (est-eval-journal-volume): New function.
690         (est-eval-value-as-object): Use `est-eval-journal-volume' for
691         genre `journal-volume@ruimoku'.
692         (est-eval-value-as-creators-names): New function.
693         (est-eval-value-as-created-works): New function.
694         (est-eval-apply-value): Use `est-eval-value-as-creators-names' for
695         `space-separated-creator-name-list'; use
696         `est-eval-value-as-created-works' for
697         `space-separated-created-work-list'.
698
699 2011-06-03  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
700
701         * est-format.el (est-format-unit): Change optional argument
702         `without-tags' to `output-format'; now `output-format' accepts
703         various formats such as 'html, 'plain-text and 'wiki-text instead
704         of nil and non-nil.
705         (est-format-list): Likewise.
706
707 2011-05-30  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
708
709         * est-eval.el (est-eval-value-default): Support `omitted' tag.
710         (est-eval-feature-value): Use `omitted' tag when length of value
711         is more than 128.
712         (est-eval-unit): Support `omitted' tag.
713
714 2010-12-29  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
715
716         * cwiki-view.el: (www-edit-display-feature-input-box): If
717         specified object is a symbol, treat it as a feature object.
718
719 2010-12-11  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
720
721         * est-format.el (est-format-unit): Accept <img>.
722
723 2010-12-11  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
724
725         * cwiki-add.el (www-add-display-feature-input-box): Abolished.
726         (www-add-display-object-desc): New implementation; use
727         `www-edit-display-object-desc'; add new argument `genre'.
728         (www-batch-add): Modify for `www-add-display-object-desc'.
729
730         * cwiki-edit.el: Add declaration to provide module `cwiki-edit'.
731
732 2010-12-10  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
733
734         * cwiki-set.el (www-parse-string-as-space-separated-char-list):
735         Add argument `genre'.
736         (www-feature-parse-string): Likewise.
737         (www-set-display-object-desc):
738         - Support non-character genre objects.
739         - Use `www-display-object-desc'.
740         (www-set-display-feature-desc): Modify for
741         `www-feature-parse-string'.
742         (www-batch-set): Fixed.
743
744         * cwiki-edit.el (www-edit-display-feature-input-box): Moved to
745         cwiki-view.el.
746         (www-edit-display-object-desc): New implementation; use
747         `www-display-object-desc'.
748
749         * cwiki-view.el (www-edit-display-feature-input-box): New function
750         [moved from cwiki-edit.el].     
751         (www-display-object-desc):
752         - Add new optional arguments `uri-feature-name-to-edit' and
753           `editing-format'; it `uri-feature-name-to-edit' is specified,
754           input box is displayed and `editing-format' is used as the
755           format to parse the input.    
756         - Semantics of level 1 was changed to level 0, namely if `level'
757           is 0, display header, otherwise don't display header.
758
759 2010-12-09  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
760
761         * cwiki-edit.el (www-edit-display-object-desc): Support
762         non-character objects.
763         (www-edit-display-feature-desc): Add new optional argument
764         `object-genre'.
765         (www-batch-edit): Fix problem to edit feature of non-character
766         objects.
767
768         * est-format.el (est-format-unit): Fix bug about `feature-name';
769         modify for `www-uri-make-feature-name-url'.
770
771         * est-eval.el (est-eval-unit): Fix bug about `name-url'; modify
772         for `www-uri-make-feature-name-url'.
773
774         * cwiki-common.el (www-uri-make-feature-name-url): Add new
775         argument `uri-genre' to support non-character objects.
776
777         * cwiki-view.el (www-batch-view): Fix problem to edit feature of
778         non-character objects.
779
780         * cwiki-set.el (www-set-display-object-desc): Renamed from
781         `www-set-display-char-desc'; add new argument `genre'; rename
782         optional argument `uri-char' to `uri-object'.
783         (www-set-display-feature-desc): Rename optional argument
784         `uri-char' to `uri-object'.
785         (www-set-display-feature-desc): Likewise.
786         (www-batch-set): Modify for `www-set-display-object-desc'.
787
788 2010-12-08  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
789
790         * cwiki-common.el (chise-wiki-bitmap-glyphs-url): Use
791         http://www.chise.org/glyphs instead of
792         http://chise.zinbun.kyoto-u.ac.jp/glyphs.
793         (chise-wiki-glyph-cgi-url): Use
794         http://www.chise.org/chisewiki/glyph.cgi instead of
795         http://chise.zinbun.kyoto-u.ac.jp/chisewiki/glyph.cgi.
796         (www-uri-make-object-url): New function.
797         (www-format-char-img-style): New variable.
798         (www-format-encode-string):
799         - Add new optional argument `as-body'; if it is specified, "&" is
800         encoded to "&amp;".
801         - Specify style of <img> tags.
802
803         * cwiki-edit.el (www-edit-display-input-box): Abolished because it
804         is not used.
805
806         * cwiki-format.el: New implementation based on `est-eval' and
807         `est-format':
808         (www-format-value-as-kuten): Abolished.
809         (www-format-value-default): Abolished.
810         (www-format-value-as-char-list): Abolished.
811         (www-format-value-as-domain-list): Abolished.
812         (www-format-value-as-ids): Abolished.
813         (www-format-value-as-S-exp): Abolished.
814         (www-format-value-as-HEX): Abolished.
815         (www-format-value-as-kangxi-radical): Abolished.
816         (www-format-value): If `object' is a symbol, it is decoded as
817         `feature' object.
818         (www-format-props-to-string): Abolished.
819         (www-format-apply-value): New implementation; use
820         `est-eval-apply-value' and `est-format-unit'.
821         (www-format-eval-feature-value): Abolished.
822         (www-format-eval-list): New implementation; use `est-eval-list'
823         and `est-format-unit'.
824
825         * est-eval.el, est-format.el: New files.
826
827 2010-12-06  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
828
829         * cwiki-format.el (www-format-value-as-char-list): Use
830         `object-representative-feature' instead of
831         `object-representation-format'; use feature
832         `object-representative-format' of genre object if
833         `object-representative-feature' of genre object or `name' is not
834         existed.
835
836 2010-12-06  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
837
838         * cwiki-format.el (www-format-value-as-CCS-default): Abolished
839         because it is not used.
840         (www-format-value-as-CCS-94x94): Ditto.
841
842 2010-12-06  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
843
844         * cwiki-set.el: Omit to require `cwiki-common'.
845
846         * cwiki-view.el, cwiki-edit.el, cwiki-add.el: Require
847         `cwiki-format' instead of `cwiki-common' and `est-xml'.
848
849         * cwiki-common.el (www-format-value-as-kuten): Moved to
850         cwiki-format.el.
851         (www-format-value-default): Ditto.
852         (www-format-value-as-char-list): Ditto.
853         (www-format-value-as-domain-list): Ditto.
854         (www-format-value-as-ids): Ditto.
855         (www-format-value-as-S-exp): Ditto.
856         (www-format-value-as-HEX): Ditto.
857         (www-format-value-as-CCS-default): Ditto.
858         (www-format-value-as-CCS-94x94): Ditto.
859         (www-format-value-as-kangxi-radical): Ditto.
860         (www-format-value): Ditto.
861         (www-format-props-to-string): Ditto.
862         (www-format-apply-value): Ditto.
863         (www-format-eval-feature-value): Ditto.
864         (www-format-eval-unit): Ditto.
865         (www-format-eval-list): Ditto.
866
867         * cwiki-format.el: New file.
868
869 2010-12-06  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
870
871         * cwiki-view.el, cwiki-edit.el, cwiki-add.el: Require 'est-xml.
872
873         * cwiki-common.el (www-xml-format-props): Moved to est-xml.el.
874         (www-xml-format-unit): Ditto.
875         (www-xml-format-list): Ditto.
876
877         * est-xml.el: New file.
878
879 2010-12-04  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
880
881         * cwiki-common.el: Assign new genre `person-name@ruimoku'.
882
883 2010-11-20  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
884
885         * cwiki-edit.el (www-edit-display-object-desc): Renamed from
886         `www-edit-display-char-desc'; add new argument `genre'.
887         (www-batch-edit): Modify for `www-edit-display-object-desc'.
888
889         * cwiki-common.el (est-object-genre): New function.
890         (www-format-apply-value): Use `est-object-genre' instead of
891         `concord-object-genre'.
892
893 2010-11-18  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
894
895         * cwiki-common.el (www-get-feature-value): Add error-handler for
896         `concord-object-get'.
897         (www-format-value-as-char-list): Refer feature
898         `object-representation-format' instead of `name'.
899         (www-format-apply-value): Modify to edit non-character object.
900
901         * cwiki-view.el (www-display-object-desc): Modify to edit
902         non-character object.
903         (www-display-feature-desc): Add new argument `genre'.
904
905 2010-11-17  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
906
907         * cwiki-common.el: Assign new genre `region@ruimoku'.
908
909 2010-11-16  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
910
911         * cwiki-view.el (www-display-object-desc): Don't display CHISE
912         IDS-Find for non-character object.
913
914         * cwiki-common.el: Modify genres of ruimoku.
915
916 2010-11-15  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
917
918         * cwiki-view.el (www-display-object-desc): Use
919         `www-uri-encode-object' instead of `www-uri-encode-char'.
920         (www-batch-view): Likewise.
921
922         * cwiki-common.el (www-uri-encode-object): Renamed from
923         `www-uri-encode-char'.
924         (www-format-value-as-char-list): Use `www-uri-encode-object'
925         instead of `www-uri-encode-char'.
926         (www-format-value-as-ids): Likewise.
927         (www-format-eval-unit): Likewise.
928
929 2010-11-15  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
930
931         * cwiki-common.el (www-uri-encode-char): Support non-character
932         object.
933         (www-format-value-as-char-list): Add link and readable
934         presentation for non-character object.
935
936 2010-11-14  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
937
938         * cwiki-set.el (www-batch-set): Encode `xemacs-chise-version'.
939
940         * cwiki-add.el (www-batch-add): Encode `xemacs-chise-version'.
941
942         * cwiki-edit.el (www-batch-edit): Encode `xemacs-chise-version'.
943
944         * cwiki-view.el (www-batch-view): Encode (emacs-version).
945
946 2010-11-10  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
947
948         * cwiki-common.el (www-format-apply-value): Rename argument
949         `uri-char' to `uri-object'.
950         (www-format-eval-feature-value): Rename argument `char' and
951         `uri-char' to `object' and `uri-object'.
952         (www-format-eval-unit): Likewise.
953         (www-format-eval-list): Likewise.
954
955 2010-10-14  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
956
957         * cwiki-view.el (www-display-object-desc): New function.
958
959         * cwiki-common.el (est-format-object): New function.
960
961 2010-10-14  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
962
963         * cwiki-common.el (www-get-genre): Abolished.
964         (www-get-feature-value): Don't use `www-get-genre'.
965
966 2010-10-12  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
967
968         * cwiki-common.el:
969         - Set `file-name-coding-system' to 'utf-8-mcs-er.
970         - Add settings to assign genres of Ruimoku.
971         (www-get-feature-value): Modify for non-character genres.
972         (www-uri-decode-object): Use `www-uri-decode-feature-name' for
973         objects of `feature' genre.
974
975         * cwiki-view.el (www-display-object-desc): Fix problem when
976         `object' is not a character.
977         (www-batch-view): Support general genres.
978
979 2010-09-15  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
980
981         * cwiki-common.el (www-get-genre): New function.
982         (www-get-feature-value): Renamed from `www-char-feature'.
983         (www-uri-decode-object): Renamed from `www-uri-decode-char'; add
984         new argument `genre'.
985
986         * cwiki-view.el (www-display-object-desc): Renamed from
987         `www-display-char-desc'; add new argument `genre'.
988
989         * cwiki-add.el (www-add-display-char-desc): Use
990         `www-uri-decode-object' instead of `www-uri-decode-char'.
991
992         * cwiki-set.el (www-parse-string-as-space-separated-char-list):
993         Use `www-uri-decode-object' instead of `www-uri-decode-char'.
994         (www-parse-string-as-space-separated-ids): Likewise.
995         (www-set-display-char-desc): Likewise; use `www-get-feature-value'
996         instead of `www-char-feature'.
997
998         * cwiki-edit.el (www-edit-display-feature-input-box): Use
999         `www-get-feature-value' instead of `www-char-feature'.
1000         (www-edit-display-char-desc): Use `www-uri-decode-object' instead
1001         of `www-uri-decode-char'.
1002
1003 2010-09-13  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
1004
1005         * cwiki-add.el: New file.
1006
1007 2010-04-08  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
1008
1009         * cwiki-view.el (www-display-char-desc): Use
1010         `chise-wiki-displayed-features' instead of `displayed-features'.
1011
1012         * cwiki-common.el (chise-wiki-displayed-features): New variable.
1013         (char-feature-name-at-domain): Fix problem when `domain' is nil.
1014         (char-feature-name-domain): New function.
1015         (www-uri-make-feature-name-url): New function.
1016         (www-format-props-to-string): Fix problem when :len's value is
1017         string.
1018         (www-format-eval-unit):
1019         - When :feature is specified, prefer FEATURE@DOMAIN to FEATURE.
1020         - When :feature is specified in value related format functions,
1021           add the displayed feature-name to
1022           `chise-wiki-displayed-features'.
1023         - Support `name-url' and `domain-name'.
1024
1025 2010-04-07  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
1026
1027         * cwiki-view.el (www-display-feature-desc): Fix problem to display
1028         non-ASCII characters in property `format'.
1029
1030 2010-04-06  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
1031
1032         * cwiki-view.el (www-display-char-desc): Use `www-feature-format'.
1033         (www-display-feature-desc): Ditto.
1034
1035         * cwiki-common.el (www-feature-format): New function.
1036         (www-format-eval-unit): Support `:feature' property for `value'
1037         related functions and `name' function.
1038
1039 2010-04-06  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
1040
1041         * cwiki-common.el (www-feature-value-format): Search ancestors'
1042         property if own property is not found.
1043         (char-feature-name-parent): New function.
1044         (www-format-feature-name*): Search ancestors' property if own
1045         property is not found.
1046
1047 2010-04-05  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
1048
1049         * cwiki-edit.el (www-edit-display-feature-desc): Display and
1050         support editing of property `format'.
1051
1052         * cwiki-common.el (find-previous-defined-code-point): Fix problem
1053         with `=ucs'.
1054
1055         * cwiki-view.el (www-display-feature-desc): Add edit button for
1056         `format'.
1057
1058 2010-04-05  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
1059
1060         * cwiki-common.el (www-feature-value-format): Add
1061         `(prev-char) (next-char)' into default format of CCS feature.
1062         (get-previous-code-point): New function.
1063         (get-next-code-point): New function.
1064         (find-previous-defined-code-point): New function.
1065         (find-next-defined-code-point): New function.
1066         (www-format-eval-unit): Support `prev-char' and `next-char'.
1067
1068 2010-04-05  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
1069
1070         * cwiki-view.el (www-display-char-desc): Don't display "add
1071         feature" button when running with simple mode.
1072
1073 2010-04-05  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
1074
1075         * cwiki-set.el (www-set-display-feature-desc): Refer
1076         `chise-wiki-view-url'.
1077
1078 2010-04-05  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
1079
1080         * cwiki-view.el (www-display-feature-desc): Add new optional
1081         argument `simple'; display "Edit" and "New Account" buttons when
1082         running with simple mode; display "Simple" button when running
1083         with edit mode.
1084         (www-batch-view): Modify for `www-display-feature-desc' to support
1085         mode.
1086
1087 2010-04-05  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
1088
1089         * cwiki-view.el (www-display-char-desc): Use <div> instead of <p>
1090         to display feature in top-level.
1091
1092 2010-04-04  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
1093
1094         * cwiki-set.el (chise-wiki-view-url): Use "view.cgi" instead of
1095         "../view.cgi".
1096
1097         * cwiki-edit.el (chise-wiki-view-url): Use "view.cgi" instead of
1098         "../view.cgi".
1099
1100         * cwiki-view.el (chise-wiki-edit-url): Use "edit.cgi" instead of
1101         "edit/edit.cgi".
1102         (chise-wiki-add-url): Use "add.cgi" instead of "edit/add.cgi".
1103         (www-display-char-desc): Add new optional argument `simple';
1104         display "Edit" and "New Account" buttons when running with simple
1105         mode; display "Simple" button when running with edit mode.
1106         (www-batch-view): Modify to support mode.
1107
1108         * cwiki-common.el (chise-wiki-edit-url): Changed to "edit.cgi".
1109         (www-format-value): Add new optional argument `without-edit';
1110         modify for `www-format-apply-value'.
1111         (www-format-apply-value): Add new optional argument
1112         `without-edit'; modify for `www-format-eval-list'.
1113         (www-format-eval-feature-value): Add new optional arguments
1114         `without-tags' and `without-edit'; modify for
1115         `www-format-apply-value' and `www-format-eval-list'.
1116         (www-format-eval-unit):
1117         - Add new optional arguments `without-tags' and `without-edit';
1118           modify for `www-format-eval-feature-value',
1119           `www-format-apply-value' and `www-format-eval-list'.
1120         - specify 'without-tags and 'without-edit for
1121           `www-format-eval-list' in href part of `link'.
1122         (www-format-eval-list): Add new optional arguments `without-tags'
1123         and `without-edit'; modify for `www-format-eval-unit'.
1124
1125 2010-04-04  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
1126
1127         * cwiki-common.el (www-format-eval-unit): Treat `string' as a
1128         format specifier of feature-value.
1129
1130 2010-04-04  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
1131
1132         * cwiki-common.el (www-format-props-to-string): When `:len' is
1133         specified, treat `:zero-padding' is specified.
1134
1135 2010-04-03  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
1136
1137         * cwiki-common.el (www-uri-encode-char): Use `=ruimoku-v6'.
1138         (www-format-encode-string): Display `=ruimoku-v6' characters.
1139
1140         * cwiki-glyph.el (www-glyph-generate-png): Support `=ruimoku-v6'.
1141         (www-glyph-display-png): Support RUI6-hhhh;
1142
1143 2010-04-02  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
1144
1145         * cwiki-common.el (www-uri-encode-char): Accept `=>zinbun-oracle'.
1146         (www-format-encode-string):
1147         - Display &A-ZOB-dddd;.
1148         - Support `ideographic-combination'(合文) and
1149           `ideographic-structure'.
1150
1151 2010-04-01  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
1152
1153         * cwiki-view.el (www-batch-view): Accept
1154         "?char=&ENTITY-REFERENCE;".
1155
1156 2010-03-31  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
1157
1158         * cwiki-view.el (www-display-char-desc): Use
1159         `char-feature-name-sans-versions' to avoid domain `$rev=latest'
1160         when sort feature-names.
1161
1162 2010-03-29  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
1163
1164         * cwiki-common.el (www-format-value-as-domain-list): New function.
1165         (www-format-apply-value): Support `space-separated-domain-list'.
1166         (char-GlyphWiki-id): Try to avoid uHHHH-{u|us}.
1167
1168 2010-03-29  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
1169
1170         * cwiki-common.el (coded-charset-GlyphWiki-id-alist): Add setting
1171         for `=ucs@jis', `=jis-x0208@1978/-4pr' and `=jis-x0208@1978'.
1172         (char-GlyphWiki-id): Use `char-feature' instead of `encode-char'.
1173
1174 2010-03-29  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
1175
1176         * cwiki-view.el (www-display-char-desc): Add input form for CHISE
1177         IDS-Find.
1178
1179 2010-03-29  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
1180
1181         * cwiki-view.el (www-display-char-desc): Try to display glyph of
1182         GlyphWiki and link it.
1183
1184         * cwiki-common.el (coded-charset-GlyphWiki-id-alist): New
1185         variable.
1186         (char-GlyphWiki-id): New function.
1187
1188 2010-03-28  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
1189
1190         * cwiki-set.el (www-parse-string-as-kangxi-radical): New function.
1191         (www-feature-parse-string): Support format `kangxi-radical'.
1192
1193         * cwiki-common.el (www-format-value-as-kangxi-radical): New
1194         function.
1195         (www-format-apply-value): Support format `kangxi-radical'.
1196         (www-format-eval-unit): Support `kangxi-radical' as a value
1197         format.
1198
1199 2010-03-20  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
1200
1201         * cwiki-common.el (www-format-value-default): New function.
1202         (www-format-encode-string):
1203         - Prefer `=gt' to `=cns11643-{1..7}'.
1204         - Display &(G-)GT-Kddddd; entity references.
1205         (www-format-apply-value):
1206         - New implementation for format `string'.
1207         - Use `www-format-value-default' for default format.
1208
1209         * cwiki-glyph.el (www-glyph-generate-png): Support `=gt-k'.
1210         (www-glyph-display-png): Support GT-Kddddd.
1211
1212         * cwiki-set.el (www-parse-string-default): New implementation.
1213         (www-set-display-feature-desc):
1214         - New argument `format'.
1215         - Display `value-format'.
1216         (www-batch-set): Modify for the API change to set feature's
1217         property.
1218
1219         * cwiki-view.el (www-display-char-desc): Display parents in the
1220         header.
1221         (www-display-feature-desc): Use `www-format-value' with default
1222         format instead of `www-xml-format-list' and
1223         `www-format-encode-string'.
1224
1225         * cwiki-edit.el (www-edit-display-feature-input-box): Add new
1226         optional argument `value'.
1227         (www-edit-display-feature-desc):
1228         - Use `www-edit-display-feature-input-box' instead of
1229           `www-edit-display-input-box'.
1230         - Display `value-format'.
1231
1232 2010-03-19  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
1233
1234         * cwiki-view.el (www-display-feature-desc): Display [edit] button
1235         of `value-format'.
1236
1237 2010-03-19  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
1238
1239         * cwiki-common.el (www-xml-format-unit): Escape `&'.
1240
1241 2010-03-19  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
1242
1243         * cwiki-common.el (www-format-encode-string): Display
1244         &U-hhhhhhhh;.
1245         (www-xml-format-props): Encode property value.
1246         (www-xml-format-unit): Encode string.
1247
1248         * cwiki-edit.el (www-edit-display-feature-input-box): Escape <">.
1249
1250         * cwiki-view.el (www-display-feature-desc): Modify design of
1251         [edit] button.
1252
1253 2010-03-18  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
1254
1255         * cwiki-set.el (www-xml-to-stext-unit): Support
1256         <link><ref>...</ref>...</link>.
1257
1258         * cwiki-common.el (www-xml-format-unit): Support tag style `ref'
1259         in `link'.
1260
1261         * cwiki-view.el (www-display-feature-desc): Display `value-format'
1262         and `format'.
1263
1264 2010-03-18  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
1265
1266         * cwiki-common.el (www-format-feature-name-as-metadata): New
1267         function.
1268         (www-format-feature-name*): Use
1269         `www-format-feature-name-as-metadata' for metadata features.
1270
1271 2010-03-18  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
1272
1273         * cwiki-set.el (www-xml-parse-string): New function.
1274         (www-xml-to-stext-props): New function.
1275         (www-xml-to-stext-unit): New function.
1276         (www-xml-to-stext-list): New function.
1277         (www-stext-parse-xml-string): New function.
1278         (www-parse-string-as-wiki-text): Use `www-stext-parse-xml-string'.
1279
1280         * cwiki-edit.el (www-edit-display-char-feature-default): Abolish.
1281         (www-edit-display-char-feature-as-ucs): Abolish.
1282         (www-edit-display-input-box): Add the first argument `object';
1283         modify for `www-format-apply-value'.
1284         (www-edit-display-feature-input-box): Modify input boxes; modify
1285         for `www-format-value'.
1286         (www-edit-display-feature-desc): Modify for
1287         `www-edit-display-input-box'.
1288
1289         * cwiki-common.el (www-format-value): Add the first argument
1290         `object' and the second argument `feature-name'; change argument
1291         `variable' to be optional; modify for `www-format-apply-value'.
1292         (www-format-apply-value): Add the first argument `object' and the
1293         second argument `feature-name'; support format `wiki-text'.
1294         (www-format-eval-feature-value): Modify for
1295         `www-format-apply-value'.
1296         (www-format-eval-unit): Likewise.
1297         (www-xml-format-props): New function.
1298         (www-xml-format-unit): New function.
1299         (www-xml-format-list): New function.
1300
1301 2010-03-18  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
1302
1303         * cwiki-set.el (www-set-display-char-desc):
1304         - Setup property `additional-features' of feature `$object' when
1305           feature value is stored.
1306         - Mount additional-features.
1307
1308         * cwiki-view.el (www-char-display-feature-default): Abolished.
1309         (www-char-display-feature-as-ucs): Abolished.
1310         (www-display-char-desc): Mount additional-features.
1311
1312         * cwiki-common.el (www-feature-type): Support `*node' and
1313         `*sources'.
1314         (www-feature-value-format): Return `wiki-text' for type `stext'.
1315         (www-format-apply-value): Don't set `default' even if a format is
1316         not supported in this function.
1317
1318 2010-03-18  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
1319
1320         * cwiki-set.el (www-parse-string-as-wiki-text): New function
1321         [currently just a stub].
1322         (www-feature-parse-string): Use `www-parse-string-as-wiki-text'.
1323         (www-set-display-char-desc): Use
1324         `char-feature-name-sans-versions'.
1325
1326         * cwiki-edit.el (www-edit-display-feature-input-box): New
1327         function.
1328         (www-edit-display-char-desc): Use
1329         `www-edit-display-feature-input-box'.
1330
1331         * cwiki-view.el (www-display-char-desc): Use
1332         `char-feature-name-sans-versions'.
1333
1334         * cwiki-common.el (char-feature-name-sans-versions): New function.
1335
1336 2010-03-18  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
1337
1338         * cwiki-set.el (www-set-display-char-desc): Store new value into
1339         FEATURE@$rev=latest; don't display `$rev=latest' domain features.
1340
1341         * cwiki-edit.el (www-edit-display-char-feature-default): Use
1342         `www-char-feature' instead of `char-feature'.
1343         (www-edit-display-char-feature-as-ucs): Likewise.
1344         (www-edit-display-char-desc): Likewise; replace value of char-spec
1345         with value of `www-char-feature'.
1346
1347         * cwiki-view.el (www-char-display-feature-default): Use
1348         `www-char-feature' instead of `char-feature'.
1349         (www-char-display-feature-as-ucs): Likewise.
1350         (www-display-char-desc): Ignore `$rev=latest' domain features.
1351
1352         * cwiki-common.el (char-feature-name-at-domain): New function.
1353         (www-char-feature): New function.
1354         (www-format-encode-string): Use `www-char-feature' instead of
1355         `char-feature'.
1356         (www-format-eval-feature-value): Likewise.
1357         (www-format-eval-unit): Likewise.
1358
1359 2010-03-18  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
1360
1361         * cwiki-set.el (www-parse-string-default): New function.
1362         (www-feature-parse-string):
1363         - Support new format `string'.
1364         - Use `www-parse-string-default' for `default'.
1365
1366 2010-03-18  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
1367
1368         * cwiki-common.el (chise-wiki-glyph-cgi-url): New variable.
1369         (www-uri-encode-char): Support `=>>gt'.
1370         (www-format-encode-string):
1371         - Use GT, Big5 and Big5-CDP fonts.
1372         - Use http://www.unicode.org/cgi-bin/refglyph?24-hhhh to display
1373           `=ucs@unicode' glyphs.
1374         - Display &MCS-hhhhhhhh; with using child's glyph.
1375
1376         * cwiki-glyph.el: New file.
1377
1378 2010-03-18  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
1379
1380         * cwiki-common.el (chise-wiki-bitmap-glyphs-url): Renamed from
1381         `chise-wiki-glyphs-url'.
1382         (www-format-encode-string):
1383         - Use `chise-wiki-bitmap-glyphs-url' instead of
1384           `chise-wiki-glyphs-url'.
1385         - Display &JC3-hhhh; and &ZOB-dddd;.
1386
1387 2010-03-17  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
1388
1389         * cwiki-edit.el (www-edit-display-feature-desc): Use
1390         `www-format-feature-name*' instead of `www-format-feature-name'.
1391
1392         * cwiki-common.el (www-uri-decode-char):
1393         - Accept `:' again.
1394         - Prefer `=>jis-x0208' and `=>jis-x0213-1' to `=big5' and
1395           `=big5-cdp'.
1396         - Fix problem when no CCSes are found.
1397         (www-format-feature-name*): New function.
1398         (www-format-feature-name): Use `www-format-feature-name*'.
1399
1400 2010-03-17  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
1401
1402         * cwiki-set.el (www-parse-string-as-space-separated-char-list):
1403         Expect `string' to be encoded as URI.
1404         (www-parse-string-as-space-separated-ids): Likewise.
1405         (www-feature-parse-string): Likewise.
1406         (www-set-display-char-desc): Expect `uri-char' to be encoded as
1407         URI.
1408         (www-set-display-feature-desc): Fix problem when `name@lang' is
1409         not existed.
1410         (www-batch-set): Don't use `decode-uri-string' for value of `char'
1411         and feature-value.
1412
1413         * cwiki-edit.el (www-edit-display-char-desc): Expect `uri-char' to
1414         be encoded as URI.
1415         (www-batch-edit): Don't use `decode-uri-string' for value of
1416         `char'.
1417
1418         * cwiki-view.el (www-display-char-desc): Expect `uri-char' to be
1419         encoded as URI; encode `uri-char' if it is a non-encoded
1420         character.
1421         (www-batch-view): Don't use `decode-uri-string' for value of
1422         `char'.
1423
1424         * cwiki-common.el (www-uri-decode-char): Expect char-rep to be
1425         encoded as URI.
1426         (www-uri-encode-char): Encode UCS characters as %XX encoding.
1427         (www-format-feature-name-as-CCS): Insert space between
1428         prefix (..., ===>, ==>, =>, =>>, =>>>, ..., =) and main-name.
1429         (www-html-display-text): Don't escape "&" except "&GT-".
1430
1431 2010-03-16  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
1432
1433         * cwiki-set.el (www-parse-string-as-space-separated-ids): New
1434         function.
1435         (www-parse-string-as-ku-ten): New function.
1436         (www-feature-parse-string): Support `space-separated-ids' and
1437         `ku-ten'.
1438
1439 2010-03-16  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
1440
1441         * cwiki-common.el (www-feature-value-format): Return
1442         'space-separated-ids for `structure' type features.
1443         (www-format-value-as-ids): New function.
1444         (www-format-apply-value): Use `www-format-value-as-ids' for format
1445         `space-separated-ids'.
1446
1447 2010-03-03  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
1448
1449         * cwiki-common.el, cwiki-edit.el, cwiki-set.el, cwiki-view.el: New
1450         files.