1 2012-04-25 MORIOKA Tomohiko <tomo@zinbun.kyoto-u.ac.jp>
3 * README.en (Reporting Bugs): Modify for
4 chise-{en|ja}@lists.chise.org.
6 2012-04-09 MORIOKA Tomohiko <tomo@zinbun.kyoto-u.ac.jp>
8 * README.en: Remove descriptions about CVS and add description
9 about the new Git repository.
11 2011-10-30 MORIOKA Tomohiko <tomo@zinbun.kyoto-u.ac.jp>
13 * configure.in: Update version to 0.5.0.
15 * Makefile.in (ABI_VERSION): Update to 4:0:3.
17 * chise.h (chise_char_load_decomposition): New prototype.
18 (chise_ds_load_char_decomposition): New inline function.
20 * chise.c (chise_char_load_decomposition): New function.
22 2011-08-24 MORIOKA Tomohiko <tomo@zinbun.kyoto-u.ac.jp>
24 * Makefile.in (CFLAGS): Add $(DEFS).
27 2010-06-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
29 * libchise 0.4.2 released.
31 * configure.in: Update version to 0.4.2.
33 2008-07-21 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
35 * configure.in: Add settings for --with-site-includes=PATH and
36 --with-site-libraries=PATH.
39 2008-05-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
41 * libchise 0.4.1 released.
43 2006-12-22 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
45 * configure.in: Update version to 0.4.1.
47 * Makefile.in (libchise.la): Specify `-no-undefined' to avoid
48 error on Cygwin [suggested by KAMICHI Koichi <kamichi@fonts.jp>].
49 (chise.lo): Specify `--mode=compile'.
50 (install.libs): Specify `--mode=install'.
53 2006-05-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
55 * libchise 0.4.0 released.
57 2005-06-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
59 * sample.c (test_map_func): Use <CHISE_Feature> instead of
60 <CHISE_Feature_Table *>.
61 (test_radical_func): Likewise.
63 2005-06-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
65 * chise.c (chise_char_set_feature_value): Use
66 `concord_obj_put_feature_value_str' instead of
67 `concord_stroid_set_feature_str'.
68 (chise_char_load_feature_value): Use
69 `concord_obj_get_feature_value_string' instead of
70 `concord_stroid_get_feature_string'.
71 (chise_char_gets_feature_value): Use
72 `concord_obj_gets_feature_value' instead of
73 `concord_stroid_gets_feature'.
74 (chise_feature_foreach_char_with_value): Use
75 `concord_feature_foreach_obj_string' instead of
76 `concord_feature_foreach_object_string'.
77 (chise_ccs_decode): Use `concord_index_strid_get_obj_string'
78 instead of `concord_index_strid_get_object_string'.
79 (chise_ccs_set_decoded_char): Use `concord_index_strid_put_obj'
80 instead of `concord_index_strid_set_object_str'.
81 (chise_feature_set_property_value): Use
82 `concord_obj_put_feature_value_str' instead of
83 `concord_stroid_set_feature_str'.
84 (chise_feature_load_property_value): Use
85 `concord_obj_get_feature_value_string' instead of
86 `concord_stroid_get_feature_string'.
87 (chise_feature_gets_property_value): Use
88 `concord_obj_gets_feature_value' instead of
89 `concord_stroid_gets_feature'.
91 2005-06-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
93 * chise.c (CHISE_DS_close): Use `concord_close_ds' instead of
96 2005-06-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
98 * chise.h, chise.c (chise_db_format_version): New constant.
100 * Makefile.in (CHISE_CFLAGS): Add new macro
101 `CHISE_DB_FORMAT_VERSION'.
102 (distclean): Delete autom4te.cache, autoscan.log, configure.scan
105 2005-06-23 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
107 * chise.h: Don't include <db.h> and <errno.h>.
108 (CHISE_DS_Type): Use <CONCORD_Backend_Type> instead of <enum
109 CONCORD_Backend_Type>.
111 2005-06-23 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
113 * README.en (PREREQUISITES): Add `CONCORD'.
116 - Update version to 0.4.0.
117 - Don't link Berkeley DB.
118 - Use `AC_CHECK_LIB' to link CONCORD.
120 * chise.h: Use concord.h.
121 (CHISE_DS_Type): Use <enum CONCORD_Backend_Type> instead of <enum
123 (CHISE_DS_Berkeley_DB): New macro to wrap
124 `CONCORD_Backend_Berkeley_DB'.
125 (CHISE_DS): Use <CONCORD_Genre_Table> instead of <struct
127 (CHISE_Value): Use <CONCORD_String_Tank> instead of <DBT>.
128 (chise_value_size): Changed to non-inline function.
129 (chise_value_data): Likewise.
130 (chise_value_to_c_string): Likewise.
131 (struct CHISE_Feature_Table): Abolished.
132 (CHISE_Feature): Use <CONCORD_Feature> instead of
133 <CHISE_Feature_Table*>.
134 (struct CHISE_CCS_Table): Abolished.
135 (CHISE_CCS): Use <CONCORD_INDEX> instead of <CHISE_CCS_Table*>.
136 (struct CHISE_Property_Table): Abolished.
137 (CHISE_Property): Use <CONCORD_Feature> instead of
138 <CHISE_Property_Table*>.
140 * chise.c: Don't use "chise-name.h".
141 (chise_ds_open_feature_table): Deleted.
142 (chise_ft_close): Deleted.
143 (chise_ds_open_ccs_table): Deleted.
144 (chise_ccst_close): Deleted.
145 (chise_ds_open_property_table): Deleted.
146 (chise_pt_close): Deleted.
147 (CHISE_Attribute_Table): Deleted.
148 (CHISE_Attribute_Table_open): Deleted.
149 (CHISE_Attribute_Table_close): Deleted.
150 (chise_attribute_table_get): Deleted.
151 (chise_attribute_table_put): Deleted.
152 (chise_value_size): New function.
153 (chise_value_data): New function.
154 (chise_value_to_c_string): New function.
155 (struct CHISE_DS): Abolished.
156 (CHISE_DS_open): New implementation; use `concord_open_ds' and
157 `concord_ds_get_genre'.
158 (CHISE_DS_close): New implementation; use `CONCORD_DS_close' and
159 `concord_genre_get_data_source'.
160 (chise_ds_location): New implementation; use `concord_ds_location'
161 and `concord_genre_get_data_source'.
162 (chise_ds_get_feature): New implementation; use
163 `concord_genre_get_feature'.
164 (chise_ds_get_ccs): New implementation; use
165 `concord_genre_get_index'.
166 (chise_ds_get_property): New implementation; use
167 `concord_ds_get_genre', `concord_genre_get_data_source' and
168 `concord_genre_get_feature'.
169 (chise_ds_foreach_char_feature_name): New implementation; use
170 `concord_genre_foreach_feature_name'.
171 (struct CHISE_Feature_Table): Abolished.
172 (chise_feature_setup_db): New implementation; use
173 `concord_feature_setup_db'.
174 (chise_feature_sync): New implementation; use
175 `concord_feature_sync'.
176 (chise_char_set_feature_value): New implementation; use
177 `concord_stroid_set_feature_str'.
178 (chise_char_load_feature_value): New implementation; use
179 `concord_stroid_get_feature_string'.
180 (chise_char_gets_feature_value): New implementation; use
181 `concord_stroid_gets_feature'.
182 (chise_feature_for_a_char_with_value_func): New variable.
183 (chise_feature_foreach_char_with_value_wrapper): New function.
184 (chise_feature_foreach_char_with_value): New implementation; use
185 `chise_feature_for_a_char_with_value_func',
186 `chise_feature_foreach_char_with_value_wrapper' and
187 `concord_feature_foreach_object_string'.
188 (struct CHISE_CCS_Table): Abolished.
189 (chise_ccs_setup_db): New implementation; use
190 `concord_index_setup_db'.
191 (chise_ccs_sync): New implementation; use `concord_index_sync'.
192 (chise_ccs_decode): Use `concord_index_strid_get_object_string'
193 instead of `chise_attribute_table_get'.
194 (chise_ccs_set_decoded_char): Use
195 `concord_index_strid_set_object_str' instead of
196 `concord_index_strid_set_object_str'.
197 (struct CHISE_Property_Table): Abolished.
198 (chise_ds_open_property_table): Deleted.
199 (chise_pt_close): Deleted.
200 (chise_property_setup_db): New implementation; use
201 `concord_feature_setup_db'.
202 (chise_property_sync): New implementation; use
203 `concord_feature_sync'.
204 (chise_feature_set_property_value): New implementation; use
205 `concord_stroid_set_feature_str' and `concord_feature_get_name'.
206 (chise_feature_load_property_value): New implementation; use
207 `concord_stroid_get_feature_string' and
208 `concord_feature_get_name'.
209 (chise_feature_gets_property_value): New implementation; use
210 `concord_stroid_gets_feature' and `concord_feature_get_name'.
212 2005-06-22 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
214 * chise-name.h, name.c: Deleted.
216 * Makefile.in (CHISE_DIR_VERSION): Update to 1.0.
217 (ABI_VERSION): Update to 3:0:2.
218 (HEADERS): Delete chise-name.h.
219 (OBJS): Delete name.lo.
222 2005-03-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
224 * libchise 0.3.0 released.
226 2005-03-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
228 * chise.h: Modify for C++.
230 * sample.c (test_radical_func): New function.
231 (main): Add sample code about `ideographic-radical'.
233 2004-07-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
235 * configure.in: Update version to 0.3.0.
237 * Makefile.in (datadir): New variable.
238 (libexecdir): Commented out.
239 (sharedstatedir): New variable.
240 (CHISE_DIR_PREFIX): Use ${datadir}/chise instead of
242 (CHISE_DIR_VERSION): Update to 0.3.
243 (CHISE_DB_DIR): Use ${CHISE_DIR} instead of
244 ${CHISE_DIR}/${target}.
246 2004-07-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
248 * chise.c (struct CHISE_DS): Add new member `property_names'.
249 (CHISE_DS_open): Initialize `property_names'.
250 (CHISE_DS_close): Destroy `property_names'.
251 (chise_ds_location): New function.
252 (chise_ds_get_property): New function.
253 (struct CHISE_Property_Table): New structure.
254 (chise_ds_open_property_table): New function.
255 (chise_pt_close): Likewise.
256 (chise_property_setup_db): Likewise.
257 (chise_property_sync): Likewise.
258 (chise_feature_set_property_value): Likewise.
259 (chise_feature_load_property_value): Likewise.
260 (chise_feature_gets_property_value): Likewise.
262 * chise.h (chise_ds_location): New prototype.
263 (CHISE_Property_Table): New type.
264 (CHISE_Property): New type.
265 (chise_ds_get_property): New prototype.
266 (chise_property_setup_db): Likewise.
267 (chise_property_sync): Likewise.
268 (chise_feature_set_property_value): Likewise.
269 (chise_feature_load_property_value): Likewise.
270 (chise_feature_gets_property_value): Likewise.
272 * sample.c (main): Use `chise_ds_location'.
274 * configure.in: Update version to 0.2.2.
276 * Makefile.in (ABI_VERSION): Update to 2:0:1.
279 2004-03-01 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
281 * libchise 0.2.1 released.
283 * Makefile.in (ABI_VERSION): Update to Revision 1.
285 * configure.in: Update version to 0.2.1.
287 2004-02-26 MORIOKA Tomohiko <tomo@m17n.org>
289 * name.c (chise_make_name_table): Change initial number of hash
291 (chise_destroy_name_table): Destroy each entry.
293 * chise.c (CHISE_DS_close): Use `chise_destroy_name_table'.
296 2003-11-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
298 * libchise 0.2.0 released.
300 2003-11-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
302 * Makefile.in (TAR): New variable.
304 2003-11-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
306 * Makefile.in (tar): New target.
308 2003-11-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
310 * README.en, COPYING.LIB: New files.
312 * chise-name.h, chise.c, chise.h, name.c: Add header.
314 2003-10-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
316 * sample.c (test_map_func): Modify to display UCS code point and
318 (main): Use `chise_system_db_dir'; display `numeric-value' instead
321 2003-10-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
323 * chise.c (CHISE_Attribute_Table_open): Add code for BDB Ver. 4.1
326 * chise.h (chise_system_db_dir): New constant.
328 2003-10-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
330 * Makefile.in (LIBS): Don't add -ldb.
332 * configure.in: Setup LIBS; check /sw/include/db4/db.h and setup
333 for db4 when the library is found.
335 2003-10-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
337 * aclocal.m4, ltmain.sh, config.guess, config.sub, install-sh: New
340 * Makefile.in (target): New variable.
341 (top_builddir): New variable.
342 (CHISE_DIR_PREFIX): New variable.
343 (CHISE_DIR_VERSION): New variable.
344 (CHISE_DIR): New variable.
345 (CHISE_DB_DIR): Renamed from `DB_DIR'; use `CHISE_DIR'.
346 (CHISE_SI_DB_DIR): New variable.
347 (CHISE_CFLAGS): New variable; define `CHISE_SI_DB_DIR'.
348 (chise.lo): Use $(CHISE_CFLAGS).
350 * configure.in: Add `AC_CANONICAL_TARGET'; use `AC_PROG_LIBTOOL'
351 instead of `AC_CHECK_PROGS' for `LIBTOOL'.
353 * chise.c (chise_system_db_dir): New constant.
354 (CHISE_DS_open): Don't use DBTYPE.
356 2003-10-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
358 * chise.h (CHISE_DS_open): Don't use DBTYPE.
360 2003-10-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
362 * Makefile.in (DB_DIR): Update version to 0.2.
364 2003-10-13 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
366 * chise.c (chise_ds_foreach_char_feature_name): Read
367 ${db_dir}/character/feature/ instead of ${db_dir}/system-char-id.
368 (chise_feature_setup_db): Modify for `CHISE_Attribute_Table_open'.
369 (chise_ccs_setup_db): Likewise.
370 (CHISE_Attribute_Table_open): Change interface to specify
371 category/key_type/name instead of encoding/feature.
373 2003-10-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
375 * chise.c (chise_ds_foreach_char_feature_name): New function.
376 (chise_feature_foreach_char_with_value): Renamed from
377 `chise_char_feature_value_iterate'.
379 2003-10-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
381 * sample.c (test_name_map_func): New function.
382 (main): Use `chise_ds_foreach_char_feature_name'.
384 * Makefile.in (sample): Add -Wall -Wmissing-prototypes options for
387 * chise.h (chise_ds_foreach_char_feature_name): New prototype.
388 (chise_feature_foreach_char_with_value): Renamed from
389 `chise_char_feature_value_iterate'.
391 2003-10-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
393 * sample.c (char db_dir): Deleted.
394 (main): Use ${chise_db_dir}/db/ for the location of data-source.
396 * Makefile.in (prefix): Use @prefix@.
397 (exec_prefix): Use @exec_prefix@.
398 (libdir): Use @libdir@.
399 (libexecdir): New variable.
400 (DB_INSTALLDIR): Deleted.
401 (DB_DIR): New variable.
402 (chise.lo): Specify DB_DIR.
403 (install): Don't call install.db.
404 (install.db): Deleted.
406 * chise.h, chise.c (chise_db_dir): New variable.
407 (CHISE_DS_open): Use <const unsigned char *> instead of <char *>
408 as the type of location.
410 2003-10-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
412 * chise.h (chise_feature_setup_db): New prototype.
413 (chise_ccs_setup_db): Likewise.
415 * chise.c (chise_feature_setup_db): Changed to public function.
416 (chise_ccs_setup_db): New function.
417 (chise_ccs_decode): Use `chise_ccs_setup_db'.
418 (chise_ccs_set_decoded_char): Likewise.
420 2003-10-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
422 * chise.c (CHISE_Attribute_Table_open): Create required
423 directories when running with create mode.
425 2003-10-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
427 * chise.h (chise_feature_sync): New prototype.
428 (chise_char_set_feature_value): New prototype.
429 (chise_ds_load_char_feature_value): New inline function.
431 * chise.c (chise_feature_sync): New function.
432 (chise_char_set_feature_value): New function.
434 2003-10-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
436 * sample.c (main): Use `chise_ds_decode_char' instead of
437 `chise_ds_get_ccs' and `chise_ccs_decode'.
439 * chise.c (chise_ccs_decode): Return -1 when argument `ccs' is
441 (chise_ccs_set_decoded_char): Likewise.
443 * chise.h (chise_ds_decode_char): New inline function.
445 2003-10-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
448 - `chise_open_data_source' is renamed to `CHISE_DS_open'.
449 - `chise_ds_close' is renamed to `CHISE_DS_close'.
451 * name.c: Modify to avoid warning.
453 * chise-name.h (chise_make_name_table): Modify to avoid warning.
455 * chise.c (strnlen): Separated to sysdep.h; include sysdep.h
457 (CHISE_Attribute_Table_open): Renamed from
458 `chise_open_attribute_table'.
459 (CHISE_Attribute_Table_close): Renamed from
460 `chise_close_attribute_table'.
461 (chise_attribute_table_get): Renamed from
462 `chise_get_attribute_table'.
463 (chise_attribute_table_put): Renamed from
464 `chise_put_attribute_table'.
465 (CHISE_DS_open): Renamed from `chise_open_data_source'.
466 (CHISE_DS_close): Renamed from `chise_ds_close'.
467 (chise_feature_setup_db): New function.
468 (chise_char_load_feature_value): Use `chise_feature_setup_db'.
469 (chise_char_gets_feature_value): Likewise.
470 (chise_char_feature_value_iterate): Likewise.
472 * Makefile.in (CFLAGS): Add -Wall and -Wmissing-prototypes.
473 (chise.lo): Add dependency on sysdep.h.
475 * chise.h (CHISE_DS_open): Renamed from `chise_open_data_source'.
476 (CHISE_DS_close): Renamed from `chise_ds_close'.
478 * sysdep.h: New file [separate from chise.c].
480 2003-10-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
482 * chise.h (chise_ds_open_feature_table): Abolished.
483 (chise_ft_close): Likewise.
485 2003-10-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
487 * sample.c: Update for the latest API.
489 * chise.c (struct CHISE_DS): Add new member `subtype' and
491 (chise_open_data_source): Add new arguments `subtype' and
493 (chise_ds_get_feature): Delete arguments `real_subtype',
494 `accessmask', `modemask'.
495 (chise_ds_get_ccs): Likewise.
496 (struct CHISE_Feature_Table): Add new member `name' and `access'.
497 (chise_ds_open_feature_table): Delete arguments `real_subtype',
498 `accessmask', `modemask'.
499 (chise_ft_close): Release `table->name'.
500 (chise_char_load_feature_value): Setup `table->db'.
501 (chise_char_gets_feature_value): Likewise.
502 (chise_char_feature_value_iterate): Return an integer value; setup
504 (struct CHISE_CCS_Table): Add new member `name' and `access'.
505 (chise_ds_open_ccs_table): Delete arguments `real_subtype',
506 `accessmask', `modemask'.
507 (chise_ccst_close): Release `table->name'.
508 (chise_ccs_sync): New function.
509 (chise_ccs_decode): Setup `ccs->db'.
510 (chise_ccs_set_decoded_char): Renamed from `chise_ccst_put_char';
513 * chise.h (chise_open_data_source): Add new arguments `subtype'
515 (chise_ds_get_feature): Delete arguments `real_subtype',
516 `accessmask', `modemask'.
517 (chise_char_feature_value_iterate): Return an integer value.
518 (chise_char_feature_str_iterate): Comment out.
519 (chise_ds_open_feature_table): Delete arguments `real_subtype',
520 `accessmask', `modemask'.
521 (chise_ds_get_ccs): Delete arguments `real_subtype', `accessmask',
523 (chise_ccs_set_decoded_char): Renamed from `chise_ccst_put_char'.
524 (chise_ccs_sync): New prototype.
525 (chise_ds_open_ccs_table): Abolished.
526 (int chise_ccst_close): Abolished.
528 2003-08-28 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
530 * sample.c (test_map_func): Modify for
531 chise_char_feature_value_iterate.
532 (main): Rename `dt_*' to `ccs_*'; use `chise_ds_get_ccs' instead
533 of `chise_ds_open_decoding_table'; use `chise_ccs_decode' instead
534 of `chise_dt_get_char'; don't use `chise_dt_close'; use `use
535 `chise_ds_get_feature' instead of `chise_ds_open_feature_table';
536 use `chise_char_gets_feature_value' instead of
537 `chise_ft_get_value'; use `chise_char_feature_value_iterate'
538 instead of `chise_ft_iterate'; don't use `chise_ft_close'.
540 2003-08-26 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
542 * chise.c: Include "chise-name.h".
543 (CHISE_DS): Add new members `feature_names' and `ccs_names'.
544 (chise_open_data_source): Setup ds->feature_names and
546 (chise_ds_close): Release ds->feature_names and ds->ccs_names.
547 (chise_ds_get_feature): New function.
548 (chise_ds_get_ccs): New function.
549 (chise_char_load_feature_value): Renamed from
550 `chise_ft_get_value'; modify interface.
551 (chise_char_gets_feature_value): New function.
552 (chise_char_feature_value_iterate): Renamed from
553 `chise_ft_iterate'; modify interface.
554 (CHISE_CCS_Table): Renamed from `CHISE_Decoding_Table'.
555 (chise_ds_open_ccs_table): Renamed from
556 `chise_ds_open_decoding_table'.
557 (chise_ccst_close): Renamed from `chise_dt_close'.
558 (chise_ccs_decode): Renamed from `chise_dt_get_char'.
559 (chise_ccst_put_char): Renamed from `chise_dt_put_char'.
561 * chise.h (CHISE_Feature): New type.
562 (chise_ds_get_feature): New prototype.
563 (chise_char_load_feature_value): Renamed from
564 `chise_ft_get_value'; modify interface.
565 (chise_char_gets_feature_value): New prototype.
566 (chise_char_feature_value_iterate): Renamed from
567 `chise_ft_iterate'; modify interface.
568 (chise_char_feature_str_iterate): New prototype.
569 (CHISE_CCS_Table): Renamed from `CHISE_Decoding_Table'.
570 (CHISE_CCS): New type.
571 (chise_ds_get_ccs): New prototype.
572 (chise_ccs_decode): Renamed from `chise_dt_get_char'.
573 (chise_ds_open_ccs_table): Renamed from
574 `chise_ds_open_decoding_table'.
575 (chise_ccst_close): Renamed from `chise_dt_close'.
576 (chise_ccst_put_char): Renamed from `chise_dt_put_char'.
577 (chise_decode_char): Deleted.
578 (chise_get_feature): Deleted.
580 2003-08-20 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
582 * name.c: Include "chise-name.h".
583 (chise_name_table_put): Use <const unsigned char*> instead of
584 <unsigned char*> for key.
585 (chise_name_table_get): Likewise.
587 * chise-name.h (chise_name_table_put): Use <const unsigned char*>
588 instead of <unsigned char*> for key.
589 (chise_name_table_get): Likewise.
591 2003-08-16 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
593 * Makefile.in (HEADERS): New variable.
594 (OBJS): New variable.
595 (libchise.la): Refer $(OBJS); add --mode=link for libtool.
596 (chise.lo): Depends on config.h.
597 (name.lo): New target.
598 (install.h): Refer $(HEADERS).
600 2003-08-15 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
602 * chise-name.h, name.c: New files.
604 2003-08-17 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
606 * chise.c (CHISE_Attribute_Table): Use <DB> instead of <struct
607 CHISE_Attribute_Table>.
608 (chise_put_attribute_table): New prototype.
609 (struct CHISE_Decoding_Table): Use <CHISE_Attribute_Table*>
610 instead of <DB*> as the type of member `db'.
611 (chise_ds_open_decoding_table): New implementation.
612 (chise_dt_close): Likewise.
613 (chise_dt_get_char): Modify for new implementation of <struct
614 CHISE_Decoding_Table>.
615 (chise_dt_put_char): Likewise.
616 (struct CHISE_Feature_Table): Use <CHISE_Attribute_Table*> instead
617 of <DB*> as the type of member `db'.
618 (chise_ds_open_feature_table): New implementation.
619 (chise_ft_close): Likewise.
620 (chise_ft_get_value): Modify for new implementation of <struct
621 CHISE_Feature_Table>.
622 (chise_open_attribute_table): Use db_dir instead of ds as the
623 first argument; modify for new implementation of
624 <CHISE_Attribute_Table>.
625 (chise_close_attribute_table): Modify for new implementation of
626 <CHISE_Attribute_Table>.
627 (chise_get_attribute_table): Likewise.
628 (chise_put_attribute_table): Likewise.
630 2003-08-17 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
632 * chise.c (CHISE_Attribute_Table): Moved from chise.h.
633 (struct CHISE_Decoding_Table): New structure.
634 (chise_ds_open_decoding_table): Cast the return value to
635 <CHISE_Decoding_Table*>.
636 (chise_dt_close): Cast back to <CHISE_Attribute_Table*>.
637 (chise_dt_get_char): Likewise.
638 (struct CHISE_Feature_Table): New structure.
639 (chise_ds_open_feature_table): Cast the return value to
640 <CHISE_Feature_Table*>.
641 (chise_ft_close): Cast back to <CHISE_Attribute_Table*>.
642 (chise_ft_get_value): Likewise.
644 * chise.h (CHISE_Attribute_Table): Deleted.
645 (CHISE_Decoding_Table): Use <struct CHISE_Decoding_Table> instead
646 of <CHISE_Attribute_Table>.
647 (CHISE_Feature_Table): Use <struct CHISE_Feature_Table> instead of
648 <CHISE_Attribute_Table>.
650 2003-08-17 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
652 * chise.c (chise_open_attribute_table): New prototype.
653 (chise_close_attribute_table): New prototype.
654 (chise_get_attribute_table): New prototype.
656 * chise.h (chise_open_attribute_table): Deleted.
657 (chise_close_attribute_table): Deleted.
658 (chise_get_attribute_table): Deleted.
660 2003-08-17 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
662 * chise.c (struct CHISE_DS): Definition of members are moved from
665 * chise.h (struct CHISE_DS): Omit definition of members.
667 2003-08-17 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
669 * sample.c (main): Modify for new API.
671 * chise.c (chise_open_data_source): Interface change; allocate a
672 CHISE_DS object and return it.
673 (chise_ds_close): Renamed from `chise_close_data_source'; destroy
674 the specified CHISE_DS object.
675 (chise_ds_open_decoding_table): Renamed from
676 `chise_open_decoding_table' and changed the interface.
677 (chise_dt_close): Renamed from `chise_close_decoding_table'.
678 (chise_ds_open_feature_table): Renamed from
679 `chise_open_feature_table' and changed the interface.
680 (chise_ft_close): Renamed from `chise_close_feature_table'.
681 (chise_open_attribute_table): Interface change; allocate a
682 CHISE_Attribute_Table object and return it; require pointer for
683 data source object instead of db_dir.
684 (chise_close_attribute_table): Destroy the specified
685 CHISE_Attribute_Table object.
687 * chise.h (struct CHISE_DS): Change type of location from <char*>
689 (chise_open_data_source): Change interface.
690 (chise_ds_close): Renamed from `chise_close_data_source'.
691 (struct CHISE_Attribute_Table): Add new member `ds'; rename `dbp'
693 (chise_ds_open_decoding_table): Renamed from
694 `chise_open_decoding_table' and changed the interface.
695 (chise_dt_close): Renamed from `chise_close_decoding_table'.
696 (chise_ds_open_feature_table): Renamed from
697 `chise_open_feature_table' and changed the interface.
698 (chise_ft_close): Renamed from `chise_close_feature_table'.
699 (chise_open_attribute_table): Change interface.
701 2003-08-12 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
703 * configure.in: Update version to 0.2.0.
705 * Makefile.in (ABI_VERSION): New variable.
706 (libchise.la): Specify $(ABI_VERSION) as -version-info of libtool.
708 2003-08-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
710 * sample.c (main): Use <CHISE_Decoding_Table> instead of
711 <CHISE_Decoding_Table*> to define `dt_daikanwa'; use
712 <CHISE_Feature_Table> instead of <CHISE_Feature_Table*> to define
713 `ft_ideographic_structure' and `ft_ascii'.
715 * chise.c (chise_open_decoding_table): Use <CHISE_Decoding_Table*>
716 instead of <CHISE_Decoding_Table**> as the type of the first
718 (chise_open_feature_table): Use <CHISE_Feature_Table*> instead of
719 <CHISE_Feature_Table**> as the type of the first argument.
720 (chise_ft_iterate): Modify for the structure
721 `CHISE_Feature_Table'.
722 (chise_open_attribute_table): Use <CHISE_Attribute_Table*> instead
723 of <CHISE_Attribute_Table **> as the type of the first argument;
724 modify for the structure <CHISE_Feature_Table>.
725 (chise_close_attribute_table): Modify for the structure
726 <CHISE_Feature_Table>.
727 (chise_get_attribute_table): Likewise.
728 (chise_put_attribute_table): Likewise.
730 * chise.h (CHISE_Attribute_Table): Define as a structure.
731 (chise_open_decoding_table): Use <CHISE_Decoding_Table*> instead
732 of <CHISE_Decoding_Table**> as the type of the first argument.
733 (chise_open_feature_table): Use <CHISE_Feature_Table*> instead of
734 <CHISE_Feature_Table**> as the type of the first argument.
735 (chise_open_attribute_table): Use <CHISE_Attribute_Table*> instead
736 of <CHISE_Attribute_Table**> as the type of the first argument.
738 2003-08-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
740 * chise.h (chise_dt_put_char): New prototype.
742 2003-08-10 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
744 * chise.c (chise_dt_put_char): New function.
745 (chise_put_attribute_table): New function.
747 2003-08-10 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
749 * chise.c (chise_format_char_id): New function.
750 (chise_ft_get_value): Use `chise_format_char_id'.
752 2003-08-09 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
754 * chise.h: Define `_CHISE_H'.
756 2003-08-09 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
758 * sample.c (test_map_func): New function.
759 (main): Add sample of `chise_ft_iterate'.
761 * chise.c (chise_char_id_parse_c_string): New function.
762 (chise_dt_get_char): Use `chise_char_id_parse_c_string'.
763 (chise_ft_iterate): New function.
765 * chise.h (chise_ft_iterate): New function.
767 2003-08-06 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
769 * chise.c (chise_ft_get_value): Use escape forms for some special
772 2003-08-06 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
774 * sample.c (main): Rename "ideograph-daikanwa" to "=daikanwa".
776 * chise.c (chise_open_attribute_table): Encode '/' and '%' in
777 argument `feature' for file name.
779 2003-07-12 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
781 * chise.c, chise.h: Move strnlen related code from chise.h to
784 2003-07-08 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
786 * Makefile.in (CFLAGS): Refer @CFLAGS@.
788 * configure.in: Add check code for Fink.
790 2003-07-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
792 * Makefile.in (LIBTOOL): New variable.
793 (distclean): New target.
795 * configure.in: Check about libtool.
797 2003-07-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
799 * Makefile.in: Use libtool.
801 2003-07-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
803 * chise.c: Include "config.h" when HAVE_CONFIG_H is defined.
805 * chise.h (strnlen): New inline function when HAVE_STRNLEN is not
806 defined [based on Izumi MIYAZAKI <imiyazaki@bun.kyoto-u.ac.jp>'s
811 * configure: New file.
813 * Makefile.in, config.h.in, configure.in: New files.
815 2003-03-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
817 * chise.c (chise_dt_get_char): Use `chise_value_data' instead of
818 `chise_value_to_c_string'; use `strnlen' and `chise_value_size'
819 instead of `strlen'; fix problem about control characters.
821 * chise.h (chise_value_data): New inline function.
823 2003-03-10 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
825 * chise.c (chise_dt_get_char): Fix problem about `?\CHAR'.
827 2003-03-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
829 * sample.c: Add comments.
831 2003-03-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
833 * sample.c: Use <chise.h>.
834 (db_dir): Use "/usr/local/lib/chise/char-db".
836 * Makefile: Install chise.h; setup /usr/local/lib/chise/char-db/.
838 2003-03-05 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
840 * Makefile, chise.c, chise.h, sample.c: New files.