update.
[chise/est.git] / ChangeLog
1 2010-04-05  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
2
3         * cwiki-edit.el (www-edit-display-feature-desc): Display and
4         support editing of property `format'.
5
6         * cwiki-common.el (find-previous-defined-code-point): Fix problem
7         with `=ucs'.
8
9         * cwiki-view.el (www-display-feature-desc): Add edit button for
10         `format'.
11
12 2010-04-05  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
13
14         * cwiki-common.el (www-feature-value-format): Add
15         `(prev-char) (next-char)' into default format of CCS feature.
16         (get-previous-code-point): New function.
17         (get-next-code-point): New function.
18         (find-previous-defined-code-point): New function.
19         (find-next-defined-code-point): New function.
20         (www-format-eval-unit): Support `prev-char' and `next-char'.
21
22 2010-04-05  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
23
24         * cwiki-view.el (www-display-char-desc): Don't display "add
25         feature" button when running with simple mode.
26
27 2010-04-05  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
28
29         * cwiki-set.el (www-set-display-feature-desc): Refer
30         `chise-wiki-view-url'.
31
32 2010-04-05  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
33
34         * cwiki-view.el (www-display-feature-desc): Add new optional
35         argument `simple'; display "Edit" and "New Account" buttons when
36         running with simple mode; display "Simple" button when running
37         with edit mode.
38         (www-batch-view): Modify for `www-display-feature-desc' to support
39         mode.
40
41 2010-04-05  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
42
43         * cwiki-view.el (www-display-char-desc): Use <div> instead of <p>
44         to display feature in top-level.
45
46 2010-04-04  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
47
48         * cwiki-set.el (chise-wiki-view-url): Use "view.cgi" instead of
49         "../view.cgi".
50
51         * cwiki-edit.el (chise-wiki-view-url): Use "view.cgi" instead of
52         "../view.cgi".
53
54         * cwiki-view.el (chise-wiki-edit-url): Use "edit.cgi" instead of
55         "edit/edit.cgi".
56         (chise-wiki-add-url): Use "add.cgi" instead of "edit/add.cgi".
57         (www-display-char-desc): Add new optional argument `simple';
58         display "Edit" and "New Account" buttons when running with simple
59         mode; display "Simple" button when running with edit mode.
60         (www-batch-view): Modify to support mode.
61
62         * cwiki-common.el (chise-wiki-edit-url): Changed to "edit.cgi".
63         (www-format-value): Add new optional argument `without-edit';
64         modify for `www-format-apply-value'.
65         (www-format-apply-value): Add new optional argument
66         `without-edit'; modify for `www-format-eval-list'.
67         (www-format-eval-feature-value): Add new optional arguments
68         `without-tags' and `without-edit'; modify for
69         `www-format-apply-value' and `www-format-eval-list'.
70         (www-format-eval-unit):
71         - Add new optional arguments `without-tags' and `without-edit';
72           modify for `www-format-eval-feature-value',
73           `www-format-apply-value' and `www-format-eval-list'.
74         - specify 'without-tags and 'without-edit for
75           `www-format-eval-list' in href part of `link'.
76         (www-format-eval-list): Add new optional arguments `without-tags'
77         and `without-edit'; modify for `www-format-eval-unit'.
78
79 2010-04-04  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
80
81         * cwiki-common.el (www-format-eval-unit): Treat `string' as a
82         format specifier of feature-value.
83
84 2010-04-04  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
85
86         * cwiki-common.el (www-format-props-to-string): When `:len' is
87         specified, treat `:zero-padding' is specified.
88
89 2010-04-03  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
90
91         * cwiki-common.el (www-uri-encode-char): Use `=ruimoku-v6'.
92         (www-format-encode-string): Display `=ruimoku-v6' characters.
93
94         * cwiki-glyph.el (www-glyph-generate-png): Support `=ruimoku-v6'.
95         (www-glyph-display-png): Support RUI6-hhhh;
96
97 2010-04-02  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
98
99         * cwiki-common.el (www-uri-encode-char): Accept `=>zinbun-oracle'.
100         (www-format-encode-string):
101         - Display &A-ZOB-dddd;.
102         - Support `ideographic-combination'(合文) and
103           `ideographic-structure'.
104
105 2010-04-01  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
106
107         * cwiki-view.el (www-batch-view): Accept
108         "?char=&ENTITY-REFERENCE;".
109
110 2010-03-31  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
111
112         * cwiki-view.el (www-display-char-desc): Use
113         `char-feature-name-sans-versions' to avoid domain `$rev=latest'
114         when sort feature-names.
115
116 2010-03-29  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
117
118         * cwiki-common.el (www-format-value-as-domain-list): New function.
119         (www-format-apply-value): Support `space-separated-domain-list'.
120         (char-GlyphWiki-id): Try to avoid uHHHH-{u|us}.
121
122 2010-03-29  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
123
124         * cwiki-common.el (coded-charset-GlyphWiki-id-alist): Add setting
125         for `=ucs@jis', `=jis-x0208@1978/-4pr' and `=jis-x0208@1978'.
126         (char-GlyphWiki-id): Use `char-feature' instead of `encode-char'.
127
128 2010-03-29  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
129
130         * cwiki-view.el (www-display-char-desc): Add input form for CHISE
131         IDS-Find.
132
133 2010-03-29  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
134
135         * cwiki-view.el (www-display-char-desc): Try to display glyph of
136         GlyphWiki and link it.
137
138         * cwiki-common.el (coded-charset-GlyphWiki-id-alist): New
139         variable.
140         (char-GlyphWiki-id): New function.
141
142 2010-03-28  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
143
144         * cwiki-set.el (www-parse-string-as-kangxi-radical): New function.
145         (www-feature-parse-string): Support format `kangxi-radical'.
146
147         * cwiki-common.el (www-format-value-as-kangxi-radical): New
148         function.
149         (www-format-apply-value): Support format `kangxi-radical'.
150         (www-format-eval-unit): Support `kangxi-radical' as a value
151         format.
152
153 2010-03-20  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
154
155         * cwiki-common.el (www-format-value-default): New function.
156         (www-format-encode-string):
157         - Prefer `=gt' to `=cns11643-{1..7}'.
158         - Display &(G-)GT-Kddddd; entity references.
159         (www-format-apply-value):
160         - New implementation for format `string'.
161         - Use `www-format-value-default' for default format.
162
163         * cwiki-glyph.el (www-glyph-generate-png): Support `=gt-k'.
164         (www-glyph-display-png): Support GT-Kddddd.
165
166         * cwiki-set.el (www-parse-string-default): New implementation.
167         (www-set-display-feature-desc):
168         - New argument `format'.
169         - Display `value-format'.
170         (www-batch-set): Modify for the API change to set feature's
171         property.
172
173         * cwiki-view.el (www-display-char-desc): Display parents in the
174         header.
175         (www-display-feature-desc): Use `www-format-value' with default
176         format instead of `www-xml-format-list' and
177         `www-format-encode-string'.
178
179         * cwiki-edit.el (www-edit-display-feature-input-box): Add new
180         optional argument `value'.
181         (www-edit-display-feature-desc):
182         - Use `www-edit-display-feature-input-box' instead of
183           `www-edit-display-input-box'.
184         - Display `value-format'.
185
186 2010-03-19  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
187
188         * cwiki-view.el (www-display-feature-desc): Display [edit] button
189         of `value-format'.
190
191 2010-03-19  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
192
193         * cwiki-common.el (www-xml-format-unit): Escape `&'.
194
195 2010-03-19  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
196
197         * cwiki-common.el (www-format-encode-string): Display
198         &U-hhhhhhhh;.
199         (www-xml-format-props): Encode property value.
200         (www-xml-format-unit): Encode string.
201
202         * cwiki-edit.el (www-edit-display-feature-input-box): Escape <">.
203
204         * cwiki-view.el (www-display-feature-desc): Modify design of
205         [edit] button.
206
207 2010-03-18  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
208
209         * cwiki-set.el (www-xml-to-stext-unit): Support
210         <link><ref>...</ref>...</link>.
211
212         * cwiki-common.el (www-xml-format-unit): Support tag style `ref'
213         in `link'.
214
215         * cwiki-view.el (www-display-feature-desc): Display `value-format'
216         and `format'.
217
218 2010-03-18  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
219
220         * cwiki-common.el (www-format-feature-name-as-metadata): New
221         function.
222         (www-format-feature-name*): Use
223         `www-format-feature-name-as-metadata' for metadata features.
224
225 2010-03-18  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
226
227         * cwiki-set.el (www-xml-parse-string): New function.
228         (www-xml-to-stext-props): New function.
229         (www-xml-to-stext-unit): New function.
230         (www-xml-to-stext-list): New function.
231         (www-stext-parse-xml-string): New function.
232         (www-parse-string-as-wiki-text): Use `www-stext-parse-xml-string'.
233
234         * cwiki-edit.el (www-edit-display-char-feature-default): Abolish.
235         (www-edit-display-char-feature-as-ucs): Abolish.
236         (www-edit-display-input-box): Add the first argument `object';
237         modify for `www-format-apply-value'.
238         (www-edit-display-feature-input-box): Modify input boxes; modify
239         for `www-format-value'.
240         (www-edit-display-feature-desc): Modify for
241         `www-edit-display-input-box'.
242
243         * cwiki-common.el (www-format-value): Add the first argument
244         `object' and the second argument `feature-name'; change argument
245         `variable' to be optional; modify for `www-format-apply-value'.
246         (www-format-apply-value): Add the first argument `object' and the
247         second argument `feature-name'; support format `wiki-text'.
248         (www-format-eval-feature-value): Modify for
249         `www-format-apply-value'.
250         (www-format-eval-unit): Likewise.
251         (www-xml-format-props): New function.
252         (www-xml-format-unit): New function.
253         (www-xml-format-list): New function.
254
255 2010-03-18  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
256
257         * cwiki-set.el (www-set-display-char-desc):
258         - Setup property `additional-features' of feature `$object' when
259           feature value is stored.
260         - Mount additional-features.
261
262         * cwiki-view.el (www-char-display-feature-default): Abolished.
263         (www-char-display-feature-as-ucs): Abolished.
264         (www-display-char-desc): Mount additional-features.
265
266         * cwiki-common.el (www-feature-type): Support `*node' and
267         `*sources'.
268         (www-feature-value-format): Return `wiki-text' for type `stext'.
269         (www-format-apply-value): Don't set `default' even if a format is
270         not supported in this function.
271
272 2010-03-18  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
273
274         * cwiki-set.el (www-parse-string-as-wiki-text): New function
275         [currently just a stub].
276         (www-feature-parse-string): Use `www-parse-string-as-wiki-text'.
277         (www-set-display-char-desc): Use
278         `char-feature-name-sans-versions'.
279
280         * cwiki-edit.el (www-edit-display-feature-input-box): New
281         function.
282         (www-edit-display-char-desc): Use
283         `www-edit-display-feature-input-box'.
284
285         * cwiki-view.el (www-display-char-desc): Use
286         `char-feature-name-sans-versions'.
287
288         * cwiki-common.el (char-feature-name-sans-versions): New function.
289
290 2010-03-18  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
291
292         * cwiki-set.el (www-set-display-char-desc): Store new value into
293         FEATURE@$rev=latest; don't display `$rev=latest' domain features.
294
295         * cwiki-edit.el (www-edit-display-char-feature-default): Use
296         `www-char-feature' instead of `char-feature'.
297         (www-edit-display-char-feature-as-ucs): Likewise.
298         (www-edit-display-char-desc): Likewise; replace value of char-spec
299         with value of `www-char-feature'.
300
301         * cwiki-view.el (www-char-display-feature-default): Use
302         `www-char-feature' instead of `char-feature'.
303         (www-char-display-feature-as-ucs): Likewise.
304         (www-display-char-desc): Ignore `$rev=latest' domain features.
305
306         * cwiki-common.el (char-feature-name-at-domain): New function.
307         (www-char-feature): New function.
308         (www-format-encode-string): Use `www-char-feature' instead of
309         `char-feature'.
310         (www-format-eval-feature-value): Likewise.
311         (www-format-eval-unit): Likewise.
312
313 2010-03-18  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
314
315         * cwiki-set.el (www-parse-string-default): New function.
316         (www-feature-parse-string):
317         - Support new format `string'.
318         - Use `www-parse-string-default' for `default'.
319
320 2010-03-18  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
321
322         * cwiki-common.el (chise-wiki-glyph-cgi-url): New variable.
323         (www-uri-encode-char): Support `=>>gt'.
324         (www-format-encode-string):
325         - Use GT, Big5 and Big5-CDP fonts.
326         - Use http://www.unicode.org/cgi-bin/refglyph?24-hhhh to display
327           `=ucs@unicode' glyphs.
328         - Display &MCS-hhhhhhhh; with using child's glyph.
329
330         * cwiki-glyph.el: New file.
331
332 2010-03-18  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
333
334         * cwiki-common.el (chise-wiki-bitmap-glyphs-url): Renamed from
335         `chise-wiki-glyphs-url'.
336         (www-format-encode-string):
337         - Use `chise-wiki-bitmap-glyphs-url' instead of
338           `chise-wiki-glyphs-url'.
339         - Display &JC3-hhhh; and &ZOB-dddd;.
340
341 2010-03-17  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
342
343         * cwiki-edit.el (www-edit-display-feature-desc): Use
344         `www-format-feature-name*' instead of `www-format-feature-name'.
345
346         * cwiki-common.el (www-uri-decode-char):
347         - Accept `:' again.
348         - Prefer `=>jis-x0208' and `=>jis-x0213-1' to `=big5' and
349           `=big5-cdp'.
350         - Fix problem when no CCSes are found.
351         (www-format-feature-name*): New function.
352         (www-format-feature-name): Use `www-format-feature-name*'.
353
354 2010-03-17  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
355
356         * cwiki-set.el (www-parse-string-as-space-separated-char-list):
357         Expect `string' to be encoded as URI.
358         (www-parse-string-as-space-separated-ids): Likewise.
359         (www-feature-parse-string): Likewise.
360         (www-set-display-char-desc): Expect `uri-char' to be encoded as
361         URI.
362         (www-set-display-feature-desc): Fix problem when `name@lang' is
363         not existed.
364         (www-batch-set): Don't use `decode-uri-string' for value of `char'
365         and feature-value.
366
367         * cwiki-edit.el (www-edit-display-char-desc): Expect `uri-char' to
368         be encoded as URI.
369         (www-batch-edit): Don't use `decode-uri-string' for value of
370         `char'.
371
372         * cwiki-view.el (www-display-char-desc): Expect `uri-char' to be
373         encoded as URI; encode `uri-char' if it is a non-encoded
374         character.
375         (www-batch-view): Don't use `decode-uri-string' for value of
376         `char'.
377
378         * cwiki-common.el (www-uri-decode-char): Expect char-rep to be
379         encoded as URI.
380         (www-uri-encode-char): Encode UCS characters as %XX encoding.
381         (www-format-feature-name-as-CCS): Insert space between
382         prefix (..., ===>, ==>, =>, =>>, =>>>, ..., =) and main-name.
383         (www-html-display-text): Don't escape "&" except "&GT-".
384
385 2010-03-16  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
386
387         * cwiki-set.el (www-parse-string-as-space-separated-ids): New
388         function.
389         (www-parse-string-as-ku-ten): New function.
390         (www-feature-parse-string): Support `space-separated-ids' and
391         `ku-ten'.
392
393 2010-03-16  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
394
395         * cwiki-common.el (www-feature-value-format): Return
396         'space-separated-ids for `structure' type features.
397         (www-format-value-as-ids): New function.
398         (www-format-apply-value): Use `www-format-value-as-ids' for format
399         `space-separated-ids'.
400
401 2010-03-03  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
402
403         * cwiki-common.el, cwiki-edit.el, cwiki-set.el, cwiki-view.el: New
404         files.