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