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