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