update.
[chise/est.git] / ChangeLog
1 2012-09-22  MORIOKA Tomohiko  <tomo.git@chise.org>
2
3         * est-rdf-view.el: New file.
4
5 2012-09-15  MORIOKA Tomohiko  <tomo.git@chise.org>
6
7         * est-eval.el (est-eval-value-as-journal-volume): Add new optional
8         argument `short'.
9         (est-eval-value-as-journal-volumes): New function.
10         (est-eval-apply-value): Use `est-eval-value-as-journal-volumes'
11         for format `journal-volume-list'.
12         (est-eval-feature-value): Change limit size from 127 to 255.
13
14 2012-09-14  MORIOKA Tomohiko  <tomo.git@chise.org>
15
16         * est-eval.el (est-eval-value-as-journal-volume): Refer
17         `<-journal/volume*name'.
18         (est-eval-value-as-creators-names): Fix problem when string is
19         occurred in value.
20
21 2012-09-13  MORIOKA Tomohiko  <tomo.git@chise.org>
22
23         * est-eval.el (est-eval-value-as-journal-volume): Support book
24         object.
25         (est-eval-value-as-article): New implementation; use
26         `est-eval-value-as-book'; add journal-volume, page and date.
27         (est-eval-value-as-book): New implementation.
28
29         * est-format.el (est-format-list): Don't specify separator for
30         each child unit.
31
32 2012-09-13  MORIOKA Tomohiko  <tomo.git@chise.org>
33
34         * est-eval.el (est-eval-value-as-journal-volume): Use
35         `<-journal/volume', `<-journal/volume*volume' and
36         `<-journal/volume*number' if they are found.
37
38 2012-09-12  MORIOKA Tomohiko  <tomo.git@chise.org>
39
40         * cwiki-view.el (www-batch-view): Fix problem when decoding
41         URL-encoding of genre.
42
43         * cwiki-common.el (www-uri-decode-object): Use `decode-uri-string'
44         for value-part of object-representation.
45
46 2012-09-11  MORIOKA Tomohiko  <tomo.git@chise.org>
47
48         * cwiki-common.el (www-uri-encode-object): Add `=jis-x0213-2',
49         `=adobe-japan1', `=>>>adobe-japan1', `=>>>jis-x0208',
50         `=>>>jis-x0213-1', `=>>>jis-x0213-2', `=>>jis-x0213-1',
51         `=>>jis-x0213-2', `=>>adobe-japan1', `=+>jis-x0208',
52         `=+>jis-x0213-1', `=+>jis-x0213-2', `=+>adobe-japan1',
53         `=>>ucs@iso', `=>>ucs@unicode', `=>>ucs@jis', `=>>ucs@cns',
54         `=>>ucs@ks', `=>>>ucs@iso', `=>>>ucs@unicode', `=>>>ucs@jis',
55         `=>>>ucs@cns' and `=>>>ucs@ks' to ccs-list.
56         (coded-charset-GlyphWiki-id-alist): Add settings for
57         `=adobe-japan1-{0..5}', `=decomposition@cid',
58         `=decomposition@hanyo-denshi', `=hanyo-denshi/ks',
59         `=>>hanyo-denshi/ks', `=>>daikanwa', `=>>big5-cdp',
60         `=>>>jis-x0208', `=>>jis-x0208', `=+>jis-x0208',
61         `=>>>jis-x0208@1990', `=>>jis-x0208@1990', `=+>jis-x0208@1990',
62         `=>>>jis-x0208@1983', `=>>jis-x0208@1983' and `=+>jis-x0208@1983'.
63         (char-GlyphWiki-id): Support IVS representation.
64
65 2012-09-11  MORIOKA Tomohiko  <tomo.git@chise.org>
66
67         * est-eval.el (est-eval-value-as-journal-volume): Renamed from
68         `est-eval-journal-volume'.
69         (est-eval-value-as-article): New function.
70         (est-eval-value-as-book): New function.
71         (est-eval-value-as-object):     
72         - Use `est-eval-value-as-journal-volume' instead of
73           `est-eval-journal-volume'.
74         - Use function `est-eval-value-as-article' for genre
75           `article@ruimoku'.
76         - Use function `est-eval-value-as-book' for genre `book@ruimoku'.
77         (est-eval-value-as-object-list):
78         - Add new optional argument `subtype'; set it into property
79           :subtype.
80         - Fix problem when `value' is not a valid list.
81         (est-eval-value-as-creators-names): Add new optional argument
82         `subtype'; set it into property :subtype.
83         (est-eval-value-as-created-works): Likewise.
84         (est-eval-apply-value): Add new formats `unordered-list',
85         `unordered-creator-name-list' and `unordered-created-work-list'.
86
87 2012-09-10  MORIOKA Tomohiko  <tomo.git@chise.org>
88
89         * est-format.el (est-format-unit): Support :subtype property of
90         list node; if subtype `unordered-list' is specified, use <ul> tag.
91         (est-format-list): Likewise.
92
93 2012-09-09  MORIOKA Tomohiko  <tomo.git@chise.org>
94
95         * est-eval.el (est-eval-journal-volume): Use feature `date'
96         instead of `published/date'.
97         (est-eval-value-as-object): Refer feature `=name'.
98         (est-eval-value-as-creators-names): Use `->creator/name' instead
99         of `->name'.
100         (est-eval-value-as-created-works): Use `<-creator' instead of
101         `->created'.
102
103 2012-09-08  MORIOKA Tomohiko  <tomo.git@chise.org>
104
105         * cwiki-common.el: Assign new genres `journal-name@ruimoku',
106         `publisher@ruimoku' and `publisher-name@ruimoku'.
107         (www-feature-value-format): Use `space-separated' instead of
108         `space-separated-char-list' for type `relation'; use
109         `space-separated' as the default format.
110         (est-format-object): Add new optional argument `readable'; if the
111         optional argument `readable' is not nil, use feature-value of
112         `name', `=name' or `title' as object representation format.
113
114         * cwiki-view.el (www-display-object-desc): Run `est-format-object'
115         with `readable' option in header.
116
117 2012-09-06  MORIOKA Tomohiko  <tomo.git@chise.org>
118
119         * est-eval.el (est-eval-journal-volume): Use `year' feature of
120         `published/date' object.
121
122 2012-04-06  MORIOKA Tomohiko  <tomo.git@chise.org>
123
124         * cwiki-common.el (www-uri-decode-feature-name): Use
125         `decode-uri-string'.
126
127 2011-10-12  MORIOKA Tomohiko  <tomo.git@chise.org>
128
129         * cwiki-common.el (www-uri-decode-feature-name): Decode "o.foo" to
130         `=+>foo'.
131         (www-uri-encode-feature-name): Encode `=+>foo' to "o.foo".
132         (www-uri-encode-object): Add `=+>jis-x0208@1978', `=>ucs@iso',
133         `=>ucs@unicode', `=>ucs@jis', `=>ucs@cns' and `=>ucs@ks' to
134         ccs-list.
135         (www-format-encode-string): Support "&o-foo;", "&g2-GT-ddddd;" and
136         "&A-{UU+|U-}hhhh(h)*;".
137
138 2011-06-24  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
139
140         * cwiki-common.el (instance@ruimoku/bibliography/title): Mount
141         char-feature `instance@ruimoku/bibliography/title'.
142
143 2011-06-03  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
144
145         * cwiki-view.el (www-edit-display-feature-input-box):
146         - If argument `value' is a symbol and argument `format' is
147           `wiki-text', treat `value' as a list of a function.
148         - Use `est-format-list' instead of `www-format-value'.
149
150 2011-06-10  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
151
152         * est-eval.el (ruimoku-format-volume): New function.
153         (est-eval-journal-volume): New function.
154         (est-eval-value-as-object): Use `est-eval-journal-volume' for
155         genre `journal-volume@ruimoku'.
156         (est-eval-value-as-creators-names): New function.
157         (est-eval-value-as-created-works): New function.
158         (est-eval-apply-value): Use `est-eval-value-as-creators-names' for
159         `space-separated-creator-name-list'; use
160         `est-eval-value-as-created-works' for
161         `space-separated-created-work-list'.
162
163 2011-06-03  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
164
165         * est-format.el (est-format-unit): Change optional argument
166         `without-tags' to `output-format'; now `output-format' accepts
167         various formats such as 'html, 'plain-text and 'wiki-text instead
168         of nil and non-nil.
169         (est-format-list): Likewise.
170
171 2011-05-30  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
172
173         * est-eval.el (est-eval-value-default): Support `omitted' tag.
174         (est-eval-feature-value): Use `omitted' tag when length of value
175         is more than 128.
176         (est-eval-unit): Support `omitted' tag.
177
178 2010-12-29  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
179
180         * cwiki-view.el: (www-edit-display-feature-input-box): If
181         specified object is a symbol, treat it as a feature object.
182
183 2010-12-11  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
184
185         * est-format.el (est-format-unit): Accept <img>.
186
187 2010-12-11  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
188
189         * cwiki-add.el (www-add-display-feature-input-box): Abolished.
190         (www-add-display-object-desc): New implementation; use
191         `www-edit-display-object-desc'; add new argument `genre'.
192         (www-batch-add): Modify for `www-add-display-object-desc'.
193
194         * cwiki-edit.el: Add declaration to provide module `cwiki-edit'.
195
196 2010-12-10  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
197
198         * cwiki-set.el (www-parse-string-as-space-separated-char-list):
199         Add argument `genre'.
200         (www-feature-parse-string): Likewise.
201         (www-set-display-object-desc):
202         - Support non-character genre objects.
203         - Use `www-display-object-desc'.
204         (www-set-display-feature-desc): Modify for
205         `www-feature-parse-string'.
206         (www-batch-set): Fixed.
207
208         * cwiki-edit.el (www-edit-display-feature-input-box): Moved to
209         cwiki-view.el.
210         (www-edit-display-object-desc): New implementation; use
211         `www-display-object-desc'.
212
213         * cwiki-view.el (www-edit-display-feature-input-box): New function
214         [moved from cwiki-edit.el].     
215         (www-display-object-desc):
216         - Add new optional arguments `uri-feature-name-to-edit' and
217           `editing-format'; it `uri-feature-name-to-edit' is specified,
218           input box is displayed and `editing-format' is used as the
219           format to parse the input.    
220         - Semantics of level 1 was changed to level 0, namely if `level'
221           is 0, display header, otherwise don't display header.
222
223 2010-12-09  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
224
225         * cwiki-edit.el (www-edit-display-object-desc): Support
226         non-character objects.
227         (www-edit-display-feature-desc): Add new optional argument
228         `object-genre'.
229         (www-batch-edit): Fix problem to edit feature of non-character
230         objects.
231
232         * est-format.el (est-format-unit): Fix bug about `feature-name';
233         modify for `www-uri-make-feature-name-url'.
234
235         * est-eval.el (est-eval-unit): Fix bug about `name-url'; modify
236         for `www-uri-make-feature-name-url'.
237
238         * cwiki-common.el (www-uri-make-feature-name-url): Add new
239         argument `uri-genre' to support non-character objects.
240
241         * cwiki-view.el (www-batch-view): Fix problem to edit feature of
242         non-character objects.
243
244         * cwiki-set.el (www-set-display-object-desc): Renamed from
245         `www-set-display-char-desc'; add new argument `genre'; rename
246         optional argument `uri-char' to `uri-object'.
247         (www-set-display-feature-desc): Rename optional argument
248         `uri-char' to `uri-object'.
249         (www-set-display-feature-desc): Likewise.
250         (www-batch-set): Modify for `www-set-display-object-desc'.
251
252 2010-12-08  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
253
254         * cwiki-common.el (chise-wiki-bitmap-glyphs-url): Use
255         http://www.chise.org/glyphs instead of
256         http://chise.zinbun.kyoto-u.ac.jp/glyphs.
257         (chise-wiki-glyph-cgi-url): Use
258         http://www.chise.org/chisewiki/glyph.cgi instead of
259         http://chise.zinbun.kyoto-u.ac.jp/chisewiki/glyph.cgi.
260         (www-uri-make-object-url): New function.
261         (www-format-char-img-style): New variable.
262         (www-format-encode-string):
263         - Add new optional argument `as-body'; if it is specified, "&" is
264         encoded to "&amp;".
265         - Specify style of <img> tags.
266
267         * cwiki-edit.el (www-edit-display-input-box): Abolished because it
268         is not used.
269
270         * cwiki-format.el: New implementation based on `est-eval' and
271         `est-format':
272         (www-format-value-as-kuten): Abolished.
273         (www-format-value-default): Abolished.
274         (www-format-value-as-char-list): Abolished.
275         (www-format-value-as-domain-list): Abolished.
276         (www-format-value-as-ids): Abolished.
277         (www-format-value-as-S-exp): Abolished.
278         (www-format-value-as-HEX): Abolished.
279         (www-format-value-as-kangxi-radical): Abolished.
280         (www-format-value): If `object' is a symbol, it is decoded as
281         `feature' object.
282         (www-format-props-to-string): Abolished.
283         (www-format-apply-value): New implementation; use
284         `est-eval-apply-value' and `est-format-unit'.
285         (www-format-eval-feature-value): Abolished.
286         (www-format-eval-list): New implementation; use `est-eval-list'
287         and `est-format-unit'.
288
289         * est-eval.el, est-format.el: New files.
290
291 2010-12-06  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
292
293         * cwiki-format.el (www-format-value-as-char-list): Use
294         `object-representative-feature' instead of
295         `object-representation-format'; use feature
296         `object-representative-format' of genre object if
297         `object-representative-feature' of genre object or `name' is not
298         existed.
299
300 2010-12-06  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
301
302         * cwiki-format.el (www-format-value-as-CCS-default): Abolished
303         because it is not used.
304         (www-format-value-as-CCS-94x94): Ditto.
305
306 2010-12-06  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
307
308         * cwiki-set.el: Omit to require `cwiki-common'.
309
310         * cwiki-view.el, cwiki-edit.el, cwiki-add.el: Require
311         `cwiki-format' instead of `cwiki-common' and `est-xml'.
312
313         * cwiki-common.el (www-format-value-as-kuten): Moved to
314         cwiki-format.el.
315         (www-format-value-default): Ditto.
316         (www-format-value-as-char-list): Ditto.
317         (www-format-value-as-domain-list): Ditto.
318         (www-format-value-as-ids): Ditto.
319         (www-format-value-as-S-exp): Ditto.
320         (www-format-value-as-HEX): Ditto.
321         (www-format-value-as-CCS-default): Ditto.
322         (www-format-value-as-CCS-94x94): Ditto.
323         (www-format-value-as-kangxi-radical): Ditto.
324         (www-format-value): Ditto.
325         (www-format-props-to-string): Ditto.
326         (www-format-apply-value): Ditto.
327         (www-format-eval-feature-value): Ditto.
328         (www-format-eval-unit): Ditto.
329         (www-format-eval-list): Ditto.
330
331         * cwiki-format.el: New file.
332
333 2010-12-06  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
334
335         * cwiki-view.el, cwiki-edit.el, cwiki-add.el: Require 'est-xml.
336
337         * cwiki-common.el (www-xml-format-props): Moved to est-xml.el.
338         (www-xml-format-unit): Ditto.
339         (www-xml-format-list): Ditto.
340
341         * est-xml.el: New file.
342
343 2010-12-04  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
344
345         * cwiki-common.el: Assign new genre `person-name@ruimoku'.
346
347 2010-11-20  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
348
349         * cwiki-edit.el (www-edit-display-object-desc): Renamed from
350         `www-edit-display-char-desc'; add new argument `genre'.
351         (www-batch-edit): Modify for `www-edit-display-object-desc'.
352
353         * cwiki-common.el (est-object-genre): New function.
354         (www-format-apply-value): Use `est-object-genre' instead of
355         `concord-object-genre'.
356
357 2010-11-18  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
358
359         * cwiki-common.el (www-get-feature-value): Add error-handler for
360         `concord-object-get'.
361         (www-format-value-as-char-list): Refer feature
362         `object-representation-format' instead of `name'.
363         (www-format-apply-value): Modify to edit non-character object.
364
365         * cwiki-view.el (www-display-object-desc): Modify to edit
366         non-character object.
367         (www-display-feature-desc): Add new argument `genre'.
368
369 2010-11-17  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
370
371         * cwiki-common.el: Assign new genre `region@ruimoku'.
372
373 2010-11-16  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
374
375         * cwiki-view.el (www-display-object-desc): Don't display CHISE
376         IDS-Find for non-character object.
377
378         * cwiki-common.el: Modify genres of ruimoku.
379
380 2010-11-15  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
381
382         * cwiki-view.el (www-display-object-desc): Use
383         `www-uri-encode-object' instead of `www-uri-encode-char'.
384         (www-batch-view): Likewise.
385
386         * cwiki-common.el (www-uri-encode-object): Renamed from
387         `www-uri-encode-char'.
388         (www-format-value-as-char-list): Use `www-uri-encode-object'
389         instead of `www-uri-encode-char'.
390         (www-format-value-as-ids): Likewise.
391         (www-format-eval-unit): Likewise.
392
393 2010-11-15  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
394
395         * cwiki-common.el (www-uri-encode-char): Support non-character
396         object.
397         (www-format-value-as-char-list): Add link and readable
398         presentation for non-character object.
399
400 2010-11-14  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
401
402         * cwiki-set.el (www-batch-set): Encode `xemacs-chise-version'.
403
404         * cwiki-add.el (www-batch-add): Encode `xemacs-chise-version'.
405
406         * cwiki-edit.el (www-batch-edit): Encode `xemacs-chise-version'.
407
408         * cwiki-view.el (www-batch-view): Encode (emacs-version).
409
410 2010-11-10  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
411
412         * cwiki-common.el (www-format-apply-value): Rename argument
413         `uri-char' to `uri-object'.
414         (www-format-eval-feature-value): Rename argument `char' and
415         `uri-char' to `object' and `uri-object'.
416         (www-format-eval-unit): Likewise.
417         (www-format-eval-list): Likewise.
418
419 2010-10-14  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
420
421         * cwiki-view.el (www-display-object-desc): New function.
422
423         * cwiki-common.el (est-format-object): New function.
424
425 2010-10-14  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
426
427         * cwiki-common.el (www-get-genre): Abolished.
428         (www-get-feature-value): Don't use `www-get-genre'.
429
430 2010-10-12  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
431
432         * cwiki-common.el:
433         - Set `file-name-coding-system' to 'utf-8-mcs-er.
434         - Add settings to assign genres of Ruimoku.
435         (www-get-feature-value): Modify for non-character genres.
436         (www-uri-decode-object): Use `www-uri-decode-feature-name' for
437         objects of `feature' genre.
438
439         * cwiki-view.el (www-display-object-desc): Fix problem when
440         `object' is not a character.
441         (www-batch-view): Support general genres.
442
443 2010-09-15  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
444
445         * cwiki-common.el (www-get-genre): New function.
446         (www-get-feature-value): Renamed from `www-char-feature'.
447         (www-uri-decode-object): Renamed from `www-uri-decode-char'; add
448         new argument `genre'.
449
450         * cwiki-view.el (www-display-object-desc): Renamed from
451         `www-display-char-desc'; add new argument `genre'.
452
453         * cwiki-add.el (www-add-display-char-desc): Use
454         `www-uri-decode-object' instead of `www-uri-decode-char'.
455
456         * cwiki-set.el (www-parse-string-as-space-separated-char-list):
457         Use `www-uri-decode-object' instead of `www-uri-decode-char'.
458         (www-parse-string-as-space-separated-ids): Likewise.
459         (www-set-display-char-desc): Likewise; use `www-get-feature-value'
460         instead of `www-char-feature'.
461
462         * cwiki-edit.el (www-edit-display-feature-input-box): Use
463         `www-get-feature-value' instead of `www-char-feature'.
464         (www-edit-display-char-desc): Use `www-uri-decode-object' instead
465         of `www-uri-decode-char'.
466
467 2010-09-13  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
468
469         * cwiki-add.el: New file.
470
471 2010-04-08  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
472
473         * cwiki-view.el (www-display-char-desc): Use
474         `chise-wiki-displayed-features' instead of `displayed-features'.
475
476         * cwiki-common.el (chise-wiki-displayed-features): New variable.
477         (char-feature-name-at-domain): Fix problem when `domain' is nil.
478         (char-feature-name-domain): New function.
479         (www-uri-make-feature-name-url): New function.
480         (www-format-props-to-string): Fix problem when :len's value is
481         string.
482         (www-format-eval-unit):
483         - When :feature is specified, prefer FEATURE@DOMAIN to FEATURE.
484         - When :feature is specified in value related format functions,
485           add the displayed feature-name to
486           `chise-wiki-displayed-features'.
487         - Support `name-url' and `domain-name'.
488
489 2010-04-07  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
490
491         * cwiki-view.el (www-display-feature-desc): Fix problem to display
492         non-ASCII characters in property `format'.
493
494 2010-04-06  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
495
496         * cwiki-view.el (www-display-char-desc): Use `www-feature-format'.
497         (www-display-feature-desc): Ditto.
498
499         * cwiki-common.el (www-feature-format): New function.
500         (www-format-eval-unit): Support `:feature' property for `value'
501         related functions and `name' function.
502
503 2010-04-06  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
504
505         * cwiki-common.el (www-feature-value-format): Search ancestors'
506         property if own property is not found.
507         (char-feature-name-parent): New function.
508         (www-format-feature-name*): Search ancestors' property if own
509         property is not found.
510
511 2010-04-05  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
512
513         * cwiki-edit.el (www-edit-display-feature-desc): Display and
514         support editing of property `format'.
515
516         * cwiki-common.el (find-previous-defined-code-point): Fix problem
517         with `=ucs'.
518
519         * cwiki-view.el (www-display-feature-desc): Add edit button for
520         `format'.
521
522 2010-04-05  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
523
524         * cwiki-common.el (www-feature-value-format): Add
525         `(prev-char) (next-char)' into default format of CCS feature.
526         (get-previous-code-point): New function.
527         (get-next-code-point): New function.
528         (find-previous-defined-code-point): New function.
529         (find-next-defined-code-point): New function.
530         (www-format-eval-unit): Support `prev-char' and `next-char'.
531
532 2010-04-05  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
533
534         * cwiki-view.el (www-display-char-desc): Don't display "add
535         feature" button when running with simple mode.
536
537 2010-04-05  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
538
539         * cwiki-set.el (www-set-display-feature-desc): Refer
540         `chise-wiki-view-url'.
541
542 2010-04-05  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
543
544         * cwiki-view.el (www-display-feature-desc): Add new optional
545         argument `simple'; display "Edit" and "New Account" buttons when
546         running with simple mode; display "Simple" button when running
547         with edit mode.
548         (www-batch-view): Modify for `www-display-feature-desc' to support
549         mode.
550
551 2010-04-05  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
552
553         * cwiki-view.el (www-display-char-desc): Use <div> instead of <p>
554         to display feature in top-level.
555
556 2010-04-04  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
557
558         * cwiki-set.el (chise-wiki-view-url): Use "view.cgi" instead of
559         "../view.cgi".
560
561         * cwiki-edit.el (chise-wiki-view-url): Use "view.cgi" instead of
562         "../view.cgi".
563
564         * cwiki-view.el (chise-wiki-edit-url): Use "edit.cgi" instead of
565         "edit/edit.cgi".
566         (chise-wiki-add-url): Use "add.cgi" instead of "edit/add.cgi".
567         (www-display-char-desc): Add new optional argument `simple';
568         display "Edit" and "New Account" buttons when running with simple
569         mode; display "Simple" button when running with edit mode.
570         (www-batch-view): Modify to support mode.
571
572         * cwiki-common.el (chise-wiki-edit-url): Changed to "edit.cgi".
573         (www-format-value): Add new optional argument `without-edit';
574         modify for `www-format-apply-value'.
575         (www-format-apply-value): Add new optional argument
576         `without-edit'; modify for `www-format-eval-list'.
577         (www-format-eval-feature-value): Add new optional arguments
578         `without-tags' and `without-edit'; modify for
579         `www-format-apply-value' and `www-format-eval-list'.
580         (www-format-eval-unit):
581         - Add new optional arguments `without-tags' and `without-edit';
582           modify for `www-format-eval-feature-value',
583           `www-format-apply-value' and `www-format-eval-list'.
584         - specify 'without-tags and 'without-edit for
585           `www-format-eval-list' in href part of `link'.
586         (www-format-eval-list): Add new optional arguments `without-tags'
587         and `without-edit'; modify for `www-format-eval-unit'.
588
589 2010-04-04  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
590
591         * cwiki-common.el (www-format-eval-unit): Treat `string' as a
592         format specifier of feature-value.
593
594 2010-04-04  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
595
596         * cwiki-common.el (www-format-props-to-string): When `:len' is
597         specified, treat `:zero-padding' is specified.
598
599 2010-04-03  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
600
601         * cwiki-common.el (www-uri-encode-char): Use `=ruimoku-v6'.
602         (www-format-encode-string): Display `=ruimoku-v6' characters.
603
604         * cwiki-glyph.el (www-glyph-generate-png): Support `=ruimoku-v6'.
605         (www-glyph-display-png): Support RUI6-hhhh;
606
607 2010-04-02  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
608
609         * cwiki-common.el (www-uri-encode-char): Accept `=>zinbun-oracle'.
610         (www-format-encode-string):
611         - Display &A-ZOB-dddd;.
612         - Support `ideographic-combination'(合文) and
613           `ideographic-structure'.
614
615 2010-04-01  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
616
617         * cwiki-view.el (www-batch-view): Accept
618         "?char=&ENTITY-REFERENCE;".
619
620 2010-03-31  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
621
622         * cwiki-view.el (www-display-char-desc): Use
623         `char-feature-name-sans-versions' to avoid domain `$rev=latest'
624         when sort feature-names.
625
626 2010-03-29  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
627
628         * cwiki-common.el (www-format-value-as-domain-list): New function.
629         (www-format-apply-value): Support `space-separated-domain-list'.
630         (char-GlyphWiki-id): Try to avoid uHHHH-{u|us}.
631
632 2010-03-29  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
633
634         * cwiki-common.el (coded-charset-GlyphWiki-id-alist): Add setting
635         for `=ucs@jis', `=jis-x0208@1978/-4pr' and `=jis-x0208@1978'.
636         (char-GlyphWiki-id): Use `char-feature' instead of `encode-char'.
637
638 2010-03-29  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
639
640         * cwiki-view.el (www-display-char-desc): Add input form for CHISE
641         IDS-Find.
642
643 2010-03-29  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
644
645         * cwiki-view.el (www-display-char-desc): Try to display glyph of
646         GlyphWiki and link it.
647
648         * cwiki-common.el (coded-charset-GlyphWiki-id-alist): New
649         variable.
650         (char-GlyphWiki-id): New function.
651
652 2010-03-28  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
653
654         * cwiki-set.el (www-parse-string-as-kangxi-radical): New function.
655         (www-feature-parse-string): Support format `kangxi-radical'.
656
657         * cwiki-common.el (www-format-value-as-kangxi-radical): New
658         function.
659         (www-format-apply-value): Support format `kangxi-radical'.
660         (www-format-eval-unit): Support `kangxi-radical' as a value
661         format.
662
663 2010-03-20  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
664
665         * cwiki-common.el (www-format-value-default): New function.
666         (www-format-encode-string):
667         - Prefer `=gt' to `=cns11643-{1..7}'.
668         - Display &(G-)GT-Kddddd; entity references.
669         (www-format-apply-value):
670         - New implementation for format `string'.
671         - Use `www-format-value-default' for default format.
672
673         * cwiki-glyph.el (www-glyph-generate-png): Support `=gt-k'.
674         (www-glyph-display-png): Support GT-Kddddd.
675
676         * cwiki-set.el (www-parse-string-default): New implementation.
677         (www-set-display-feature-desc):
678         - New argument `format'.
679         - Display `value-format'.
680         (www-batch-set): Modify for the API change to set feature's
681         property.
682
683         * cwiki-view.el (www-display-char-desc): Display parents in the
684         header.
685         (www-display-feature-desc): Use `www-format-value' with default
686         format instead of `www-xml-format-list' and
687         `www-format-encode-string'.
688
689         * cwiki-edit.el (www-edit-display-feature-input-box): Add new
690         optional argument `value'.
691         (www-edit-display-feature-desc):
692         - Use `www-edit-display-feature-input-box' instead of
693           `www-edit-display-input-box'.
694         - Display `value-format'.
695
696 2010-03-19  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
697
698         * cwiki-view.el (www-display-feature-desc): Display [edit] button
699         of `value-format'.
700
701 2010-03-19  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
702
703         * cwiki-common.el (www-xml-format-unit): Escape `&'.
704
705 2010-03-19  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
706
707         * cwiki-common.el (www-format-encode-string): Display
708         &U-hhhhhhhh;.
709         (www-xml-format-props): Encode property value.
710         (www-xml-format-unit): Encode string.
711
712         * cwiki-edit.el (www-edit-display-feature-input-box): Escape <">.
713
714         * cwiki-view.el (www-display-feature-desc): Modify design of
715         [edit] button.
716
717 2010-03-18  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
718
719         * cwiki-set.el (www-xml-to-stext-unit): Support
720         <link><ref>...</ref>...</link>.
721
722         * cwiki-common.el (www-xml-format-unit): Support tag style `ref'
723         in `link'.
724
725         * cwiki-view.el (www-display-feature-desc): Display `value-format'
726         and `format'.
727
728 2010-03-18  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
729
730         * cwiki-common.el (www-format-feature-name-as-metadata): New
731         function.
732         (www-format-feature-name*): Use
733         `www-format-feature-name-as-metadata' for metadata features.
734
735 2010-03-18  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
736
737         * cwiki-set.el (www-xml-parse-string): New function.
738         (www-xml-to-stext-props): New function.
739         (www-xml-to-stext-unit): New function.
740         (www-xml-to-stext-list): New function.
741         (www-stext-parse-xml-string): New function.
742         (www-parse-string-as-wiki-text): Use `www-stext-parse-xml-string'.
743
744         * cwiki-edit.el (www-edit-display-char-feature-default): Abolish.
745         (www-edit-display-char-feature-as-ucs): Abolish.
746         (www-edit-display-input-box): Add the first argument `object';
747         modify for `www-format-apply-value'.
748         (www-edit-display-feature-input-box): Modify input boxes; modify
749         for `www-format-value'.
750         (www-edit-display-feature-desc): Modify for
751         `www-edit-display-input-box'.
752
753         * cwiki-common.el (www-format-value): Add the first argument
754         `object' and the second argument `feature-name'; change argument
755         `variable' to be optional; modify for `www-format-apply-value'.
756         (www-format-apply-value): Add the first argument `object' and the
757         second argument `feature-name'; support format `wiki-text'.
758         (www-format-eval-feature-value): Modify for
759         `www-format-apply-value'.
760         (www-format-eval-unit): Likewise.
761         (www-xml-format-props): New function.
762         (www-xml-format-unit): New function.
763         (www-xml-format-list): New function.
764
765 2010-03-18  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
766
767         * cwiki-set.el (www-set-display-char-desc):
768         - Setup property `additional-features' of feature `$object' when
769           feature value is stored.
770         - Mount additional-features.
771
772         * cwiki-view.el (www-char-display-feature-default): Abolished.
773         (www-char-display-feature-as-ucs): Abolished.
774         (www-display-char-desc): Mount additional-features.
775
776         * cwiki-common.el (www-feature-type): Support `*node' and
777         `*sources'.
778         (www-feature-value-format): Return `wiki-text' for type `stext'.
779         (www-format-apply-value): Don't set `default' even if a format is
780         not supported in this function.
781
782 2010-03-18  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
783
784         * cwiki-set.el (www-parse-string-as-wiki-text): New function
785         [currently just a stub].
786         (www-feature-parse-string): Use `www-parse-string-as-wiki-text'.
787         (www-set-display-char-desc): Use
788         `char-feature-name-sans-versions'.
789
790         * cwiki-edit.el (www-edit-display-feature-input-box): New
791         function.
792         (www-edit-display-char-desc): Use
793         `www-edit-display-feature-input-box'.
794
795         * cwiki-view.el (www-display-char-desc): Use
796         `char-feature-name-sans-versions'.
797
798         * cwiki-common.el (char-feature-name-sans-versions): New function.
799
800 2010-03-18  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
801
802         * cwiki-set.el (www-set-display-char-desc): Store new value into
803         FEATURE@$rev=latest; don't display `$rev=latest' domain features.
804
805         * cwiki-edit.el (www-edit-display-char-feature-default): Use
806         `www-char-feature' instead of `char-feature'.
807         (www-edit-display-char-feature-as-ucs): Likewise.
808         (www-edit-display-char-desc): Likewise; replace value of char-spec
809         with value of `www-char-feature'.
810
811         * cwiki-view.el (www-char-display-feature-default): Use
812         `www-char-feature' instead of `char-feature'.
813         (www-char-display-feature-as-ucs): Likewise.
814         (www-display-char-desc): Ignore `$rev=latest' domain features.
815
816         * cwiki-common.el (char-feature-name-at-domain): New function.
817         (www-char-feature): New function.
818         (www-format-encode-string): Use `www-char-feature' instead of
819         `char-feature'.
820         (www-format-eval-feature-value): Likewise.
821         (www-format-eval-unit): Likewise.
822
823 2010-03-18  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
824
825         * cwiki-set.el (www-parse-string-default): New function.
826         (www-feature-parse-string):
827         - Support new format `string'.
828         - Use `www-parse-string-default' for `default'.
829
830 2010-03-18  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
831
832         * cwiki-common.el (chise-wiki-glyph-cgi-url): New variable.
833         (www-uri-encode-char): Support `=>>gt'.
834         (www-format-encode-string):
835         - Use GT, Big5 and Big5-CDP fonts.
836         - Use http://www.unicode.org/cgi-bin/refglyph?24-hhhh to display
837           `=ucs@unicode' glyphs.
838         - Display &MCS-hhhhhhhh; with using child's glyph.
839
840         * cwiki-glyph.el: New file.
841
842 2010-03-18  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
843
844         * cwiki-common.el (chise-wiki-bitmap-glyphs-url): Renamed from
845         `chise-wiki-glyphs-url'.
846         (www-format-encode-string):
847         - Use `chise-wiki-bitmap-glyphs-url' instead of
848           `chise-wiki-glyphs-url'.
849         - Display &JC3-hhhh; and &ZOB-dddd;.
850
851 2010-03-17  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
852
853         * cwiki-edit.el (www-edit-display-feature-desc): Use
854         `www-format-feature-name*' instead of `www-format-feature-name'.
855
856         * cwiki-common.el (www-uri-decode-char):
857         - Accept `:' again.
858         - Prefer `=>jis-x0208' and `=>jis-x0213-1' to `=big5' and
859           `=big5-cdp'.
860         - Fix problem when no CCSes are found.
861         (www-format-feature-name*): New function.
862         (www-format-feature-name): Use `www-format-feature-name*'.
863
864 2010-03-17  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
865
866         * cwiki-set.el (www-parse-string-as-space-separated-char-list):
867         Expect `string' to be encoded as URI.
868         (www-parse-string-as-space-separated-ids): Likewise.
869         (www-feature-parse-string): Likewise.
870         (www-set-display-char-desc): Expect `uri-char' to be encoded as
871         URI.
872         (www-set-display-feature-desc): Fix problem when `name@lang' is
873         not existed.
874         (www-batch-set): Don't use `decode-uri-string' for value of `char'
875         and feature-value.
876
877         * cwiki-edit.el (www-edit-display-char-desc): Expect `uri-char' to
878         be encoded as URI.
879         (www-batch-edit): Don't use `decode-uri-string' for value of
880         `char'.
881
882         * cwiki-view.el (www-display-char-desc): Expect `uri-char' to be
883         encoded as URI; encode `uri-char' if it is a non-encoded
884         character.
885         (www-batch-view): Don't use `decode-uri-string' for value of
886         `char'.
887
888         * cwiki-common.el (www-uri-decode-char): Expect char-rep to be
889         encoded as URI.
890         (www-uri-encode-char): Encode UCS characters as %XX encoding.
891         (www-format-feature-name-as-CCS): Insert space between
892         prefix (..., ===>, ==>, =>, =>>, =>>>, ..., =) and main-name.
893         (www-html-display-text): Don't escape "&" except "&GT-".
894
895 2010-03-16  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
896
897         * cwiki-set.el (www-parse-string-as-space-separated-ids): New
898         function.
899         (www-parse-string-as-ku-ten): New function.
900         (www-feature-parse-string): Support `space-separated-ids' and
901         `ku-ten'.
902
903 2010-03-16  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
904
905         * cwiki-common.el (www-feature-value-format): Return
906         'space-separated-ids for `structure' type features.
907         (www-format-value-as-ids): New function.
908         (www-format-apply-value): Use `www-format-value-as-ids' for format
909         `space-separated-ids'.
910
911 2010-03-03  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
912
913         * cwiki-common.el, cwiki-edit.el, cwiki-set.el, cwiki-view.el: New
914         files.