1 2010-11-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3 * cwiki-common.el: Assign new genre `region@ruimoku'.
5 2010-11-16 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
7 * cwiki-view.el (www-display-object-desc): Don't display CHISE
8 IDS-Find for non-character object.
10 * cwiki-common.el: Modify genres of ruimoku.
12 2010-11-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
14 * cwiki-view.el (www-display-object-desc): Use
15 `www-uri-encode-object' instead of `www-uri-encode-char'.
16 (www-batch-view): Likewise.
18 * cwiki-common.el (www-uri-encode-object): Renamed from
19 `www-uri-encode-char'.
20 (www-format-value-as-char-list): Use `www-uri-encode-object'
21 instead of `www-uri-encode-char'.
22 (www-format-value-as-ids): Likewise.
23 (www-format-eval-unit): Likewise.
25 2010-11-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
27 * cwiki-common.el (www-uri-encode-char): Support non-character
29 (www-format-value-as-char-list): Add link and readable
30 presentation for non-character object.
32 2010-11-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
34 * cwiki-set.el (www-batch-set): Encode `xemacs-chise-version'.
36 * cwiki-add.el (www-batch-add): Encode `xemacs-chise-version'.
38 * cwiki-edit.el (www-batch-edit): Encode `xemacs-chise-version'.
40 * cwiki-view.el (www-batch-view): Encode (emacs-version).
42 2010-11-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
44 * cwiki-common.el (www-format-apply-value): Rename argument
45 `uri-char' to `uri-object'.
46 (www-format-eval-feature-value): Rename argument `char' and
47 `uri-char' to `object' and `uri-object'.
48 (www-format-eval-unit): Likewise.
49 (www-format-eval-list): Likewise.
51 2010-10-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
53 * cwiki-view.el (www-display-object-desc): New function.
55 * cwiki-common.el (est-format-object): New function.
57 2010-10-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
59 * cwiki-common.el (www-get-genre): Abolished.
60 (www-get-feature-value): Don't use `www-get-genre'.
62 2010-10-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
65 - Set `file-name-coding-system' to 'utf-8-mcs-er.
66 - Add settings to assign genres of Ruimoku.
67 (www-get-feature-value): Modify for non-character genres.
68 (www-uri-decode-object): Use `www-uri-decode-feature-name' for
69 objects of `feature' genre.
71 * cwiki-view.el (www-display-object-desc): Fix problem when
72 `object' is not a character.
73 (www-batch-view): Support general genres.
75 2010-09-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
77 * cwiki-common.el (www-get-genre): New function.
78 (www-get-feature-value): Renamed from `www-char-feature'.
79 (www-uri-decode-object): Renamed from `www-uri-decode-char'; add
82 * cwiki-view.el (www-display-object-desc): Renamed from
83 `www-display-char-desc'; add new argument `genre'.
85 * cwiki-add.el (www-add-display-char-desc): Use
86 `www-uri-decode-object' instead of `www-uri-decode-char'.
88 * cwiki-set.el (www-parse-string-as-space-separated-char-list):
89 Use `www-uri-decode-object' instead of `www-uri-decode-char'.
90 (www-parse-string-as-space-separated-ids): Likewise.
91 (www-set-display-char-desc): Likewise; use `www-get-feature-value'
92 instead of `www-char-feature'.
94 * cwiki-edit.el (www-edit-display-feature-input-box): Use
95 `www-get-feature-value' instead of `www-char-feature'.
96 (www-edit-display-char-desc): Use `www-uri-decode-object' instead
97 of `www-uri-decode-char'.
99 2010-09-13 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
101 * cwiki-add.el: New file.
103 2010-04-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
105 * cwiki-view.el (www-display-char-desc): Use
106 `chise-wiki-displayed-features' instead of `displayed-features'.
108 * cwiki-common.el (chise-wiki-displayed-features): New variable.
109 (char-feature-name-at-domain): Fix problem when `domain' is nil.
110 (char-feature-name-domain): New function.
111 (www-uri-make-feature-name-url): New function.
112 (www-format-props-to-string): Fix problem when :len's value is
114 (www-format-eval-unit):
115 - When :feature is specified, prefer FEATURE@DOMAIN to FEATURE.
116 - When :feature is specified in value related format functions,
117 add the displayed feature-name to
118 `chise-wiki-displayed-features'.
119 - Support `name-url' and `domain-name'.
121 2010-04-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
123 * cwiki-view.el (www-display-feature-desc): Fix problem to display
124 non-ASCII characters in property `format'.
126 2010-04-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
128 * cwiki-view.el (www-display-char-desc): Use `www-feature-format'.
129 (www-display-feature-desc): Ditto.
131 * cwiki-common.el (www-feature-format): New function.
132 (www-format-eval-unit): Support `:feature' property for `value'
133 related functions and `name' function.
135 2010-04-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
137 * cwiki-common.el (www-feature-value-format): Search ancestors'
138 property if own property is not found.
139 (char-feature-name-parent): New function.
140 (www-format-feature-name*): Search ancestors' property if own
141 property is not found.
143 2010-04-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
145 * cwiki-edit.el (www-edit-display-feature-desc): Display and
146 support editing of property `format'.
148 * cwiki-common.el (find-previous-defined-code-point): Fix problem
151 * cwiki-view.el (www-display-feature-desc): Add edit button for
154 2010-04-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
156 * cwiki-common.el (www-feature-value-format): Add
157 `(prev-char) (next-char)' into default format of CCS feature.
158 (get-previous-code-point): New function.
159 (get-next-code-point): New function.
160 (find-previous-defined-code-point): New function.
161 (find-next-defined-code-point): New function.
162 (www-format-eval-unit): Support `prev-char' and `next-char'.
164 2010-04-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
166 * cwiki-view.el (www-display-char-desc): Don't display "add
167 feature" button when running with simple mode.
169 2010-04-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
171 * cwiki-set.el (www-set-display-feature-desc): Refer
172 `chise-wiki-view-url'.
174 2010-04-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
176 * cwiki-view.el (www-display-feature-desc): Add new optional
177 argument `simple'; display "Edit" and "New Account" buttons when
178 running with simple mode; display "Simple" button when running
180 (www-batch-view): Modify for `www-display-feature-desc' to support
183 2010-04-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
185 * cwiki-view.el (www-display-char-desc): Use <div> instead of <p>
186 to display feature in top-level.
188 2010-04-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
190 * cwiki-set.el (chise-wiki-view-url): Use "view.cgi" instead of
193 * cwiki-edit.el (chise-wiki-view-url): Use "view.cgi" instead of
196 * cwiki-view.el (chise-wiki-edit-url): Use "edit.cgi" instead of
198 (chise-wiki-add-url): Use "add.cgi" instead of "edit/add.cgi".
199 (www-display-char-desc): Add new optional argument `simple';
200 display "Edit" and "New Account" buttons when running with simple
201 mode; display "Simple" button when running with edit mode.
202 (www-batch-view): Modify to support mode.
204 * cwiki-common.el (chise-wiki-edit-url): Changed to "edit.cgi".
205 (www-format-value): Add new optional argument `without-edit';
206 modify for `www-format-apply-value'.
207 (www-format-apply-value): Add new optional argument
208 `without-edit'; modify for `www-format-eval-list'.
209 (www-format-eval-feature-value): Add new optional arguments
210 `without-tags' and `without-edit'; modify for
211 `www-format-apply-value' and `www-format-eval-list'.
212 (www-format-eval-unit):
213 - Add new optional arguments `without-tags' and `without-edit';
214 modify for `www-format-eval-feature-value',
215 `www-format-apply-value' and `www-format-eval-list'.
216 - specify 'without-tags and 'without-edit for
217 `www-format-eval-list' in href part of `link'.
218 (www-format-eval-list): Add new optional arguments `without-tags'
219 and `without-edit'; modify for `www-format-eval-unit'.
221 2010-04-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
223 * cwiki-common.el (www-format-eval-unit): Treat `string' as a
224 format specifier of feature-value.
226 2010-04-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
228 * cwiki-common.el (www-format-props-to-string): When `:len' is
229 specified, treat `:zero-padding' is specified.
231 2010-04-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
233 * cwiki-common.el (www-uri-encode-char): Use `=ruimoku-v6'.
234 (www-format-encode-string): Display `=ruimoku-v6' characters.
236 * cwiki-glyph.el (www-glyph-generate-png): Support `=ruimoku-v6'.
237 (www-glyph-display-png): Support RUI6-hhhh;
239 2010-04-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
241 * cwiki-common.el (www-uri-encode-char): Accept `=>zinbun-oracle'.
242 (www-format-encode-string):
243 - Display &A-ZOB-dddd;.
244 - Support `ideographic-combination'(合文) and
245 `ideographic-structure'.
247 2010-04-01 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
249 * cwiki-view.el (www-batch-view): Accept
250 "?char=&ENTITY-REFERENCE;".
252 2010-03-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
254 * cwiki-view.el (www-display-char-desc): Use
255 `char-feature-name-sans-versions' to avoid domain `$rev=latest'
256 when sort feature-names.
258 2010-03-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
260 * cwiki-common.el (www-format-value-as-domain-list): New function.
261 (www-format-apply-value): Support `space-separated-domain-list'.
262 (char-GlyphWiki-id): Try to avoid uHHHH-{u|us}.
264 2010-03-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
266 * cwiki-common.el (coded-charset-GlyphWiki-id-alist): Add setting
267 for `=ucs@jis', `=jis-x0208@1978/-4pr' and `=jis-x0208@1978'.
268 (char-GlyphWiki-id): Use `char-feature' instead of `encode-char'.
270 2010-03-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
272 * cwiki-view.el (www-display-char-desc): Add input form for CHISE
275 2010-03-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
277 * cwiki-view.el (www-display-char-desc): Try to display glyph of
278 GlyphWiki and link it.
280 * cwiki-common.el (coded-charset-GlyphWiki-id-alist): New
282 (char-GlyphWiki-id): New function.
284 2010-03-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
286 * cwiki-set.el (www-parse-string-as-kangxi-radical): New function.
287 (www-feature-parse-string): Support format `kangxi-radical'.
289 * cwiki-common.el (www-format-value-as-kangxi-radical): New
291 (www-format-apply-value): Support format `kangxi-radical'.
292 (www-format-eval-unit): Support `kangxi-radical' as a value
295 2010-03-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
297 * cwiki-common.el (www-format-value-default): New function.
298 (www-format-encode-string):
299 - Prefer `=gt' to `=cns11643-{1..7}'.
300 - Display &(G-)GT-Kddddd; entity references.
301 (www-format-apply-value):
302 - New implementation for format `string'.
303 - Use `www-format-value-default' for default format.
305 * cwiki-glyph.el (www-glyph-generate-png): Support `=gt-k'.
306 (www-glyph-display-png): Support GT-Kddddd.
308 * cwiki-set.el (www-parse-string-default): New implementation.
309 (www-set-display-feature-desc):
310 - New argument `format'.
311 - Display `value-format'.
312 (www-batch-set): Modify for the API change to set feature's
315 * cwiki-view.el (www-display-char-desc): Display parents in the
317 (www-display-feature-desc): Use `www-format-value' with default
318 format instead of `www-xml-format-list' and
319 `www-format-encode-string'.
321 * cwiki-edit.el (www-edit-display-feature-input-box): Add new
322 optional argument `value'.
323 (www-edit-display-feature-desc):
324 - Use `www-edit-display-feature-input-box' instead of
325 `www-edit-display-input-box'.
326 - Display `value-format'.
328 2010-03-19 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
330 * cwiki-view.el (www-display-feature-desc): Display [edit] button
333 2010-03-19 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
335 * cwiki-common.el (www-xml-format-unit): Escape `&'.
337 2010-03-19 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
339 * cwiki-common.el (www-format-encode-string): Display
341 (www-xml-format-props): Encode property value.
342 (www-xml-format-unit): Encode string.
344 * cwiki-edit.el (www-edit-display-feature-input-box): Escape <">.
346 * cwiki-view.el (www-display-feature-desc): Modify design of
349 2010-03-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
351 * cwiki-set.el (www-xml-to-stext-unit): Support
352 <link><ref>...</ref>...</link>.
354 * cwiki-common.el (www-xml-format-unit): Support tag style `ref'
357 * cwiki-view.el (www-display-feature-desc): Display `value-format'
360 2010-03-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
362 * cwiki-common.el (www-format-feature-name-as-metadata): New
364 (www-format-feature-name*): Use
365 `www-format-feature-name-as-metadata' for metadata features.
367 2010-03-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
369 * cwiki-set.el (www-xml-parse-string): New function.
370 (www-xml-to-stext-props): New function.
371 (www-xml-to-stext-unit): New function.
372 (www-xml-to-stext-list): New function.
373 (www-stext-parse-xml-string): New function.
374 (www-parse-string-as-wiki-text): Use `www-stext-parse-xml-string'.
376 * cwiki-edit.el (www-edit-display-char-feature-default): Abolish.
377 (www-edit-display-char-feature-as-ucs): Abolish.
378 (www-edit-display-input-box): Add the first argument `object';
379 modify for `www-format-apply-value'.
380 (www-edit-display-feature-input-box): Modify input boxes; modify
381 for `www-format-value'.
382 (www-edit-display-feature-desc): Modify for
383 `www-edit-display-input-box'.
385 * cwiki-common.el (www-format-value): Add the first argument
386 `object' and the second argument `feature-name'; change argument
387 `variable' to be optional; modify for `www-format-apply-value'.
388 (www-format-apply-value): Add the first argument `object' and the
389 second argument `feature-name'; support format `wiki-text'.
390 (www-format-eval-feature-value): Modify for
391 `www-format-apply-value'.
392 (www-format-eval-unit): Likewise.
393 (www-xml-format-props): New function.
394 (www-xml-format-unit): New function.
395 (www-xml-format-list): New function.
397 2010-03-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
399 * cwiki-set.el (www-set-display-char-desc):
400 - Setup property `additional-features' of feature `$object' when
401 feature value is stored.
402 - Mount additional-features.
404 * cwiki-view.el (www-char-display-feature-default): Abolished.
405 (www-char-display-feature-as-ucs): Abolished.
406 (www-display-char-desc): Mount additional-features.
408 * cwiki-common.el (www-feature-type): Support `*node' and
410 (www-feature-value-format): Return `wiki-text' for type `stext'.
411 (www-format-apply-value): Don't set `default' even if a format is
412 not supported in this function.
414 2010-03-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
416 * cwiki-set.el (www-parse-string-as-wiki-text): New function
417 [currently just a stub].
418 (www-feature-parse-string): Use `www-parse-string-as-wiki-text'.
419 (www-set-display-char-desc): Use
420 `char-feature-name-sans-versions'.
422 * cwiki-edit.el (www-edit-display-feature-input-box): New
424 (www-edit-display-char-desc): Use
425 `www-edit-display-feature-input-box'.
427 * cwiki-view.el (www-display-char-desc): Use
428 `char-feature-name-sans-versions'.
430 * cwiki-common.el (char-feature-name-sans-versions): New function.
432 2010-03-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
434 * cwiki-set.el (www-set-display-char-desc): Store new value into
435 FEATURE@$rev=latest; don't display `$rev=latest' domain features.
437 * cwiki-edit.el (www-edit-display-char-feature-default): Use
438 `www-char-feature' instead of `char-feature'.
439 (www-edit-display-char-feature-as-ucs): Likewise.
440 (www-edit-display-char-desc): Likewise; replace value of char-spec
441 with value of `www-char-feature'.
443 * cwiki-view.el (www-char-display-feature-default): Use
444 `www-char-feature' instead of `char-feature'.
445 (www-char-display-feature-as-ucs): Likewise.
446 (www-display-char-desc): Ignore `$rev=latest' domain features.
448 * cwiki-common.el (char-feature-name-at-domain): New function.
449 (www-char-feature): New function.
450 (www-format-encode-string): Use `www-char-feature' instead of
452 (www-format-eval-feature-value): Likewise.
453 (www-format-eval-unit): Likewise.
455 2010-03-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
457 * cwiki-set.el (www-parse-string-default): New function.
458 (www-feature-parse-string):
459 - Support new format `string'.
460 - Use `www-parse-string-default' for `default'.
462 2010-03-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
464 * cwiki-common.el (chise-wiki-glyph-cgi-url): New variable.
465 (www-uri-encode-char): Support `=>>gt'.
466 (www-format-encode-string):
467 - Use GT, Big5 and Big5-CDP fonts.
468 - Use http://www.unicode.org/cgi-bin/refglyph?24-hhhh to display
469 `=ucs@unicode' glyphs.
470 - Display &MCS-hhhhhhhh; with using child's glyph.
472 * cwiki-glyph.el: New file.
474 2010-03-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
476 * cwiki-common.el (chise-wiki-bitmap-glyphs-url): Renamed from
477 `chise-wiki-glyphs-url'.
478 (www-format-encode-string):
479 - Use `chise-wiki-bitmap-glyphs-url' instead of
480 `chise-wiki-glyphs-url'.
481 - Display &JC3-hhhh; and &ZOB-dddd;.
483 2010-03-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
485 * cwiki-edit.el (www-edit-display-feature-desc): Use
486 `www-format-feature-name*' instead of `www-format-feature-name'.
488 * cwiki-common.el (www-uri-decode-char):
490 - Prefer `=>jis-x0208' and `=>jis-x0213-1' to `=big5' and
492 - Fix problem when no CCSes are found.
493 (www-format-feature-name*): New function.
494 (www-format-feature-name): Use `www-format-feature-name*'.
496 2010-03-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
498 * cwiki-set.el (www-parse-string-as-space-separated-char-list):
499 Expect `string' to be encoded as URI.
500 (www-parse-string-as-space-separated-ids): Likewise.
501 (www-feature-parse-string): Likewise.
502 (www-set-display-char-desc): Expect `uri-char' to be encoded as
504 (www-set-display-feature-desc): Fix problem when `name@lang' is
506 (www-batch-set): Don't use `decode-uri-string' for value of `char'
509 * cwiki-edit.el (www-edit-display-char-desc): Expect `uri-char' to
511 (www-batch-edit): Don't use `decode-uri-string' for value of
514 * cwiki-view.el (www-display-char-desc): Expect `uri-char' to be
515 encoded as URI; encode `uri-char' if it is a non-encoded
517 (www-batch-view): Don't use `decode-uri-string' for value of
520 * cwiki-common.el (www-uri-decode-char): Expect char-rep to be
522 (www-uri-encode-char): Encode UCS characters as %XX encoding.
523 (www-format-feature-name-as-CCS): Insert space between
524 prefix (..., ===>, ==>, =>, =>>, =>>>, ..., =) and main-name.
525 (www-html-display-text): Don't escape "&" except ">-".
527 2010-03-16 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
529 * cwiki-set.el (www-parse-string-as-space-separated-ids): New
531 (www-parse-string-as-ku-ten): New function.
532 (www-feature-parse-string): Support `space-separated-ids' and
535 2010-03-16 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
537 * cwiki-common.el (www-feature-value-format): Return
538 'space-separated-ids for `structure' type features.
539 (www-format-value-as-ids): New function.
540 (www-format-apply-value): Use `www-format-value-as-ids' for format
541 `space-separated-ids'.
543 2010-03-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
545 * cwiki-common.el, cwiki-edit.el, cwiki-set.el, cwiki-view.el: New