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