1 2010-09-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3 * cwiki-common.el (www-get-genre): New function.
4 (www-get-feature-value): Renamed from `www-char-feature'.
5 (www-uri-decode-object): Renamed from `www-uri-decode-char'; add
8 * cwiki-view.el (www-display-object-desc): Renamed from
9 `www-display-char-desc'; add new argument `genre'.
11 * cwiki-add.el (www-add-display-char-desc): Use
12 `www-uri-decode-object' instead of `www-uri-decode-char'.
14 * cwiki-set.el (www-parse-string-as-space-separated-char-list):
15 Use `www-uri-decode-object' instead of `www-uri-decode-char'.
16 (www-parse-string-as-space-separated-ids): Likewise.
17 (www-set-display-char-desc): Likewise; use `www-get-feature-value'
18 instead of `www-char-feature'.
20 * cwiki-edit.el (www-edit-display-feature-input-box): Use
21 `www-get-feature-value' instead of `www-char-feature'.
22 (www-edit-display-char-desc): Use `www-uri-decode-object' instead
23 of `www-uri-decode-char'.
25 2010-09-13 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
27 * cwiki-add.el: New file.
29 2010-04-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
31 * cwiki-view.el (www-display-char-desc): Use
32 `chise-wiki-displayed-features' instead of `displayed-features'.
34 * cwiki-common.el (chise-wiki-displayed-features): New variable.
35 (char-feature-name-at-domain): Fix problem when `domain' is nil.
36 (char-feature-name-domain): New function.
37 (www-uri-make-feature-name-url): New function.
38 (www-format-props-to-string): Fix problem when :len's value is
40 (www-format-eval-unit):
41 - When :feature is specified, prefer FEATURE@DOMAIN to FEATURE.
42 - When :feature is specified in value related format functions,
43 add the displayed feature-name to
44 `chise-wiki-displayed-features'.
45 - Support `name-url' and `domain-name'.
47 2010-04-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
49 * cwiki-view.el (www-display-feature-desc): Fix problem to display
50 non-ASCII characters in property `format'.
52 2010-04-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
54 * cwiki-view.el (www-display-char-desc): Use `www-feature-format'.
55 (www-display-feature-desc): Ditto.
57 * cwiki-common.el (www-feature-format): New function.
58 (www-format-eval-unit): Support `:feature' property for `value'
59 related functions and `name' function.
61 2010-04-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
63 * cwiki-common.el (www-feature-value-format): Search ancestors'
64 property if own property is not found.
65 (char-feature-name-parent): New function.
66 (www-format-feature-name*): Search ancestors' property if own
67 property is not found.
69 2010-04-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
71 * cwiki-edit.el (www-edit-display-feature-desc): Display and
72 support editing of property `format'.
74 * cwiki-common.el (find-previous-defined-code-point): Fix problem
77 * cwiki-view.el (www-display-feature-desc): Add edit button for
80 2010-04-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
82 * cwiki-common.el (www-feature-value-format): Add
83 `(prev-char) (next-char)' into default format of CCS feature.
84 (get-previous-code-point): New function.
85 (get-next-code-point): New function.
86 (find-previous-defined-code-point): New function.
87 (find-next-defined-code-point): New function.
88 (www-format-eval-unit): Support `prev-char' and `next-char'.
90 2010-04-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
92 * cwiki-view.el (www-display-char-desc): Don't display "add
93 feature" button when running with simple mode.
95 2010-04-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
97 * cwiki-set.el (www-set-display-feature-desc): Refer
98 `chise-wiki-view-url'.
100 2010-04-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
102 * cwiki-view.el (www-display-feature-desc): Add new optional
103 argument `simple'; display "Edit" and "New Account" buttons when
104 running with simple mode; display "Simple" button when running
106 (www-batch-view): Modify for `www-display-feature-desc' to support
109 2010-04-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
111 * cwiki-view.el (www-display-char-desc): Use <div> instead of <p>
112 to display feature in top-level.
114 2010-04-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
116 * cwiki-set.el (chise-wiki-view-url): Use "view.cgi" instead of
119 * cwiki-edit.el (chise-wiki-view-url): Use "view.cgi" instead of
122 * cwiki-view.el (chise-wiki-edit-url): Use "edit.cgi" instead of
124 (chise-wiki-add-url): Use "add.cgi" instead of "edit/add.cgi".
125 (www-display-char-desc): Add new optional argument `simple';
126 display "Edit" and "New Account" buttons when running with simple
127 mode; display "Simple" button when running with edit mode.
128 (www-batch-view): Modify to support mode.
130 * cwiki-common.el (chise-wiki-edit-url): Changed to "edit.cgi".
131 (www-format-value): Add new optional argument `without-edit';
132 modify for `www-format-apply-value'.
133 (www-format-apply-value): Add new optional argument
134 `without-edit'; modify for `www-format-eval-list'.
135 (www-format-eval-feature-value): Add new optional arguments
136 `without-tags' and `without-edit'; modify for
137 `www-format-apply-value' and `www-format-eval-list'.
138 (www-format-eval-unit):
139 - Add new optional arguments `without-tags' and `without-edit';
140 modify for `www-format-eval-feature-value',
141 `www-format-apply-value' and `www-format-eval-list'.
142 - specify 'without-tags and 'without-edit for
143 `www-format-eval-list' in href part of `link'.
144 (www-format-eval-list): Add new optional arguments `without-tags'
145 and `without-edit'; modify for `www-format-eval-unit'.
147 2010-04-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
149 * cwiki-common.el (www-format-eval-unit): Treat `string' as a
150 format specifier of feature-value.
152 2010-04-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
154 * cwiki-common.el (www-format-props-to-string): When `:len' is
155 specified, treat `:zero-padding' is specified.
157 2010-04-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
159 * cwiki-common.el (www-uri-encode-char): Use `=ruimoku-v6'.
160 (www-format-encode-string): Display `=ruimoku-v6' characters.
162 * cwiki-glyph.el (www-glyph-generate-png): Support `=ruimoku-v6'.
163 (www-glyph-display-png): Support RUI6-hhhh;
165 2010-04-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
167 * cwiki-common.el (www-uri-encode-char): Accept `=>zinbun-oracle'.
168 (www-format-encode-string):
169 - Display &A-ZOB-dddd;.
170 - Support `ideographic-combination'(合文) and
171 `ideographic-structure'.
173 2010-04-01 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
175 * cwiki-view.el (www-batch-view): Accept
176 "?char=&ENTITY-REFERENCE;".
178 2010-03-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
180 * cwiki-view.el (www-display-char-desc): Use
181 `char-feature-name-sans-versions' to avoid domain `$rev=latest'
182 when sort feature-names.
184 2010-03-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
186 * cwiki-common.el (www-format-value-as-domain-list): New function.
187 (www-format-apply-value): Support `space-separated-domain-list'.
188 (char-GlyphWiki-id): Try to avoid uHHHH-{u|us}.
190 2010-03-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
192 * cwiki-common.el (coded-charset-GlyphWiki-id-alist): Add setting
193 for `=ucs@jis', `=jis-x0208@1978/-4pr' and `=jis-x0208@1978'.
194 (char-GlyphWiki-id): Use `char-feature' instead of `encode-char'.
196 2010-03-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
198 * cwiki-view.el (www-display-char-desc): Add input form for CHISE
201 2010-03-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
203 * cwiki-view.el (www-display-char-desc): Try to display glyph of
204 GlyphWiki and link it.
206 * cwiki-common.el (coded-charset-GlyphWiki-id-alist): New
208 (char-GlyphWiki-id): New function.
210 2010-03-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
212 * cwiki-set.el (www-parse-string-as-kangxi-radical): New function.
213 (www-feature-parse-string): Support format `kangxi-radical'.
215 * cwiki-common.el (www-format-value-as-kangxi-radical): New
217 (www-format-apply-value): Support format `kangxi-radical'.
218 (www-format-eval-unit): Support `kangxi-radical' as a value
221 2010-03-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
223 * cwiki-common.el (www-format-value-default): New function.
224 (www-format-encode-string):
225 - Prefer `=gt' to `=cns11643-{1..7}'.
226 - Display &(G-)GT-Kddddd; entity references.
227 (www-format-apply-value):
228 - New implementation for format `string'.
229 - Use `www-format-value-default' for default format.
231 * cwiki-glyph.el (www-glyph-generate-png): Support `=gt-k'.
232 (www-glyph-display-png): Support GT-Kddddd.
234 * cwiki-set.el (www-parse-string-default): New implementation.
235 (www-set-display-feature-desc):
236 - New argument `format'.
237 - Display `value-format'.
238 (www-batch-set): Modify for the API change to set feature's
241 * cwiki-view.el (www-display-char-desc): Display parents in the
243 (www-display-feature-desc): Use `www-format-value' with default
244 format instead of `www-xml-format-list' and
245 `www-format-encode-string'.
247 * cwiki-edit.el (www-edit-display-feature-input-box): Add new
248 optional argument `value'.
249 (www-edit-display-feature-desc):
250 - Use `www-edit-display-feature-input-box' instead of
251 `www-edit-display-input-box'.
252 - Display `value-format'.
254 2010-03-19 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
256 * cwiki-view.el (www-display-feature-desc): Display [edit] button
259 2010-03-19 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
261 * cwiki-common.el (www-xml-format-unit): Escape `&'.
263 2010-03-19 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
265 * cwiki-common.el (www-format-encode-string): Display
267 (www-xml-format-props): Encode property value.
268 (www-xml-format-unit): Encode string.
270 * cwiki-edit.el (www-edit-display-feature-input-box): Escape <">.
272 * cwiki-view.el (www-display-feature-desc): Modify design of
275 2010-03-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
277 * cwiki-set.el (www-xml-to-stext-unit): Support
278 <link><ref>...</ref>...</link>.
280 * cwiki-common.el (www-xml-format-unit): Support tag style `ref'
283 * cwiki-view.el (www-display-feature-desc): Display `value-format'
286 2010-03-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
288 * cwiki-common.el (www-format-feature-name-as-metadata): New
290 (www-format-feature-name*): Use
291 `www-format-feature-name-as-metadata' for metadata features.
293 2010-03-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
295 * cwiki-set.el (www-xml-parse-string): New function.
296 (www-xml-to-stext-props): New function.
297 (www-xml-to-stext-unit): New function.
298 (www-xml-to-stext-list): New function.
299 (www-stext-parse-xml-string): New function.
300 (www-parse-string-as-wiki-text): Use `www-stext-parse-xml-string'.
302 * cwiki-edit.el (www-edit-display-char-feature-default): Abolish.
303 (www-edit-display-char-feature-as-ucs): Abolish.
304 (www-edit-display-input-box): Add the first argument `object';
305 modify for `www-format-apply-value'.
306 (www-edit-display-feature-input-box): Modify input boxes; modify
307 for `www-format-value'.
308 (www-edit-display-feature-desc): Modify for
309 `www-edit-display-input-box'.
311 * cwiki-common.el (www-format-value): Add the first argument
312 `object' and the second argument `feature-name'; change argument
313 `variable' to be optional; modify for `www-format-apply-value'.
314 (www-format-apply-value): Add the first argument `object' and the
315 second argument `feature-name'; support format `wiki-text'.
316 (www-format-eval-feature-value): Modify for
317 `www-format-apply-value'.
318 (www-format-eval-unit): Likewise.
319 (www-xml-format-props): New function.
320 (www-xml-format-unit): New function.
321 (www-xml-format-list): New function.
323 2010-03-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
325 * cwiki-set.el (www-set-display-char-desc):
326 - Setup property `additional-features' of feature `$object' when
327 feature value is stored.
328 - Mount additional-features.
330 * cwiki-view.el (www-char-display-feature-default): Abolished.
331 (www-char-display-feature-as-ucs): Abolished.
332 (www-display-char-desc): Mount additional-features.
334 * cwiki-common.el (www-feature-type): Support `*node' and
336 (www-feature-value-format): Return `wiki-text' for type `stext'.
337 (www-format-apply-value): Don't set `default' even if a format is
338 not supported in this function.
340 2010-03-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
342 * cwiki-set.el (www-parse-string-as-wiki-text): New function
343 [currently just a stub].
344 (www-feature-parse-string): Use `www-parse-string-as-wiki-text'.
345 (www-set-display-char-desc): Use
346 `char-feature-name-sans-versions'.
348 * cwiki-edit.el (www-edit-display-feature-input-box): New
350 (www-edit-display-char-desc): Use
351 `www-edit-display-feature-input-box'.
353 * cwiki-view.el (www-display-char-desc): Use
354 `char-feature-name-sans-versions'.
356 * cwiki-common.el (char-feature-name-sans-versions): New function.
358 2010-03-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
360 * cwiki-set.el (www-set-display-char-desc): Store new value into
361 FEATURE@$rev=latest; don't display `$rev=latest' domain features.
363 * cwiki-edit.el (www-edit-display-char-feature-default): Use
364 `www-char-feature' instead of `char-feature'.
365 (www-edit-display-char-feature-as-ucs): Likewise.
366 (www-edit-display-char-desc): Likewise; replace value of char-spec
367 with value of `www-char-feature'.
369 * cwiki-view.el (www-char-display-feature-default): Use
370 `www-char-feature' instead of `char-feature'.
371 (www-char-display-feature-as-ucs): Likewise.
372 (www-display-char-desc): Ignore `$rev=latest' domain features.
374 * cwiki-common.el (char-feature-name-at-domain): New function.
375 (www-char-feature): New function.
376 (www-format-encode-string): Use `www-char-feature' instead of
378 (www-format-eval-feature-value): Likewise.
379 (www-format-eval-unit): Likewise.
381 2010-03-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
383 * cwiki-set.el (www-parse-string-default): New function.
384 (www-feature-parse-string):
385 - Support new format `string'.
386 - Use `www-parse-string-default' for `default'.
388 2010-03-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
390 * cwiki-common.el (chise-wiki-glyph-cgi-url): New variable.
391 (www-uri-encode-char): Support `=>>gt'.
392 (www-format-encode-string):
393 - Use GT, Big5 and Big5-CDP fonts.
394 - Use http://www.unicode.org/cgi-bin/refglyph?24-hhhh to display
395 `=ucs@unicode' glyphs.
396 - Display &MCS-hhhhhhhh; with using child's glyph.
398 * cwiki-glyph.el: New file.
400 2010-03-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
402 * cwiki-common.el (chise-wiki-bitmap-glyphs-url): Renamed from
403 `chise-wiki-glyphs-url'.
404 (www-format-encode-string):
405 - Use `chise-wiki-bitmap-glyphs-url' instead of
406 `chise-wiki-glyphs-url'.
407 - Display &JC3-hhhh; and &ZOB-dddd;.
409 2010-03-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
411 * cwiki-edit.el (www-edit-display-feature-desc): Use
412 `www-format-feature-name*' instead of `www-format-feature-name'.
414 * cwiki-common.el (www-uri-decode-char):
416 - Prefer `=>jis-x0208' and `=>jis-x0213-1' to `=big5' and
418 - Fix problem when no CCSes are found.
419 (www-format-feature-name*): New function.
420 (www-format-feature-name): Use `www-format-feature-name*'.
422 2010-03-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
424 * cwiki-set.el (www-parse-string-as-space-separated-char-list):
425 Expect `string' to be encoded as URI.
426 (www-parse-string-as-space-separated-ids): Likewise.
427 (www-feature-parse-string): Likewise.
428 (www-set-display-char-desc): Expect `uri-char' to be encoded as
430 (www-set-display-feature-desc): Fix problem when `name@lang' is
432 (www-batch-set): Don't use `decode-uri-string' for value of `char'
435 * cwiki-edit.el (www-edit-display-char-desc): Expect `uri-char' to
437 (www-batch-edit): Don't use `decode-uri-string' for value of
440 * cwiki-view.el (www-display-char-desc): Expect `uri-char' to be
441 encoded as URI; encode `uri-char' if it is a non-encoded
443 (www-batch-view): Don't use `decode-uri-string' for value of
446 * cwiki-common.el (www-uri-decode-char): Expect char-rep to be
448 (www-uri-encode-char): Encode UCS characters as %XX encoding.
449 (www-format-feature-name-as-CCS): Insert space between
450 prefix (..., ===>, ==>, =>, =>>, =>>>, ..., =) and main-name.
451 (www-html-display-text): Don't escape "&" except ">-".
453 2010-03-16 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
455 * cwiki-set.el (www-parse-string-as-space-separated-ids): New
457 (www-parse-string-as-ku-ten): New function.
458 (www-feature-parse-string): Support `space-separated-ids' and
461 2010-03-16 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
463 * cwiki-common.el (www-feature-value-format): Return
464 'space-separated-ids for `structure' type features.
465 (www-format-value-as-ids): New function.
466 (www-format-apply-value): Use `www-format-value-as-ids' for format
467 `space-separated-ids'.
469 2010-03-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
471 * cwiki-common.el, cwiki-edit.el, cwiki-set.el, cwiki-view.el: New