1 2010-04-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3 * cwiki-common.el (www-feature-value-format): Search ancestors'
4 property if own property is not found.
5 (char-feature-name-parent): New function.
6 (www-format-feature-name*): Search ancestors' property if own
9 2010-04-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
11 * cwiki-edit.el (www-edit-display-feature-desc): Display and
12 support editing of property `format'.
14 * cwiki-common.el (find-previous-defined-code-point): Fix problem
17 * cwiki-view.el (www-display-feature-desc): Add edit button for
20 2010-04-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
22 * cwiki-common.el (www-feature-value-format): Add
23 `(prev-char) (next-char)' into default format of CCS feature.
24 (get-previous-code-point): New function.
25 (get-next-code-point): New function.
26 (find-previous-defined-code-point): New function.
27 (find-next-defined-code-point): New function.
28 (www-format-eval-unit): Support `prev-char' and `next-char'.
30 2010-04-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
32 * cwiki-view.el (www-display-char-desc): Don't display "add
33 feature" button when running with simple mode.
35 2010-04-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
37 * cwiki-set.el (www-set-display-feature-desc): Refer
38 `chise-wiki-view-url'.
40 2010-04-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
42 * cwiki-view.el (www-display-feature-desc): Add new optional
43 argument `simple'; display "Edit" and "New Account" buttons when
44 running with simple mode; display "Simple" button when running
46 (www-batch-view): Modify for `www-display-feature-desc' to support
49 2010-04-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
51 * cwiki-view.el (www-display-char-desc): Use <div> instead of <p>
52 to display feature in top-level.
54 2010-04-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
56 * cwiki-set.el (chise-wiki-view-url): Use "view.cgi" instead of
59 * cwiki-edit.el (chise-wiki-view-url): Use "view.cgi" instead of
62 * cwiki-view.el (chise-wiki-edit-url): Use "edit.cgi" instead of
64 (chise-wiki-add-url): Use "add.cgi" instead of "edit/add.cgi".
65 (www-display-char-desc): Add new optional argument `simple';
66 display "Edit" and "New Account" buttons when running with simple
67 mode; display "Simple" button when running with edit mode.
68 (www-batch-view): Modify to support mode.
70 * cwiki-common.el (chise-wiki-edit-url): Changed to "edit.cgi".
71 (www-format-value): Add new optional argument `without-edit';
72 modify for `www-format-apply-value'.
73 (www-format-apply-value): Add new optional argument
74 `without-edit'; modify for `www-format-eval-list'.
75 (www-format-eval-feature-value): Add new optional arguments
76 `without-tags' and `without-edit'; modify for
77 `www-format-apply-value' and `www-format-eval-list'.
78 (www-format-eval-unit):
79 - Add new optional arguments `without-tags' and `without-edit';
80 modify for `www-format-eval-feature-value',
81 `www-format-apply-value' and `www-format-eval-list'.
82 - specify 'without-tags and 'without-edit for
83 `www-format-eval-list' in href part of `link'.
84 (www-format-eval-list): Add new optional arguments `without-tags'
85 and `without-edit'; modify for `www-format-eval-unit'.
87 2010-04-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
89 * cwiki-common.el (www-format-eval-unit): Treat `string' as a
90 format specifier of feature-value.
92 2010-04-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
94 * cwiki-common.el (www-format-props-to-string): When `:len' is
95 specified, treat `:zero-padding' is specified.
97 2010-04-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
99 * cwiki-common.el (www-uri-encode-char): Use `=ruimoku-v6'.
100 (www-format-encode-string): Display `=ruimoku-v6' characters.
102 * cwiki-glyph.el (www-glyph-generate-png): Support `=ruimoku-v6'.
103 (www-glyph-display-png): Support RUI6-hhhh;
105 2010-04-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
107 * cwiki-common.el (www-uri-encode-char): Accept `=>zinbun-oracle'.
108 (www-format-encode-string):
109 - Display &A-ZOB-dddd;.
110 - Support `ideographic-combination'(合文) and
111 `ideographic-structure'.
113 2010-04-01 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
115 * cwiki-view.el (www-batch-view): Accept
116 "?char=&ENTITY-REFERENCE;".
118 2010-03-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
120 * cwiki-view.el (www-display-char-desc): Use
121 `char-feature-name-sans-versions' to avoid domain `$rev=latest'
122 when sort feature-names.
124 2010-03-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
126 * cwiki-common.el (www-format-value-as-domain-list): New function.
127 (www-format-apply-value): Support `space-separated-domain-list'.
128 (char-GlyphWiki-id): Try to avoid uHHHH-{u|us}.
130 2010-03-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
132 * cwiki-common.el (coded-charset-GlyphWiki-id-alist): Add setting
133 for `=ucs@jis', `=jis-x0208@1978/-4pr' and `=jis-x0208@1978'.
134 (char-GlyphWiki-id): Use `char-feature' instead of `encode-char'.
136 2010-03-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
138 * cwiki-view.el (www-display-char-desc): Add input form for CHISE
141 2010-03-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
143 * cwiki-view.el (www-display-char-desc): Try to display glyph of
144 GlyphWiki and link it.
146 * cwiki-common.el (coded-charset-GlyphWiki-id-alist): New
148 (char-GlyphWiki-id): New function.
150 2010-03-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
152 * cwiki-set.el (www-parse-string-as-kangxi-radical): New function.
153 (www-feature-parse-string): Support format `kangxi-radical'.
155 * cwiki-common.el (www-format-value-as-kangxi-radical): New
157 (www-format-apply-value): Support format `kangxi-radical'.
158 (www-format-eval-unit): Support `kangxi-radical' as a value
161 2010-03-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
163 * cwiki-common.el (www-format-value-default): New function.
164 (www-format-encode-string):
165 - Prefer `=gt' to `=cns11643-{1..7}'.
166 - Display &(G-)GT-Kddddd; entity references.
167 (www-format-apply-value):
168 - New implementation for format `string'.
169 - Use `www-format-value-default' for default format.
171 * cwiki-glyph.el (www-glyph-generate-png): Support `=gt-k'.
172 (www-glyph-display-png): Support GT-Kddddd.
174 * cwiki-set.el (www-parse-string-default): New implementation.
175 (www-set-display-feature-desc):
176 - New argument `format'.
177 - Display `value-format'.
178 (www-batch-set): Modify for the API change to set feature's
181 * cwiki-view.el (www-display-char-desc): Display parents in the
183 (www-display-feature-desc): Use `www-format-value' with default
184 format instead of `www-xml-format-list' and
185 `www-format-encode-string'.
187 * cwiki-edit.el (www-edit-display-feature-input-box): Add new
188 optional argument `value'.
189 (www-edit-display-feature-desc):
190 - Use `www-edit-display-feature-input-box' instead of
191 `www-edit-display-input-box'.
192 - Display `value-format'.
194 2010-03-19 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
196 * cwiki-view.el (www-display-feature-desc): Display [edit] button
199 2010-03-19 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
201 * cwiki-common.el (www-xml-format-unit): Escape `&'.
203 2010-03-19 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
205 * cwiki-common.el (www-format-encode-string): Display
207 (www-xml-format-props): Encode property value.
208 (www-xml-format-unit): Encode string.
210 * cwiki-edit.el (www-edit-display-feature-input-box): Escape <">.
212 * cwiki-view.el (www-display-feature-desc): Modify design of
215 2010-03-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
217 * cwiki-set.el (www-xml-to-stext-unit): Support
218 <link><ref>...</ref>...</link>.
220 * cwiki-common.el (www-xml-format-unit): Support tag style `ref'
223 * cwiki-view.el (www-display-feature-desc): Display `value-format'
226 2010-03-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
228 * cwiki-common.el (www-format-feature-name-as-metadata): New
230 (www-format-feature-name*): Use
231 `www-format-feature-name-as-metadata' for metadata features.
233 2010-03-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
235 * cwiki-set.el (www-xml-parse-string): New function.
236 (www-xml-to-stext-props): New function.
237 (www-xml-to-stext-unit): New function.
238 (www-xml-to-stext-list): New function.
239 (www-stext-parse-xml-string): New function.
240 (www-parse-string-as-wiki-text): Use `www-stext-parse-xml-string'.
242 * cwiki-edit.el (www-edit-display-char-feature-default): Abolish.
243 (www-edit-display-char-feature-as-ucs): Abolish.
244 (www-edit-display-input-box): Add the first argument `object';
245 modify for `www-format-apply-value'.
246 (www-edit-display-feature-input-box): Modify input boxes; modify
247 for `www-format-value'.
248 (www-edit-display-feature-desc): Modify for
249 `www-edit-display-input-box'.
251 * cwiki-common.el (www-format-value): Add the first argument
252 `object' and the second argument `feature-name'; change argument
253 `variable' to be optional; modify for `www-format-apply-value'.
254 (www-format-apply-value): Add the first argument `object' and the
255 second argument `feature-name'; support format `wiki-text'.
256 (www-format-eval-feature-value): Modify for
257 `www-format-apply-value'.
258 (www-format-eval-unit): Likewise.
259 (www-xml-format-props): New function.
260 (www-xml-format-unit): New function.
261 (www-xml-format-list): New function.
263 2010-03-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
265 * cwiki-set.el (www-set-display-char-desc):
266 - Setup property `additional-features' of feature `$object' when
267 feature value is stored.
268 - Mount additional-features.
270 * cwiki-view.el (www-char-display-feature-default): Abolished.
271 (www-char-display-feature-as-ucs): Abolished.
272 (www-display-char-desc): Mount additional-features.
274 * cwiki-common.el (www-feature-type): Support `*node' and
276 (www-feature-value-format): Return `wiki-text' for type `stext'.
277 (www-format-apply-value): Don't set `default' even if a format is
278 not supported in this function.
280 2010-03-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
282 * cwiki-set.el (www-parse-string-as-wiki-text): New function
283 [currently just a stub].
284 (www-feature-parse-string): Use `www-parse-string-as-wiki-text'.
285 (www-set-display-char-desc): Use
286 `char-feature-name-sans-versions'.
288 * cwiki-edit.el (www-edit-display-feature-input-box): New
290 (www-edit-display-char-desc): Use
291 `www-edit-display-feature-input-box'.
293 * cwiki-view.el (www-display-char-desc): Use
294 `char-feature-name-sans-versions'.
296 * cwiki-common.el (char-feature-name-sans-versions): New function.
298 2010-03-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
300 * cwiki-set.el (www-set-display-char-desc): Store new value into
301 FEATURE@$rev=latest; don't display `$rev=latest' domain features.
303 * cwiki-edit.el (www-edit-display-char-feature-default): Use
304 `www-char-feature' instead of `char-feature'.
305 (www-edit-display-char-feature-as-ucs): Likewise.
306 (www-edit-display-char-desc): Likewise; replace value of char-spec
307 with value of `www-char-feature'.
309 * cwiki-view.el (www-char-display-feature-default): Use
310 `www-char-feature' instead of `char-feature'.
311 (www-char-display-feature-as-ucs): Likewise.
312 (www-display-char-desc): Ignore `$rev=latest' domain features.
314 * cwiki-common.el (char-feature-name-at-domain): New function.
315 (www-char-feature): New function.
316 (www-format-encode-string): Use `www-char-feature' instead of
318 (www-format-eval-feature-value): Likewise.
319 (www-format-eval-unit): Likewise.
321 2010-03-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
323 * cwiki-set.el (www-parse-string-default): New function.
324 (www-feature-parse-string):
325 - Support new format `string'.
326 - Use `www-parse-string-default' for `default'.
328 2010-03-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
330 * cwiki-common.el (chise-wiki-glyph-cgi-url): New variable.
331 (www-uri-encode-char): Support `=>>gt'.
332 (www-format-encode-string):
333 - Use GT, Big5 and Big5-CDP fonts.
334 - Use http://www.unicode.org/cgi-bin/refglyph?24-hhhh to display
335 `=ucs@unicode' glyphs.
336 - Display &MCS-hhhhhhhh; with using child's glyph.
338 * cwiki-glyph.el: New file.
340 2010-03-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
342 * cwiki-common.el (chise-wiki-bitmap-glyphs-url): Renamed from
343 `chise-wiki-glyphs-url'.
344 (www-format-encode-string):
345 - Use `chise-wiki-bitmap-glyphs-url' instead of
346 `chise-wiki-glyphs-url'.
347 - Display &JC3-hhhh; and &ZOB-dddd;.
349 2010-03-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
351 * cwiki-edit.el (www-edit-display-feature-desc): Use
352 `www-format-feature-name*' instead of `www-format-feature-name'.
354 * cwiki-common.el (www-uri-decode-char):
356 - Prefer `=>jis-x0208' and `=>jis-x0213-1' to `=big5' and
358 - Fix problem when no CCSes are found.
359 (www-format-feature-name*): New function.
360 (www-format-feature-name): Use `www-format-feature-name*'.
362 2010-03-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
364 * cwiki-set.el (www-parse-string-as-space-separated-char-list):
365 Expect `string' to be encoded as URI.
366 (www-parse-string-as-space-separated-ids): Likewise.
367 (www-feature-parse-string): Likewise.
368 (www-set-display-char-desc): Expect `uri-char' to be encoded as
370 (www-set-display-feature-desc): Fix problem when `name@lang' is
372 (www-batch-set): Don't use `decode-uri-string' for value of `char'
375 * cwiki-edit.el (www-edit-display-char-desc): Expect `uri-char' to
377 (www-batch-edit): Don't use `decode-uri-string' for value of
380 * cwiki-view.el (www-display-char-desc): Expect `uri-char' to be
381 encoded as URI; encode `uri-char' if it is a non-encoded
383 (www-batch-view): Don't use `decode-uri-string' for value of
386 * cwiki-common.el (www-uri-decode-char): Expect char-rep to be
388 (www-uri-encode-char): Encode UCS characters as %XX encoding.
389 (www-format-feature-name-as-CCS): Insert space between
390 prefix (..., ===>, ==>, =>, =>>, =>>>, ..., =) and main-name.
391 (www-html-display-text): Don't escape "&" except ">-".
393 2010-03-16 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
395 * cwiki-set.el (www-parse-string-as-space-separated-ids): New
397 (www-parse-string-as-ku-ten): New function.
398 (www-feature-parse-string): Support `space-separated-ids' and
401 2010-03-16 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
403 * cwiki-common.el (www-feature-value-format): Return
404 'space-separated-ids for `structure' type features.
405 (www-format-value-as-ids): New function.
406 (www-format-apply-value): Use `www-format-value-as-ids' for format
407 `space-separated-ids'.
409 2010-03-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
411 * cwiki-common.el, cwiki-edit.el, cwiki-set.el, cwiki-view.el: New