1 2010-04-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3 * cwiki-edit.el (www-edit-display-feature-desc): Display and
4 support editing of property `format'.
6 * cwiki-common.el (find-previous-defined-code-point): Fix problem
9 * cwiki-view.el (www-display-feature-desc): Add edit button for
12 2010-04-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
14 * cwiki-common.el (www-feature-value-format): Add
15 `(prev-char) (next-char)' into default format of CCS feature.
16 (get-previous-code-point): New function.
17 (get-next-code-point): New function.
18 (find-previous-defined-code-point): New function.
19 (find-next-defined-code-point): New function.
20 (www-format-eval-unit): Support `prev-char' and `next-char'.
22 2010-04-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
24 * cwiki-view.el (www-display-char-desc): Don't display "add
25 feature" button when running with simple mode.
27 2010-04-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
29 * cwiki-set.el (www-set-display-feature-desc): Refer
30 `chise-wiki-view-url'.
32 2010-04-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
34 * cwiki-view.el (www-display-feature-desc): Add new optional
35 argument `simple'; display "Edit" and "New Account" buttons when
36 running with simple mode; display "Simple" button when running
38 (www-batch-view): Modify for `www-display-feature-desc' to support
41 2010-04-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
43 * cwiki-view.el (www-display-char-desc): Use <div> instead of <p>
44 to display feature in top-level.
46 2010-04-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
48 * cwiki-set.el (chise-wiki-view-url): Use "view.cgi" instead of
51 * cwiki-edit.el (chise-wiki-view-url): Use "view.cgi" instead of
54 * cwiki-view.el (chise-wiki-edit-url): Use "edit.cgi" instead of
56 (chise-wiki-add-url): Use "add.cgi" instead of "edit/add.cgi".
57 (www-display-char-desc): Add new optional argument `simple';
58 display "Edit" and "New Account" buttons when running with simple
59 mode; display "Simple" button when running with edit mode.
60 (www-batch-view): Modify to support mode.
62 * cwiki-common.el (chise-wiki-edit-url): Changed to "edit.cgi".
63 (www-format-value): Add new optional argument `without-edit';
64 modify for `www-format-apply-value'.
65 (www-format-apply-value): Add new optional argument
66 `without-edit'; modify for `www-format-eval-list'.
67 (www-format-eval-feature-value): Add new optional arguments
68 `without-tags' and `without-edit'; modify for
69 `www-format-apply-value' and `www-format-eval-list'.
70 (www-format-eval-unit):
71 - Add new optional arguments `without-tags' and `without-edit';
72 modify for `www-format-eval-feature-value',
73 `www-format-apply-value' and `www-format-eval-list'.
74 - specify 'without-tags and 'without-edit for
75 `www-format-eval-list' in href part of `link'.
76 (www-format-eval-list): Add new optional arguments `without-tags'
77 and `without-edit'; modify for `www-format-eval-unit'.
79 2010-04-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
81 * cwiki-common.el (www-format-eval-unit): Treat `string' as a
82 format specifier of feature-value.
84 2010-04-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
86 * cwiki-common.el (www-format-props-to-string): When `:len' is
87 specified, treat `:zero-padding' is specified.
89 2010-04-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
91 * cwiki-common.el (www-uri-encode-char): Use `=ruimoku-v6'.
92 (www-format-encode-string): Display `=ruimoku-v6' characters.
94 * cwiki-glyph.el (www-glyph-generate-png): Support `=ruimoku-v6'.
95 (www-glyph-display-png): Support RUI6-hhhh;
97 2010-04-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
99 * cwiki-common.el (www-uri-encode-char): Accept `=>zinbun-oracle'.
100 (www-format-encode-string):
101 - Display &A-ZOB-dddd;.
102 - Support `ideographic-combination'(合文) and
103 `ideographic-structure'.
105 2010-04-01 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
107 * cwiki-view.el (www-batch-view): Accept
108 "?char=&ENTITY-REFERENCE;".
110 2010-03-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
112 * cwiki-view.el (www-display-char-desc): Use
113 `char-feature-name-sans-versions' to avoid domain `$rev=latest'
114 when sort feature-names.
116 2010-03-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
118 * cwiki-common.el (www-format-value-as-domain-list): New function.
119 (www-format-apply-value): Support `space-separated-domain-list'.
120 (char-GlyphWiki-id): Try to avoid uHHHH-{u|us}.
122 2010-03-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
124 * cwiki-common.el (coded-charset-GlyphWiki-id-alist): Add setting
125 for `=ucs@jis', `=jis-x0208@1978/-4pr' and `=jis-x0208@1978'.
126 (char-GlyphWiki-id): Use `char-feature' instead of `encode-char'.
128 2010-03-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
130 * cwiki-view.el (www-display-char-desc): Add input form for CHISE
133 2010-03-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
135 * cwiki-view.el (www-display-char-desc): Try to display glyph of
136 GlyphWiki and link it.
138 * cwiki-common.el (coded-charset-GlyphWiki-id-alist): New
140 (char-GlyphWiki-id): New function.
142 2010-03-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
144 * cwiki-set.el (www-parse-string-as-kangxi-radical): New function.
145 (www-feature-parse-string): Support format `kangxi-radical'.
147 * cwiki-common.el (www-format-value-as-kangxi-radical): New
149 (www-format-apply-value): Support format `kangxi-radical'.
150 (www-format-eval-unit): Support `kangxi-radical' as a value
153 2010-03-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
155 * cwiki-common.el (www-format-value-default): New function.
156 (www-format-encode-string):
157 - Prefer `=gt' to `=cns11643-{1..7}'.
158 - Display &(G-)GT-Kddddd; entity references.
159 (www-format-apply-value):
160 - New implementation for format `string'.
161 - Use `www-format-value-default' for default format.
163 * cwiki-glyph.el (www-glyph-generate-png): Support `=gt-k'.
164 (www-glyph-display-png): Support GT-Kddddd.
166 * cwiki-set.el (www-parse-string-default): New implementation.
167 (www-set-display-feature-desc):
168 - New argument `format'.
169 - Display `value-format'.
170 (www-batch-set): Modify for the API change to set feature's
173 * cwiki-view.el (www-display-char-desc): Display parents in the
175 (www-display-feature-desc): Use `www-format-value' with default
176 format instead of `www-xml-format-list' and
177 `www-format-encode-string'.
179 * cwiki-edit.el (www-edit-display-feature-input-box): Add new
180 optional argument `value'.
181 (www-edit-display-feature-desc):
182 - Use `www-edit-display-feature-input-box' instead of
183 `www-edit-display-input-box'.
184 - Display `value-format'.
186 2010-03-19 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
188 * cwiki-view.el (www-display-feature-desc): Display [edit] button
191 2010-03-19 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
193 * cwiki-common.el (www-xml-format-unit): Escape `&'.
195 2010-03-19 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
197 * cwiki-common.el (www-format-encode-string): Display
199 (www-xml-format-props): Encode property value.
200 (www-xml-format-unit): Encode string.
202 * cwiki-edit.el (www-edit-display-feature-input-box): Escape <">.
204 * cwiki-view.el (www-display-feature-desc): Modify design of
207 2010-03-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
209 * cwiki-set.el (www-xml-to-stext-unit): Support
210 <link><ref>...</ref>...</link>.
212 * cwiki-common.el (www-xml-format-unit): Support tag style `ref'
215 * cwiki-view.el (www-display-feature-desc): Display `value-format'
218 2010-03-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
220 * cwiki-common.el (www-format-feature-name-as-metadata): New
222 (www-format-feature-name*): Use
223 `www-format-feature-name-as-metadata' for metadata features.
225 2010-03-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
227 * cwiki-set.el (www-xml-parse-string): New function.
228 (www-xml-to-stext-props): New function.
229 (www-xml-to-stext-unit): New function.
230 (www-xml-to-stext-list): New function.
231 (www-stext-parse-xml-string): New function.
232 (www-parse-string-as-wiki-text): Use `www-stext-parse-xml-string'.
234 * cwiki-edit.el (www-edit-display-char-feature-default): Abolish.
235 (www-edit-display-char-feature-as-ucs): Abolish.
236 (www-edit-display-input-box): Add the first argument `object';
237 modify for `www-format-apply-value'.
238 (www-edit-display-feature-input-box): Modify input boxes; modify
239 for `www-format-value'.
240 (www-edit-display-feature-desc): Modify for
241 `www-edit-display-input-box'.
243 * cwiki-common.el (www-format-value): Add the first argument
244 `object' and the second argument `feature-name'; change argument
245 `variable' to be optional; modify for `www-format-apply-value'.
246 (www-format-apply-value): Add the first argument `object' and the
247 second argument `feature-name'; support format `wiki-text'.
248 (www-format-eval-feature-value): Modify for
249 `www-format-apply-value'.
250 (www-format-eval-unit): Likewise.
251 (www-xml-format-props): New function.
252 (www-xml-format-unit): New function.
253 (www-xml-format-list): New function.
255 2010-03-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
257 * cwiki-set.el (www-set-display-char-desc):
258 - Setup property `additional-features' of feature `$object' when
259 feature value is stored.
260 - Mount additional-features.
262 * cwiki-view.el (www-char-display-feature-default): Abolished.
263 (www-char-display-feature-as-ucs): Abolished.
264 (www-display-char-desc): Mount additional-features.
266 * cwiki-common.el (www-feature-type): Support `*node' and
268 (www-feature-value-format): Return `wiki-text' for type `stext'.
269 (www-format-apply-value): Don't set `default' even if a format is
270 not supported in this function.
272 2010-03-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
274 * cwiki-set.el (www-parse-string-as-wiki-text): New function
275 [currently just a stub].
276 (www-feature-parse-string): Use `www-parse-string-as-wiki-text'.
277 (www-set-display-char-desc): Use
278 `char-feature-name-sans-versions'.
280 * cwiki-edit.el (www-edit-display-feature-input-box): New
282 (www-edit-display-char-desc): Use
283 `www-edit-display-feature-input-box'.
285 * cwiki-view.el (www-display-char-desc): Use
286 `char-feature-name-sans-versions'.
288 * cwiki-common.el (char-feature-name-sans-versions): New function.
290 2010-03-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
292 * cwiki-set.el (www-set-display-char-desc): Store new value into
293 FEATURE@$rev=latest; don't display `$rev=latest' domain features.
295 * cwiki-edit.el (www-edit-display-char-feature-default): Use
296 `www-char-feature' instead of `char-feature'.
297 (www-edit-display-char-feature-as-ucs): Likewise.
298 (www-edit-display-char-desc): Likewise; replace value of char-spec
299 with value of `www-char-feature'.
301 * cwiki-view.el (www-char-display-feature-default): Use
302 `www-char-feature' instead of `char-feature'.
303 (www-char-display-feature-as-ucs): Likewise.
304 (www-display-char-desc): Ignore `$rev=latest' domain features.
306 * cwiki-common.el (char-feature-name-at-domain): New function.
307 (www-char-feature): New function.
308 (www-format-encode-string): Use `www-char-feature' instead of
310 (www-format-eval-feature-value): Likewise.
311 (www-format-eval-unit): Likewise.
313 2010-03-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
315 * cwiki-set.el (www-parse-string-default): New function.
316 (www-feature-parse-string):
317 - Support new format `string'.
318 - Use `www-parse-string-default' for `default'.
320 2010-03-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
322 * cwiki-common.el (chise-wiki-glyph-cgi-url): New variable.
323 (www-uri-encode-char): Support `=>>gt'.
324 (www-format-encode-string):
325 - Use GT, Big5 and Big5-CDP fonts.
326 - Use http://www.unicode.org/cgi-bin/refglyph?24-hhhh to display
327 `=ucs@unicode' glyphs.
328 - Display &MCS-hhhhhhhh; with using child's glyph.
330 * cwiki-glyph.el: New file.
332 2010-03-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
334 * cwiki-common.el (chise-wiki-bitmap-glyphs-url): Renamed from
335 `chise-wiki-glyphs-url'.
336 (www-format-encode-string):
337 - Use `chise-wiki-bitmap-glyphs-url' instead of
338 `chise-wiki-glyphs-url'.
339 - Display &JC3-hhhh; and &ZOB-dddd;.
341 2010-03-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
343 * cwiki-edit.el (www-edit-display-feature-desc): Use
344 `www-format-feature-name*' instead of `www-format-feature-name'.
346 * cwiki-common.el (www-uri-decode-char):
348 - Prefer `=>jis-x0208' and `=>jis-x0213-1' to `=big5' and
350 - Fix problem when no CCSes are found.
351 (www-format-feature-name*): New function.
352 (www-format-feature-name): Use `www-format-feature-name*'.
354 2010-03-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
356 * cwiki-set.el (www-parse-string-as-space-separated-char-list):
357 Expect `string' to be encoded as URI.
358 (www-parse-string-as-space-separated-ids): Likewise.
359 (www-feature-parse-string): Likewise.
360 (www-set-display-char-desc): Expect `uri-char' to be encoded as
362 (www-set-display-feature-desc): Fix problem when `name@lang' is
364 (www-batch-set): Don't use `decode-uri-string' for value of `char'
367 * cwiki-edit.el (www-edit-display-char-desc): Expect `uri-char' to
369 (www-batch-edit): Don't use `decode-uri-string' for value of
372 * cwiki-view.el (www-display-char-desc): Expect `uri-char' to be
373 encoded as URI; encode `uri-char' if it is a non-encoded
375 (www-batch-view): Don't use `decode-uri-string' for value of
378 * cwiki-common.el (www-uri-decode-char): Expect char-rep to be
380 (www-uri-encode-char): Encode UCS characters as %XX encoding.
381 (www-format-feature-name-as-CCS): Insert space between
382 prefix (..., ===>, ==>, =>, =>>, =>>>, ..., =) and main-name.
383 (www-html-display-text): Don't escape "&" except ">-".
385 2010-03-16 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
387 * cwiki-set.el (www-parse-string-as-space-separated-ids): New
389 (www-parse-string-as-ku-ten): New function.
390 (www-feature-parse-string): Support `space-separated-ids' and
393 2010-03-16 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
395 * cwiki-common.el (www-feature-value-format): Return
396 'space-separated-ids for `structure' type features.
397 (www-format-value-as-ids): New function.
398 (www-format-apply-value): Use `www-format-value-as-ids' for format
399 `space-separated-ids'.
401 2010-03-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
403 * cwiki-common.el, cwiki-edit.el, cwiki-set.el, cwiki-view.el: New