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