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