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