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