1 2010-11-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3 * cwiki-set.el (www-batch-set): Encode `xemacs-chise-version'.
5 * cwiki-add.el (www-batch-add): Encode `xemacs-chise-version'.
7 * cwiki-edit.el (www-batch-edit): Encode `xemacs-chise-version'.
9 * cwiki-view.el (www-batch-view): Encode (emacs-version).
11 2010-11-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
13 * cwiki-common.el (www-format-apply-value): Rename argument
14 `uri-char' to `uri-object'.
15 (www-format-eval-feature-value): Rename argument `char' and
16 `uri-char' to `object' and `uri-object'.
17 (www-format-eval-unit): Likewise.
18 (www-format-eval-list): Likewise.
20 2010-10-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
22 * cwiki-view.el (www-display-object-desc): New function.
24 * cwiki-common.el (est-format-object): New function.
26 2010-10-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
28 * cwiki-common.el (www-get-genre): Abolished.
29 (www-get-feature-value): Don't use `www-get-genre'.
31 2010-10-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
34 - Set `file-name-coding-system' to 'utf-8-mcs-er.
35 - Add settings to assign genres of Ruimoku.
36 (www-get-feature-value): Modify for non-character genres.
37 (www-uri-decode-object): Use `www-uri-decode-feature-name' for
38 objects of `feature' genre.
40 * cwiki-view.el (www-display-object-desc): Fix problem when
41 `object' is not a character.
42 (www-batch-view): Support general genres.
44 2010-09-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
46 * cwiki-common.el (www-get-genre): New function.
47 (www-get-feature-value): Renamed from `www-char-feature'.
48 (www-uri-decode-object): Renamed from `www-uri-decode-char'; add
51 * cwiki-view.el (www-display-object-desc): Renamed from
52 `www-display-char-desc'; add new argument `genre'.
54 * cwiki-add.el (www-add-display-char-desc): Use
55 `www-uri-decode-object' instead of `www-uri-decode-char'.
57 * cwiki-set.el (www-parse-string-as-space-separated-char-list):
58 Use `www-uri-decode-object' instead of `www-uri-decode-char'.
59 (www-parse-string-as-space-separated-ids): Likewise.
60 (www-set-display-char-desc): Likewise; use `www-get-feature-value'
61 instead of `www-char-feature'.
63 * cwiki-edit.el (www-edit-display-feature-input-box): Use
64 `www-get-feature-value' instead of `www-char-feature'.
65 (www-edit-display-char-desc): Use `www-uri-decode-object' instead
66 of `www-uri-decode-char'.
68 2010-09-13 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
70 * cwiki-add.el: New file.
72 2010-04-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
74 * cwiki-view.el (www-display-char-desc): Use
75 `chise-wiki-displayed-features' instead of `displayed-features'.
77 * cwiki-common.el (chise-wiki-displayed-features): New variable.
78 (char-feature-name-at-domain): Fix problem when `domain' is nil.
79 (char-feature-name-domain): New function.
80 (www-uri-make-feature-name-url): New function.
81 (www-format-props-to-string): Fix problem when :len's value is
83 (www-format-eval-unit):
84 - When :feature is specified, prefer FEATURE@DOMAIN to FEATURE.
85 - When :feature is specified in value related format functions,
86 add the displayed feature-name to
87 `chise-wiki-displayed-features'.
88 - Support `name-url' and `domain-name'.
90 2010-04-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
92 * cwiki-view.el (www-display-feature-desc): Fix problem to display
93 non-ASCII characters in property `format'.
95 2010-04-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
97 * cwiki-view.el (www-display-char-desc): Use `www-feature-format'.
98 (www-display-feature-desc): Ditto.
100 * cwiki-common.el (www-feature-format): New function.
101 (www-format-eval-unit): Support `:feature' property for `value'
102 related functions and `name' function.
104 2010-04-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
106 * cwiki-common.el (www-feature-value-format): Search ancestors'
107 property if own property is not found.
108 (char-feature-name-parent): New function.
109 (www-format-feature-name*): Search ancestors' property if own
110 property is not found.
112 2010-04-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
114 * cwiki-edit.el (www-edit-display-feature-desc): Display and
115 support editing of property `format'.
117 * cwiki-common.el (find-previous-defined-code-point): Fix problem
120 * cwiki-view.el (www-display-feature-desc): Add edit button for
123 2010-04-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
125 * cwiki-common.el (www-feature-value-format): Add
126 `(prev-char) (next-char)' into default format of CCS feature.
127 (get-previous-code-point): New function.
128 (get-next-code-point): New function.
129 (find-previous-defined-code-point): New function.
130 (find-next-defined-code-point): New function.
131 (www-format-eval-unit): Support `prev-char' and `next-char'.
133 2010-04-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
135 * cwiki-view.el (www-display-char-desc): Don't display "add
136 feature" button when running with simple mode.
138 2010-04-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
140 * cwiki-set.el (www-set-display-feature-desc): Refer
141 `chise-wiki-view-url'.
143 2010-04-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
145 * cwiki-view.el (www-display-feature-desc): Add new optional
146 argument `simple'; display "Edit" and "New Account" buttons when
147 running with simple mode; display "Simple" button when running
149 (www-batch-view): Modify for `www-display-feature-desc' to support
152 2010-04-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
154 * cwiki-view.el (www-display-char-desc): Use <div> instead of <p>
155 to display feature in top-level.
157 2010-04-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
159 * cwiki-set.el (chise-wiki-view-url): Use "view.cgi" instead of
162 * cwiki-edit.el (chise-wiki-view-url): Use "view.cgi" instead of
165 * cwiki-view.el (chise-wiki-edit-url): Use "edit.cgi" instead of
167 (chise-wiki-add-url): Use "add.cgi" instead of "edit/add.cgi".
168 (www-display-char-desc): Add new optional argument `simple';
169 display "Edit" and "New Account" buttons when running with simple
170 mode; display "Simple" button when running with edit mode.
171 (www-batch-view): Modify to support mode.
173 * cwiki-common.el (chise-wiki-edit-url): Changed to "edit.cgi".
174 (www-format-value): Add new optional argument `without-edit';
175 modify for `www-format-apply-value'.
176 (www-format-apply-value): Add new optional argument
177 `without-edit'; modify for `www-format-eval-list'.
178 (www-format-eval-feature-value): Add new optional arguments
179 `without-tags' and `without-edit'; modify for
180 `www-format-apply-value' and `www-format-eval-list'.
181 (www-format-eval-unit):
182 - Add new optional arguments `without-tags' and `without-edit';
183 modify for `www-format-eval-feature-value',
184 `www-format-apply-value' and `www-format-eval-list'.
185 - specify 'without-tags and 'without-edit for
186 `www-format-eval-list' in href part of `link'.
187 (www-format-eval-list): Add new optional arguments `without-tags'
188 and `without-edit'; modify for `www-format-eval-unit'.
190 2010-04-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
192 * cwiki-common.el (www-format-eval-unit): Treat `string' as a
193 format specifier of feature-value.
195 2010-04-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
197 * cwiki-common.el (www-format-props-to-string): When `:len' is
198 specified, treat `:zero-padding' is specified.
200 2010-04-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
202 * cwiki-common.el (www-uri-encode-char): Use `=ruimoku-v6'.
203 (www-format-encode-string): Display `=ruimoku-v6' characters.
205 * cwiki-glyph.el (www-glyph-generate-png): Support `=ruimoku-v6'.
206 (www-glyph-display-png): Support RUI6-hhhh;
208 2010-04-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
210 * cwiki-common.el (www-uri-encode-char): Accept `=>zinbun-oracle'.
211 (www-format-encode-string):
212 - Display &A-ZOB-dddd;.
213 - Support `ideographic-combination'(合文) and
214 `ideographic-structure'.
216 2010-04-01 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
218 * cwiki-view.el (www-batch-view): Accept
219 "?char=&ENTITY-REFERENCE;".
221 2010-03-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
223 * cwiki-view.el (www-display-char-desc): Use
224 `char-feature-name-sans-versions' to avoid domain `$rev=latest'
225 when sort feature-names.
227 2010-03-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
229 * cwiki-common.el (www-format-value-as-domain-list): New function.
230 (www-format-apply-value): Support `space-separated-domain-list'.
231 (char-GlyphWiki-id): Try to avoid uHHHH-{u|us}.
233 2010-03-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
235 * cwiki-common.el (coded-charset-GlyphWiki-id-alist): Add setting
236 for `=ucs@jis', `=jis-x0208@1978/-4pr' and `=jis-x0208@1978'.
237 (char-GlyphWiki-id): Use `char-feature' instead of `encode-char'.
239 2010-03-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
241 * cwiki-view.el (www-display-char-desc): Add input form for CHISE
244 2010-03-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
246 * cwiki-view.el (www-display-char-desc): Try to display glyph of
247 GlyphWiki and link it.
249 * cwiki-common.el (coded-charset-GlyphWiki-id-alist): New
251 (char-GlyphWiki-id): New function.
253 2010-03-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
255 * cwiki-set.el (www-parse-string-as-kangxi-radical): New function.
256 (www-feature-parse-string): Support format `kangxi-radical'.
258 * cwiki-common.el (www-format-value-as-kangxi-radical): New
260 (www-format-apply-value): Support format `kangxi-radical'.
261 (www-format-eval-unit): Support `kangxi-radical' as a value
264 2010-03-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
266 * cwiki-common.el (www-format-value-default): New function.
267 (www-format-encode-string):
268 - Prefer `=gt' to `=cns11643-{1..7}'.
269 - Display &(G-)GT-Kddddd; entity references.
270 (www-format-apply-value):
271 - New implementation for format `string'.
272 - Use `www-format-value-default' for default format.
274 * cwiki-glyph.el (www-glyph-generate-png): Support `=gt-k'.
275 (www-glyph-display-png): Support GT-Kddddd.
277 * cwiki-set.el (www-parse-string-default): New implementation.
278 (www-set-display-feature-desc):
279 - New argument `format'.
280 - Display `value-format'.
281 (www-batch-set): Modify for the API change to set feature's
284 * cwiki-view.el (www-display-char-desc): Display parents in the
286 (www-display-feature-desc): Use `www-format-value' with default
287 format instead of `www-xml-format-list' and
288 `www-format-encode-string'.
290 * cwiki-edit.el (www-edit-display-feature-input-box): Add new
291 optional argument `value'.
292 (www-edit-display-feature-desc):
293 - Use `www-edit-display-feature-input-box' instead of
294 `www-edit-display-input-box'.
295 - Display `value-format'.
297 2010-03-19 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
299 * cwiki-view.el (www-display-feature-desc): Display [edit] button
302 2010-03-19 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
304 * cwiki-common.el (www-xml-format-unit): Escape `&'.
306 2010-03-19 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
308 * cwiki-common.el (www-format-encode-string): Display
310 (www-xml-format-props): Encode property value.
311 (www-xml-format-unit): Encode string.
313 * cwiki-edit.el (www-edit-display-feature-input-box): Escape <">.
315 * cwiki-view.el (www-display-feature-desc): Modify design of
318 2010-03-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
320 * cwiki-set.el (www-xml-to-stext-unit): Support
321 <link><ref>...</ref>...</link>.
323 * cwiki-common.el (www-xml-format-unit): Support tag style `ref'
326 * cwiki-view.el (www-display-feature-desc): Display `value-format'
329 2010-03-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
331 * cwiki-common.el (www-format-feature-name-as-metadata): New
333 (www-format-feature-name*): Use
334 `www-format-feature-name-as-metadata' for metadata features.
336 2010-03-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
338 * cwiki-set.el (www-xml-parse-string): New function.
339 (www-xml-to-stext-props): New function.
340 (www-xml-to-stext-unit): New function.
341 (www-xml-to-stext-list): New function.
342 (www-stext-parse-xml-string): New function.
343 (www-parse-string-as-wiki-text): Use `www-stext-parse-xml-string'.
345 * cwiki-edit.el (www-edit-display-char-feature-default): Abolish.
346 (www-edit-display-char-feature-as-ucs): Abolish.
347 (www-edit-display-input-box): Add the first argument `object';
348 modify for `www-format-apply-value'.
349 (www-edit-display-feature-input-box): Modify input boxes; modify
350 for `www-format-value'.
351 (www-edit-display-feature-desc): Modify for
352 `www-edit-display-input-box'.
354 * cwiki-common.el (www-format-value): Add the first argument
355 `object' and the second argument `feature-name'; change argument
356 `variable' to be optional; modify for `www-format-apply-value'.
357 (www-format-apply-value): Add the first argument `object' and the
358 second argument `feature-name'; support format `wiki-text'.
359 (www-format-eval-feature-value): Modify for
360 `www-format-apply-value'.
361 (www-format-eval-unit): Likewise.
362 (www-xml-format-props): New function.
363 (www-xml-format-unit): New function.
364 (www-xml-format-list): New function.
366 2010-03-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
368 * cwiki-set.el (www-set-display-char-desc):
369 - Setup property `additional-features' of feature `$object' when
370 feature value is stored.
371 - Mount additional-features.
373 * cwiki-view.el (www-char-display-feature-default): Abolished.
374 (www-char-display-feature-as-ucs): Abolished.
375 (www-display-char-desc): Mount additional-features.
377 * cwiki-common.el (www-feature-type): Support `*node' and
379 (www-feature-value-format): Return `wiki-text' for type `stext'.
380 (www-format-apply-value): Don't set `default' even if a format is
381 not supported in this function.
383 2010-03-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
385 * cwiki-set.el (www-parse-string-as-wiki-text): New function
386 [currently just a stub].
387 (www-feature-parse-string): Use `www-parse-string-as-wiki-text'.
388 (www-set-display-char-desc): Use
389 `char-feature-name-sans-versions'.
391 * cwiki-edit.el (www-edit-display-feature-input-box): New
393 (www-edit-display-char-desc): Use
394 `www-edit-display-feature-input-box'.
396 * cwiki-view.el (www-display-char-desc): Use
397 `char-feature-name-sans-versions'.
399 * cwiki-common.el (char-feature-name-sans-versions): New function.
401 2010-03-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
403 * cwiki-set.el (www-set-display-char-desc): Store new value into
404 FEATURE@$rev=latest; don't display `$rev=latest' domain features.
406 * cwiki-edit.el (www-edit-display-char-feature-default): Use
407 `www-char-feature' instead of `char-feature'.
408 (www-edit-display-char-feature-as-ucs): Likewise.
409 (www-edit-display-char-desc): Likewise; replace value of char-spec
410 with value of `www-char-feature'.
412 * cwiki-view.el (www-char-display-feature-default): Use
413 `www-char-feature' instead of `char-feature'.
414 (www-char-display-feature-as-ucs): Likewise.
415 (www-display-char-desc): Ignore `$rev=latest' domain features.
417 * cwiki-common.el (char-feature-name-at-domain): New function.
418 (www-char-feature): New function.
419 (www-format-encode-string): Use `www-char-feature' instead of
421 (www-format-eval-feature-value): Likewise.
422 (www-format-eval-unit): Likewise.
424 2010-03-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
426 * cwiki-set.el (www-parse-string-default): New function.
427 (www-feature-parse-string):
428 - Support new format `string'.
429 - Use `www-parse-string-default' for `default'.
431 2010-03-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
433 * cwiki-common.el (chise-wiki-glyph-cgi-url): New variable.
434 (www-uri-encode-char): Support `=>>gt'.
435 (www-format-encode-string):
436 - Use GT, Big5 and Big5-CDP fonts.
437 - Use http://www.unicode.org/cgi-bin/refglyph?24-hhhh to display
438 `=ucs@unicode' glyphs.
439 - Display &MCS-hhhhhhhh; with using child's glyph.
441 * cwiki-glyph.el: New file.
443 2010-03-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
445 * cwiki-common.el (chise-wiki-bitmap-glyphs-url): Renamed from
446 `chise-wiki-glyphs-url'.
447 (www-format-encode-string):
448 - Use `chise-wiki-bitmap-glyphs-url' instead of
449 `chise-wiki-glyphs-url'.
450 - Display &JC3-hhhh; and &ZOB-dddd;.
452 2010-03-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
454 * cwiki-edit.el (www-edit-display-feature-desc): Use
455 `www-format-feature-name*' instead of `www-format-feature-name'.
457 * cwiki-common.el (www-uri-decode-char):
459 - Prefer `=>jis-x0208' and `=>jis-x0213-1' to `=big5' and
461 - Fix problem when no CCSes are found.
462 (www-format-feature-name*): New function.
463 (www-format-feature-name): Use `www-format-feature-name*'.
465 2010-03-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
467 * cwiki-set.el (www-parse-string-as-space-separated-char-list):
468 Expect `string' to be encoded as URI.
469 (www-parse-string-as-space-separated-ids): Likewise.
470 (www-feature-parse-string): Likewise.
471 (www-set-display-char-desc): Expect `uri-char' to be encoded as
473 (www-set-display-feature-desc): Fix problem when `name@lang' is
475 (www-batch-set): Don't use `decode-uri-string' for value of `char'
478 * cwiki-edit.el (www-edit-display-char-desc): Expect `uri-char' to
480 (www-batch-edit): Don't use `decode-uri-string' for value of
483 * cwiki-view.el (www-display-char-desc): Expect `uri-char' to be
484 encoded as URI; encode `uri-char' if it is a non-encoded
486 (www-batch-view): Don't use `decode-uri-string' for value of
489 * cwiki-common.el (www-uri-decode-char): Expect char-rep to be
491 (www-uri-encode-char): Encode UCS characters as %XX encoding.
492 (www-format-feature-name-as-CCS): Insert space between
493 prefix (..., ===>, ==>, =>, =>>, =>>>, ..., =) and main-name.
494 (www-html-display-text): Don't escape "&" except ">-".
496 2010-03-16 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
498 * cwiki-set.el (www-parse-string-as-space-separated-ids): New
500 (www-parse-string-as-ku-ten): New function.
501 (www-feature-parse-string): Support `space-separated-ids' and
504 2010-03-16 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
506 * cwiki-common.el (www-feature-value-format): Return
507 'space-separated-ids for `structure' type features.
508 (www-format-value-as-ids): New function.
509 (www-format-apply-value): Use `www-format-value-as-ids' for format
510 `space-separated-ids'.
512 2010-03-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
514 * cwiki-common.el, cwiki-edit.el, cwiki-set.el, cwiki-view.el: New