1 2010-11-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3 * cwiki-view.el (www-display-object-desc): Use
4 `www-uri-encode-object' instead of `www-uri-encode-char'.
5 (www-batch-view): Likewise.
7 * cwiki-common.el (www-uri-encode-object): Renamed from
9 (www-format-value-as-char-list): Use `www-uri-encode-object'
10 instead of `www-uri-encode-char'.
11 (www-format-value-as-ids): Likewise.
12 (www-format-eval-unit): Likewise.
14 2010-11-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
16 * cwiki-common.el (www-uri-encode-char): Support non-character
18 (www-format-value-as-char-list): Add link and readable
19 presentation for non-character object.
21 2010-11-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
23 * cwiki-set.el (www-batch-set): Encode `xemacs-chise-version'.
25 * cwiki-add.el (www-batch-add): Encode `xemacs-chise-version'.
27 * cwiki-edit.el (www-batch-edit): Encode `xemacs-chise-version'.
29 * cwiki-view.el (www-batch-view): Encode (emacs-version).
31 2010-11-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
33 * cwiki-common.el (www-format-apply-value): Rename argument
34 `uri-char' to `uri-object'.
35 (www-format-eval-feature-value): Rename argument `char' and
36 `uri-char' to `object' and `uri-object'.
37 (www-format-eval-unit): Likewise.
38 (www-format-eval-list): Likewise.
40 2010-10-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
42 * cwiki-view.el (www-display-object-desc): New function.
44 * cwiki-common.el (est-format-object): New function.
46 2010-10-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
48 * cwiki-common.el (www-get-genre): Abolished.
49 (www-get-feature-value): Don't use `www-get-genre'.
51 2010-10-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
54 - Set `file-name-coding-system' to 'utf-8-mcs-er.
55 - Add settings to assign genres of Ruimoku.
56 (www-get-feature-value): Modify for non-character genres.
57 (www-uri-decode-object): Use `www-uri-decode-feature-name' for
58 objects of `feature' genre.
60 * cwiki-view.el (www-display-object-desc): Fix problem when
61 `object' is not a character.
62 (www-batch-view): Support general genres.
64 2010-09-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
66 * cwiki-common.el (www-get-genre): New function.
67 (www-get-feature-value): Renamed from `www-char-feature'.
68 (www-uri-decode-object): Renamed from `www-uri-decode-char'; add
71 * cwiki-view.el (www-display-object-desc): Renamed from
72 `www-display-char-desc'; add new argument `genre'.
74 * cwiki-add.el (www-add-display-char-desc): Use
75 `www-uri-decode-object' instead of `www-uri-decode-char'.
77 * cwiki-set.el (www-parse-string-as-space-separated-char-list):
78 Use `www-uri-decode-object' instead of `www-uri-decode-char'.
79 (www-parse-string-as-space-separated-ids): Likewise.
80 (www-set-display-char-desc): Likewise; use `www-get-feature-value'
81 instead of `www-char-feature'.
83 * cwiki-edit.el (www-edit-display-feature-input-box): Use
84 `www-get-feature-value' instead of `www-char-feature'.
85 (www-edit-display-char-desc): Use `www-uri-decode-object' instead
86 of `www-uri-decode-char'.
88 2010-09-13 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
90 * cwiki-add.el: New file.
92 2010-04-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
94 * cwiki-view.el (www-display-char-desc): Use
95 `chise-wiki-displayed-features' instead of `displayed-features'.
97 * cwiki-common.el (chise-wiki-displayed-features): New variable.
98 (char-feature-name-at-domain): Fix problem when `domain' is nil.
99 (char-feature-name-domain): New function.
100 (www-uri-make-feature-name-url): New function.
101 (www-format-props-to-string): Fix problem when :len's value is
103 (www-format-eval-unit):
104 - When :feature is specified, prefer FEATURE@DOMAIN to FEATURE.
105 - When :feature is specified in value related format functions,
106 add the displayed feature-name to
107 `chise-wiki-displayed-features'.
108 - Support `name-url' and `domain-name'.
110 2010-04-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
112 * cwiki-view.el (www-display-feature-desc): Fix problem to display
113 non-ASCII characters in property `format'.
115 2010-04-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
117 * cwiki-view.el (www-display-char-desc): Use `www-feature-format'.
118 (www-display-feature-desc): Ditto.
120 * cwiki-common.el (www-feature-format): New function.
121 (www-format-eval-unit): Support `:feature' property for `value'
122 related functions and `name' function.
124 2010-04-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
126 * cwiki-common.el (www-feature-value-format): Search ancestors'
127 property if own property is not found.
128 (char-feature-name-parent): New function.
129 (www-format-feature-name*): Search ancestors' property if own
130 property is not found.
132 2010-04-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
134 * cwiki-edit.el (www-edit-display-feature-desc): Display and
135 support editing of property `format'.
137 * cwiki-common.el (find-previous-defined-code-point): Fix problem
140 * cwiki-view.el (www-display-feature-desc): Add edit button for
143 2010-04-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
145 * cwiki-common.el (www-feature-value-format): Add
146 `(prev-char) (next-char)' into default format of CCS feature.
147 (get-previous-code-point): New function.
148 (get-next-code-point): New function.
149 (find-previous-defined-code-point): New function.
150 (find-next-defined-code-point): New function.
151 (www-format-eval-unit): Support `prev-char' and `next-char'.
153 2010-04-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
155 * cwiki-view.el (www-display-char-desc): Don't display "add
156 feature" button when running with simple mode.
158 2010-04-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
160 * cwiki-set.el (www-set-display-feature-desc): Refer
161 `chise-wiki-view-url'.
163 2010-04-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
165 * cwiki-view.el (www-display-feature-desc): Add new optional
166 argument `simple'; display "Edit" and "New Account" buttons when
167 running with simple mode; display "Simple" button when running
169 (www-batch-view): Modify for `www-display-feature-desc' to support
172 2010-04-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
174 * cwiki-view.el (www-display-char-desc): Use <div> instead of <p>
175 to display feature in top-level.
177 2010-04-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
179 * cwiki-set.el (chise-wiki-view-url): Use "view.cgi" instead of
182 * cwiki-edit.el (chise-wiki-view-url): Use "view.cgi" instead of
185 * cwiki-view.el (chise-wiki-edit-url): Use "edit.cgi" instead of
187 (chise-wiki-add-url): Use "add.cgi" instead of "edit/add.cgi".
188 (www-display-char-desc): Add new optional argument `simple';
189 display "Edit" and "New Account" buttons when running with simple
190 mode; display "Simple" button when running with edit mode.
191 (www-batch-view): Modify to support mode.
193 * cwiki-common.el (chise-wiki-edit-url): Changed to "edit.cgi".
194 (www-format-value): Add new optional argument `without-edit';
195 modify for `www-format-apply-value'.
196 (www-format-apply-value): Add new optional argument
197 `without-edit'; modify for `www-format-eval-list'.
198 (www-format-eval-feature-value): Add new optional arguments
199 `without-tags' and `without-edit'; modify for
200 `www-format-apply-value' and `www-format-eval-list'.
201 (www-format-eval-unit):
202 - Add new optional arguments `without-tags' and `without-edit';
203 modify for `www-format-eval-feature-value',
204 `www-format-apply-value' and `www-format-eval-list'.
205 - specify 'without-tags and 'without-edit for
206 `www-format-eval-list' in href part of `link'.
207 (www-format-eval-list): Add new optional arguments `without-tags'
208 and `without-edit'; modify for `www-format-eval-unit'.
210 2010-04-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
212 * cwiki-common.el (www-format-eval-unit): Treat `string' as a
213 format specifier of feature-value.
215 2010-04-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
217 * cwiki-common.el (www-format-props-to-string): When `:len' is
218 specified, treat `:zero-padding' is specified.
220 2010-04-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
222 * cwiki-common.el (www-uri-encode-char): Use `=ruimoku-v6'.
223 (www-format-encode-string): Display `=ruimoku-v6' characters.
225 * cwiki-glyph.el (www-glyph-generate-png): Support `=ruimoku-v6'.
226 (www-glyph-display-png): Support RUI6-hhhh;
228 2010-04-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
230 * cwiki-common.el (www-uri-encode-char): Accept `=>zinbun-oracle'.
231 (www-format-encode-string):
232 - Display &A-ZOB-dddd;.
233 - Support `ideographic-combination'(合文) and
234 `ideographic-structure'.
236 2010-04-01 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
238 * cwiki-view.el (www-batch-view): Accept
239 "?char=&ENTITY-REFERENCE;".
241 2010-03-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
243 * cwiki-view.el (www-display-char-desc): Use
244 `char-feature-name-sans-versions' to avoid domain `$rev=latest'
245 when sort feature-names.
247 2010-03-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
249 * cwiki-common.el (www-format-value-as-domain-list): New function.
250 (www-format-apply-value): Support `space-separated-domain-list'.
251 (char-GlyphWiki-id): Try to avoid uHHHH-{u|us}.
253 2010-03-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
255 * cwiki-common.el (coded-charset-GlyphWiki-id-alist): Add setting
256 for `=ucs@jis', `=jis-x0208@1978/-4pr' and `=jis-x0208@1978'.
257 (char-GlyphWiki-id): Use `char-feature' instead of `encode-char'.
259 2010-03-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
261 * cwiki-view.el (www-display-char-desc): Add input form for CHISE
264 2010-03-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
266 * cwiki-view.el (www-display-char-desc): Try to display glyph of
267 GlyphWiki and link it.
269 * cwiki-common.el (coded-charset-GlyphWiki-id-alist): New
271 (char-GlyphWiki-id): New function.
273 2010-03-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
275 * cwiki-set.el (www-parse-string-as-kangxi-radical): New function.
276 (www-feature-parse-string): Support format `kangxi-radical'.
278 * cwiki-common.el (www-format-value-as-kangxi-radical): New
280 (www-format-apply-value): Support format `kangxi-radical'.
281 (www-format-eval-unit): Support `kangxi-radical' as a value
284 2010-03-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
286 * cwiki-common.el (www-format-value-default): New function.
287 (www-format-encode-string):
288 - Prefer `=gt' to `=cns11643-{1..7}'.
289 - Display &(G-)GT-Kddddd; entity references.
290 (www-format-apply-value):
291 - New implementation for format `string'.
292 - Use `www-format-value-default' for default format.
294 * cwiki-glyph.el (www-glyph-generate-png): Support `=gt-k'.
295 (www-glyph-display-png): Support GT-Kddddd.
297 * cwiki-set.el (www-parse-string-default): New implementation.
298 (www-set-display-feature-desc):
299 - New argument `format'.
300 - Display `value-format'.
301 (www-batch-set): Modify for the API change to set feature's
304 * cwiki-view.el (www-display-char-desc): Display parents in the
306 (www-display-feature-desc): Use `www-format-value' with default
307 format instead of `www-xml-format-list' and
308 `www-format-encode-string'.
310 * cwiki-edit.el (www-edit-display-feature-input-box): Add new
311 optional argument `value'.
312 (www-edit-display-feature-desc):
313 - Use `www-edit-display-feature-input-box' instead of
314 `www-edit-display-input-box'.
315 - Display `value-format'.
317 2010-03-19 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
319 * cwiki-view.el (www-display-feature-desc): Display [edit] button
322 2010-03-19 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
324 * cwiki-common.el (www-xml-format-unit): Escape `&'.
326 2010-03-19 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
328 * cwiki-common.el (www-format-encode-string): Display
330 (www-xml-format-props): Encode property value.
331 (www-xml-format-unit): Encode string.
333 * cwiki-edit.el (www-edit-display-feature-input-box): Escape <">.
335 * cwiki-view.el (www-display-feature-desc): Modify design of
338 2010-03-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
340 * cwiki-set.el (www-xml-to-stext-unit): Support
341 <link><ref>...</ref>...</link>.
343 * cwiki-common.el (www-xml-format-unit): Support tag style `ref'
346 * cwiki-view.el (www-display-feature-desc): Display `value-format'
349 2010-03-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
351 * cwiki-common.el (www-format-feature-name-as-metadata): New
353 (www-format-feature-name*): Use
354 `www-format-feature-name-as-metadata' for metadata features.
356 2010-03-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
358 * cwiki-set.el (www-xml-parse-string): New function.
359 (www-xml-to-stext-props): New function.
360 (www-xml-to-stext-unit): New function.
361 (www-xml-to-stext-list): New function.
362 (www-stext-parse-xml-string): New function.
363 (www-parse-string-as-wiki-text): Use `www-stext-parse-xml-string'.
365 * cwiki-edit.el (www-edit-display-char-feature-default): Abolish.
366 (www-edit-display-char-feature-as-ucs): Abolish.
367 (www-edit-display-input-box): Add the first argument `object';
368 modify for `www-format-apply-value'.
369 (www-edit-display-feature-input-box): Modify input boxes; modify
370 for `www-format-value'.
371 (www-edit-display-feature-desc): Modify for
372 `www-edit-display-input-box'.
374 * cwiki-common.el (www-format-value): Add the first argument
375 `object' and the second argument `feature-name'; change argument
376 `variable' to be optional; modify for `www-format-apply-value'.
377 (www-format-apply-value): Add the first argument `object' and the
378 second argument `feature-name'; support format `wiki-text'.
379 (www-format-eval-feature-value): Modify for
380 `www-format-apply-value'.
381 (www-format-eval-unit): Likewise.
382 (www-xml-format-props): New function.
383 (www-xml-format-unit): New function.
384 (www-xml-format-list): New function.
386 2010-03-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
388 * cwiki-set.el (www-set-display-char-desc):
389 - Setup property `additional-features' of feature `$object' when
390 feature value is stored.
391 - Mount additional-features.
393 * cwiki-view.el (www-char-display-feature-default): Abolished.
394 (www-char-display-feature-as-ucs): Abolished.
395 (www-display-char-desc): Mount additional-features.
397 * cwiki-common.el (www-feature-type): Support `*node' and
399 (www-feature-value-format): Return `wiki-text' for type `stext'.
400 (www-format-apply-value): Don't set `default' even if a format is
401 not supported in this function.
403 2010-03-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
405 * cwiki-set.el (www-parse-string-as-wiki-text): New function
406 [currently just a stub].
407 (www-feature-parse-string): Use `www-parse-string-as-wiki-text'.
408 (www-set-display-char-desc): Use
409 `char-feature-name-sans-versions'.
411 * cwiki-edit.el (www-edit-display-feature-input-box): New
413 (www-edit-display-char-desc): Use
414 `www-edit-display-feature-input-box'.
416 * cwiki-view.el (www-display-char-desc): Use
417 `char-feature-name-sans-versions'.
419 * cwiki-common.el (char-feature-name-sans-versions): New function.
421 2010-03-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
423 * cwiki-set.el (www-set-display-char-desc): Store new value into
424 FEATURE@$rev=latest; don't display `$rev=latest' domain features.
426 * cwiki-edit.el (www-edit-display-char-feature-default): Use
427 `www-char-feature' instead of `char-feature'.
428 (www-edit-display-char-feature-as-ucs): Likewise.
429 (www-edit-display-char-desc): Likewise; replace value of char-spec
430 with value of `www-char-feature'.
432 * cwiki-view.el (www-char-display-feature-default): Use
433 `www-char-feature' instead of `char-feature'.
434 (www-char-display-feature-as-ucs): Likewise.
435 (www-display-char-desc): Ignore `$rev=latest' domain features.
437 * cwiki-common.el (char-feature-name-at-domain): New function.
438 (www-char-feature): New function.
439 (www-format-encode-string): Use `www-char-feature' instead of
441 (www-format-eval-feature-value): Likewise.
442 (www-format-eval-unit): Likewise.
444 2010-03-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
446 * cwiki-set.el (www-parse-string-default): New function.
447 (www-feature-parse-string):
448 - Support new format `string'.
449 - Use `www-parse-string-default' for `default'.
451 2010-03-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
453 * cwiki-common.el (chise-wiki-glyph-cgi-url): New variable.
454 (www-uri-encode-char): Support `=>>gt'.
455 (www-format-encode-string):
456 - Use GT, Big5 and Big5-CDP fonts.
457 - Use http://www.unicode.org/cgi-bin/refglyph?24-hhhh to display
458 `=ucs@unicode' glyphs.
459 - Display &MCS-hhhhhhhh; with using child's glyph.
461 * cwiki-glyph.el: New file.
463 2010-03-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
465 * cwiki-common.el (chise-wiki-bitmap-glyphs-url): Renamed from
466 `chise-wiki-glyphs-url'.
467 (www-format-encode-string):
468 - Use `chise-wiki-bitmap-glyphs-url' instead of
469 `chise-wiki-glyphs-url'.
470 - Display &JC3-hhhh; and &ZOB-dddd;.
472 2010-03-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
474 * cwiki-edit.el (www-edit-display-feature-desc): Use
475 `www-format-feature-name*' instead of `www-format-feature-name'.
477 * cwiki-common.el (www-uri-decode-char):
479 - Prefer `=>jis-x0208' and `=>jis-x0213-1' to `=big5' and
481 - Fix problem when no CCSes are found.
482 (www-format-feature-name*): New function.
483 (www-format-feature-name): Use `www-format-feature-name*'.
485 2010-03-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
487 * cwiki-set.el (www-parse-string-as-space-separated-char-list):
488 Expect `string' to be encoded as URI.
489 (www-parse-string-as-space-separated-ids): Likewise.
490 (www-feature-parse-string): Likewise.
491 (www-set-display-char-desc): Expect `uri-char' to be encoded as
493 (www-set-display-feature-desc): Fix problem when `name@lang' is
495 (www-batch-set): Don't use `decode-uri-string' for value of `char'
498 * cwiki-edit.el (www-edit-display-char-desc): Expect `uri-char' to
500 (www-batch-edit): Don't use `decode-uri-string' for value of
503 * cwiki-view.el (www-display-char-desc): Expect `uri-char' to be
504 encoded as URI; encode `uri-char' if it is a non-encoded
506 (www-batch-view): Don't use `decode-uri-string' for value of
509 * cwiki-common.el (www-uri-decode-char): Expect char-rep to be
511 (www-uri-encode-char): Encode UCS characters as %XX encoding.
512 (www-format-feature-name-as-CCS): Insert space between
513 prefix (..., ===>, ==>, =>, =>>, =>>>, ..., =) and main-name.
514 (www-html-display-text): Don't escape "&" except ">-".
516 2010-03-16 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
518 * cwiki-set.el (www-parse-string-as-space-separated-ids): New
520 (www-parse-string-as-ku-ten): New function.
521 (www-feature-parse-string): Support `space-separated-ids' and
524 2010-03-16 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
526 * cwiki-common.el (www-feature-value-format): Return
527 'space-separated-ids for `structure' type features.
528 (www-format-value-as-ids): New function.
529 (www-format-apply-value): Use `www-format-value-as-ids' for format
530 `space-separated-ids'.
532 2010-03-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
534 * cwiki-common.el, cwiki-edit.el, cwiki-set.el, cwiki-view.el: New