1 2010-11-16 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3 * cwiki-common.el: Modify genres of ruimoku.
5 2010-11-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
7 * cwiki-view.el (www-display-object-desc): Use
8 `www-uri-encode-object' instead of `www-uri-encode-char'.
9 (www-batch-view): Likewise.
11 * cwiki-common.el (www-uri-encode-object): Renamed from
12 `www-uri-encode-char'.
13 (www-format-value-as-char-list): Use `www-uri-encode-object'
14 instead of `www-uri-encode-char'.
15 (www-format-value-as-ids): Likewise.
16 (www-format-eval-unit): Likewise.
18 2010-11-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
20 * cwiki-common.el (www-uri-encode-char): Support non-character
22 (www-format-value-as-char-list): Add link and readable
23 presentation for non-character object.
25 2010-11-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
27 * cwiki-set.el (www-batch-set): Encode `xemacs-chise-version'.
29 * cwiki-add.el (www-batch-add): Encode `xemacs-chise-version'.
31 * cwiki-edit.el (www-batch-edit): Encode `xemacs-chise-version'.
33 * cwiki-view.el (www-batch-view): Encode (emacs-version).
35 2010-11-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
37 * cwiki-common.el (www-format-apply-value): Rename argument
38 `uri-char' to `uri-object'.
39 (www-format-eval-feature-value): Rename argument `char' and
40 `uri-char' to `object' and `uri-object'.
41 (www-format-eval-unit): Likewise.
42 (www-format-eval-list): Likewise.
44 2010-10-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
46 * cwiki-view.el (www-display-object-desc): New function.
48 * cwiki-common.el (est-format-object): New function.
50 2010-10-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
52 * cwiki-common.el (www-get-genre): Abolished.
53 (www-get-feature-value): Don't use `www-get-genre'.
55 2010-10-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
58 - Set `file-name-coding-system' to 'utf-8-mcs-er.
59 - Add settings to assign genres of Ruimoku.
60 (www-get-feature-value): Modify for non-character genres.
61 (www-uri-decode-object): Use `www-uri-decode-feature-name' for
62 objects of `feature' genre.
64 * cwiki-view.el (www-display-object-desc): Fix problem when
65 `object' is not a character.
66 (www-batch-view): Support general genres.
68 2010-09-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
70 * cwiki-common.el (www-get-genre): New function.
71 (www-get-feature-value): Renamed from `www-char-feature'.
72 (www-uri-decode-object): Renamed from `www-uri-decode-char'; add
75 * cwiki-view.el (www-display-object-desc): Renamed from
76 `www-display-char-desc'; add new argument `genre'.
78 * cwiki-add.el (www-add-display-char-desc): Use
79 `www-uri-decode-object' instead of `www-uri-decode-char'.
81 * cwiki-set.el (www-parse-string-as-space-separated-char-list):
82 Use `www-uri-decode-object' instead of `www-uri-decode-char'.
83 (www-parse-string-as-space-separated-ids): Likewise.
84 (www-set-display-char-desc): Likewise; use `www-get-feature-value'
85 instead of `www-char-feature'.
87 * cwiki-edit.el (www-edit-display-feature-input-box): Use
88 `www-get-feature-value' instead of `www-char-feature'.
89 (www-edit-display-char-desc): Use `www-uri-decode-object' instead
90 of `www-uri-decode-char'.
92 2010-09-13 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
94 * cwiki-add.el: New file.
96 2010-04-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
98 * cwiki-view.el (www-display-char-desc): Use
99 `chise-wiki-displayed-features' instead of `displayed-features'.
101 * cwiki-common.el (chise-wiki-displayed-features): New variable.
102 (char-feature-name-at-domain): Fix problem when `domain' is nil.
103 (char-feature-name-domain): New function.
104 (www-uri-make-feature-name-url): New function.
105 (www-format-props-to-string): Fix problem when :len's value is
107 (www-format-eval-unit):
108 - When :feature is specified, prefer FEATURE@DOMAIN to FEATURE.
109 - When :feature is specified in value related format functions,
110 add the displayed feature-name to
111 `chise-wiki-displayed-features'.
112 - Support `name-url' and `domain-name'.
114 2010-04-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
116 * cwiki-view.el (www-display-feature-desc): Fix problem to display
117 non-ASCII characters in property `format'.
119 2010-04-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
121 * cwiki-view.el (www-display-char-desc): Use `www-feature-format'.
122 (www-display-feature-desc): Ditto.
124 * cwiki-common.el (www-feature-format): New function.
125 (www-format-eval-unit): Support `:feature' property for `value'
126 related functions and `name' function.
128 2010-04-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
130 * cwiki-common.el (www-feature-value-format): Search ancestors'
131 property if own property is not found.
132 (char-feature-name-parent): New function.
133 (www-format-feature-name*): Search ancestors' property if own
134 property is not found.
136 2010-04-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
138 * cwiki-edit.el (www-edit-display-feature-desc): Display and
139 support editing of property `format'.
141 * cwiki-common.el (find-previous-defined-code-point): Fix problem
144 * cwiki-view.el (www-display-feature-desc): Add edit button for
147 2010-04-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
149 * cwiki-common.el (www-feature-value-format): Add
150 `(prev-char) (next-char)' into default format of CCS feature.
151 (get-previous-code-point): New function.
152 (get-next-code-point): New function.
153 (find-previous-defined-code-point): New function.
154 (find-next-defined-code-point): New function.
155 (www-format-eval-unit): Support `prev-char' and `next-char'.
157 2010-04-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
159 * cwiki-view.el (www-display-char-desc): Don't display "add
160 feature" button when running with simple mode.
162 2010-04-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
164 * cwiki-set.el (www-set-display-feature-desc): Refer
165 `chise-wiki-view-url'.
167 2010-04-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
169 * cwiki-view.el (www-display-feature-desc): Add new optional
170 argument `simple'; display "Edit" and "New Account" buttons when
171 running with simple mode; display "Simple" button when running
173 (www-batch-view): Modify for `www-display-feature-desc' to support
176 2010-04-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
178 * cwiki-view.el (www-display-char-desc): Use <div> instead of <p>
179 to display feature in top-level.
181 2010-04-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
183 * cwiki-set.el (chise-wiki-view-url): Use "view.cgi" instead of
186 * cwiki-edit.el (chise-wiki-view-url): Use "view.cgi" instead of
189 * cwiki-view.el (chise-wiki-edit-url): Use "edit.cgi" instead of
191 (chise-wiki-add-url): Use "add.cgi" instead of "edit/add.cgi".
192 (www-display-char-desc): Add new optional argument `simple';
193 display "Edit" and "New Account" buttons when running with simple
194 mode; display "Simple" button when running with edit mode.
195 (www-batch-view): Modify to support mode.
197 * cwiki-common.el (chise-wiki-edit-url): Changed to "edit.cgi".
198 (www-format-value): Add new optional argument `without-edit';
199 modify for `www-format-apply-value'.
200 (www-format-apply-value): Add new optional argument
201 `without-edit'; modify for `www-format-eval-list'.
202 (www-format-eval-feature-value): Add new optional arguments
203 `without-tags' and `without-edit'; modify for
204 `www-format-apply-value' and `www-format-eval-list'.
205 (www-format-eval-unit):
206 - Add new optional arguments `without-tags' and `without-edit';
207 modify for `www-format-eval-feature-value',
208 `www-format-apply-value' and `www-format-eval-list'.
209 - specify 'without-tags and 'without-edit for
210 `www-format-eval-list' in href part of `link'.
211 (www-format-eval-list): Add new optional arguments `without-tags'
212 and `without-edit'; modify for `www-format-eval-unit'.
214 2010-04-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
216 * cwiki-common.el (www-format-eval-unit): Treat `string' as a
217 format specifier of feature-value.
219 2010-04-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
221 * cwiki-common.el (www-format-props-to-string): When `:len' is
222 specified, treat `:zero-padding' is specified.
224 2010-04-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
226 * cwiki-common.el (www-uri-encode-char): Use `=ruimoku-v6'.
227 (www-format-encode-string): Display `=ruimoku-v6' characters.
229 * cwiki-glyph.el (www-glyph-generate-png): Support `=ruimoku-v6'.
230 (www-glyph-display-png): Support RUI6-hhhh;
232 2010-04-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
234 * cwiki-common.el (www-uri-encode-char): Accept `=>zinbun-oracle'.
235 (www-format-encode-string):
236 - Display &A-ZOB-dddd;.
237 - Support `ideographic-combination'(合文) and
238 `ideographic-structure'.
240 2010-04-01 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
242 * cwiki-view.el (www-batch-view): Accept
243 "?char=&ENTITY-REFERENCE;".
245 2010-03-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
247 * cwiki-view.el (www-display-char-desc): Use
248 `char-feature-name-sans-versions' to avoid domain `$rev=latest'
249 when sort feature-names.
251 2010-03-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
253 * cwiki-common.el (www-format-value-as-domain-list): New function.
254 (www-format-apply-value): Support `space-separated-domain-list'.
255 (char-GlyphWiki-id): Try to avoid uHHHH-{u|us}.
257 2010-03-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
259 * cwiki-common.el (coded-charset-GlyphWiki-id-alist): Add setting
260 for `=ucs@jis', `=jis-x0208@1978/-4pr' and `=jis-x0208@1978'.
261 (char-GlyphWiki-id): Use `char-feature' instead of `encode-char'.
263 2010-03-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
265 * cwiki-view.el (www-display-char-desc): Add input form for CHISE
268 2010-03-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
270 * cwiki-view.el (www-display-char-desc): Try to display glyph of
271 GlyphWiki and link it.
273 * cwiki-common.el (coded-charset-GlyphWiki-id-alist): New
275 (char-GlyphWiki-id): New function.
277 2010-03-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
279 * cwiki-set.el (www-parse-string-as-kangxi-radical): New function.
280 (www-feature-parse-string): Support format `kangxi-radical'.
282 * cwiki-common.el (www-format-value-as-kangxi-radical): New
284 (www-format-apply-value): Support format `kangxi-radical'.
285 (www-format-eval-unit): Support `kangxi-radical' as a value
288 2010-03-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
290 * cwiki-common.el (www-format-value-default): New function.
291 (www-format-encode-string):
292 - Prefer `=gt' to `=cns11643-{1..7}'.
293 - Display &(G-)GT-Kddddd; entity references.
294 (www-format-apply-value):
295 - New implementation for format `string'.
296 - Use `www-format-value-default' for default format.
298 * cwiki-glyph.el (www-glyph-generate-png): Support `=gt-k'.
299 (www-glyph-display-png): Support GT-Kddddd.
301 * cwiki-set.el (www-parse-string-default): New implementation.
302 (www-set-display-feature-desc):
303 - New argument `format'.
304 - Display `value-format'.
305 (www-batch-set): Modify for the API change to set feature's
308 * cwiki-view.el (www-display-char-desc): Display parents in the
310 (www-display-feature-desc): Use `www-format-value' with default
311 format instead of `www-xml-format-list' and
312 `www-format-encode-string'.
314 * cwiki-edit.el (www-edit-display-feature-input-box): Add new
315 optional argument `value'.
316 (www-edit-display-feature-desc):
317 - Use `www-edit-display-feature-input-box' instead of
318 `www-edit-display-input-box'.
319 - Display `value-format'.
321 2010-03-19 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
323 * cwiki-view.el (www-display-feature-desc): Display [edit] button
326 2010-03-19 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
328 * cwiki-common.el (www-xml-format-unit): Escape `&'.
330 2010-03-19 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
332 * cwiki-common.el (www-format-encode-string): Display
334 (www-xml-format-props): Encode property value.
335 (www-xml-format-unit): Encode string.
337 * cwiki-edit.el (www-edit-display-feature-input-box): Escape <">.
339 * cwiki-view.el (www-display-feature-desc): Modify design of
342 2010-03-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
344 * cwiki-set.el (www-xml-to-stext-unit): Support
345 <link><ref>...</ref>...</link>.
347 * cwiki-common.el (www-xml-format-unit): Support tag style `ref'
350 * cwiki-view.el (www-display-feature-desc): Display `value-format'
353 2010-03-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
355 * cwiki-common.el (www-format-feature-name-as-metadata): New
357 (www-format-feature-name*): Use
358 `www-format-feature-name-as-metadata' for metadata features.
360 2010-03-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
362 * cwiki-set.el (www-xml-parse-string): New function.
363 (www-xml-to-stext-props): New function.
364 (www-xml-to-stext-unit): New function.
365 (www-xml-to-stext-list): New function.
366 (www-stext-parse-xml-string): New function.
367 (www-parse-string-as-wiki-text): Use `www-stext-parse-xml-string'.
369 * cwiki-edit.el (www-edit-display-char-feature-default): Abolish.
370 (www-edit-display-char-feature-as-ucs): Abolish.
371 (www-edit-display-input-box): Add the first argument `object';
372 modify for `www-format-apply-value'.
373 (www-edit-display-feature-input-box): Modify input boxes; modify
374 for `www-format-value'.
375 (www-edit-display-feature-desc): Modify for
376 `www-edit-display-input-box'.
378 * cwiki-common.el (www-format-value): Add the first argument
379 `object' and the second argument `feature-name'; change argument
380 `variable' to be optional; modify for `www-format-apply-value'.
381 (www-format-apply-value): Add the first argument `object' and the
382 second argument `feature-name'; support format `wiki-text'.
383 (www-format-eval-feature-value): Modify for
384 `www-format-apply-value'.
385 (www-format-eval-unit): Likewise.
386 (www-xml-format-props): New function.
387 (www-xml-format-unit): New function.
388 (www-xml-format-list): New function.
390 2010-03-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
392 * cwiki-set.el (www-set-display-char-desc):
393 - Setup property `additional-features' of feature `$object' when
394 feature value is stored.
395 - Mount additional-features.
397 * cwiki-view.el (www-char-display-feature-default): Abolished.
398 (www-char-display-feature-as-ucs): Abolished.
399 (www-display-char-desc): Mount additional-features.
401 * cwiki-common.el (www-feature-type): Support `*node' and
403 (www-feature-value-format): Return `wiki-text' for type `stext'.
404 (www-format-apply-value): Don't set `default' even if a format is
405 not supported in this function.
407 2010-03-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
409 * cwiki-set.el (www-parse-string-as-wiki-text): New function
410 [currently just a stub].
411 (www-feature-parse-string): Use `www-parse-string-as-wiki-text'.
412 (www-set-display-char-desc): Use
413 `char-feature-name-sans-versions'.
415 * cwiki-edit.el (www-edit-display-feature-input-box): New
417 (www-edit-display-char-desc): Use
418 `www-edit-display-feature-input-box'.
420 * cwiki-view.el (www-display-char-desc): Use
421 `char-feature-name-sans-versions'.
423 * cwiki-common.el (char-feature-name-sans-versions): New function.
425 2010-03-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
427 * cwiki-set.el (www-set-display-char-desc): Store new value into
428 FEATURE@$rev=latest; don't display `$rev=latest' domain features.
430 * cwiki-edit.el (www-edit-display-char-feature-default): Use
431 `www-char-feature' instead of `char-feature'.
432 (www-edit-display-char-feature-as-ucs): Likewise.
433 (www-edit-display-char-desc): Likewise; replace value of char-spec
434 with value of `www-char-feature'.
436 * cwiki-view.el (www-char-display-feature-default): Use
437 `www-char-feature' instead of `char-feature'.
438 (www-char-display-feature-as-ucs): Likewise.
439 (www-display-char-desc): Ignore `$rev=latest' domain features.
441 * cwiki-common.el (char-feature-name-at-domain): New function.
442 (www-char-feature): New function.
443 (www-format-encode-string): Use `www-char-feature' instead of
445 (www-format-eval-feature-value): Likewise.
446 (www-format-eval-unit): Likewise.
448 2010-03-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
450 * cwiki-set.el (www-parse-string-default): New function.
451 (www-feature-parse-string):
452 - Support new format `string'.
453 - Use `www-parse-string-default' for `default'.
455 2010-03-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
457 * cwiki-common.el (chise-wiki-glyph-cgi-url): New variable.
458 (www-uri-encode-char): Support `=>>gt'.
459 (www-format-encode-string):
460 - Use GT, Big5 and Big5-CDP fonts.
461 - Use http://www.unicode.org/cgi-bin/refglyph?24-hhhh to display
462 `=ucs@unicode' glyphs.
463 - Display &MCS-hhhhhhhh; with using child's glyph.
465 * cwiki-glyph.el: New file.
467 2010-03-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
469 * cwiki-common.el (chise-wiki-bitmap-glyphs-url): Renamed from
470 `chise-wiki-glyphs-url'.
471 (www-format-encode-string):
472 - Use `chise-wiki-bitmap-glyphs-url' instead of
473 `chise-wiki-glyphs-url'.
474 - Display &JC3-hhhh; and &ZOB-dddd;.
476 2010-03-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
478 * cwiki-edit.el (www-edit-display-feature-desc): Use
479 `www-format-feature-name*' instead of `www-format-feature-name'.
481 * cwiki-common.el (www-uri-decode-char):
483 - Prefer `=>jis-x0208' and `=>jis-x0213-1' to `=big5' and
485 - Fix problem when no CCSes are found.
486 (www-format-feature-name*): New function.
487 (www-format-feature-name): Use `www-format-feature-name*'.
489 2010-03-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
491 * cwiki-set.el (www-parse-string-as-space-separated-char-list):
492 Expect `string' to be encoded as URI.
493 (www-parse-string-as-space-separated-ids): Likewise.
494 (www-feature-parse-string): Likewise.
495 (www-set-display-char-desc): Expect `uri-char' to be encoded as
497 (www-set-display-feature-desc): Fix problem when `name@lang' is
499 (www-batch-set): Don't use `decode-uri-string' for value of `char'
502 * cwiki-edit.el (www-edit-display-char-desc): Expect `uri-char' to
504 (www-batch-edit): Don't use `decode-uri-string' for value of
507 * cwiki-view.el (www-display-char-desc): Expect `uri-char' to be
508 encoded as URI; encode `uri-char' if it is a non-encoded
510 (www-batch-view): Don't use `decode-uri-string' for value of
513 * cwiki-common.el (www-uri-decode-char): Expect char-rep to be
515 (www-uri-encode-char): Encode UCS characters as %XX encoding.
516 (www-format-feature-name-as-CCS): Insert space between
517 prefix (..., ===>, ==>, =>, =>>, =>>>, ..., =) and main-name.
518 (www-html-display-text): Don't escape "&" except ">-".
520 2010-03-16 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
522 * cwiki-set.el (www-parse-string-as-space-separated-ids): New
524 (www-parse-string-as-ku-ten): New function.
525 (www-feature-parse-string): Support `space-separated-ids' and
528 2010-03-16 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
530 * cwiki-common.el (www-feature-value-format): Return
531 'space-separated-ids for `structure' type features.
532 (www-format-value-as-ids): New function.
533 (www-format-apply-value): Use `www-format-value-as-ids' for format
534 `space-separated-ids'.
536 2010-03-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
538 * cwiki-common.el, cwiki-edit.el, cwiki-set.el, cwiki-view.el: New