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