update.
[chise/libchise.git] / ChangeLog
index b4517c5..df355c6 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,171 @@
+2003-08-17  MORIOKA Tomohiko  <tomo@mousai.as.wakwak.ne.jp>
+
+       * chise.c (CHISE_Attribute_Table): Use <DB> instead of <struct
+       CHISE_Attribute_Table>.
+       (chise_put_attribute_table): New prototype.
+       (struct CHISE_Decoding_Table): Use <CHISE_Attribute_Table*>
+       instead of <DB*> as the type of member `db'.
+       (chise_ds_open_decoding_table): New implementation.
+       (chise_dt_close): Likewise.
+       (chise_dt_get_char): Modify for new implementation of <struct
+       CHISE_Decoding_Table>.
+       (chise_dt_put_char): Likewise.
+       (struct CHISE_Feature_Table): Use <CHISE_Attribute_Table*> instead
+       of <DB*> as the type of member `db'.
+       (chise_ds_open_feature_table): New implementation.
+       (chise_ft_close): Likewise.
+       (chise_ft_get_value): Modify for new implementation of <struct
+       CHISE_Feature_Table>.
+       (chise_open_attribute_table): Use db_dir instead of ds as the
+       first argument; modify for new implementation of
+       <CHISE_Attribute_Table>.
+       (chise_close_attribute_table): Modify for new implementation of
+       <CHISE_Attribute_Table>.
+       (chise_get_attribute_table): Likewise.
+       (chise_put_attribute_table): Likewise.
+
+2003-08-17  MORIOKA Tomohiko  <tomo@mousai.as.wakwak.ne.jp>
+
+       * chise.c (CHISE_Attribute_Table): Moved from chise.h.
+       (struct CHISE_Decoding_Table): New structure.
+       (chise_ds_open_decoding_table): Cast the return value to
+       <CHISE_Decoding_Table*>.
+       (chise_dt_close): Cast back to <CHISE_Attribute_Table*>.
+       (chise_dt_get_char): Likewise.
+       (struct CHISE_Feature_Table): New structure.
+       (chise_ds_open_feature_table): Cast the return value to
+       <CHISE_Feature_Table*>.
+       (chise_ft_close): Cast back to <CHISE_Attribute_Table*>.
+       (chise_ft_get_value): Likewise.
+
+       * chise.h (CHISE_Attribute_Table): Deleted.
+       (CHISE_Decoding_Table): Use <struct CHISE_Decoding_Table> instead
+       of <CHISE_Attribute_Table>.
+       (CHISE_Feature_Table): Use <struct CHISE_Feature_Table> instead of
+       <CHISE_Attribute_Table>.
+
+2003-08-17  MORIOKA Tomohiko  <tomo@mousai.as.wakwak.ne.jp>
+
+       * chise.c (chise_open_attribute_table): New prototype.
+       (chise_close_attribute_table): New prototype.
+       (chise_get_attribute_table): New prototype.
+
+       * chise.h (chise_open_attribute_table): Deleted.
+       (chise_close_attribute_table): Deleted.
+       (chise_get_attribute_table): Deleted.
+
+2003-08-17  MORIOKA Tomohiko  <tomo@mousai.as.wakwak.ne.jp>
+
+       * chise.c (struct CHISE_DS): Definition of members are moved from
+       chise.h.
+
+       * chise.h (struct CHISE_DS): Omit definition of members.
+
+2003-08-17  MORIOKA Tomohiko  <tomo@mousai.as.wakwak.ne.jp>
+
+       * 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 <char*>
+       to <unsigned char*>.
+       (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  <tomo@mousai.as.wakwak.ne.jp>
+
+       * 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  <tomo@kanji.zinbun.kyoto-u.ac.jp>
+
+       * sample.c (main): Use <CHISE_Decoding_Table> instead of
+       <CHISE_Decoding_Table*> to define `dt_daikanwa'; use
+       <CHISE_Feature_Table> instead of <CHISE_Feature_Table*> to define
+       `ft_ideographic_structure' and `ft_ascii'.
+
+       * chise.c (chise_open_decoding_table): Use <CHISE_Decoding_Table*>
+       instead of <CHISE_Decoding_Table**> as the type of the first
+       argument.
+       (chise_open_feature_table): Use <CHISE_Feature_Table*> instead of
+       <CHISE_Feature_Table**> as the type of the first argument.
+       (chise_ft_iterate): Modify for the structure
+       `CHISE_Feature_Table'.
+       (chise_open_attribute_table): Use <CHISE_Attribute_Table*> instead
+       of <CHISE_Attribute_Table **> as the type of the first argument;
+       modify for the structure <CHISE_Feature_Table>.
+       (chise_close_attribute_table): Modify for the structure
+       <CHISE_Feature_Table>.
+       (chise_get_attribute_table): Likewise.
+       (chise_put_attribute_table): Likewise.
+
+       * chise.h (CHISE_Attribute_Table): Define as a structure.
+       (chise_open_decoding_table): Use <CHISE_Decoding_Table*> instead
+       of <CHISE_Decoding_Table**> as the type of the first argument.
+       (chise_open_feature_table): Use <CHISE_Feature_Table*> instead of
+       <CHISE_Feature_Table**> as the type of the first argument.
+       (chise_open_attribute_table): Use <CHISE_Attribute_Table*> instead
+       of <CHISE_Attribute_Table**> as the type of the first argument.
+
+2003-08-11  MORIOKA Tomohiko  <tomo@mousai.as.wakwak.ne.jp>
+
+       * chise.h (chise_dt_put_char): New prototype.
+
+2003-08-10  MORIOKA Tomohiko  <tomo@mousai.as.wakwak.ne.jp>
+
+       * chise.c (chise_dt_put_char): New function.
+       (chise_put_attribute_table): New function.
+
+2003-08-10  MORIOKA Tomohiko  <tomo@mousai.as.wakwak.ne.jp>
+
+       * chise.c (chise_format_char_id): New function.
+       (chise_ft_get_value): Use `chise_format_char_id'.
+
+2003-08-09  MORIOKA Tomohiko  <tomo@mousai.as.wakwak.ne.jp>
+
+       * chise.h: Define `_CHISE_H'.
+
+2003-08-09  MORIOKA Tomohiko  <tomo@mousai.as.wakwak.ne.jp>
+
+       * 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  <tomo@mousai.as.wakwak.ne.jp>
+
+       * chise.c (chise_ft_get_value): Use escape forms for some special
+       characters.
+
 2003-08-06  MORIOKA Tomohiko  <tomo@mousai.as.wakwak.ne.jp>
 
        * sample.c (main): Rename "ideograph-daikanwa" to "=daikanwa".