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