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