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