1 2010-04-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3 * cwiki-view.el (www-display-feature-desc): Fix problem to display
4 non-ASCII characters in property `format'.
6 2010-04-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
8 * cwiki-view.el (www-display-char-desc): Use `www-feature-format'.
9 (www-display-feature-desc): Ditto.
11 * cwiki-common.el (www-feature-format): New function.
12 (www-format-eval-unit): Support `:feature' property for `value'
13 related functions and `name' function.
15 2010-04-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
17 * cwiki-common.el (www-feature-value-format): Search ancestors'
18 property if own property is not found.
19 (char-feature-name-parent): New function.
20 (www-format-feature-name*): Search ancestors' property if own
21 property is not found.
23 2010-04-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
25 * cwiki-edit.el (www-edit-display-feature-desc): Display and
26 support editing of property `format'.
28 * cwiki-common.el (find-previous-defined-code-point): Fix problem
31 * cwiki-view.el (www-display-feature-desc): Add edit button for
34 2010-04-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
36 * cwiki-common.el (www-feature-value-format): Add
37 `(prev-char) (next-char)' into default format of CCS feature.
38 (get-previous-code-point): New function.
39 (get-next-code-point): New function.
40 (find-previous-defined-code-point): New function.
41 (find-next-defined-code-point): New function.
42 (www-format-eval-unit): Support `prev-char' and `next-char'.
44 2010-04-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
46 * cwiki-view.el (www-display-char-desc): Don't display "add
47 feature" button when running with simple mode.
49 2010-04-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
51 * cwiki-set.el (www-set-display-feature-desc): Refer
52 `chise-wiki-view-url'.
54 2010-04-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
56 * cwiki-view.el (www-display-feature-desc): Add new optional
57 argument `simple'; display "Edit" and "New Account" buttons when
58 running with simple mode; display "Simple" button when running
60 (www-batch-view): Modify for `www-display-feature-desc' to support
63 2010-04-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
65 * cwiki-view.el (www-display-char-desc): Use <div> instead of <p>
66 to display feature in top-level.
68 2010-04-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
70 * cwiki-set.el (chise-wiki-view-url): Use "view.cgi" instead of
73 * cwiki-edit.el (chise-wiki-view-url): Use "view.cgi" instead of
76 * cwiki-view.el (chise-wiki-edit-url): Use "edit.cgi" instead of
78 (chise-wiki-add-url): Use "add.cgi" instead of "edit/add.cgi".
79 (www-display-char-desc): Add new optional argument `simple';
80 display "Edit" and "New Account" buttons when running with simple
81 mode; display "Simple" button when running with edit mode.
82 (www-batch-view): Modify to support mode.
84 * cwiki-common.el (chise-wiki-edit-url): Changed to "edit.cgi".
85 (www-format-value): Add new optional argument `without-edit';
86 modify for `www-format-apply-value'.
87 (www-format-apply-value): Add new optional argument
88 `without-edit'; modify for `www-format-eval-list'.
89 (www-format-eval-feature-value): Add new optional arguments
90 `without-tags' and `without-edit'; modify for
91 `www-format-apply-value' and `www-format-eval-list'.
92 (www-format-eval-unit):
93 - Add new optional arguments `without-tags' and `without-edit';
94 modify for `www-format-eval-feature-value',
95 `www-format-apply-value' and `www-format-eval-list'.
96 - specify 'without-tags and 'without-edit for
97 `www-format-eval-list' in href part of `link'.
98 (www-format-eval-list): Add new optional arguments `without-tags'
99 and `without-edit'; modify for `www-format-eval-unit'.
101 2010-04-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
103 * cwiki-common.el (www-format-eval-unit): Treat `string' as a
104 format specifier of feature-value.
106 2010-04-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
108 * cwiki-common.el (www-format-props-to-string): When `:len' is
109 specified, treat `:zero-padding' is specified.
111 2010-04-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
113 * cwiki-common.el (www-uri-encode-char): Use `=ruimoku-v6'.
114 (www-format-encode-string): Display `=ruimoku-v6' characters.
116 * cwiki-glyph.el (www-glyph-generate-png): Support `=ruimoku-v6'.
117 (www-glyph-display-png): Support RUI6-hhhh;
119 2010-04-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
121 * cwiki-common.el (www-uri-encode-char): Accept `=>zinbun-oracle'.
122 (www-format-encode-string):
123 - Display &A-ZOB-dddd;.
124 - Support `ideographic-combination'(合文) and
125 `ideographic-structure'.
127 2010-04-01 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
129 * cwiki-view.el (www-batch-view): Accept
130 "?char=&ENTITY-REFERENCE;".
132 2010-03-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
134 * cwiki-view.el (www-display-char-desc): Use
135 `char-feature-name-sans-versions' to avoid domain `$rev=latest'
136 when sort feature-names.
138 2010-03-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
140 * cwiki-common.el (www-format-value-as-domain-list): New function.
141 (www-format-apply-value): Support `space-separated-domain-list'.
142 (char-GlyphWiki-id): Try to avoid uHHHH-{u|us}.
144 2010-03-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
146 * cwiki-common.el (coded-charset-GlyphWiki-id-alist): Add setting
147 for `=ucs@jis', `=jis-x0208@1978/-4pr' and `=jis-x0208@1978'.
148 (char-GlyphWiki-id): Use `char-feature' instead of `encode-char'.
150 2010-03-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
152 * cwiki-view.el (www-display-char-desc): Add input form for CHISE
155 2010-03-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
157 * cwiki-view.el (www-display-char-desc): Try to display glyph of
158 GlyphWiki and link it.
160 * cwiki-common.el (coded-charset-GlyphWiki-id-alist): New
162 (char-GlyphWiki-id): New function.
164 2010-03-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
166 * cwiki-set.el (www-parse-string-as-kangxi-radical): New function.
167 (www-feature-parse-string): Support format `kangxi-radical'.
169 * cwiki-common.el (www-format-value-as-kangxi-radical): New
171 (www-format-apply-value): Support format `kangxi-radical'.
172 (www-format-eval-unit): Support `kangxi-radical' as a value
175 2010-03-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
177 * cwiki-common.el (www-format-value-default): New function.
178 (www-format-encode-string):
179 - Prefer `=gt' to `=cns11643-{1..7}'.
180 - Display &(G-)GT-Kddddd; entity references.
181 (www-format-apply-value):
182 - New implementation for format `string'.
183 - Use `www-format-value-default' for default format.
185 * cwiki-glyph.el (www-glyph-generate-png): Support `=gt-k'.
186 (www-glyph-display-png): Support GT-Kddddd.
188 * cwiki-set.el (www-parse-string-default): New implementation.
189 (www-set-display-feature-desc):
190 - New argument `format'.
191 - Display `value-format'.
192 (www-batch-set): Modify for the API change to set feature's
195 * cwiki-view.el (www-display-char-desc): Display parents in the
197 (www-display-feature-desc): Use `www-format-value' with default
198 format instead of `www-xml-format-list' and
199 `www-format-encode-string'.
201 * cwiki-edit.el (www-edit-display-feature-input-box): Add new
202 optional argument `value'.
203 (www-edit-display-feature-desc):
204 - Use `www-edit-display-feature-input-box' instead of
205 `www-edit-display-input-box'.
206 - Display `value-format'.
208 2010-03-19 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
210 * cwiki-view.el (www-display-feature-desc): Display [edit] button
213 2010-03-19 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
215 * cwiki-common.el (www-xml-format-unit): Escape `&'.
217 2010-03-19 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
219 * cwiki-common.el (www-format-encode-string): Display
221 (www-xml-format-props): Encode property value.
222 (www-xml-format-unit): Encode string.
224 * cwiki-edit.el (www-edit-display-feature-input-box): Escape <">.
226 * cwiki-view.el (www-display-feature-desc): Modify design of
229 2010-03-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
231 * cwiki-set.el (www-xml-to-stext-unit): Support
232 <link><ref>...</ref>...</link>.
234 * cwiki-common.el (www-xml-format-unit): Support tag style `ref'
237 * cwiki-view.el (www-display-feature-desc): Display `value-format'
240 2010-03-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
242 * cwiki-common.el (www-format-feature-name-as-metadata): New
244 (www-format-feature-name*): Use
245 `www-format-feature-name-as-metadata' for metadata features.
247 2010-03-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
249 * cwiki-set.el (www-xml-parse-string): New function.
250 (www-xml-to-stext-props): New function.
251 (www-xml-to-stext-unit): New function.
252 (www-xml-to-stext-list): New function.
253 (www-stext-parse-xml-string): New function.
254 (www-parse-string-as-wiki-text): Use `www-stext-parse-xml-string'.
256 * cwiki-edit.el (www-edit-display-char-feature-default): Abolish.
257 (www-edit-display-char-feature-as-ucs): Abolish.
258 (www-edit-display-input-box): Add the first argument `object';
259 modify for `www-format-apply-value'.
260 (www-edit-display-feature-input-box): Modify input boxes; modify
261 for `www-format-value'.
262 (www-edit-display-feature-desc): Modify for
263 `www-edit-display-input-box'.
265 * cwiki-common.el (www-format-value): Add the first argument
266 `object' and the second argument `feature-name'; change argument
267 `variable' to be optional; modify for `www-format-apply-value'.
268 (www-format-apply-value): Add the first argument `object' and the
269 second argument `feature-name'; support format `wiki-text'.
270 (www-format-eval-feature-value): Modify for
271 `www-format-apply-value'.
272 (www-format-eval-unit): Likewise.
273 (www-xml-format-props): New function.
274 (www-xml-format-unit): New function.
275 (www-xml-format-list): New function.
277 2010-03-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
279 * cwiki-set.el (www-set-display-char-desc):
280 - Setup property `additional-features' of feature `$object' when
281 feature value is stored.
282 - Mount additional-features.
284 * cwiki-view.el (www-char-display-feature-default): Abolished.
285 (www-char-display-feature-as-ucs): Abolished.
286 (www-display-char-desc): Mount additional-features.
288 * cwiki-common.el (www-feature-type): Support `*node' and
290 (www-feature-value-format): Return `wiki-text' for type `stext'.
291 (www-format-apply-value): Don't set `default' even if a format is
292 not supported in this function.
294 2010-03-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
296 * cwiki-set.el (www-parse-string-as-wiki-text): New function
297 [currently just a stub].
298 (www-feature-parse-string): Use `www-parse-string-as-wiki-text'.
299 (www-set-display-char-desc): Use
300 `char-feature-name-sans-versions'.
302 * cwiki-edit.el (www-edit-display-feature-input-box): New
304 (www-edit-display-char-desc): Use
305 `www-edit-display-feature-input-box'.
307 * cwiki-view.el (www-display-char-desc): Use
308 `char-feature-name-sans-versions'.
310 * cwiki-common.el (char-feature-name-sans-versions): New function.
312 2010-03-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
314 * cwiki-set.el (www-set-display-char-desc): Store new value into
315 FEATURE@$rev=latest; don't display `$rev=latest' domain features.
317 * cwiki-edit.el (www-edit-display-char-feature-default): Use
318 `www-char-feature' instead of `char-feature'.
319 (www-edit-display-char-feature-as-ucs): Likewise.
320 (www-edit-display-char-desc): Likewise; replace value of char-spec
321 with value of `www-char-feature'.
323 * cwiki-view.el (www-char-display-feature-default): Use
324 `www-char-feature' instead of `char-feature'.
325 (www-char-display-feature-as-ucs): Likewise.
326 (www-display-char-desc): Ignore `$rev=latest' domain features.
328 * cwiki-common.el (char-feature-name-at-domain): New function.
329 (www-char-feature): New function.
330 (www-format-encode-string): Use `www-char-feature' instead of
332 (www-format-eval-feature-value): Likewise.
333 (www-format-eval-unit): Likewise.
335 2010-03-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
337 * cwiki-set.el (www-parse-string-default): New function.
338 (www-feature-parse-string):
339 - Support new format `string'.
340 - Use `www-parse-string-default' for `default'.
342 2010-03-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
344 * cwiki-common.el (chise-wiki-glyph-cgi-url): New variable.
345 (www-uri-encode-char): Support `=>>gt'.
346 (www-format-encode-string):
347 - Use GT, Big5 and Big5-CDP fonts.
348 - Use http://www.unicode.org/cgi-bin/refglyph?24-hhhh to display
349 `=ucs@unicode' glyphs.
350 - Display &MCS-hhhhhhhh; with using child's glyph.
352 * cwiki-glyph.el: New file.
354 2010-03-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
356 * cwiki-common.el (chise-wiki-bitmap-glyphs-url): Renamed from
357 `chise-wiki-glyphs-url'.
358 (www-format-encode-string):
359 - Use `chise-wiki-bitmap-glyphs-url' instead of
360 `chise-wiki-glyphs-url'.
361 - Display &JC3-hhhh; and &ZOB-dddd;.
363 2010-03-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
365 * cwiki-edit.el (www-edit-display-feature-desc): Use
366 `www-format-feature-name*' instead of `www-format-feature-name'.
368 * cwiki-common.el (www-uri-decode-char):
370 - Prefer `=>jis-x0208' and `=>jis-x0213-1' to `=big5' and
372 - Fix problem when no CCSes are found.
373 (www-format-feature-name*): New function.
374 (www-format-feature-name): Use `www-format-feature-name*'.
376 2010-03-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
378 * cwiki-set.el (www-parse-string-as-space-separated-char-list):
379 Expect `string' to be encoded as URI.
380 (www-parse-string-as-space-separated-ids): Likewise.
381 (www-feature-parse-string): Likewise.
382 (www-set-display-char-desc): Expect `uri-char' to be encoded as
384 (www-set-display-feature-desc): Fix problem when `name@lang' is
386 (www-batch-set): Don't use `decode-uri-string' for value of `char'
389 * cwiki-edit.el (www-edit-display-char-desc): Expect `uri-char' to
391 (www-batch-edit): Don't use `decode-uri-string' for value of
394 * cwiki-view.el (www-display-char-desc): Expect `uri-char' to be
395 encoded as URI; encode `uri-char' if it is a non-encoded
397 (www-batch-view): Don't use `decode-uri-string' for value of
400 * cwiki-common.el (www-uri-decode-char): Expect char-rep to be
402 (www-uri-encode-char): Encode UCS characters as %XX encoding.
403 (www-format-feature-name-as-CCS): Insert space between
404 prefix (..., ===>, ==>, =>, =>>, =>>>, ..., =) and main-name.
405 (www-html-display-text): Don't escape "&" except ">-".
407 2010-03-16 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
409 * cwiki-set.el (www-parse-string-as-space-separated-ids): New
411 (www-parse-string-as-ku-ten): New function.
412 (www-feature-parse-string): Support `space-separated-ids' and
415 2010-03-16 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
417 * cwiki-common.el (www-feature-value-format): Return
418 'space-separated-ids for `structure' type features.
419 (www-format-value-as-ids): New function.
420 (www-format-apply-value): Use `www-format-value-as-ids' for format
421 `space-separated-ids'.
423 2010-03-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
425 * cwiki-common.el, cwiki-edit.el, cwiki-set.el, cwiki-view.el: New