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