1 2010-04-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3 * cwiki-view.el (www-display-char-desc): Use
4 `chise-wiki-displayed-features' instead of `displayed-features'.
6 * cwiki-common.el (chise-wiki-displayed-features): New variable.
7 (char-feature-name-at-domain): Fix problem when `domain' is nil.
8 (char-feature-name-domain): New function.
9 (www-uri-make-feature-name-url): New function.
10 (www-format-props-to-string): Fix problem when :len's value is
12 (www-format-eval-unit):
13 - When :feature is specified, prefer FEATURE@DOMAIN to FEATURE.
14 - When :feature is specified in value related format functions,
15 add the displayed feature-name to
16 `chise-wiki-displayed-features'.
17 - Support `name-url' and `domain-name'.
19 2010-04-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
21 * cwiki-view.el (www-display-feature-desc): Fix problem to display
22 non-ASCII characters in property `format'.
24 2010-04-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
26 * cwiki-view.el (www-display-char-desc): Use `www-feature-format'.
27 (www-display-feature-desc): Ditto.
29 * cwiki-common.el (www-feature-format): New function.
30 (www-format-eval-unit): Support `:feature' property for `value'
31 related functions and `name' function.
33 2010-04-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
35 * cwiki-common.el (www-feature-value-format): Search ancestors'
36 property if own property is not found.
37 (char-feature-name-parent): New function.
38 (www-format-feature-name*): Search ancestors' property if own
39 property is not found.
41 2010-04-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
43 * cwiki-edit.el (www-edit-display-feature-desc): Display and
44 support editing of property `format'.
46 * cwiki-common.el (find-previous-defined-code-point): Fix problem
49 * cwiki-view.el (www-display-feature-desc): Add edit button for
52 2010-04-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
54 * cwiki-common.el (www-feature-value-format): Add
55 `(prev-char) (next-char)' into default format of CCS feature.
56 (get-previous-code-point): New function.
57 (get-next-code-point): New function.
58 (find-previous-defined-code-point): New function.
59 (find-next-defined-code-point): New function.
60 (www-format-eval-unit): Support `prev-char' and `next-char'.
62 2010-04-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
64 * cwiki-view.el (www-display-char-desc): Don't display "add
65 feature" button when running with simple mode.
67 2010-04-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
69 * cwiki-set.el (www-set-display-feature-desc): Refer
70 `chise-wiki-view-url'.
72 2010-04-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
74 * cwiki-view.el (www-display-feature-desc): Add new optional
75 argument `simple'; display "Edit" and "New Account" buttons when
76 running with simple mode; display "Simple" button when running
78 (www-batch-view): Modify for `www-display-feature-desc' to support
81 2010-04-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
83 * cwiki-view.el (www-display-char-desc): Use <div> instead of <p>
84 to display feature in top-level.
86 2010-04-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
88 * cwiki-set.el (chise-wiki-view-url): Use "view.cgi" instead of
91 * cwiki-edit.el (chise-wiki-view-url): Use "view.cgi" instead of
94 * cwiki-view.el (chise-wiki-edit-url): Use "edit.cgi" instead of
96 (chise-wiki-add-url): Use "add.cgi" instead of "edit/add.cgi".
97 (www-display-char-desc): Add new optional argument `simple';
98 display "Edit" and "New Account" buttons when running with simple
99 mode; display "Simple" button when running with edit mode.
100 (www-batch-view): Modify to support mode.
102 * cwiki-common.el (chise-wiki-edit-url): Changed to "edit.cgi".
103 (www-format-value): Add new optional argument `without-edit';
104 modify for `www-format-apply-value'.
105 (www-format-apply-value): Add new optional argument
106 `without-edit'; modify for `www-format-eval-list'.
107 (www-format-eval-feature-value): Add new optional arguments
108 `without-tags' and `without-edit'; modify for
109 `www-format-apply-value' and `www-format-eval-list'.
110 (www-format-eval-unit):
111 - Add new optional arguments `without-tags' and `without-edit';
112 modify for `www-format-eval-feature-value',
113 `www-format-apply-value' and `www-format-eval-list'.
114 - specify 'without-tags and 'without-edit for
115 `www-format-eval-list' in href part of `link'.
116 (www-format-eval-list): Add new optional arguments `without-tags'
117 and `without-edit'; modify for `www-format-eval-unit'.
119 2010-04-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
121 * cwiki-common.el (www-format-eval-unit): Treat `string' as a
122 format specifier of feature-value.
124 2010-04-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
126 * cwiki-common.el (www-format-props-to-string): When `:len' is
127 specified, treat `:zero-padding' is specified.
129 2010-04-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
131 * cwiki-common.el (www-uri-encode-char): Use `=ruimoku-v6'.
132 (www-format-encode-string): Display `=ruimoku-v6' characters.
134 * cwiki-glyph.el (www-glyph-generate-png): Support `=ruimoku-v6'.
135 (www-glyph-display-png): Support RUI6-hhhh;
137 2010-04-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
139 * cwiki-common.el (www-uri-encode-char): Accept `=>zinbun-oracle'.
140 (www-format-encode-string):
141 - Display &A-ZOB-dddd;.
142 - Support `ideographic-combination'(合文) and
143 `ideographic-structure'.
145 2010-04-01 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
147 * cwiki-view.el (www-batch-view): Accept
148 "?char=&ENTITY-REFERENCE;".
150 2010-03-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
152 * cwiki-view.el (www-display-char-desc): Use
153 `char-feature-name-sans-versions' to avoid domain `$rev=latest'
154 when sort feature-names.
156 2010-03-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
158 * cwiki-common.el (www-format-value-as-domain-list): New function.
159 (www-format-apply-value): Support `space-separated-domain-list'.
160 (char-GlyphWiki-id): Try to avoid uHHHH-{u|us}.
162 2010-03-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
164 * cwiki-common.el (coded-charset-GlyphWiki-id-alist): Add setting
165 for `=ucs@jis', `=jis-x0208@1978/-4pr' and `=jis-x0208@1978'.
166 (char-GlyphWiki-id): Use `char-feature' instead of `encode-char'.
168 2010-03-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
170 * cwiki-view.el (www-display-char-desc): Add input form for CHISE
173 2010-03-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
175 * cwiki-view.el (www-display-char-desc): Try to display glyph of
176 GlyphWiki and link it.
178 * cwiki-common.el (coded-charset-GlyphWiki-id-alist): New
180 (char-GlyphWiki-id): New function.
182 2010-03-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
184 * cwiki-set.el (www-parse-string-as-kangxi-radical): New function.
185 (www-feature-parse-string): Support format `kangxi-radical'.
187 * cwiki-common.el (www-format-value-as-kangxi-radical): New
189 (www-format-apply-value): Support format `kangxi-radical'.
190 (www-format-eval-unit): Support `kangxi-radical' as a value
193 2010-03-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
195 * cwiki-common.el (www-format-value-default): New function.
196 (www-format-encode-string):
197 - Prefer `=gt' to `=cns11643-{1..7}'.
198 - Display &(G-)GT-Kddddd; entity references.
199 (www-format-apply-value):
200 - New implementation for format `string'.
201 - Use `www-format-value-default' for default format.
203 * cwiki-glyph.el (www-glyph-generate-png): Support `=gt-k'.
204 (www-glyph-display-png): Support GT-Kddddd.
206 * cwiki-set.el (www-parse-string-default): New implementation.
207 (www-set-display-feature-desc):
208 - New argument `format'.
209 - Display `value-format'.
210 (www-batch-set): Modify for the API change to set feature's
213 * cwiki-view.el (www-display-char-desc): Display parents in the
215 (www-display-feature-desc): Use `www-format-value' with default
216 format instead of `www-xml-format-list' and
217 `www-format-encode-string'.
219 * cwiki-edit.el (www-edit-display-feature-input-box): Add new
220 optional argument `value'.
221 (www-edit-display-feature-desc):
222 - Use `www-edit-display-feature-input-box' instead of
223 `www-edit-display-input-box'.
224 - Display `value-format'.
226 2010-03-19 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
228 * cwiki-view.el (www-display-feature-desc): Display [edit] button
231 2010-03-19 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
233 * cwiki-common.el (www-xml-format-unit): Escape `&'.
235 2010-03-19 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
237 * cwiki-common.el (www-format-encode-string): Display
239 (www-xml-format-props): Encode property value.
240 (www-xml-format-unit): Encode string.
242 * cwiki-edit.el (www-edit-display-feature-input-box): Escape <">.
244 * cwiki-view.el (www-display-feature-desc): Modify design of
247 2010-03-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
249 * cwiki-set.el (www-xml-to-stext-unit): Support
250 <link><ref>...</ref>...</link>.
252 * cwiki-common.el (www-xml-format-unit): Support tag style `ref'
255 * cwiki-view.el (www-display-feature-desc): Display `value-format'
258 2010-03-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
260 * cwiki-common.el (www-format-feature-name-as-metadata): New
262 (www-format-feature-name*): Use
263 `www-format-feature-name-as-metadata' for metadata features.
265 2010-03-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
267 * cwiki-set.el (www-xml-parse-string): New function.
268 (www-xml-to-stext-props): New function.
269 (www-xml-to-stext-unit): New function.
270 (www-xml-to-stext-list): New function.
271 (www-stext-parse-xml-string): New function.
272 (www-parse-string-as-wiki-text): Use `www-stext-parse-xml-string'.
274 * cwiki-edit.el (www-edit-display-char-feature-default): Abolish.
275 (www-edit-display-char-feature-as-ucs): Abolish.
276 (www-edit-display-input-box): Add the first argument `object';
277 modify for `www-format-apply-value'.
278 (www-edit-display-feature-input-box): Modify input boxes; modify
279 for `www-format-value'.
280 (www-edit-display-feature-desc): Modify for
281 `www-edit-display-input-box'.
283 * cwiki-common.el (www-format-value): Add the first argument
284 `object' and the second argument `feature-name'; change argument
285 `variable' to be optional; modify for `www-format-apply-value'.
286 (www-format-apply-value): Add the first argument `object' and the
287 second argument `feature-name'; support format `wiki-text'.
288 (www-format-eval-feature-value): Modify for
289 `www-format-apply-value'.
290 (www-format-eval-unit): Likewise.
291 (www-xml-format-props): New function.
292 (www-xml-format-unit): New function.
293 (www-xml-format-list): New function.
295 2010-03-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
297 * cwiki-set.el (www-set-display-char-desc):
298 - Setup property `additional-features' of feature `$object' when
299 feature value is stored.
300 - Mount additional-features.
302 * cwiki-view.el (www-char-display-feature-default): Abolished.
303 (www-char-display-feature-as-ucs): Abolished.
304 (www-display-char-desc): Mount additional-features.
306 * cwiki-common.el (www-feature-type): Support `*node' and
308 (www-feature-value-format): Return `wiki-text' for type `stext'.
309 (www-format-apply-value): Don't set `default' even if a format is
310 not supported in this function.
312 2010-03-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
314 * cwiki-set.el (www-parse-string-as-wiki-text): New function
315 [currently just a stub].
316 (www-feature-parse-string): Use `www-parse-string-as-wiki-text'.
317 (www-set-display-char-desc): Use
318 `char-feature-name-sans-versions'.
320 * cwiki-edit.el (www-edit-display-feature-input-box): New
322 (www-edit-display-char-desc): Use
323 `www-edit-display-feature-input-box'.
325 * cwiki-view.el (www-display-char-desc): Use
326 `char-feature-name-sans-versions'.
328 * cwiki-common.el (char-feature-name-sans-versions): New function.
330 2010-03-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
332 * cwiki-set.el (www-set-display-char-desc): Store new value into
333 FEATURE@$rev=latest; don't display `$rev=latest' domain features.
335 * cwiki-edit.el (www-edit-display-char-feature-default): Use
336 `www-char-feature' instead of `char-feature'.
337 (www-edit-display-char-feature-as-ucs): Likewise.
338 (www-edit-display-char-desc): Likewise; replace value of char-spec
339 with value of `www-char-feature'.
341 * cwiki-view.el (www-char-display-feature-default): Use
342 `www-char-feature' instead of `char-feature'.
343 (www-char-display-feature-as-ucs): Likewise.
344 (www-display-char-desc): Ignore `$rev=latest' domain features.
346 * cwiki-common.el (char-feature-name-at-domain): New function.
347 (www-char-feature): New function.
348 (www-format-encode-string): Use `www-char-feature' instead of
350 (www-format-eval-feature-value): Likewise.
351 (www-format-eval-unit): Likewise.
353 2010-03-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
355 * cwiki-set.el (www-parse-string-default): New function.
356 (www-feature-parse-string):
357 - Support new format `string'.
358 - Use `www-parse-string-default' for `default'.
360 2010-03-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
362 * cwiki-common.el (chise-wiki-glyph-cgi-url): New variable.
363 (www-uri-encode-char): Support `=>>gt'.
364 (www-format-encode-string):
365 - Use GT, Big5 and Big5-CDP fonts.
366 - Use http://www.unicode.org/cgi-bin/refglyph?24-hhhh to display
367 `=ucs@unicode' glyphs.
368 - Display &MCS-hhhhhhhh; with using child's glyph.
370 * cwiki-glyph.el: New file.
372 2010-03-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
374 * cwiki-common.el (chise-wiki-bitmap-glyphs-url): Renamed from
375 `chise-wiki-glyphs-url'.
376 (www-format-encode-string):
377 - Use `chise-wiki-bitmap-glyphs-url' instead of
378 `chise-wiki-glyphs-url'.
379 - Display &JC3-hhhh; and &ZOB-dddd;.
381 2010-03-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
383 * cwiki-edit.el (www-edit-display-feature-desc): Use
384 `www-format-feature-name*' instead of `www-format-feature-name'.
386 * cwiki-common.el (www-uri-decode-char):
388 - Prefer `=>jis-x0208' and `=>jis-x0213-1' to `=big5' and
390 - Fix problem when no CCSes are found.
391 (www-format-feature-name*): New function.
392 (www-format-feature-name): Use `www-format-feature-name*'.
394 2010-03-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
396 * cwiki-set.el (www-parse-string-as-space-separated-char-list):
397 Expect `string' to be encoded as URI.
398 (www-parse-string-as-space-separated-ids): Likewise.
399 (www-feature-parse-string): Likewise.
400 (www-set-display-char-desc): Expect `uri-char' to be encoded as
402 (www-set-display-feature-desc): Fix problem when `name@lang' is
404 (www-batch-set): Don't use `decode-uri-string' for value of `char'
407 * cwiki-edit.el (www-edit-display-char-desc): Expect `uri-char' to
409 (www-batch-edit): Don't use `decode-uri-string' for value of
412 * cwiki-view.el (www-display-char-desc): Expect `uri-char' to be
413 encoded as URI; encode `uri-char' if it is a non-encoded
415 (www-batch-view): Don't use `decode-uri-string' for value of
418 * cwiki-common.el (www-uri-decode-char): Expect char-rep to be
420 (www-uri-encode-char): Encode UCS characters as %XX encoding.
421 (www-format-feature-name-as-CCS): Insert space between
422 prefix (..., ===>, ==>, =>, =>>, =>>>, ..., =) and main-name.
423 (www-html-display-text): Don't escape "&" except ">-".
425 2010-03-16 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
427 * cwiki-set.el (www-parse-string-as-space-separated-ids): New
429 (www-parse-string-as-ku-ten): New function.
430 (www-feature-parse-string): Support `space-separated-ids' and
433 2010-03-16 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
435 * cwiki-common.el (www-feature-value-format): Return
436 'space-separated-ids for `structure' type features.
437 (www-format-value-as-ids): New function.
438 (www-format-apply-value): Use `www-format-value-as-ids' for format
439 `space-separated-ids'.
441 2010-03-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
443 * cwiki-common.el, cwiki-edit.el, cwiki-set.el, cwiki-view.el: New