X-Git-Url: http://git.chise.org/gitweb/?p=chise%2Fconcord.git;a=blobdiff_plain;f=ChangeLog;h=6913ad79886b106aaff68b58bbac938ef8f5708b;hp=9607ac4c4244554116a02753e42aa7ea1f2ce0bb;hb=9c7b9397c1bc47c31808b4fad512972a8fa202a2;hpb=43a11e4db31493d6ca367b3dd58925c2ead8ff01 diff --git a/ChangeLog b/ChangeLog index 9607ac4..6913ad7 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,549 @@ +2013-04-22 MORIOKA Tomohiko + + * Makefile.in (ABI_VERSION): Update to 2:0:1. + + * configure.in: Update version to 0.9.0; change mail-address to + chise-en@lists.chise.org. + +2013-04-22 MORIOKA Tomohiko + + * Makefile.in (CONCORD_DB_FORMAT_VERSION): Changed to 1.0. + +2013-04-21 MORIOKA Tomohiko + + * concord.h (concord_ds_p): New prototype. + + * cos.c (concord_ds_p): New function. + +2013-04-21 MORIOKA Tomohiko + + * cos.c (concord_object_get_feature_value): If + `concord_current_env' is not a valid CONCORD_DS object, set NULL. + + * symbol.c (cos_release_symbol): Treat `composition' as a builtin + symbol. + +2013-04-20 MORIOKA Tomohiko + + * cos.c (concord_decode_object): Delete printf to debug. + (concord_object_get_feature_value): Likewise. + +2013-04-20 MORIOKA Tomohiko + + * cos.h (cos_Qcomposition): New variable. + (COS_NIL): New macro. + (COS_T): New macro. + (COS_COMPOSITION): New macro. + + * symbol.c (cos_string_ent_composition): New variable. + (cos_symbol_ent_composition): New variable. + (cos_Qcomposition): New variable. + (cos_intern): Setup `composition'. + +2013-04-20 MORIOKA Tomohiko + + * symbol.c (cos_release_symbol): Add check for builtin symbols. + +2013-04-19 MORIOKA Tomohiko + + * concord.h (CONCORD_Genre_Table): Revived as an alias of + `COS_Genre_ent'. + +2013-04-18 MORIOKA Tomohiko + + * symbol.c (cos_retain_symbol): Don't use `cos_retain_object' + recursively. + (cos_symbol_p): New function. + (cos_symbol_table_intern): Check type of each entry of the hash; + use `cos_retain_object' for the returned symbol. + (cos_print_symbol_table): New function. + + * cos.c (cos_char_id): Fixed. + (cos_release_object): Fixed. + (cos_retain_cons): Don't use `cos_retain_object' recursively. + (cos_assoc): New function. + (cos_alist_get): New function. + +2013-04-18 MORIOKA Tomohiko + + * read.c (is_delimiter): New function. + (cos_read_int): Use `is_delimiter'. + (cos_read_string): Fixed. + (cos_read_symbol): New function. + (cos_read_object): Use `cos_read_symbol' to support symbol. + + * cos.h (cos_symbol_p): New prototype. + (cos_assoc): New prototype. + (cos_alist_get): New prototype. + + * cos-read.h (cos_read_symbol): New prototype. + +2013-04-17 MORIOKA Tomohiko + + * read.c (cos_skip_space): New function. + (cos_read_int): Fix to support separator. + (cos_read_list0): New function. + (cos_read_list): New function. + (cos_read_object): New function. + + * print.c (cos_print_object): Fix duplicated `?' when printing a + character. + + * cos.h (cos_cons_p): New prototype. + + * cos.c (cos_cons_p): New function. + (concord_object_get_feature_value): Use `cos_read_object'. + + * cos-read.h (cos_read_list): New prototype. + (cos_read_object): New prototype. + +2013-04-16 MORIOKA Tomohiko + + * symbol.c (cos_make_symbol): Use `cos_retain_object' for + `obj->name'. + (cos_retain_symbol): New function. + + * cos.c (COS_Object_retain_function_table): New variable. + (cos_retain_object): Call a retain-function in + `COS_Object_retain_function_table'. + (cos_retain_string): New function. + (cos_retain_cons): New function. + (cos_retain_container): New function. + (cos_retain_sexp): New function. + (cos_retain_binary): New function. + (cos_retain_ds): New function. + (cos_retain_genre): New function. + (cos_retain_feature): New function. + (cos_retain_index): New function. + (cos_retain_db_object): New function. + + * cos-i.h (COS_Object_retain_function_table): New variable. + (cos_retain_string): New prototype. + (cos_retain_symbol): New prototype. + (cos_retain_cons): New prototype. + (cos_retain_container): New prototype. + (cos_retain_sexp): New prototype. + (cos_retain_binary): New prototype. + (cos_retain_ds): New prototype. + (cos_retain_genre): New prototype. + (cos_retain_feature): New prototype. + (cos_retain_index): New prototype. + (cos_retain_db_object): New prototype. + +2013-04-16 MORIOKA Tomohiko + + * Makefile.in (symbol-test): New target. + +2013-04-16 MORIOKA Tomohiko + + * name.c (concord_name_table_grow): Release old `table->data'. + + * cos.h: Include . + (cos_Qnil): New variable. + (cos_Qt): New variable. + (cos_print_object): New prototype. + + * symbol.c (cos_string_ent_nil): New variable. + (cos_symbol_ent_nil): New variable. + (cos_Qnil): New variable. + (cos_string_ent_t): New variable. + (cos_symbol_ent_t): New variable. + (cos_Qt): New variable. + (cos_intern): Setup `nil' and `t'. + (cos_symbol_table_grow): Release old `table->data'. + + * print.c (cos_print_object): New function. + +2013-04-16 MORIOKA Tomohiko + + * cos.c (COS_Object_release_function_table): Add + `cos_release_cons'. + (cos_retain_object): Use `COS_OBJECT_P' to check `obj' is a fat + object. + (cos_release_object): Likewise. + (cos_cons): New function. + (cos_release_cons): New function. + (cos_car): New function. + (cos_cdr): New function. + + * cos-i.h (enum COS_Object_Type): Add COS_Object_Type_Cons. + (COS_OBJECT_CONS_P): New macro. + (struct COS_Cons_ent): New structure. + (COS_CAR): New macro. + (COS_CDR): New macro. + (cos_release_cons): New prototype. + + * cos.h (struct COS_Cons_ent): New structure. + (COS_Cons): New type. + (cos_cons): New prototype. + (cos_car): New prototype. + (cos_cdr): New prototype. + +2013-04-15 MORIOKA Tomohiko + + * cos.c (concord_object_get_feature_value): Use `cos_read_int' to + parse integer. + + * read.c: Include . + (cos_read_int): New function. + + * cos-read.h (cos_read_int): New prototype. + +2013-04-14 MORIOKA Tomohiko + + * cos.c (cos_string_p): New function. + (concord_object_get_feature_value): Use `cos_read_char' and + `cos_read_string' to parse character and string. + + * read.c (cos_read_string): New function. + + * cos.h (cos_string_p): New prototype. + + * cos-read.h: Include "cos.h". + (cos_read_string): New prototype. + +2013-04-06 MORIOKA Tomohiko + + * cos.c: Include "cos-print.h". + (concord_current_env): New variable. + (concord_open_env): Setup `concord_current_env'. + (concord_object_get_feature_value): New function. + +2013-04-04 MORIOKA Tomohiko + + * print.c: + - Don't include . + - Include "cos-i.h". + (cos_utf8_encode_char): Renamed from `cos_encode_char_as_utf8'. + (cos_utf8_print_char): New function. + + * cos-print.h: Include stdlib.h and cos.h. + (cos_utf8_encode_char): Renamed from `cos_encode_char_as_utf8'. + (cos_utf8_print_char): New prototype. + + * concord.h (concord_object_get_feature_value): New prototype. + +2013-04-02 MORIOKA Tomohiko + + * print.c: New file. + + * cos-print.h: New file. + + * Makefile.in (OBJS): Add print.lo. + (print.lo): New target. + +2013-04-01 MORIOKA Tomohiko + + * concord.c (struct COS_DS_ent): Delete member `symbol_names'. + (concord_open_ds): Delete code to initialize `ds->symbol_names'. + (concord_close_ds): Delete code to destroy `ds->symbol_names'. + +2013-03-30 MORIOKA Tomohiko + + * cos-read.h: New file. + + * cos.h: New file. + + * symbol.c: New file. + + * cos-i.h: New file. + + * cos.c: New file. + + * concord-bdb.c: Move code to include "config.h" into sysdep.h. + + * concord.c: + - Move code to include "config.h" into sysdep.h. + - Include "cos-i.h". + (concord_close_genre): Move prototype into cos-i.h. + (concord_close_feature): Likewise. + (concord_close_index): Likewise. + (struct CONCORD_Object_Header): Renamed to `COS_Object_Header'; + moved to cos-i.h; add new member `reference_count'. + (CONCORD_OBJECT_TYPE_NULL): Renamed to `COS_Object_Type_NULL'; + moved to cos-i.h; use `enum COS_Object_Type'. + (CONCORD_OBJECT_TYPE_C_STRING): Renamed to + `COS_Object_Type_C_String'; moved to cos-i.h; use `enum + COS_Object_Type'. + (CONCORD_OBJECT_TYPE_INT): Renamed to `COS_Object_Type_int'; moved + to cos-i.h; use `enum COS_Object_Type'. + (CONCORD_OBJECT_TYPE_DS): Renamed to `COS_Object_Type_DS'; moved + to cos-i.h; use `enum COS_Object_Type'. + (CONCORD_OBJECT_TYPE_GENRE): Renamed to `COS_Object_Type_Genre'; + moved to cos-i.h; use `enum COS_Object_Type'. + (CONCORD_OBJECT_TYPE_FEATURE): Renamed to + `COS_Object_Type_Feature'; moved to cos-i.h; use `enum + COS_Object_Type'. + (CONCORD_OBJECT_TYPE_INDEX): Renamed to + `COS_Object_Type_Feature_INDEX'; moved to cos-i.h; use `enum + COS_Object_Type'. + (CONCORD_OBJECT_TYPE_OBJECT): Renamed to + `COS_Object_Type_DB_Object'; moved to cos-i.h; use `enum + COS_Object_Type'. + (struct CONCORD_DS_Table): Renamed to `struct COS_DS_ent'; add new + member `symbol_names'. + (concord_open_ds): Use `COS_ALLOCATE_OBJECT'; initialize + `ds->symbol_names'. + (concord_close_ds): Destroy `ds->symbol_names'. + (struct CONCORD_Genre_Table): Renamed to `struct COS_Genre_ent'. + (concord_ds_open_genre): Use `COS_ALLOCATE_OBJECT'. + (struct CONCORD_Feature_Table): Renamed to `struct + COS_Feature_ent'. + (concord_genre_open_feature): Use `COS_ALLOCATE_OBJECT'. + (struct CONCORD_INDEX_Table): Renamed to `struct + COS_Feature_INDEX_ent'. + (concord_genre_open_index): Use `COS_ALLOCATE_OBJECT'. + (concord_index_get_name): New function. + (concord_index_get_genre): New function. + + * concord.h: Include . + (CONCORD_Object): Use `COS_Object' instead of `void*' as the type. + (COS_DS_ent): Renamed from `CONCORD_DS_Table'. + (COS_DS): New type. + (CONCORD_DS): Use `COS_DS' instead of `CONCORD_DS_Table*' as the + type. + (concord_open_env): New prototype. + (COS_Genre_ent): Renamed from `CONCORD_Genre_Table'. + (COS_Genre): New type. + (CONCORD_Genre): Use `COS_Genre' instead of `CONCORD_Genre_Table*' + as the type. + (concord_get_genre): New prototype. + (COS_Feature_ent): Renamed from `CONCORD_Feature_Table'. + (COS_Feature): New type. + (CONCORD_Feature): Use `COS_Feature' instead of + `CONCORD_Feature_Table*' as the type. + (concord_get_feature): New prototype. + (COS_Feature_INDEX_ent): Renamed from `CONCORD_INDEX_Table'. + (COS_Feature_INDEX): New type. + (CONCORD_INDEX): Use `COS_Feature_INDEX' instead of + `CONCORD_INDEX_Table*' as the type. + (concord_get_feature_index): New prototype. + (concord_index_get_name): New prototype. + (concord_index_get_genre): New prototype. + (concord_decode_object): New prototype. + + * sysdep.h: Include "config.h" if `HAVE_CONFIG_H' is defined. + +2013-03-30 MORIOKA Tomohiko + + * read.c: New file. + +2013-03-29 MORIOKA Tomohiko + + * Makefile.in (localstatedir): New variable. + (CONCORD_DB_PREFIX): New variable. + (CONCORD_DB_FORMAT_VERSION): New variable. + (CONCORD_DB_DIR): New variable. + (CONCORD_SI_DB_DIR): New variable. + (CONCORD_CFLAGS): New variable. + (HEADERS): Add cos.h. + (OBJS): Add cos.lo, symbol.lo and read.lo. + (cos.lo): New target. + (symbol.lo): New target. + (read.lo): New target. + (concord.lo): Depend on cos-i.h and cos.h. + +2013-03-22 MORIOKA Tomohiko + + * name.c (concord_hash_c_string): Use `unsigned long' instead of + int' as the type of return value. + +2013-03-21 MORIOKA Tomohiko + + * config.h.in (SIZEOF_INT): New macro. + (SIZEOF_LONG): New macro. + (SIZEOF_LONG_LONG): New macro. + (SIZEOF_VOID_P): New macro. + (BITS_PER_CHAR): New macro. + + * configure.in: Add `AC_CHECK_SIZEOF(int)', + `AC_CHECK_SIZEOF(long)', `AC_CHECK_SIZEOF(long long)' and + `AC_CHECK_SIZEOF(void *)'. + +2011-10-31 MORIOKA Tomohiko + + * Makefile.in (ABI_VERSION): Update to 1:0:1. + + * concord.c (struct CONCORD_Object_Header): New structure. + (CONCORD_OBJECT_TYPE_NULL): New macro. + (CONCORD_OBJECT_TYPE_C_STRING): New macro. + (CONCORD_OBJECT_TYPE_INT): New macro. + (CONCORD_OBJECT_TYPE_DS): New macro. + (CONCORD_OBJECT_TYPE_GENRE): New macro. + (CONCORD_OBJECT_TYPE_FEATURE): New macro. + (CONCORD_OBJECT_TYPE_INDEX): New macro. + (CONCORD_OBJECT_TYPE_OBJECT): New macro. + (struct CONCORD_DS_Table): Add new member `header'. + (concord_open_ds): Setup ds->header. + (struct CONCORD_Genre_Table): Add new member `header'. + (concord_ds_open_genre): Setup ds->header. + (struct CONCORD_Feature_Table): Add new member `header'. + (concord_genre_open_feature): Setup ds->header. + (struct CONCORD_INDEX_Table): Add new member `header'. + (concord_genre_open_index): Setup ds->header. + +2012-07-07 MORIOKA Tomohiko + + * configure.in: Support db5 in Fink. + +2012-04-25 MORIOKA Tomohiko + + * README.en (Reporting Bugs): Modify for + chise-{en|ja}@lists.chise.org. + +2012-04-09 MORIOKA Tomohiko + + * README.en: Remove descriptions about CVS and add description + about the new Git repository. + +2012-02-08 MORIOKA Tomohiko + + * configure.in: + - Don't use "AC_CHECK_FUNCS(strnlen)". + - When $ac_cv_func_strnlen_working = "yes", define HAVE_STRNLEN. + +2011-08-24 MORIOKA Tomohiko + + * Makefile.in (CFLAGS): Add $(DEFS). + + +2010-06-10 MORIOKA Tomohiko + + * Concord 0.0.2 released. + + * configure.in: Update version to 0.0.2. + +2008-07-21 MORIOKA Tomohiko + + * configure.in: Add settings for --with-site-includes=PATH and + --with-site-libraries=PATH. + + +2008-05-27 MORIOKA Tomohiko + + * Concord 0.0.1 released. + +2008-01-12 MORIOKA Tomohiko + + * Makefile.in (MKDIR): New variable. + (install.h): Make $(INCLUDE_INSTALLDIR). + (install.libs): Make $(LIB_INSTALLDIR). + +2006-12-22 MORIOKA Tomohiko + + * configure.in: Update version to 0.0.1. + + * Makefile.in (libconcord.la): Specify `-no-undefined' to avoid + error on Cygwin [suggested by KAMICHI Koichi ]. + (concord.lo): Specify `--mode=compile'. + (concord-bdb.lo): ditto. + (name.lo): ditto. + (install.libs): Specify `--mode=install'. + + +2006-05-11 MORIOKA Tomohiko + + * Concord 0.0.0 released. + + * Makefile.in (tar): Fixed. + +2006-04-14 MORIOKA Tomohiko + + * concord.c (concord_ds_open_genre): Use instead of + for genre-name. + (concord_genre_open_feature): Likewise. + (concord_genre_open_index): Use instead of for index-name. + (concord_genre_get_feature_0): Use instead of for feature-name. + (struct CONCORD_DS_Table): Use instead of + for member `location'. + (concord_default_read_object): Cast to avoid warning. + (concord_open_ds): Use instead of for + ds->location. + (concord_ds_foreach_genre_name): Use instead of for ds->location; cast to avoid warning. + (struct CONCORD_Genre_Table): Use instead of for member `name'. + (concord_ds_open_genre): Use instead of + for genre-name. + (concord_genre_foreach_feature_name): Use instead of + for ds->location. + (concord_genre_get_feature_0): Use instead of for genre-name. + (concord_genre_get_feature): Use instead of for t_name. + (struct CONCORD_Feature_Table): Use instead of for member `name'. + (concord_genre_open_feature): Use instead of for feature-name. + (concord_obj_gets_feature_value): Cast to avoid warning. + (struct CONCORD_INDEX_Table): Use instead of for member `name'. + (concord_genre_open_index): Use instead of for index-name. + (concord_index_strid_put_obj): Cast to avoid warning. + + * name.c, concord-name.h (concord_name_table_put): Use + instead of for key. + (concord_name_table_get): Likewise. + +2006-04-14 MORIOKA Tomohiko + + * concord-bdb.c, concord-bdb.h (CONCORD_BDB_open): Use + instead of for db_dir, genre, key_type and name. + (CONCORD_BDB_get): Use instead of for + key. + (CONCORD_BDB_put): Likewise. + + * concord.c, concord.h (concord_open_ds): Use instead of + for location. + (concord_ds_location): Likewise. + (concord_ds_foreach_genre_name): Use instead of for genre-name. + (concord_ds_get_genre): Likewise. + (concord_genre_get_name): Likewise. + (concord_genre_foreach_feature_name): Likewise. + (concord_genre_get_feature): Use instead of for feature-name. + (concord_feature_get_name): Likewise. + (concord_obj_put_feature_value_str): Use instead of + for object-id. + (concord_obj_get_feature_value): Likewise. + (concord_obj_get_feature_value_string): Likewise. + (concord_obj_gets_feature_value): Likewise. + (concord_genre_get_index): Use instead of + for index-name. + (concord_index_strid_put_obj): Use instead of for indexer and object-id. + (concord_index_strid_get_obj_string): Use instead of + for indexer. + +2006-02-24 MORIOKA Tomohiko + + * README.en: New file. + +2005-12-04 MORIOKA Tomohiko + + * concord.h (concord_genre_get_name): New prototype. + (concord_feature_get_genre): New prototype. + + * concord.c (concord_genre_get_name): New function. + (concord_feature_get_genre): New function. + +2005-06-30 MORIOKA Tomohiko + + * concord.c (concord_ds_set_object_failure): Renamed from + `concord_ds_set_object_nil'. + (concord_genre_get_feature_0): New function. + (concord_genre_get_feature): New implementation; use + `concord_genre_get_feature_0'; support feature alias. + +2005-06-24 MORIOKA Tomohiko + + * concord.h (concord_ds_set_object_failure): Renamed from + `concord_ds_set_object_nil'. + 2005-06-24 MORIOKA Tomohiko * concord.c, concord.h (concord_obj_put_feature_value_str):