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