(vars_of_mule): Update `xemacs-chise-version' to 0.23 (Kamo).
[chise/xemacs-chise.git.1] / src / ChangeLog
index a4caa05..47e863a 100644 (file)
@@ -1,3 +1,213 @@
+2006-04-25  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
+
+       * concord.c: Add EXFUN for Fconcord_object_get.
+       (Vconcord_genre_object_hash_table): New variable.
+       (concord_genre_cache_get_object): New function.
+       (concord_genre_cache_put_object): New function.
+       (Fconcord_make_object): Use object cache; put object-ID into `=id'
+       feature.
+       (Fconcord_object_put): Call `concord_index_sync' after
+       `concord_index_strid_put_obj'.
+       (vars_of_concord): Setup Vconcord_genre_object_hash_table.
+
+2006-04-24  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
+
+       * concord.c (Fconcord_decode_object): Do GCPRO for
+       Fconcord_make_object.
+       (func_for_each_object): Likewise; do GCPRO for
+       for_each_object_closure->function.
+       (Fconcord_foreach_object_in_feature): Use GCPRO4 for
+       for_each_object_closure->function, for_each_object_closure->genre,
+       for_each_object_closure->ds and for_each_object_closure->ret.
+       (concord_object_validate): Do GCPRO for Fconcord_make_object.
+
+2006-04-24  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
+
+       * concord.c: Add EXFUNs for Fconcord_decode_object and
+       Fconcord_object_put.
+       (Fconcord_make_object): Change order of arguments.
+       (Fconcord_decode_object): Modify for Fconcord_make_object.
+       (func_for_each_object): Likewise.
+       (concord_object_validate): Likewise.
+       (concord_object_instantiate): Use GCPRO2 for `data' and `retval'.
+
+2006-04-24  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
+
+       * concord.c (Fconcord_object_put): Setup index for `=FOO' feature.
+
+2006-04-16  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
+
+       * concord.c (Fconcord_decode_object): Try to use readable print
+       form as a key of Concord-index.
+       (Fconcord_object_get): Try to use readable print form as an ID of
+       Concord-object.
+       (Fconcord_object_put): Try to use readable print form as an ID of
+       Concord-object and a feature value.
+       (Fconcord_object_spec): Try to use readable print form as an ID of
+       Concord-object.
+
+2006-04-16  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
+
+       * concord.c (print_concord_object): Support readable form.
+
+2006-04-14  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
+
+       * emacs.c (main_1): Call `structure_type_create_concord' when
+       HAVE_CONCORD is defined.
+
+       * symsinit.h (structure_type_create_concord): New prototype.
+
+       * concord.c (Qconcord_object): New variable.
+       (Qgenre): Likewise.
+       (Q_id): Likewise.
+       (Fconcord_ds_directory): Use <char*> instead of <unsigned char*>
+       for directory.
+       (add_feature_to_list_mapper): Use <char*> instead of <unsigned
+       char*> for genre-name.
+       (Fconcord_feature_list): Likewise.
+       (Fconcord_make_object): Likewise.
+       (Fconcord_decode_object): Likewise; use <char*> instead of
+       <unsigned char*> for feature_name and strid.
+       (Fconcord_object_get): Use <char*> instead of <unsigned char*> for
+       c_obj and feature_name.
+       (Fconcord_object_put): Likewise; use <char*> instead of <unsigned
+       char*> for c_value.
+       (struct closure_for_object_spec): Use <char*> instead of <unsigned
+       char*> for member `object_id'.
+       (add_feature_to_spec_mapper): Use <char*> instead of <unsigned
+       char*> for feature-name.
+       (Fconcord_object_spec): Use <char*> instead of <unsigned char*>
+       for c_obj.
+       (func_for_each_object): Cast to avoid warnings.
+       (Fconcord_foreach_object_in_feature): Use <char*> instead of
+       <unsigned char*> for genre_name and feature_name.
+       (concord_name_validate): New function.
+       (concord_object_validate): Likewise.
+       (concord_object_instantiate): Likewise.
+       (syms_of_concord): Add new builtin symbols `concord-object',
+       `genre' and `=id'.
+       (structure_type_create_concord): New function.
+
+2006-04-10  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
+
+       * concord.c (Vconcord_ds_hash_table): New variable.
+       (Vconcord_genre_hash_table): New variable.
+       (Fconcord_open_ds): Use Vconcord_ds_hash_table.
+       (Fconcord_ds_directory): New function.
+       (Fconcord_assign_genre): New function.
+       (Fconcord_genre_directory): New function.
+       (Fconcord_genre_ds): New function.
+       (Fconcord_feature_list): Allow to omit `ds'.
+       (Fconcord_make_object): Likewise.
+       (Fconcord_decode_object): Likewise.
+       (Fconcord_foreach_object_in_feature): Likewise.
+       (syms_of_concord): Add new builtin function Fconcord_ds_directory,
+       Fconcord_assign_genre, Fconcord_genre_directory and
+       Fconcord_genre_ds.
+       (vars_of_concord): Setup Vconcord_ds_hash_table and
+       Vconcord_genre_hash_table.
+
+2006-02-05  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
+
+       * concord.c (struct closure_for_each_object): Add new member
+       `ret'.
+       (func_for_each_object): Setup the return value to
+       `for_each_object_closure->ret'.
+       (Fconcord_foreach_object_in_feature): If FUNCTION returns non-nil,
+       returns the value instead of Qt.
+
+2005-12-27  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
+
+       * concord.c: New file.
+
+2005-12-02  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
+
+       * lrecord.h (enum lrecord_type): Add `lrecord_type_concord_ds' and
+       `lrecord_type_concord_object'.
+
+2005-09-21  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
+
+       * symsinit.h (syms_of_concord): New prototype.
+       (vars_of_concord): New prototype.
+
+       * emacs.c (main_1): Setup symbols and variable about concord if
+       HAVE_CONCORD is defined.
+
+       * config.h.in (HAVE_CONCORD): New macro.
+
+2005-09-08  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
+
+       * chartab.c (Fput_char_attribute): For each character relation
+       feature `{<-|->}FOO', set up the reversed link `{->|<-}FOO'.
+
+2005-08-10  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
+
+       * chartab.c (Fput_char_attribute): Use
+       `Fchar_refs_simplify_char_specs' for `=>decomposition' before
+       calling `put_char_composition'.
+
+2005-08-08  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
+
+       * chartab.c (Q_halfwidth_of): New variable.
+       (put_char_composition): Return `<-halfwidth' instead of
+       `=decomposition' for compatibility mapping to single character
+       tagged `narrow'.
+       (Fput_char_attribute): Convert char-specs in value of
+       `{<-|->}halfwidth[^*]*' to characters and put reverse links.
+       (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
+       for `<-halfwidth'.
+       (syms_of_chartab): Add new symbol `<-halfwidth'.
+
+2005-08-05  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
+
+       * chartab.c (put_char_composition): Return
+       `<-formed@{isolated|initial|medial|final}' for compatibility
+       mapping to single character tagged
+       `{isolated|initial|medial|final}'.
+
+2005-08-04  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
+
+       * chartab.c (Q_compat_of): Deleted.
+       (put_char_composition): Return `<-FOO' for compatibility mapping
+       to single character tagged `FOO'; use `Fsymbol_name (...)' instead
+       of `symbol_name (XSYMBOL(...))'.
+       (Fput_char_attribute): Convert char-specs in value of
+       `{<-|->}font[^*]*' to characters and put reverse links.
+       (Fsave_char_attribute_table): Don't refer Q_compat_of.
+       (syms_of_chartab): Delete builtin symbol `<-compat'.
+
+2005-08-03  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
+
+       * chartab.c (Q_circled_of): New variable.
+       (put_char_composition): Return `<-circled' instead of
+       `=decomposition' for compatibility mapping to single character
+       tagged `circle'.
+       (Fput_char_attribute): Convert char-specs in value of
+       `{<-|->}circled[^*]*' to characters and put reverse links.
+       (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
+       for `<-circled'.
+       (syms_of_chartab): Add new symbol `<-circled'.
+
+2005-08-02  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
+
+       * chartab.c (Qto_decomposition_at_circled): New variable.
+       (put_char_composition): Return `=>decomposition@circled' instead
+       of `=decomposition' for compatibility decomposition mapping tagged
+       `circle'.
+       (syms_of_chartab): Add new symbol `=>decomposition@circled'.
+
+2005-08-02  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
+
+       * chartab.c (Q_subscript_of): New variable.
+       (put_char_composition): Return `<-subscript' instead of
+       `=decomposition' for compatibility mapping to single character
+       tagged `sub'.
+       (Fput_char_attribute): Convert char-specs in value of
+       `{<-|->}subscript[^*]*' to characters and put reverse links.
+       (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
+       for `<-subscript'.
+       (syms_of_chartab): Add new symbol `<-subscript'.
+
 2005-08-01  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
 
        * chartab.c (Q_superscript_of): New variable.