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