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