(COS_Object_retain_function_table): New variable.
[chise/concord.git] / ChangeLog
index 99b7c6f..29438b3 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,58 @@
+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
+       parse integer.
+
+       * read.c: Include <ctype.h>.
+       (cos_read_int): New function.
+
+       * cos-read.h (cos_read_int): New prototype.
+
 2013-04-14  MORIOKA Tomohiko  <tomo.git@chise.org>
 
        * cos.c (cos_string_p): New function.