1 2010-04-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3 * cwiki-view.el (www-display-char-desc): Use `www-feature-format'.
4 (www-display-feature-desc): Ditto.
6 * cwiki-common.el (www-feature-format): New function.
7 (www-format-eval-unit): Support `:feature' property for `value'
8 related functions and `name' function.
10 2010-04-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
12 * cwiki-common.el (www-feature-value-format): Search ancestors'
13 property if own property is not found.
14 (char-feature-name-parent): New function.
15 (www-format-feature-name*): Search ancestors' property if own
16 property is not found.
18 2010-04-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
20 * cwiki-edit.el (www-edit-display-feature-desc): Display and
21 support editing of property `format'.
23 * cwiki-common.el (find-previous-defined-code-point): Fix problem
26 * cwiki-view.el (www-display-feature-desc): Add edit button for
29 2010-04-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
31 * cwiki-common.el (www-feature-value-format): Add
32 `(prev-char) (next-char)' into default format of CCS feature.
33 (get-previous-code-point): New function.
34 (get-next-code-point): New function.
35 (find-previous-defined-code-point): New function.
36 (find-next-defined-code-point): New function.
37 (www-format-eval-unit): Support `prev-char' and `next-char'.
39 2010-04-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
41 * cwiki-view.el (www-display-char-desc): Don't display "add
42 feature" button when running with simple mode.
44 2010-04-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
46 * cwiki-set.el (www-set-display-feature-desc): Refer
47 `chise-wiki-view-url'.
49 2010-04-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
51 * cwiki-view.el (www-display-feature-desc): Add new optional
52 argument `simple'; display "Edit" and "New Account" buttons when
53 running with simple mode; display "Simple" button when running
55 (www-batch-view): Modify for `www-display-feature-desc' to support
58 2010-04-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
60 * cwiki-view.el (www-display-char-desc): Use <div> instead of <p>
61 to display feature in top-level.
63 2010-04-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
65 * cwiki-set.el (chise-wiki-view-url): Use "view.cgi" instead of
68 * cwiki-edit.el (chise-wiki-view-url): Use "view.cgi" instead of
71 * cwiki-view.el (chise-wiki-edit-url): Use "edit.cgi" instead of
73 (chise-wiki-add-url): Use "add.cgi" instead of "edit/add.cgi".
74 (www-display-char-desc): Add new optional argument `simple';
75 display "Edit" and "New Account" buttons when running with simple
76 mode; display "Simple" button when running with edit mode.
77 (www-batch-view): Modify to support mode.
79 * cwiki-common.el (chise-wiki-edit-url): Changed to "edit.cgi".
80 (www-format-value): Add new optional argument `without-edit';
81 modify for `www-format-apply-value'.
82 (www-format-apply-value): Add new optional argument
83 `without-edit'; modify for `www-format-eval-list'.
84 (www-format-eval-feature-value): Add new optional arguments
85 `without-tags' and `without-edit'; modify for
86 `www-format-apply-value' and `www-format-eval-list'.
87 (www-format-eval-unit):
88 - Add new optional arguments `without-tags' and `without-edit';
89 modify for `www-format-eval-feature-value',
90 `www-format-apply-value' and `www-format-eval-list'.
91 - specify 'without-tags and 'without-edit for
92 `www-format-eval-list' in href part of `link'.
93 (www-format-eval-list): Add new optional arguments `without-tags'
94 and `without-edit'; modify for `www-format-eval-unit'.
96 2010-04-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
98 * cwiki-common.el (www-format-eval-unit): Treat `string' as a
99 format specifier of feature-value.
101 2010-04-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
103 * cwiki-common.el (www-format-props-to-string): When `:len' is
104 specified, treat `:zero-padding' is specified.
106 2010-04-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
108 * cwiki-common.el (www-uri-encode-char): Use `=ruimoku-v6'.
109 (www-format-encode-string): Display `=ruimoku-v6' characters.
111 * cwiki-glyph.el (www-glyph-generate-png): Support `=ruimoku-v6'.
112 (www-glyph-display-png): Support RUI6-hhhh;
114 2010-04-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
116 * cwiki-common.el (www-uri-encode-char): Accept `=>zinbun-oracle'.
117 (www-format-encode-string):
118 - Display &A-ZOB-dddd;.
119 - Support `ideographic-combination'(合文) and
120 `ideographic-structure'.
122 2010-04-01 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
124 * cwiki-view.el (www-batch-view): Accept
125 "?char=&ENTITY-REFERENCE;".
127 2010-03-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
129 * cwiki-view.el (www-display-char-desc): Use
130 `char-feature-name-sans-versions' to avoid domain `$rev=latest'
131 when sort feature-names.
133 2010-03-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
135 * cwiki-common.el (www-format-value-as-domain-list): New function.
136 (www-format-apply-value): Support `space-separated-domain-list'.
137 (char-GlyphWiki-id): Try to avoid uHHHH-{u|us}.
139 2010-03-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
141 * cwiki-common.el (coded-charset-GlyphWiki-id-alist): Add setting
142 for `=ucs@jis', `=jis-x0208@1978/-4pr' and `=jis-x0208@1978'.
143 (char-GlyphWiki-id): Use `char-feature' instead of `encode-char'.
145 2010-03-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
147 * cwiki-view.el (www-display-char-desc): Add input form for CHISE
150 2010-03-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
152 * cwiki-view.el (www-display-char-desc): Try to display glyph of
153 GlyphWiki and link it.
155 * cwiki-common.el (coded-charset-GlyphWiki-id-alist): New
157 (char-GlyphWiki-id): New function.
159 2010-03-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
161 * cwiki-set.el (www-parse-string-as-kangxi-radical): New function.
162 (www-feature-parse-string): Support format `kangxi-radical'.
164 * cwiki-common.el (www-format-value-as-kangxi-radical): New
166 (www-format-apply-value): Support format `kangxi-radical'.
167 (www-format-eval-unit): Support `kangxi-radical' as a value
170 2010-03-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
172 * cwiki-common.el (www-format-value-default): New function.
173 (www-format-encode-string):
174 - Prefer `=gt' to `=cns11643-{1..7}'.
175 - Display &(G-)GT-Kddddd; entity references.
176 (www-format-apply-value):
177 - New implementation for format `string'.
178 - Use `www-format-value-default' for default format.
180 * cwiki-glyph.el (www-glyph-generate-png): Support `=gt-k'.
181 (www-glyph-display-png): Support GT-Kddddd.
183 * cwiki-set.el (www-parse-string-default): New implementation.
184 (www-set-display-feature-desc):
185 - New argument `format'.
186 - Display `value-format'.
187 (www-batch-set): Modify for the API change to set feature's
190 * cwiki-view.el (www-display-char-desc): Display parents in the
192 (www-display-feature-desc): Use `www-format-value' with default
193 format instead of `www-xml-format-list' and
194 `www-format-encode-string'.
196 * cwiki-edit.el (www-edit-display-feature-input-box): Add new
197 optional argument `value'.
198 (www-edit-display-feature-desc):
199 - Use `www-edit-display-feature-input-box' instead of
200 `www-edit-display-input-box'.
201 - Display `value-format'.
203 2010-03-19 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
205 * cwiki-view.el (www-display-feature-desc): Display [edit] button
208 2010-03-19 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
210 * cwiki-common.el (www-xml-format-unit): Escape `&'.
212 2010-03-19 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
214 * cwiki-common.el (www-format-encode-string): Display
216 (www-xml-format-props): Encode property value.
217 (www-xml-format-unit): Encode string.
219 * cwiki-edit.el (www-edit-display-feature-input-box): Escape <">.
221 * cwiki-view.el (www-display-feature-desc): Modify design of
224 2010-03-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
226 * cwiki-set.el (www-xml-to-stext-unit): Support
227 <link><ref>...</ref>...</link>.
229 * cwiki-common.el (www-xml-format-unit): Support tag style `ref'
232 * cwiki-view.el (www-display-feature-desc): Display `value-format'
235 2010-03-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
237 * cwiki-common.el (www-format-feature-name-as-metadata): New
239 (www-format-feature-name*): Use
240 `www-format-feature-name-as-metadata' for metadata features.
242 2010-03-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
244 * cwiki-set.el (www-xml-parse-string): New function.
245 (www-xml-to-stext-props): New function.
246 (www-xml-to-stext-unit): New function.
247 (www-xml-to-stext-list): New function.
248 (www-stext-parse-xml-string): New function.
249 (www-parse-string-as-wiki-text): Use `www-stext-parse-xml-string'.
251 * cwiki-edit.el (www-edit-display-char-feature-default): Abolish.
252 (www-edit-display-char-feature-as-ucs): Abolish.
253 (www-edit-display-input-box): Add the first argument `object';
254 modify for `www-format-apply-value'.
255 (www-edit-display-feature-input-box): Modify input boxes; modify
256 for `www-format-value'.
257 (www-edit-display-feature-desc): Modify for
258 `www-edit-display-input-box'.
260 * cwiki-common.el (www-format-value): Add the first argument
261 `object' and the second argument `feature-name'; change argument
262 `variable' to be optional; modify for `www-format-apply-value'.
263 (www-format-apply-value): Add the first argument `object' and the
264 second argument `feature-name'; support format `wiki-text'.
265 (www-format-eval-feature-value): Modify for
266 `www-format-apply-value'.
267 (www-format-eval-unit): Likewise.
268 (www-xml-format-props): New function.
269 (www-xml-format-unit): New function.
270 (www-xml-format-list): New function.
272 2010-03-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
274 * cwiki-set.el (www-set-display-char-desc):
275 - Setup property `additional-features' of feature `$object' when
276 feature value is stored.
277 - Mount additional-features.
279 * cwiki-view.el (www-char-display-feature-default): Abolished.
280 (www-char-display-feature-as-ucs): Abolished.
281 (www-display-char-desc): Mount additional-features.
283 * cwiki-common.el (www-feature-type): Support `*node' and
285 (www-feature-value-format): Return `wiki-text' for type `stext'.
286 (www-format-apply-value): Don't set `default' even if a format is
287 not supported in this function.
289 2010-03-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
291 * cwiki-set.el (www-parse-string-as-wiki-text): New function
292 [currently just a stub].
293 (www-feature-parse-string): Use `www-parse-string-as-wiki-text'.
294 (www-set-display-char-desc): Use
295 `char-feature-name-sans-versions'.
297 * cwiki-edit.el (www-edit-display-feature-input-box): New
299 (www-edit-display-char-desc): Use
300 `www-edit-display-feature-input-box'.
302 * cwiki-view.el (www-display-char-desc): Use
303 `char-feature-name-sans-versions'.
305 * cwiki-common.el (char-feature-name-sans-versions): New function.
307 2010-03-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
309 * cwiki-set.el (www-set-display-char-desc): Store new value into
310 FEATURE@$rev=latest; don't display `$rev=latest' domain features.
312 * cwiki-edit.el (www-edit-display-char-feature-default): Use
313 `www-char-feature' instead of `char-feature'.
314 (www-edit-display-char-feature-as-ucs): Likewise.
315 (www-edit-display-char-desc): Likewise; replace value of char-spec
316 with value of `www-char-feature'.
318 * cwiki-view.el (www-char-display-feature-default): Use
319 `www-char-feature' instead of `char-feature'.
320 (www-char-display-feature-as-ucs): Likewise.
321 (www-display-char-desc): Ignore `$rev=latest' domain features.
323 * cwiki-common.el (char-feature-name-at-domain): New function.
324 (www-char-feature): New function.
325 (www-format-encode-string): Use `www-char-feature' instead of
327 (www-format-eval-feature-value): Likewise.
328 (www-format-eval-unit): Likewise.
330 2010-03-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
332 * cwiki-set.el (www-parse-string-default): New function.
333 (www-feature-parse-string):
334 - Support new format `string'.
335 - Use `www-parse-string-default' for `default'.
337 2010-03-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
339 * cwiki-common.el (chise-wiki-glyph-cgi-url): New variable.
340 (www-uri-encode-char): Support `=>>gt'.
341 (www-format-encode-string):
342 - Use GT, Big5 and Big5-CDP fonts.
343 - Use http://www.unicode.org/cgi-bin/refglyph?24-hhhh to display
344 `=ucs@unicode' glyphs.
345 - Display &MCS-hhhhhhhh; with using child's glyph.
347 * cwiki-glyph.el: New file.
349 2010-03-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
351 * cwiki-common.el (chise-wiki-bitmap-glyphs-url): Renamed from
352 `chise-wiki-glyphs-url'.
353 (www-format-encode-string):
354 - Use `chise-wiki-bitmap-glyphs-url' instead of
355 `chise-wiki-glyphs-url'.
356 - Display &JC3-hhhh; and &ZOB-dddd;.
358 2010-03-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
360 * cwiki-edit.el (www-edit-display-feature-desc): Use
361 `www-format-feature-name*' instead of `www-format-feature-name'.
363 * cwiki-common.el (www-uri-decode-char):
365 - Prefer `=>jis-x0208' and `=>jis-x0213-1' to `=big5' and
367 - Fix problem when no CCSes are found.
368 (www-format-feature-name*): New function.
369 (www-format-feature-name): Use `www-format-feature-name*'.
371 2010-03-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
373 * cwiki-set.el (www-parse-string-as-space-separated-char-list):
374 Expect `string' to be encoded as URI.
375 (www-parse-string-as-space-separated-ids): Likewise.
376 (www-feature-parse-string): Likewise.
377 (www-set-display-char-desc): Expect `uri-char' to be encoded as
379 (www-set-display-feature-desc): Fix problem when `name@lang' is
381 (www-batch-set): Don't use `decode-uri-string' for value of `char'
384 * cwiki-edit.el (www-edit-display-char-desc): Expect `uri-char' to
386 (www-batch-edit): Don't use `decode-uri-string' for value of
389 * cwiki-view.el (www-display-char-desc): Expect `uri-char' to be
390 encoded as URI; encode `uri-char' if it is a non-encoded
392 (www-batch-view): Don't use `decode-uri-string' for value of
395 * cwiki-common.el (www-uri-decode-char): Expect char-rep to be
397 (www-uri-encode-char): Encode UCS characters as %XX encoding.
398 (www-format-feature-name-as-CCS): Insert space between
399 prefix (..., ===>, ==>, =>, =>>, =>>>, ..., =) and main-name.
400 (www-html-display-text): Don't escape "&" except ">-".
402 2010-03-16 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
404 * cwiki-set.el (www-parse-string-as-space-separated-ids): New
406 (www-parse-string-as-ku-ten): New function.
407 (www-feature-parse-string): Support `space-separated-ids' and
410 2010-03-16 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
412 * cwiki-common.el (www-feature-value-format): Return
413 'space-separated-ids for `structure' type features.
414 (www-format-value-as-ids): New function.
415 (www-format-apply-value): Use `www-format-value-as-ids' for format
416 `space-separated-ids'.
418 2010-03-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
420 * cwiki-common.el, cwiki-edit.el, cwiki-set.el, cwiki-view.el: New