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