1 2011-06-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3 * est-format.el (est-format-unit): Change optional argument
4 `without-tags' to `output-format'; now `output-format' accepts
5 various formats such as 'html, 'plain-text and 'wiki-text instead
7 (est-format-list): Likewise.
9 2011-05-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
11 * est-eval.el (est-eval-value-default): Support `omitted' tag.
12 (est-eval-feature-value): Use `omitted' tag when length of value
14 (est-eval-unit): Support `omitted' tag.
16 2010-12-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
18 * cwiki-view.el: (www-edit-display-feature-input-box): If
19 specified object is a symbol, treat it as a feature object.
21 2010-12-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
23 * est-format.el (est-format-unit): Accept <img>.
25 2010-12-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
27 * cwiki-add.el (www-add-display-feature-input-box): Abolished.
28 (www-add-display-object-desc): New implementation; use
29 `www-edit-display-object-desc'; add new argument `genre'.
30 (www-batch-add): Modify for `www-add-display-object-desc'.
32 * cwiki-edit.el: Add declaration to provide module `cwiki-edit'.
34 2010-12-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
36 * cwiki-set.el (www-parse-string-as-space-separated-char-list):
38 (www-feature-parse-string): Likewise.
39 (www-set-display-object-desc):
40 - Support non-character genre objects.
41 - Use `www-display-object-desc'.
42 (www-set-display-feature-desc): Modify for
43 `www-feature-parse-string'.
44 (www-batch-set): Fixed.
46 * cwiki-edit.el (www-edit-display-feature-input-box): Moved to
48 (www-edit-display-object-desc): New implementation; use
49 `www-display-object-desc'.
51 * cwiki-view.el (www-edit-display-feature-input-box): New function
52 [moved from cwiki-edit.el].
53 (www-display-object-desc):
54 - Add new optional arguments `uri-feature-name-to-edit' and
55 `editing-format'; it `uri-feature-name-to-edit' is specified,
56 input box is displayed and `editing-format' is used as the
57 format to parse the input.
58 - Semantics of level 1 was changed to level 0, namely if `level'
59 is 0, display header, otherwise don't display header.
61 2010-12-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
63 * cwiki-edit.el (www-edit-display-object-desc): Support
64 non-character objects.
65 (www-edit-display-feature-desc): Add new optional argument
67 (www-batch-edit): Fix problem to edit feature of non-character
70 * est-format.el (est-format-unit): Fix bug about `feature-name';
71 modify for `www-uri-make-feature-name-url'.
73 * est-eval.el (est-eval-unit): Fix bug about `name-url'; modify
74 for `www-uri-make-feature-name-url'.
76 * cwiki-common.el (www-uri-make-feature-name-url): Add new
77 argument `uri-genre' to support non-character objects.
79 * cwiki-view.el (www-batch-view): Fix problem to edit feature of
80 non-character objects.
82 * cwiki-set.el (www-set-display-object-desc): Renamed from
83 `www-set-display-char-desc'; add new argument `genre'; rename
84 optional argument `uri-char' to `uri-object'.
85 (www-set-display-feature-desc): Rename optional argument
86 `uri-char' to `uri-object'.
87 (www-set-display-feature-desc): Likewise.
88 (www-batch-set): Modify for `www-set-display-object-desc'.
90 2010-12-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
92 * cwiki-common.el (chise-wiki-bitmap-glyphs-url): Use
93 http://www.chise.org/glyphs instead of
94 http://chise.zinbun.kyoto-u.ac.jp/glyphs.
95 (chise-wiki-glyph-cgi-url): Use
96 http://www.chise.org/chisewiki/glyph.cgi instead of
97 http://chise.zinbun.kyoto-u.ac.jp/chisewiki/glyph.cgi.
98 (www-uri-make-object-url): New function.
99 (www-format-char-img-style): New variable.
100 (www-format-encode-string):
101 - Add new optional argument `as-body'; if it is specified, "&" is
103 - Specify style of <img> tags.
105 * cwiki-edit.el (www-edit-display-input-box): Abolished because it
108 * cwiki-format.el: New implementation based on `est-eval' and
110 (www-format-value-as-kuten): Abolished.
111 (www-format-value-default): Abolished.
112 (www-format-value-as-char-list): Abolished.
113 (www-format-value-as-domain-list): Abolished.
114 (www-format-value-as-ids): Abolished.
115 (www-format-value-as-S-exp): Abolished.
116 (www-format-value-as-HEX): Abolished.
117 (www-format-value-as-kangxi-radical): Abolished.
118 (www-format-value): If `object' is a symbol, it is decoded as
120 (www-format-props-to-string): Abolished.
121 (www-format-apply-value): New implementation; use
122 `est-eval-apply-value' and `est-format-unit'.
123 (www-format-eval-feature-value): Abolished.
124 (www-format-eval-list): New implementation; use `est-eval-list'
125 and `est-format-unit'.
127 * est-eval.el, est-format.el: New files.
129 2010-12-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
131 * cwiki-format.el (www-format-value-as-char-list): Use
132 `object-representative-feature' instead of
133 `object-representation-format'; use feature
134 `object-representative-format' of genre object if
135 `object-representative-feature' of genre object or `name' is not
138 2010-12-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
140 * cwiki-format.el (www-format-value-as-CCS-default): Abolished
141 because it is not used.
142 (www-format-value-as-CCS-94x94): Ditto.
144 2010-12-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
146 * cwiki-set.el: Omit to require `cwiki-common'.
148 * cwiki-view.el, cwiki-edit.el, cwiki-add.el: Require
149 `cwiki-format' instead of `cwiki-common' and `est-xml'.
151 * cwiki-common.el (www-format-value-as-kuten): Moved to
153 (www-format-value-default): Ditto.
154 (www-format-value-as-char-list): Ditto.
155 (www-format-value-as-domain-list): Ditto.
156 (www-format-value-as-ids): Ditto.
157 (www-format-value-as-S-exp): Ditto.
158 (www-format-value-as-HEX): Ditto.
159 (www-format-value-as-CCS-default): Ditto.
160 (www-format-value-as-CCS-94x94): Ditto.
161 (www-format-value-as-kangxi-radical): Ditto.
162 (www-format-value): Ditto.
163 (www-format-props-to-string): Ditto.
164 (www-format-apply-value): Ditto.
165 (www-format-eval-feature-value): Ditto.
166 (www-format-eval-unit): Ditto.
167 (www-format-eval-list): Ditto.
169 * cwiki-format.el: New file.
171 2010-12-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
173 * cwiki-view.el, cwiki-edit.el, cwiki-add.el: Require 'est-xml.
175 * cwiki-common.el (www-xml-format-props): Moved to est-xml.el.
176 (www-xml-format-unit): Ditto.
177 (www-xml-format-list): Ditto.
179 * est-xml.el: New file.
181 2010-12-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
183 * cwiki-common.el: Assign new genre `person-name@ruimoku'.
185 2010-11-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
187 * cwiki-edit.el (www-edit-display-object-desc): Renamed from
188 `www-edit-display-char-desc'; add new argument `genre'.
189 (www-batch-edit): Modify for `www-edit-display-object-desc'.
191 * cwiki-common.el (est-object-genre): New function.
192 (www-format-apply-value): Use `est-object-genre' instead of
193 `concord-object-genre'.
195 2010-11-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
197 * cwiki-common.el (www-get-feature-value): Add error-handler for
198 `concord-object-get'.
199 (www-format-value-as-char-list): Refer feature
200 `object-representation-format' instead of `name'.
201 (www-format-apply-value): Modify to edit non-character object.
203 * cwiki-view.el (www-display-object-desc): Modify to edit
204 non-character object.
205 (www-display-feature-desc): Add new argument `genre'.
207 2010-11-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
209 * cwiki-common.el: Assign new genre `region@ruimoku'.
211 2010-11-16 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
213 * cwiki-view.el (www-display-object-desc): Don't display CHISE
214 IDS-Find for non-character object.
216 * cwiki-common.el: Modify genres of ruimoku.
218 2010-11-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
220 * cwiki-view.el (www-display-object-desc): Use
221 `www-uri-encode-object' instead of `www-uri-encode-char'.
222 (www-batch-view): Likewise.
224 * cwiki-common.el (www-uri-encode-object): Renamed from
225 `www-uri-encode-char'.
226 (www-format-value-as-char-list): Use `www-uri-encode-object'
227 instead of `www-uri-encode-char'.
228 (www-format-value-as-ids): Likewise.
229 (www-format-eval-unit): Likewise.
231 2010-11-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
233 * cwiki-common.el (www-uri-encode-char): Support non-character
235 (www-format-value-as-char-list): Add link and readable
236 presentation for non-character object.
238 2010-11-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
240 * cwiki-set.el (www-batch-set): Encode `xemacs-chise-version'.
242 * cwiki-add.el (www-batch-add): Encode `xemacs-chise-version'.
244 * cwiki-edit.el (www-batch-edit): Encode `xemacs-chise-version'.
246 * cwiki-view.el (www-batch-view): Encode (emacs-version).
248 2010-11-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
250 * cwiki-common.el (www-format-apply-value): Rename argument
251 `uri-char' to `uri-object'.
252 (www-format-eval-feature-value): Rename argument `char' and
253 `uri-char' to `object' and `uri-object'.
254 (www-format-eval-unit): Likewise.
255 (www-format-eval-list): Likewise.
257 2010-10-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
259 * cwiki-view.el (www-display-object-desc): New function.
261 * cwiki-common.el (est-format-object): New function.
263 2010-10-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
265 * cwiki-common.el (www-get-genre): Abolished.
266 (www-get-feature-value): Don't use `www-get-genre'.
268 2010-10-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
271 - Set `file-name-coding-system' to 'utf-8-mcs-er.
272 - Add settings to assign genres of Ruimoku.
273 (www-get-feature-value): Modify for non-character genres.
274 (www-uri-decode-object): Use `www-uri-decode-feature-name' for
275 objects of `feature' genre.
277 * cwiki-view.el (www-display-object-desc): Fix problem when
278 `object' is not a character.
279 (www-batch-view): Support general genres.
281 2010-09-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
283 * cwiki-common.el (www-get-genre): New function.
284 (www-get-feature-value): Renamed from `www-char-feature'.
285 (www-uri-decode-object): Renamed from `www-uri-decode-char'; add
286 new argument `genre'.
288 * cwiki-view.el (www-display-object-desc): Renamed from
289 `www-display-char-desc'; add new argument `genre'.
291 * cwiki-add.el (www-add-display-char-desc): Use
292 `www-uri-decode-object' instead of `www-uri-decode-char'.
294 * cwiki-set.el (www-parse-string-as-space-separated-char-list):
295 Use `www-uri-decode-object' instead of `www-uri-decode-char'.
296 (www-parse-string-as-space-separated-ids): Likewise.
297 (www-set-display-char-desc): Likewise; use `www-get-feature-value'
298 instead of `www-char-feature'.
300 * cwiki-edit.el (www-edit-display-feature-input-box): Use
301 `www-get-feature-value' instead of `www-char-feature'.
302 (www-edit-display-char-desc): Use `www-uri-decode-object' instead
303 of `www-uri-decode-char'.
305 2010-09-13 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
307 * cwiki-add.el: New file.
309 2010-04-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
311 * cwiki-view.el (www-display-char-desc): Use
312 `chise-wiki-displayed-features' instead of `displayed-features'.
314 * cwiki-common.el (chise-wiki-displayed-features): New variable.
315 (char-feature-name-at-domain): Fix problem when `domain' is nil.
316 (char-feature-name-domain): New function.
317 (www-uri-make-feature-name-url): New function.
318 (www-format-props-to-string): Fix problem when :len's value is
320 (www-format-eval-unit):
321 - When :feature is specified, prefer FEATURE@DOMAIN to FEATURE.
322 - When :feature is specified in value related format functions,
323 add the displayed feature-name to
324 `chise-wiki-displayed-features'.
325 - Support `name-url' and `domain-name'.
327 2010-04-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
329 * cwiki-view.el (www-display-feature-desc): Fix problem to display
330 non-ASCII characters in property `format'.
332 2010-04-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
334 * cwiki-view.el (www-display-char-desc): Use `www-feature-format'.
335 (www-display-feature-desc): Ditto.
337 * cwiki-common.el (www-feature-format): New function.
338 (www-format-eval-unit): Support `:feature' property for `value'
339 related functions and `name' function.
341 2010-04-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
343 * cwiki-common.el (www-feature-value-format): Search ancestors'
344 property if own property is not found.
345 (char-feature-name-parent): New function.
346 (www-format-feature-name*): Search ancestors' property if own
347 property is not found.
349 2010-04-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
351 * cwiki-edit.el (www-edit-display-feature-desc): Display and
352 support editing of property `format'.
354 * cwiki-common.el (find-previous-defined-code-point): Fix problem
357 * cwiki-view.el (www-display-feature-desc): Add edit button for
360 2010-04-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
362 * cwiki-common.el (www-feature-value-format): Add
363 `(prev-char) (next-char)' into default format of CCS feature.
364 (get-previous-code-point): New function.
365 (get-next-code-point): New function.
366 (find-previous-defined-code-point): New function.
367 (find-next-defined-code-point): New function.
368 (www-format-eval-unit): Support `prev-char' and `next-char'.
370 2010-04-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
372 * cwiki-view.el (www-display-char-desc): Don't display "add
373 feature" button when running with simple mode.
375 2010-04-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
377 * cwiki-set.el (www-set-display-feature-desc): Refer
378 `chise-wiki-view-url'.
380 2010-04-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
382 * cwiki-view.el (www-display-feature-desc): Add new optional
383 argument `simple'; display "Edit" and "New Account" buttons when
384 running with simple mode; display "Simple" button when running
386 (www-batch-view): Modify for `www-display-feature-desc' to support
389 2010-04-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
391 * cwiki-view.el (www-display-char-desc): Use <div> instead of <p>
392 to display feature in top-level.
394 2010-04-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
396 * cwiki-set.el (chise-wiki-view-url): Use "view.cgi" instead of
399 * cwiki-edit.el (chise-wiki-view-url): Use "view.cgi" instead of
402 * cwiki-view.el (chise-wiki-edit-url): Use "edit.cgi" instead of
404 (chise-wiki-add-url): Use "add.cgi" instead of "edit/add.cgi".
405 (www-display-char-desc): Add new optional argument `simple';
406 display "Edit" and "New Account" buttons when running with simple
407 mode; display "Simple" button when running with edit mode.
408 (www-batch-view): Modify to support mode.
410 * cwiki-common.el (chise-wiki-edit-url): Changed to "edit.cgi".
411 (www-format-value): Add new optional argument `without-edit';
412 modify for `www-format-apply-value'.
413 (www-format-apply-value): Add new optional argument
414 `without-edit'; modify for `www-format-eval-list'.
415 (www-format-eval-feature-value): Add new optional arguments
416 `without-tags' and `without-edit'; modify for
417 `www-format-apply-value' and `www-format-eval-list'.
418 (www-format-eval-unit):
419 - Add new optional arguments `without-tags' and `without-edit';
420 modify for `www-format-eval-feature-value',
421 `www-format-apply-value' and `www-format-eval-list'.
422 - specify 'without-tags and 'without-edit for
423 `www-format-eval-list' in href part of `link'.
424 (www-format-eval-list): Add new optional arguments `without-tags'
425 and `without-edit'; modify for `www-format-eval-unit'.
427 2010-04-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
429 * cwiki-common.el (www-format-eval-unit): Treat `string' as a
430 format specifier of feature-value.
432 2010-04-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
434 * cwiki-common.el (www-format-props-to-string): When `:len' is
435 specified, treat `:zero-padding' is specified.
437 2010-04-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
439 * cwiki-common.el (www-uri-encode-char): Use `=ruimoku-v6'.
440 (www-format-encode-string): Display `=ruimoku-v6' characters.
442 * cwiki-glyph.el (www-glyph-generate-png): Support `=ruimoku-v6'.
443 (www-glyph-display-png): Support RUI6-hhhh;
445 2010-04-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
447 * cwiki-common.el (www-uri-encode-char): Accept `=>zinbun-oracle'.
448 (www-format-encode-string):
449 - Display &A-ZOB-dddd;.
450 - Support `ideographic-combination'(合文) and
451 `ideographic-structure'.
453 2010-04-01 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
455 * cwiki-view.el (www-batch-view): Accept
456 "?char=&ENTITY-REFERENCE;".
458 2010-03-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
460 * cwiki-view.el (www-display-char-desc): Use
461 `char-feature-name-sans-versions' to avoid domain `$rev=latest'
462 when sort feature-names.
464 2010-03-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
466 * cwiki-common.el (www-format-value-as-domain-list): New function.
467 (www-format-apply-value): Support `space-separated-domain-list'.
468 (char-GlyphWiki-id): Try to avoid uHHHH-{u|us}.
470 2010-03-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
472 * cwiki-common.el (coded-charset-GlyphWiki-id-alist): Add setting
473 for `=ucs@jis', `=jis-x0208@1978/-4pr' and `=jis-x0208@1978'.
474 (char-GlyphWiki-id): Use `char-feature' instead of `encode-char'.
476 2010-03-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
478 * cwiki-view.el (www-display-char-desc): Add input form for CHISE
481 2010-03-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
483 * cwiki-view.el (www-display-char-desc): Try to display glyph of
484 GlyphWiki and link it.
486 * cwiki-common.el (coded-charset-GlyphWiki-id-alist): New
488 (char-GlyphWiki-id): New function.
490 2010-03-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
492 * cwiki-set.el (www-parse-string-as-kangxi-radical): New function.
493 (www-feature-parse-string): Support format `kangxi-radical'.
495 * cwiki-common.el (www-format-value-as-kangxi-radical): New
497 (www-format-apply-value): Support format `kangxi-radical'.
498 (www-format-eval-unit): Support `kangxi-radical' as a value
501 2010-03-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
503 * cwiki-common.el (www-format-value-default): New function.
504 (www-format-encode-string):
505 - Prefer `=gt' to `=cns11643-{1..7}'.
506 - Display &(G-)GT-Kddddd; entity references.
507 (www-format-apply-value):
508 - New implementation for format `string'.
509 - Use `www-format-value-default' for default format.
511 * cwiki-glyph.el (www-glyph-generate-png): Support `=gt-k'.
512 (www-glyph-display-png): Support GT-Kddddd.
514 * cwiki-set.el (www-parse-string-default): New implementation.
515 (www-set-display-feature-desc):
516 - New argument `format'.
517 - Display `value-format'.
518 (www-batch-set): Modify for the API change to set feature's
521 * cwiki-view.el (www-display-char-desc): Display parents in the
523 (www-display-feature-desc): Use `www-format-value' with default
524 format instead of `www-xml-format-list' and
525 `www-format-encode-string'.
527 * cwiki-edit.el (www-edit-display-feature-input-box): Add new
528 optional argument `value'.
529 (www-edit-display-feature-desc):
530 - Use `www-edit-display-feature-input-box' instead of
531 `www-edit-display-input-box'.
532 - Display `value-format'.
534 2010-03-19 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
536 * cwiki-view.el (www-display-feature-desc): Display [edit] button
539 2010-03-19 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
541 * cwiki-common.el (www-xml-format-unit): Escape `&'.
543 2010-03-19 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
545 * cwiki-common.el (www-format-encode-string): Display
547 (www-xml-format-props): Encode property value.
548 (www-xml-format-unit): Encode string.
550 * cwiki-edit.el (www-edit-display-feature-input-box): Escape <">.
552 * cwiki-view.el (www-display-feature-desc): Modify design of
555 2010-03-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
557 * cwiki-set.el (www-xml-to-stext-unit): Support
558 <link><ref>...</ref>...</link>.
560 * cwiki-common.el (www-xml-format-unit): Support tag style `ref'
563 * cwiki-view.el (www-display-feature-desc): Display `value-format'
566 2010-03-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
568 * cwiki-common.el (www-format-feature-name-as-metadata): New
570 (www-format-feature-name*): Use
571 `www-format-feature-name-as-metadata' for metadata features.
573 2010-03-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
575 * cwiki-set.el (www-xml-parse-string): New function.
576 (www-xml-to-stext-props): New function.
577 (www-xml-to-stext-unit): New function.
578 (www-xml-to-stext-list): New function.
579 (www-stext-parse-xml-string): New function.
580 (www-parse-string-as-wiki-text): Use `www-stext-parse-xml-string'.
582 * cwiki-edit.el (www-edit-display-char-feature-default): Abolish.
583 (www-edit-display-char-feature-as-ucs): Abolish.
584 (www-edit-display-input-box): Add the first argument `object';
585 modify for `www-format-apply-value'.
586 (www-edit-display-feature-input-box): Modify input boxes; modify
587 for `www-format-value'.
588 (www-edit-display-feature-desc): Modify for
589 `www-edit-display-input-box'.
591 * cwiki-common.el (www-format-value): Add the first argument
592 `object' and the second argument `feature-name'; change argument
593 `variable' to be optional; modify for `www-format-apply-value'.
594 (www-format-apply-value): Add the first argument `object' and the
595 second argument `feature-name'; support format `wiki-text'.
596 (www-format-eval-feature-value): Modify for
597 `www-format-apply-value'.
598 (www-format-eval-unit): Likewise.
599 (www-xml-format-props): New function.
600 (www-xml-format-unit): New function.
601 (www-xml-format-list): New function.
603 2010-03-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
605 * cwiki-set.el (www-set-display-char-desc):
606 - Setup property `additional-features' of feature `$object' when
607 feature value is stored.
608 - Mount additional-features.
610 * cwiki-view.el (www-char-display-feature-default): Abolished.
611 (www-char-display-feature-as-ucs): Abolished.
612 (www-display-char-desc): Mount additional-features.
614 * cwiki-common.el (www-feature-type): Support `*node' and
616 (www-feature-value-format): Return `wiki-text' for type `stext'.
617 (www-format-apply-value): Don't set `default' even if a format is
618 not supported in this function.
620 2010-03-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
622 * cwiki-set.el (www-parse-string-as-wiki-text): New function
623 [currently just a stub].
624 (www-feature-parse-string): Use `www-parse-string-as-wiki-text'.
625 (www-set-display-char-desc): Use
626 `char-feature-name-sans-versions'.
628 * cwiki-edit.el (www-edit-display-feature-input-box): New
630 (www-edit-display-char-desc): Use
631 `www-edit-display-feature-input-box'.
633 * cwiki-view.el (www-display-char-desc): Use
634 `char-feature-name-sans-versions'.
636 * cwiki-common.el (char-feature-name-sans-versions): New function.
638 2010-03-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
640 * cwiki-set.el (www-set-display-char-desc): Store new value into
641 FEATURE@$rev=latest; don't display `$rev=latest' domain features.
643 * cwiki-edit.el (www-edit-display-char-feature-default): Use
644 `www-char-feature' instead of `char-feature'.
645 (www-edit-display-char-feature-as-ucs): Likewise.
646 (www-edit-display-char-desc): Likewise; replace value of char-spec
647 with value of `www-char-feature'.
649 * cwiki-view.el (www-char-display-feature-default): Use
650 `www-char-feature' instead of `char-feature'.
651 (www-char-display-feature-as-ucs): Likewise.
652 (www-display-char-desc): Ignore `$rev=latest' domain features.
654 * cwiki-common.el (char-feature-name-at-domain): New function.
655 (www-char-feature): New function.
656 (www-format-encode-string): Use `www-char-feature' instead of
658 (www-format-eval-feature-value): Likewise.
659 (www-format-eval-unit): Likewise.
661 2010-03-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
663 * cwiki-set.el (www-parse-string-default): New function.
664 (www-feature-parse-string):
665 - Support new format `string'.
666 - Use `www-parse-string-default' for `default'.
668 2010-03-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
670 * cwiki-common.el (chise-wiki-glyph-cgi-url): New variable.
671 (www-uri-encode-char): Support `=>>gt'.
672 (www-format-encode-string):
673 - Use GT, Big5 and Big5-CDP fonts.
674 - Use http://www.unicode.org/cgi-bin/refglyph?24-hhhh to display
675 `=ucs@unicode' glyphs.
676 - Display &MCS-hhhhhhhh; with using child's glyph.
678 * cwiki-glyph.el: New file.
680 2010-03-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
682 * cwiki-common.el (chise-wiki-bitmap-glyphs-url): Renamed from
683 `chise-wiki-glyphs-url'.
684 (www-format-encode-string):
685 - Use `chise-wiki-bitmap-glyphs-url' instead of
686 `chise-wiki-glyphs-url'.
687 - Display &JC3-hhhh; and &ZOB-dddd;.
689 2010-03-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
691 * cwiki-edit.el (www-edit-display-feature-desc): Use
692 `www-format-feature-name*' instead of `www-format-feature-name'.
694 * cwiki-common.el (www-uri-decode-char):
696 - Prefer `=>jis-x0208' and `=>jis-x0213-1' to `=big5' and
698 - Fix problem when no CCSes are found.
699 (www-format-feature-name*): New function.
700 (www-format-feature-name): Use `www-format-feature-name*'.
702 2010-03-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
704 * cwiki-set.el (www-parse-string-as-space-separated-char-list):
705 Expect `string' to be encoded as URI.
706 (www-parse-string-as-space-separated-ids): Likewise.
707 (www-feature-parse-string): Likewise.
708 (www-set-display-char-desc): Expect `uri-char' to be encoded as
710 (www-set-display-feature-desc): Fix problem when `name@lang' is
712 (www-batch-set): Don't use `decode-uri-string' for value of `char'
715 * cwiki-edit.el (www-edit-display-char-desc): Expect `uri-char' to
717 (www-batch-edit): Don't use `decode-uri-string' for value of
720 * cwiki-view.el (www-display-char-desc): Expect `uri-char' to be
721 encoded as URI; encode `uri-char' if it is a non-encoded
723 (www-batch-view): Don't use `decode-uri-string' for value of
726 * cwiki-common.el (www-uri-decode-char): Expect char-rep to be
728 (www-uri-encode-char): Encode UCS characters as %XX encoding.
729 (www-format-feature-name-as-CCS): Insert space between
730 prefix (..., ===>, ==>, =>, =>>, =>>>, ..., =) and main-name.
731 (www-html-display-text): Don't escape "&" except ">-".
733 2010-03-16 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
735 * cwiki-set.el (www-parse-string-as-space-separated-ids): New
737 (www-parse-string-as-ku-ten): New function.
738 (www-feature-parse-string): Support `space-separated-ids' and
741 2010-03-16 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
743 * cwiki-common.el (www-feature-value-format): Return
744 'space-separated-ids for `structure' type features.
745 (www-format-value-as-ids): New function.
746 (www-format-apply-value): Use `www-format-value-as-ids' for format
747 `space-separated-ids'.
749 2010-03-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
751 * cwiki-common.el, cwiki-edit.el, cwiki-set.el, cwiki-view.el: New