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