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