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