X-Git-Url: http://git.chise.org/gitweb/?p=chise%2Fconcord.git;a=blobdiff_plain;f=ChangeLog;h=08c8e4d0de7ee22ab9f3fcd0f85c6ee7487583af;hp=ae9d9d344f3b047c6035471027cc5d32aff07609;hb=a778618ff4a07715a71d3e493a8fff9696b5a105;hpb=605fe3f4e9621990d91b72e5e43874bfd9c08535 diff --git a/ChangeLog b/ChangeLog index ae9d9d3..08c8e4d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,157 @@ +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'. @@ -6,6 +160,8 @@ 2013-03-30 MORIOKA Tomohiko + * cos-read.h: New file. + * cos.h: New file. * symbol.c: New file.