update.
authortomo <tomo>
Thu, 23 Jun 2005 23:28:02 +0000 (23:28 +0000)
committertomo <tomo>
Thu, 23 Jun 2005 23:28:02 +0000 (23:28 +0000)
ChangeLog

index d541b9e..ebe63f6 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,114 @@
+2005-06-23  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
+
+       * README.en (PREREQUISITES): Add `CONCORD'.
+
+       * configure.in:
+       - Update version to 0.4.0.
+       - Don't link Berkeley DB.
+       - Use `AC_CHECK_LIB' to link CONCORD.
+
+       * chise.h: Use concord.h.
+       (CHISE_DS_Type): Use `enum CONCORD_Backend_Type' instead of `enum
+       CHISE_DS_Type'.
+       (CHISE_DS_Berkeley_DB): New macro to wrap
+       `CONCORD_Backend_Berkeley_DB'.
+       (CHISE_DS): Use `CONCORD_Genre_Table' instead of `struct
+       CHISE_DS'.
+       (CHISE_Value): Use `CONCORD_String_Tank' instead of `DBT'.
+       (chise_value_size): Changed to non-inline function.
+       (chise_value_data): Likewise.
+       (chise_value_to_c_string): Likewise.
+       (struct CHISE_Feature_Table): Abolished.
+       (CHISE_Feature): Use `CONCORD_Feature' instead of
+       `CHISE_Feature_Table*'.
+       (struct CHISE_CCS_Table): Abolished.
+       (CHISE_CCS): Use `CONCORD_INDEX' instead of `CHISE_CCS_Table*'.
+       (struct CHISE_Property_Table): Abolished.
+       (CHISE_Property): Use `CONCORD_Feature' instead of
+       `CHISE_Property_Table*'.
+
+       * chise.c: Don't use "chise-name.h".
+       (chise_ds_open_feature_table): Deleted.
+       (chise_ft_close): Deleted.
+       (chise_ds_open_ccs_table): Deleted.
+       (chise_ccst_close): Deleted.
+       (chise_ds_open_property_table): Deleted.
+       (chise_pt_close): Deleted.
+       (CHISE_Attribute_Table): Deleted.
+       (CHISE_Attribute_Table_open): Deleted.
+       (CHISE_Attribute_Table_close): Deleted.
+       (chise_attribute_table_get): Deleted.
+       (chise_attribute_table_put): Deleted.
+       (chise_value_size): New function.
+       (chise_value_data): New function.
+       (chise_value_to_c_string): New function.
+       (struct CHISE_DS): Abolished.
+       (CHISE_DS_open): New implementation; use `concord_open_ds' and
+       `concord_ds_get_genre'.
+       (CHISE_DS_close): New implementation; use `CONCORD_DS_close' and
+       `concord_genre_get_data_source'.
+       (chise_ds_location): New implementation; use `concord_ds_location'
+       and `concord_genre_get_data_source'.
+       (chise_ds_get_feature): New implementation; use
+       `concord_genre_get_feature'.
+       (chise_ds_get_ccs): New implementation; use
+       `concord_genre_get_index'.
+       (chise_ds_get_property): New implementation; use
+       `concord_ds_get_genre', `concord_genre_get_data_source' and
+       `concord_genre_get_feature'.
+       (chise_ds_foreach_char_feature_name): New implementation; use
+       `concord_genre_foreach_feature_name'.
+       (struct CHISE_Feature_Table): Abolished.
+       (chise_feature_setup_db): New implementation; use
+       `concord_feature_setup_db'.
+       (chise_feature_sync): New implementation; use
+       `concord_feature_sync'.
+       (chise_char_set_feature_value): New implementation; use
+       `concord_stroid_set_feature_str'.
+       (chise_char_load_feature_value): New implementation; use
+       `concord_stroid_get_feature_string'.
+       (chise_char_gets_feature_value): New implementation; use
+       `concord_stroid_gets_feature'.
+       (chise_feature_for_a_char_with_value_func): New variable.
+       (chise_feature_foreach_char_with_value_wrapper): New function.
+       (chise_feature_foreach_char_with_value): New implementation; use
+       `chise_feature_for_a_char_with_value_func',
+       `chise_feature_foreach_char_with_value_wrapper' and
+       `concord_feature_foreach_object_string'.
+       (struct CHISE_CCS_Table): Abolished.
+       (chise_ccs_setup_db): New implementation; use
+       `concord_index_setup_db'.
+       (chise_ccs_sync): New implementation; use `concord_index_sync'.
+       (chise_ccs_decode): Use `concord_index_strid_get_object_string'
+       instead of `chise_attribute_table_get'.
+       (chise_ccs_set_decoded_char): Use
+       `concord_index_strid_set_object_str' instead of
+       `concord_index_strid_set_object_str'.
+       (struct CHISE_Property_Table): Abolished.
+       (chise_ds_open_property_table): Deleted.
+       (chise_pt_close): Deleted.
+       (chise_property_setup_db): New implementation; use
+       `concord_feature_setup_db'.
+       (chise_property_sync): New implementation; use
+       `concord_feature_sync'.
+       (chise_feature_set_property_value): New implementation; use
+       `concord_stroid_set_feature_str' and `concord_feature_get_name'.
+       (chise_feature_load_property_value): New implementation; use
+       `concord_stroid_get_feature_string' and
+       `concord_feature_get_name'.
+       (chise_feature_gets_property_value): New implementation; use
+       `concord_stroid_gets_feature' and `concord_feature_get_name'.
+
+2005-06-22  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
+
+       * chise-name.h, name.c: Deleted.
+
+       * Makefile.in (CHISE_DIR_VERSION): Update to 1.0.
+       (ABI_VERSION): Update to 3:0:2.
+       (HEADERS): Delete chise-name.h.
+       (OBJS): Delete name.lo.
+
+\f
 2005-03-29  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
 
        * libchise 0.3.0 released.