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