1 2011-06-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3 * est-eval.el (ruimoku-format-volume): New function.
4 (est-eval-journal-volume): New function.
5 (est-eval-value-as-object): Use `est-eval-journal-volume' for
6 genre `journal-volume@ruimoku'.
7 (est-eval-value-as-creators-names): New function.
8 (est-eval-value-as-created-works): New function.
9 (est-eval-apply-value): Use `est-eval-value-as-creators-names' for
10 `space-separated-creator-name-list'; use
11 `est-eval-value-as-created-works' for
12 `space-separated-created-work-list'.
14 2011-06-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
16 * est-format.el (est-format-unit): Change optional argument
17 `without-tags' to `output-format'; now `output-format' accepts
18 various formats such as 'html, 'plain-text and 'wiki-text instead
20 (est-format-list): Likewise.
22 2011-05-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
24 * est-eval.el (est-eval-value-default): Support `omitted' tag.
25 (est-eval-feature-value): Use `omitted' tag when length of value
27 (est-eval-unit): Support `omitted' tag.
29 2010-12-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
31 * cwiki-view.el: (www-edit-display-feature-input-box): If
32 specified object is a symbol, treat it as a feature object.
34 2010-12-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
36 * est-format.el (est-format-unit): Accept <img>.
38 2010-12-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
40 * cwiki-add.el (www-add-display-feature-input-box): Abolished.
41 (www-add-display-object-desc): New implementation; use
42 `www-edit-display-object-desc'; add new argument `genre'.
43 (www-batch-add): Modify for `www-add-display-object-desc'.
45 * cwiki-edit.el: Add declaration to provide module `cwiki-edit'.
47 2010-12-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
49 * cwiki-set.el (www-parse-string-as-space-separated-char-list):
51 (www-feature-parse-string): Likewise.
52 (www-set-display-object-desc):
53 - Support non-character genre objects.
54 - Use `www-display-object-desc'.
55 (www-set-display-feature-desc): Modify for
56 `www-feature-parse-string'.
57 (www-batch-set): Fixed.
59 * cwiki-edit.el (www-edit-display-feature-input-box): Moved to
61 (www-edit-display-object-desc): New implementation; use
62 `www-display-object-desc'.
64 * cwiki-view.el (www-edit-display-feature-input-box): New function
65 [moved from cwiki-edit.el].
66 (www-display-object-desc):
67 - Add new optional arguments `uri-feature-name-to-edit' and
68 `editing-format'; it `uri-feature-name-to-edit' is specified,
69 input box is displayed and `editing-format' is used as the
70 format to parse the input.
71 - Semantics of level 1 was changed to level 0, namely if `level'
72 is 0, display header, otherwise don't display header.
74 2010-12-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
76 * cwiki-edit.el (www-edit-display-object-desc): Support
77 non-character objects.
78 (www-edit-display-feature-desc): Add new optional argument
80 (www-batch-edit): Fix problem to edit feature of non-character
83 * est-format.el (est-format-unit): Fix bug about `feature-name';
84 modify for `www-uri-make-feature-name-url'.
86 * est-eval.el (est-eval-unit): Fix bug about `name-url'; modify
87 for `www-uri-make-feature-name-url'.
89 * cwiki-common.el (www-uri-make-feature-name-url): Add new
90 argument `uri-genre' to support non-character objects.
92 * cwiki-view.el (www-batch-view): Fix problem to edit feature of
93 non-character objects.
95 * cwiki-set.el (www-set-display-object-desc): Renamed from
96 `www-set-display-char-desc'; add new argument `genre'; rename
97 optional argument `uri-char' to `uri-object'.
98 (www-set-display-feature-desc): Rename optional argument
99 `uri-char' to `uri-object'.
100 (www-set-display-feature-desc): Likewise.
101 (www-batch-set): Modify for `www-set-display-object-desc'.
103 2010-12-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
105 * cwiki-common.el (chise-wiki-bitmap-glyphs-url): Use
106 http://www.chise.org/glyphs instead of
107 http://chise.zinbun.kyoto-u.ac.jp/glyphs.
108 (chise-wiki-glyph-cgi-url): Use
109 http://www.chise.org/chisewiki/glyph.cgi instead of
110 http://chise.zinbun.kyoto-u.ac.jp/chisewiki/glyph.cgi.
111 (www-uri-make-object-url): New function.
112 (www-format-char-img-style): New variable.
113 (www-format-encode-string):
114 - Add new optional argument `as-body'; if it is specified, "&" is
116 - Specify style of <img> tags.
118 * cwiki-edit.el (www-edit-display-input-box): Abolished because it
121 * cwiki-format.el: New implementation based on `est-eval' and
123 (www-format-value-as-kuten): Abolished.
124 (www-format-value-default): Abolished.
125 (www-format-value-as-char-list): Abolished.
126 (www-format-value-as-domain-list): Abolished.
127 (www-format-value-as-ids): Abolished.
128 (www-format-value-as-S-exp): Abolished.
129 (www-format-value-as-HEX): Abolished.
130 (www-format-value-as-kangxi-radical): Abolished.
131 (www-format-value): If `object' is a symbol, it is decoded as
133 (www-format-props-to-string): Abolished.
134 (www-format-apply-value): New implementation; use
135 `est-eval-apply-value' and `est-format-unit'.
136 (www-format-eval-feature-value): Abolished.
137 (www-format-eval-list): New implementation; use `est-eval-list'
138 and `est-format-unit'.
140 * est-eval.el, est-format.el: New files.
142 2010-12-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
144 * cwiki-format.el (www-format-value-as-char-list): Use
145 `object-representative-feature' instead of
146 `object-representation-format'; use feature
147 `object-representative-format' of genre object if
148 `object-representative-feature' of genre object or `name' is not
151 2010-12-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
153 * cwiki-format.el (www-format-value-as-CCS-default): Abolished
154 because it is not used.
155 (www-format-value-as-CCS-94x94): Ditto.
157 2010-12-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
159 * cwiki-set.el: Omit to require `cwiki-common'.
161 * cwiki-view.el, cwiki-edit.el, cwiki-add.el: Require
162 `cwiki-format' instead of `cwiki-common' and `est-xml'.
164 * cwiki-common.el (www-format-value-as-kuten): Moved to
166 (www-format-value-default): Ditto.
167 (www-format-value-as-char-list): Ditto.
168 (www-format-value-as-domain-list): Ditto.
169 (www-format-value-as-ids): Ditto.
170 (www-format-value-as-S-exp): Ditto.
171 (www-format-value-as-HEX): Ditto.
172 (www-format-value-as-CCS-default): Ditto.
173 (www-format-value-as-CCS-94x94): Ditto.
174 (www-format-value-as-kangxi-radical): Ditto.
175 (www-format-value): Ditto.
176 (www-format-props-to-string): Ditto.
177 (www-format-apply-value): Ditto.
178 (www-format-eval-feature-value): Ditto.
179 (www-format-eval-unit): Ditto.
180 (www-format-eval-list): Ditto.
182 * cwiki-format.el: New file.
184 2010-12-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
186 * cwiki-view.el, cwiki-edit.el, cwiki-add.el: Require 'est-xml.
188 * cwiki-common.el (www-xml-format-props): Moved to est-xml.el.
189 (www-xml-format-unit): Ditto.
190 (www-xml-format-list): Ditto.
192 * est-xml.el: New file.
194 2010-12-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
196 * cwiki-common.el: Assign new genre `person-name@ruimoku'.
198 2010-11-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
200 * cwiki-edit.el (www-edit-display-object-desc): Renamed from
201 `www-edit-display-char-desc'; add new argument `genre'.
202 (www-batch-edit): Modify for `www-edit-display-object-desc'.
204 * cwiki-common.el (est-object-genre): New function.
205 (www-format-apply-value): Use `est-object-genre' instead of
206 `concord-object-genre'.
208 2010-11-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
210 * cwiki-common.el (www-get-feature-value): Add error-handler for
211 `concord-object-get'.
212 (www-format-value-as-char-list): Refer feature
213 `object-representation-format' instead of `name'.
214 (www-format-apply-value): Modify to edit non-character object.
216 * cwiki-view.el (www-display-object-desc): Modify to edit
217 non-character object.
218 (www-display-feature-desc): Add new argument `genre'.
220 2010-11-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
222 * cwiki-common.el: Assign new genre `region@ruimoku'.
224 2010-11-16 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
226 * cwiki-view.el (www-display-object-desc): Don't display CHISE
227 IDS-Find for non-character object.
229 * cwiki-common.el: Modify genres of ruimoku.
231 2010-11-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
233 * cwiki-view.el (www-display-object-desc): Use
234 `www-uri-encode-object' instead of `www-uri-encode-char'.
235 (www-batch-view): Likewise.
237 * cwiki-common.el (www-uri-encode-object): Renamed from
238 `www-uri-encode-char'.
239 (www-format-value-as-char-list): Use `www-uri-encode-object'
240 instead of `www-uri-encode-char'.
241 (www-format-value-as-ids): Likewise.
242 (www-format-eval-unit): Likewise.
244 2010-11-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
246 * cwiki-common.el (www-uri-encode-char): Support non-character
248 (www-format-value-as-char-list): Add link and readable
249 presentation for non-character object.
251 2010-11-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
253 * cwiki-set.el (www-batch-set): Encode `xemacs-chise-version'.
255 * cwiki-add.el (www-batch-add): Encode `xemacs-chise-version'.
257 * cwiki-edit.el (www-batch-edit): Encode `xemacs-chise-version'.
259 * cwiki-view.el (www-batch-view): Encode (emacs-version).
261 2010-11-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
263 * cwiki-common.el (www-format-apply-value): Rename argument
264 `uri-char' to `uri-object'.
265 (www-format-eval-feature-value): Rename argument `char' and
266 `uri-char' to `object' and `uri-object'.
267 (www-format-eval-unit): Likewise.
268 (www-format-eval-list): Likewise.
270 2010-10-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
272 * cwiki-view.el (www-display-object-desc): New function.
274 * cwiki-common.el (est-format-object): New function.
276 2010-10-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
278 * cwiki-common.el (www-get-genre): Abolished.
279 (www-get-feature-value): Don't use `www-get-genre'.
281 2010-10-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
284 - Set `file-name-coding-system' to 'utf-8-mcs-er.
285 - Add settings to assign genres of Ruimoku.
286 (www-get-feature-value): Modify for non-character genres.
287 (www-uri-decode-object): Use `www-uri-decode-feature-name' for
288 objects of `feature' genre.
290 * cwiki-view.el (www-display-object-desc): Fix problem when
291 `object' is not a character.
292 (www-batch-view): Support general genres.
294 2010-09-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
296 * cwiki-common.el (www-get-genre): New function.
297 (www-get-feature-value): Renamed from `www-char-feature'.
298 (www-uri-decode-object): Renamed from `www-uri-decode-char'; add
299 new argument `genre'.
301 * cwiki-view.el (www-display-object-desc): Renamed from
302 `www-display-char-desc'; add new argument `genre'.
304 * cwiki-add.el (www-add-display-char-desc): Use
305 `www-uri-decode-object' instead of `www-uri-decode-char'.
307 * cwiki-set.el (www-parse-string-as-space-separated-char-list):
308 Use `www-uri-decode-object' instead of `www-uri-decode-char'.
309 (www-parse-string-as-space-separated-ids): Likewise.
310 (www-set-display-char-desc): Likewise; use `www-get-feature-value'
311 instead of `www-char-feature'.
313 * cwiki-edit.el (www-edit-display-feature-input-box): Use
314 `www-get-feature-value' instead of `www-char-feature'.
315 (www-edit-display-char-desc): Use `www-uri-decode-object' instead
316 of `www-uri-decode-char'.
318 2010-09-13 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
320 * cwiki-add.el: New file.
322 2010-04-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
324 * cwiki-view.el (www-display-char-desc): Use
325 `chise-wiki-displayed-features' instead of `displayed-features'.
327 * cwiki-common.el (chise-wiki-displayed-features): New variable.
328 (char-feature-name-at-domain): Fix problem when `domain' is nil.
329 (char-feature-name-domain): New function.
330 (www-uri-make-feature-name-url): New function.
331 (www-format-props-to-string): Fix problem when :len's value is
333 (www-format-eval-unit):
334 - When :feature is specified, prefer FEATURE@DOMAIN to FEATURE.
335 - When :feature is specified in value related format functions,
336 add the displayed feature-name to
337 `chise-wiki-displayed-features'.
338 - Support `name-url' and `domain-name'.
340 2010-04-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
342 * cwiki-view.el (www-display-feature-desc): Fix problem to display
343 non-ASCII characters in property `format'.
345 2010-04-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
347 * cwiki-view.el (www-display-char-desc): Use `www-feature-format'.
348 (www-display-feature-desc): Ditto.
350 * cwiki-common.el (www-feature-format): New function.
351 (www-format-eval-unit): Support `:feature' property for `value'
352 related functions and `name' function.
354 2010-04-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
356 * cwiki-common.el (www-feature-value-format): Search ancestors'
357 property if own property is not found.
358 (char-feature-name-parent): New function.
359 (www-format-feature-name*): Search ancestors' property if own
360 property is not found.
362 2010-04-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
364 * cwiki-edit.el (www-edit-display-feature-desc): Display and
365 support editing of property `format'.
367 * cwiki-common.el (find-previous-defined-code-point): Fix problem
370 * cwiki-view.el (www-display-feature-desc): Add edit button for
373 2010-04-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
375 * cwiki-common.el (www-feature-value-format): Add
376 `(prev-char) (next-char)' into default format of CCS feature.
377 (get-previous-code-point): New function.
378 (get-next-code-point): New function.
379 (find-previous-defined-code-point): New function.
380 (find-next-defined-code-point): New function.
381 (www-format-eval-unit): Support `prev-char' and `next-char'.
383 2010-04-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
385 * cwiki-view.el (www-display-char-desc): Don't display "add
386 feature" button when running with simple mode.
388 2010-04-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
390 * cwiki-set.el (www-set-display-feature-desc): Refer
391 `chise-wiki-view-url'.
393 2010-04-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
395 * cwiki-view.el (www-display-feature-desc): Add new optional
396 argument `simple'; display "Edit" and "New Account" buttons when
397 running with simple mode; display "Simple" button when running
399 (www-batch-view): Modify for `www-display-feature-desc' to support
402 2010-04-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
404 * cwiki-view.el (www-display-char-desc): Use <div> instead of <p>
405 to display feature in top-level.
407 2010-04-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
409 * cwiki-set.el (chise-wiki-view-url): Use "view.cgi" instead of
412 * cwiki-edit.el (chise-wiki-view-url): Use "view.cgi" instead of
415 * cwiki-view.el (chise-wiki-edit-url): Use "edit.cgi" instead of
417 (chise-wiki-add-url): Use "add.cgi" instead of "edit/add.cgi".
418 (www-display-char-desc): Add new optional argument `simple';
419 display "Edit" and "New Account" buttons when running with simple
420 mode; display "Simple" button when running with edit mode.
421 (www-batch-view): Modify to support mode.
423 * cwiki-common.el (chise-wiki-edit-url): Changed to "edit.cgi".
424 (www-format-value): Add new optional argument `without-edit';
425 modify for `www-format-apply-value'.
426 (www-format-apply-value): Add new optional argument
427 `without-edit'; modify for `www-format-eval-list'.
428 (www-format-eval-feature-value): Add new optional arguments
429 `without-tags' and `without-edit'; modify for
430 `www-format-apply-value' and `www-format-eval-list'.
431 (www-format-eval-unit):
432 - Add new optional arguments `without-tags' and `without-edit';
433 modify for `www-format-eval-feature-value',
434 `www-format-apply-value' and `www-format-eval-list'.
435 - specify 'without-tags and 'without-edit for
436 `www-format-eval-list' in href part of `link'.
437 (www-format-eval-list): Add new optional arguments `without-tags'
438 and `without-edit'; modify for `www-format-eval-unit'.
440 2010-04-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
442 * cwiki-common.el (www-format-eval-unit): Treat `string' as a
443 format specifier of feature-value.
445 2010-04-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
447 * cwiki-common.el (www-format-props-to-string): When `:len' is
448 specified, treat `:zero-padding' is specified.
450 2010-04-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
452 * cwiki-common.el (www-uri-encode-char): Use `=ruimoku-v6'.
453 (www-format-encode-string): Display `=ruimoku-v6' characters.
455 * cwiki-glyph.el (www-glyph-generate-png): Support `=ruimoku-v6'.
456 (www-glyph-display-png): Support RUI6-hhhh;
458 2010-04-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
460 * cwiki-common.el (www-uri-encode-char): Accept `=>zinbun-oracle'.
461 (www-format-encode-string):
462 - Display &A-ZOB-dddd;.
463 - Support `ideographic-combination'(合文) and
464 `ideographic-structure'.
466 2010-04-01 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
468 * cwiki-view.el (www-batch-view): Accept
469 "?char=&ENTITY-REFERENCE;".
471 2010-03-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
473 * cwiki-view.el (www-display-char-desc): Use
474 `char-feature-name-sans-versions' to avoid domain `$rev=latest'
475 when sort feature-names.
477 2010-03-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
479 * cwiki-common.el (www-format-value-as-domain-list): New function.
480 (www-format-apply-value): Support `space-separated-domain-list'.
481 (char-GlyphWiki-id): Try to avoid uHHHH-{u|us}.
483 2010-03-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
485 * cwiki-common.el (coded-charset-GlyphWiki-id-alist): Add setting
486 for `=ucs@jis', `=jis-x0208@1978/-4pr' and `=jis-x0208@1978'.
487 (char-GlyphWiki-id): Use `char-feature' instead of `encode-char'.
489 2010-03-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
491 * cwiki-view.el (www-display-char-desc): Add input form for CHISE
494 2010-03-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
496 * cwiki-view.el (www-display-char-desc): Try to display glyph of
497 GlyphWiki and link it.
499 * cwiki-common.el (coded-charset-GlyphWiki-id-alist): New
501 (char-GlyphWiki-id): New function.
503 2010-03-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
505 * cwiki-set.el (www-parse-string-as-kangxi-radical): New function.
506 (www-feature-parse-string): Support format `kangxi-radical'.
508 * cwiki-common.el (www-format-value-as-kangxi-radical): New
510 (www-format-apply-value): Support format `kangxi-radical'.
511 (www-format-eval-unit): Support `kangxi-radical' as a value
514 2010-03-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
516 * cwiki-common.el (www-format-value-default): New function.
517 (www-format-encode-string):
518 - Prefer `=gt' to `=cns11643-{1..7}'.
519 - Display &(G-)GT-Kddddd; entity references.
520 (www-format-apply-value):
521 - New implementation for format `string'.
522 - Use `www-format-value-default' for default format.
524 * cwiki-glyph.el (www-glyph-generate-png): Support `=gt-k'.
525 (www-glyph-display-png): Support GT-Kddddd.
527 * cwiki-set.el (www-parse-string-default): New implementation.
528 (www-set-display-feature-desc):
529 - New argument `format'.
530 - Display `value-format'.
531 (www-batch-set): Modify for the API change to set feature's
534 * cwiki-view.el (www-display-char-desc): Display parents in the
536 (www-display-feature-desc): Use `www-format-value' with default
537 format instead of `www-xml-format-list' and
538 `www-format-encode-string'.
540 * cwiki-edit.el (www-edit-display-feature-input-box): Add new
541 optional argument `value'.
542 (www-edit-display-feature-desc):
543 - Use `www-edit-display-feature-input-box' instead of
544 `www-edit-display-input-box'.
545 - Display `value-format'.
547 2010-03-19 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
549 * cwiki-view.el (www-display-feature-desc): Display [edit] button
552 2010-03-19 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
554 * cwiki-common.el (www-xml-format-unit): Escape `&'.
556 2010-03-19 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
558 * cwiki-common.el (www-format-encode-string): Display
560 (www-xml-format-props): Encode property value.
561 (www-xml-format-unit): Encode string.
563 * cwiki-edit.el (www-edit-display-feature-input-box): Escape <">.
565 * cwiki-view.el (www-display-feature-desc): Modify design of
568 2010-03-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
570 * cwiki-set.el (www-xml-to-stext-unit): Support
571 <link><ref>...</ref>...</link>.
573 * cwiki-common.el (www-xml-format-unit): Support tag style `ref'
576 * cwiki-view.el (www-display-feature-desc): Display `value-format'
579 2010-03-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
581 * cwiki-common.el (www-format-feature-name-as-metadata): New
583 (www-format-feature-name*): Use
584 `www-format-feature-name-as-metadata' for metadata features.
586 2010-03-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
588 * cwiki-set.el (www-xml-parse-string): New function.
589 (www-xml-to-stext-props): New function.
590 (www-xml-to-stext-unit): New function.
591 (www-xml-to-stext-list): New function.
592 (www-stext-parse-xml-string): New function.
593 (www-parse-string-as-wiki-text): Use `www-stext-parse-xml-string'.
595 * cwiki-edit.el (www-edit-display-char-feature-default): Abolish.
596 (www-edit-display-char-feature-as-ucs): Abolish.
597 (www-edit-display-input-box): Add the first argument `object';
598 modify for `www-format-apply-value'.
599 (www-edit-display-feature-input-box): Modify input boxes; modify
600 for `www-format-value'.
601 (www-edit-display-feature-desc): Modify for
602 `www-edit-display-input-box'.
604 * cwiki-common.el (www-format-value): Add the first argument
605 `object' and the second argument `feature-name'; change argument
606 `variable' to be optional; modify for `www-format-apply-value'.
607 (www-format-apply-value): Add the first argument `object' and the
608 second argument `feature-name'; support format `wiki-text'.
609 (www-format-eval-feature-value): Modify for
610 `www-format-apply-value'.
611 (www-format-eval-unit): Likewise.
612 (www-xml-format-props): New function.
613 (www-xml-format-unit): New function.
614 (www-xml-format-list): New function.
616 2010-03-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
618 * cwiki-set.el (www-set-display-char-desc):
619 - Setup property `additional-features' of feature `$object' when
620 feature value is stored.
621 - Mount additional-features.
623 * cwiki-view.el (www-char-display-feature-default): Abolished.
624 (www-char-display-feature-as-ucs): Abolished.
625 (www-display-char-desc): Mount additional-features.
627 * cwiki-common.el (www-feature-type): Support `*node' and
629 (www-feature-value-format): Return `wiki-text' for type `stext'.
630 (www-format-apply-value): Don't set `default' even if a format is
631 not supported in this function.
633 2010-03-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
635 * cwiki-set.el (www-parse-string-as-wiki-text): New function
636 [currently just a stub].
637 (www-feature-parse-string): Use `www-parse-string-as-wiki-text'.
638 (www-set-display-char-desc): Use
639 `char-feature-name-sans-versions'.
641 * cwiki-edit.el (www-edit-display-feature-input-box): New
643 (www-edit-display-char-desc): Use
644 `www-edit-display-feature-input-box'.
646 * cwiki-view.el (www-display-char-desc): Use
647 `char-feature-name-sans-versions'.
649 * cwiki-common.el (char-feature-name-sans-versions): New function.
651 2010-03-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
653 * cwiki-set.el (www-set-display-char-desc): Store new value into
654 FEATURE@$rev=latest; don't display `$rev=latest' domain features.
656 * cwiki-edit.el (www-edit-display-char-feature-default): Use
657 `www-char-feature' instead of `char-feature'.
658 (www-edit-display-char-feature-as-ucs): Likewise.
659 (www-edit-display-char-desc): Likewise; replace value of char-spec
660 with value of `www-char-feature'.
662 * cwiki-view.el (www-char-display-feature-default): Use
663 `www-char-feature' instead of `char-feature'.
664 (www-char-display-feature-as-ucs): Likewise.
665 (www-display-char-desc): Ignore `$rev=latest' domain features.
667 * cwiki-common.el (char-feature-name-at-domain): New function.
668 (www-char-feature): New function.
669 (www-format-encode-string): Use `www-char-feature' instead of
671 (www-format-eval-feature-value): Likewise.
672 (www-format-eval-unit): Likewise.
674 2010-03-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
676 * cwiki-set.el (www-parse-string-default): New function.
677 (www-feature-parse-string):
678 - Support new format `string'.
679 - Use `www-parse-string-default' for `default'.
681 2010-03-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
683 * cwiki-common.el (chise-wiki-glyph-cgi-url): New variable.
684 (www-uri-encode-char): Support `=>>gt'.
685 (www-format-encode-string):
686 - Use GT, Big5 and Big5-CDP fonts.
687 - Use http://www.unicode.org/cgi-bin/refglyph?24-hhhh to display
688 `=ucs@unicode' glyphs.
689 - Display &MCS-hhhhhhhh; with using child's glyph.
691 * cwiki-glyph.el: New file.
693 2010-03-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
695 * cwiki-common.el (chise-wiki-bitmap-glyphs-url): Renamed from
696 `chise-wiki-glyphs-url'.
697 (www-format-encode-string):
698 - Use `chise-wiki-bitmap-glyphs-url' instead of
699 `chise-wiki-glyphs-url'.
700 - Display &JC3-hhhh; and &ZOB-dddd;.
702 2010-03-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
704 * cwiki-edit.el (www-edit-display-feature-desc): Use
705 `www-format-feature-name*' instead of `www-format-feature-name'.
707 * cwiki-common.el (www-uri-decode-char):
709 - Prefer `=>jis-x0208' and `=>jis-x0213-1' to `=big5' and
711 - Fix problem when no CCSes are found.
712 (www-format-feature-name*): New function.
713 (www-format-feature-name): Use `www-format-feature-name*'.
715 2010-03-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
717 * cwiki-set.el (www-parse-string-as-space-separated-char-list):
718 Expect `string' to be encoded as URI.
719 (www-parse-string-as-space-separated-ids): Likewise.
720 (www-feature-parse-string): Likewise.
721 (www-set-display-char-desc): Expect `uri-char' to be encoded as
723 (www-set-display-feature-desc): Fix problem when `name@lang' is
725 (www-batch-set): Don't use `decode-uri-string' for value of `char'
728 * cwiki-edit.el (www-edit-display-char-desc): Expect `uri-char' to
730 (www-batch-edit): Don't use `decode-uri-string' for value of
733 * cwiki-view.el (www-display-char-desc): Expect `uri-char' to be
734 encoded as URI; encode `uri-char' if it is a non-encoded
736 (www-batch-view): Don't use `decode-uri-string' for value of
739 * cwiki-common.el (www-uri-decode-char): Expect char-rep to be
741 (www-uri-encode-char): Encode UCS characters as %XX encoding.
742 (www-format-feature-name-as-CCS): Insert space between
743 prefix (..., ===>, ==>, =>, =>>, =>>>, ..., =) and main-name.
744 (www-html-display-text): Don't escape "&" except ">-".
746 2010-03-16 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
748 * cwiki-set.el (www-parse-string-as-space-separated-ids): New
750 (www-parse-string-as-ku-ten): New function.
751 (www-feature-parse-string): Support `space-separated-ids' and
754 2010-03-16 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
756 * cwiki-common.el (www-feature-value-format): Return
757 'space-separated-ids for `structure' type features.
758 (www-format-value-as-ids): New function.
759 (www-format-apply-value): Use `www-format-value-as-ids' for format
760 `space-separated-ids'.
762 2010-03-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
764 * cwiki-common.el, cwiki-edit.el, cwiki-set.el, cwiki-view.el: New