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