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