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