1 2010-10-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
4 - Set `file-name-coding-system' to 'utf-8-mcs-er.
5 - Add settings to assign genres of Ruimoku.
6 (www-get-feature-value): Modify for non-character genres.
7 (www-uri-decode-object): Use `www-uri-decode-feature-name' for
8 objects of `feature' genre.
10 * cwiki-view.el (www-display-object-desc): Fix problem when
11 `object' is not a character.
12 (www-batch-view): Support general genres.
14 2010-09-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
16 * cwiki-common.el (www-get-genre): New function.
17 (www-get-feature-value): Renamed from `www-char-feature'.
18 (www-uri-decode-object): Renamed from `www-uri-decode-char'; add
21 * cwiki-view.el (www-display-object-desc): Renamed from
22 `www-display-char-desc'; add new argument `genre'.
24 * cwiki-add.el (www-add-display-char-desc): Use
25 `www-uri-decode-object' instead of `www-uri-decode-char'.
27 * cwiki-set.el (www-parse-string-as-space-separated-char-list):
28 Use `www-uri-decode-object' instead of `www-uri-decode-char'.
29 (www-parse-string-as-space-separated-ids): Likewise.
30 (www-set-display-char-desc): Likewise; use `www-get-feature-value'
31 instead of `www-char-feature'.
33 * cwiki-edit.el (www-edit-display-feature-input-box): Use
34 `www-get-feature-value' instead of `www-char-feature'.
35 (www-edit-display-char-desc): Use `www-uri-decode-object' instead
36 of `www-uri-decode-char'.
38 2010-09-13 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
40 * cwiki-add.el: New file.
42 2010-04-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
44 * cwiki-view.el (www-display-char-desc): Use
45 `chise-wiki-displayed-features' instead of `displayed-features'.
47 * cwiki-common.el (chise-wiki-displayed-features): New variable.
48 (char-feature-name-at-domain): Fix problem when `domain' is nil.
49 (char-feature-name-domain): New function.
50 (www-uri-make-feature-name-url): New function.
51 (www-format-props-to-string): Fix problem when :len's value is
53 (www-format-eval-unit):
54 - When :feature is specified, prefer FEATURE@DOMAIN to FEATURE.
55 - When :feature is specified in value related format functions,
56 add the displayed feature-name to
57 `chise-wiki-displayed-features'.
58 - Support `name-url' and `domain-name'.
60 2010-04-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
62 * cwiki-view.el (www-display-feature-desc): Fix problem to display
63 non-ASCII characters in property `format'.
65 2010-04-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
67 * cwiki-view.el (www-display-char-desc): Use `www-feature-format'.
68 (www-display-feature-desc): Ditto.
70 * cwiki-common.el (www-feature-format): New function.
71 (www-format-eval-unit): Support `:feature' property for `value'
72 related functions and `name' function.
74 2010-04-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
76 * cwiki-common.el (www-feature-value-format): Search ancestors'
77 property if own property is not found.
78 (char-feature-name-parent): New function.
79 (www-format-feature-name*): Search ancestors' property if own
80 property is not found.
82 2010-04-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
84 * cwiki-edit.el (www-edit-display-feature-desc): Display and
85 support editing of property `format'.
87 * cwiki-common.el (find-previous-defined-code-point): Fix problem
90 * cwiki-view.el (www-display-feature-desc): Add edit button for
93 2010-04-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
95 * cwiki-common.el (www-feature-value-format): Add
96 `(prev-char) (next-char)' into default format of CCS feature.
97 (get-previous-code-point): New function.
98 (get-next-code-point): New function.
99 (find-previous-defined-code-point): New function.
100 (find-next-defined-code-point): New function.
101 (www-format-eval-unit): Support `prev-char' and `next-char'.
103 2010-04-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
105 * cwiki-view.el (www-display-char-desc): Don't display "add
106 feature" button when running with simple mode.
108 2010-04-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
110 * cwiki-set.el (www-set-display-feature-desc): Refer
111 `chise-wiki-view-url'.
113 2010-04-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
115 * cwiki-view.el (www-display-feature-desc): Add new optional
116 argument `simple'; display "Edit" and "New Account" buttons when
117 running with simple mode; display "Simple" button when running
119 (www-batch-view): Modify for `www-display-feature-desc' to support
122 2010-04-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
124 * cwiki-view.el (www-display-char-desc): Use <div> instead of <p>
125 to display feature in top-level.
127 2010-04-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
129 * cwiki-set.el (chise-wiki-view-url): Use "view.cgi" instead of
132 * cwiki-edit.el (chise-wiki-view-url): Use "view.cgi" instead of
135 * cwiki-view.el (chise-wiki-edit-url): Use "edit.cgi" instead of
137 (chise-wiki-add-url): Use "add.cgi" instead of "edit/add.cgi".
138 (www-display-char-desc): Add new optional argument `simple';
139 display "Edit" and "New Account" buttons when running with simple
140 mode; display "Simple" button when running with edit mode.
141 (www-batch-view): Modify to support mode.
143 * cwiki-common.el (chise-wiki-edit-url): Changed to "edit.cgi".
144 (www-format-value): Add new optional argument `without-edit';
145 modify for `www-format-apply-value'.
146 (www-format-apply-value): Add new optional argument
147 `without-edit'; modify for `www-format-eval-list'.
148 (www-format-eval-feature-value): Add new optional arguments
149 `without-tags' and `without-edit'; modify for
150 `www-format-apply-value' and `www-format-eval-list'.
151 (www-format-eval-unit):
152 - Add new optional arguments `without-tags' and `without-edit';
153 modify for `www-format-eval-feature-value',
154 `www-format-apply-value' and `www-format-eval-list'.
155 - specify 'without-tags and 'without-edit for
156 `www-format-eval-list' in href part of `link'.
157 (www-format-eval-list): Add new optional arguments `without-tags'
158 and `without-edit'; modify for `www-format-eval-unit'.
160 2010-04-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
162 * cwiki-common.el (www-format-eval-unit): Treat `string' as a
163 format specifier of feature-value.
165 2010-04-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
167 * cwiki-common.el (www-format-props-to-string): When `:len' is
168 specified, treat `:zero-padding' is specified.
170 2010-04-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
172 * cwiki-common.el (www-uri-encode-char): Use `=ruimoku-v6'.
173 (www-format-encode-string): Display `=ruimoku-v6' characters.
175 * cwiki-glyph.el (www-glyph-generate-png): Support `=ruimoku-v6'.
176 (www-glyph-display-png): Support RUI6-hhhh;
178 2010-04-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
180 * cwiki-common.el (www-uri-encode-char): Accept `=>zinbun-oracle'.
181 (www-format-encode-string):
182 - Display &A-ZOB-dddd;.
183 - Support `ideographic-combination'(合文) and
184 `ideographic-structure'.
186 2010-04-01 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
188 * cwiki-view.el (www-batch-view): Accept
189 "?char=&ENTITY-REFERENCE;".
191 2010-03-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
193 * cwiki-view.el (www-display-char-desc): Use
194 `char-feature-name-sans-versions' to avoid domain `$rev=latest'
195 when sort feature-names.
197 2010-03-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
199 * cwiki-common.el (www-format-value-as-domain-list): New function.
200 (www-format-apply-value): Support `space-separated-domain-list'.
201 (char-GlyphWiki-id): Try to avoid uHHHH-{u|us}.
203 2010-03-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
205 * cwiki-common.el (coded-charset-GlyphWiki-id-alist): Add setting
206 for `=ucs@jis', `=jis-x0208@1978/-4pr' and `=jis-x0208@1978'.
207 (char-GlyphWiki-id): Use `char-feature' instead of `encode-char'.
209 2010-03-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
211 * cwiki-view.el (www-display-char-desc): Add input form for CHISE
214 2010-03-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
216 * cwiki-view.el (www-display-char-desc): Try to display glyph of
217 GlyphWiki and link it.
219 * cwiki-common.el (coded-charset-GlyphWiki-id-alist): New
221 (char-GlyphWiki-id): New function.
223 2010-03-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
225 * cwiki-set.el (www-parse-string-as-kangxi-radical): New function.
226 (www-feature-parse-string): Support format `kangxi-radical'.
228 * cwiki-common.el (www-format-value-as-kangxi-radical): New
230 (www-format-apply-value): Support format `kangxi-radical'.
231 (www-format-eval-unit): Support `kangxi-radical' as a value
234 2010-03-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
236 * cwiki-common.el (www-format-value-default): New function.
237 (www-format-encode-string):
238 - Prefer `=gt' to `=cns11643-{1..7}'.
239 - Display &(G-)GT-Kddddd; entity references.
240 (www-format-apply-value):
241 - New implementation for format `string'.
242 - Use `www-format-value-default' for default format.
244 * cwiki-glyph.el (www-glyph-generate-png): Support `=gt-k'.
245 (www-glyph-display-png): Support GT-Kddddd.
247 * cwiki-set.el (www-parse-string-default): New implementation.
248 (www-set-display-feature-desc):
249 - New argument `format'.
250 - Display `value-format'.
251 (www-batch-set): Modify for the API change to set feature's
254 * cwiki-view.el (www-display-char-desc): Display parents in the
256 (www-display-feature-desc): Use `www-format-value' with default
257 format instead of `www-xml-format-list' and
258 `www-format-encode-string'.
260 * cwiki-edit.el (www-edit-display-feature-input-box): Add new
261 optional argument `value'.
262 (www-edit-display-feature-desc):
263 - Use `www-edit-display-feature-input-box' instead of
264 `www-edit-display-input-box'.
265 - Display `value-format'.
267 2010-03-19 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
269 * cwiki-view.el (www-display-feature-desc): Display [edit] button
272 2010-03-19 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
274 * cwiki-common.el (www-xml-format-unit): Escape `&'.
276 2010-03-19 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
278 * cwiki-common.el (www-format-encode-string): Display
280 (www-xml-format-props): Encode property value.
281 (www-xml-format-unit): Encode string.
283 * cwiki-edit.el (www-edit-display-feature-input-box): Escape <">.
285 * cwiki-view.el (www-display-feature-desc): Modify design of
288 2010-03-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
290 * cwiki-set.el (www-xml-to-stext-unit): Support
291 <link><ref>...</ref>...</link>.
293 * cwiki-common.el (www-xml-format-unit): Support tag style `ref'
296 * cwiki-view.el (www-display-feature-desc): Display `value-format'
299 2010-03-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
301 * cwiki-common.el (www-format-feature-name-as-metadata): New
303 (www-format-feature-name*): Use
304 `www-format-feature-name-as-metadata' for metadata features.
306 2010-03-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
308 * cwiki-set.el (www-xml-parse-string): New function.
309 (www-xml-to-stext-props): New function.
310 (www-xml-to-stext-unit): New function.
311 (www-xml-to-stext-list): New function.
312 (www-stext-parse-xml-string): New function.
313 (www-parse-string-as-wiki-text): Use `www-stext-parse-xml-string'.
315 * cwiki-edit.el (www-edit-display-char-feature-default): Abolish.
316 (www-edit-display-char-feature-as-ucs): Abolish.
317 (www-edit-display-input-box): Add the first argument `object';
318 modify for `www-format-apply-value'.
319 (www-edit-display-feature-input-box): Modify input boxes; modify
320 for `www-format-value'.
321 (www-edit-display-feature-desc): Modify for
322 `www-edit-display-input-box'.
324 * cwiki-common.el (www-format-value): Add the first argument
325 `object' and the second argument `feature-name'; change argument
326 `variable' to be optional; modify for `www-format-apply-value'.
327 (www-format-apply-value): Add the first argument `object' and the
328 second argument `feature-name'; support format `wiki-text'.
329 (www-format-eval-feature-value): Modify for
330 `www-format-apply-value'.
331 (www-format-eval-unit): Likewise.
332 (www-xml-format-props): New function.
333 (www-xml-format-unit): New function.
334 (www-xml-format-list): New function.
336 2010-03-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
338 * cwiki-set.el (www-set-display-char-desc):
339 - Setup property `additional-features' of feature `$object' when
340 feature value is stored.
341 - Mount additional-features.
343 * cwiki-view.el (www-char-display-feature-default): Abolished.
344 (www-char-display-feature-as-ucs): Abolished.
345 (www-display-char-desc): Mount additional-features.
347 * cwiki-common.el (www-feature-type): Support `*node' and
349 (www-feature-value-format): Return `wiki-text' for type `stext'.
350 (www-format-apply-value): Don't set `default' even if a format is
351 not supported in this function.
353 2010-03-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
355 * cwiki-set.el (www-parse-string-as-wiki-text): New function
356 [currently just a stub].
357 (www-feature-parse-string): Use `www-parse-string-as-wiki-text'.
358 (www-set-display-char-desc): Use
359 `char-feature-name-sans-versions'.
361 * cwiki-edit.el (www-edit-display-feature-input-box): New
363 (www-edit-display-char-desc): Use
364 `www-edit-display-feature-input-box'.
366 * cwiki-view.el (www-display-char-desc): Use
367 `char-feature-name-sans-versions'.
369 * cwiki-common.el (char-feature-name-sans-versions): New function.
371 2010-03-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
373 * cwiki-set.el (www-set-display-char-desc): Store new value into
374 FEATURE@$rev=latest; don't display `$rev=latest' domain features.
376 * cwiki-edit.el (www-edit-display-char-feature-default): Use
377 `www-char-feature' instead of `char-feature'.
378 (www-edit-display-char-feature-as-ucs): Likewise.
379 (www-edit-display-char-desc): Likewise; replace value of char-spec
380 with value of `www-char-feature'.
382 * cwiki-view.el (www-char-display-feature-default): Use
383 `www-char-feature' instead of `char-feature'.
384 (www-char-display-feature-as-ucs): Likewise.
385 (www-display-char-desc): Ignore `$rev=latest' domain features.
387 * cwiki-common.el (char-feature-name-at-domain): New function.
388 (www-char-feature): New function.
389 (www-format-encode-string): Use `www-char-feature' instead of
391 (www-format-eval-feature-value): Likewise.
392 (www-format-eval-unit): Likewise.
394 2010-03-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
396 * cwiki-set.el (www-parse-string-default): New function.
397 (www-feature-parse-string):
398 - Support new format `string'.
399 - Use `www-parse-string-default' for `default'.
401 2010-03-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
403 * cwiki-common.el (chise-wiki-glyph-cgi-url): New variable.
404 (www-uri-encode-char): Support `=>>gt'.
405 (www-format-encode-string):
406 - Use GT, Big5 and Big5-CDP fonts.
407 - Use http://www.unicode.org/cgi-bin/refglyph?24-hhhh to display
408 `=ucs@unicode' glyphs.
409 - Display &MCS-hhhhhhhh; with using child's glyph.
411 * cwiki-glyph.el: New file.
413 2010-03-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
415 * cwiki-common.el (chise-wiki-bitmap-glyphs-url): Renamed from
416 `chise-wiki-glyphs-url'.
417 (www-format-encode-string):
418 - Use `chise-wiki-bitmap-glyphs-url' instead of
419 `chise-wiki-glyphs-url'.
420 - Display &JC3-hhhh; and &ZOB-dddd;.
422 2010-03-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
424 * cwiki-edit.el (www-edit-display-feature-desc): Use
425 `www-format-feature-name*' instead of `www-format-feature-name'.
427 * cwiki-common.el (www-uri-decode-char):
429 - Prefer `=>jis-x0208' and `=>jis-x0213-1' to `=big5' and
431 - Fix problem when no CCSes are found.
432 (www-format-feature-name*): New function.
433 (www-format-feature-name): Use `www-format-feature-name*'.
435 2010-03-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
437 * cwiki-set.el (www-parse-string-as-space-separated-char-list):
438 Expect `string' to be encoded as URI.
439 (www-parse-string-as-space-separated-ids): Likewise.
440 (www-feature-parse-string): Likewise.
441 (www-set-display-char-desc): Expect `uri-char' to be encoded as
443 (www-set-display-feature-desc): Fix problem when `name@lang' is
445 (www-batch-set): Don't use `decode-uri-string' for value of `char'
448 * cwiki-edit.el (www-edit-display-char-desc): Expect `uri-char' to
450 (www-batch-edit): Don't use `decode-uri-string' for value of
453 * cwiki-view.el (www-display-char-desc): Expect `uri-char' to be
454 encoded as URI; encode `uri-char' if it is a non-encoded
456 (www-batch-view): Don't use `decode-uri-string' for value of
459 * cwiki-common.el (www-uri-decode-char): Expect char-rep to be
461 (www-uri-encode-char): Encode UCS characters as %XX encoding.
462 (www-format-feature-name-as-CCS): Insert space between
463 prefix (..., ===>, ==>, =>, =>>, =>>>, ..., =) and main-name.
464 (www-html-display-text): Don't escape "&" except ">-".
466 2010-03-16 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
468 * cwiki-set.el (www-parse-string-as-space-separated-ids): New
470 (www-parse-string-as-ku-ten): New function.
471 (www-feature-parse-string): Support `space-separated-ids' and
474 2010-03-16 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
476 * cwiki-common.el (www-feature-value-format): Return
477 'space-separated-ids for `structure' type features.
478 (www-format-value-as-ids): New function.
479 (www-format-apply-value): Use `www-format-value-as-ids' for format
480 `space-separated-ids'.
482 2010-03-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
484 * cwiki-common.el, cwiki-edit.el, cwiki-set.el, cwiki-view.el: New