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