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