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