1 2010-12-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3 * cwiki-set.el (www-parse-string-as-space-separated-char-list):
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.
13 * cwiki-edit.el (www-edit-display-feature-input-box): Moved to
15 (www-edit-display-object-desc): New implementation; use
16 `www-display-object-desc'.
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.
28 2010-12-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
30 * cwiki-edit.el (www-edit-display-object-desc): Support
31 non-character objects.
32 (www-edit-display-feature-desc): Add new optional argument
34 (www-batch-edit): Fix problem to edit feature of non-character
37 * est-format.el (est-format-unit): Fix bug about `feature-name';
38 modify for `www-uri-make-feature-name-url'.
40 * est-eval.el (est-eval-unit): Fix bug about `name-url'; modify
41 for `www-uri-make-feature-name-url'.
43 * cwiki-common.el (www-uri-make-feature-name-url): Add new
44 argument `uri-genre' to support non-character objects.
46 * cwiki-view.el (www-batch-view): Fix problem to edit feature of
47 non-character objects.
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'.
57 2010-12-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
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
70 - Specify style of <img> tags.
72 * cwiki-edit.el (www-edit-display-input-box): Abolished because it
75 * cwiki-format.el: New implementation based on `est-eval' and
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
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'.
94 * est-eval.el, est-format.el: New files.
96 2010-12-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
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
105 2010-12-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
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.
111 2010-12-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
113 * cwiki-set.el: Omit to require `cwiki-common'.
115 * cwiki-view.el, cwiki-edit.el, cwiki-add.el: Require
116 `cwiki-format' instead of `cwiki-common' and `est-xml'.
118 * cwiki-common.el (www-format-value-as-kuten): Moved to
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.
136 * cwiki-format.el: New file.
138 2010-12-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
140 * cwiki-view.el, cwiki-edit.el, cwiki-add.el: Require 'est-xml.
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.
146 * est-xml.el: New file.
148 2010-12-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
150 * cwiki-common.el: Assign new genre `person-name@ruimoku'.
152 2010-11-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
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'.
158 * cwiki-common.el (est-object-genre): New function.
159 (www-format-apply-value): Use `est-object-genre' instead of
160 `concord-object-genre'.
162 2010-11-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
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.
170 * cwiki-view.el (www-display-object-desc): Modify to edit
171 non-character object.
172 (www-display-feature-desc): Add new argument `genre'.
174 2010-11-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
176 * cwiki-common.el: Assign new genre `region@ruimoku'.
178 2010-11-16 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
180 * cwiki-view.el (www-display-object-desc): Don't display CHISE
181 IDS-Find for non-character object.
183 * cwiki-common.el: Modify genres of ruimoku.
185 2010-11-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
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.
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.
198 2010-11-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
200 * cwiki-common.el (www-uri-encode-char): Support non-character
202 (www-format-value-as-char-list): Add link and readable
203 presentation for non-character object.
205 2010-11-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
207 * cwiki-set.el (www-batch-set): Encode `xemacs-chise-version'.
209 * cwiki-add.el (www-batch-add): Encode `xemacs-chise-version'.
211 * cwiki-edit.el (www-batch-edit): Encode `xemacs-chise-version'.
213 * cwiki-view.el (www-batch-view): Encode (emacs-version).
215 2010-11-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
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.
224 2010-10-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
226 * cwiki-view.el (www-display-object-desc): New function.
228 * cwiki-common.el (est-format-object): New function.
230 2010-10-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
232 * cwiki-common.el (www-get-genre): Abolished.
233 (www-get-feature-value): Don't use `www-get-genre'.
235 2010-10-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
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.
244 * cwiki-view.el (www-display-object-desc): Fix problem when
245 `object' is not a character.
246 (www-batch-view): Support general genres.
248 2010-09-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
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'.
255 * cwiki-view.el (www-display-object-desc): Renamed from
256 `www-display-char-desc'; add new argument `genre'.
258 * cwiki-add.el (www-add-display-char-desc): Use
259 `www-uri-decode-object' instead of `www-uri-decode-char'.
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'.
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'.
272 2010-09-13 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
274 * cwiki-add.el: New file.
276 2010-04-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
278 * cwiki-view.el (www-display-char-desc): Use
279 `chise-wiki-displayed-features' instead of `displayed-features'.
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
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'.
294 2010-04-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
296 * cwiki-view.el (www-display-feature-desc): Fix problem to display
297 non-ASCII characters in property `format'.
299 2010-04-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
301 * cwiki-view.el (www-display-char-desc): Use `www-feature-format'.
302 (www-display-feature-desc): Ditto.
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.
308 2010-04-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
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.
316 2010-04-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
318 * cwiki-edit.el (www-edit-display-feature-desc): Display and
319 support editing of property `format'.
321 * cwiki-common.el (find-previous-defined-code-point): Fix problem
324 * cwiki-view.el (www-display-feature-desc): Add edit button for
327 2010-04-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
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'.
337 2010-04-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
339 * cwiki-view.el (www-display-char-desc): Don't display "add
340 feature" button when running with simple mode.
342 2010-04-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
344 * cwiki-set.el (www-set-display-feature-desc): Refer
345 `chise-wiki-view-url'.
347 2010-04-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
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
353 (www-batch-view): Modify for `www-display-feature-desc' to support
356 2010-04-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
358 * cwiki-view.el (www-display-char-desc): Use <div> instead of <p>
359 to display feature in top-level.
361 2010-04-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
363 * cwiki-set.el (chise-wiki-view-url): Use "view.cgi" instead of
366 * cwiki-edit.el (chise-wiki-view-url): Use "view.cgi" instead of
369 * cwiki-view.el (chise-wiki-edit-url): Use "edit.cgi" instead of
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.
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'.
394 2010-04-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
396 * cwiki-common.el (www-format-eval-unit): Treat `string' as a
397 format specifier of feature-value.
399 2010-04-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
401 * cwiki-common.el (www-format-props-to-string): When `:len' is
402 specified, treat `:zero-padding' is specified.
404 2010-04-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
406 * cwiki-common.el (www-uri-encode-char): Use `=ruimoku-v6'.
407 (www-format-encode-string): Display `=ruimoku-v6' characters.
409 * cwiki-glyph.el (www-glyph-generate-png): Support `=ruimoku-v6'.
410 (www-glyph-display-png): Support RUI6-hhhh;
412 2010-04-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
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'.
420 2010-04-01 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
422 * cwiki-view.el (www-batch-view): Accept
423 "?char=&ENTITY-REFERENCE;".
425 2010-03-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
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.
431 2010-03-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
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}.
437 2010-03-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
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'.
443 2010-03-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
445 * cwiki-view.el (www-display-char-desc): Add input form for CHISE
448 2010-03-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
450 * cwiki-view.el (www-display-char-desc): Try to display glyph of
451 GlyphWiki and link it.
453 * cwiki-common.el (coded-charset-GlyphWiki-id-alist): New
455 (char-GlyphWiki-id): New function.
457 2010-03-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
459 * cwiki-set.el (www-parse-string-as-kangxi-radical): New function.
460 (www-feature-parse-string): Support format `kangxi-radical'.
462 * cwiki-common.el (www-format-value-as-kangxi-radical): New
464 (www-format-apply-value): Support format `kangxi-radical'.
465 (www-format-eval-unit): Support `kangxi-radical' as a value
468 2010-03-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
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.
478 * cwiki-glyph.el (www-glyph-generate-png): Support `=gt-k'.
479 (www-glyph-display-png): Support GT-Kddddd.
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
488 * cwiki-view.el (www-display-char-desc): Display parents in the
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'.
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'.
501 2010-03-19 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
503 * cwiki-view.el (www-display-feature-desc): Display [edit] button
506 2010-03-19 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
508 * cwiki-common.el (www-xml-format-unit): Escape `&'.
510 2010-03-19 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
512 * cwiki-common.el (www-format-encode-string): Display
514 (www-xml-format-props): Encode property value.
515 (www-xml-format-unit): Encode string.
517 * cwiki-edit.el (www-edit-display-feature-input-box): Escape <">.
519 * cwiki-view.el (www-display-feature-desc): Modify design of
522 2010-03-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
524 * cwiki-set.el (www-xml-to-stext-unit): Support
525 <link><ref>...</ref>...</link>.
527 * cwiki-common.el (www-xml-format-unit): Support tag style `ref'
530 * cwiki-view.el (www-display-feature-desc): Display `value-format'
533 2010-03-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
535 * cwiki-common.el (www-format-feature-name-as-metadata): New
537 (www-format-feature-name*): Use
538 `www-format-feature-name-as-metadata' for metadata features.
540 2010-03-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
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'.
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'.
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.
570 2010-03-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
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.
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.
581 * cwiki-common.el (www-feature-type): Support `*node' and
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.
587 2010-03-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
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'.
595 * cwiki-edit.el (www-edit-display-feature-input-box): New
597 (www-edit-display-char-desc): Use
598 `www-edit-display-feature-input-box'.
600 * cwiki-view.el (www-display-char-desc): Use
601 `char-feature-name-sans-versions'.
603 * cwiki-common.el (char-feature-name-sans-versions): New function.
605 2010-03-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
607 * cwiki-set.el (www-set-display-char-desc): Store new value into
608 FEATURE@$rev=latest; don't display `$rev=latest' domain features.
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'.
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.
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
625 (www-format-eval-feature-value): Likewise.
626 (www-format-eval-unit): Likewise.
628 2010-03-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
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'.
635 2010-03-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
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.
645 * cwiki-glyph.el: New file.
647 2010-03-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
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;.
656 2010-03-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
658 * cwiki-edit.el (www-edit-display-feature-desc): Use
659 `www-format-feature-name*' instead of `www-format-feature-name'.
661 * cwiki-common.el (www-uri-decode-char):
663 - Prefer `=>jis-x0208' and `=>jis-x0213-1' to `=big5' and
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*'.
669 2010-03-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
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
677 (www-set-display-feature-desc): Fix problem when `name@lang' is
679 (www-batch-set): Don't use `decode-uri-string' for value of `char'
682 * cwiki-edit.el (www-edit-display-char-desc): Expect `uri-char' to
684 (www-batch-edit): Don't use `decode-uri-string' for value of
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
690 (www-batch-view): Don't use `decode-uri-string' for value of
693 * cwiki-common.el (www-uri-decode-char): Expect char-rep to be
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 ">-".
700 2010-03-16 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
702 * cwiki-set.el (www-parse-string-as-space-separated-ids): New
704 (www-parse-string-as-ku-ten): New function.
705 (www-feature-parse-string): Support `space-separated-ids' and
708 2010-03-16 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
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'.
716 2010-03-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
718 * cwiki-common.el, cwiki-edit.el, cwiki-set.el, cwiki-view.el: New