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