1 2010-11-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3 * cwiki-common.el (www-get-feature-value): Add error-handler for
5 (www-format-value-as-char-list): Refer feature
6 `object-representation-format' instead of `name'.
7 (www-format-apply-value): Modify to edit non-character object.
9 * cwiki-view.el (www-display-object-desc): Modify to edit
11 (www-display-feature-desc): Add new argument `genre'.
13 2010-11-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
15 * cwiki-common.el: Assign new genre `region@ruimoku'.
17 2010-11-16 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
19 * cwiki-view.el (www-display-object-desc): Don't display CHISE
20 IDS-Find for non-character object.
22 * cwiki-common.el: Modify genres of ruimoku.
24 2010-11-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
26 * cwiki-view.el (www-display-object-desc): Use
27 `www-uri-encode-object' instead of `www-uri-encode-char'.
28 (www-batch-view): Likewise.
30 * cwiki-common.el (www-uri-encode-object): Renamed from
31 `www-uri-encode-char'.
32 (www-format-value-as-char-list): Use `www-uri-encode-object'
33 instead of `www-uri-encode-char'.
34 (www-format-value-as-ids): Likewise.
35 (www-format-eval-unit): Likewise.
37 2010-11-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
39 * cwiki-common.el (www-uri-encode-char): Support non-character
41 (www-format-value-as-char-list): Add link and readable
42 presentation for non-character object.
44 2010-11-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
46 * cwiki-set.el (www-batch-set): Encode `xemacs-chise-version'.
48 * cwiki-add.el (www-batch-add): Encode `xemacs-chise-version'.
50 * cwiki-edit.el (www-batch-edit): Encode `xemacs-chise-version'.
52 * cwiki-view.el (www-batch-view): Encode (emacs-version).
54 2010-11-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
56 * cwiki-common.el (www-format-apply-value): Rename argument
57 `uri-char' to `uri-object'.
58 (www-format-eval-feature-value): Rename argument `char' and
59 `uri-char' to `object' and `uri-object'.
60 (www-format-eval-unit): Likewise.
61 (www-format-eval-list): Likewise.
63 2010-10-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
65 * cwiki-view.el (www-display-object-desc): New function.
67 * cwiki-common.el (est-format-object): New function.
69 2010-10-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
71 * cwiki-common.el (www-get-genre): Abolished.
72 (www-get-feature-value): Don't use `www-get-genre'.
74 2010-10-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
77 - Set `file-name-coding-system' to 'utf-8-mcs-er.
78 - Add settings to assign genres of Ruimoku.
79 (www-get-feature-value): Modify for non-character genres.
80 (www-uri-decode-object): Use `www-uri-decode-feature-name' for
81 objects of `feature' genre.
83 * cwiki-view.el (www-display-object-desc): Fix problem when
84 `object' is not a character.
85 (www-batch-view): Support general genres.
87 2010-09-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
89 * cwiki-common.el (www-get-genre): New function.
90 (www-get-feature-value): Renamed from `www-char-feature'.
91 (www-uri-decode-object): Renamed from `www-uri-decode-char'; add
94 * cwiki-view.el (www-display-object-desc): Renamed from
95 `www-display-char-desc'; add new argument `genre'.
97 * cwiki-add.el (www-add-display-char-desc): Use
98 `www-uri-decode-object' instead of `www-uri-decode-char'.
100 * cwiki-set.el (www-parse-string-as-space-separated-char-list):
101 Use `www-uri-decode-object' instead of `www-uri-decode-char'.
102 (www-parse-string-as-space-separated-ids): Likewise.
103 (www-set-display-char-desc): Likewise; use `www-get-feature-value'
104 instead of `www-char-feature'.
106 * cwiki-edit.el (www-edit-display-feature-input-box): Use
107 `www-get-feature-value' instead of `www-char-feature'.
108 (www-edit-display-char-desc): Use `www-uri-decode-object' instead
109 of `www-uri-decode-char'.
111 2010-09-13 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
113 * cwiki-add.el: New file.
115 2010-04-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
117 * cwiki-view.el (www-display-char-desc): Use
118 `chise-wiki-displayed-features' instead of `displayed-features'.
120 * cwiki-common.el (chise-wiki-displayed-features): New variable.
121 (char-feature-name-at-domain): Fix problem when `domain' is nil.
122 (char-feature-name-domain): New function.
123 (www-uri-make-feature-name-url): New function.
124 (www-format-props-to-string): Fix problem when :len's value is
126 (www-format-eval-unit):
127 - When :feature is specified, prefer FEATURE@DOMAIN to FEATURE.
128 - When :feature is specified in value related format functions,
129 add the displayed feature-name to
130 `chise-wiki-displayed-features'.
131 - Support `name-url' and `domain-name'.
133 2010-04-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
135 * cwiki-view.el (www-display-feature-desc): Fix problem to display
136 non-ASCII characters in property `format'.
138 2010-04-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
140 * cwiki-view.el (www-display-char-desc): Use `www-feature-format'.
141 (www-display-feature-desc): Ditto.
143 * cwiki-common.el (www-feature-format): New function.
144 (www-format-eval-unit): Support `:feature' property for `value'
145 related functions and `name' function.
147 2010-04-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
149 * cwiki-common.el (www-feature-value-format): Search ancestors'
150 property if own property is not found.
151 (char-feature-name-parent): New function.
152 (www-format-feature-name*): Search ancestors' property if own
153 property is not found.
155 2010-04-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
157 * cwiki-edit.el (www-edit-display-feature-desc): Display and
158 support editing of property `format'.
160 * cwiki-common.el (find-previous-defined-code-point): Fix problem
163 * cwiki-view.el (www-display-feature-desc): Add edit button for
166 2010-04-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
168 * cwiki-common.el (www-feature-value-format): Add
169 `(prev-char) (next-char)' into default format of CCS feature.
170 (get-previous-code-point): New function.
171 (get-next-code-point): New function.
172 (find-previous-defined-code-point): New function.
173 (find-next-defined-code-point): New function.
174 (www-format-eval-unit): Support `prev-char' and `next-char'.
176 2010-04-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
178 * cwiki-view.el (www-display-char-desc): Don't display "add
179 feature" button when running with simple mode.
181 2010-04-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
183 * cwiki-set.el (www-set-display-feature-desc): Refer
184 `chise-wiki-view-url'.
186 2010-04-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
188 * cwiki-view.el (www-display-feature-desc): Add new optional
189 argument `simple'; display "Edit" and "New Account" buttons when
190 running with simple mode; display "Simple" button when running
192 (www-batch-view): Modify for `www-display-feature-desc' to support
195 2010-04-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
197 * cwiki-view.el (www-display-char-desc): Use <div> instead of <p>
198 to display feature in top-level.
200 2010-04-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
202 * cwiki-set.el (chise-wiki-view-url): Use "view.cgi" instead of
205 * cwiki-edit.el (chise-wiki-view-url): Use "view.cgi" instead of
208 * cwiki-view.el (chise-wiki-edit-url): Use "edit.cgi" instead of
210 (chise-wiki-add-url): Use "add.cgi" instead of "edit/add.cgi".
211 (www-display-char-desc): Add new optional argument `simple';
212 display "Edit" and "New Account" buttons when running with simple
213 mode; display "Simple" button when running with edit mode.
214 (www-batch-view): Modify to support mode.
216 * cwiki-common.el (chise-wiki-edit-url): Changed to "edit.cgi".
217 (www-format-value): Add new optional argument `without-edit';
218 modify for `www-format-apply-value'.
219 (www-format-apply-value): Add new optional argument
220 `without-edit'; modify for `www-format-eval-list'.
221 (www-format-eval-feature-value): Add new optional arguments
222 `without-tags' and `without-edit'; modify for
223 `www-format-apply-value' and `www-format-eval-list'.
224 (www-format-eval-unit):
225 - Add new optional arguments `without-tags' and `without-edit';
226 modify for `www-format-eval-feature-value',
227 `www-format-apply-value' and `www-format-eval-list'.
228 - specify 'without-tags and 'without-edit for
229 `www-format-eval-list' in href part of `link'.
230 (www-format-eval-list): Add new optional arguments `without-tags'
231 and `without-edit'; modify for `www-format-eval-unit'.
233 2010-04-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
235 * cwiki-common.el (www-format-eval-unit): Treat `string' as a
236 format specifier of feature-value.
238 2010-04-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
240 * cwiki-common.el (www-format-props-to-string): When `:len' is
241 specified, treat `:zero-padding' is specified.
243 2010-04-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
245 * cwiki-common.el (www-uri-encode-char): Use `=ruimoku-v6'.
246 (www-format-encode-string): Display `=ruimoku-v6' characters.
248 * cwiki-glyph.el (www-glyph-generate-png): Support `=ruimoku-v6'.
249 (www-glyph-display-png): Support RUI6-hhhh;
251 2010-04-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
253 * cwiki-common.el (www-uri-encode-char): Accept `=>zinbun-oracle'.
254 (www-format-encode-string):
255 - Display &A-ZOB-dddd;.
256 - Support `ideographic-combination'(合文) and
257 `ideographic-structure'.
259 2010-04-01 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
261 * cwiki-view.el (www-batch-view): Accept
262 "?char=&ENTITY-REFERENCE;".
264 2010-03-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
266 * cwiki-view.el (www-display-char-desc): Use
267 `char-feature-name-sans-versions' to avoid domain `$rev=latest'
268 when sort feature-names.
270 2010-03-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
272 * cwiki-common.el (www-format-value-as-domain-list): New function.
273 (www-format-apply-value): Support `space-separated-domain-list'.
274 (char-GlyphWiki-id): Try to avoid uHHHH-{u|us}.
276 2010-03-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
278 * cwiki-common.el (coded-charset-GlyphWiki-id-alist): Add setting
279 for `=ucs@jis', `=jis-x0208@1978/-4pr' and `=jis-x0208@1978'.
280 (char-GlyphWiki-id): Use `char-feature' instead of `encode-char'.
282 2010-03-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
284 * cwiki-view.el (www-display-char-desc): Add input form for CHISE
287 2010-03-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
289 * cwiki-view.el (www-display-char-desc): Try to display glyph of
290 GlyphWiki and link it.
292 * cwiki-common.el (coded-charset-GlyphWiki-id-alist): New
294 (char-GlyphWiki-id): New function.
296 2010-03-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
298 * cwiki-set.el (www-parse-string-as-kangxi-radical): New function.
299 (www-feature-parse-string): Support format `kangxi-radical'.
301 * cwiki-common.el (www-format-value-as-kangxi-radical): New
303 (www-format-apply-value): Support format `kangxi-radical'.
304 (www-format-eval-unit): Support `kangxi-radical' as a value
307 2010-03-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
309 * cwiki-common.el (www-format-value-default): New function.
310 (www-format-encode-string):
311 - Prefer `=gt' to `=cns11643-{1..7}'.
312 - Display &(G-)GT-Kddddd; entity references.
313 (www-format-apply-value):
314 - New implementation for format `string'.
315 - Use `www-format-value-default' for default format.
317 * cwiki-glyph.el (www-glyph-generate-png): Support `=gt-k'.
318 (www-glyph-display-png): Support GT-Kddddd.
320 * cwiki-set.el (www-parse-string-default): New implementation.
321 (www-set-display-feature-desc):
322 - New argument `format'.
323 - Display `value-format'.
324 (www-batch-set): Modify for the API change to set feature's
327 * cwiki-view.el (www-display-char-desc): Display parents in the
329 (www-display-feature-desc): Use `www-format-value' with default
330 format instead of `www-xml-format-list' and
331 `www-format-encode-string'.
333 * cwiki-edit.el (www-edit-display-feature-input-box): Add new
334 optional argument `value'.
335 (www-edit-display-feature-desc):
336 - Use `www-edit-display-feature-input-box' instead of
337 `www-edit-display-input-box'.
338 - Display `value-format'.
340 2010-03-19 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
342 * cwiki-view.el (www-display-feature-desc): Display [edit] button
345 2010-03-19 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
347 * cwiki-common.el (www-xml-format-unit): Escape `&'.
349 2010-03-19 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
351 * cwiki-common.el (www-format-encode-string): Display
353 (www-xml-format-props): Encode property value.
354 (www-xml-format-unit): Encode string.
356 * cwiki-edit.el (www-edit-display-feature-input-box): Escape <">.
358 * cwiki-view.el (www-display-feature-desc): Modify design of
361 2010-03-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
363 * cwiki-set.el (www-xml-to-stext-unit): Support
364 <link><ref>...</ref>...</link>.
366 * cwiki-common.el (www-xml-format-unit): Support tag style `ref'
369 * cwiki-view.el (www-display-feature-desc): Display `value-format'
372 2010-03-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
374 * cwiki-common.el (www-format-feature-name-as-metadata): New
376 (www-format-feature-name*): Use
377 `www-format-feature-name-as-metadata' for metadata features.
379 2010-03-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
381 * cwiki-set.el (www-xml-parse-string): New function.
382 (www-xml-to-stext-props): New function.
383 (www-xml-to-stext-unit): New function.
384 (www-xml-to-stext-list): New function.
385 (www-stext-parse-xml-string): New function.
386 (www-parse-string-as-wiki-text): Use `www-stext-parse-xml-string'.
388 * cwiki-edit.el (www-edit-display-char-feature-default): Abolish.
389 (www-edit-display-char-feature-as-ucs): Abolish.
390 (www-edit-display-input-box): Add the first argument `object';
391 modify for `www-format-apply-value'.
392 (www-edit-display-feature-input-box): Modify input boxes; modify
393 for `www-format-value'.
394 (www-edit-display-feature-desc): Modify for
395 `www-edit-display-input-box'.
397 * cwiki-common.el (www-format-value): Add the first argument
398 `object' and the second argument `feature-name'; change argument
399 `variable' to be optional; modify for `www-format-apply-value'.
400 (www-format-apply-value): Add the first argument `object' and the
401 second argument `feature-name'; support format `wiki-text'.
402 (www-format-eval-feature-value): Modify for
403 `www-format-apply-value'.
404 (www-format-eval-unit): Likewise.
405 (www-xml-format-props): New function.
406 (www-xml-format-unit): New function.
407 (www-xml-format-list): New function.
409 2010-03-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
411 * cwiki-set.el (www-set-display-char-desc):
412 - Setup property `additional-features' of feature `$object' when
413 feature value is stored.
414 - Mount additional-features.
416 * cwiki-view.el (www-char-display-feature-default): Abolished.
417 (www-char-display-feature-as-ucs): Abolished.
418 (www-display-char-desc): Mount additional-features.
420 * cwiki-common.el (www-feature-type): Support `*node' and
422 (www-feature-value-format): Return `wiki-text' for type `stext'.
423 (www-format-apply-value): Don't set `default' even if a format is
424 not supported in this function.
426 2010-03-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
428 * cwiki-set.el (www-parse-string-as-wiki-text): New function
429 [currently just a stub].
430 (www-feature-parse-string): Use `www-parse-string-as-wiki-text'.
431 (www-set-display-char-desc): Use
432 `char-feature-name-sans-versions'.
434 * cwiki-edit.el (www-edit-display-feature-input-box): New
436 (www-edit-display-char-desc): Use
437 `www-edit-display-feature-input-box'.
439 * cwiki-view.el (www-display-char-desc): Use
440 `char-feature-name-sans-versions'.
442 * cwiki-common.el (char-feature-name-sans-versions): New function.
444 2010-03-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
446 * cwiki-set.el (www-set-display-char-desc): Store new value into
447 FEATURE@$rev=latest; don't display `$rev=latest' domain features.
449 * cwiki-edit.el (www-edit-display-char-feature-default): Use
450 `www-char-feature' instead of `char-feature'.
451 (www-edit-display-char-feature-as-ucs): Likewise.
452 (www-edit-display-char-desc): Likewise; replace value of char-spec
453 with value of `www-char-feature'.
455 * cwiki-view.el (www-char-display-feature-default): Use
456 `www-char-feature' instead of `char-feature'.
457 (www-char-display-feature-as-ucs): Likewise.
458 (www-display-char-desc): Ignore `$rev=latest' domain features.
460 * cwiki-common.el (char-feature-name-at-domain): New function.
461 (www-char-feature): New function.
462 (www-format-encode-string): Use `www-char-feature' instead of
464 (www-format-eval-feature-value): Likewise.
465 (www-format-eval-unit): Likewise.
467 2010-03-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
469 * cwiki-set.el (www-parse-string-default): New function.
470 (www-feature-parse-string):
471 - Support new format `string'.
472 - Use `www-parse-string-default' for `default'.
474 2010-03-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
476 * cwiki-common.el (chise-wiki-glyph-cgi-url): New variable.
477 (www-uri-encode-char): Support `=>>gt'.
478 (www-format-encode-string):
479 - Use GT, Big5 and Big5-CDP fonts.
480 - Use http://www.unicode.org/cgi-bin/refglyph?24-hhhh to display
481 `=ucs@unicode' glyphs.
482 - Display &MCS-hhhhhhhh; with using child's glyph.
484 * cwiki-glyph.el: New file.
486 2010-03-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
488 * cwiki-common.el (chise-wiki-bitmap-glyphs-url): Renamed from
489 `chise-wiki-glyphs-url'.
490 (www-format-encode-string):
491 - Use `chise-wiki-bitmap-glyphs-url' instead of
492 `chise-wiki-glyphs-url'.
493 - Display &JC3-hhhh; and &ZOB-dddd;.
495 2010-03-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
497 * cwiki-edit.el (www-edit-display-feature-desc): Use
498 `www-format-feature-name*' instead of `www-format-feature-name'.
500 * cwiki-common.el (www-uri-decode-char):
502 - Prefer `=>jis-x0208' and `=>jis-x0213-1' to `=big5' and
504 - Fix problem when no CCSes are found.
505 (www-format-feature-name*): New function.
506 (www-format-feature-name): Use `www-format-feature-name*'.
508 2010-03-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
510 * cwiki-set.el (www-parse-string-as-space-separated-char-list):
511 Expect `string' to be encoded as URI.
512 (www-parse-string-as-space-separated-ids): Likewise.
513 (www-feature-parse-string): Likewise.
514 (www-set-display-char-desc): Expect `uri-char' to be encoded as
516 (www-set-display-feature-desc): Fix problem when `name@lang' is
518 (www-batch-set): Don't use `decode-uri-string' for value of `char'
521 * cwiki-edit.el (www-edit-display-char-desc): Expect `uri-char' to
523 (www-batch-edit): Don't use `decode-uri-string' for value of
526 * cwiki-view.el (www-display-char-desc): Expect `uri-char' to be
527 encoded as URI; encode `uri-char' if it is a non-encoded
529 (www-batch-view): Don't use `decode-uri-string' for value of
532 * cwiki-common.el (www-uri-decode-char): Expect char-rep to be
534 (www-uri-encode-char): Encode UCS characters as %XX encoding.
535 (www-format-feature-name-as-CCS): Insert space between
536 prefix (..., ===>, ==>, =>, =>>, =>>>, ..., =) and main-name.
537 (www-html-display-text): Don't escape "&" except ">-".
539 2010-03-16 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
541 * cwiki-set.el (www-parse-string-as-space-separated-ids): New
543 (www-parse-string-as-ku-ten): New function.
544 (www-feature-parse-string): Support `space-separated-ids' and
547 2010-03-16 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
549 * cwiki-common.el (www-feature-value-format): Return
550 'space-separated-ids for `structure' type features.
551 (www-format-value-as-ids): New function.
552 (www-format-apply-value): Use `www-format-value-as-ids' for format
553 `space-separated-ids'.
555 2010-03-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
557 * cwiki-common.el, cwiki-edit.el, cwiki-set.el, cwiki-view.el: New