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