1 2010-11-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3 * cwiki-common.el (www-format-apply-value): Rename argument
4 `uri-char' to `uri-object'.
5 (www-format-eval-feature-value): Rename argument `char' and
6 `uri-char' to `object' and `uri-object'.
7 (www-format-eval-unit): Likewise.
8 (www-format-eval-list): Likewise.
10 2010-10-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
12 * cwiki-view.el (www-display-object-desc): New function.
14 * cwiki-common.el (est-format-object): New function.
16 2010-10-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
18 * cwiki-common.el (www-get-genre): Abolished.
19 (www-get-feature-value): Don't use `www-get-genre'.
21 2010-10-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
24 - Set `file-name-coding-system' to 'utf-8-mcs-er.
25 - Add settings to assign genres of Ruimoku.
26 (www-get-feature-value): Modify for non-character genres.
27 (www-uri-decode-object): Use `www-uri-decode-feature-name' for
28 objects of `feature' genre.
30 * cwiki-view.el (www-display-object-desc): Fix problem when
31 `object' is not a character.
32 (www-batch-view): Support general genres.
34 2010-09-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
36 * cwiki-common.el (www-get-genre): New function.
37 (www-get-feature-value): Renamed from `www-char-feature'.
38 (www-uri-decode-object): Renamed from `www-uri-decode-char'; add
41 * cwiki-view.el (www-display-object-desc): Renamed from
42 `www-display-char-desc'; add new argument `genre'.
44 * cwiki-add.el (www-add-display-char-desc): Use
45 `www-uri-decode-object' instead of `www-uri-decode-char'.
47 * cwiki-set.el (www-parse-string-as-space-separated-char-list):
48 Use `www-uri-decode-object' instead of `www-uri-decode-char'.
49 (www-parse-string-as-space-separated-ids): Likewise.
50 (www-set-display-char-desc): Likewise; use `www-get-feature-value'
51 instead of `www-char-feature'.
53 * cwiki-edit.el (www-edit-display-feature-input-box): Use
54 `www-get-feature-value' instead of `www-char-feature'.
55 (www-edit-display-char-desc): Use `www-uri-decode-object' instead
56 of `www-uri-decode-char'.
58 2010-09-13 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
60 * cwiki-add.el: New file.
62 2010-04-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
64 * cwiki-view.el (www-display-char-desc): Use
65 `chise-wiki-displayed-features' instead of `displayed-features'.
67 * cwiki-common.el (chise-wiki-displayed-features): New variable.
68 (char-feature-name-at-domain): Fix problem when `domain' is nil.
69 (char-feature-name-domain): New function.
70 (www-uri-make-feature-name-url): New function.
71 (www-format-props-to-string): Fix problem when :len's value is
73 (www-format-eval-unit):
74 - When :feature is specified, prefer FEATURE@DOMAIN to FEATURE.
75 - When :feature is specified in value related format functions,
76 add the displayed feature-name to
77 `chise-wiki-displayed-features'.
78 - Support `name-url' and `domain-name'.
80 2010-04-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
82 * cwiki-view.el (www-display-feature-desc): Fix problem to display
83 non-ASCII characters in property `format'.
85 2010-04-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
87 * cwiki-view.el (www-display-char-desc): Use `www-feature-format'.
88 (www-display-feature-desc): Ditto.
90 * cwiki-common.el (www-feature-format): New function.
91 (www-format-eval-unit): Support `:feature' property for `value'
92 related functions and `name' function.
94 2010-04-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
96 * cwiki-common.el (www-feature-value-format): Search ancestors'
97 property if own property is not found.
98 (char-feature-name-parent): New function.
99 (www-format-feature-name*): Search ancestors' property if own
100 property is not found.
102 2010-04-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
104 * cwiki-edit.el (www-edit-display-feature-desc): Display and
105 support editing of property `format'.
107 * cwiki-common.el (find-previous-defined-code-point): Fix problem
110 * cwiki-view.el (www-display-feature-desc): Add edit button for
113 2010-04-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
115 * cwiki-common.el (www-feature-value-format): Add
116 `(prev-char) (next-char)' into default format of CCS feature.
117 (get-previous-code-point): New function.
118 (get-next-code-point): New function.
119 (find-previous-defined-code-point): New function.
120 (find-next-defined-code-point): New function.
121 (www-format-eval-unit): Support `prev-char' and `next-char'.
123 2010-04-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
125 * cwiki-view.el (www-display-char-desc): Don't display "add
126 feature" button when running with simple mode.
128 2010-04-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
130 * cwiki-set.el (www-set-display-feature-desc): Refer
131 `chise-wiki-view-url'.
133 2010-04-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
135 * cwiki-view.el (www-display-feature-desc): Add new optional
136 argument `simple'; display "Edit" and "New Account" buttons when
137 running with simple mode; display "Simple" button when running
139 (www-batch-view): Modify for `www-display-feature-desc' to support
142 2010-04-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
144 * cwiki-view.el (www-display-char-desc): Use <div> instead of <p>
145 to display feature in top-level.
147 2010-04-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
149 * cwiki-set.el (chise-wiki-view-url): Use "view.cgi" instead of
152 * cwiki-edit.el (chise-wiki-view-url): Use "view.cgi" instead of
155 * cwiki-view.el (chise-wiki-edit-url): Use "edit.cgi" instead of
157 (chise-wiki-add-url): Use "add.cgi" instead of "edit/add.cgi".
158 (www-display-char-desc): Add new optional argument `simple';
159 display "Edit" and "New Account" buttons when running with simple
160 mode; display "Simple" button when running with edit mode.
161 (www-batch-view): Modify to support mode.
163 * cwiki-common.el (chise-wiki-edit-url): Changed to "edit.cgi".
164 (www-format-value): Add new optional argument `without-edit';
165 modify for `www-format-apply-value'.
166 (www-format-apply-value): Add new optional argument
167 `without-edit'; modify for `www-format-eval-list'.
168 (www-format-eval-feature-value): Add new optional arguments
169 `without-tags' and `without-edit'; modify for
170 `www-format-apply-value' and `www-format-eval-list'.
171 (www-format-eval-unit):
172 - Add new optional arguments `without-tags' and `without-edit';
173 modify for `www-format-eval-feature-value',
174 `www-format-apply-value' and `www-format-eval-list'.
175 - specify 'without-tags and 'without-edit for
176 `www-format-eval-list' in href part of `link'.
177 (www-format-eval-list): Add new optional arguments `without-tags'
178 and `without-edit'; modify for `www-format-eval-unit'.
180 2010-04-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
182 * cwiki-common.el (www-format-eval-unit): Treat `string' as a
183 format specifier of feature-value.
185 2010-04-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
187 * cwiki-common.el (www-format-props-to-string): When `:len' is
188 specified, treat `:zero-padding' is specified.
190 2010-04-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
192 * cwiki-common.el (www-uri-encode-char): Use `=ruimoku-v6'.
193 (www-format-encode-string): Display `=ruimoku-v6' characters.
195 * cwiki-glyph.el (www-glyph-generate-png): Support `=ruimoku-v6'.
196 (www-glyph-display-png): Support RUI6-hhhh;
198 2010-04-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
200 * cwiki-common.el (www-uri-encode-char): Accept `=>zinbun-oracle'.
201 (www-format-encode-string):
202 - Display &A-ZOB-dddd;.
203 - Support `ideographic-combination'(合文) and
204 `ideographic-structure'.
206 2010-04-01 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
208 * cwiki-view.el (www-batch-view): Accept
209 "?char=&ENTITY-REFERENCE;".
211 2010-03-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
213 * cwiki-view.el (www-display-char-desc): Use
214 `char-feature-name-sans-versions' to avoid domain `$rev=latest'
215 when sort feature-names.
217 2010-03-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
219 * cwiki-common.el (www-format-value-as-domain-list): New function.
220 (www-format-apply-value): Support `space-separated-domain-list'.
221 (char-GlyphWiki-id): Try to avoid uHHHH-{u|us}.
223 2010-03-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
225 * cwiki-common.el (coded-charset-GlyphWiki-id-alist): Add setting
226 for `=ucs@jis', `=jis-x0208@1978/-4pr' and `=jis-x0208@1978'.
227 (char-GlyphWiki-id): Use `char-feature' instead of `encode-char'.
229 2010-03-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
231 * cwiki-view.el (www-display-char-desc): Add input form for CHISE
234 2010-03-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
236 * cwiki-view.el (www-display-char-desc): Try to display glyph of
237 GlyphWiki and link it.
239 * cwiki-common.el (coded-charset-GlyphWiki-id-alist): New
241 (char-GlyphWiki-id): New function.
243 2010-03-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
245 * cwiki-set.el (www-parse-string-as-kangxi-radical): New function.
246 (www-feature-parse-string): Support format `kangxi-radical'.
248 * cwiki-common.el (www-format-value-as-kangxi-radical): New
250 (www-format-apply-value): Support format `kangxi-radical'.
251 (www-format-eval-unit): Support `kangxi-radical' as a value
254 2010-03-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
256 * cwiki-common.el (www-format-value-default): New function.
257 (www-format-encode-string):
258 - Prefer `=gt' to `=cns11643-{1..7}'.
259 - Display &(G-)GT-Kddddd; entity references.
260 (www-format-apply-value):
261 - New implementation for format `string'.
262 - Use `www-format-value-default' for default format.
264 * cwiki-glyph.el (www-glyph-generate-png): Support `=gt-k'.
265 (www-glyph-display-png): Support GT-Kddddd.
267 * cwiki-set.el (www-parse-string-default): New implementation.
268 (www-set-display-feature-desc):
269 - New argument `format'.
270 - Display `value-format'.
271 (www-batch-set): Modify for the API change to set feature's
274 * cwiki-view.el (www-display-char-desc): Display parents in the
276 (www-display-feature-desc): Use `www-format-value' with default
277 format instead of `www-xml-format-list' and
278 `www-format-encode-string'.
280 * cwiki-edit.el (www-edit-display-feature-input-box): Add new
281 optional argument `value'.
282 (www-edit-display-feature-desc):
283 - Use `www-edit-display-feature-input-box' instead of
284 `www-edit-display-input-box'.
285 - Display `value-format'.
287 2010-03-19 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
289 * cwiki-view.el (www-display-feature-desc): Display [edit] button
292 2010-03-19 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
294 * cwiki-common.el (www-xml-format-unit): Escape `&'.
296 2010-03-19 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
298 * cwiki-common.el (www-format-encode-string): Display
300 (www-xml-format-props): Encode property value.
301 (www-xml-format-unit): Encode string.
303 * cwiki-edit.el (www-edit-display-feature-input-box): Escape <">.
305 * cwiki-view.el (www-display-feature-desc): Modify design of
308 2010-03-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
310 * cwiki-set.el (www-xml-to-stext-unit): Support
311 <link><ref>...</ref>...</link>.
313 * cwiki-common.el (www-xml-format-unit): Support tag style `ref'
316 * cwiki-view.el (www-display-feature-desc): Display `value-format'
319 2010-03-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
321 * cwiki-common.el (www-format-feature-name-as-metadata): New
323 (www-format-feature-name*): Use
324 `www-format-feature-name-as-metadata' for metadata features.
326 2010-03-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
328 * cwiki-set.el (www-xml-parse-string): New function.
329 (www-xml-to-stext-props): New function.
330 (www-xml-to-stext-unit): New function.
331 (www-xml-to-stext-list): New function.
332 (www-stext-parse-xml-string): New function.
333 (www-parse-string-as-wiki-text): Use `www-stext-parse-xml-string'.
335 * cwiki-edit.el (www-edit-display-char-feature-default): Abolish.
336 (www-edit-display-char-feature-as-ucs): Abolish.
337 (www-edit-display-input-box): Add the first argument `object';
338 modify for `www-format-apply-value'.
339 (www-edit-display-feature-input-box): Modify input boxes; modify
340 for `www-format-value'.
341 (www-edit-display-feature-desc): Modify for
342 `www-edit-display-input-box'.
344 * cwiki-common.el (www-format-value): Add the first argument
345 `object' and the second argument `feature-name'; change argument
346 `variable' to be optional; modify for `www-format-apply-value'.
347 (www-format-apply-value): Add the first argument `object' and the
348 second argument `feature-name'; support format `wiki-text'.
349 (www-format-eval-feature-value): Modify for
350 `www-format-apply-value'.
351 (www-format-eval-unit): Likewise.
352 (www-xml-format-props): New function.
353 (www-xml-format-unit): New function.
354 (www-xml-format-list): New function.
356 2010-03-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
358 * cwiki-set.el (www-set-display-char-desc):
359 - Setup property `additional-features' of feature `$object' when
360 feature value is stored.
361 - Mount additional-features.
363 * cwiki-view.el (www-char-display-feature-default): Abolished.
364 (www-char-display-feature-as-ucs): Abolished.
365 (www-display-char-desc): Mount additional-features.
367 * cwiki-common.el (www-feature-type): Support `*node' and
369 (www-feature-value-format): Return `wiki-text' for type `stext'.
370 (www-format-apply-value): Don't set `default' even if a format is
371 not supported in this function.
373 2010-03-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
375 * cwiki-set.el (www-parse-string-as-wiki-text): New function
376 [currently just a stub].
377 (www-feature-parse-string): Use `www-parse-string-as-wiki-text'.
378 (www-set-display-char-desc): Use
379 `char-feature-name-sans-versions'.
381 * cwiki-edit.el (www-edit-display-feature-input-box): New
383 (www-edit-display-char-desc): Use
384 `www-edit-display-feature-input-box'.
386 * cwiki-view.el (www-display-char-desc): Use
387 `char-feature-name-sans-versions'.
389 * cwiki-common.el (char-feature-name-sans-versions): New function.
391 2010-03-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
393 * cwiki-set.el (www-set-display-char-desc): Store new value into
394 FEATURE@$rev=latest; don't display `$rev=latest' domain features.
396 * cwiki-edit.el (www-edit-display-char-feature-default): Use
397 `www-char-feature' instead of `char-feature'.
398 (www-edit-display-char-feature-as-ucs): Likewise.
399 (www-edit-display-char-desc): Likewise; replace value of char-spec
400 with value of `www-char-feature'.
402 * cwiki-view.el (www-char-display-feature-default): Use
403 `www-char-feature' instead of `char-feature'.
404 (www-char-display-feature-as-ucs): Likewise.
405 (www-display-char-desc): Ignore `$rev=latest' domain features.
407 * cwiki-common.el (char-feature-name-at-domain): New function.
408 (www-char-feature): New function.
409 (www-format-encode-string): Use `www-char-feature' instead of
411 (www-format-eval-feature-value): Likewise.
412 (www-format-eval-unit): Likewise.
414 2010-03-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
416 * cwiki-set.el (www-parse-string-default): New function.
417 (www-feature-parse-string):
418 - Support new format `string'.
419 - Use `www-parse-string-default' for `default'.
421 2010-03-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
423 * cwiki-common.el (chise-wiki-glyph-cgi-url): New variable.
424 (www-uri-encode-char): Support `=>>gt'.
425 (www-format-encode-string):
426 - Use GT, Big5 and Big5-CDP fonts.
427 - Use http://www.unicode.org/cgi-bin/refglyph?24-hhhh to display
428 `=ucs@unicode' glyphs.
429 - Display &MCS-hhhhhhhh; with using child's glyph.
431 * cwiki-glyph.el: New file.
433 2010-03-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
435 * cwiki-common.el (chise-wiki-bitmap-glyphs-url): Renamed from
436 `chise-wiki-glyphs-url'.
437 (www-format-encode-string):
438 - Use `chise-wiki-bitmap-glyphs-url' instead of
439 `chise-wiki-glyphs-url'.
440 - Display &JC3-hhhh; and &ZOB-dddd;.
442 2010-03-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
444 * cwiki-edit.el (www-edit-display-feature-desc): Use
445 `www-format-feature-name*' instead of `www-format-feature-name'.
447 * cwiki-common.el (www-uri-decode-char):
449 - Prefer `=>jis-x0208' and `=>jis-x0213-1' to `=big5' and
451 - Fix problem when no CCSes are found.
452 (www-format-feature-name*): New function.
453 (www-format-feature-name): Use `www-format-feature-name*'.
455 2010-03-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
457 * cwiki-set.el (www-parse-string-as-space-separated-char-list):
458 Expect `string' to be encoded as URI.
459 (www-parse-string-as-space-separated-ids): Likewise.
460 (www-feature-parse-string): Likewise.
461 (www-set-display-char-desc): Expect `uri-char' to be encoded as
463 (www-set-display-feature-desc): Fix problem when `name@lang' is
465 (www-batch-set): Don't use `decode-uri-string' for value of `char'
468 * cwiki-edit.el (www-edit-display-char-desc): Expect `uri-char' to
470 (www-batch-edit): Don't use `decode-uri-string' for value of
473 * cwiki-view.el (www-display-char-desc): Expect `uri-char' to be
474 encoded as URI; encode `uri-char' if it is a non-encoded
476 (www-batch-view): Don't use `decode-uri-string' for value of
479 * cwiki-common.el (www-uri-decode-char): Expect char-rep to be
481 (www-uri-encode-char): Encode UCS characters as %XX encoding.
482 (www-format-feature-name-as-CCS): Insert space between
483 prefix (..., ===>, ==>, =>, =>>, =>>>, ..., =) and main-name.
484 (www-html-display-text): Don't escape "&" except ">-".
486 2010-03-16 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
488 * cwiki-set.el (www-parse-string-as-space-separated-ids): New
490 (www-parse-string-as-ku-ten): New function.
491 (www-feature-parse-string): Support `space-separated-ids' and
494 2010-03-16 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
496 * cwiki-common.el (www-feature-value-format): Return
497 'space-separated-ids for `structure' type features.
498 (www-format-value-as-ids): New function.
499 (www-format-apply-value): Use `www-format-value-as-ids' for format
500 `space-separated-ids'.
502 2010-03-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
504 * cwiki-common.el, cwiki-edit.el, cwiki-set.el, cwiki-view.el: New