update.
[chise/libchise.git] / ChangeLog
index 515cdd4..50c635c 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,120 @@
+2003-08-16  MORIOKA Tomohiko  <tomo@mousai.as.wakwak.ne.jp>
+
+       * Makefile.in (HEADERS): New variable.
+       (OBJS): New variable.
+       (libchise.la): Refer $(OBJS); add --mode=link for libtool.
+       (chise.lo): Depends on config.h.
+       (name.lo): New target.
+       (install.h): Refer $(HEADERS).
+
+2003-08-15  MORIOKA Tomohiko  <tomo@mousai.as.wakwak.ne.jp>
+
+       * chise-name.h, name.c: New files.
+
+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