1 2010-10-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3 * cwiki-common.el (www-get-genre): Abolished.
4 (www-get-feature-value): Don't use `www-get-genre'.
6 2010-10-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
9 - Set `file-name-coding-system' to 'utf-8-mcs-er.
10 - Add settings to assign genres of Ruimoku.
11 (www-get-feature-value): Modify for non-character genres.
12 (www-uri-decode-object): Use `www-uri-decode-feature-name' for
13 objects of `feature' genre.
15 * cwiki-view.el (www-display-object-desc): Fix problem when
16 `object' is not a character.
17 (www-batch-view): Support general genres.
19 2010-09-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
21 * cwiki-common.el (www-get-genre): New function.
22 (www-get-feature-value): Renamed from `www-char-feature'.
23 (www-uri-decode-object): Renamed from `www-uri-decode-char'; add
26 * cwiki-view.el (www-display-object-desc): Renamed from
27 `www-display-char-desc'; add new argument `genre'.
29 * cwiki-add.el (www-add-display-char-desc): Use
30 `www-uri-decode-object' instead of `www-uri-decode-char'.
32 * cwiki-set.el (www-parse-string-as-space-separated-char-list):
33 Use `www-uri-decode-object' instead of `www-uri-decode-char'.
34 (www-parse-string-as-space-separated-ids): Likewise.
35 (www-set-display-char-desc): Likewise; use `www-get-feature-value'
36 instead of `www-char-feature'.
38 * cwiki-edit.el (www-edit-display-feature-input-box): Use
39 `www-get-feature-value' instead of `www-char-feature'.
40 (www-edit-display-char-desc): Use `www-uri-decode-object' instead
41 of `www-uri-decode-char'.
43 2010-09-13 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
45 * cwiki-add.el: New file.
47 2010-04-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
49 * cwiki-view.el (www-display-char-desc): Use
50 `chise-wiki-displayed-features' instead of `displayed-features'.
52 * cwiki-common.el (chise-wiki-displayed-features): New variable.
53 (char-feature-name-at-domain): Fix problem when `domain' is nil.
54 (char-feature-name-domain): New function.
55 (www-uri-make-feature-name-url): New function.
56 (www-format-props-to-string): Fix problem when :len's value is
58 (www-format-eval-unit):
59 - When :feature is specified, prefer FEATURE@DOMAIN to FEATURE.
60 - When :feature is specified in value related format functions,
61 add the displayed feature-name to
62 `chise-wiki-displayed-features'.
63 - Support `name-url' and `domain-name'.
65 2010-04-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
67 * cwiki-view.el (www-display-feature-desc): Fix problem to display
68 non-ASCII characters in property `format'.
70 2010-04-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
72 * cwiki-view.el (www-display-char-desc): Use `www-feature-format'.
73 (www-display-feature-desc): Ditto.
75 * cwiki-common.el (www-feature-format): New function.
76 (www-format-eval-unit): Support `:feature' property for `value'
77 related functions and `name' function.
79 2010-04-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
81 * cwiki-common.el (www-feature-value-format): Search ancestors'
82 property if own property is not found.
83 (char-feature-name-parent): New function.
84 (www-format-feature-name*): Search ancestors' property if own
85 property is not found.
87 2010-04-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
89 * cwiki-edit.el (www-edit-display-feature-desc): Display and
90 support editing of property `format'.
92 * cwiki-common.el (find-previous-defined-code-point): Fix problem
95 * cwiki-view.el (www-display-feature-desc): Add edit button for
98 2010-04-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
100 * cwiki-common.el (www-feature-value-format): Add
101 `(prev-char) (next-char)' into default format of CCS feature.
102 (get-previous-code-point): New function.
103 (get-next-code-point): New function.
104 (find-previous-defined-code-point): New function.
105 (find-next-defined-code-point): New function.
106 (www-format-eval-unit): Support `prev-char' and `next-char'.
108 2010-04-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
110 * cwiki-view.el (www-display-char-desc): Don't display "add
111 feature" button when running with simple mode.
113 2010-04-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
115 * cwiki-set.el (www-set-display-feature-desc): Refer
116 `chise-wiki-view-url'.
118 2010-04-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
120 * cwiki-view.el (www-display-feature-desc): Add new optional
121 argument `simple'; display "Edit" and "New Account" buttons when
122 running with simple mode; display "Simple" button when running
124 (www-batch-view): Modify for `www-display-feature-desc' to support
127 2010-04-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
129 * cwiki-view.el (www-display-char-desc): Use <div> instead of <p>
130 to display feature in top-level.
132 2010-04-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
134 * cwiki-set.el (chise-wiki-view-url): Use "view.cgi" instead of
137 * cwiki-edit.el (chise-wiki-view-url): Use "view.cgi" instead of
140 * cwiki-view.el (chise-wiki-edit-url): Use "edit.cgi" instead of
142 (chise-wiki-add-url): Use "add.cgi" instead of "edit/add.cgi".
143 (www-display-char-desc): Add new optional argument `simple';
144 display "Edit" and "New Account" buttons when running with simple
145 mode; display "Simple" button when running with edit mode.
146 (www-batch-view): Modify to support mode.
148 * cwiki-common.el (chise-wiki-edit-url): Changed to "edit.cgi".
149 (www-format-value): Add new optional argument `without-edit';
150 modify for `www-format-apply-value'.
151 (www-format-apply-value): Add new optional argument
152 `without-edit'; modify for `www-format-eval-list'.
153 (www-format-eval-feature-value): Add new optional arguments
154 `without-tags' and `without-edit'; modify for
155 `www-format-apply-value' and `www-format-eval-list'.
156 (www-format-eval-unit):
157 - Add new optional arguments `without-tags' and `without-edit';
158 modify for `www-format-eval-feature-value',
159 `www-format-apply-value' and `www-format-eval-list'.
160 - specify 'without-tags and 'without-edit for
161 `www-format-eval-list' in href part of `link'.
162 (www-format-eval-list): Add new optional arguments `without-tags'
163 and `without-edit'; modify for `www-format-eval-unit'.
165 2010-04-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
167 * cwiki-common.el (www-format-eval-unit): Treat `string' as a
168 format specifier of feature-value.
170 2010-04-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
172 * cwiki-common.el (www-format-props-to-string): When `:len' is
173 specified, treat `:zero-padding' is specified.
175 2010-04-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
177 * cwiki-common.el (www-uri-encode-char): Use `=ruimoku-v6'.
178 (www-format-encode-string): Display `=ruimoku-v6' characters.
180 * cwiki-glyph.el (www-glyph-generate-png): Support `=ruimoku-v6'.
181 (www-glyph-display-png): Support RUI6-hhhh;
183 2010-04-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
185 * cwiki-common.el (www-uri-encode-char): Accept `=>zinbun-oracle'.
186 (www-format-encode-string):
187 - Display &A-ZOB-dddd;.
188 - Support `ideographic-combination'(合文) and
189 `ideographic-structure'.
191 2010-04-01 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
193 * cwiki-view.el (www-batch-view): Accept
194 "?char=&ENTITY-REFERENCE;".
196 2010-03-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
198 * cwiki-view.el (www-display-char-desc): Use
199 `char-feature-name-sans-versions' to avoid domain `$rev=latest'
200 when sort feature-names.
202 2010-03-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
204 * cwiki-common.el (www-format-value-as-domain-list): New function.
205 (www-format-apply-value): Support `space-separated-domain-list'.
206 (char-GlyphWiki-id): Try to avoid uHHHH-{u|us}.
208 2010-03-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
210 * cwiki-common.el (coded-charset-GlyphWiki-id-alist): Add setting
211 for `=ucs@jis', `=jis-x0208@1978/-4pr' and `=jis-x0208@1978'.
212 (char-GlyphWiki-id): Use `char-feature' instead of `encode-char'.
214 2010-03-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
216 * cwiki-view.el (www-display-char-desc): Add input form for CHISE
219 2010-03-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
221 * cwiki-view.el (www-display-char-desc): Try to display glyph of
222 GlyphWiki and link it.
224 * cwiki-common.el (coded-charset-GlyphWiki-id-alist): New
226 (char-GlyphWiki-id): New function.
228 2010-03-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
230 * cwiki-set.el (www-parse-string-as-kangxi-radical): New function.
231 (www-feature-parse-string): Support format `kangxi-radical'.
233 * cwiki-common.el (www-format-value-as-kangxi-radical): New
235 (www-format-apply-value): Support format `kangxi-radical'.
236 (www-format-eval-unit): Support `kangxi-radical' as a value
239 2010-03-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
241 * cwiki-common.el (www-format-value-default): New function.
242 (www-format-encode-string):
243 - Prefer `=gt' to `=cns11643-{1..7}'.
244 - Display &(G-)GT-Kddddd; entity references.
245 (www-format-apply-value):
246 - New implementation for format `string'.
247 - Use `www-format-value-default' for default format.
249 * cwiki-glyph.el (www-glyph-generate-png): Support `=gt-k'.
250 (www-glyph-display-png): Support GT-Kddddd.
252 * cwiki-set.el (www-parse-string-default): New implementation.
253 (www-set-display-feature-desc):
254 - New argument `format'.
255 - Display `value-format'.
256 (www-batch-set): Modify for the API change to set feature's
259 * cwiki-view.el (www-display-char-desc): Display parents in the
261 (www-display-feature-desc): Use `www-format-value' with default
262 format instead of `www-xml-format-list' and
263 `www-format-encode-string'.
265 * cwiki-edit.el (www-edit-display-feature-input-box): Add new
266 optional argument `value'.
267 (www-edit-display-feature-desc):
268 - Use `www-edit-display-feature-input-box' instead of
269 `www-edit-display-input-box'.
270 - Display `value-format'.
272 2010-03-19 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
274 * cwiki-view.el (www-display-feature-desc): Display [edit] button
277 2010-03-19 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
279 * cwiki-common.el (www-xml-format-unit): Escape `&'.
281 2010-03-19 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
283 * cwiki-common.el (www-format-encode-string): Display
285 (www-xml-format-props): Encode property value.
286 (www-xml-format-unit): Encode string.
288 * cwiki-edit.el (www-edit-display-feature-input-box): Escape <">.
290 * cwiki-view.el (www-display-feature-desc): Modify design of
293 2010-03-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
295 * cwiki-set.el (www-xml-to-stext-unit): Support
296 <link><ref>...</ref>...</link>.
298 * cwiki-common.el (www-xml-format-unit): Support tag style `ref'
301 * cwiki-view.el (www-display-feature-desc): Display `value-format'
304 2010-03-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
306 * cwiki-common.el (www-format-feature-name-as-metadata): New
308 (www-format-feature-name*): Use
309 `www-format-feature-name-as-metadata' for metadata features.
311 2010-03-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
313 * cwiki-set.el (www-xml-parse-string): New function.
314 (www-xml-to-stext-props): New function.
315 (www-xml-to-stext-unit): New function.
316 (www-xml-to-stext-list): New function.
317 (www-stext-parse-xml-string): New function.
318 (www-parse-string-as-wiki-text): Use `www-stext-parse-xml-string'.
320 * cwiki-edit.el (www-edit-display-char-feature-default): Abolish.
321 (www-edit-display-char-feature-as-ucs): Abolish.
322 (www-edit-display-input-box): Add the first argument `object';
323 modify for `www-format-apply-value'.
324 (www-edit-display-feature-input-box): Modify input boxes; modify
325 for `www-format-value'.
326 (www-edit-display-feature-desc): Modify for
327 `www-edit-display-input-box'.
329 * cwiki-common.el (www-format-value): Add the first argument
330 `object' and the second argument `feature-name'; change argument
331 `variable' to be optional; modify for `www-format-apply-value'.
332 (www-format-apply-value): Add the first argument `object' and the
333 second argument `feature-name'; support format `wiki-text'.
334 (www-format-eval-feature-value): Modify for
335 `www-format-apply-value'.
336 (www-format-eval-unit): Likewise.
337 (www-xml-format-props): New function.
338 (www-xml-format-unit): New function.
339 (www-xml-format-list): New function.
341 2010-03-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
343 * cwiki-set.el (www-set-display-char-desc):
344 - Setup property `additional-features' of feature `$object' when
345 feature value is stored.
346 - Mount additional-features.
348 * cwiki-view.el (www-char-display-feature-default): Abolished.
349 (www-char-display-feature-as-ucs): Abolished.
350 (www-display-char-desc): Mount additional-features.
352 * cwiki-common.el (www-feature-type): Support `*node' and
354 (www-feature-value-format): Return `wiki-text' for type `stext'.
355 (www-format-apply-value): Don't set `default' even if a format is
356 not supported in this function.
358 2010-03-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
360 * cwiki-set.el (www-parse-string-as-wiki-text): New function
361 [currently just a stub].
362 (www-feature-parse-string): Use `www-parse-string-as-wiki-text'.
363 (www-set-display-char-desc): Use
364 `char-feature-name-sans-versions'.
366 * cwiki-edit.el (www-edit-display-feature-input-box): New
368 (www-edit-display-char-desc): Use
369 `www-edit-display-feature-input-box'.
371 * cwiki-view.el (www-display-char-desc): Use
372 `char-feature-name-sans-versions'.
374 * cwiki-common.el (char-feature-name-sans-versions): New function.
376 2010-03-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
378 * cwiki-set.el (www-set-display-char-desc): Store new value into
379 FEATURE@$rev=latest; don't display `$rev=latest' domain features.
381 * cwiki-edit.el (www-edit-display-char-feature-default): Use
382 `www-char-feature' instead of `char-feature'.
383 (www-edit-display-char-feature-as-ucs): Likewise.
384 (www-edit-display-char-desc): Likewise; replace value of char-spec
385 with value of `www-char-feature'.
387 * cwiki-view.el (www-char-display-feature-default): Use
388 `www-char-feature' instead of `char-feature'.
389 (www-char-display-feature-as-ucs): Likewise.
390 (www-display-char-desc): Ignore `$rev=latest' domain features.
392 * cwiki-common.el (char-feature-name-at-domain): New function.
393 (www-char-feature): New function.
394 (www-format-encode-string): Use `www-char-feature' instead of
396 (www-format-eval-feature-value): Likewise.
397 (www-format-eval-unit): Likewise.
399 2010-03-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
401 * cwiki-set.el (www-parse-string-default): New function.
402 (www-feature-parse-string):
403 - Support new format `string'.
404 - Use `www-parse-string-default' for `default'.
406 2010-03-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
408 * cwiki-common.el (chise-wiki-glyph-cgi-url): New variable.
409 (www-uri-encode-char): Support `=>>gt'.
410 (www-format-encode-string):
411 - Use GT, Big5 and Big5-CDP fonts.
412 - Use http://www.unicode.org/cgi-bin/refglyph?24-hhhh to display
413 `=ucs@unicode' glyphs.
414 - Display &MCS-hhhhhhhh; with using child's glyph.
416 * cwiki-glyph.el: New file.
418 2010-03-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
420 * cwiki-common.el (chise-wiki-bitmap-glyphs-url): Renamed from
421 `chise-wiki-glyphs-url'.
422 (www-format-encode-string):
423 - Use `chise-wiki-bitmap-glyphs-url' instead of
424 `chise-wiki-glyphs-url'.
425 - Display &JC3-hhhh; and &ZOB-dddd;.
427 2010-03-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
429 * cwiki-edit.el (www-edit-display-feature-desc): Use
430 `www-format-feature-name*' instead of `www-format-feature-name'.
432 * cwiki-common.el (www-uri-decode-char):
434 - Prefer `=>jis-x0208' and `=>jis-x0213-1' to `=big5' and
436 - Fix problem when no CCSes are found.
437 (www-format-feature-name*): New function.
438 (www-format-feature-name): Use `www-format-feature-name*'.
440 2010-03-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
442 * cwiki-set.el (www-parse-string-as-space-separated-char-list):
443 Expect `string' to be encoded as URI.
444 (www-parse-string-as-space-separated-ids): Likewise.
445 (www-feature-parse-string): Likewise.
446 (www-set-display-char-desc): Expect `uri-char' to be encoded as
448 (www-set-display-feature-desc): Fix problem when `name@lang' is
450 (www-batch-set): Don't use `decode-uri-string' for value of `char'
453 * cwiki-edit.el (www-edit-display-char-desc): Expect `uri-char' to
455 (www-batch-edit): Don't use `decode-uri-string' for value of
458 * cwiki-view.el (www-display-char-desc): Expect `uri-char' to be
459 encoded as URI; encode `uri-char' if it is a non-encoded
461 (www-batch-view): Don't use `decode-uri-string' for value of
464 * cwiki-common.el (www-uri-decode-char): Expect char-rep to be
466 (www-uri-encode-char): Encode UCS characters as %XX encoding.
467 (www-format-feature-name-as-CCS): Insert space between
468 prefix (..., ===>, ==>, =>, =>>, =>>>, ..., =) and main-name.
469 (www-html-display-text): Don't escape "&" except ">-".
471 2010-03-16 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
473 * cwiki-set.el (www-parse-string-as-space-separated-ids): New
475 (www-parse-string-as-ku-ten): New function.
476 (www-feature-parse-string): Support `space-separated-ids' and
479 2010-03-16 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
481 * cwiki-common.el (www-feature-value-format): Return
482 'space-separated-ids for `structure' type features.
483 (www-format-value-as-ids): New function.
484 (www-format-apply-value): Use `www-format-value-as-ids' for format
485 `space-separated-ids'.
487 2010-03-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
489 * cwiki-common.el, cwiki-edit.el, cwiki-set.el, cwiki-view.el: New