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