1 2010-06-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3 * libchise 0.4.2 released.
5 * configure.in: Update version to 0.4.2.
7 2008-07-21 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
9 * configure.in: Add settings for --with-site-includes=PATH and
10 --with-site-libraries=PATH.
13 2008-05-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
15 * libchise 0.4.1 released.
17 2006-12-22 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
19 * configure.in: Update version to 0.4.1.
21 * Makefile.in (libchise.la): Specify `-no-undefined' to avoid
22 error on Cygwin [suggested by KAMICHI Koichi <kamichi@fonts.jp>].
23 (chise.lo): Specify `--mode=compile'.
24 (install.libs): Specify `--mode=install'.
27 2006-05-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
29 * libchise 0.4.0 released.
31 2005-06-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
33 * sample.c (test_map_func): Use <CHISE_Feature> instead of
34 <CHISE_Feature_Table *>.
35 (test_radical_func): Likewise.
37 2005-06-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
39 * chise.c (chise_char_set_feature_value): Use
40 `concord_obj_put_feature_value_str' instead of
41 `concord_stroid_set_feature_str'.
42 (chise_char_load_feature_value): Use
43 `concord_obj_get_feature_value_string' instead of
44 `concord_stroid_get_feature_string'.
45 (chise_char_gets_feature_value): Use
46 `concord_obj_gets_feature_value' instead of
47 `concord_stroid_gets_feature'.
48 (chise_feature_foreach_char_with_value): Use
49 `concord_feature_foreach_obj_string' instead of
50 `concord_feature_foreach_object_string'.
51 (chise_ccs_decode): Use `concord_index_strid_get_obj_string'
52 instead of `concord_index_strid_get_object_string'.
53 (chise_ccs_set_decoded_char): Use `concord_index_strid_put_obj'
54 instead of `concord_index_strid_set_object_str'.
55 (chise_feature_set_property_value): Use
56 `concord_obj_put_feature_value_str' instead of
57 `concord_stroid_set_feature_str'.
58 (chise_feature_load_property_value): Use
59 `concord_obj_get_feature_value_string' instead of
60 `concord_stroid_get_feature_string'.
61 (chise_feature_gets_property_value): Use
62 `concord_obj_gets_feature_value' instead of
63 `concord_stroid_gets_feature'.
65 2005-06-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
67 * chise.c (CHISE_DS_close): Use `concord_close_ds' instead of
70 2005-06-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
72 * chise.h, chise.c (chise_db_format_version): New constant.
74 * Makefile.in (CHISE_CFLAGS): Add new macro
75 `CHISE_DB_FORMAT_VERSION'.
76 (distclean): Delete autom4te.cache, autoscan.log, configure.scan
79 2005-06-23 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
81 * chise.h: Don't include <db.h> and <errno.h>.
82 (CHISE_DS_Type): Use <CONCORD_Backend_Type> instead of <enum
83 CONCORD_Backend_Type>.
85 2005-06-23 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
87 * README.en (PREREQUISITES): Add `CONCORD'.
90 - Update version to 0.4.0.
91 - Don't link Berkeley DB.
92 - Use `AC_CHECK_LIB' to link CONCORD.
94 * chise.h: Use concord.h.
95 (CHISE_DS_Type): Use <enum CONCORD_Backend_Type> instead of <enum
97 (CHISE_DS_Berkeley_DB): New macro to wrap
98 `CONCORD_Backend_Berkeley_DB'.
99 (CHISE_DS): Use <CONCORD_Genre_Table> instead of <struct
101 (CHISE_Value): Use <CONCORD_String_Tank> instead of <DBT>.
102 (chise_value_size): Changed to non-inline function.
103 (chise_value_data): Likewise.
104 (chise_value_to_c_string): Likewise.
105 (struct CHISE_Feature_Table): Abolished.
106 (CHISE_Feature): Use <CONCORD_Feature> instead of
107 <CHISE_Feature_Table*>.
108 (struct CHISE_CCS_Table): Abolished.
109 (CHISE_CCS): Use <CONCORD_INDEX> instead of <CHISE_CCS_Table*>.
110 (struct CHISE_Property_Table): Abolished.
111 (CHISE_Property): Use <CONCORD_Feature> instead of
112 <CHISE_Property_Table*>.
114 * chise.c: Don't use "chise-name.h".
115 (chise_ds_open_feature_table): Deleted.
116 (chise_ft_close): Deleted.
117 (chise_ds_open_ccs_table): Deleted.
118 (chise_ccst_close): Deleted.
119 (chise_ds_open_property_table): Deleted.
120 (chise_pt_close): Deleted.
121 (CHISE_Attribute_Table): Deleted.
122 (CHISE_Attribute_Table_open): Deleted.
123 (CHISE_Attribute_Table_close): Deleted.
124 (chise_attribute_table_get): Deleted.
125 (chise_attribute_table_put): Deleted.
126 (chise_value_size): New function.
127 (chise_value_data): New function.
128 (chise_value_to_c_string): New function.
129 (struct CHISE_DS): Abolished.
130 (CHISE_DS_open): New implementation; use `concord_open_ds' and
131 `concord_ds_get_genre'.
132 (CHISE_DS_close): New implementation; use `CONCORD_DS_close' and
133 `concord_genre_get_data_source'.
134 (chise_ds_location): New implementation; use `concord_ds_location'
135 and `concord_genre_get_data_source'.
136 (chise_ds_get_feature): New implementation; use
137 `concord_genre_get_feature'.
138 (chise_ds_get_ccs): New implementation; use
139 `concord_genre_get_index'.
140 (chise_ds_get_property): New implementation; use
141 `concord_ds_get_genre', `concord_genre_get_data_source' and
142 `concord_genre_get_feature'.
143 (chise_ds_foreach_char_feature_name): New implementation; use
144 `concord_genre_foreach_feature_name'.
145 (struct CHISE_Feature_Table): Abolished.
146 (chise_feature_setup_db): New implementation; use
147 `concord_feature_setup_db'.
148 (chise_feature_sync): New implementation; use
149 `concord_feature_sync'.
150 (chise_char_set_feature_value): New implementation; use
151 `concord_stroid_set_feature_str'.
152 (chise_char_load_feature_value): New implementation; use
153 `concord_stroid_get_feature_string'.
154 (chise_char_gets_feature_value): New implementation; use
155 `concord_stroid_gets_feature'.
156 (chise_feature_for_a_char_with_value_func): New variable.
157 (chise_feature_foreach_char_with_value_wrapper): New function.
158 (chise_feature_foreach_char_with_value): New implementation; use
159 `chise_feature_for_a_char_with_value_func',
160 `chise_feature_foreach_char_with_value_wrapper' and
161 `concord_feature_foreach_object_string'.
162 (struct CHISE_CCS_Table): Abolished.
163 (chise_ccs_setup_db): New implementation; use
164 `concord_index_setup_db'.
165 (chise_ccs_sync): New implementation; use `concord_index_sync'.
166 (chise_ccs_decode): Use `concord_index_strid_get_object_string'
167 instead of `chise_attribute_table_get'.
168 (chise_ccs_set_decoded_char): Use
169 `concord_index_strid_set_object_str' instead of
170 `concord_index_strid_set_object_str'.
171 (struct CHISE_Property_Table): Abolished.
172 (chise_ds_open_property_table): Deleted.
173 (chise_pt_close): Deleted.
174 (chise_property_setup_db): New implementation; use
175 `concord_feature_setup_db'.
176 (chise_property_sync): New implementation; use
177 `concord_feature_sync'.
178 (chise_feature_set_property_value): New implementation; use
179 `concord_stroid_set_feature_str' and `concord_feature_get_name'.
180 (chise_feature_load_property_value): New implementation; use
181 `concord_stroid_get_feature_string' and
182 `concord_feature_get_name'.
183 (chise_feature_gets_property_value): New implementation; use
184 `concord_stroid_gets_feature' and `concord_feature_get_name'.
186 2005-06-22 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
188 * chise-name.h, name.c: Deleted.
190 * Makefile.in (CHISE_DIR_VERSION): Update to 1.0.
191 (ABI_VERSION): Update to 3:0:2.
192 (HEADERS): Delete chise-name.h.
193 (OBJS): Delete name.lo.
196 2005-03-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
198 * libchise 0.3.0 released.
200 2005-03-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
202 * chise.h: Modify for C++.
204 * sample.c (test_radical_func): New function.
205 (main): Add sample code about `ideographic-radical'.
207 2004-07-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
209 * configure.in: Update version to 0.3.0.
211 * Makefile.in (datadir): New variable.
212 (libexecdir): Commented out.
213 (sharedstatedir): New variable.
214 (CHISE_DIR_PREFIX): Use ${datadir}/chise instead of
216 (CHISE_DIR_VERSION): Update to 0.3.
217 (CHISE_DB_DIR): Use ${CHISE_DIR} instead of
218 ${CHISE_DIR}/${target}.
220 2004-07-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
222 * chise.c (struct CHISE_DS): Add new member `property_names'.
223 (CHISE_DS_open): Initialize `property_names'.
224 (CHISE_DS_close): Destroy `property_names'.
225 (chise_ds_location): New function.
226 (chise_ds_get_property): New function.
227 (struct CHISE_Property_Table): New structure.
228 (chise_ds_open_property_table): New function.
229 (chise_pt_close): Likewise.
230 (chise_property_setup_db): Likewise.
231 (chise_property_sync): Likewise.
232 (chise_feature_set_property_value): Likewise.
233 (chise_feature_load_property_value): Likewise.
234 (chise_feature_gets_property_value): Likewise.
236 * chise.h (chise_ds_location): New prototype.
237 (CHISE_Property_Table): New type.
238 (CHISE_Property): New type.
239 (chise_ds_get_property): New prototype.
240 (chise_property_setup_db): Likewise.
241 (chise_property_sync): Likewise.
242 (chise_feature_set_property_value): Likewise.
243 (chise_feature_load_property_value): Likewise.
244 (chise_feature_gets_property_value): Likewise.
246 * sample.c (main): Use `chise_ds_location'.
248 * configure.in: Update version to 0.2.2.
250 * Makefile.in (ABI_VERSION): Update to 2:0:1.
253 2004-03-01 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
255 * libchise 0.2.1 released.
257 * Makefile.in (ABI_VERSION): Update to Revision 1.
259 * configure.in: Update version to 0.2.1.
261 2004-02-26 MORIOKA Tomohiko <tomo@m17n.org>
263 * name.c (chise_make_name_table): Change initial number of hash
265 (chise_destroy_name_table): Destroy each entry.
267 * chise.c (CHISE_DS_close): Use `chise_destroy_name_table'.
270 2003-11-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
272 * libchise 0.2.0 released.
274 2003-11-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
276 * Makefile.in (TAR): New variable.
278 2003-11-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
280 * Makefile.in (tar): New target.
282 2003-11-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
284 * README.en, COPYING.LIB: New files.
286 * chise-name.h, chise.c, chise.h, name.c: Add header.
288 2003-10-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
290 * sample.c (test_map_func): Modify to display UCS code point and
292 (main): Use `chise_system_db_dir'; display `numeric-value' instead
295 2003-10-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
297 * chise.c (CHISE_Attribute_Table_open): Add code for BDB Ver. 4.1
300 * chise.h (chise_system_db_dir): New constant.
302 2003-10-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
304 * Makefile.in (LIBS): Don't add -ldb.
306 * configure.in: Setup LIBS; check /sw/include/db4/db.h and setup
307 for db4 when the library is found.
309 2003-10-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
311 * aclocal.m4, ltmain.sh, config.guess, config.sub, install-sh: New
314 * Makefile.in (target): New variable.
315 (top_builddir): New variable.
316 (CHISE_DIR_PREFIX): New variable.
317 (CHISE_DIR_VERSION): New variable.
318 (CHISE_DIR): New variable.
319 (CHISE_DB_DIR): Renamed from `DB_DIR'; use `CHISE_DIR'.
320 (CHISE_SI_DB_DIR): New variable.
321 (CHISE_CFLAGS): New variable; define `CHISE_SI_DB_DIR'.
322 (chise.lo): Use $(CHISE_CFLAGS).
324 * configure.in: Add `AC_CANONICAL_TARGET'; use `AC_PROG_LIBTOOL'
325 instead of `AC_CHECK_PROGS' for `LIBTOOL'.
327 * chise.c (chise_system_db_dir): New constant.
328 (CHISE_DS_open): Don't use DBTYPE.
330 2003-10-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
332 * chise.h (CHISE_DS_open): Don't use DBTYPE.
334 2003-10-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
336 * Makefile.in (DB_DIR): Update version to 0.2.
338 2003-10-13 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
340 * chise.c (chise_ds_foreach_char_feature_name): Read
341 ${db_dir}/character/feature/ instead of ${db_dir}/system-char-id.
342 (chise_feature_setup_db): Modify for `CHISE_Attribute_Table_open'.
343 (chise_ccs_setup_db): Likewise.
344 (CHISE_Attribute_Table_open): Change interface to specify
345 category/key_type/name instead of encoding/feature.
347 2003-10-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
349 * chise.c (chise_ds_foreach_char_feature_name): New function.
350 (chise_feature_foreach_char_with_value): Renamed from
351 `chise_char_feature_value_iterate'.
353 2003-10-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
355 * sample.c (test_name_map_func): New function.
356 (main): Use `chise_ds_foreach_char_feature_name'.
358 * Makefile.in (sample): Add -Wall -Wmissing-prototypes options for
361 * chise.h (chise_ds_foreach_char_feature_name): New prototype.
362 (chise_feature_foreach_char_with_value): Renamed from
363 `chise_char_feature_value_iterate'.
365 2003-10-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
367 * sample.c (char db_dir): Deleted.
368 (main): Use ${chise_db_dir}/db/ for the location of data-source.
370 * Makefile.in (prefix): Use @prefix@.
371 (exec_prefix): Use @exec_prefix@.
372 (libdir): Use @libdir@.
373 (libexecdir): New variable.
374 (DB_INSTALLDIR): Deleted.
375 (DB_DIR): New variable.
376 (chise.lo): Specify DB_DIR.
377 (install): Don't call install.db.
378 (install.db): Deleted.
380 * chise.h, chise.c (chise_db_dir): New variable.
381 (CHISE_DS_open): Use <const unsigned char *> instead of <char *>
382 as the type of location.
384 2003-10-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
386 * chise.h (chise_feature_setup_db): New prototype.
387 (chise_ccs_setup_db): Likewise.
389 * chise.c (chise_feature_setup_db): Changed to public function.
390 (chise_ccs_setup_db): New function.
391 (chise_ccs_decode): Use `chise_ccs_setup_db'.
392 (chise_ccs_set_decoded_char): Likewise.
394 2003-10-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
396 * chise.c (CHISE_Attribute_Table_open): Create required
397 directories when running with create mode.
399 2003-10-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
401 * chise.h (chise_feature_sync): New prototype.
402 (chise_char_set_feature_value): New prototype.
403 (chise_ds_load_char_feature_value): New inline function.
405 * chise.c (chise_feature_sync): New function.
406 (chise_char_set_feature_value): New function.
408 2003-10-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
410 * sample.c (main): Use `chise_ds_decode_char' instead of
411 `chise_ds_get_ccs' and `chise_ccs_decode'.
413 * chise.c (chise_ccs_decode): Return -1 when argument `ccs' is
415 (chise_ccs_set_decoded_char): Likewise.
417 * chise.h (chise_ds_decode_char): New inline function.
419 2003-10-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
422 - `chise_open_data_source' is renamed to `CHISE_DS_open'.
423 - `chise_ds_close' is renamed to `CHISE_DS_close'.
425 * name.c: Modify to avoid warning.
427 * chise-name.h (chise_make_name_table): Modify to avoid warning.
429 * chise.c (strnlen): Separated to sysdep.h; include sysdep.h
431 (CHISE_Attribute_Table_open): Renamed from
432 `chise_open_attribute_table'.
433 (CHISE_Attribute_Table_close): Renamed from
434 `chise_close_attribute_table'.
435 (chise_attribute_table_get): Renamed from
436 `chise_get_attribute_table'.
437 (chise_attribute_table_put): Renamed from
438 `chise_put_attribute_table'.
439 (CHISE_DS_open): Renamed from `chise_open_data_source'.
440 (CHISE_DS_close): Renamed from `chise_ds_close'.
441 (chise_feature_setup_db): New function.
442 (chise_char_load_feature_value): Use `chise_feature_setup_db'.
443 (chise_char_gets_feature_value): Likewise.
444 (chise_char_feature_value_iterate): Likewise.
446 * Makefile.in (CFLAGS): Add -Wall and -Wmissing-prototypes.
447 (chise.lo): Add dependency on sysdep.h.
449 * chise.h (CHISE_DS_open): Renamed from `chise_open_data_source'.
450 (CHISE_DS_close): Renamed from `chise_ds_close'.
452 * sysdep.h: New file [separate from chise.c].
454 2003-10-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
456 * chise.h (chise_ds_open_feature_table): Abolished.
457 (chise_ft_close): Likewise.
459 2003-10-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
461 * sample.c: Update for the latest API.
463 * chise.c (struct CHISE_DS): Add new member `subtype' and
465 (chise_open_data_source): Add new arguments `subtype' and
467 (chise_ds_get_feature): Delete arguments `real_subtype',
468 `accessmask', `modemask'.
469 (chise_ds_get_ccs): Likewise.
470 (struct CHISE_Feature_Table): Add new member `name' and `access'.
471 (chise_ds_open_feature_table): Delete arguments `real_subtype',
472 `accessmask', `modemask'.
473 (chise_ft_close): Release `table->name'.
474 (chise_char_load_feature_value): Setup `table->db'.
475 (chise_char_gets_feature_value): Likewise.
476 (chise_char_feature_value_iterate): Return an integer value; setup
478 (struct CHISE_CCS_Table): Add new member `name' and `access'.
479 (chise_ds_open_ccs_table): Delete arguments `real_subtype',
480 `accessmask', `modemask'.
481 (chise_ccst_close): Release `table->name'.
482 (chise_ccs_sync): New function.
483 (chise_ccs_decode): Setup `ccs->db'.
484 (chise_ccs_set_decoded_char): Renamed from `chise_ccst_put_char';
487 * chise.h (chise_open_data_source): Add new arguments `subtype'
489 (chise_ds_get_feature): Delete arguments `real_subtype',
490 `accessmask', `modemask'.
491 (chise_char_feature_value_iterate): Return an integer value.
492 (chise_char_feature_str_iterate): Comment out.
493 (chise_ds_open_feature_table): Delete arguments `real_subtype',
494 `accessmask', `modemask'.
495 (chise_ds_get_ccs): Delete arguments `real_subtype', `accessmask',
497 (chise_ccs_set_decoded_char): Renamed from `chise_ccst_put_char'.
498 (chise_ccs_sync): New prototype.
499 (chise_ds_open_ccs_table): Abolished.
500 (int chise_ccst_close): Abolished.
502 2003-08-28 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
504 * sample.c (test_map_func): Modify for
505 chise_char_feature_value_iterate.
506 (main): Rename `dt_*' to `ccs_*'; use `chise_ds_get_ccs' instead
507 of `chise_ds_open_decoding_table'; use `chise_ccs_decode' instead
508 of `chise_dt_get_char'; don't use `chise_dt_close'; use `use
509 `chise_ds_get_feature' instead of `chise_ds_open_feature_table';
510 use `chise_char_gets_feature_value' instead of
511 `chise_ft_get_value'; use `chise_char_feature_value_iterate'
512 instead of `chise_ft_iterate'; don't use `chise_ft_close'.
514 2003-08-26 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
516 * chise.c: Include "chise-name.h".
517 (CHISE_DS): Add new members `feature_names' and `ccs_names'.
518 (chise_open_data_source): Setup ds->feature_names and
520 (chise_ds_close): Release ds->feature_names and ds->ccs_names.
521 (chise_ds_get_feature): New function.
522 (chise_ds_get_ccs): New function.
523 (chise_char_load_feature_value): Renamed from
524 `chise_ft_get_value'; modify interface.
525 (chise_char_gets_feature_value): New function.
526 (chise_char_feature_value_iterate): Renamed from
527 `chise_ft_iterate'; modify interface.
528 (CHISE_CCS_Table): Renamed from `CHISE_Decoding_Table'.
529 (chise_ds_open_ccs_table): Renamed from
530 `chise_ds_open_decoding_table'.
531 (chise_ccst_close): Renamed from `chise_dt_close'.
532 (chise_ccs_decode): Renamed from `chise_dt_get_char'.
533 (chise_ccst_put_char): Renamed from `chise_dt_put_char'.
535 * chise.h (CHISE_Feature): New type.
536 (chise_ds_get_feature): New prototype.
537 (chise_char_load_feature_value): Renamed from
538 `chise_ft_get_value'; modify interface.
539 (chise_char_gets_feature_value): New prototype.
540 (chise_char_feature_value_iterate): Renamed from
541 `chise_ft_iterate'; modify interface.
542 (chise_char_feature_str_iterate): New prototype.
543 (CHISE_CCS_Table): Renamed from `CHISE_Decoding_Table'.
544 (CHISE_CCS): New type.
545 (chise_ds_get_ccs): New prototype.
546 (chise_ccs_decode): Renamed from `chise_dt_get_char'.
547 (chise_ds_open_ccs_table): Renamed from
548 `chise_ds_open_decoding_table'.
549 (chise_ccst_close): Renamed from `chise_dt_close'.
550 (chise_ccst_put_char): Renamed from `chise_dt_put_char'.
551 (chise_decode_char): Deleted.
552 (chise_get_feature): Deleted.
554 2003-08-20 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
556 * name.c: Include "chise-name.h".
557 (chise_name_table_put): Use <const unsigned char*> instead of
558 <unsigned char*> for key.
559 (chise_name_table_get): Likewise.
561 * chise-name.h (chise_name_table_put): Use <const unsigned char*>
562 instead of <unsigned char*> for key.
563 (chise_name_table_get): Likewise.
565 2003-08-16 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
567 * Makefile.in (HEADERS): New variable.
568 (OBJS): New variable.
569 (libchise.la): Refer $(OBJS); add --mode=link for libtool.
570 (chise.lo): Depends on config.h.
571 (name.lo): New target.
572 (install.h): Refer $(HEADERS).
574 2003-08-15 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
576 * chise-name.h, name.c: New files.
578 2003-08-17 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
580 * chise.c (CHISE_Attribute_Table): Use <DB> instead of <struct
581 CHISE_Attribute_Table>.
582 (chise_put_attribute_table): New prototype.
583 (struct CHISE_Decoding_Table): Use <CHISE_Attribute_Table*>
584 instead of <DB*> as the type of member `db'.
585 (chise_ds_open_decoding_table): New implementation.
586 (chise_dt_close): Likewise.
587 (chise_dt_get_char): Modify for new implementation of <struct
588 CHISE_Decoding_Table>.
589 (chise_dt_put_char): Likewise.
590 (struct CHISE_Feature_Table): Use <CHISE_Attribute_Table*> instead
591 of <DB*> as the type of member `db'.
592 (chise_ds_open_feature_table): New implementation.
593 (chise_ft_close): Likewise.
594 (chise_ft_get_value): Modify for new implementation of <struct
595 CHISE_Feature_Table>.
596 (chise_open_attribute_table): Use db_dir instead of ds as the
597 first argument; modify for new implementation of
598 <CHISE_Attribute_Table>.
599 (chise_close_attribute_table): Modify for new implementation of
600 <CHISE_Attribute_Table>.
601 (chise_get_attribute_table): Likewise.
602 (chise_put_attribute_table): Likewise.
604 2003-08-17 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
606 * chise.c (CHISE_Attribute_Table): Moved from chise.h.
607 (struct CHISE_Decoding_Table): New structure.
608 (chise_ds_open_decoding_table): Cast the return value to
609 <CHISE_Decoding_Table*>.
610 (chise_dt_close): Cast back to <CHISE_Attribute_Table*>.
611 (chise_dt_get_char): Likewise.
612 (struct CHISE_Feature_Table): New structure.
613 (chise_ds_open_feature_table): Cast the return value to
614 <CHISE_Feature_Table*>.
615 (chise_ft_close): Cast back to <CHISE_Attribute_Table*>.
616 (chise_ft_get_value): Likewise.
618 * chise.h (CHISE_Attribute_Table): Deleted.
619 (CHISE_Decoding_Table): Use <struct CHISE_Decoding_Table> instead
620 of <CHISE_Attribute_Table>.
621 (CHISE_Feature_Table): Use <struct CHISE_Feature_Table> instead of
622 <CHISE_Attribute_Table>.
624 2003-08-17 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
626 * chise.c (chise_open_attribute_table): New prototype.
627 (chise_close_attribute_table): New prototype.
628 (chise_get_attribute_table): New prototype.
630 * chise.h (chise_open_attribute_table): Deleted.
631 (chise_close_attribute_table): Deleted.
632 (chise_get_attribute_table): Deleted.
634 2003-08-17 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
636 * chise.c (struct CHISE_DS): Definition of members are moved from
639 * chise.h (struct CHISE_DS): Omit definition of members.
641 2003-08-17 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
643 * sample.c (main): Modify for new API.
645 * chise.c (chise_open_data_source): Interface change; allocate a
646 CHISE_DS object and return it.
647 (chise_ds_close): Renamed from `chise_close_data_source'; destroy
648 the specified CHISE_DS object.
649 (chise_ds_open_decoding_table): Renamed from
650 `chise_open_decoding_table' and changed the interface.
651 (chise_dt_close): Renamed from `chise_close_decoding_table'.
652 (chise_ds_open_feature_table): Renamed from
653 `chise_open_feature_table' and changed the interface.
654 (chise_ft_close): Renamed from `chise_close_feature_table'.
655 (chise_open_attribute_table): Interface change; allocate a
656 CHISE_Attribute_Table object and return it; require pointer for
657 data source object instead of db_dir.
658 (chise_close_attribute_table): Destroy the specified
659 CHISE_Attribute_Table object.
661 * chise.h (struct CHISE_DS): Change type of location from <char*>
663 (chise_open_data_source): Change interface.
664 (chise_ds_close): Renamed from `chise_close_data_source'.
665 (struct CHISE_Attribute_Table): Add new member `ds'; rename `dbp'
667 (chise_ds_open_decoding_table): Renamed from
668 `chise_open_decoding_table' and changed the interface.
669 (chise_dt_close): Renamed from `chise_close_decoding_table'.
670 (chise_ds_open_feature_table): Renamed from
671 `chise_open_feature_table' and changed the interface.
672 (chise_ft_close): Renamed from `chise_close_feature_table'.
673 (chise_open_attribute_table): Change interface.
675 2003-08-12 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
677 * configure.in: Update version to 0.2.0.
679 * Makefile.in (ABI_VERSION): New variable.
680 (libchise.la): Specify $(ABI_VERSION) as -version-info of libtool.
682 2003-08-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
684 * sample.c (main): Use <CHISE_Decoding_Table> instead of
685 <CHISE_Decoding_Table*> to define `dt_daikanwa'; use
686 <CHISE_Feature_Table> instead of <CHISE_Feature_Table*> to define
687 `ft_ideographic_structure' and `ft_ascii'.
689 * chise.c (chise_open_decoding_table): Use <CHISE_Decoding_Table*>
690 instead of <CHISE_Decoding_Table**> as the type of the first
692 (chise_open_feature_table): Use <CHISE_Feature_Table*> instead of
693 <CHISE_Feature_Table**> as the type of the first argument.
694 (chise_ft_iterate): Modify for the structure
695 `CHISE_Feature_Table'.
696 (chise_open_attribute_table): Use <CHISE_Attribute_Table*> instead
697 of <CHISE_Attribute_Table **> as the type of the first argument;
698 modify for the structure <CHISE_Feature_Table>.
699 (chise_close_attribute_table): Modify for the structure
700 <CHISE_Feature_Table>.
701 (chise_get_attribute_table): Likewise.
702 (chise_put_attribute_table): Likewise.
704 * chise.h (CHISE_Attribute_Table): Define as a structure.
705 (chise_open_decoding_table): Use <CHISE_Decoding_Table*> instead
706 of <CHISE_Decoding_Table**> as the type of the first argument.
707 (chise_open_feature_table): Use <CHISE_Feature_Table*> instead of
708 <CHISE_Feature_Table**> as the type of the first argument.
709 (chise_open_attribute_table): Use <CHISE_Attribute_Table*> instead
710 of <CHISE_Attribute_Table**> as the type of the first argument.
712 2003-08-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
714 * chise.h (chise_dt_put_char): New prototype.
716 2003-08-10 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
718 * chise.c (chise_dt_put_char): New function.
719 (chise_put_attribute_table): New function.
721 2003-08-10 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
723 * chise.c (chise_format_char_id): New function.
724 (chise_ft_get_value): Use `chise_format_char_id'.
726 2003-08-09 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
728 * chise.h: Define `_CHISE_H'.
730 2003-08-09 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
732 * sample.c (test_map_func): New function.
733 (main): Add sample of `chise_ft_iterate'.
735 * chise.c (chise_char_id_parse_c_string): New function.
736 (chise_dt_get_char): Use `chise_char_id_parse_c_string'.
737 (chise_ft_iterate): New function.
739 * chise.h (chise_ft_iterate): New function.
741 2003-08-06 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
743 * chise.c (chise_ft_get_value): Use escape forms for some special
746 2003-08-06 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
748 * sample.c (main): Rename "ideograph-daikanwa" to "=daikanwa".
750 * chise.c (chise_open_attribute_table): Encode '/' and '%' in
751 argument `feature' for file name.
753 2003-07-12 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
755 * chise.c, chise.h: Move strnlen related code from chise.h to
758 2003-07-08 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
760 * Makefile.in (CFLAGS): Refer @CFLAGS@.
762 * configure.in: Add check code for Fink.
764 2003-07-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
766 * Makefile.in (LIBTOOL): New variable.
767 (distclean): New target.
769 * configure.in: Check about libtool.
771 2003-07-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
773 * Makefile.in: Use libtool.
775 2003-07-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
777 * chise.c: Include "config.h" when HAVE_CONFIG_H is defined.
779 * chise.h (strnlen): New inline function when HAVE_STRNLEN is not
780 defined [based on Izumi MIYAZAKI <imiyazaki@bun.kyoto-u.ac.jp>'s
785 * configure: New file.
787 * Makefile.in, config.h.in, configure.in: New files.
789 2003-03-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
791 * chise.c (chise_dt_get_char): Use `chise_value_data' instead of
792 `chise_value_to_c_string'; use `strnlen' and `chise_value_size'
793 instead of `strlen'; fix problem about control characters.
795 * chise.h (chise_value_data): New inline function.
797 2003-03-10 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
799 * chise.c (chise_dt_get_char): Fix problem about `?\CHAR'.
801 2003-03-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
803 * sample.c: Add comments.
805 2003-03-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
807 * sample.c: Use <chise.h>.
808 (db_dir): Use "/usr/local/lib/chise/char-db".
810 * Makefile: Install chise.h; setup /usr/local/lib/chise/char-db/.
812 2003-03-05 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
814 * Makefile, chise.c, chise.h, sample.c: New files.