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