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