1 2016-06-11 MORIOKA Tomohiko <tomo.git@chise.org>
3 * est-eval.el (est-eval-value-as-image-resource): New function.
4 (est-eval-value-as-object): Use `est-eval-value-as-image-resource'
5 for `image-resource' genre.
7 * est-format.el (est-format-unit): Support `img' tag.
9 2016-06-09 MORIOKA Tomohiko <tomo.git@chise.org>
11 * cwiki-view.el (www-display-object-desc): Use "...$.zoom-xywh="
12 instead of "...$zoom-xywh=" to specify image zooming.
13 (www-batch-view-smart): Likewise.
15 2016-06-09 MORIOKA Tomohiko <tomo.git@chise.org>
17 * cwiki-view.el (www-display-object-desc):
18 - For each image segment, add link to the corresponding original
20 - Implement zooming feature for `image-resource' genre.
21 - Use HNG-card page of EsT instead of HNG-card image as link from
23 (www-batch-view-smart): Support "...$zoom-xywh=" modifier for
24 `image-resource' genre.
26 2016-06-08 MORIOKA Tomohiko <tomo.git@chise.org>
28 * cwiki-view.el (www-display-object-desc): Add code for genre
29 `hng-card' to display image of HNG-card.
31 * cwiki-common.el: Assign genre `hng-card'.
33 2016-06-08 MORIOKA Tomohiko <tomo.git@chise.org>
35 * cwiki-view.el (www-display-object-desc):
36 - Add new argument `image-selection'.
37 - Add code to display image in head for genre `image-resource'.
38 (www-batch-view): Modify for interface change of
39 `www-display-object-desc'.
41 2016-06-07 MORIOKA Tomohiko <tomo.git@chise.org>
43 * cwiki-common.el: Assign genre `image-resource'.
45 2016-06-01 MORIOKA Tomohiko <tomo.git@chise.org>
47 * cwiki-view.el (www-display-object-desc): Add styles for
50 * cwiki-common.el (www-format-encode-string): Add "tooltip" and
51 "tooltiptext" for HNG images.
53 2016-05-08 MORIOKA Tomohiko <tomo.git@chise.org>
55 * cwiki-view.el (www-batch-view-smart): Use
56 `char-db-json-char-data-with-variant' with readable mode.
58 * char-db-json.el (char-db-ignored-attributes): Add `composition'.
59 (char-db-json-insert-relation-feature): Use
60 `char-db-json-insert-char-spec' even if running with readable
62 (char-db-json-insert-char-features):
63 - Delete line-breaking for `=>ucs' and `=>ucs*'.
64 - Delete setting for `japanese-radical', `ideographic-',
65 `->ideograph', `ideograph=', `original-ideograph-of',
66 `ancient-ideograph-of', `vulgar-ideograph-of',
67 `wrong-ideograph-of' and `ideographic-variants' because they
68 have been already abolished.
69 (what-char-definition-json): Use
70 `char-db-json-char-data-with-variant' with readable mode.
72 2016-05-05 MORIOKA Tomohiko <tomo.git@chise.org>
74 * cwiki-common.el (est-coded-charset-priority-list): Add
75 `=ucs@unicode', `==ucs@unicode', `===ucs@unicode', `==>ucs@bucs',
76 `===daikanwa/+p' and `===gt'.
78 * char-db-json.el (char-db-json-insert-char-features): Add "@type"
79 based on glyph granularity.
81 2016-05-05 MORIOKA Tomohiko <tomo.git@chise.org>
83 * char-db-json.el (char-db-json-insert-ccs-feature): Modify
85 (char-db-json-insert-relation-feature): Likewise.
86 (char-db-json-insert-char-features): Likewise; add "@context" and
89 2016-05-04 MORIOKA Tomohiko <tomo.git@chise.org>
91 * cwiki-view.el: Require `char-db-json'.
92 (www-display-object-desc): Add [JSON] button.
93 (www-batch-view-smart): Support "/data.json" API for character
96 * char-db-json.el: New file.
98 2016-05-02 MORIOKA Tomohiko <tomo.git@chise.org>
100 * cwiki-common.el (www-format-encode-string): Display
103 2016-04-30 MORIOKA Tomohiko <tomo.git@chise.org>
105 * cwiki-view.el (www-display-object-desc): Add link for HNG-card
106 for HNG representative glyph-images.
108 2016-04-15 MORIOKA Tomohiko <tomo.git@chise.org>
110 * cwiki-common.el (coded-charset-GlyphWiki-id-alist): Decrease
111 preferences of `=jis-x0212', `=jis-x0213-1@2000',
112 `=jis-x0213-1@2004', `=jis-x0213-2', `=jef-china3',
113 `=jis-x0208@1978/1pr', `=jis-x0208@1978/-4pr' and
116 2016-04-14 MORIOKA Tomohiko <tomo.git@chise.org>
118 * cwiki-common.el (coded-charset-GlyphWiki-id-alist):
119 - Add setting for `==cbeta'.
120 - Use "cbeta-" instead of "cb" as the prefix for `=cbeta'.
122 2016-04-12 MORIOKA Tomohiko <tomo.git@chise.org>
124 * cwiki-common.el (www-format-encode-string): Display
125 "&U-vnnn-xxxx;"; omit support for "&{o|G|g2|R}-U-innn+xxxx;".
126 (coded-charset-GlyphWiki-id-alist): Add setting for
129 2016-04-06 MORIOKA Tomohiko <tomo.git@chise.org>
131 * cwiki-common.el (coded-charset-GlyphWiki-id-alist): Modify order
132 to prefer glyph-images (===foo) > abstract glyph-forms (==foo) >
133 detailed glyphs (=>>foo) > glyphs (=foo) > unified glyphs (=+>foo)
134 > abstract characters.
136 2016-04-05 MORIOKA Tomohiko <tomo.git@chise.org>
138 * est-format.el (est-format-props): Don't apply
139 `www-format-encode-string' to the return value of
140 `est-format-unit' because it has already been encoded.
142 2016-03-19 MORIOKA Tomohiko <tomo.git@chise.org>
144 * cwiki-common.el (est-coded-charset-priority-list): Add
147 2016-03-18 MORIOKA Tomohiko <tomo.git@chise.org>
149 * cwiki-common.el (www-format-encode-string): Add setting for
151 (coded-charset-GlyphWiki-id-alist): Don't prefer `=ucs' to other
154 2016-03-16 MORIOKA Tomohiko <tomo.git@chise.org>
156 * cwiki-glyph.el (www-glyph-big5-to-ucs-pua): New function.
157 (www-glyph-generate-png): Use `www-glyph-big5-to-ucs-pua' as a
159 (www-glyph-display-png): Support HZK-hhhh.
161 * cwiki-common.el (www-format-encode-string):
162 - Support `=hanziku-{1..12}' and `=big5'.
163 - Display &G-CBddddd; and &g2-CBddddd;.
164 - Display &({o-|G-|g2-}){I|U}+hhhh;.
165 - Display &A-GT-ddddd;.
167 2016-03-16 MORIOKA Tomohiko <tomo.git@chise.org>
169 * cwiki-view.el (www-display-object-desc): Add setting of CSS in
172 * est-format.el (est-format-unit): For conversion of
173 `feature-name' unit, enclose '(a (:href ...) ...) with '(span
174 (:class "feature-name") ...)
176 * est-eval.el (est-eval-value-as-ids): New implementation.
178 2016-03-15 MORIOKA Tomohiko <tomo.git@chise.org>
180 * cwiki-common.el (est-coded-charset-priority-list): Add `=mj',
181 `==mj', `===mj' and `=ucs-itaiji-003'.
182 (coded-charset-GlyphWiki-id-alist): Add setting for
183 `=ucs-itaiji-003' and `=koseki'.
185 2016-03-14 MORIOKA Tomohiko <tomo.git@chise.org>
187 * cwiki-common.el (est-coded-charset-priority-list): Add
189 (www-format-encode-string): Support &A-CBddddd;
191 2016-02-11 MORIOKA Tomohiko <tomo.git@chise.org>
193 * cwiki-common.el (est-coded-charset-priority-list): Add
195 (coded-charset-GlyphWiki-id-alist): Prefer
196 `=ucs-var-{001|002|003}', `=ucs-itaiji-{002|084}' to `=ucs'; add
197 setting for `=ucs-itaiji-001'.
199 2015-11-22 MORIOKA Tomohiko <tomo.git@chise.org>
201 * cwiki-common.el (est-coded-charset-priority-list): Add
203 (www-format-encode-string): Use GlyphWiki to display SIP
205 (coded-charset-GlyphWiki-id-alist): Add setting for `==ucs@iso'.
207 2015-11-20 MORIOKA Tomohiko <tomo.git@chise.org>
209 * cwiki-view.el (www-display-object-desc): Add input box for
210 http://www.chise.org/hng-ids-find.
212 2015-11-05 MORIOKA Tomohiko <tomo.git@chise.org>
214 * cwiki-common.el (est-coded-charset-priority-list): New variable.
215 (www-uri-encode-object): Refer `est-coded-charset-priority-list'.
216 (www-format-encode-string): Support `=ucs-itaiji-nnn'.
217 (coded-charset-GlyphWiki-id-alist): Add setting for
218 `=ucs-var-001', `=ucs-var-002', `=ucs-var-003', `=ucs-itaiji-002',
219 `=ucs-itaiji-084', `=big5-cdp-var-3' and `=big5-cdp-var-5'.
221 2015-10-29 MORIOKA Tomohiko <tomo.git@chise.org>
223 * cwiki-view.el (www-display-feature-desc): Decode return value of
224 `char-feature-property' [perhaps `char-feature-property' should
225 return decoded string].
227 2015-10-21 MORIOKA Tomohiko <tomo.git@chise.org>
229 * cwiki-common.el (www-feature-format): Refer
230 char-feature-property `presentation-format'.
232 2015-09-28 MORIOKA Tomohiko <tomo.git@chise.org>
234 * cwiki-common.el: Mount `->HNG' and `<-HNG'.
235 (chise-wiki-hng-bitmap-glyphs-url): New variable.
236 (www-format-encode-string):
237 - Format "&(o-|G-|g2-|R-)J0-hhhh;".
239 - Format "&HNGdd-ddddd;".
240 - Format "&(o-|G-|g2-|R-)MJ-dddddd;".
241 - Format "&(G-|g2-|R-)CDP-hhhh;".
243 2014-11-21 MORIOKA Tomohiko <tomo.git@chise.org>
245 * cwiki-common.el(www-uri-decode-feature-name):
246 - Decode repi.FOO to ===FOO.
247 - Decode rep2.FOO to ===FOO instead of ==FOO.
248 - Decode g2.FOO to ==FOO.
249 - Decode gi.FOO to ==FOO instead of =>>>FOO.
250 (www-uri-encode-feature-name):
251 - Encode ==FOO to g2.FOO instead of rep2.FOO.
252 - Encode ===FOO to repi.FOO.
253 (www-format-encode-string): Add setting for `=>>hanyo-denshi/*'
254 and `==hanyo-denshi/*'; support some ===FOO and ==FOO.
255 (coded-charset-GlyphWiki-id-alist): Add `==adobe-japan1-*',
256 `===adobe-japan1-*', `==ucs@jis', `===ucs@jis', `==ucs@cns',
257 `==daikanwa', `===daikanwa', `==ucs@ks' and `===ucs@ks'.
258 (char-GlyphWiki-id): Treat `=jis-x0213-2' as uXXXX.
260 2014-09-19 MORIOKA Tomohiko <tomo.git@chise.org>
262 * est-eval.el (est-eval-value-as-domain-list): Fix problem about
264 (est-eval-feature-value): Don't omit items of `sources'.
266 2014-06-19 MORIOKA Tomohiko <tomo.git@chise.org>
268 * cwiki-view.el (www-display-object-desc): Support
270 (www-display-feature-desc): Likewise.
271 (www-batch-view-smart): New function.
273 * cwiki-common.el (est-hide-cgi-mode): New variable.
274 (est-view-url-prefix): New variable.
275 (est-uri-decode-feature-name-body): New function.
276 (est-uri-encode-feature-name-body): New function.
277 (www-uri-decode-feature-name): Use
278 `est-uri-decode-feature-name-body'.
279 (www-uri-encode-feature-name): Use
280 `est-uri-encode-feature-name-body'.
281 (www-uri-make-feature-name-url): Add implementation for
283 (www-uri-decode-object): Support `est-hide-cgi-mode'; use
284 `est-uri-decode-feature-name-body'.
285 (www-uri-encode-object): Support `est-hide-cgi-mode'; use
286 `est-uri-encode-feature-name-body'.
287 (www-uri-make-object-url): Add implementation for
290 * est-format.el (est-format-unit): Support `est-hide-cgi-mode'.
292 2014-06-18 MORIOKA Tomohiko <tomo.git@chise.org>
294 * cwiki-view.el (www-display-object-desc): Add new argument
295 `uri-feature-name'; if it is specified, display only the specified
296 feature with all items of the value.
297 (www-batch-view): Modify for `www-display-object-desc'.
299 * est-eval.el (est-eval-list-feature-items-limit): New variable.
300 (est-eval-feature-value): Use `est-eval-list-feature-items-limit';
301 don't omit items of feature value if
302 `est-eval-list-feature-items-limit' is nil.
304 * est-format.el (est-format-unit): Format `omitted'.
306 * cwiki-set.el (www-set-display-object-desc): Modify for
307 `www-display-object-desc'.
309 * cwiki-edit.el (www-edit-display-object-desc): Modify for
310 `www-display-object-desc'.
312 2014-05-26 MORIOKA Tomohiko <tomo.git@chise.org>
314 * cwiki-common.el (www-uri-decode-feature-name): Decode `rep2.FOO'
316 (www-uri-encode-feature-name): Encode `==FOO' to `rep2.FOO'.
317 (www-format-encode-string): Support `==cns11643-*'; support `==gt'
320 * est-eval.el (est-eval-value-as-domain-list): Treat `zob1959' in
321 `source' as the same as `zob1968'.
323 2013-09-18 MORIOKA Tomohiko <tomo.git@chise.org>
325 * cwiki-common.el (www-format-encode-string): Support
326 `=hanyo-denshi/*', `=adobe-japan1-6', `=big5-cdp', `=ucs@unicode'
327 and `=ucs@JP/hanazono'; support &{G|g2}-J{78|83|90|97|SP}-hhhh;.
328 (coded-charset-GlyphWiki-id-alist): Modify preference of
329 `=>>daikanwa' and `=ucs@ks'.
331 * cwiki-glyph.el (www-glyph-generate-png): Support
333 (www-glyph-display-png): Likewise.
335 * est-eval.el (est-eval-value-as-composition-list): New function.
336 (est-eval-value-as-decomposition-list): New function.
337 (est-eval-apply-value): Add new formats `decomposition',
338 `composition' and `unordered-composition-list'.
340 2013-09-02 MORIOKA Tomohiko <tomo.git@chise.org>
342 * cwiki-common.el: Assign genre `entry@zh-classical' instead of
343 `morpheme-entry@zh-classical' and `sentence-entry@zh-classical'.
345 2013-08-27 MORIOKA Tomohiko <tomo.git@chise.org>
348 - Assign new genres `morpheme-entry@zh-classical',
349 `word-class@zh-classical', `morpheme@zh-classical',
350 `sentence@zh-classical' and `sentence-entry@zh-classical'.
351 - Mount char-feature `*instance@morpheme-entry/zh-classical'.
353 2012-12-20 MORIOKA Tomohiko <tomo.git@chise.org>
355 * cwiki-common.el (www-feature-value-format): Refer
356 `value-presentation-format' as like as `value-format'.
358 2012-12-20 MORIOKA Tomohiko <tomo.git@chise.org>
360 * est-rdf-view.el (est-rdf-encode-feature-name): Map domain to
361 xmlns-prefix; refer feature `rdf-namespace-prefix' and
362 `rdf-namespace-uri'; return '(<XMLNS-PREFIX> <XMLNS-URI>
363 <PREDICATE>) instead of '(<XMLNS-PREFIX> . <PREDICATE>).
364 (est-rdf-display-object-desc): Modify for
365 `est-rdf-encode-feature-name'.
367 * cwiki-view.el (www-display-feature-desc): Display
368 `value-presentation-format'.
370 * cwiki-edit.el (www-edit-display-feature-desc): Support
371 `value-presentation-format'.
373 2012-12-08 MORIOKA Tomohiko <tomo.git@chise.org>
375 * est-rdf-view.el (est-rdf-encode-feature-name):
376 - Use ".-." instead of "." for non-top `*'.
377 - Use "..." instead of "-" for `/'.
378 (est-rdf-display-object-desc): Support metadata feature.
379 (est-rdf-batch-view): Modify for `est-rdf-display-object-desc'.
381 2012-12-08 MORIOKA Tomohiko <tomo.git@chise.org>
383 * cwiki-common.el: Use `*instance@ruimoku/bibliography/title'
384 instead of `instance@ruimoku/bibliography/title'.
386 2012-09-23 MORIOKA Tomohiko <tomo.git@chise.org>
388 * cwiki-view.el (www-display-object-desc): Add a link-button for
391 2012-09-22 MORIOKA Tomohiko <tomo.git@chise.org>
393 * est-rdf-view.el: New file.
395 2012-09-15 MORIOKA Tomohiko <tomo.git@chise.org>
397 * est-eval.el (est-eval-value-as-journal-volume): Add new optional
399 (est-eval-value-as-journal-volumes): New function.
400 (est-eval-apply-value): Use `est-eval-value-as-journal-volumes'
401 for format `journal-volume-list'.
402 (est-eval-feature-value): Change limit size from 127 to 255.
404 2012-09-14 MORIOKA Tomohiko <tomo.git@chise.org>
406 * est-eval.el (est-eval-value-as-journal-volume): Refer
407 `<-journal/volume*name'.
408 (est-eval-value-as-creators-names): Fix problem when string is
411 2012-09-13 MORIOKA Tomohiko <tomo.git@chise.org>
413 * est-eval.el (est-eval-value-as-journal-volume): Support book
415 (est-eval-value-as-article): New implementation; use
416 `est-eval-value-as-book'; add journal-volume, page and date.
417 (est-eval-value-as-book): New implementation.
419 * est-format.el (est-format-list): Don't specify separator for
422 2012-09-13 MORIOKA Tomohiko <tomo.git@chise.org>
424 * est-eval.el (est-eval-value-as-journal-volume): Use
425 `<-journal/volume', `<-journal/volume*volume' and
426 `<-journal/volume*number' if they are found.
428 2012-09-12 MORIOKA Tomohiko <tomo.git@chise.org>
430 * cwiki-view.el (www-batch-view): Fix problem when decoding
431 URL-encoding of genre.
433 * cwiki-common.el (www-uri-decode-object): Use `decode-uri-string'
434 for value-part of object-representation.
436 2012-09-11 MORIOKA Tomohiko <tomo.git@chise.org>
438 * cwiki-common.el (www-uri-encode-object): Add `=jis-x0213-2',
439 `=adobe-japan1', `=>>>adobe-japan1', `=>>>jis-x0208',
440 `=>>>jis-x0213-1', `=>>>jis-x0213-2', `=>>jis-x0213-1',
441 `=>>jis-x0213-2', `=>>adobe-japan1', `=+>jis-x0208',
442 `=+>jis-x0213-1', `=+>jis-x0213-2', `=+>adobe-japan1',
443 `=>>ucs@iso', `=>>ucs@unicode', `=>>ucs@jis', `=>>ucs@cns',
444 `=>>ucs@ks', `=>>>ucs@iso', `=>>>ucs@unicode', `=>>>ucs@jis',
445 `=>>>ucs@cns' and `=>>>ucs@ks' to ccs-list.
446 (coded-charset-GlyphWiki-id-alist): Add settings for
447 `=adobe-japan1-{0..5}', `=decomposition@cid',
448 `=decomposition@hanyo-denshi', `=hanyo-denshi/ks',
449 `=>>hanyo-denshi/ks', `=>>daikanwa', `=>>big5-cdp',
450 `=>>>jis-x0208', `=>>jis-x0208', `=+>jis-x0208',
451 `=>>>jis-x0208@1990', `=>>jis-x0208@1990', `=+>jis-x0208@1990',
452 `=>>>jis-x0208@1983', `=>>jis-x0208@1983' and `=+>jis-x0208@1983'.
453 (char-GlyphWiki-id): Support IVS representation.
455 2012-09-11 MORIOKA Tomohiko <tomo.git@chise.org>
457 * est-eval.el (est-eval-value-as-journal-volume): Renamed from
458 `est-eval-journal-volume'.
459 (est-eval-value-as-article): New function.
460 (est-eval-value-as-book): New function.
461 (est-eval-value-as-object):
462 - Use `est-eval-value-as-journal-volume' instead of
463 `est-eval-journal-volume'.
464 - Use function `est-eval-value-as-article' for genre
466 - Use function `est-eval-value-as-book' for genre `book@ruimoku'.
467 (est-eval-value-as-object-list):
468 - Add new optional argument `subtype'; set it into property
470 - Fix problem when `value' is not a valid list.
471 (est-eval-value-as-creators-names): Add new optional argument
472 `subtype'; set it into property :subtype.
473 (est-eval-value-as-created-works): Likewise.
474 (est-eval-apply-value): Add new formats `unordered-list',
475 `unordered-creator-name-list' and `unordered-created-work-list'.
477 2012-09-10 MORIOKA Tomohiko <tomo.git@chise.org>
479 * est-format.el (est-format-unit): Support :subtype property of
480 list node; if subtype `unordered-list' is specified, use <ul> tag.
481 (est-format-list): Likewise.
483 2012-09-09 MORIOKA Tomohiko <tomo.git@chise.org>
485 * est-eval.el (est-eval-journal-volume): Use feature `date'
486 instead of `published/date'.
487 (est-eval-value-as-object): Refer feature `=name'.
488 (est-eval-value-as-creators-names): Use `->creator/name' instead
490 (est-eval-value-as-created-works): Use `<-creator' instead of
493 2012-09-08 MORIOKA Tomohiko <tomo.git@chise.org>
495 * cwiki-common.el: Assign new genres `journal-name@ruimoku',
496 `publisher@ruimoku' and `publisher-name@ruimoku'.
497 (www-feature-value-format): Use `space-separated' instead of
498 `space-separated-char-list' for type `relation'; use
499 `space-separated' as the default format.
500 (est-format-object): Add new optional argument `readable'; if the
501 optional argument `readable' is not nil, use feature-value of
502 `name', `=name' or `title' as object representation format.
504 * cwiki-view.el (www-display-object-desc): Run `est-format-object'
505 with `readable' option in header.
507 2012-09-06 MORIOKA Tomohiko <tomo.git@chise.org>
509 * est-eval.el (est-eval-journal-volume): Use `year' feature of
510 `published/date' object.
512 2012-04-06 MORIOKA Tomohiko <tomo.git@chise.org>
514 * cwiki-common.el (www-uri-decode-feature-name): Use
517 2011-10-12 MORIOKA Tomohiko <tomo.git@chise.org>
519 * cwiki-common.el (www-uri-decode-feature-name): Decode "o.foo" to
521 (www-uri-encode-feature-name): Encode `=+>foo' to "o.foo".
522 (www-uri-encode-object): Add `=+>jis-x0208@1978', `=>ucs@iso',
523 `=>ucs@unicode', `=>ucs@jis', `=>ucs@cns' and `=>ucs@ks' to
525 (www-format-encode-string): Support "&o-foo;", "&g2-GT-ddddd;" and
526 "&A-{UU+|U-}hhhh(h)*;".
528 2011-06-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
530 * cwiki-common.el (instance@ruimoku/bibliography/title): Mount
531 char-feature `instance@ruimoku/bibliography/title'.
533 2011-06-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
535 * cwiki-view.el (www-edit-display-feature-input-box):
536 - If argument `value' is a symbol and argument `format' is
537 `wiki-text', treat `value' as a list of a function.
538 - Use `est-format-list' instead of `www-format-value'.
540 2011-06-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
542 * est-eval.el (ruimoku-format-volume): New function.
543 (est-eval-journal-volume): New function.
544 (est-eval-value-as-object): Use `est-eval-journal-volume' for
545 genre `journal-volume@ruimoku'.
546 (est-eval-value-as-creators-names): New function.
547 (est-eval-value-as-created-works): New function.
548 (est-eval-apply-value): Use `est-eval-value-as-creators-names' for
549 `space-separated-creator-name-list'; use
550 `est-eval-value-as-created-works' for
551 `space-separated-created-work-list'.
553 2011-06-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
555 * est-format.el (est-format-unit): Change optional argument
556 `without-tags' to `output-format'; now `output-format' accepts
557 various formats such as 'html, 'plain-text and 'wiki-text instead
559 (est-format-list): Likewise.
561 2011-05-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
563 * est-eval.el (est-eval-value-default): Support `omitted' tag.
564 (est-eval-feature-value): Use `omitted' tag when length of value
566 (est-eval-unit): Support `omitted' tag.
568 2010-12-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
570 * cwiki-view.el: (www-edit-display-feature-input-box): If
571 specified object is a symbol, treat it as a feature object.
573 2010-12-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
575 * est-format.el (est-format-unit): Accept <img>.
577 2010-12-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
579 * cwiki-add.el (www-add-display-feature-input-box): Abolished.
580 (www-add-display-object-desc): New implementation; use
581 `www-edit-display-object-desc'; add new argument `genre'.
582 (www-batch-add): Modify for `www-add-display-object-desc'.
584 * cwiki-edit.el: Add declaration to provide module `cwiki-edit'.
586 2010-12-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
588 * cwiki-set.el (www-parse-string-as-space-separated-char-list):
589 Add argument `genre'.
590 (www-feature-parse-string): Likewise.
591 (www-set-display-object-desc):
592 - Support non-character genre objects.
593 - Use `www-display-object-desc'.
594 (www-set-display-feature-desc): Modify for
595 `www-feature-parse-string'.
596 (www-batch-set): Fixed.
598 * cwiki-edit.el (www-edit-display-feature-input-box): Moved to
600 (www-edit-display-object-desc): New implementation; use
601 `www-display-object-desc'.
603 * cwiki-view.el (www-edit-display-feature-input-box): New function
604 [moved from cwiki-edit.el].
605 (www-display-object-desc):
606 - Add new optional arguments `uri-feature-name-to-edit' and
607 `editing-format'; it `uri-feature-name-to-edit' is specified,
608 input box is displayed and `editing-format' is used as the
609 format to parse the input.
610 - Semantics of level 1 was changed to level 0, namely if `level'
611 is 0, display header, otherwise don't display header.
613 2010-12-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
615 * cwiki-edit.el (www-edit-display-object-desc): Support
616 non-character objects.
617 (www-edit-display-feature-desc): Add new optional argument
619 (www-batch-edit): Fix problem to edit feature of non-character
622 * est-format.el (est-format-unit): Fix bug about `feature-name';
623 modify for `www-uri-make-feature-name-url'.
625 * est-eval.el (est-eval-unit): Fix bug about `name-url'; modify
626 for `www-uri-make-feature-name-url'.
628 * cwiki-common.el (www-uri-make-feature-name-url): Add new
629 argument `uri-genre' to support non-character objects.
631 * cwiki-view.el (www-batch-view): Fix problem to edit feature of
632 non-character objects.
634 * cwiki-set.el (www-set-display-object-desc): Renamed from
635 `www-set-display-char-desc'; add new argument `genre'; rename
636 optional argument `uri-char' to `uri-object'.
637 (www-set-display-feature-desc): Rename optional argument
638 `uri-char' to `uri-object'.
639 (www-set-display-feature-desc): Likewise.
640 (www-batch-set): Modify for `www-set-display-object-desc'.
642 2010-12-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
644 * cwiki-common.el (chise-wiki-bitmap-glyphs-url): Use
645 http://www.chise.org/glyphs instead of
646 http://chise.zinbun.kyoto-u.ac.jp/glyphs.
647 (chise-wiki-glyph-cgi-url): Use
648 http://www.chise.org/chisewiki/glyph.cgi instead of
649 http://chise.zinbun.kyoto-u.ac.jp/chisewiki/glyph.cgi.
650 (www-uri-make-object-url): New function.
651 (www-format-char-img-style): New variable.
652 (www-format-encode-string):
653 - Add new optional argument `as-body'; if it is specified, "&" is
655 - Specify style of <img> tags.
657 * cwiki-edit.el (www-edit-display-input-box): Abolished because it
660 * cwiki-format.el: New implementation based on `est-eval' and
662 (www-format-value-as-kuten): Abolished.
663 (www-format-value-default): Abolished.
664 (www-format-value-as-char-list): Abolished.
665 (www-format-value-as-domain-list): Abolished.
666 (www-format-value-as-ids): Abolished.
667 (www-format-value-as-S-exp): Abolished.
668 (www-format-value-as-HEX): Abolished.
669 (www-format-value-as-kangxi-radical): Abolished.
670 (www-format-value): If `object' is a symbol, it is decoded as
672 (www-format-props-to-string): Abolished.
673 (www-format-apply-value): New implementation; use
674 `est-eval-apply-value' and `est-format-unit'.
675 (www-format-eval-feature-value): Abolished.
676 (www-format-eval-list): New implementation; use `est-eval-list'
677 and `est-format-unit'.
679 * est-eval.el, est-format.el: New files.
681 2010-12-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
683 * cwiki-format.el (www-format-value-as-char-list): Use
684 `object-representative-feature' instead of
685 `object-representation-format'; use feature
686 `object-representative-format' of genre object if
687 `object-representative-feature' of genre object or `name' is not
690 2010-12-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
692 * cwiki-format.el (www-format-value-as-CCS-default): Abolished
693 because it is not used.
694 (www-format-value-as-CCS-94x94): Ditto.
696 2010-12-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
698 * cwiki-set.el: Omit to require `cwiki-common'.
700 * cwiki-view.el, cwiki-edit.el, cwiki-add.el: Require
701 `cwiki-format' instead of `cwiki-common' and `est-xml'.
703 * cwiki-common.el (www-format-value-as-kuten): Moved to
705 (www-format-value-default): Ditto.
706 (www-format-value-as-char-list): Ditto.
707 (www-format-value-as-domain-list): Ditto.
708 (www-format-value-as-ids): Ditto.
709 (www-format-value-as-S-exp): Ditto.
710 (www-format-value-as-HEX): Ditto.
711 (www-format-value-as-CCS-default): Ditto.
712 (www-format-value-as-CCS-94x94): Ditto.
713 (www-format-value-as-kangxi-radical): Ditto.
714 (www-format-value): Ditto.
715 (www-format-props-to-string): Ditto.
716 (www-format-apply-value): Ditto.
717 (www-format-eval-feature-value): Ditto.
718 (www-format-eval-unit): Ditto.
719 (www-format-eval-list): Ditto.
721 * cwiki-format.el: New file.
723 2010-12-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
725 * cwiki-view.el, cwiki-edit.el, cwiki-add.el: Require 'est-xml.
727 * cwiki-common.el (www-xml-format-props): Moved to est-xml.el.
728 (www-xml-format-unit): Ditto.
729 (www-xml-format-list): Ditto.
731 * est-xml.el: New file.
733 2010-12-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
735 * cwiki-common.el: Assign new genre `person-name@ruimoku'.
737 2010-11-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
739 * cwiki-edit.el (www-edit-display-object-desc): Renamed from
740 `www-edit-display-char-desc'; add new argument `genre'.
741 (www-batch-edit): Modify for `www-edit-display-object-desc'.
743 * cwiki-common.el (est-object-genre): New function.
744 (www-format-apply-value): Use `est-object-genre' instead of
745 `concord-object-genre'.
747 2010-11-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
749 * cwiki-common.el (www-get-feature-value): Add error-handler for
750 `concord-object-get'.
751 (www-format-value-as-char-list): Refer feature
752 `object-representation-format' instead of `name'.
753 (www-format-apply-value): Modify to edit non-character object.
755 * cwiki-view.el (www-display-object-desc): Modify to edit
756 non-character object.
757 (www-display-feature-desc): Add new argument `genre'.
759 2010-11-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
761 * cwiki-common.el: Assign new genre `region@ruimoku'.
763 2010-11-16 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
765 * cwiki-view.el (www-display-object-desc): Don't display CHISE
766 IDS-Find for non-character object.
768 * cwiki-common.el: Modify genres of ruimoku.
770 2010-11-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
772 * cwiki-view.el (www-display-object-desc): Use
773 `www-uri-encode-object' instead of `www-uri-encode-char'.
774 (www-batch-view): Likewise.
776 * cwiki-common.el (www-uri-encode-object): Renamed from
777 `www-uri-encode-char'.
778 (www-format-value-as-char-list): Use `www-uri-encode-object'
779 instead of `www-uri-encode-char'.
780 (www-format-value-as-ids): Likewise.
781 (www-format-eval-unit): Likewise.
783 2010-11-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
785 * cwiki-common.el (www-uri-encode-char): Support non-character
787 (www-format-value-as-char-list): Add link and readable
788 presentation for non-character object.
790 2010-11-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
792 * cwiki-set.el (www-batch-set): Encode `xemacs-chise-version'.
794 * cwiki-add.el (www-batch-add): Encode `xemacs-chise-version'.
796 * cwiki-edit.el (www-batch-edit): Encode `xemacs-chise-version'.
798 * cwiki-view.el (www-batch-view): Encode (emacs-version).
800 2010-11-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
802 * cwiki-common.el (www-format-apply-value): Rename argument
803 `uri-char' to `uri-object'.
804 (www-format-eval-feature-value): Rename argument `char' and
805 `uri-char' to `object' and `uri-object'.
806 (www-format-eval-unit): Likewise.
807 (www-format-eval-list): Likewise.
809 2010-10-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
811 * cwiki-view.el (www-display-object-desc): New function.
813 * cwiki-common.el (est-format-object): New function.
815 2010-10-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
817 * cwiki-common.el (www-get-genre): Abolished.
818 (www-get-feature-value): Don't use `www-get-genre'.
820 2010-10-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
823 - Set `file-name-coding-system' to 'utf-8-mcs-er.
824 - Add settings to assign genres of Ruimoku.
825 (www-get-feature-value): Modify for non-character genres.
826 (www-uri-decode-object): Use `www-uri-decode-feature-name' for
827 objects of `feature' genre.
829 * cwiki-view.el (www-display-object-desc): Fix problem when
830 `object' is not a character.
831 (www-batch-view): Support general genres.
833 2010-09-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
835 * cwiki-common.el (www-get-genre): New function.
836 (www-get-feature-value): Renamed from `www-char-feature'.
837 (www-uri-decode-object): Renamed from `www-uri-decode-char'; add
838 new argument `genre'.
840 * cwiki-view.el (www-display-object-desc): Renamed from
841 `www-display-char-desc'; add new argument `genre'.
843 * cwiki-add.el (www-add-display-char-desc): Use
844 `www-uri-decode-object' instead of `www-uri-decode-char'.
846 * cwiki-set.el (www-parse-string-as-space-separated-char-list):
847 Use `www-uri-decode-object' instead of `www-uri-decode-char'.
848 (www-parse-string-as-space-separated-ids): Likewise.
849 (www-set-display-char-desc): Likewise; use `www-get-feature-value'
850 instead of `www-char-feature'.
852 * cwiki-edit.el (www-edit-display-feature-input-box): Use
853 `www-get-feature-value' instead of `www-char-feature'.
854 (www-edit-display-char-desc): Use `www-uri-decode-object' instead
855 of `www-uri-decode-char'.
857 2010-09-13 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
859 * cwiki-add.el: New file.
861 2010-04-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
863 * cwiki-view.el (www-display-char-desc): Use
864 `chise-wiki-displayed-features' instead of `displayed-features'.
866 * cwiki-common.el (chise-wiki-displayed-features): New variable.
867 (char-feature-name-at-domain): Fix problem when `domain' is nil.
868 (char-feature-name-domain): New function.
869 (www-uri-make-feature-name-url): New function.
870 (www-format-props-to-string): Fix problem when :len's value is
872 (www-format-eval-unit):
873 - When :feature is specified, prefer FEATURE@DOMAIN to FEATURE.
874 - When :feature is specified in value related format functions,
875 add the displayed feature-name to
876 `chise-wiki-displayed-features'.
877 - Support `name-url' and `domain-name'.
879 2010-04-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
881 * cwiki-view.el (www-display-feature-desc): Fix problem to display
882 non-ASCII characters in property `format'.
884 2010-04-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
886 * cwiki-view.el (www-display-char-desc): Use `www-feature-format'.
887 (www-display-feature-desc): Ditto.
889 * cwiki-common.el (www-feature-format): New function.
890 (www-format-eval-unit): Support `:feature' property for `value'
891 related functions and `name' function.
893 2010-04-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
895 * cwiki-common.el (www-feature-value-format): Search ancestors'
896 property if own property is not found.
897 (char-feature-name-parent): New function.
898 (www-format-feature-name*): Search ancestors' property if own
899 property is not found.
901 2010-04-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
903 * cwiki-edit.el (www-edit-display-feature-desc): Display and
904 support editing of property `format'.
906 * cwiki-common.el (find-previous-defined-code-point): Fix problem
909 * cwiki-view.el (www-display-feature-desc): Add edit button for
912 2010-04-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
914 * cwiki-common.el (www-feature-value-format): Add
915 `(prev-char) (next-char)' into default format of CCS feature.
916 (get-previous-code-point): New function.
917 (get-next-code-point): New function.
918 (find-previous-defined-code-point): New function.
919 (find-next-defined-code-point): New function.
920 (www-format-eval-unit): Support `prev-char' and `next-char'.
922 2010-04-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
924 * cwiki-view.el (www-display-char-desc): Don't display "add
925 feature" button when running with simple mode.
927 2010-04-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
929 * cwiki-set.el (www-set-display-feature-desc): Refer
930 `chise-wiki-view-url'.
932 2010-04-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
934 * cwiki-view.el (www-display-feature-desc): Add new optional
935 argument `simple'; display "Edit" and "New Account" buttons when
936 running with simple mode; display "Simple" button when running
938 (www-batch-view): Modify for `www-display-feature-desc' to support
941 2010-04-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
943 * cwiki-view.el (www-display-char-desc): Use <div> instead of <p>
944 to display feature in top-level.
946 2010-04-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
948 * cwiki-set.el (chise-wiki-view-url): Use "view.cgi" instead of
951 * cwiki-edit.el (chise-wiki-view-url): Use "view.cgi" instead of
954 * cwiki-view.el (chise-wiki-edit-url): Use "edit.cgi" instead of
956 (chise-wiki-add-url): Use "add.cgi" instead of "edit/add.cgi".
957 (www-display-char-desc): Add new optional argument `simple';
958 display "Edit" and "New Account" buttons when running with simple
959 mode; display "Simple" button when running with edit mode.
960 (www-batch-view): Modify to support mode.
962 * cwiki-common.el (chise-wiki-edit-url): Changed to "edit.cgi".
963 (www-format-value): Add new optional argument `without-edit';
964 modify for `www-format-apply-value'.
965 (www-format-apply-value): Add new optional argument
966 `without-edit'; modify for `www-format-eval-list'.
967 (www-format-eval-feature-value): Add new optional arguments
968 `without-tags' and `without-edit'; modify for
969 `www-format-apply-value' and `www-format-eval-list'.
970 (www-format-eval-unit):
971 - Add new optional arguments `without-tags' and `without-edit';
972 modify for `www-format-eval-feature-value',
973 `www-format-apply-value' and `www-format-eval-list'.
974 - specify 'without-tags and 'without-edit for
975 `www-format-eval-list' in href part of `link'.
976 (www-format-eval-list): Add new optional arguments `without-tags'
977 and `without-edit'; modify for `www-format-eval-unit'.
979 2010-04-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
981 * cwiki-common.el (www-format-eval-unit): Treat `string' as a
982 format specifier of feature-value.
984 2010-04-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
986 * cwiki-common.el (www-format-props-to-string): When `:len' is
987 specified, treat `:zero-padding' is specified.
989 2010-04-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
991 * cwiki-common.el (www-uri-encode-char): Use `=ruimoku-v6'.
992 (www-format-encode-string): Display `=ruimoku-v6' characters.
994 * cwiki-glyph.el (www-glyph-generate-png): Support `=ruimoku-v6'.
995 (www-glyph-display-png): Support RUI6-hhhh;
997 2010-04-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
999 * cwiki-common.el (www-uri-encode-char): Accept `=>zinbun-oracle'.
1000 (www-format-encode-string):
1001 - Display &A-ZOB-dddd;.
1002 - Support `ideographic-combination'(合文) and
1003 `ideographic-structure'.
1005 2010-04-01 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1007 * cwiki-view.el (www-batch-view): Accept
1008 "?char=&ENTITY-REFERENCE;".
1010 2010-03-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1012 * cwiki-view.el (www-display-char-desc): Use
1013 `char-feature-name-sans-versions' to avoid domain `$rev=latest'
1014 when sort feature-names.
1016 2010-03-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1018 * cwiki-common.el (www-format-value-as-domain-list): New function.
1019 (www-format-apply-value): Support `space-separated-domain-list'.
1020 (char-GlyphWiki-id): Try to avoid uHHHH-{u|us}.
1022 2010-03-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1024 * cwiki-common.el (coded-charset-GlyphWiki-id-alist): Add setting
1025 for `=ucs@jis', `=jis-x0208@1978/-4pr' and `=jis-x0208@1978'.
1026 (char-GlyphWiki-id): Use `char-feature' instead of `encode-char'.
1028 2010-03-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1030 * cwiki-view.el (www-display-char-desc): Add input form for CHISE
1033 2010-03-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1035 * cwiki-view.el (www-display-char-desc): Try to display glyph of
1036 GlyphWiki and link it.
1038 * cwiki-common.el (coded-charset-GlyphWiki-id-alist): New
1040 (char-GlyphWiki-id): New function.
1042 2010-03-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1044 * cwiki-set.el (www-parse-string-as-kangxi-radical): New function.
1045 (www-feature-parse-string): Support format `kangxi-radical'.
1047 * cwiki-common.el (www-format-value-as-kangxi-radical): New
1049 (www-format-apply-value): Support format `kangxi-radical'.
1050 (www-format-eval-unit): Support `kangxi-radical' as a value
1053 2010-03-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1055 * cwiki-common.el (www-format-value-default): New function.
1056 (www-format-encode-string):
1057 - Prefer `=gt' to `=cns11643-{1..7}'.
1058 - Display &(G-)GT-Kddddd; entity references.
1059 (www-format-apply-value):
1060 - New implementation for format `string'.
1061 - Use `www-format-value-default' for default format.
1063 * cwiki-glyph.el (www-glyph-generate-png): Support `=gt-k'.
1064 (www-glyph-display-png): Support GT-Kddddd.
1066 * cwiki-set.el (www-parse-string-default): New implementation.
1067 (www-set-display-feature-desc):
1068 - New argument `format'.
1069 - Display `value-format'.
1070 (www-batch-set): Modify for the API change to set feature's
1073 * cwiki-view.el (www-display-char-desc): Display parents in the
1075 (www-display-feature-desc): Use `www-format-value' with default
1076 format instead of `www-xml-format-list' and
1077 `www-format-encode-string'.
1079 * cwiki-edit.el (www-edit-display-feature-input-box): Add new
1080 optional argument `value'.
1081 (www-edit-display-feature-desc):
1082 - Use `www-edit-display-feature-input-box' instead of
1083 `www-edit-display-input-box'.
1084 - Display `value-format'.
1086 2010-03-19 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1088 * cwiki-view.el (www-display-feature-desc): Display [edit] button
1091 2010-03-19 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1093 * cwiki-common.el (www-xml-format-unit): Escape `&'.
1095 2010-03-19 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1097 * cwiki-common.el (www-format-encode-string): Display
1099 (www-xml-format-props): Encode property value.
1100 (www-xml-format-unit): Encode string.
1102 * cwiki-edit.el (www-edit-display-feature-input-box): Escape <">.
1104 * cwiki-view.el (www-display-feature-desc): Modify design of
1107 2010-03-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1109 * cwiki-set.el (www-xml-to-stext-unit): Support
1110 <link><ref>...</ref>...</link>.
1112 * cwiki-common.el (www-xml-format-unit): Support tag style `ref'
1115 * cwiki-view.el (www-display-feature-desc): Display `value-format'
1118 2010-03-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1120 * cwiki-common.el (www-format-feature-name-as-metadata): New
1122 (www-format-feature-name*): Use
1123 `www-format-feature-name-as-metadata' for metadata features.
1125 2010-03-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1127 * cwiki-set.el (www-xml-parse-string): New function.
1128 (www-xml-to-stext-props): New function.
1129 (www-xml-to-stext-unit): New function.
1130 (www-xml-to-stext-list): New function.
1131 (www-stext-parse-xml-string): New function.
1132 (www-parse-string-as-wiki-text): Use `www-stext-parse-xml-string'.
1134 * cwiki-edit.el (www-edit-display-char-feature-default): Abolish.
1135 (www-edit-display-char-feature-as-ucs): Abolish.
1136 (www-edit-display-input-box): Add the first argument `object';
1137 modify for `www-format-apply-value'.
1138 (www-edit-display-feature-input-box): Modify input boxes; modify
1139 for `www-format-value'.
1140 (www-edit-display-feature-desc): Modify for
1141 `www-edit-display-input-box'.
1143 * cwiki-common.el (www-format-value): Add the first argument
1144 `object' and the second argument `feature-name'; change argument
1145 `variable' to be optional; modify for `www-format-apply-value'.
1146 (www-format-apply-value): Add the first argument `object' and the
1147 second argument `feature-name'; support format `wiki-text'.
1148 (www-format-eval-feature-value): Modify for
1149 `www-format-apply-value'.
1150 (www-format-eval-unit): Likewise.
1151 (www-xml-format-props): New function.
1152 (www-xml-format-unit): New function.
1153 (www-xml-format-list): New function.
1155 2010-03-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1157 * cwiki-set.el (www-set-display-char-desc):
1158 - Setup property `additional-features' of feature `$object' when
1159 feature value is stored.
1160 - Mount additional-features.
1162 * cwiki-view.el (www-char-display-feature-default): Abolished.
1163 (www-char-display-feature-as-ucs): Abolished.
1164 (www-display-char-desc): Mount additional-features.
1166 * cwiki-common.el (www-feature-type): Support `*node' and
1168 (www-feature-value-format): Return `wiki-text' for type `stext'.
1169 (www-format-apply-value): Don't set `default' even if a format is
1170 not supported in this function.
1172 2010-03-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1174 * cwiki-set.el (www-parse-string-as-wiki-text): New function
1175 [currently just a stub].
1176 (www-feature-parse-string): Use `www-parse-string-as-wiki-text'.
1177 (www-set-display-char-desc): Use
1178 `char-feature-name-sans-versions'.
1180 * cwiki-edit.el (www-edit-display-feature-input-box): New
1182 (www-edit-display-char-desc): Use
1183 `www-edit-display-feature-input-box'.
1185 * cwiki-view.el (www-display-char-desc): Use
1186 `char-feature-name-sans-versions'.
1188 * cwiki-common.el (char-feature-name-sans-versions): New function.
1190 2010-03-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1192 * cwiki-set.el (www-set-display-char-desc): Store new value into
1193 FEATURE@$rev=latest; don't display `$rev=latest' domain features.
1195 * cwiki-edit.el (www-edit-display-char-feature-default): Use
1196 `www-char-feature' instead of `char-feature'.
1197 (www-edit-display-char-feature-as-ucs): Likewise.
1198 (www-edit-display-char-desc): Likewise; replace value of char-spec
1199 with value of `www-char-feature'.
1201 * cwiki-view.el (www-char-display-feature-default): Use
1202 `www-char-feature' instead of `char-feature'.
1203 (www-char-display-feature-as-ucs): Likewise.
1204 (www-display-char-desc): Ignore `$rev=latest' domain features.
1206 * cwiki-common.el (char-feature-name-at-domain): New function.
1207 (www-char-feature): New function.
1208 (www-format-encode-string): Use `www-char-feature' instead of
1210 (www-format-eval-feature-value): Likewise.
1211 (www-format-eval-unit): Likewise.
1213 2010-03-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1215 * cwiki-set.el (www-parse-string-default): New function.
1216 (www-feature-parse-string):
1217 - Support new format `string'.
1218 - Use `www-parse-string-default' for `default'.
1220 2010-03-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1222 * cwiki-common.el (chise-wiki-glyph-cgi-url): New variable.
1223 (www-uri-encode-char): Support `=>>gt'.
1224 (www-format-encode-string):
1225 - Use GT, Big5 and Big5-CDP fonts.
1226 - Use http://www.unicode.org/cgi-bin/refglyph?24-hhhh to display
1227 `=ucs@unicode' glyphs.
1228 - Display &MCS-hhhhhhhh; with using child's glyph.
1230 * cwiki-glyph.el: New file.
1232 2010-03-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1234 * cwiki-common.el (chise-wiki-bitmap-glyphs-url): Renamed from
1235 `chise-wiki-glyphs-url'.
1236 (www-format-encode-string):
1237 - Use `chise-wiki-bitmap-glyphs-url' instead of
1238 `chise-wiki-glyphs-url'.
1239 - Display &JC3-hhhh; and &ZOB-dddd;.
1241 2010-03-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1243 * cwiki-edit.el (www-edit-display-feature-desc): Use
1244 `www-format-feature-name*' instead of `www-format-feature-name'.
1246 * cwiki-common.el (www-uri-decode-char):
1248 - Prefer `=>jis-x0208' and `=>jis-x0213-1' to `=big5' and
1250 - Fix problem when no CCSes are found.
1251 (www-format-feature-name*): New function.
1252 (www-format-feature-name): Use `www-format-feature-name*'.
1254 2010-03-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1256 * cwiki-set.el (www-parse-string-as-space-separated-char-list):
1257 Expect `string' to be encoded as URI.
1258 (www-parse-string-as-space-separated-ids): Likewise.
1259 (www-feature-parse-string): Likewise.
1260 (www-set-display-char-desc): Expect `uri-char' to be encoded as
1262 (www-set-display-feature-desc): Fix problem when `name@lang' is
1264 (www-batch-set): Don't use `decode-uri-string' for value of `char'
1267 * cwiki-edit.el (www-edit-display-char-desc): Expect `uri-char' to
1269 (www-batch-edit): Don't use `decode-uri-string' for value of
1272 * cwiki-view.el (www-display-char-desc): Expect `uri-char' to be
1273 encoded as URI; encode `uri-char' if it is a non-encoded
1275 (www-batch-view): Don't use `decode-uri-string' for value of
1278 * cwiki-common.el (www-uri-decode-char): Expect char-rep to be
1280 (www-uri-encode-char): Encode UCS characters as %XX encoding.
1281 (www-format-feature-name-as-CCS): Insert space between
1282 prefix (..., ===>, ==>, =>, =>>, =>>>, ..., =) and main-name.
1283 (www-html-display-text): Don't escape "&" except ">-".
1285 2010-03-16 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1287 * cwiki-set.el (www-parse-string-as-space-separated-ids): New
1289 (www-parse-string-as-ku-ten): New function.
1290 (www-feature-parse-string): Support `space-separated-ids' and
1293 2010-03-16 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1295 * cwiki-common.el (www-feature-value-format): Return
1296 'space-separated-ids for `structure' type features.
1297 (www-format-value-as-ids): New function.
1298 (www-format-apply-value): Use `www-format-value-as-ids' for format
1299 `space-separated-ids'.
1301 2010-03-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1303 * cwiki-common.el, cwiki-edit.el, cwiki-set.el, cwiki-view.el: New