1 2010-11-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3 * cwiki-common.el (www-uri-encode-char): Support non-character
5 (www-format-value-as-char-list): Add link and readable
6 presentation for non-character object.
8 2010-11-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
10 * cwiki-set.el (www-batch-set): Encode `xemacs-chise-version'.
12 * cwiki-add.el (www-batch-add): Encode `xemacs-chise-version'.
14 * cwiki-edit.el (www-batch-edit): Encode `xemacs-chise-version'.
16 * cwiki-view.el (www-batch-view): Encode (emacs-version).
18 2010-11-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
20 * cwiki-common.el (www-format-apply-value): Rename argument
21 `uri-char' to `uri-object'.
22 (www-format-eval-feature-value): Rename argument `char' and
23 `uri-char' to `object' and `uri-object'.
24 (www-format-eval-unit): Likewise.
25 (www-format-eval-list): Likewise.
27 2010-10-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
29 * cwiki-view.el (www-display-object-desc): New function.
31 * cwiki-common.el (est-format-object): New function.
33 2010-10-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
35 * cwiki-common.el (www-get-genre): Abolished.
36 (www-get-feature-value): Don't use `www-get-genre'.
38 2010-10-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
41 - Set `file-name-coding-system' to 'utf-8-mcs-er.
42 - Add settings to assign genres of Ruimoku.
43 (www-get-feature-value): Modify for non-character genres.
44 (www-uri-decode-object): Use `www-uri-decode-feature-name' for
45 objects of `feature' genre.
47 * cwiki-view.el (www-display-object-desc): Fix problem when
48 `object' is not a character.
49 (www-batch-view): Support general genres.
51 2010-09-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
53 * cwiki-common.el (www-get-genre): New function.
54 (www-get-feature-value): Renamed from `www-char-feature'.
55 (www-uri-decode-object): Renamed from `www-uri-decode-char'; add
58 * cwiki-view.el (www-display-object-desc): Renamed from
59 `www-display-char-desc'; add new argument `genre'.
61 * cwiki-add.el (www-add-display-char-desc): Use
62 `www-uri-decode-object' instead of `www-uri-decode-char'.
64 * cwiki-set.el (www-parse-string-as-space-separated-char-list):
65 Use `www-uri-decode-object' instead of `www-uri-decode-char'.
66 (www-parse-string-as-space-separated-ids): Likewise.
67 (www-set-display-char-desc): Likewise; use `www-get-feature-value'
68 instead of `www-char-feature'.
70 * cwiki-edit.el (www-edit-display-feature-input-box): Use
71 `www-get-feature-value' instead of `www-char-feature'.
72 (www-edit-display-char-desc): Use `www-uri-decode-object' instead
73 of `www-uri-decode-char'.
75 2010-09-13 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
77 * cwiki-add.el: New file.
79 2010-04-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
81 * cwiki-view.el (www-display-char-desc): Use
82 `chise-wiki-displayed-features' instead of `displayed-features'.
84 * cwiki-common.el (chise-wiki-displayed-features): New variable.
85 (char-feature-name-at-domain): Fix problem when `domain' is nil.
86 (char-feature-name-domain): New function.
87 (www-uri-make-feature-name-url): New function.
88 (www-format-props-to-string): Fix problem when :len's value is
90 (www-format-eval-unit):
91 - When :feature is specified, prefer FEATURE@DOMAIN to FEATURE.
92 - When :feature is specified in value related format functions,
93 add the displayed feature-name to
94 `chise-wiki-displayed-features'.
95 - Support `name-url' and `domain-name'.
97 2010-04-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
99 * cwiki-view.el (www-display-feature-desc): Fix problem to display
100 non-ASCII characters in property `format'.
102 2010-04-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
104 * cwiki-view.el (www-display-char-desc): Use `www-feature-format'.
105 (www-display-feature-desc): Ditto.
107 * cwiki-common.el (www-feature-format): New function.
108 (www-format-eval-unit): Support `:feature' property for `value'
109 related functions and `name' function.
111 2010-04-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
113 * cwiki-common.el (www-feature-value-format): Search ancestors'
114 property if own property is not found.
115 (char-feature-name-parent): New function.
116 (www-format-feature-name*): Search ancestors' property if own
117 property is not found.
119 2010-04-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
121 * cwiki-edit.el (www-edit-display-feature-desc): Display and
122 support editing of property `format'.
124 * cwiki-common.el (find-previous-defined-code-point): Fix problem
127 * cwiki-view.el (www-display-feature-desc): Add edit button for
130 2010-04-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
132 * cwiki-common.el (www-feature-value-format): Add
133 `(prev-char) (next-char)' into default format of CCS feature.
134 (get-previous-code-point): New function.
135 (get-next-code-point): New function.
136 (find-previous-defined-code-point): New function.
137 (find-next-defined-code-point): New function.
138 (www-format-eval-unit): Support `prev-char' and `next-char'.
140 2010-04-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
142 * cwiki-view.el (www-display-char-desc): Don't display "add
143 feature" button when running with simple mode.
145 2010-04-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
147 * cwiki-set.el (www-set-display-feature-desc): Refer
148 `chise-wiki-view-url'.
150 2010-04-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
152 * cwiki-view.el (www-display-feature-desc): Add new optional
153 argument `simple'; display "Edit" and "New Account" buttons when
154 running with simple mode; display "Simple" button when running
156 (www-batch-view): Modify for `www-display-feature-desc' to support
159 2010-04-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
161 * cwiki-view.el (www-display-char-desc): Use <div> instead of <p>
162 to display feature in top-level.
164 2010-04-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
166 * cwiki-set.el (chise-wiki-view-url): Use "view.cgi" instead of
169 * cwiki-edit.el (chise-wiki-view-url): Use "view.cgi" instead of
172 * cwiki-view.el (chise-wiki-edit-url): Use "edit.cgi" instead of
174 (chise-wiki-add-url): Use "add.cgi" instead of "edit/add.cgi".
175 (www-display-char-desc): Add new optional argument `simple';
176 display "Edit" and "New Account" buttons when running with simple
177 mode; display "Simple" button when running with edit mode.
178 (www-batch-view): Modify to support mode.
180 * cwiki-common.el (chise-wiki-edit-url): Changed to "edit.cgi".
181 (www-format-value): Add new optional argument `without-edit';
182 modify for `www-format-apply-value'.
183 (www-format-apply-value): Add new optional argument
184 `without-edit'; modify for `www-format-eval-list'.
185 (www-format-eval-feature-value): Add new optional arguments
186 `without-tags' and `without-edit'; modify for
187 `www-format-apply-value' and `www-format-eval-list'.
188 (www-format-eval-unit):
189 - Add new optional arguments `without-tags' and `without-edit';
190 modify for `www-format-eval-feature-value',
191 `www-format-apply-value' and `www-format-eval-list'.
192 - specify 'without-tags and 'without-edit for
193 `www-format-eval-list' in href part of `link'.
194 (www-format-eval-list): Add new optional arguments `without-tags'
195 and `without-edit'; modify for `www-format-eval-unit'.
197 2010-04-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
199 * cwiki-common.el (www-format-eval-unit): Treat `string' as a
200 format specifier of feature-value.
202 2010-04-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
204 * cwiki-common.el (www-format-props-to-string): When `:len' is
205 specified, treat `:zero-padding' is specified.
207 2010-04-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
209 * cwiki-common.el (www-uri-encode-char): Use `=ruimoku-v6'.
210 (www-format-encode-string): Display `=ruimoku-v6' characters.
212 * cwiki-glyph.el (www-glyph-generate-png): Support `=ruimoku-v6'.
213 (www-glyph-display-png): Support RUI6-hhhh;
215 2010-04-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
217 * cwiki-common.el (www-uri-encode-char): Accept `=>zinbun-oracle'.
218 (www-format-encode-string):
219 - Display &A-ZOB-dddd;.
220 - Support `ideographic-combination'(合文) and
221 `ideographic-structure'.
223 2010-04-01 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
225 * cwiki-view.el (www-batch-view): Accept
226 "?char=&ENTITY-REFERENCE;".
228 2010-03-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
230 * cwiki-view.el (www-display-char-desc): Use
231 `char-feature-name-sans-versions' to avoid domain `$rev=latest'
232 when sort feature-names.
234 2010-03-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
236 * cwiki-common.el (www-format-value-as-domain-list): New function.
237 (www-format-apply-value): Support `space-separated-domain-list'.
238 (char-GlyphWiki-id): Try to avoid uHHHH-{u|us}.
240 2010-03-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
242 * cwiki-common.el (coded-charset-GlyphWiki-id-alist): Add setting
243 for `=ucs@jis', `=jis-x0208@1978/-4pr' and `=jis-x0208@1978'.
244 (char-GlyphWiki-id): Use `char-feature' instead of `encode-char'.
246 2010-03-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
248 * cwiki-view.el (www-display-char-desc): Add input form for CHISE
251 2010-03-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
253 * cwiki-view.el (www-display-char-desc): Try to display glyph of
254 GlyphWiki and link it.
256 * cwiki-common.el (coded-charset-GlyphWiki-id-alist): New
258 (char-GlyphWiki-id): New function.
260 2010-03-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
262 * cwiki-set.el (www-parse-string-as-kangxi-radical): New function.
263 (www-feature-parse-string): Support format `kangxi-radical'.
265 * cwiki-common.el (www-format-value-as-kangxi-radical): New
267 (www-format-apply-value): Support format `kangxi-radical'.
268 (www-format-eval-unit): Support `kangxi-radical' as a value
271 2010-03-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
273 * cwiki-common.el (www-format-value-default): New function.
274 (www-format-encode-string):
275 - Prefer `=gt' to `=cns11643-{1..7}'.
276 - Display &(G-)GT-Kddddd; entity references.
277 (www-format-apply-value):
278 - New implementation for format `string'.
279 - Use `www-format-value-default' for default format.
281 * cwiki-glyph.el (www-glyph-generate-png): Support `=gt-k'.
282 (www-glyph-display-png): Support GT-Kddddd.
284 * cwiki-set.el (www-parse-string-default): New implementation.
285 (www-set-display-feature-desc):
286 - New argument `format'.
287 - Display `value-format'.
288 (www-batch-set): Modify for the API change to set feature's
291 * cwiki-view.el (www-display-char-desc): Display parents in the
293 (www-display-feature-desc): Use `www-format-value' with default
294 format instead of `www-xml-format-list' and
295 `www-format-encode-string'.
297 * cwiki-edit.el (www-edit-display-feature-input-box): Add new
298 optional argument `value'.
299 (www-edit-display-feature-desc):
300 - Use `www-edit-display-feature-input-box' instead of
301 `www-edit-display-input-box'.
302 - Display `value-format'.
304 2010-03-19 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
306 * cwiki-view.el (www-display-feature-desc): Display [edit] button
309 2010-03-19 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
311 * cwiki-common.el (www-xml-format-unit): Escape `&'.
313 2010-03-19 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
315 * cwiki-common.el (www-format-encode-string): Display
317 (www-xml-format-props): Encode property value.
318 (www-xml-format-unit): Encode string.
320 * cwiki-edit.el (www-edit-display-feature-input-box): Escape <">.
322 * cwiki-view.el (www-display-feature-desc): Modify design of
325 2010-03-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
327 * cwiki-set.el (www-xml-to-stext-unit): Support
328 <link><ref>...</ref>...</link>.
330 * cwiki-common.el (www-xml-format-unit): Support tag style `ref'
333 * cwiki-view.el (www-display-feature-desc): Display `value-format'
336 2010-03-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
338 * cwiki-common.el (www-format-feature-name-as-metadata): New
340 (www-format-feature-name*): Use
341 `www-format-feature-name-as-metadata' for metadata features.
343 2010-03-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
345 * cwiki-set.el (www-xml-parse-string): New function.
346 (www-xml-to-stext-props): New function.
347 (www-xml-to-stext-unit): New function.
348 (www-xml-to-stext-list): New function.
349 (www-stext-parse-xml-string): New function.
350 (www-parse-string-as-wiki-text): Use `www-stext-parse-xml-string'.
352 * cwiki-edit.el (www-edit-display-char-feature-default): Abolish.
353 (www-edit-display-char-feature-as-ucs): Abolish.
354 (www-edit-display-input-box): Add the first argument `object';
355 modify for `www-format-apply-value'.
356 (www-edit-display-feature-input-box): Modify input boxes; modify
357 for `www-format-value'.
358 (www-edit-display-feature-desc): Modify for
359 `www-edit-display-input-box'.
361 * cwiki-common.el (www-format-value): Add the first argument
362 `object' and the second argument `feature-name'; change argument
363 `variable' to be optional; modify for `www-format-apply-value'.
364 (www-format-apply-value): Add the first argument `object' and the
365 second argument `feature-name'; support format `wiki-text'.
366 (www-format-eval-feature-value): Modify for
367 `www-format-apply-value'.
368 (www-format-eval-unit): Likewise.
369 (www-xml-format-props): New function.
370 (www-xml-format-unit): New function.
371 (www-xml-format-list): New function.
373 2010-03-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
375 * cwiki-set.el (www-set-display-char-desc):
376 - Setup property `additional-features' of feature `$object' when
377 feature value is stored.
378 - Mount additional-features.
380 * cwiki-view.el (www-char-display-feature-default): Abolished.
381 (www-char-display-feature-as-ucs): Abolished.
382 (www-display-char-desc): Mount additional-features.
384 * cwiki-common.el (www-feature-type): Support `*node' and
386 (www-feature-value-format): Return `wiki-text' for type `stext'.
387 (www-format-apply-value): Don't set `default' even if a format is
388 not supported in this function.
390 2010-03-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
392 * cwiki-set.el (www-parse-string-as-wiki-text): New function
393 [currently just a stub].
394 (www-feature-parse-string): Use `www-parse-string-as-wiki-text'.
395 (www-set-display-char-desc): Use
396 `char-feature-name-sans-versions'.
398 * cwiki-edit.el (www-edit-display-feature-input-box): New
400 (www-edit-display-char-desc): Use
401 `www-edit-display-feature-input-box'.
403 * cwiki-view.el (www-display-char-desc): Use
404 `char-feature-name-sans-versions'.
406 * cwiki-common.el (char-feature-name-sans-versions): New function.
408 2010-03-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
410 * cwiki-set.el (www-set-display-char-desc): Store new value into
411 FEATURE@$rev=latest; don't display `$rev=latest' domain features.
413 * cwiki-edit.el (www-edit-display-char-feature-default): Use
414 `www-char-feature' instead of `char-feature'.
415 (www-edit-display-char-feature-as-ucs): Likewise.
416 (www-edit-display-char-desc): Likewise; replace value of char-spec
417 with value of `www-char-feature'.
419 * cwiki-view.el (www-char-display-feature-default): Use
420 `www-char-feature' instead of `char-feature'.
421 (www-char-display-feature-as-ucs): Likewise.
422 (www-display-char-desc): Ignore `$rev=latest' domain features.
424 * cwiki-common.el (char-feature-name-at-domain): New function.
425 (www-char-feature): New function.
426 (www-format-encode-string): Use `www-char-feature' instead of
428 (www-format-eval-feature-value): Likewise.
429 (www-format-eval-unit): Likewise.
431 2010-03-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
433 * cwiki-set.el (www-parse-string-default): New function.
434 (www-feature-parse-string):
435 - Support new format `string'.
436 - Use `www-parse-string-default' for `default'.
438 2010-03-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
440 * cwiki-common.el (chise-wiki-glyph-cgi-url): New variable.
441 (www-uri-encode-char): Support `=>>gt'.
442 (www-format-encode-string):
443 - Use GT, Big5 and Big5-CDP fonts.
444 - Use http://www.unicode.org/cgi-bin/refglyph?24-hhhh to display
445 `=ucs@unicode' glyphs.
446 - Display &MCS-hhhhhhhh; with using child's glyph.
448 * cwiki-glyph.el: New file.
450 2010-03-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
452 * cwiki-common.el (chise-wiki-bitmap-glyphs-url): Renamed from
453 `chise-wiki-glyphs-url'.
454 (www-format-encode-string):
455 - Use `chise-wiki-bitmap-glyphs-url' instead of
456 `chise-wiki-glyphs-url'.
457 - Display &JC3-hhhh; and &ZOB-dddd;.
459 2010-03-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
461 * cwiki-edit.el (www-edit-display-feature-desc): Use
462 `www-format-feature-name*' instead of `www-format-feature-name'.
464 * cwiki-common.el (www-uri-decode-char):
466 - Prefer `=>jis-x0208' and `=>jis-x0213-1' to `=big5' and
468 - Fix problem when no CCSes are found.
469 (www-format-feature-name*): New function.
470 (www-format-feature-name): Use `www-format-feature-name*'.
472 2010-03-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
474 * cwiki-set.el (www-parse-string-as-space-separated-char-list):
475 Expect `string' to be encoded as URI.
476 (www-parse-string-as-space-separated-ids): Likewise.
477 (www-feature-parse-string): Likewise.
478 (www-set-display-char-desc): Expect `uri-char' to be encoded as
480 (www-set-display-feature-desc): Fix problem when `name@lang' is
482 (www-batch-set): Don't use `decode-uri-string' for value of `char'
485 * cwiki-edit.el (www-edit-display-char-desc): Expect `uri-char' to
487 (www-batch-edit): Don't use `decode-uri-string' for value of
490 * cwiki-view.el (www-display-char-desc): Expect `uri-char' to be
491 encoded as URI; encode `uri-char' if it is a non-encoded
493 (www-batch-view): Don't use `decode-uri-string' for value of
496 * cwiki-common.el (www-uri-decode-char): Expect char-rep to be
498 (www-uri-encode-char): Encode UCS characters as %XX encoding.
499 (www-format-feature-name-as-CCS): Insert space between
500 prefix (..., ===>, ==>, =>, =>>, =>>>, ..., =) and main-name.
501 (www-html-display-text): Don't escape "&" except ">-".
503 2010-03-16 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
505 * cwiki-set.el (www-parse-string-as-space-separated-ids): New
507 (www-parse-string-as-ku-ten): New function.
508 (www-feature-parse-string): Support `space-separated-ids' and
511 2010-03-16 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
513 * cwiki-common.el (www-feature-value-format): Return
514 'space-separated-ids for `structure' type features.
515 (www-format-value-as-ids): New function.
516 (www-format-apply-value): Use `www-format-value-as-ids' for format
517 `space-separated-ids'.
519 2010-03-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
521 * cwiki-common.el, cwiki-edit.el, cwiki-set.el, cwiki-view.el: New