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