update.
[chise/est.git] / ChangeLog
1 2010-11-14  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
2
3         * cwiki-set.el (www-batch-set): Encode `xemacs-chise-version'.
4
5         * cwiki-add.el (www-batch-add): Encode `xemacs-chise-version'.
6
7         * cwiki-edit.el (www-batch-edit): Encode `xemacs-chise-version'.
8
9         * cwiki-view.el (www-batch-view): Encode (emacs-version).
10
11 2010-11-10  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
12
13         * cwiki-common.el (www-format-apply-value): Rename argument
14         `uri-char' to `uri-object'.
15         (www-format-eval-feature-value): Rename argument `char' and
16         `uri-char' to `object' and `uri-object'.
17         (www-format-eval-unit): Likewise.
18         (www-format-eval-list): Likewise.
19
20 2010-10-14  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
21
22         * cwiki-view.el (www-display-object-desc): New function.
23
24         * cwiki-common.el (est-format-object): New function.
25
26 2010-10-14  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
27
28         * cwiki-common.el (www-get-genre): Abolished.
29         (www-get-feature-value): Don't use `www-get-genre'.
30
31 2010-10-12  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
32
33         * cwiki-common.el:
34         - Set `file-name-coding-system' to 'utf-8-mcs-er.
35         - Add settings to assign genres of Ruimoku.
36         (www-get-feature-value): Modify for non-character genres.
37         (www-uri-decode-object): Use `www-uri-decode-feature-name' for
38         objects of `feature' genre.
39
40         * cwiki-view.el (www-display-object-desc): Fix problem when
41         `object' is not a character.
42         (www-batch-view): Support general genres.
43
44 2010-09-15  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
45
46         * cwiki-common.el (www-get-genre): New function.
47         (www-get-feature-value): Renamed from `www-char-feature'.
48         (www-uri-decode-object): Renamed from `www-uri-decode-char'; add
49         new argument `genre'.
50
51         * cwiki-view.el (www-display-object-desc): Renamed from
52         `www-display-char-desc'; add new argument `genre'.
53
54         * cwiki-add.el (www-add-display-char-desc): Use
55         `www-uri-decode-object' instead of `www-uri-decode-char'.
56
57         * cwiki-set.el (www-parse-string-as-space-separated-char-list):
58         Use `www-uri-decode-object' instead of `www-uri-decode-char'.
59         (www-parse-string-as-space-separated-ids): Likewise.
60         (www-set-display-char-desc): Likewise; use `www-get-feature-value'
61         instead of `www-char-feature'.
62
63         * cwiki-edit.el (www-edit-display-feature-input-box): Use
64         `www-get-feature-value' instead of `www-char-feature'.
65         (www-edit-display-char-desc): Use `www-uri-decode-object' instead
66         of `www-uri-decode-char'.
67
68 2010-09-13  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
69
70         * cwiki-add.el: New file.
71
72 2010-04-08  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
73
74         * cwiki-view.el (www-display-char-desc): Use
75         `chise-wiki-displayed-features' instead of `displayed-features'.
76
77         * cwiki-common.el (chise-wiki-displayed-features): New variable.
78         (char-feature-name-at-domain): Fix problem when `domain' is nil.
79         (char-feature-name-domain): New function.
80         (www-uri-make-feature-name-url): New function.
81         (www-format-props-to-string): Fix problem when :len's value is
82         string.
83         (www-format-eval-unit):
84         - When :feature is specified, prefer FEATURE@DOMAIN to FEATURE.
85         - When :feature is specified in value related format functions,
86           add the displayed feature-name to
87           `chise-wiki-displayed-features'.
88         - Support `name-url' and `domain-name'.
89
90 2010-04-07  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
91
92         * cwiki-view.el (www-display-feature-desc): Fix problem to display
93         non-ASCII characters in property `format'.
94
95 2010-04-06  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
96
97         * cwiki-view.el (www-display-char-desc): Use `www-feature-format'.
98         (www-display-feature-desc): Ditto.
99
100         * cwiki-common.el (www-feature-format): New function.
101         (www-format-eval-unit): Support `:feature' property for `value'
102         related functions and `name' function.
103
104 2010-04-06  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
105
106         * cwiki-common.el (www-feature-value-format): Search ancestors'
107         property if own property is not found.
108         (char-feature-name-parent): New function.
109         (www-format-feature-name*): Search ancestors' property if own
110         property is not found.
111
112 2010-04-05  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
113
114         * cwiki-edit.el (www-edit-display-feature-desc): Display and
115         support editing of property `format'.
116
117         * cwiki-common.el (find-previous-defined-code-point): Fix problem
118         with `=ucs'.
119
120         * cwiki-view.el (www-display-feature-desc): Add edit button for
121         `format'.
122
123 2010-04-05  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
124
125         * cwiki-common.el (www-feature-value-format): Add
126         `(prev-char) (next-char)' into default format of CCS feature.
127         (get-previous-code-point): New function.
128         (get-next-code-point): New function.
129         (find-previous-defined-code-point): New function.
130         (find-next-defined-code-point): New function.
131         (www-format-eval-unit): Support `prev-char' and `next-char'.
132
133 2010-04-05  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
134
135         * cwiki-view.el (www-display-char-desc): Don't display "add
136         feature" button when running with simple mode.
137
138 2010-04-05  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
139
140         * cwiki-set.el (www-set-display-feature-desc): Refer
141         `chise-wiki-view-url'.
142
143 2010-04-05  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
144
145         * cwiki-view.el (www-display-feature-desc): Add new optional
146         argument `simple'; display "Edit" and "New Account" buttons when
147         running with simple mode; display "Simple" button when running
148         with edit mode.
149         (www-batch-view): Modify for `www-display-feature-desc' to support
150         mode.
151
152 2010-04-05  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
153
154         * cwiki-view.el (www-display-char-desc): Use <div> instead of <p>
155         to display feature in top-level.
156
157 2010-04-04  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
158
159         * cwiki-set.el (chise-wiki-view-url): Use "view.cgi" instead of
160         "../view.cgi".
161
162         * cwiki-edit.el (chise-wiki-view-url): Use "view.cgi" instead of
163         "../view.cgi".
164
165         * cwiki-view.el (chise-wiki-edit-url): Use "edit.cgi" instead of
166         "edit/edit.cgi".
167         (chise-wiki-add-url): Use "add.cgi" instead of "edit/add.cgi".
168         (www-display-char-desc): Add new optional argument `simple';
169         display "Edit" and "New Account" buttons when running with simple
170         mode; display "Simple" button when running with edit mode.
171         (www-batch-view): Modify to support mode.
172
173         * cwiki-common.el (chise-wiki-edit-url): Changed to "edit.cgi".
174         (www-format-value): Add new optional argument `without-edit';
175         modify for `www-format-apply-value'.
176         (www-format-apply-value): Add new optional argument
177         `without-edit'; modify for `www-format-eval-list'.
178         (www-format-eval-feature-value): Add new optional arguments
179         `without-tags' and `without-edit'; modify for
180         `www-format-apply-value' and `www-format-eval-list'.
181         (www-format-eval-unit):
182         - Add new optional arguments `without-tags' and `without-edit';
183           modify for `www-format-eval-feature-value',
184           `www-format-apply-value' and `www-format-eval-list'.
185         - specify 'without-tags and 'without-edit for
186           `www-format-eval-list' in href part of `link'.
187         (www-format-eval-list): Add new optional arguments `without-tags'
188         and `without-edit'; modify for `www-format-eval-unit'.
189
190 2010-04-04  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
191
192         * cwiki-common.el (www-format-eval-unit): Treat `string' as a
193         format specifier of feature-value.
194
195 2010-04-04  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
196
197         * cwiki-common.el (www-format-props-to-string): When `:len' is
198         specified, treat `:zero-padding' is specified.
199
200 2010-04-03  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
201
202         * cwiki-common.el (www-uri-encode-char): Use `=ruimoku-v6'.
203         (www-format-encode-string): Display `=ruimoku-v6' characters.
204
205         * cwiki-glyph.el (www-glyph-generate-png): Support `=ruimoku-v6'.
206         (www-glyph-display-png): Support RUI6-hhhh;
207
208 2010-04-02  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
209
210         * cwiki-common.el (www-uri-encode-char): Accept `=>zinbun-oracle'.
211         (www-format-encode-string):
212         - Display &A-ZOB-dddd;.
213         - Support `ideographic-combination'(合文) and
214           `ideographic-structure'.
215
216 2010-04-01  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
217
218         * cwiki-view.el (www-batch-view): Accept
219         "?char=&ENTITY-REFERENCE;".
220
221 2010-03-31  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
222
223         * cwiki-view.el (www-display-char-desc): Use
224         `char-feature-name-sans-versions' to avoid domain `$rev=latest'
225         when sort feature-names.
226
227 2010-03-29  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
228
229         * cwiki-common.el (www-format-value-as-domain-list): New function.
230         (www-format-apply-value): Support `space-separated-domain-list'.
231         (char-GlyphWiki-id): Try to avoid uHHHH-{u|us}.
232
233 2010-03-29  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
234
235         * cwiki-common.el (coded-charset-GlyphWiki-id-alist): Add setting
236         for `=ucs@jis', `=jis-x0208@1978/-4pr' and `=jis-x0208@1978'.
237         (char-GlyphWiki-id): Use `char-feature' instead of `encode-char'.
238
239 2010-03-29  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
240
241         * cwiki-view.el (www-display-char-desc): Add input form for CHISE
242         IDS-Find.
243
244 2010-03-29  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
245
246         * cwiki-view.el (www-display-char-desc): Try to display glyph of
247         GlyphWiki and link it.
248
249         * cwiki-common.el (coded-charset-GlyphWiki-id-alist): New
250         variable.
251         (char-GlyphWiki-id): New function.
252
253 2010-03-28  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
254
255         * cwiki-set.el (www-parse-string-as-kangxi-radical): New function.
256         (www-feature-parse-string): Support format `kangxi-radical'.
257
258         * cwiki-common.el (www-format-value-as-kangxi-radical): New
259         function.
260         (www-format-apply-value): Support format `kangxi-radical'.
261         (www-format-eval-unit): Support `kangxi-radical' as a value
262         format.
263
264 2010-03-20  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
265
266         * cwiki-common.el (www-format-value-default): New function.
267         (www-format-encode-string):
268         - Prefer `=gt' to `=cns11643-{1..7}'.
269         - Display &(G-)GT-Kddddd; entity references.
270         (www-format-apply-value):
271         - New implementation for format `string'.
272         - Use `www-format-value-default' for default format.
273
274         * cwiki-glyph.el (www-glyph-generate-png): Support `=gt-k'.
275         (www-glyph-display-png): Support GT-Kddddd.
276
277         * cwiki-set.el (www-parse-string-default): New implementation.
278         (www-set-display-feature-desc):
279         - New argument `format'.
280         - Display `value-format'.
281         (www-batch-set): Modify for the API change to set feature's
282         property.
283
284         * cwiki-view.el (www-display-char-desc): Display parents in the
285         header.
286         (www-display-feature-desc): Use `www-format-value' with default
287         format instead of `www-xml-format-list' and
288         `www-format-encode-string'.
289
290         * cwiki-edit.el (www-edit-display-feature-input-box): Add new
291         optional argument `value'.
292         (www-edit-display-feature-desc):
293         - Use `www-edit-display-feature-input-box' instead of
294           `www-edit-display-input-box'.
295         - Display `value-format'.
296
297 2010-03-19  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
298
299         * cwiki-view.el (www-display-feature-desc): Display [edit] button
300         of `value-format'.
301
302 2010-03-19  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
303
304         * cwiki-common.el (www-xml-format-unit): Escape `&'.
305
306 2010-03-19  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
307
308         * cwiki-common.el (www-format-encode-string): Display
309         &U-hhhhhhhh;.
310         (www-xml-format-props): Encode property value.
311         (www-xml-format-unit): Encode string.
312
313         * cwiki-edit.el (www-edit-display-feature-input-box): Escape <">.
314
315         * cwiki-view.el (www-display-feature-desc): Modify design of
316         [edit] button.
317
318 2010-03-18  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
319
320         * cwiki-set.el (www-xml-to-stext-unit): Support
321         <link><ref>...</ref>...</link>.
322
323         * cwiki-common.el (www-xml-format-unit): Support tag style `ref'
324         in `link'.
325
326         * cwiki-view.el (www-display-feature-desc): Display `value-format'
327         and `format'.
328
329 2010-03-18  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
330
331         * cwiki-common.el (www-format-feature-name-as-metadata): New
332         function.
333         (www-format-feature-name*): Use
334         `www-format-feature-name-as-metadata' for metadata features.
335
336 2010-03-18  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
337
338         * cwiki-set.el (www-xml-parse-string): New function.
339         (www-xml-to-stext-props): New function.
340         (www-xml-to-stext-unit): New function.
341         (www-xml-to-stext-list): New function.
342         (www-stext-parse-xml-string): New function.
343         (www-parse-string-as-wiki-text): Use `www-stext-parse-xml-string'.
344
345         * cwiki-edit.el (www-edit-display-char-feature-default): Abolish.
346         (www-edit-display-char-feature-as-ucs): Abolish.
347         (www-edit-display-input-box): Add the first argument `object';
348         modify for `www-format-apply-value'.
349         (www-edit-display-feature-input-box): Modify input boxes; modify
350         for `www-format-value'.
351         (www-edit-display-feature-desc): Modify for
352         `www-edit-display-input-box'.
353
354         * cwiki-common.el (www-format-value): Add the first argument
355         `object' and the second argument `feature-name'; change argument
356         `variable' to be optional; modify for `www-format-apply-value'.
357         (www-format-apply-value): Add the first argument `object' and the
358         second argument `feature-name'; support format `wiki-text'.
359         (www-format-eval-feature-value): Modify for
360         `www-format-apply-value'.
361         (www-format-eval-unit): Likewise.
362         (www-xml-format-props): New function.
363         (www-xml-format-unit): New function.
364         (www-xml-format-list): New function.
365
366 2010-03-18  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
367
368         * cwiki-set.el (www-set-display-char-desc):
369         - Setup property `additional-features' of feature `$object' when
370           feature value is stored.
371         - Mount additional-features.
372
373         * cwiki-view.el (www-char-display-feature-default): Abolished.
374         (www-char-display-feature-as-ucs): Abolished.
375         (www-display-char-desc): Mount additional-features.
376
377         * cwiki-common.el (www-feature-type): Support `*node' and
378         `*sources'.
379         (www-feature-value-format): Return `wiki-text' for type `stext'.
380         (www-format-apply-value): Don't set `default' even if a format is
381         not supported in this function.
382
383 2010-03-18  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
384
385         * cwiki-set.el (www-parse-string-as-wiki-text): New function
386         [currently just a stub].
387         (www-feature-parse-string): Use `www-parse-string-as-wiki-text'.
388         (www-set-display-char-desc): Use
389         `char-feature-name-sans-versions'.
390
391         * cwiki-edit.el (www-edit-display-feature-input-box): New
392         function.
393         (www-edit-display-char-desc): Use
394         `www-edit-display-feature-input-box'.
395
396         * cwiki-view.el (www-display-char-desc): Use
397         `char-feature-name-sans-versions'.
398
399         * cwiki-common.el (char-feature-name-sans-versions): New function.
400
401 2010-03-18  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
402
403         * cwiki-set.el (www-set-display-char-desc): Store new value into
404         FEATURE@$rev=latest; don't display `$rev=latest' domain features.
405
406         * cwiki-edit.el (www-edit-display-char-feature-default): Use
407         `www-char-feature' instead of `char-feature'.
408         (www-edit-display-char-feature-as-ucs): Likewise.
409         (www-edit-display-char-desc): Likewise; replace value of char-spec
410         with value of `www-char-feature'.
411
412         * cwiki-view.el (www-char-display-feature-default): Use
413         `www-char-feature' instead of `char-feature'.
414         (www-char-display-feature-as-ucs): Likewise.
415         (www-display-char-desc): Ignore `$rev=latest' domain features.
416
417         * cwiki-common.el (char-feature-name-at-domain): New function.
418         (www-char-feature): New function.
419         (www-format-encode-string): Use `www-char-feature' instead of
420         `char-feature'.
421         (www-format-eval-feature-value): Likewise.
422         (www-format-eval-unit): Likewise.
423
424 2010-03-18  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
425
426         * cwiki-set.el (www-parse-string-default): New function.
427         (www-feature-parse-string):
428         - Support new format `string'.
429         - Use `www-parse-string-default' for `default'.
430
431 2010-03-18  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
432
433         * cwiki-common.el (chise-wiki-glyph-cgi-url): New variable.
434         (www-uri-encode-char): Support `=>>gt'.
435         (www-format-encode-string):
436         - Use GT, Big5 and Big5-CDP fonts.
437         - Use http://www.unicode.org/cgi-bin/refglyph?24-hhhh to display
438           `=ucs@unicode' glyphs.
439         - Display &MCS-hhhhhhhh; with using child's glyph.
440
441         * cwiki-glyph.el: New file.
442
443 2010-03-18  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
444
445         * cwiki-common.el (chise-wiki-bitmap-glyphs-url): Renamed from
446         `chise-wiki-glyphs-url'.
447         (www-format-encode-string):
448         - Use `chise-wiki-bitmap-glyphs-url' instead of
449           `chise-wiki-glyphs-url'.
450         - Display &JC3-hhhh; and &ZOB-dddd;.
451
452 2010-03-17  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
453
454         * cwiki-edit.el (www-edit-display-feature-desc): Use
455         `www-format-feature-name*' instead of `www-format-feature-name'.
456
457         * cwiki-common.el (www-uri-decode-char):
458         - Accept `:' again.
459         - Prefer `=>jis-x0208' and `=>jis-x0213-1' to `=big5' and
460           `=big5-cdp'.
461         - Fix problem when no CCSes are found.
462         (www-format-feature-name*): New function.
463         (www-format-feature-name): Use `www-format-feature-name*'.
464
465 2010-03-17  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
466
467         * cwiki-set.el (www-parse-string-as-space-separated-char-list):
468         Expect `string' to be encoded as URI.
469         (www-parse-string-as-space-separated-ids): Likewise.
470         (www-feature-parse-string): Likewise.
471         (www-set-display-char-desc): Expect `uri-char' to be encoded as
472         URI.
473         (www-set-display-feature-desc): Fix problem when `name@lang' is
474         not existed.
475         (www-batch-set): Don't use `decode-uri-string' for value of `char'
476         and feature-value.
477
478         * cwiki-edit.el (www-edit-display-char-desc): Expect `uri-char' to
479         be encoded as URI.
480         (www-batch-edit): Don't use `decode-uri-string' for value of
481         `char'.
482
483         * cwiki-view.el (www-display-char-desc): Expect `uri-char' to be
484         encoded as URI; encode `uri-char' if it is a non-encoded
485         character.
486         (www-batch-view): Don't use `decode-uri-string' for value of
487         `char'.
488
489         * cwiki-common.el (www-uri-decode-char): Expect char-rep to be
490         encoded as URI.
491         (www-uri-encode-char): Encode UCS characters as %XX encoding.
492         (www-format-feature-name-as-CCS): Insert space between
493         prefix (..., ===>, ==>, =>, =>>, =>>>, ..., =) and main-name.
494         (www-html-display-text): Don't escape "&" except "&GT-".
495
496 2010-03-16  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
497
498         * cwiki-set.el (www-parse-string-as-space-separated-ids): New
499         function.
500         (www-parse-string-as-ku-ten): New function.
501         (www-feature-parse-string): Support `space-separated-ids' and
502         `ku-ten'.
503
504 2010-03-16  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
505
506         * cwiki-common.el (www-feature-value-format): Return
507         'space-separated-ids for `structure' type features.
508         (www-format-value-as-ids): New function.
509         (www-format-apply-value): Use `www-format-value-as-ids' for format
510         `space-separated-ids'.
511
512 2010-03-03  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
513
514         * cwiki-common.el, cwiki-edit.el, cwiki-set.el, cwiki-view.el: New
515         files.