1 2010-09-13 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3 * cwiki-add.el: New file.
5 2010-04-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
7 * cwiki-view.el (www-display-char-desc): Use
8 `chise-wiki-displayed-features' instead of `displayed-features'.
10 * cwiki-common.el (chise-wiki-displayed-features): New variable.
11 (char-feature-name-at-domain): Fix problem when `domain' is nil.
12 (char-feature-name-domain): New function.
13 (www-uri-make-feature-name-url): New function.
14 (www-format-props-to-string): Fix problem when :len's value is
16 (www-format-eval-unit):
17 - When :feature is specified, prefer FEATURE@DOMAIN to FEATURE.
18 - When :feature is specified in value related format functions,
19 add the displayed feature-name to
20 `chise-wiki-displayed-features'.
21 - Support `name-url' and `domain-name'.
23 2010-04-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
25 * cwiki-view.el (www-display-feature-desc): Fix problem to display
26 non-ASCII characters in property `format'.
28 2010-04-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
30 * cwiki-view.el (www-display-char-desc): Use `www-feature-format'.
31 (www-display-feature-desc): Ditto.
33 * cwiki-common.el (www-feature-format): New function.
34 (www-format-eval-unit): Support `:feature' property for `value'
35 related functions and `name' function.
37 2010-04-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
39 * cwiki-common.el (www-feature-value-format): Search ancestors'
40 property if own property is not found.
41 (char-feature-name-parent): New function.
42 (www-format-feature-name*): Search ancestors' property if own
43 property is not found.
45 2010-04-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
47 * cwiki-edit.el (www-edit-display-feature-desc): Display and
48 support editing of property `format'.
50 * cwiki-common.el (find-previous-defined-code-point): Fix problem
53 * cwiki-view.el (www-display-feature-desc): Add edit button for
56 2010-04-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
58 * cwiki-common.el (www-feature-value-format): Add
59 `(prev-char) (next-char)' into default format of CCS feature.
60 (get-previous-code-point): New function.
61 (get-next-code-point): New function.
62 (find-previous-defined-code-point): New function.
63 (find-next-defined-code-point): New function.
64 (www-format-eval-unit): Support `prev-char' and `next-char'.
66 2010-04-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
68 * cwiki-view.el (www-display-char-desc): Don't display "add
69 feature" button when running with simple mode.
71 2010-04-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
73 * cwiki-set.el (www-set-display-feature-desc): Refer
74 `chise-wiki-view-url'.
76 2010-04-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
78 * cwiki-view.el (www-display-feature-desc): Add new optional
79 argument `simple'; display "Edit" and "New Account" buttons when
80 running with simple mode; display "Simple" button when running
82 (www-batch-view): Modify for `www-display-feature-desc' to support
85 2010-04-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
87 * cwiki-view.el (www-display-char-desc): Use <div> instead of <p>
88 to display feature in top-level.
90 2010-04-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
92 * cwiki-set.el (chise-wiki-view-url): Use "view.cgi" instead of
95 * cwiki-edit.el (chise-wiki-view-url): Use "view.cgi" instead of
98 * cwiki-view.el (chise-wiki-edit-url): Use "edit.cgi" instead of
100 (chise-wiki-add-url): Use "add.cgi" instead of "edit/add.cgi".
101 (www-display-char-desc): Add new optional argument `simple';
102 display "Edit" and "New Account" buttons when running with simple
103 mode; display "Simple" button when running with edit mode.
104 (www-batch-view): Modify to support mode.
106 * cwiki-common.el (chise-wiki-edit-url): Changed to "edit.cgi".
107 (www-format-value): Add new optional argument `without-edit';
108 modify for `www-format-apply-value'.
109 (www-format-apply-value): Add new optional argument
110 `without-edit'; modify for `www-format-eval-list'.
111 (www-format-eval-feature-value): Add new optional arguments
112 `without-tags' and `without-edit'; modify for
113 `www-format-apply-value' and `www-format-eval-list'.
114 (www-format-eval-unit):
115 - Add new optional arguments `without-tags' and `without-edit';
116 modify for `www-format-eval-feature-value',
117 `www-format-apply-value' and `www-format-eval-list'.
118 - specify 'without-tags and 'without-edit for
119 `www-format-eval-list' in href part of `link'.
120 (www-format-eval-list): Add new optional arguments `without-tags'
121 and `without-edit'; modify for `www-format-eval-unit'.
123 2010-04-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
125 * cwiki-common.el (www-format-eval-unit): Treat `string' as a
126 format specifier of feature-value.
128 2010-04-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
130 * cwiki-common.el (www-format-props-to-string): When `:len' is
131 specified, treat `:zero-padding' is specified.
133 2010-04-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
135 * cwiki-common.el (www-uri-encode-char): Use `=ruimoku-v6'.
136 (www-format-encode-string): Display `=ruimoku-v6' characters.
138 * cwiki-glyph.el (www-glyph-generate-png): Support `=ruimoku-v6'.
139 (www-glyph-display-png): Support RUI6-hhhh;
141 2010-04-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
143 * cwiki-common.el (www-uri-encode-char): Accept `=>zinbun-oracle'.
144 (www-format-encode-string):
145 - Display &A-ZOB-dddd;.
146 - Support `ideographic-combination'(合文) and
147 `ideographic-structure'.
149 2010-04-01 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
151 * cwiki-view.el (www-batch-view): Accept
152 "?char=&ENTITY-REFERENCE;".
154 2010-03-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
156 * cwiki-view.el (www-display-char-desc): Use
157 `char-feature-name-sans-versions' to avoid domain `$rev=latest'
158 when sort feature-names.
160 2010-03-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
162 * cwiki-common.el (www-format-value-as-domain-list): New function.
163 (www-format-apply-value): Support `space-separated-domain-list'.
164 (char-GlyphWiki-id): Try to avoid uHHHH-{u|us}.
166 2010-03-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
168 * cwiki-common.el (coded-charset-GlyphWiki-id-alist): Add setting
169 for `=ucs@jis', `=jis-x0208@1978/-4pr' and `=jis-x0208@1978'.
170 (char-GlyphWiki-id): Use `char-feature' instead of `encode-char'.
172 2010-03-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
174 * cwiki-view.el (www-display-char-desc): Add input form for CHISE
177 2010-03-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
179 * cwiki-view.el (www-display-char-desc): Try to display glyph of
180 GlyphWiki and link it.
182 * cwiki-common.el (coded-charset-GlyphWiki-id-alist): New
184 (char-GlyphWiki-id): New function.
186 2010-03-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
188 * cwiki-set.el (www-parse-string-as-kangxi-radical): New function.
189 (www-feature-parse-string): Support format `kangxi-radical'.
191 * cwiki-common.el (www-format-value-as-kangxi-radical): New
193 (www-format-apply-value): Support format `kangxi-radical'.
194 (www-format-eval-unit): Support `kangxi-radical' as a value
197 2010-03-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
199 * cwiki-common.el (www-format-value-default): New function.
200 (www-format-encode-string):
201 - Prefer `=gt' to `=cns11643-{1..7}'.
202 - Display &(G-)GT-Kddddd; entity references.
203 (www-format-apply-value):
204 - New implementation for format `string'.
205 - Use `www-format-value-default' for default format.
207 * cwiki-glyph.el (www-glyph-generate-png): Support `=gt-k'.
208 (www-glyph-display-png): Support GT-Kddddd.
210 * cwiki-set.el (www-parse-string-default): New implementation.
211 (www-set-display-feature-desc):
212 - New argument `format'.
213 - Display `value-format'.
214 (www-batch-set): Modify for the API change to set feature's
217 * cwiki-view.el (www-display-char-desc): Display parents in the
219 (www-display-feature-desc): Use `www-format-value' with default
220 format instead of `www-xml-format-list' and
221 `www-format-encode-string'.
223 * cwiki-edit.el (www-edit-display-feature-input-box): Add new
224 optional argument `value'.
225 (www-edit-display-feature-desc):
226 - Use `www-edit-display-feature-input-box' instead of
227 `www-edit-display-input-box'.
228 - Display `value-format'.
230 2010-03-19 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
232 * cwiki-view.el (www-display-feature-desc): Display [edit] button
235 2010-03-19 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
237 * cwiki-common.el (www-xml-format-unit): Escape `&'.
239 2010-03-19 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
241 * cwiki-common.el (www-format-encode-string): Display
243 (www-xml-format-props): Encode property value.
244 (www-xml-format-unit): Encode string.
246 * cwiki-edit.el (www-edit-display-feature-input-box): Escape <">.
248 * cwiki-view.el (www-display-feature-desc): Modify design of
251 2010-03-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
253 * cwiki-set.el (www-xml-to-stext-unit): Support
254 <link><ref>...</ref>...</link>.
256 * cwiki-common.el (www-xml-format-unit): Support tag style `ref'
259 * cwiki-view.el (www-display-feature-desc): Display `value-format'
262 2010-03-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
264 * cwiki-common.el (www-format-feature-name-as-metadata): New
266 (www-format-feature-name*): Use
267 `www-format-feature-name-as-metadata' for metadata features.
269 2010-03-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
271 * cwiki-set.el (www-xml-parse-string): New function.
272 (www-xml-to-stext-props): New function.
273 (www-xml-to-stext-unit): New function.
274 (www-xml-to-stext-list): New function.
275 (www-stext-parse-xml-string): New function.
276 (www-parse-string-as-wiki-text): Use `www-stext-parse-xml-string'.
278 * cwiki-edit.el (www-edit-display-char-feature-default): Abolish.
279 (www-edit-display-char-feature-as-ucs): Abolish.
280 (www-edit-display-input-box): Add the first argument `object';
281 modify for `www-format-apply-value'.
282 (www-edit-display-feature-input-box): Modify input boxes; modify
283 for `www-format-value'.
284 (www-edit-display-feature-desc): Modify for
285 `www-edit-display-input-box'.
287 * cwiki-common.el (www-format-value): Add the first argument
288 `object' and the second argument `feature-name'; change argument
289 `variable' to be optional; modify for `www-format-apply-value'.
290 (www-format-apply-value): Add the first argument `object' and the
291 second argument `feature-name'; support format `wiki-text'.
292 (www-format-eval-feature-value): Modify for
293 `www-format-apply-value'.
294 (www-format-eval-unit): Likewise.
295 (www-xml-format-props): New function.
296 (www-xml-format-unit): New function.
297 (www-xml-format-list): New function.
299 2010-03-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
301 * cwiki-set.el (www-set-display-char-desc):
302 - Setup property `additional-features' of feature `$object' when
303 feature value is stored.
304 - Mount additional-features.
306 * cwiki-view.el (www-char-display-feature-default): Abolished.
307 (www-char-display-feature-as-ucs): Abolished.
308 (www-display-char-desc): Mount additional-features.
310 * cwiki-common.el (www-feature-type): Support `*node' and
312 (www-feature-value-format): Return `wiki-text' for type `stext'.
313 (www-format-apply-value): Don't set `default' even if a format is
314 not supported in this function.
316 2010-03-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
318 * cwiki-set.el (www-parse-string-as-wiki-text): New function
319 [currently just a stub].
320 (www-feature-parse-string): Use `www-parse-string-as-wiki-text'.
321 (www-set-display-char-desc): Use
322 `char-feature-name-sans-versions'.
324 * cwiki-edit.el (www-edit-display-feature-input-box): New
326 (www-edit-display-char-desc): Use
327 `www-edit-display-feature-input-box'.
329 * cwiki-view.el (www-display-char-desc): Use
330 `char-feature-name-sans-versions'.
332 * cwiki-common.el (char-feature-name-sans-versions): New function.
334 2010-03-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
336 * cwiki-set.el (www-set-display-char-desc): Store new value into
337 FEATURE@$rev=latest; don't display `$rev=latest' domain features.
339 * cwiki-edit.el (www-edit-display-char-feature-default): Use
340 `www-char-feature' instead of `char-feature'.
341 (www-edit-display-char-feature-as-ucs): Likewise.
342 (www-edit-display-char-desc): Likewise; replace value of char-spec
343 with value of `www-char-feature'.
345 * cwiki-view.el (www-char-display-feature-default): Use
346 `www-char-feature' instead of `char-feature'.
347 (www-char-display-feature-as-ucs): Likewise.
348 (www-display-char-desc): Ignore `$rev=latest' domain features.
350 * cwiki-common.el (char-feature-name-at-domain): New function.
351 (www-char-feature): New function.
352 (www-format-encode-string): Use `www-char-feature' instead of
354 (www-format-eval-feature-value): Likewise.
355 (www-format-eval-unit): Likewise.
357 2010-03-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
359 * cwiki-set.el (www-parse-string-default): New function.
360 (www-feature-parse-string):
361 - Support new format `string'.
362 - Use `www-parse-string-default' for `default'.
364 2010-03-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
366 * cwiki-common.el (chise-wiki-glyph-cgi-url): New variable.
367 (www-uri-encode-char): Support `=>>gt'.
368 (www-format-encode-string):
369 - Use GT, Big5 and Big5-CDP fonts.
370 - Use http://www.unicode.org/cgi-bin/refglyph?24-hhhh to display
371 `=ucs@unicode' glyphs.
372 - Display &MCS-hhhhhhhh; with using child's glyph.
374 * cwiki-glyph.el: New file.
376 2010-03-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
378 * cwiki-common.el (chise-wiki-bitmap-glyphs-url): Renamed from
379 `chise-wiki-glyphs-url'.
380 (www-format-encode-string):
381 - Use `chise-wiki-bitmap-glyphs-url' instead of
382 `chise-wiki-glyphs-url'.
383 - Display &JC3-hhhh; and &ZOB-dddd;.
385 2010-03-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
387 * cwiki-edit.el (www-edit-display-feature-desc): Use
388 `www-format-feature-name*' instead of `www-format-feature-name'.
390 * cwiki-common.el (www-uri-decode-char):
392 - Prefer `=>jis-x0208' and `=>jis-x0213-1' to `=big5' and
394 - Fix problem when no CCSes are found.
395 (www-format-feature-name*): New function.
396 (www-format-feature-name): Use `www-format-feature-name*'.
398 2010-03-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
400 * cwiki-set.el (www-parse-string-as-space-separated-char-list):
401 Expect `string' to be encoded as URI.
402 (www-parse-string-as-space-separated-ids): Likewise.
403 (www-feature-parse-string): Likewise.
404 (www-set-display-char-desc): Expect `uri-char' to be encoded as
406 (www-set-display-feature-desc): Fix problem when `name@lang' is
408 (www-batch-set): Don't use `decode-uri-string' for value of `char'
411 * cwiki-edit.el (www-edit-display-char-desc): Expect `uri-char' to
413 (www-batch-edit): Don't use `decode-uri-string' for value of
416 * cwiki-view.el (www-display-char-desc): Expect `uri-char' to be
417 encoded as URI; encode `uri-char' if it is a non-encoded
419 (www-batch-view): Don't use `decode-uri-string' for value of
422 * cwiki-common.el (www-uri-decode-char): Expect char-rep to be
424 (www-uri-encode-char): Encode UCS characters as %XX encoding.
425 (www-format-feature-name-as-CCS): Insert space between
426 prefix (..., ===>, ==>, =>, =>>, =>>>, ..., =) and main-name.
427 (www-html-display-text): Don't escape "&" except ">-".
429 2010-03-16 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
431 * cwiki-set.el (www-parse-string-as-space-separated-ids): New
433 (www-parse-string-as-ku-ten): New function.
434 (www-feature-parse-string): Support `space-separated-ids' and
437 2010-03-16 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
439 * cwiki-common.el (www-feature-value-format): Return
440 'space-separated-ids for `structure' type features.
441 (www-format-value-as-ids): New function.
442 (www-format-apply-value): Use `www-format-value-as-ids' for format
443 `space-separated-ids'.
445 2010-03-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
447 * cwiki-common.el, cwiki-edit.el, cwiki-set.el, cwiki-view.el: New