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