2003-08-17 MORIOKA Tomohiko * sample.c (main): Modify for new API. * chise.c (chise_open_data_source): Interface change; allocate a CHISE_DS object and return it. (chise_ds_close): Renamed from `chise_close_data_source'; destroy the specified CHISE_DS object. (chise_ds_open_decoding_table): Renamed from `chise_open_decoding_table' and changed the interface. (chise_dt_close): Renamed from `chise_close_decoding_table'. (chise_ds_open_feature_table): Renamed from `chise_open_feature_table' and changed the interface. (chise_ft_close): Renamed from `chise_close_feature_table'. (chise_open_attribute_table): Interface change; allocate a CHISE_Attribute_Table object and return it; require pointer for data source object instead of db_dir. (chise_close_attribute_table): Destroy the specified CHISE_Attribute_Table object. * chise.h (struct CHISE_DS): Change type of location from to . (chise_open_data_source): Change interface. (chise_ds_close): Renamed from `chise_close_data_source'. (struct CHISE_Attribute_Table): Add new member `ds'; rename `dbp' to `db'. (chise_ds_open_decoding_table): Renamed from `chise_open_decoding_table' and changed the interface. (chise_dt_close): Renamed from `chise_close_decoding_table'. (chise_ds_open_feature_table): Renamed from `chise_open_feature_table' and changed the interface. (chise_ft_close): Renamed from `chise_close_feature_table'. (chise_open_attribute_table): Change interface. 2003-08-12 MORIOKA Tomohiko * configure.in: Update version to 0.2.0. * Makefile.in (ABI_VERSION): New variable. (libchise.la): Specify $(ABI_VERSION) as -version-info of libtool. 2003-08-12 MORIOKA Tomohiko * sample.c (main): Use instead of to define `dt_daikanwa'; use instead of to define `ft_ideographic_structure' and `ft_ascii'. * chise.c (chise_open_decoding_table): Use instead of as the type of the first argument. (chise_open_feature_table): Use instead of as the type of the first argument. (chise_ft_iterate): Modify for the structure `CHISE_Feature_Table'. (chise_open_attribute_table): Use instead of as the type of the first argument; modify for the structure . (chise_close_attribute_table): Modify for the structure . (chise_get_attribute_table): Likewise. (chise_put_attribute_table): Likewise. * chise.h (CHISE_Attribute_Table): Define as a structure. (chise_open_decoding_table): Use instead of as the type of the first argument. (chise_open_feature_table): Use instead of as the type of the first argument. (chise_open_attribute_table): Use instead of as the type of the first argument. 2003-08-11 MORIOKA Tomohiko * chise.h (chise_dt_put_char): New prototype. 2003-08-10 MORIOKA Tomohiko * chise.c (chise_dt_put_char): New function. (chise_put_attribute_table): New function. 2003-08-10 MORIOKA Tomohiko * chise.c (chise_format_char_id): New function. (chise_ft_get_value): Use `chise_format_char_id'. 2003-08-09 MORIOKA Tomohiko * chise.h: Define `_CHISE_H'. 2003-08-09 MORIOKA Tomohiko * sample.c (test_map_func): New function. (main): Add sample of `chise_ft_iterate'. * chise.c (chise_char_id_parse_c_string): New function. (chise_dt_get_char): Use `chise_char_id_parse_c_string'. (chise_ft_iterate): New function. * chise.h (chise_ft_iterate): New function. 2003-08-06 MORIOKA Tomohiko * chise.c (chise_ft_get_value): Use escape forms for some special characters. 2003-08-06 MORIOKA Tomohiko * sample.c (main): Rename "ideograph-daikanwa" to "=daikanwa". * chise.c (chise_open_attribute_table): Encode '/' and '%' in argument `feature' for file name. 2003-07-12 MORIOKA Tomohiko * chise.c, chise.h: Move strnlen related code from chise.h to chise.c. 2003-07-08 MORIOKA Tomohiko * Makefile.in (CFLAGS): Refer @CFLAGS@. * configure.in: Add check code for Fink. 2003-07-08 MORIOKA Tomohiko * Makefile.in (LIBTOOL): New variable. (distclean): New target. * configure.in: Check about libtool. 2003-07-08 MORIOKA Tomohiko * Makefile.in: Use libtool. 2003-07-07 MORIOKA Tomohiko * chise.c: Include "config.h" when HAVE_CONFIG_H is defined. * chise.h (strnlen): New inline function when HAVE_STRNLEN is not defined [based on Izumi MIYAZAKI 's patch]. * Makefile: Deleted. * configure: New file. * Makefile.in, config.h.in, configure.in: New files. 2003-03-12 MORIOKA Tomohiko * chise.c (chise_dt_get_char): Use `chise_value_data' instead of `chise_value_to_c_string'; use `strnlen' and `chise_value_size' instead of `strlen'; fix problem about control characters. * chise.h (chise_value_data): New inline function. 2003-03-10 MORIOKA Tomohiko * chise.c (chise_dt_get_char): Fix problem about `?\CHAR'. 2003-03-06 MORIOKA Tomohiko * sample.c: Add comments. 2003-03-06 MORIOKA Tomohiko * sample.c: Use . (db_dir): Use "/usr/local/lib/chise/char-db". * Makefile: Install chise.h; setup /usr/local/lib/chise/char-db/. 2003-03-05 MORIOKA Tomohiko * Makefile, chise.c, chise.h, sample.c: New files.