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