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