1 2010-10-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3 * cwiki-view.el: (www-display-object-desc): New function.
5 * cwiki-common.el: (est-format-object): New function.
7 2010-10-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
9 * cwiki-common.el (www-get-genre): Abolished.
10 (www-get-feature-value): Don't use `www-get-genre'.
12 2010-10-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
15 - Set `file-name-coding-system' to 'utf-8-mcs-er.
16 - Add settings to assign genres of Ruimoku.
17 (www-get-feature-value): Modify for non-character genres.
18 (www-uri-decode-object): Use `www-uri-decode-feature-name' for
19 objects of `feature' genre.
21 * cwiki-view.el (www-display-object-desc): Fix problem when
22 `object' is not a character.
23 (www-batch-view): Support general genres.
25 2010-09-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
27 * cwiki-common.el (www-get-genre): New function.
28 (www-get-feature-value): Renamed from `www-char-feature'.
29 (www-uri-decode-object): Renamed from `www-uri-decode-char'; add
32 * cwiki-view.el (www-display-object-desc): Renamed from
33 `www-display-char-desc'; add new argument `genre'.
35 * cwiki-add.el (www-add-display-char-desc): Use
36 `www-uri-decode-object' instead of `www-uri-decode-char'.
38 * cwiki-set.el (www-parse-string-as-space-separated-char-list):
39 Use `www-uri-decode-object' instead of `www-uri-decode-char'.
40 (www-parse-string-as-space-separated-ids): Likewise.
41 (www-set-display-char-desc): Likewise; use `www-get-feature-value'
42 instead of `www-char-feature'.
44 * cwiki-edit.el (www-edit-display-feature-input-box): Use
45 `www-get-feature-value' instead of `www-char-feature'.
46 (www-edit-display-char-desc): Use `www-uri-decode-object' instead
47 of `www-uri-decode-char'.
49 2010-09-13 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
51 * cwiki-add.el: New file.
53 2010-04-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
55 * cwiki-view.el (www-display-char-desc): Use
56 `chise-wiki-displayed-features' instead of `displayed-features'.
58 * cwiki-common.el (chise-wiki-displayed-features): New variable.
59 (char-feature-name-at-domain): Fix problem when `domain' is nil.
60 (char-feature-name-domain): New function.
61 (www-uri-make-feature-name-url): New function.
62 (www-format-props-to-string): Fix problem when :len's value is
64 (www-format-eval-unit):
65 - When :feature is specified, prefer FEATURE@DOMAIN to FEATURE.
66 - When :feature is specified in value related format functions,
67 add the displayed feature-name to
68 `chise-wiki-displayed-features'.
69 - Support `name-url' and `domain-name'.
71 2010-04-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
73 * cwiki-view.el (www-display-feature-desc): Fix problem to display
74 non-ASCII characters in property `format'.
76 2010-04-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
78 * cwiki-view.el (www-display-char-desc): Use `www-feature-format'.
79 (www-display-feature-desc): Ditto.
81 * cwiki-common.el (www-feature-format): New function.
82 (www-format-eval-unit): Support `:feature' property for `value'
83 related functions and `name' function.
85 2010-04-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
87 * cwiki-common.el (www-feature-value-format): Search ancestors'
88 property if own property is not found.
89 (char-feature-name-parent): New function.
90 (www-format-feature-name*): Search ancestors' property if own
91 property is not found.
93 2010-04-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
95 * cwiki-edit.el (www-edit-display-feature-desc): Display and
96 support editing of property `format'.
98 * cwiki-common.el (find-previous-defined-code-point): Fix problem
101 * cwiki-view.el (www-display-feature-desc): Add edit button for
104 2010-04-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
106 * cwiki-common.el (www-feature-value-format): Add
107 `(prev-char) (next-char)' into default format of CCS feature.
108 (get-previous-code-point): New function.
109 (get-next-code-point): New function.
110 (find-previous-defined-code-point): New function.
111 (find-next-defined-code-point): New function.
112 (www-format-eval-unit): Support `prev-char' and `next-char'.
114 2010-04-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
116 * cwiki-view.el (www-display-char-desc): Don't display "add
117 feature" button when running with simple mode.
119 2010-04-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
121 * cwiki-set.el (www-set-display-feature-desc): Refer
122 `chise-wiki-view-url'.
124 2010-04-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
126 * cwiki-view.el (www-display-feature-desc): Add new optional
127 argument `simple'; display "Edit" and "New Account" buttons when
128 running with simple mode; display "Simple" button when running
130 (www-batch-view): Modify for `www-display-feature-desc' to support
133 2010-04-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
135 * cwiki-view.el (www-display-char-desc): Use <div> instead of <p>
136 to display feature in top-level.
138 2010-04-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
140 * cwiki-set.el (chise-wiki-view-url): Use "view.cgi" instead of
143 * cwiki-edit.el (chise-wiki-view-url): Use "view.cgi" instead of
146 * cwiki-view.el (chise-wiki-edit-url): Use "edit.cgi" instead of
148 (chise-wiki-add-url): Use "add.cgi" instead of "edit/add.cgi".
149 (www-display-char-desc): Add new optional argument `simple';
150 display "Edit" and "New Account" buttons when running with simple
151 mode; display "Simple" button when running with edit mode.
152 (www-batch-view): Modify to support mode.
154 * cwiki-common.el (chise-wiki-edit-url): Changed to "edit.cgi".
155 (www-format-value): Add new optional argument `without-edit';
156 modify for `www-format-apply-value'.
157 (www-format-apply-value): Add new optional argument
158 `without-edit'; modify for `www-format-eval-list'.
159 (www-format-eval-feature-value): Add new optional arguments
160 `without-tags' and `without-edit'; modify for
161 `www-format-apply-value' and `www-format-eval-list'.
162 (www-format-eval-unit):
163 - Add new optional arguments `without-tags' and `without-edit';
164 modify for `www-format-eval-feature-value',
165 `www-format-apply-value' and `www-format-eval-list'.
166 - specify 'without-tags and 'without-edit for
167 `www-format-eval-list' in href part of `link'.
168 (www-format-eval-list): Add new optional arguments `without-tags'
169 and `without-edit'; modify for `www-format-eval-unit'.
171 2010-04-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
173 * cwiki-common.el (www-format-eval-unit): Treat `string' as a
174 format specifier of feature-value.
176 2010-04-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
178 * cwiki-common.el (www-format-props-to-string): When `:len' is
179 specified, treat `:zero-padding' is specified.
181 2010-04-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
183 * cwiki-common.el (www-uri-encode-char): Use `=ruimoku-v6'.
184 (www-format-encode-string): Display `=ruimoku-v6' characters.
186 * cwiki-glyph.el (www-glyph-generate-png): Support `=ruimoku-v6'.
187 (www-glyph-display-png): Support RUI6-hhhh;
189 2010-04-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
191 * cwiki-common.el (www-uri-encode-char): Accept `=>zinbun-oracle'.
192 (www-format-encode-string):
193 - Display &A-ZOB-dddd;.
194 - Support `ideographic-combination'(合文) and
195 `ideographic-structure'.
197 2010-04-01 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
199 * cwiki-view.el (www-batch-view): Accept
200 "?char=&ENTITY-REFERENCE;".
202 2010-03-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
204 * cwiki-view.el (www-display-char-desc): Use
205 `char-feature-name-sans-versions' to avoid domain `$rev=latest'
206 when sort feature-names.
208 2010-03-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
210 * cwiki-common.el (www-format-value-as-domain-list): New function.
211 (www-format-apply-value): Support `space-separated-domain-list'.
212 (char-GlyphWiki-id): Try to avoid uHHHH-{u|us}.
214 2010-03-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
216 * cwiki-common.el (coded-charset-GlyphWiki-id-alist): Add setting
217 for `=ucs@jis', `=jis-x0208@1978/-4pr' and `=jis-x0208@1978'.
218 (char-GlyphWiki-id): Use `char-feature' instead of `encode-char'.
220 2010-03-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
222 * cwiki-view.el (www-display-char-desc): Add input form for CHISE
225 2010-03-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
227 * cwiki-view.el (www-display-char-desc): Try to display glyph of
228 GlyphWiki and link it.
230 * cwiki-common.el (coded-charset-GlyphWiki-id-alist): New
232 (char-GlyphWiki-id): New function.
234 2010-03-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
236 * cwiki-set.el (www-parse-string-as-kangxi-radical): New function.
237 (www-feature-parse-string): Support format `kangxi-radical'.
239 * cwiki-common.el (www-format-value-as-kangxi-radical): New
241 (www-format-apply-value): Support format `kangxi-radical'.
242 (www-format-eval-unit): Support `kangxi-radical' as a value
245 2010-03-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
247 * cwiki-common.el (www-format-value-default): New function.
248 (www-format-encode-string):
249 - Prefer `=gt' to `=cns11643-{1..7}'.
250 - Display &(G-)GT-Kddddd; entity references.
251 (www-format-apply-value):
252 - New implementation for format `string'.
253 - Use `www-format-value-default' for default format.
255 * cwiki-glyph.el (www-glyph-generate-png): Support `=gt-k'.
256 (www-glyph-display-png): Support GT-Kddddd.
258 * cwiki-set.el (www-parse-string-default): New implementation.
259 (www-set-display-feature-desc):
260 - New argument `format'.
261 - Display `value-format'.
262 (www-batch-set): Modify for the API change to set feature's
265 * cwiki-view.el (www-display-char-desc): Display parents in the
267 (www-display-feature-desc): Use `www-format-value' with default
268 format instead of `www-xml-format-list' and
269 `www-format-encode-string'.
271 * cwiki-edit.el (www-edit-display-feature-input-box): Add new
272 optional argument `value'.
273 (www-edit-display-feature-desc):
274 - Use `www-edit-display-feature-input-box' instead of
275 `www-edit-display-input-box'.
276 - Display `value-format'.
278 2010-03-19 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
280 * cwiki-view.el (www-display-feature-desc): Display [edit] button
283 2010-03-19 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
285 * cwiki-common.el (www-xml-format-unit): Escape `&'.
287 2010-03-19 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
289 * cwiki-common.el (www-format-encode-string): Display
291 (www-xml-format-props): Encode property value.
292 (www-xml-format-unit): Encode string.
294 * cwiki-edit.el (www-edit-display-feature-input-box): Escape <">.
296 * cwiki-view.el (www-display-feature-desc): Modify design of
299 2010-03-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
301 * cwiki-set.el (www-xml-to-stext-unit): Support
302 <link><ref>...</ref>...</link>.
304 * cwiki-common.el (www-xml-format-unit): Support tag style `ref'
307 * cwiki-view.el (www-display-feature-desc): Display `value-format'
310 2010-03-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
312 * cwiki-common.el (www-format-feature-name-as-metadata): New
314 (www-format-feature-name*): Use
315 `www-format-feature-name-as-metadata' for metadata features.
317 2010-03-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
319 * cwiki-set.el (www-xml-parse-string): New function.
320 (www-xml-to-stext-props): New function.
321 (www-xml-to-stext-unit): New function.
322 (www-xml-to-stext-list): New function.
323 (www-stext-parse-xml-string): New function.
324 (www-parse-string-as-wiki-text): Use `www-stext-parse-xml-string'.
326 * cwiki-edit.el (www-edit-display-char-feature-default): Abolish.
327 (www-edit-display-char-feature-as-ucs): Abolish.
328 (www-edit-display-input-box): Add the first argument `object';
329 modify for `www-format-apply-value'.
330 (www-edit-display-feature-input-box): Modify input boxes; modify
331 for `www-format-value'.
332 (www-edit-display-feature-desc): Modify for
333 `www-edit-display-input-box'.
335 * cwiki-common.el (www-format-value): Add the first argument
336 `object' and the second argument `feature-name'; change argument
337 `variable' to be optional; modify for `www-format-apply-value'.
338 (www-format-apply-value): Add the first argument `object' and the
339 second argument `feature-name'; support format `wiki-text'.
340 (www-format-eval-feature-value): Modify for
341 `www-format-apply-value'.
342 (www-format-eval-unit): Likewise.
343 (www-xml-format-props): New function.
344 (www-xml-format-unit): New function.
345 (www-xml-format-list): New function.
347 2010-03-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
349 * cwiki-set.el (www-set-display-char-desc):
350 - Setup property `additional-features' of feature `$object' when
351 feature value is stored.
352 - Mount additional-features.
354 * cwiki-view.el (www-char-display-feature-default): Abolished.
355 (www-char-display-feature-as-ucs): Abolished.
356 (www-display-char-desc): Mount additional-features.
358 * cwiki-common.el (www-feature-type): Support `*node' and
360 (www-feature-value-format): Return `wiki-text' for type `stext'.
361 (www-format-apply-value): Don't set `default' even if a format is
362 not supported in this function.
364 2010-03-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
366 * cwiki-set.el (www-parse-string-as-wiki-text): New function
367 [currently just a stub].
368 (www-feature-parse-string): Use `www-parse-string-as-wiki-text'.
369 (www-set-display-char-desc): Use
370 `char-feature-name-sans-versions'.
372 * cwiki-edit.el (www-edit-display-feature-input-box): New
374 (www-edit-display-char-desc): Use
375 `www-edit-display-feature-input-box'.
377 * cwiki-view.el (www-display-char-desc): Use
378 `char-feature-name-sans-versions'.
380 * cwiki-common.el (char-feature-name-sans-versions): New function.
382 2010-03-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
384 * cwiki-set.el (www-set-display-char-desc): Store new value into
385 FEATURE@$rev=latest; don't display `$rev=latest' domain features.
387 * cwiki-edit.el (www-edit-display-char-feature-default): Use
388 `www-char-feature' instead of `char-feature'.
389 (www-edit-display-char-feature-as-ucs): Likewise.
390 (www-edit-display-char-desc): Likewise; replace value of char-spec
391 with value of `www-char-feature'.
393 * cwiki-view.el (www-char-display-feature-default): Use
394 `www-char-feature' instead of `char-feature'.
395 (www-char-display-feature-as-ucs): Likewise.
396 (www-display-char-desc): Ignore `$rev=latest' domain features.
398 * cwiki-common.el (char-feature-name-at-domain): New function.
399 (www-char-feature): New function.
400 (www-format-encode-string): Use `www-char-feature' instead of
402 (www-format-eval-feature-value): Likewise.
403 (www-format-eval-unit): Likewise.
405 2010-03-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
407 * cwiki-set.el (www-parse-string-default): New function.
408 (www-feature-parse-string):
409 - Support new format `string'.
410 - Use `www-parse-string-default' for `default'.
412 2010-03-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
414 * cwiki-common.el (chise-wiki-glyph-cgi-url): New variable.
415 (www-uri-encode-char): Support `=>>gt'.
416 (www-format-encode-string):
417 - Use GT, Big5 and Big5-CDP fonts.
418 - Use http://www.unicode.org/cgi-bin/refglyph?24-hhhh to display
419 `=ucs@unicode' glyphs.
420 - Display &MCS-hhhhhhhh; with using child's glyph.
422 * cwiki-glyph.el: New file.
424 2010-03-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
426 * cwiki-common.el (chise-wiki-bitmap-glyphs-url): Renamed from
427 `chise-wiki-glyphs-url'.
428 (www-format-encode-string):
429 - Use `chise-wiki-bitmap-glyphs-url' instead of
430 `chise-wiki-glyphs-url'.
431 - Display &JC3-hhhh; and &ZOB-dddd;.
433 2010-03-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
435 * cwiki-edit.el (www-edit-display-feature-desc): Use
436 `www-format-feature-name*' instead of `www-format-feature-name'.
438 * cwiki-common.el (www-uri-decode-char):
440 - Prefer `=>jis-x0208' and `=>jis-x0213-1' to `=big5' and
442 - Fix problem when no CCSes are found.
443 (www-format-feature-name*): New function.
444 (www-format-feature-name): Use `www-format-feature-name*'.
446 2010-03-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
448 * cwiki-set.el (www-parse-string-as-space-separated-char-list):
449 Expect `string' to be encoded as URI.
450 (www-parse-string-as-space-separated-ids): Likewise.
451 (www-feature-parse-string): Likewise.
452 (www-set-display-char-desc): Expect `uri-char' to be encoded as
454 (www-set-display-feature-desc): Fix problem when `name@lang' is
456 (www-batch-set): Don't use `decode-uri-string' for value of `char'
459 * cwiki-edit.el (www-edit-display-char-desc): Expect `uri-char' to
461 (www-batch-edit): Don't use `decode-uri-string' for value of
464 * cwiki-view.el (www-display-char-desc): Expect `uri-char' to be
465 encoded as URI; encode `uri-char' if it is a non-encoded
467 (www-batch-view): Don't use `decode-uri-string' for value of
470 * cwiki-common.el (www-uri-decode-char): Expect char-rep to be
472 (www-uri-encode-char): Encode UCS characters as %XX encoding.
473 (www-format-feature-name-as-CCS): Insert space between
474 prefix (..., ===>, ==>, =>, =>>, =>>>, ..., =) and main-name.
475 (www-html-display-text): Don't escape "&" except ">-".
477 2010-03-16 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
479 * cwiki-set.el (www-parse-string-as-space-separated-ids): New
481 (www-parse-string-as-ku-ten): New function.
482 (www-feature-parse-string): Support `space-separated-ids' and
485 2010-03-16 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
487 * cwiki-common.el (www-feature-value-format): Return
488 'space-separated-ids for `structure' type features.
489 (www-format-value-as-ids): New function.
490 (www-format-apply-value): Use `www-format-value-as-ids' for format
491 `space-separated-ids'.
493 2010-03-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
495 * cwiki-common.el, cwiki-edit.el, cwiki-set.el, cwiki-view.el: New