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