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