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