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