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