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