1 2011-05-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3 * est-eval.el (est-eval-value-default): Support `omitted' tag.
4 (est-eval-feature-value): Use `omitted' tag when length of value
6 (est-eval-unit): Support `omitted' tag.
8 2010-12-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
10 * cwiki-view.el: (www-edit-display-feature-input-box): If
11 specified object is a symbol, treat it as a feature object.
13 2010-12-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
15 * est-format.el (est-format-unit): Accept <img>.
17 2010-12-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
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'.
24 * cwiki-edit.el: Add declaration to provide module `cwiki-edit'.
26 2010-12-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
28 * cwiki-set.el (www-parse-string-as-space-separated-char-list):
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.
38 * cwiki-edit.el (www-edit-display-feature-input-box): Moved to
40 (www-edit-display-object-desc): New implementation; use
41 `www-display-object-desc'.
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.
53 2010-12-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
55 * cwiki-edit.el (www-edit-display-object-desc): Support
56 non-character objects.
57 (www-edit-display-feature-desc): Add new optional argument
59 (www-batch-edit): Fix problem to edit feature of non-character
62 * est-format.el (est-format-unit): Fix bug about `feature-name';
63 modify for `www-uri-make-feature-name-url'.
65 * est-eval.el (est-eval-unit): Fix bug about `name-url'; modify
66 for `www-uri-make-feature-name-url'.
68 * cwiki-common.el (www-uri-make-feature-name-url): Add new
69 argument `uri-genre' to support non-character objects.
71 * cwiki-view.el (www-batch-view): Fix problem to edit feature of
72 non-character objects.
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'.
82 2010-12-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
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
95 - Specify style of <img> tags.
97 * cwiki-edit.el (www-edit-display-input-box): Abolished because it
100 * cwiki-format.el: New implementation based on `est-eval' and
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
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'.
119 * est-eval.el, est-format.el: New files.
121 2010-12-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
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
130 2010-12-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
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.
136 2010-12-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
138 * cwiki-set.el: Omit to require `cwiki-common'.
140 * cwiki-view.el, cwiki-edit.el, cwiki-add.el: Require
141 `cwiki-format' instead of `cwiki-common' and `est-xml'.
143 * cwiki-common.el (www-format-value-as-kuten): Moved to
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.
161 * cwiki-format.el: New file.
163 2010-12-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
165 * cwiki-view.el, cwiki-edit.el, cwiki-add.el: Require 'est-xml.
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.
171 * est-xml.el: New file.
173 2010-12-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
175 * cwiki-common.el: Assign new genre `person-name@ruimoku'.
177 2010-11-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
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'.
183 * cwiki-common.el (est-object-genre): New function.
184 (www-format-apply-value): Use `est-object-genre' instead of
185 `concord-object-genre'.
187 2010-11-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
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.
195 * cwiki-view.el (www-display-object-desc): Modify to edit
196 non-character object.
197 (www-display-feature-desc): Add new argument `genre'.
199 2010-11-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
201 * cwiki-common.el: Assign new genre `region@ruimoku'.
203 2010-11-16 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
205 * cwiki-view.el (www-display-object-desc): Don't display CHISE
206 IDS-Find for non-character object.
208 * cwiki-common.el: Modify genres of ruimoku.
210 2010-11-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
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.
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.
223 2010-11-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
225 * cwiki-common.el (www-uri-encode-char): Support non-character
227 (www-format-value-as-char-list): Add link and readable
228 presentation for non-character object.
230 2010-11-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
232 * cwiki-set.el (www-batch-set): Encode `xemacs-chise-version'.
234 * cwiki-add.el (www-batch-add): Encode `xemacs-chise-version'.
236 * cwiki-edit.el (www-batch-edit): Encode `xemacs-chise-version'.
238 * cwiki-view.el (www-batch-view): Encode (emacs-version).
240 2010-11-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
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.
249 2010-10-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
251 * cwiki-view.el (www-display-object-desc): New function.
253 * cwiki-common.el (est-format-object): New function.
255 2010-10-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
257 * cwiki-common.el (www-get-genre): Abolished.
258 (www-get-feature-value): Don't use `www-get-genre'.
260 2010-10-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
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.
269 * cwiki-view.el (www-display-object-desc): Fix problem when
270 `object' is not a character.
271 (www-batch-view): Support general genres.
273 2010-09-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
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'.
280 * cwiki-view.el (www-display-object-desc): Renamed from
281 `www-display-char-desc'; add new argument `genre'.
283 * cwiki-add.el (www-add-display-char-desc): Use
284 `www-uri-decode-object' instead of `www-uri-decode-char'.
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'.
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'.
297 2010-09-13 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
299 * cwiki-add.el: New file.
301 2010-04-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
303 * cwiki-view.el (www-display-char-desc): Use
304 `chise-wiki-displayed-features' instead of `displayed-features'.
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
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'.
319 2010-04-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
321 * cwiki-view.el (www-display-feature-desc): Fix problem to display
322 non-ASCII characters in property `format'.
324 2010-04-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
326 * cwiki-view.el (www-display-char-desc): Use `www-feature-format'.
327 (www-display-feature-desc): Ditto.
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.
333 2010-04-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
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.
341 2010-04-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
343 * cwiki-edit.el (www-edit-display-feature-desc): Display and
344 support editing of property `format'.
346 * cwiki-common.el (find-previous-defined-code-point): Fix problem
349 * cwiki-view.el (www-display-feature-desc): Add edit button for
352 2010-04-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
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'.
362 2010-04-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
364 * cwiki-view.el (www-display-char-desc): Don't display "add
365 feature" button when running with simple mode.
367 2010-04-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
369 * cwiki-set.el (www-set-display-feature-desc): Refer
370 `chise-wiki-view-url'.
372 2010-04-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
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
378 (www-batch-view): Modify for `www-display-feature-desc' to support
381 2010-04-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
383 * cwiki-view.el (www-display-char-desc): Use <div> instead of <p>
384 to display feature in top-level.
386 2010-04-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
388 * cwiki-set.el (chise-wiki-view-url): Use "view.cgi" instead of
391 * cwiki-edit.el (chise-wiki-view-url): Use "view.cgi" instead of
394 * cwiki-view.el (chise-wiki-edit-url): Use "edit.cgi" instead of
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.
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'.
419 2010-04-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
421 * cwiki-common.el (www-format-eval-unit): Treat `string' as a
422 format specifier of feature-value.
424 2010-04-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
426 * cwiki-common.el (www-format-props-to-string): When `:len' is
427 specified, treat `:zero-padding' is specified.
429 2010-04-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
431 * cwiki-common.el (www-uri-encode-char): Use `=ruimoku-v6'.
432 (www-format-encode-string): Display `=ruimoku-v6' characters.
434 * cwiki-glyph.el (www-glyph-generate-png): Support `=ruimoku-v6'.
435 (www-glyph-display-png): Support RUI6-hhhh;
437 2010-04-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
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'.
445 2010-04-01 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
447 * cwiki-view.el (www-batch-view): Accept
448 "?char=&ENTITY-REFERENCE;".
450 2010-03-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
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.
456 2010-03-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
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}.
462 2010-03-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
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'.
468 2010-03-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
470 * cwiki-view.el (www-display-char-desc): Add input form for CHISE
473 2010-03-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
475 * cwiki-view.el (www-display-char-desc): Try to display glyph of
476 GlyphWiki and link it.
478 * cwiki-common.el (coded-charset-GlyphWiki-id-alist): New
480 (char-GlyphWiki-id): New function.
482 2010-03-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
484 * cwiki-set.el (www-parse-string-as-kangxi-radical): New function.
485 (www-feature-parse-string): Support format `kangxi-radical'.
487 * cwiki-common.el (www-format-value-as-kangxi-radical): New
489 (www-format-apply-value): Support format `kangxi-radical'.
490 (www-format-eval-unit): Support `kangxi-radical' as a value
493 2010-03-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
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.
503 * cwiki-glyph.el (www-glyph-generate-png): Support `=gt-k'.
504 (www-glyph-display-png): Support GT-Kddddd.
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
513 * cwiki-view.el (www-display-char-desc): Display parents in the
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'.
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'.
526 2010-03-19 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
528 * cwiki-view.el (www-display-feature-desc): Display [edit] button
531 2010-03-19 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
533 * cwiki-common.el (www-xml-format-unit): Escape `&'.
535 2010-03-19 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
537 * cwiki-common.el (www-format-encode-string): Display
539 (www-xml-format-props): Encode property value.
540 (www-xml-format-unit): Encode string.
542 * cwiki-edit.el (www-edit-display-feature-input-box): Escape <">.
544 * cwiki-view.el (www-display-feature-desc): Modify design of
547 2010-03-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
549 * cwiki-set.el (www-xml-to-stext-unit): Support
550 <link><ref>...</ref>...</link>.
552 * cwiki-common.el (www-xml-format-unit): Support tag style `ref'
555 * cwiki-view.el (www-display-feature-desc): Display `value-format'
558 2010-03-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
560 * cwiki-common.el (www-format-feature-name-as-metadata): New
562 (www-format-feature-name*): Use
563 `www-format-feature-name-as-metadata' for metadata features.
565 2010-03-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
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'.
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'.
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.
595 2010-03-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
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.
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.
606 * cwiki-common.el (www-feature-type): Support `*node' and
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.
612 2010-03-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
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'.
620 * cwiki-edit.el (www-edit-display-feature-input-box): New
622 (www-edit-display-char-desc): Use
623 `www-edit-display-feature-input-box'.
625 * cwiki-view.el (www-display-char-desc): Use
626 `char-feature-name-sans-versions'.
628 * cwiki-common.el (char-feature-name-sans-versions): New function.
630 2010-03-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
632 * cwiki-set.el (www-set-display-char-desc): Store new value into
633 FEATURE@$rev=latest; don't display `$rev=latest' domain features.
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'.
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.
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
650 (www-format-eval-feature-value): Likewise.
651 (www-format-eval-unit): Likewise.
653 2010-03-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
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'.
660 2010-03-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
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.
670 * cwiki-glyph.el: New file.
672 2010-03-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
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;.
681 2010-03-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
683 * cwiki-edit.el (www-edit-display-feature-desc): Use
684 `www-format-feature-name*' instead of `www-format-feature-name'.
686 * cwiki-common.el (www-uri-decode-char):
688 - Prefer `=>jis-x0208' and `=>jis-x0213-1' to `=big5' and
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*'.
694 2010-03-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
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
702 (www-set-display-feature-desc): Fix problem when `name@lang' is
704 (www-batch-set): Don't use `decode-uri-string' for value of `char'
707 * cwiki-edit.el (www-edit-display-char-desc): Expect `uri-char' to
709 (www-batch-edit): Don't use `decode-uri-string' for value of
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
715 (www-batch-view): Don't use `decode-uri-string' for value of
718 * cwiki-common.el (www-uri-decode-char): Expect char-rep to be
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 ">-".
725 2010-03-16 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
727 * cwiki-set.el (www-parse-string-as-space-separated-ids): New
729 (www-parse-string-as-ku-ten): New function.
730 (www-feature-parse-string): Support `space-separated-ids' and
733 2010-03-16 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
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'.
741 2010-03-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
743 * cwiki-common.el, cwiki-edit.el, cwiki-set.el, cwiki-view.el: New