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