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