update.
[chise/libchise.git] / ChangeLog
1 2004-07-15  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
2
3         * chise.c (struct CHISE_DS): Add new member `property_names'.
4         (CHISE_DS_open): Initialize `property_names'.
5         (CHISE_DS_close): Destroy `property_names'.
6         (chise_ds_location): New function.
7         (chise_ds_get_property): New function.
8         (struct CHISE_Property_Table): New structure.
9         (chise_ds_open_property_table): New function.
10         (chise_pt_close): Likewise.
11         (chise_property_setup_db): Likewise.
12         (chise_property_sync): Likewise.
13         (chise_feature_set_property_value): Likewise.
14         (chise_feature_load_property_value): Likewise.
15         (chise_feature_gets_property_value): Likewise.
16
17         * chise.h (chise_ds_location): New prototype.
18         (CHISE_Property_Table): New type.
19         (CHISE_Property): New type.
20         (chise_ds_get_property): New prototype.
21         (chise_property_setup_db): Likewise.
22         (chise_property_sync): Likewise.
23         (chise_feature_set_property_value): Likewise.
24         (chise_feature_load_property_value): Likewise.
25         (chise_feature_gets_property_value): Likewise.
26
27         * sample.c (main): Use `chise_ds_location'.
28
29         * configure.in: Update version to 0.2.2.
30
31         * Makefile.in (ABI_VERSION): Update to 2:0:1.
32
33 \f
34 2004-03-01  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
35
36         * libchise 0.2.1 released.
37
38         * Makefile.in (ABI_VERSION): Update to Revision 1.
39
40         * configure.in: Update version to 0.2.1.
41
42 2004-02-26  MORIOKA Tomohiko  <tomo@m17n.org>
43
44         * name.c (chise_make_name_table): Change initial number of hash
45         table to 256.
46         (chise_destroy_name_table): Destroy each entry.
47
48         * chise.c (CHISE_DS_close): Use `chise_destroy_name_table'.
49
50 \f
51 2003-11-03  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
52
53         * libchise 0.2.0 released.
54
55 2003-11-03  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
56
57         * Makefile.in (TAR): New variable.
58
59 2003-11-03  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
60
61         * Makefile.in (tar): New target.
62
63 2003-11-02  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
64
65         * README.en, COPYING.LIB: New files.
66
67         * chise-name.h, chise.c, chise.h, name.c: Add header.
68
69 2003-10-30  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
70
71         * sample.c (test_map_func): Modify to display UCS code point and
72         character name.
73         (main): Use `chise_system_db_dir'; display `numeric-value' instead
74         of `ascii'.
75
76 2003-10-15  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
77
78         * chise.c (CHISE_Attribute_Table_open): Add code for BDB Ver. 4.1
79         or later.
80
81         * chise.h (chise_system_db_dir): New constant.
82
83 2003-10-15  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
84
85         * Makefile.in (LIBS): Don't add -ldb.
86
87         * configure.in: Setup LIBS; check /sw/include/db4/db.h and setup
88         for db4 when the library is found.
89
90 2003-10-15  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
91
92         * aclocal.m4, ltmain.sh, config.guess, config.sub, install-sh: New
93         files.
94
95         * Makefile.in (target): New variable.
96         (top_builddir): New variable.
97         (CHISE_DIR_PREFIX): New variable.
98         (CHISE_DIR_VERSION): New variable.
99         (CHISE_DIR): New variable.
100         (CHISE_DB_DIR): Renamed from `DB_DIR'; use `CHISE_DIR'.
101         (CHISE_SI_DB_DIR): New variable.
102         (CHISE_CFLAGS): New variable; define `CHISE_SI_DB_DIR'.
103         (chise.lo): Use $(CHISE_CFLAGS).
104
105         * configure.in: Add `AC_CANONICAL_TARGET'; use `AC_PROG_LIBTOOL'
106         instead of `AC_CHECK_PROGS' for `LIBTOOL'.
107
108         * chise.c (chise_system_db_dir): New constant.
109         (CHISE_DS_open): Don't use DBTYPE.
110
111 2003-10-14  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
112
113         * chise.h (CHISE_DS_open): Don't use DBTYPE.
114
115 2003-10-14  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
116
117         * Makefile.in (DB_DIR): Update version to 0.2.
118
119 2003-10-13  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
120
121         * chise.c (chise_ds_foreach_char_feature_name): Read
122         ${db_dir}/character/feature/ instead of ${db_dir}/system-char-id.
123         (chise_feature_setup_db): Modify for `CHISE_Attribute_Table_open'.
124         (chise_ccs_setup_db): Likewise.
125         (CHISE_Attribute_Table_open): Change interface to specify
126         category/key_type/name instead of encoding/feature.
127
128 2003-10-12  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
129
130         * chise.c (chise_ds_foreach_char_feature_name): New function.
131         (chise_feature_foreach_char_with_value): Renamed from
132         `chise_char_feature_value_iterate'.
133
134 2003-10-11  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
135
136         * sample.c (test_name_map_func): New function.
137         (main): Use `chise_ds_foreach_char_feature_name'.
138
139         * Makefile.in (sample): Add -Wall -Wmissing-prototypes options for
140         gcc.
141
142         * chise.h (chise_ds_foreach_char_feature_name): New prototype.
143         (chise_feature_foreach_char_with_value): Renamed from
144         `chise_char_feature_value_iterate'.
145
146 2003-10-08  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
147
148         * sample.c (char db_dir): Deleted.
149         (main): Use ${chise_db_dir}/db/ for the location of data-source.
150
151         * Makefile.in (prefix): Use @prefix@.
152         (exec_prefix): Use @exec_prefix@.
153         (libdir): Use @libdir@.
154         (libexecdir): New variable.
155         (DB_INSTALLDIR): Deleted.
156         (DB_DIR): New variable.
157         (chise.lo): Specify DB_DIR.
158         (install): Don't call install.db.
159         (install.db): Deleted.
160
161         * chise.h, chise.c (chise_db_dir): New variable.
162         (CHISE_DS_open): Use <const unsigned char *> instead of <char *>
163         as the type of location.
164
165 2003-10-06  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
166
167         * chise.h (chise_feature_setup_db): New prototype.
168         (chise_ccs_setup_db): Likewise.
169
170         * chise.c (chise_feature_setup_db): Changed to public function.
171         (chise_ccs_setup_db): New function.
172         (chise_ccs_decode): Use `chise_ccs_setup_db'.
173         (chise_ccs_set_decoded_char): Likewise.
174
175 2003-10-05  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
176
177         * chise.c (CHISE_Attribute_Table_open): Create required
178         directories when running with create mode.
179
180 2003-10-05  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
181
182         * chise.h (chise_feature_sync): New prototype.
183         (chise_char_set_feature_value): New prototype.
184         (chise_ds_load_char_feature_value): New inline function.
185
186         * chise.c (chise_feature_sync): New function.
187         (chise_char_set_feature_value): New function.
188
189 2003-10-03  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
190
191         * sample.c (main): Use `chise_ds_decode_char' instead of
192         `chise_ds_get_ccs' and `chise_ccs_decode'.
193
194         * chise.c (chise_ccs_decode): Return -1 when argument `ccs' is
195         NULL.
196         (chise_ccs_set_decoded_char): Likewise.
197
198         * chise.h (chise_ds_decode_char): New inline function.
199
200 2003-10-02  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
201
202         * sample.c:
203         - `chise_open_data_source' is renamed to `CHISE_DS_open'.
204         - `chise_ds_close' is renamed to `CHISE_DS_close'.
205
206         * name.c: Modify to avoid warning.
207
208         * chise-name.h (chise_make_name_table): Modify to avoid warning.
209
210         * chise.c (strnlen): Separated to sysdep.h; include sysdep.h
211         instead.
212         (CHISE_Attribute_Table_open): Renamed from
213         `chise_open_attribute_table'.
214         (CHISE_Attribute_Table_close): Renamed from
215         `chise_close_attribute_table'.
216         (chise_attribute_table_get): Renamed from
217         `chise_get_attribute_table'.
218         (chise_attribute_table_put): Renamed from
219         `chise_put_attribute_table'.
220         (CHISE_DS_open): Renamed from `chise_open_data_source'.
221         (CHISE_DS_close): Renamed from `chise_ds_close'.
222         (chise_feature_setup_db): New function.
223         (chise_char_load_feature_value): Use `chise_feature_setup_db'.
224         (chise_char_gets_feature_value): Likewise.
225         (chise_char_feature_value_iterate): Likewise.
226
227         * Makefile.in (CFLAGS): Add -Wall and -Wmissing-prototypes.
228         (chise.lo): Add dependency on sysdep.h.
229
230         * chise.h (CHISE_DS_open): Renamed from `chise_open_data_source'.
231         (CHISE_DS_close): Renamed from `chise_ds_close'.
232
233         * sysdep.h: New file [separate from chise.c].
234
235 2003-10-02  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
236
237         * chise.h (chise_ds_open_feature_table): Abolished.
238         (chise_ft_close): Likewise.
239
240 2003-10-02  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
241
242         * sample.c: Update for the latest API.
243
244         * chise.c (struct CHISE_DS): Add new member `subtype' and
245         `modemask'.
246         (chise_open_data_source): Add new arguments `subtype' and
247         `modemask'.
248         (chise_ds_get_feature): Delete arguments `real_subtype',
249         `accessmask', `modemask'.
250         (chise_ds_get_ccs): Likewise.
251         (struct CHISE_Feature_Table): Add new member `name' and `access'.
252         (chise_ds_open_feature_table): Delete arguments `real_subtype',
253         `accessmask', `modemask'.
254         (chise_ft_close): Release `table->name'.
255         (chise_char_load_feature_value): Setup `table->db'.
256         (chise_char_gets_feature_value): Likewise.
257         (chise_char_feature_value_iterate): Return an integer value; setup
258         `feature->db'.
259         (struct CHISE_CCS_Table): Add new member `name' and `access'.
260         (chise_ds_open_ccs_table): Delete arguments `real_subtype',
261         `accessmask', `modemask'.
262         (chise_ccst_close): Release `table->name'.
263         (chise_ccs_sync): New function.
264         (chise_ccs_decode): Setup `ccs->db'.
265         (chise_ccs_set_decoded_char): Renamed from `chise_ccst_put_char';
266         setup `ccs->db'.
267
268         * chise.h (chise_open_data_source): Add new arguments `subtype'
269         and `modemask'.
270         (chise_ds_get_feature): Delete arguments `real_subtype',
271         `accessmask', `modemask'.
272         (chise_char_feature_value_iterate): Return an integer value.
273         (chise_char_feature_str_iterate): Comment out.
274         (chise_ds_open_feature_table): Delete arguments `real_subtype',
275         `accessmask', `modemask'.
276         (chise_ds_get_ccs): Delete arguments `real_subtype', `accessmask',
277         `modemask'.
278         (chise_ccs_set_decoded_char): Renamed from `chise_ccst_put_char'.
279         (chise_ccs_sync): New prototype.
280         (chise_ds_open_ccs_table): Abolished.
281         (int chise_ccst_close): Abolished.
282
283 2003-08-28  MORIOKA Tomohiko  <tomo@mousai.as.wakwak.ne.jp>
284
285         * sample.c (test_map_func): Modify for
286         chise_char_feature_value_iterate.
287         (main): Rename `dt_*' to `ccs_*'; use `chise_ds_get_ccs' instead
288         of `chise_ds_open_decoding_table'; use `chise_ccs_decode' instead
289         of `chise_dt_get_char'; don't use `chise_dt_close'; use `use
290         `chise_ds_get_feature' instead of `chise_ds_open_feature_table';
291         use `chise_char_gets_feature_value' instead of
292         `chise_ft_get_value'; use `chise_char_feature_value_iterate'
293         instead of `chise_ft_iterate'; don't use `chise_ft_close'.
294
295 2003-08-26  MORIOKA Tomohiko  <tomo@mousai.as.wakwak.ne.jp>
296
297         * chise.c: Include "chise-name.h".
298         (CHISE_DS): Add new members `feature_names' and `ccs_names'.
299         (chise_open_data_source): Setup ds->feature_names and
300         ds->ccs_names.
301         (chise_ds_close): Release ds->feature_names and ds->ccs_names.
302         (chise_ds_get_feature): New function.
303         (chise_ds_get_ccs): New function.
304         (chise_char_load_feature_value): Renamed from
305         `chise_ft_get_value'; modify interface.
306         (chise_char_gets_feature_value): New function.
307         (chise_char_feature_value_iterate): Renamed from
308         `chise_ft_iterate'; modify interface.
309         (CHISE_CCS_Table): Renamed from `CHISE_Decoding_Table'.
310         (chise_ds_open_ccs_table): Renamed from
311         `chise_ds_open_decoding_table'.
312         (chise_ccst_close): Renamed from `chise_dt_close'.
313         (chise_ccs_decode): Renamed from `chise_dt_get_char'.
314         (chise_ccst_put_char): Renamed from `chise_dt_put_char'.
315
316         * chise.h (CHISE_Feature): New type.
317         (chise_ds_get_feature): New prototype.
318         (chise_char_load_feature_value): Renamed from
319         `chise_ft_get_value'; modify interface.
320         (chise_char_gets_feature_value): New prototype.
321         (chise_char_feature_value_iterate): Renamed from
322         `chise_ft_iterate'; modify interface.
323         (chise_char_feature_str_iterate): New prototype.
324         (CHISE_CCS_Table): Renamed from `CHISE_Decoding_Table'.
325         (CHISE_CCS): New type.
326         (chise_ds_get_ccs): New prototype.
327         (chise_ccs_decode): Renamed from `chise_dt_get_char'.
328         (chise_ds_open_ccs_table): Renamed from
329         `chise_ds_open_decoding_table'.
330         (chise_ccst_close): Renamed from `chise_dt_close'.
331         (chise_ccst_put_char): Renamed from `chise_dt_put_char'.
332         (chise_decode_char): Deleted.
333         (chise_get_feature): Deleted.
334
335 2003-08-20  MORIOKA Tomohiko  <tomo@mousai.as.wakwak.ne.jp>
336
337         * name.c: Include "chise-name.h".
338         (chise_name_table_put): Use <const unsigned char*> instead of
339         <unsigned char*> for key.
340         (chise_name_table_get): Likewise.
341
342         * chise-name.h (chise_name_table_put): Use <const unsigned char*>
343         instead of <unsigned char*> for key.
344         (chise_name_table_get): Likewise.
345
346 2003-08-16  MORIOKA Tomohiko  <tomo@mousai.as.wakwak.ne.jp>
347
348         * Makefile.in (HEADERS): New variable.
349         (OBJS): New variable.
350         (libchise.la): Refer $(OBJS); add --mode=link for libtool.
351         (chise.lo): Depends on config.h.
352         (name.lo): New target.
353         (install.h): Refer $(HEADERS).
354
355 2003-08-15  MORIOKA Tomohiko  <tomo@mousai.as.wakwak.ne.jp>
356
357         * chise-name.h, name.c: New files.
358
359 2003-08-17  MORIOKA Tomohiko  <tomo@mousai.as.wakwak.ne.jp>
360
361         * chise.c (CHISE_Attribute_Table): Use <DB> instead of <struct
362         CHISE_Attribute_Table>.
363         (chise_put_attribute_table): New prototype.
364         (struct CHISE_Decoding_Table): Use <CHISE_Attribute_Table*>
365         instead of <DB*> as the type of member `db'.
366         (chise_ds_open_decoding_table): New implementation.
367         (chise_dt_close): Likewise.
368         (chise_dt_get_char): Modify for new implementation of <struct
369         CHISE_Decoding_Table>.
370         (chise_dt_put_char): Likewise.
371         (struct CHISE_Feature_Table): Use <CHISE_Attribute_Table*> instead
372         of <DB*> as the type of member `db'.
373         (chise_ds_open_feature_table): New implementation.
374         (chise_ft_close): Likewise.
375         (chise_ft_get_value): Modify for new implementation of <struct
376         CHISE_Feature_Table>.
377         (chise_open_attribute_table): Use db_dir instead of ds as the
378         first argument; modify for new implementation of
379         <CHISE_Attribute_Table>.
380         (chise_close_attribute_table): Modify for new implementation of
381         <CHISE_Attribute_Table>.
382         (chise_get_attribute_table): Likewise.
383         (chise_put_attribute_table): Likewise.
384
385 2003-08-17  MORIOKA Tomohiko  <tomo@mousai.as.wakwak.ne.jp>
386
387         * chise.c (CHISE_Attribute_Table): Moved from chise.h.
388         (struct CHISE_Decoding_Table): New structure.
389         (chise_ds_open_decoding_table): Cast the return value to
390         <CHISE_Decoding_Table*>.
391         (chise_dt_close): Cast back to <CHISE_Attribute_Table*>.
392         (chise_dt_get_char): Likewise.
393         (struct CHISE_Feature_Table): New structure.
394         (chise_ds_open_feature_table): Cast the return value to
395         <CHISE_Feature_Table*>.
396         (chise_ft_close): Cast back to <CHISE_Attribute_Table*>.
397         (chise_ft_get_value): Likewise.
398
399         * chise.h (CHISE_Attribute_Table): Deleted.
400         (CHISE_Decoding_Table): Use <struct CHISE_Decoding_Table> instead
401         of <CHISE_Attribute_Table>.
402         (CHISE_Feature_Table): Use <struct CHISE_Feature_Table> instead of
403         <CHISE_Attribute_Table>.
404
405 2003-08-17  MORIOKA Tomohiko  <tomo@mousai.as.wakwak.ne.jp>
406
407         * chise.c (chise_open_attribute_table): New prototype.
408         (chise_close_attribute_table): New prototype.
409         (chise_get_attribute_table): New prototype.
410
411         * chise.h (chise_open_attribute_table): Deleted.
412         (chise_close_attribute_table): Deleted.
413         (chise_get_attribute_table): Deleted.
414
415 2003-08-17  MORIOKA Tomohiko  <tomo@mousai.as.wakwak.ne.jp>
416
417         * chise.c (struct CHISE_DS): Definition of members are moved from
418         chise.h.
419
420         * chise.h (struct CHISE_DS): Omit definition of members.
421
422 2003-08-17  MORIOKA Tomohiko  <tomo@mousai.as.wakwak.ne.jp>
423
424         * sample.c (main): Modify for new API.
425
426         * chise.c (chise_open_data_source): Interface change; allocate a
427         CHISE_DS object and return it.
428         (chise_ds_close): Renamed from `chise_close_data_source'; destroy
429         the specified CHISE_DS object.
430         (chise_ds_open_decoding_table): Renamed from
431         `chise_open_decoding_table' and changed the interface.
432         (chise_dt_close): Renamed from `chise_close_decoding_table'.
433         (chise_ds_open_feature_table): Renamed from
434         `chise_open_feature_table' and changed the interface.
435         (chise_ft_close): Renamed from `chise_close_feature_table'.
436         (chise_open_attribute_table): Interface change; allocate a
437         CHISE_Attribute_Table object and return it; require pointer for
438         data source object instead of db_dir.
439         (chise_close_attribute_table): Destroy the specified
440         CHISE_Attribute_Table object.
441
442         * chise.h (struct CHISE_DS): Change type of location from <char*>
443         to <unsigned char*>.
444         (chise_open_data_source): Change interface.
445         (chise_ds_close): Renamed from `chise_close_data_source'.
446         (struct CHISE_Attribute_Table): Add new member `ds'; rename `dbp'
447         to `db'.
448         (chise_ds_open_decoding_table): Renamed from
449         `chise_open_decoding_table' and changed the interface.
450         (chise_dt_close): Renamed from `chise_close_decoding_table'.
451         (chise_ds_open_feature_table): Renamed from
452         `chise_open_feature_table' and changed the interface.
453         (chise_ft_close): Renamed from `chise_close_feature_table'.
454         (chise_open_attribute_table): Change interface.
455
456 2003-08-12  MORIOKA Tomohiko  <tomo@mousai.as.wakwak.ne.jp>
457
458         * configure.in: Update version to 0.2.0.
459
460         * Makefile.in (ABI_VERSION): New variable.
461         (libchise.la): Specify $(ABI_VERSION) as -version-info of libtool.
462
463 2003-08-12  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
464
465         * sample.c (main): Use <CHISE_Decoding_Table> instead of
466         <CHISE_Decoding_Table*> to define `dt_daikanwa'; use
467         <CHISE_Feature_Table> instead of <CHISE_Feature_Table*> to define
468         `ft_ideographic_structure' and `ft_ascii'.
469
470         * chise.c (chise_open_decoding_table): Use <CHISE_Decoding_Table*>
471         instead of <CHISE_Decoding_Table**> as the type of the first
472         argument.
473         (chise_open_feature_table): Use <CHISE_Feature_Table*> instead of
474         <CHISE_Feature_Table**> as the type of the first argument.
475         (chise_ft_iterate): Modify for the structure
476         `CHISE_Feature_Table'.
477         (chise_open_attribute_table): Use <CHISE_Attribute_Table*> instead
478         of <CHISE_Attribute_Table **> as the type of the first argument;
479         modify for the structure <CHISE_Feature_Table>.
480         (chise_close_attribute_table): Modify for the structure
481         <CHISE_Feature_Table>.
482         (chise_get_attribute_table): Likewise.
483         (chise_put_attribute_table): Likewise.
484
485         * chise.h (CHISE_Attribute_Table): Define as a structure.
486         (chise_open_decoding_table): Use <CHISE_Decoding_Table*> instead
487         of <CHISE_Decoding_Table**> as the type of the first argument.
488         (chise_open_feature_table): Use <CHISE_Feature_Table*> instead of
489         <CHISE_Feature_Table**> as the type of the first argument.
490         (chise_open_attribute_table): Use <CHISE_Attribute_Table*> instead
491         of <CHISE_Attribute_Table**> as the type of the first argument.
492
493 2003-08-11  MORIOKA Tomohiko  <tomo@mousai.as.wakwak.ne.jp>
494
495         * chise.h (chise_dt_put_char): New prototype.
496
497 2003-08-10  MORIOKA Tomohiko  <tomo@mousai.as.wakwak.ne.jp>
498
499         * chise.c (chise_dt_put_char): New function.
500         (chise_put_attribute_table): New function.
501
502 2003-08-10  MORIOKA Tomohiko  <tomo@mousai.as.wakwak.ne.jp>
503
504         * chise.c (chise_format_char_id): New function.
505         (chise_ft_get_value): Use `chise_format_char_id'.
506
507 2003-08-09  MORIOKA Tomohiko  <tomo@mousai.as.wakwak.ne.jp>
508
509         * chise.h: Define `_CHISE_H'.
510
511 2003-08-09  MORIOKA Tomohiko  <tomo@mousai.as.wakwak.ne.jp>
512
513         * sample.c (test_map_func): New function.
514         (main): Add sample of `chise_ft_iterate'.
515
516         * chise.c (chise_char_id_parse_c_string): New function.
517         (chise_dt_get_char): Use `chise_char_id_parse_c_string'.
518         (chise_ft_iterate): New function.
519
520         * chise.h (chise_ft_iterate): New function.
521
522 2003-08-06  MORIOKA Tomohiko  <tomo@mousai.as.wakwak.ne.jp>
523
524         * chise.c (chise_ft_get_value): Use escape forms for some special
525         characters.
526
527 2003-08-06  MORIOKA Tomohiko  <tomo@mousai.as.wakwak.ne.jp>
528
529         * sample.c (main): Rename "ideograph-daikanwa" to "=daikanwa".
530
531         * chise.c (chise_open_attribute_table): Encode '/' and '%' in
532         argument `feature' for file name.
533
534 2003-07-12  MORIOKA Tomohiko  <tomo@mousai.as.wakwak.ne.jp>
535
536         * chise.c, chise.h: Move strnlen related code from chise.h to
537         chise.c.
538
539 2003-07-08  MORIOKA Tomohiko  <tomo@mousai.as.wakwak.ne.jp>
540
541         * Makefile.in (CFLAGS): Refer @CFLAGS@.
542
543         * configure.in: Add check code for Fink.
544
545 2003-07-08  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
546
547         * Makefile.in (LIBTOOL): New variable.
548         (distclean): New target.
549
550         * configure.in: Check about libtool.
551
552 2003-07-08  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
553
554         * Makefile.in: Use libtool.
555
556 2003-07-07  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
557
558         * chise.c: Include "config.h" when HAVE_CONFIG_H is defined.
559
560         * chise.h (strnlen): New inline function when HAVE_STRNLEN is not
561         defined [based on Izumi MIYAZAKI <imiyazaki@bun.kyoto-u.ac.jp>'s
562         patch].
563
564         * Makefile: Deleted.
565
566         * configure: New file.
567
568         * Makefile.in, config.h.in, configure.in: New files.
569
570 2003-03-12  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
571
572         * chise.c (chise_dt_get_char): Use `chise_value_data' instead of
573         `chise_value_to_c_string'; use `strnlen' and `chise_value_size'
574         instead of `strlen'; fix problem about control characters.
575
576         * chise.h (chise_value_data): New inline function.
577
578 2003-03-10  MORIOKA Tomohiko  <tomo@mousai.as.wakwak.ne.jp>
579
580         * chise.c (chise_dt_get_char): Fix problem about `?\CHAR'.
581
582 2003-03-06  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
583
584         * sample.c: Add comments.
585
586 2003-03-06  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
587
588         * sample.c: Use <chise.h>.
589         (db_dir): Use "/usr/local/lib/chise/char-db".
590
591         * Makefile: Install chise.h; setup /usr/local/lib/chise/char-db/.
592
593 2003-03-05  MORIOKA Tomohiko  <tomo@mousai.as.wakwak.ne.jp>
594
595         * Makefile, chise.c, chise.h, sample.c: New files.
596