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