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