1 2011-06-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3 * cwiki-common.el (instance@ruimoku/bibliography/title): Mount
4 char-feature `instance@ruimoku/bibliography/title'.
6 2011-06-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
8 * cwiki-view.el (www-edit-display-feature-input-box):
9 - If argument `value' is a symbol and argument `format' is
10 `wiki-text', treat `value' as a list of a function.
11 - Use `est-format-list' instead of `www-format-value'.
13 2011-06-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
15 * est-eval.el (ruimoku-format-volume): New function.
16 (est-eval-journal-volume): New function.
17 (est-eval-value-as-object): Use `est-eval-journal-volume' for
18 genre `journal-volume@ruimoku'.
19 (est-eval-value-as-creators-names): New function.
20 (est-eval-value-as-created-works): New function.
21 (est-eval-apply-value): Use `est-eval-value-as-creators-names' for
22 `space-separated-creator-name-list'; use
23 `est-eval-value-as-created-works' for
24 `space-separated-created-work-list'.
26 2011-06-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
28 * est-format.el (est-format-unit): Change optional argument
29 `without-tags' to `output-format'; now `output-format' accepts
30 various formats such as 'html, 'plain-text and 'wiki-text instead
32 (est-format-list): Likewise.
34 2011-05-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
36 * est-eval.el (est-eval-value-default): Support `omitted' tag.
37 (est-eval-feature-value): Use `omitted' tag when length of value
39 (est-eval-unit): Support `omitted' tag.
41 2010-12-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
43 * cwiki-view.el: (www-edit-display-feature-input-box): If
44 specified object is a symbol, treat it as a feature object.
46 2010-12-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
48 * est-format.el (est-format-unit): Accept <img>.
50 2010-12-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
52 * cwiki-add.el (www-add-display-feature-input-box): Abolished.
53 (www-add-display-object-desc): New implementation; use
54 `www-edit-display-object-desc'; add new argument `genre'.
55 (www-batch-add): Modify for `www-add-display-object-desc'.
57 * cwiki-edit.el: Add declaration to provide module `cwiki-edit'.
59 2010-12-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
61 * cwiki-set.el (www-parse-string-as-space-separated-char-list):
63 (www-feature-parse-string): Likewise.
64 (www-set-display-object-desc):
65 - Support non-character genre objects.
66 - Use `www-display-object-desc'.
67 (www-set-display-feature-desc): Modify for
68 `www-feature-parse-string'.
69 (www-batch-set): Fixed.
71 * cwiki-edit.el (www-edit-display-feature-input-box): Moved to
73 (www-edit-display-object-desc): New implementation; use
74 `www-display-object-desc'.
76 * cwiki-view.el (www-edit-display-feature-input-box): New function
77 [moved from cwiki-edit.el].
78 (www-display-object-desc):
79 - Add new optional arguments `uri-feature-name-to-edit' and
80 `editing-format'; it `uri-feature-name-to-edit' is specified,
81 input box is displayed and `editing-format' is used as the
82 format to parse the input.
83 - Semantics of level 1 was changed to level 0, namely if `level'
84 is 0, display header, otherwise don't display header.
86 2010-12-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
88 * cwiki-edit.el (www-edit-display-object-desc): Support
89 non-character objects.
90 (www-edit-display-feature-desc): Add new optional argument
92 (www-batch-edit): Fix problem to edit feature of non-character
95 * est-format.el (est-format-unit): Fix bug about `feature-name';
96 modify for `www-uri-make-feature-name-url'.
98 * est-eval.el (est-eval-unit): Fix bug about `name-url'; modify
99 for `www-uri-make-feature-name-url'.
101 * cwiki-common.el (www-uri-make-feature-name-url): Add new
102 argument `uri-genre' to support non-character objects.
104 * cwiki-view.el (www-batch-view): Fix problem to edit feature of
105 non-character objects.
107 * cwiki-set.el (www-set-display-object-desc): Renamed from
108 `www-set-display-char-desc'; add new argument `genre'; rename
109 optional argument `uri-char' to `uri-object'.
110 (www-set-display-feature-desc): Rename optional argument
111 `uri-char' to `uri-object'.
112 (www-set-display-feature-desc): Likewise.
113 (www-batch-set): Modify for `www-set-display-object-desc'.
115 2010-12-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
117 * cwiki-common.el (chise-wiki-bitmap-glyphs-url): Use
118 http://www.chise.org/glyphs instead of
119 http://chise.zinbun.kyoto-u.ac.jp/glyphs.
120 (chise-wiki-glyph-cgi-url): Use
121 http://www.chise.org/chisewiki/glyph.cgi instead of
122 http://chise.zinbun.kyoto-u.ac.jp/chisewiki/glyph.cgi.
123 (www-uri-make-object-url): New function.
124 (www-format-char-img-style): New variable.
125 (www-format-encode-string):
126 - Add new optional argument `as-body'; if it is specified, "&" is
128 - Specify style of <img> tags.
130 * cwiki-edit.el (www-edit-display-input-box): Abolished because it
133 * cwiki-format.el: New implementation based on `est-eval' and
135 (www-format-value-as-kuten): Abolished.
136 (www-format-value-default): Abolished.
137 (www-format-value-as-char-list): Abolished.
138 (www-format-value-as-domain-list): Abolished.
139 (www-format-value-as-ids): Abolished.
140 (www-format-value-as-S-exp): Abolished.
141 (www-format-value-as-HEX): Abolished.
142 (www-format-value-as-kangxi-radical): Abolished.
143 (www-format-value): If `object' is a symbol, it is decoded as
145 (www-format-props-to-string): Abolished.
146 (www-format-apply-value): New implementation; use
147 `est-eval-apply-value' and `est-format-unit'.
148 (www-format-eval-feature-value): Abolished.
149 (www-format-eval-list): New implementation; use `est-eval-list'
150 and `est-format-unit'.
152 * est-eval.el, est-format.el: New files.
154 2010-12-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
156 * cwiki-format.el (www-format-value-as-char-list): Use
157 `object-representative-feature' instead of
158 `object-representation-format'; use feature
159 `object-representative-format' of genre object if
160 `object-representative-feature' of genre object or `name' is not
163 2010-12-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
165 * cwiki-format.el (www-format-value-as-CCS-default): Abolished
166 because it is not used.
167 (www-format-value-as-CCS-94x94): Ditto.
169 2010-12-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
171 * cwiki-set.el: Omit to require `cwiki-common'.
173 * cwiki-view.el, cwiki-edit.el, cwiki-add.el: Require
174 `cwiki-format' instead of `cwiki-common' and `est-xml'.
176 * cwiki-common.el (www-format-value-as-kuten): Moved to
178 (www-format-value-default): Ditto.
179 (www-format-value-as-char-list): Ditto.
180 (www-format-value-as-domain-list): Ditto.
181 (www-format-value-as-ids): Ditto.
182 (www-format-value-as-S-exp): Ditto.
183 (www-format-value-as-HEX): Ditto.
184 (www-format-value-as-CCS-default): Ditto.
185 (www-format-value-as-CCS-94x94): Ditto.
186 (www-format-value-as-kangxi-radical): Ditto.
187 (www-format-value): Ditto.
188 (www-format-props-to-string): Ditto.
189 (www-format-apply-value): Ditto.
190 (www-format-eval-feature-value): Ditto.
191 (www-format-eval-unit): Ditto.
192 (www-format-eval-list): Ditto.
194 * cwiki-format.el: New file.
196 2010-12-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
198 * cwiki-view.el, cwiki-edit.el, cwiki-add.el: Require 'est-xml.
200 * cwiki-common.el (www-xml-format-props): Moved to est-xml.el.
201 (www-xml-format-unit): Ditto.
202 (www-xml-format-list): Ditto.
204 * est-xml.el: New file.
206 2010-12-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
208 * cwiki-common.el: Assign new genre `person-name@ruimoku'.
210 2010-11-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
212 * cwiki-edit.el (www-edit-display-object-desc): Renamed from
213 `www-edit-display-char-desc'; add new argument `genre'.
214 (www-batch-edit): Modify for `www-edit-display-object-desc'.
216 * cwiki-common.el (est-object-genre): New function.
217 (www-format-apply-value): Use `est-object-genre' instead of
218 `concord-object-genre'.
220 2010-11-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
222 * cwiki-common.el (www-get-feature-value): Add error-handler for
223 `concord-object-get'.
224 (www-format-value-as-char-list): Refer feature
225 `object-representation-format' instead of `name'.
226 (www-format-apply-value): Modify to edit non-character object.
228 * cwiki-view.el (www-display-object-desc): Modify to edit
229 non-character object.
230 (www-display-feature-desc): Add new argument `genre'.
232 2010-11-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
234 * cwiki-common.el: Assign new genre `region@ruimoku'.
236 2010-11-16 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
238 * cwiki-view.el (www-display-object-desc): Don't display CHISE
239 IDS-Find for non-character object.
241 * cwiki-common.el: Modify genres of ruimoku.
243 2010-11-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
245 * cwiki-view.el (www-display-object-desc): Use
246 `www-uri-encode-object' instead of `www-uri-encode-char'.
247 (www-batch-view): Likewise.
249 * cwiki-common.el (www-uri-encode-object): Renamed from
250 `www-uri-encode-char'.
251 (www-format-value-as-char-list): Use `www-uri-encode-object'
252 instead of `www-uri-encode-char'.
253 (www-format-value-as-ids): Likewise.
254 (www-format-eval-unit): Likewise.
256 2010-11-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
258 * cwiki-common.el (www-uri-encode-char): Support non-character
260 (www-format-value-as-char-list): Add link and readable
261 presentation for non-character object.
263 2010-11-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
265 * cwiki-set.el (www-batch-set): Encode `xemacs-chise-version'.
267 * cwiki-add.el (www-batch-add): Encode `xemacs-chise-version'.
269 * cwiki-edit.el (www-batch-edit): Encode `xemacs-chise-version'.
271 * cwiki-view.el (www-batch-view): Encode (emacs-version).
273 2010-11-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
275 * cwiki-common.el (www-format-apply-value): Rename argument
276 `uri-char' to `uri-object'.
277 (www-format-eval-feature-value): Rename argument `char' and
278 `uri-char' to `object' and `uri-object'.
279 (www-format-eval-unit): Likewise.
280 (www-format-eval-list): Likewise.
282 2010-10-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
284 * cwiki-view.el (www-display-object-desc): New function.
286 * cwiki-common.el (est-format-object): New function.
288 2010-10-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
290 * cwiki-common.el (www-get-genre): Abolished.
291 (www-get-feature-value): Don't use `www-get-genre'.
293 2010-10-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
296 - Set `file-name-coding-system' to 'utf-8-mcs-er.
297 - Add settings to assign genres of Ruimoku.
298 (www-get-feature-value): Modify for non-character genres.
299 (www-uri-decode-object): Use `www-uri-decode-feature-name' for
300 objects of `feature' genre.
302 * cwiki-view.el (www-display-object-desc): Fix problem when
303 `object' is not a character.
304 (www-batch-view): Support general genres.
306 2010-09-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
308 * cwiki-common.el (www-get-genre): New function.
309 (www-get-feature-value): Renamed from `www-char-feature'.
310 (www-uri-decode-object): Renamed from `www-uri-decode-char'; add
311 new argument `genre'.
313 * cwiki-view.el (www-display-object-desc): Renamed from
314 `www-display-char-desc'; add new argument `genre'.
316 * cwiki-add.el (www-add-display-char-desc): Use
317 `www-uri-decode-object' instead of `www-uri-decode-char'.
319 * cwiki-set.el (www-parse-string-as-space-separated-char-list):
320 Use `www-uri-decode-object' instead of `www-uri-decode-char'.
321 (www-parse-string-as-space-separated-ids): Likewise.
322 (www-set-display-char-desc): Likewise; use `www-get-feature-value'
323 instead of `www-char-feature'.
325 * cwiki-edit.el (www-edit-display-feature-input-box): Use
326 `www-get-feature-value' instead of `www-char-feature'.
327 (www-edit-display-char-desc): Use `www-uri-decode-object' instead
328 of `www-uri-decode-char'.
330 2010-09-13 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
332 * cwiki-add.el: New file.
334 2010-04-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
336 * cwiki-view.el (www-display-char-desc): Use
337 `chise-wiki-displayed-features' instead of `displayed-features'.
339 * cwiki-common.el (chise-wiki-displayed-features): New variable.
340 (char-feature-name-at-domain): Fix problem when `domain' is nil.
341 (char-feature-name-domain): New function.
342 (www-uri-make-feature-name-url): New function.
343 (www-format-props-to-string): Fix problem when :len's value is
345 (www-format-eval-unit):
346 - When :feature is specified, prefer FEATURE@DOMAIN to FEATURE.
347 - When :feature is specified in value related format functions,
348 add the displayed feature-name to
349 `chise-wiki-displayed-features'.
350 - Support `name-url' and `domain-name'.
352 2010-04-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
354 * cwiki-view.el (www-display-feature-desc): Fix problem to display
355 non-ASCII characters in property `format'.
357 2010-04-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
359 * cwiki-view.el (www-display-char-desc): Use `www-feature-format'.
360 (www-display-feature-desc): Ditto.
362 * cwiki-common.el (www-feature-format): New function.
363 (www-format-eval-unit): Support `:feature' property for `value'
364 related functions and `name' function.
366 2010-04-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
368 * cwiki-common.el (www-feature-value-format): Search ancestors'
369 property if own property is not found.
370 (char-feature-name-parent): New function.
371 (www-format-feature-name*): Search ancestors' property if own
372 property is not found.
374 2010-04-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
376 * cwiki-edit.el (www-edit-display-feature-desc): Display and
377 support editing of property `format'.
379 * cwiki-common.el (find-previous-defined-code-point): Fix problem
382 * cwiki-view.el (www-display-feature-desc): Add edit button for
385 2010-04-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
387 * cwiki-common.el (www-feature-value-format): Add
388 `(prev-char) (next-char)' into default format of CCS feature.
389 (get-previous-code-point): New function.
390 (get-next-code-point): New function.
391 (find-previous-defined-code-point): New function.
392 (find-next-defined-code-point): New function.
393 (www-format-eval-unit): Support `prev-char' and `next-char'.
395 2010-04-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
397 * cwiki-view.el (www-display-char-desc): Don't display "add
398 feature" button when running with simple mode.
400 2010-04-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
402 * cwiki-set.el (www-set-display-feature-desc): Refer
403 `chise-wiki-view-url'.
405 2010-04-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
407 * cwiki-view.el (www-display-feature-desc): Add new optional
408 argument `simple'; display "Edit" and "New Account" buttons when
409 running with simple mode; display "Simple" button when running
411 (www-batch-view): Modify for `www-display-feature-desc' to support
414 2010-04-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
416 * cwiki-view.el (www-display-char-desc): Use <div> instead of <p>
417 to display feature in top-level.
419 2010-04-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
421 * cwiki-set.el (chise-wiki-view-url): Use "view.cgi" instead of
424 * cwiki-edit.el (chise-wiki-view-url): Use "view.cgi" instead of
427 * cwiki-view.el (chise-wiki-edit-url): Use "edit.cgi" instead of
429 (chise-wiki-add-url): Use "add.cgi" instead of "edit/add.cgi".
430 (www-display-char-desc): Add new optional argument `simple';
431 display "Edit" and "New Account" buttons when running with simple
432 mode; display "Simple" button when running with edit mode.
433 (www-batch-view): Modify to support mode.
435 * cwiki-common.el (chise-wiki-edit-url): Changed to "edit.cgi".
436 (www-format-value): Add new optional argument `without-edit';
437 modify for `www-format-apply-value'.
438 (www-format-apply-value): Add new optional argument
439 `without-edit'; modify for `www-format-eval-list'.
440 (www-format-eval-feature-value): Add new optional arguments
441 `without-tags' and `without-edit'; modify for
442 `www-format-apply-value' and `www-format-eval-list'.
443 (www-format-eval-unit):
444 - Add new optional arguments `without-tags' and `without-edit';
445 modify for `www-format-eval-feature-value',
446 `www-format-apply-value' and `www-format-eval-list'.
447 - specify 'without-tags and 'without-edit for
448 `www-format-eval-list' in href part of `link'.
449 (www-format-eval-list): Add new optional arguments `without-tags'
450 and `without-edit'; modify for `www-format-eval-unit'.
452 2010-04-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
454 * cwiki-common.el (www-format-eval-unit): Treat `string' as a
455 format specifier of feature-value.
457 2010-04-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
459 * cwiki-common.el (www-format-props-to-string): When `:len' is
460 specified, treat `:zero-padding' is specified.
462 2010-04-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
464 * cwiki-common.el (www-uri-encode-char): Use `=ruimoku-v6'.
465 (www-format-encode-string): Display `=ruimoku-v6' characters.
467 * cwiki-glyph.el (www-glyph-generate-png): Support `=ruimoku-v6'.
468 (www-glyph-display-png): Support RUI6-hhhh;
470 2010-04-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
472 * cwiki-common.el (www-uri-encode-char): Accept `=>zinbun-oracle'.
473 (www-format-encode-string):
474 - Display &A-ZOB-dddd;.
475 - Support `ideographic-combination'(合文) and
476 `ideographic-structure'.
478 2010-04-01 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
480 * cwiki-view.el (www-batch-view): Accept
481 "?char=&ENTITY-REFERENCE;".
483 2010-03-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
485 * cwiki-view.el (www-display-char-desc): Use
486 `char-feature-name-sans-versions' to avoid domain `$rev=latest'
487 when sort feature-names.
489 2010-03-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
491 * cwiki-common.el (www-format-value-as-domain-list): New function.
492 (www-format-apply-value): Support `space-separated-domain-list'.
493 (char-GlyphWiki-id): Try to avoid uHHHH-{u|us}.
495 2010-03-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
497 * cwiki-common.el (coded-charset-GlyphWiki-id-alist): Add setting
498 for `=ucs@jis', `=jis-x0208@1978/-4pr' and `=jis-x0208@1978'.
499 (char-GlyphWiki-id): Use `char-feature' instead of `encode-char'.
501 2010-03-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
503 * cwiki-view.el (www-display-char-desc): Add input form for CHISE
506 2010-03-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
508 * cwiki-view.el (www-display-char-desc): Try to display glyph of
509 GlyphWiki and link it.
511 * cwiki-common.el (coded-charset-GlyphWiki-id-alist): New
513 (char-GlyphWiki-id): New function.
515 2010-03-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
517 * cwiki-set.el (www-parse-string-as-kangxi-radical): New function.
518 (www-feature-parse-string): Support format `kangxi-radical'.
520 * cwiki-common.el (www-format-value-as-kangxi-radical): New
522 (www-format-apply-value): Support format `kangxi-radical'.
523 (www-format-eval-unit): Support `kangxi-radical' as a value
526 2010-03-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
528 * cwiki-common.el (www-format-value-default): New function.
529 (www-format-encode-string):
530 - Prefer `=gt' to `=cns11643-{1..7}'.
531 - Display &(G-)GT-Kddddd; entity references.
532 (www-format-apply-value):
533 - New implementation for format `string'.
534 - Use `www-format-value-default' for default format.
536 * cwiki-glyph.el (www-glyph-generate-png): Support `=gt-k'.
537 (www-glyph-display-png): Support GT-Kddddd.
539 * cwiki-set.el (www-parse-string-default): New implementation.
540 (www-set-display-feature-desc):
541 - New argument `format'.
542 - Display `value-format'.
543 (www-batch-set): Modify for the API change to set feature's
546 * cwiki-view.el (www-display-char-desc): Display parents in the
548 (www-display-feature-desc): Use `www-format-value' with default
549 format instead of `www-xml-format-list' and
550 `www-format-encode-string'.
552 * cwiki-edit.el (www-edit-display-feature-input-box): Add new
553 optional argument `value'.
554 (www-edit-display-feature-desc):
555 - Use `www-edit-display-feature-input-box' instead of
556 `www-edit-display-input-box'.
557 - Display `value-format'.
559 2010-03-19 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
561 * cwiki-view.el (www-display-feature-desc): Display [edit] button
564 2010-03-19 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
566 * cwiki-common.el (www-xml-format-unit): Escape `&'.
568 2010-03-19 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
570 * cwiki-common.el (www-format-encode-string): Display
572 (www-xml-format-props): Encode property value.
573 (www-xml-format-unit): Encode string.
575 * cwiki-edit.el (www-edit-display-feature-input-box): Escape <">.
577 * cwiki-view.el (www-display-feature-desc): Modify design of
580 2010-03-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
582 * cwiki-set.el (www-xml-to-stext-unit): Support
583 <link><ref>...</ref>...</link>.
585 * cwiki-common.el (www-xml-format-unit): Support tag style `ref'
588 * cwiki-view.el (www-display-feature-desc): Display `value-format'
591 2010-03-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
593 * cwiki-common.el (www-format-feature-name-as-metadata): New
595 (www-format-feature-name*): Use
596 `www-format-feature-name-as-metadata' for metadata features.
598 2010-03-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
600 * cwiki-set.el (www-xml-parse-string): New function.
601 (www-xml-to-stext-props): New function.
602 (www-xml-to-stext-unit): New function.
603 (www-xml-to-stext-list): New function.
604 (www-stext-parse-xml-string): New function.
605 (www-parse-string-as-wiki-text): Use `www-stext-parse-xml-string'.
607 * cwiki-edit.el (www-edit-display-char-feature-default): Abolish.
608 (www-edit-display-char-feature-as-ucs): Abolish.
609 (www-edit-display-input-box): Add the first argument `object';
610 modify for `www-format-apply-value'.
611 (www-edit-display-feature-input-box): Modify input boxes; modify
612 for `www-format-value'.
613 (www-edit-display-feature-desc): Modify for
614 `www-edit-display-input-box'.
616 * cwiki-common.el (www-format-value): Add the first argument
617 `object' and the second argument `feature-name'; change argument
618 `variable' to be optional; modify for `www-format-apply-value'.
619 (www-format-apply-value): Add the first argument `object' and the
620 second argument `feature-name'; support format `wiki-text'.
621 (www-format-eval-feature-value): Modify for
622 `www-format-apply-value'.
623 (www-format-eval-unit): Likewise.
624 (www-xml-format-props): New function.
625 (www-xml-format-unit): New function.
626 (www-xml-format-list): New function.
628 2010-03-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
630 * cwiki-set.el (www-set-display-char-desc):
631 - Setup property `additional-features' of feature `$object' when
632 feature value is stored.
633 - Mount additional-features.
635 * cwiki-view.el (www-char-display-feature-default): Abolished.
636 (www-char-display-feature-as-ucs): Abolished.
637 (www-display-char-desc): Mount additional-features.
639 * cwiki-common.el (www-feature-type): Support `*node' and
641 (www-feature-value-format): Return `wiki-text' for type `stext'.
642 (www-format-apply-value): Don't set `default' even if a format is
643 not supported in this function.
645 2010-03-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
647 * cwiki-set.el (www-parse-string-as-wiki-text): New function
648 [currently just a stub].
649 (www-feature-parse-string): Use `www-parse-string-as-wiki-text'.
650 (www-set-display-char-desc): Use
651 `char-feature-name-sans-versions'.
653 * cwiki-edit.el (www-edit-display-feature-input-box): New
655 (www-edit-display-char-desc): Use
656 `www-edit-display-feature-input-box'.
658 * cwiki-view.el (www-display-char-desc): Use
659 `char-feature-name-sans-versions'.
661 * cwiki-common.el (char-feature-name-sans-versions): New function.
663 2010-03-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
665 * cwiki-set.el (www-set-display-char-desc): Store new value into
666 FEATURE@$rev=latest; don't display `$rev=latest' domain features.
668 * cwiki-edit.el (www-edit-display-char-feature-default): Use
669 `www-char-feature' instead of `char-feature'.
670 (www-edit-display-char-feature-as-ucs): Likewise.
671 (www-edit-display-char-desc): Likewise; replace value of char-spec
672 with value of `www-char-feature'.
674 * cwiki-view.el (www-char-display-feature-default): Use
675 `www-char-feature' instead of `char-feature'.
676 (www-char-display-feature-as-ucs): Likewise.
677 (www-display-char-desc): Ignore `$rev=latest' domain features.
679 * cwiki-common.el (char-feature-name-at-domain): New function.
680 (www-char-feature): New function.
681 (www-format-encode-string): Use `www-char-feature' instead of
683 (www-format-eval-feature-value): Likewise.
684 (www-format-eval-unit): Likewise.
686 2010-03-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
688 * cwiki-set.el (www-parse-string-default): New function.
689 (www-feature-parse-string):
690 - Support new format `string'.
691 - Use `www-parse-string-default' for `default'.
693 2010-03-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
695 * cwiki-common.el (chise-wiki-glyph-cgi-url): New variable.
696 (www-uri-encode-char): Support `=>>gt'.
697 (www-format-encode-string):
698 - Use GT, Big5 and Big5-CDP fonts.
699 - Use http://www.unicode.org/cgi-bin/refglyph?24-hhhh to display
700 `=ucs@unicode' glyphs.
701 - Display &MCS-hhhhhhhh; with using child's glyph.
703 * cwiki-glyph.el: New file.
705 2010-03-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
707 * cwiki-common.el (chise-wiki-bitmap-glyphs-url): Renamed from
708 `chise-wiki-glyphs-url'.
709 (www-format-encode-string):
710 - Use `chise-wiki-bitmap-glyphs-url' instead of
711 `chise-wiki-glyphs-url'.
712 - Display &JC3-hhhh; and &ZOB-dddd;.
714 2010-03-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
716 * cwiki-edit.el (www-edit-display-feature-desc): Use
717 `www-format-feature-name*' instead of `www-format-feature-name'.
719 * cwiki-common.el (www-uri-decode-char):
721 - Prefer `=>jis-x0208' and `=>jis-x0213-1' to `=big5' and
723 - Fix problem when no CCSes are found.
724 (www-format-feature-name*): New function.
725 (www-format-feature-name): Use `www-format-feature-name*'.
727 2010-03-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
729 * cwiki-set.el (www-parse-string-as-space-separated-char-list):
730 Expect `string' to be encoded as URI.
731 (www-parse-string-as-space-separated-ids): Likewise.
732 (www-feature-parse-string): Likewise.
733 (www-set-display-char-desc): Expect `uri-char' to be encoded as
735 (www-set-display-feature-desc): Fix problem when `name@lang' is
737 (www-batch-set): Don't use `decode-uri-string' for value of `char'
740 * cwiki-edit.el (www-edit-display-char-desc): Expect `uri-char' to
742 (www-batch-edit): Don't use `decode-uri-string' for value of
745 * cwiki-view.el (www-display-char-desc): Expect `uri-char' to be
746 encoded as URI; encode `uri-char' if it is a non-encoded
748 (www-batch-view): Don't use `decode-uri-string' for value of
751 * cwiki-common.el (www-uri-decode-char): Expect char-rep to be
753 (www-uri-encode-char): Encode UCS characters as %XX encoding.
754 (www-format-feature-name-as-CCS): Insert space between
755 prefix (..., ===>, ==>, =>, =>>, =>>>, ..., =) and main-name.
756 (www-html-display-text): Don't escape "&" except ">-".
758 2010-03-16 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
760 * cwiki-set.el (www-parse-string-as-space-separated-ids): New
762 (www-parse-string-as-ku-ten): New function.
763 (www-feature-parse-string): Support `space-separated-ids' and
766 2010-03-16 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
768 * cwiki-common.el (www-feature-value-format): Return
769 'space-separated-ids for `structure' type features.
770 (www-format-value-as-ids): New function.
771 (www-format-apply-value): Use `www-format-value-as-ids' for format
772 `space-separated-ids'.
774 2010-03-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
776 * cwiki-common.el, cwiki-edit.el, cwiki-set.el, cwiki-view.el: New