update.
[chise/concord.git] / ChangeLog
index 123d0b1..24ded0b 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,85 @@
+2013-04-16  MORIOKA Tomohiko  <tomo.git@chise.org>
+
+       * 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  <tomo.git@chise.org>
+
+       * Makefile.in (symbol-test): New target.
+
+2013-04-16  MORIOKA Tomohiko  <tomo.git@chise.org>
+
+       * name.c (concord_name_table_grow): Release old `table->data'.
+
+       * cos.h: Include <stdlib.h>.
+       (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  <tomo.git@chise.org>
+
+       * 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  <tomo.git@chise.org>
 
        * cos.c (concord_object_get_feature_value): Use `cos_read_int' to