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