1 2010-04-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3 * cwiki-common.el (www-feature-value-format): Add
4 `(prev-char) (next-char)' into default format of CCS feature.
5 (get-previous-code-point): New function.
6 (get-next-code-point): New function.
7 (find-previous-defined-code-point): New function.
8 (find-next-defined-code-point): New function.
9 (www-format-eval-unit): Support `prev-char' and `next-char'.
11 2010-04-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
13 * cwiki-view.el (www-display-char-desc): Don't display "add
14 feature" button when running with simple mode.
16 2010-04-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
18 * cwiki-set.el (www-set-display-feature-desc): Refer
19 `chise-wiki-view-url'.
21 2010-04-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
23 * cwiki-view.el (www-display-feature-desc): Add new optional
24 argument `simple'; display "Edit" and "New Account" buttons when
25 running with simple mode; display "Simple" button when running
27 (www-batch-view): Modify for `www-display-feature-desc' to support
30 2010-04-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
32 * cwiki-view.el (www-display-char-desc): Use <div> instead of <p>
33 to display feature in top-level.
35 2010-04-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
37 * cwiki-set.el (chise-wiki-view-url): Use "view.cgi" instead of
40 * cwiki-edit.el (chise-wiki-view-url): Use "view.cgi" instead of
43 * cwiki-view.el (chise-wiki-edit-url): Use "edit.cgi" instead of
45 (chise-wiki-add-url): Use "add.cgi" instead of "edit/add.cgi".
46 (www-display-char-desc): Add new optional argument `simple';
47 display "Edit" and "New Account" buttons when running with simple
48 mode; display "Simple" button when running with edit mode.
49 (www-batch-view): Modify to support mode.
51 * cwiki-common.el (chise-wiki-edit-url): Changed to "edit.cgi".
52 (www-format-value): Add new optional argument `without-edit';
53 modify for `www-format-apply-value'.
54 (www-format-apply-value): Add new optional argument
55 `without-edit'; modify for `www-format-eval-list'.
56 (www-format-eval-feature-value): Add new optional arguments
57 `without-tags' and `without-edit'; modify for
58 `www-format-apply-value' and `www-format-eval-list'.
59 (www-format-eval-unit):
60 - Add new optional arguments `without-tags' and `without-edit';
61 modify for `www-format-eval-feature-value',
62 `www-format-apply-value' and `www-format-eval-list'.
63 - specify 'without-tags and 'without-edit for
64 `www-format-eval-list' in href part of `link'.
65 (www-format-eval-list): Add new optional arguments `without-tags'
66 and `without-edit'; modify for `www-format-eval-unit'.
68 2010-04-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
70 * cwiki-common.el (www-format-eval-unit): Treat `string' as a
71 format specifier of feature-value.
73 2010-04-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
75 * cwiki-common.el (www-format-props-to-string): When `:len' is
76 specified, treat `:zero-padding' is specified.
78 2010-04-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
80 * cwiki-common.el (www-uri-encode-char): Use `=ruimoku-v6'.
81 (www-format-encode-string): Display `=ruimoku-v6' characters.
83 * cwiki-glyph.el (www-glyph-generate-png): Support `=ruimoku-v6'.
84 (www-glyph-display-png): Support RUI6-hhhh;
86 2010-04-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
88 * cwiki-common.el (www-uri-encode-char): Accept `=>zinbun-oracle'.
89 (www-format-encode-string):
90 - Display &A-ZOB-dddd;.
91 - Support `ideographic-combination'(合文) and
92 `ideographic-structure'.
94 2010-04-01 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
96 * cwiki-view.el (www-batch-view): Accept
97 "?char=&ENTITY-REFERENCE;".
99 2010-03-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
101 * cwiki-view.el (www-display-char-desc): Use
102 `char-feature-name-sans-versions' to avoid domain `$rev=latest'
103 when sort feature-names.
105 2010-03-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
107 * cwiki-common.el (www-format-value-as-domain-list): New function.
108 (www-format-apply-value): Support `space-separated-domain-list'.
109 (char-GlyphWiki-id): Try to avoid uHHHH-{u|us}.
111 2010-03-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
113 * cwiki-common.el (coded-charset-GlyphWiki-id-alist): Add setting
114 for `=ucs@jis', `=jis-x0208@1978/-4pr' and `=jis-x0208@1978'.
115 (char-GlyphWiki-id): Use `char-feature' instead of `encode-char'.
117 2010-03-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
119 * cwiki-view.el (www-display-char-desc): Add input form for CHISE
122 2010-03-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
124 * cwiki-view.el (www-display-char-desc): Try to display glyph of
125 GlyphWiki and link it.
127 * cwiki-common.el (coded-charset-GlyphWiki-id-alist): New
129 (char-GlyphWiki-id): New function.
131 2010-03-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
133 * cwiki-set.el (www-parse-string-as-kangxi-radical): New function.
134 (www-feature-parse-string): Support format `kangxi-radical'.
136 * cwiki-common.el (www-format-value-as-kangxi-radical): New
138 (www-format-apply-value): Support format `kangxi-radical'.
139 (www-format-eval-unit): Support `kangxi-radical' as a value
142 2010-03-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
144 * cwiki-common.el (www-format-value-default): New function.
145 (www-format-encode-string):
146 - Prefer `=gt' to `=cns11643-{1..7}'.
147 - Display &(G-)GT-Kddddd; entity references.
148 (www-format-apply-value):
149 - New implementation for format `string'.
150 - Use `www-format-value-default' for default format.
152 * cwiki-glyph.el (www-glyph-generate-png): Support `=gt-k'.
153 (www-glyph-display-png): Support GT-Kddddd.
155 * cwiki-set.el (www-parse-string-default): New implementation.
156 (www-set-display-feature-desc):
157 - New argument `format'.
158 - Display `value-format'.
159 (www-batch-set): Modify for the API change to set feature's
162 * cwiki-view.el (www-display-char-desc): Display parents in the
164 (www-display-feature-desc): Use `www-format-value' with default
165 format instead of `www-xml-format-list' and
166 `www-format-encode-string'.
168 * cwiki-edit.el (www-edit-display-feature-input-box): Add new
169 optional argument `value'.
170 (www-edit-display-feature-desc):
171 - Use `www-edit-display-feature-input-box' instead of
172 `www-edit-display-input-box'.
173 - Display `value-format'.
175 2010-03-19 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
177 * cwiki-view.el (www-display-feature-desc): Display [edit] button
180 2010-03-19 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
182 * cwiki-common.el (www-xml-format-unit): Escape `&'.
184 2010-03-19 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
186 * cwiki-common.el (www-format-encode-string): Display
188 (www-xml-format-props): Encode property value.
189 (www-xml-format-unit): Encode string.
191 * cwiki-edit.el (www-edit-display-feature-input-box): Escape <">.
193 * cwiki-view.el (www-display-feature-desc): Modify design of
196 2010-03-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
198 * cwiki-set.el (www-xml-to-stext-unit): Support
199 <link><ref>...</ref>...</link>.
201 * cwiki-common.el (www-xml-format-unit): Support tag style `ref'
204 * cwiki-view.el (www-display-feature-desc): Display `value-format'
207 2010-03-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
209 * cwiki-common.el (www-format-feature-name-as-metadata): New
211 (www-format-feature-name*): Use
212 `www-format-feature-name-as-metadata' for metadata features.
214 2010-03-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
216 * cwiki-set.el (www-xml-parse-string): New function.
217 (www-xml-to-stext-props): New function.
218 (www-xml-to-stext-unit): New function.
219 (www-xml-to-stext-list): New function.
220 (www-stext-parse-xml-string): New function.
221 (www-parse-string-as-wiki-text): Use `www-stext-parse-xml-string'.
223 * cwiki-edit.el (www-edit-display-char-feature-default): Abolish.
224 (www-edit-display-char-feature-as-ucs): Abolish.
225 (www-edit-display-input-box): Add the first argument `object';
226 modify for `www-format-apply-value'.
227 (www-edit-display-feature-input-box): Modify input boxes; modify
228 for `www-format-value'.
229 (www-edit-display-feature-desc): Modify for
230 `www-edit-display-input-box'.
232 * cwiki-common.el (www-format-value): Add the first argument
233 `object' and the second argument `feature-name'; change argument
234 `variable' to be optional; modify for `www-format-apply-value'.
235 (www-format-apply-value): Add the first argument `object' and the
236 second argument `feature-name'; support format `wiki-text'.
237 (www-format-eval-feature-value): Modify for
238 `www-format-apply-value'.
239 (www-format-eval-unit): Likewise.
240 (www-xml-format-props): New function.
241 (www-xml-format-unit): New function.
242 (www-xml-format-list): New function.
244 2010-03-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
246 * cwiki-set.el (www-set-display-char-desc):
247 - Setup property `additional-features' of feature `$object' when
248 feature value is stored.
249 - Mount additional-features.
251 * cwiki-view.el (www-char-display-feature-default): Abolished.
252 (www-char-display-feature-as-ucs): Abolished.
253 (www-display-char-desc): Mount additional-features.
255 * cwiki-common.el (www-feature-type): Support `*node' and
257 (www-feature-value-format): Return `wiki-text' for type `stext'.
258 (www-format-apply-value): Don't set `default' even if a format is
259 not supported in this function.
261 2010-03-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
263 * cwiki-set.el (www-parse-string-as-wiki-text): New function
264 [currently just a stub].
265 (www-feature-parse-string): Use `www-parse-string-as-wiki-text'.
266 (www-set-display-char-desc): Use
267 `char-feature-name-sans-versions'.
269 * cwiki-edit.el (www-edit-display-feature-input-box): New
271 (www-edit-display-char-desc): Use
272 `www-edit-display-feature-input-box'.
274 * cwiki-view.el (www-display-char-desc): Use
275 `char-feature-name-sans-versions'.
277 * cwiki-common.el (char-feature-name-sans-versions): New function.
279 2010-03-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
281 * cwiki-set.el (www-set-display-char-desc): Store new value into
282 FEATURE@$rev=latest; don't display `$rev=latest' domain features.
284 * cwiki-edit.el (www-edit-display-char-feature-default): Use
285 `www-char-feature' instead of `char-feature'.
286 (www-edit-display-char-feature-as-ucs): Likewise.
287 (www-edit-display-char-desc): Likewise; replace value of char-spec
288 with value of `www-char-feature'.
290 * cwiki-view.el (www-char-display-feature-default): Use
291 `www-char-feature' instead of `char-feature'.
292 (www-char-display-feature-as-ucs): Likewise.
293 (www-display-char-desc): Ignore `$rev=latest' domain features.
295 * cwiki-common.el (char-feature-name-at-domain): New function.
296 (www-char-feature): New function.
297 (www-format-encode-string): Use `www-char-feature' instead of
299 (www-format-eval-feature-value): Likewise.
300 (www-format-eval-unit): Likewise.
302 2010-03-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
304 * cwiki-set.el (www-parse-string-default): New function.
305 (www-feature-parse-string):
306 - Support new format `string'.
307 - Use `www-parse-string-default' for `default'.
309 2010-03-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
311 * cwiki-common.el (chise-wiki-glyph-cgi-url): New variable.
312 (www-uri-encode-char): Support `=>>gt'.
313 (www-format-encode-string):
314 - Use GT, Big5 and Big5-CDP fonts.
315 - Use http://www.unicode.org/cgi-bin/refglyph?24-hhhh to display
316 `=ucs@unicode' glyphs.
317 - Display &MCS-hhhhhhhh; with using child's glyph.
319 * cwiki-glyph.el: New file.
321 2010-03-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
323 * cwiki-common.el (chise-wiki-bitmap-glyphs-url): Renamed from
324 `chise-wiki-glyphs-url'.
325 (www-format-encode-string):
326 - Use `chise-wiki-bitmap-glyphs-url' instead of
327 `chise-wiki-glyphs-url'.
328 - Display &JC3-hhhh; and &ZOB-dddd;.
330 2010-03-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
332 * cwiki-edit.el (www-edit-display-feature-desc): Use
333 `www-format-feature-name*' instead of `www-format-feature-name'.
335 * cwiki-common.el (www-uri-decode-char):
337 - Prefer `=>jis-x0208' and `=>jis-x0213-1' to `=big5' and
339 - Fix problem when no CCSes are found.
340 (www-format-feature-name*): New function.
341 (www-format-feature-name): Use `www-format-feature-name*'.
343 2010-03-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
345 * cwiki-set.el (www-parse-string-as-space-separated-char-list):
346 Expect `string' to be encoded as URI.
347 (www-parse-string-as-space-separated-ids): Likewise.
348 (www-feature-parse-string): Likewise.
349 (www-set-display-char-desc): Expect `uri-char' to be encoded as
351 (www-set-display-feature-desc): Fix problem when `name@lang' is
353 (www-batch-set): Don't use `decode-uri-string' for value of `char'
356 * cwiki-edit.el (www-edit-display-char-desc): Expect `uri-char' to
358 (www-batch-edit): Don't use `decode-uri-string' for value of
361 * cwiki-view.el (www-display-char-desc): Expect `uri-char' to be
362 encoded as URI; encode `uri-char' if it is a non-encoded
364 (www-batch-view): Don't use `decode-uri-string' for value of
367 * cwiki-common.el (www-uri-decode-char): Expect char-rep to be
369 (www-uri-encode-char): Encode UCS characters as %XX encoding.
370 (www-format-feature-name-as-CCS): Insert space between
371 prefix (..., ===>, ==>, =>, =>>, =>>>, ..., =) and main-name.
372 (www-html-display-text): Don't escape "&" except ">-".
374 2010-03-16 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
376 * cwiki-set.el (www-parse-string-as-space-separated-ids): New
378 (www-parse-string-as-ku-ten): New function.
379 (www-feature-parse-string): Support `space-separated-ids' and
382 2010-03-16 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
384 * cwiki-common.el (www-feature-value-format): Return
385 'space-separated-ids for `structure' type features.
386 (www-format-value-as-ids): New function.
387 (www-format-apply-value): Use `www-format-value-as-ids' for format
388 `space-separated-ids'.
390 2010-03-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
392 * cwiki-common.el, cwiki-edit.el, cwiki-set.el, cwiki-view.el: New