tomo [Thu, 16 Oct 2003 03:41:06 +0000 (03:41 +0000)]
update.
tomo [Thu, 16 Oct 2003 03:32:03 +0000 (03:32 +0000)]
(chise_system_db_dir): New constant.
tomo [Thu, 16 Oct 2003 03:30:07 +0000 (03:30 +0000)]
(CHISE_Attribute_Table_open): Add code for BDB Ver. 4.1 or later.
tomo [Wed, 15 Oct 2003 11:48:59 +0000 (11:48 +0000)]
update.
tomo [Wed, 15 Oct 2003 11:39:24 +0000 (11:39 +0000)]
update.
tomo [Wed, 15 Oct 2003 11:32:18 +0000 (11:32 +0000)]
(LIBS): Don't add -ldb.
tomo [Wed, 15 Oct 2003 11:31:03 +0000 (11:31 +0000)]
Setup LIBS; check /sw/include/db4/db.h and setup for db4 when the
library is found.
tomo [Wed, 15 Oct 2003 10:01:48 +0000 (10:01 +0000)]
update.
tomo [Wed, 15 Oct 2003 09:20:17 +0000 (09:20 +0000)]
New file.
tomo [Wed, 15 Oct 2003 08:59:44 +0000 (08:59 +0000)]
update.
tomo [Wed, 15 Oct 2003 08:52:21 +0000 (08:52 +0000)]
New file.
tomo [Wed, 15 Oct 2003 08:42:23 +0000 (08:42 +0000)]
update.
tomo [Wed, 15 Oct 2003 08:41:59 +0000 (08:41 +0000)]
Add `AC_CANONICAL_TARGET'; use `AC_PROG_LIBTOOL' instead of
`AC_CHECK_PROGS' for `LIBTOOL'.
tomo [Wed, 15 Oct 2003 08:40:35 +0000 (08:40 +0000)]
(target): New variable.
(top_builddir): New variable.
(CHISE_DIR_PREFIX): New variable.
(CHISE_DIR_VERSION): New variable.
(CHISE_DIR): New variable.
(CHISE_DB_DIR): Renamed from `DB_DIR'; use `CHISE_DIR'.
(CHISE_SI_DB_DIR): New variable.
(CHISE_CFLAGS): New variable; define `CHISE_SI_DB_DIR'.
(chise.lo): Use $(CHISE_CFLAGS).
tomo [Wed, 15 Oct 2003 08:29:34 +0000 (08:29 +0000)]
(chise_system_db_dir): New constant.
(CHISE_DS_open): Don't use DBTYPE.
tomo [Wed, 15 Oct 2003 08:28:31 +0000 (08:28 +0000)]
(CHISE_DS_open): Don't use DBTYPE.
tomo [Tue, 14 Oct 2003 10:21:25 +0000 (10:21 +0000)]
update.
tomo [Tue, 14 Oct 2003 10:21:02 +0000 (10:21 +0000)]
(DB_DIR): Update version to 0.2.
tomo [Tue, 14 Oct 2003 09:48:38 +0000 (09:48 +0000)]
update.
tomo [Tue, 14 Oct 2003 09:47:28 +0000 (09:47 +0000)]
(chise_ds_foreach_char_feature_name): Read
${db_dir}/character/feature/ instead of ${db_dir}/system-char-id.
(chise_feature_setup_db): Modify for `CHISE_Attribute_Table_open'.
(chise_ccs_setup_db): Likewise.
(CHISE_Attribute_Table_open): Change interface to specify
category/key_type/name instead of encoding/feature.
tomo [Mon, 13 Oct 2003 06:49:24 +0000 (06:49 +0000)]
update.
tomo [Mon, 13 Oct 2003 06:45:21 +0000 (06:45 +0000)]
(test_name_map_func): New function.
(main): Use `chise_ds_foreach_char_feature_name'.
tomo [Mon, 13 Oct 2003 06:43:17 +0000 (06:43 +0000)]
(sample): Add -Wall -Wmissing-prototypes options for gcc.
tomo [Mon, 13 Oct 2003 06:40:47 +0000 (06:40 +0000)]
(chise_ds_foreach_char_feature_name): New function.
(chise_feature_foreach_char_with_value): Renamed from
`chise_char_feature_value_iterate'.
tomo [Mon, 13 Oct 2003 06:38:47 +0000 (06:38 +0000)]
(chise_ds_foreach_char_feature_name): New prototype.
(chise_feature_foreach_char_with_value): Renamed from
`chise_char_feature_value_iterate'.
tomo [Wed, 8 Oct 2003 13:17:18 +0000 (13:17 +0000)]
update.
tomo [Wed, 8 Oct 2003 13:14:34 +0000 (13:14 +0000)]
(char db_dir): Deleted.
(main): Use ${chise_db_dir}/db/ for the location of data-source.
tomo [Wed, 8 Oct 2003 13:12:52 +0000 (13:12 +0000)]
(DB_DIR): Renamed from CHISE_DB_DIR.
tomo [Wed, 8 Oct 2003 13:04:50 +0000 (13:04 +0000)]
(prefix): Use @prefix@.
(exec_prefix): Use @exec_prefix@.
(libdir): Use @libdir@.
(libexecdir): New variable.
(DB_INSTALLDIR): Deleted.
(CHISE_DB_DIR): New variable.
(chise.lo): Specify CHISE_DB_DIR.
(install): Don't call install.db.
(install.db): Deleted.
tomo [Wed, 8 Oct 2003 12:54:34 +0000 (12:54 +0000)]
(chise_db_dir): New variable.
(CHISE_DS_open): Use <const unsigned char *> instead of <char *> as
the type of location.
tomo [Mon, 6 Oct 2003 11:37:45 +0000 (11:37 +0000)]
update.
tomo [Mon, 6 Oct 2003 11:36:59 +0000 (11:36 +0000)]
(chise_feature_setup_db): New prototype.
(chise_ccs_setup_db): Likewise.
tomo [Mon, 6 Oct 2003 11:35:51 +0000 (11:35 +0000)]
(chise_feature_setup_db): Changed to public function.
(chise_ccs_setup_db): New function.
(chise_ccs_decode): Use `chise_ccs_setup_db'.
(chise_ccs_set_decoded_char): Likewise.
tomo [Mon, 6 Oct 2003 02:38:03 +0000 (02:38 +0000)]
update.
tomo [Mon, 6 Oct 2003 02:37:07 +0000 (02:37 +0000)]
(CHISE_Attribute_Table_open): Create required directories when running
with create mode.
tomo [Sun, 5 Oct 2003 04:49:36 +0000 (04:49 +0000)]
update.
tomo [Sun, 5 Oct 2003 04:48:36 +0000 (04:48 +0000)]
(chise_feature_sync): New prototype.
(chise_char_set_feature_value): New prototype.
(chise_ds_load_char_feature_value): New inline function.
tomo [Sun, 5 Oct 2003 04:46:22 +0000 (04:46 +0000)]
(chise_feature_sync): New function.
(chise_char_set_feature_value): New function.
tomo [Fri, 3 Oct 2003 11:49:44 +0000 (11:49 +0000)]
update.
tomo [Fri, 3 Oct 2003 11:47:24 +0000 (11:47 +0000)]
(main): Use `chise_ds_decode_char' instead of `chise_ds_get_ccs' and
`chise_ccs_decode'.
tomo [Fri, 3 Oct 2003 11:45:49 +0000 (11:45 +0000)]
(chise_ccs_decode): Return -1 when argument `ccs' is NULL.
(chise_ccs_set_decoded_char): Likewise.
tomo [Fri, 3 Oct 2003 11:44:12 +0000 (11:44 +0000)]
(chise_ds_decode_char): New inline function.
tomo [Fri, 3 Oct 2003 07:48:09 +0000 (07:48 +0000)]
(chise_ds_decode_char): New prototype.
tomo [Fri, 3 Oct 2003 03:44:33 +0000 (03:44 +0000)]
update.
tomo [Fri, 3 Oct 2003 03:40:46 +0000 (03:40 +0000)]
- `chise_open_data_source' is renamed to `CHISE_DS_open'.
- `chise_ds_close' is renamed to `CHISE_DS_close'.
tomo [Fri, 3 Oct 2003 03:38:04 +0000 (03:38 +0000)]
Modify to avoid warning.
tomo [Fri, 3 Oct 2003 03:37:09 +0000 (03:37 +0000)]
(chise_make_name_table): Modify to avoid warning.
tomo [Fri, 3 Oct 2003 03:36:08 +0000 (03:36 +0000)]
(CFLAGS): Add -Wall and -Wmissing-prototypes.
(chise.lo): Add dependency on sysdep.h.
tomo [Fri, 3 Oct 2003 03:34:42 +0000 (03:34 +0000)]
(strnlen): Separated to sysdep.h; include sysdep.h instead.
(CHISE_Attribute_Table_open): Renamed from
`chise_open_attribute_table'.
(CHISE_Attribute_Table_close): Renamed from
`chise_close_attribute_table'.
(chise_attribute_table_get): Renamed from `chise_get_attribute_table'.
(chise_attribute_table_put): Renamed from `chise_put_attribute_table'.
(CHISE_DS_open): Renamed from `chise_open_data_source'.
(CHISE_DS_close): Renamed from `chise_ds_close'.
(chise_feature_setup_db): New function.
(chise_char_load_feature_value): Use `chise_feature_setup_db'.
(chise_char_gets_feature_value): Likewise.
(chise_char_feature_value_iterate): Likewise.
tomo [Fri, 3 Oct 2003 03:27:20 +0000 (03:27 +0000)]
(CHISE_DS_open): Renamed from `chise_open_data_source'.
(CHISE_DS_close): Renamed from `chise_ds_close'.
tomo [Fri, 3 Oct 2003 03:25:06 +0000 (03:25 +0000)]
New file [separate from chise.c].
tomo [Thu, 2 Oct 2003 12:48:58 +0000 (12:48 +0000)]
update.
tomo [Thu, 2 Oct 2003 12:47:17 +0000 (12:47 +0000)]
(chise_ds_open_feature_table): Abolished.
(chise_ft_close): Likewise.
tomo [Thu, 2 Oct 2003 09:59:46 +0000 (09:59 +0000)]
update.
tomo [Thu, 2 Oct 2003 09:58:49 +0000 (09:58 +0000)]
Update for the latest API.
tomo [Thu, 2 Oct 2003 09:52:48 +0000 (09:52 +0000)]
(struct CHISE_DS): Add new member `subtype' and `modemask'.
(chise_open_data_source): Add new arguments `subtype' and `modemask'.
(chise_ds_get_feature): Delete arguments `real_subtype', `accessmask',
`modemask'.
(chise_ds_get_ccs): Likewise.
(struct CHISE_Feature_Table): Add new member `name' and `access'.
(chise_ds_open_feature_table): Delete arguments `real_subtype',
`accessmask', `modemask'.
(chise_ft_close): Release `table->name'.
(chise_char_load_feature_value): Setup `table->db'.
(chise_char_gets_feature_value): Likewise.
(chise_char_feature_value_iterate): Return an integer value; setup
`feature->db'.
(struct CHISE_CCS_Table): Add new member `name' and `access'.
(chise_ds_open_ccs_table): Delete arguments `real_subtype',
`accessmask', `modemask'.
(chise_ccst_close): Release `table->name'.
(chise_ccs_sync): New function.
(chise_ccs_decode): Setup `ccs->db'.
(chise_ccs_set_decoded_char): Renamed from `chise_ccst_put_char';
setup `ccs->db'.
tomo [Thu, 2 Oct 2003 09:40:03 +0000 (09:40 +0000)]
(chise_open_data_source): Add new arguments `subtype' and `modemask'.
(chise_ds_get_feature): Delete arguments `real_subtype', `accessmask',
`modemask'.
(chise_char_feature_value_iterate): Return an integer value.
(chise_char_feature_str_iterate): Comment out.
(chise_ds_open_feature_table): Delete arguments `real_subtype',
`accessmask', `modemask'.
(chise_ds_get_ccs): Delete arguments `real_subtype', `accessmask',
`modemask'.
(chise_ccs_set_decoded_char): Renamed from `chise_ccst_put_char'.
(chise_ccs_sync): New prototype.
(chise_ds_open_ccs_table): Abolished.
(int chise_ccst_close): Abolished.
tomo [Sun, 31 Aug 2003 02:27:29 +0000 (02:27 +0000)]
update.
tomo [Sun, 31 Aug 2003 02:23:10 +0000 (02:23 +0000)]
(test_map_func): Modify for chise_char_feature_value_iterate.
(main): Rename `dt_*' to `ccs_*'; use `chise_ds_get_ccs' instead of
`chise_ds_open_decoding_table'; use `chise_ccs_decode' instead of
`chise_dt_get_char'; don't use `chise_dt_close'; use `use
`chise_ds_get_feature' instead of `chise_ds_open_feature_table'; use
`chise_char_gets_feature_value' instead of `chise_ft_get_value'; use
`chise_char_feature_value_iterate' instead of `chise_ft_iterate';
don't use `chise_ft_close'.
tomo [Thu, 28 Aug 2003 16:38:15 +0000 (16:38 +0000)]
update.
tomo [Thu, 28 Aug 2003 16:33:44 +0000 (16:33 +0000)]
Include "chise-name.h".
(CHISE_DS): Add new members `feature_names' and `ccs_names'.
(chise_open_data_source): Setup ds->feature_names and ds->ccs_names.
(chise_ds_close): Release ds->feature_names and ds->ccs_names.
(chise_ds_get_feature): New function.
(chise_ds_get_ccs): New function.
(chise_char_load_feature_value): Renamed from `chise_ft_get_value';
modify interface.
(chise_char_gets_feature_value): New function.
(chise_char_feature_value_iterate): Renamed from `chise_ft_iterate';
modify interface.
(CHISE_CCS_Table): Renamed from `CHISE_Decoding_Table'.
(chise_ds_open_ccs_table): Renamed from
`chise_ds_open_decoding_table'.
(chise_ccst_close): Renamed from `chise_dt_close'.
(chise_ccs_decode): Renamed from `chise_dt_get_char'.
(chise_ccst_put_char): Renamed from `chise_dt_put_char'.
tomo [Thu, 28 Aug 2003 16:26:04 +0000 (16:26 +0000)]
(CHISE_Feature): New type.
(chise_ds_get_feature): New prototype.
(chise_char_load_feature_value): Renamed from `chise_ft_get_value';
modify interface.
(chise_char_gets_feature_value): New prototype.
(chise_char_feature_value_iterate): Renamed from `chise_ft_iterate';
modify interface.
(chise_char_feature_str_iterate): New prototype.
(CHISE_CCS_Table): Renamed from `CHISE_Decoding_Table'.
(CHISE_CCS): New type.
(chise_ds_get_ccs): New prototype.
(chise_ccs_decode): Renamed from `chise_dt_get_char'.
(chise_ds_open_ccs_table): Renamed from
`chise_ds_open_decoding_table'.
(chise_ccst_close): Renamed from `chise_dt_close'.
(chise_ccst_put_char): Renamed from `chise_dt_put_char'.
(chise_decode_char): Deleted.
(chise_get_feature): Deleted.
tomo [Thu, 28 Aug 2003 16:16:33 +0000 (16:16 +0000)]
Include "chise-name.h".
(chise_name_table_put): Use <const unsigned char*> instead of
<unsigned char*> for key.
(chise_name_table_get): Likewise.
tomo [Thu, 28 Aug 2003 16:14:20 +0000 (16:14 +0000)]
(chise_name_table_put): Use <const unsigned char*> instead of
<unsigned char*> for key.
(chise_name_table_get): Likewise.
tomo [Wed, 20 Aug 2003 18:17:12 +0000 (18:17 +0000)]
Rearrangement.
tomo [Wed, 20 Aug 2003 18:02:55 +0000 (18:02 +0000)]
update.
tomo [Wed, 20 Aug 2003 18:01:37 +0000 (18:01 +0000)]
(HEADERS): New variable.
(OBJS): New variable.
(libchise.la): Refer $(OBJS); add --mode=link for libtool.
(chise.lo): Depends on config.h.
(name.lo): New target.
(install.h): Refer $(HEADERS).
tomo [Wed, 20 Aug 2003 17:57:07 +0000 (17:57 +0000)]
update.
tomo [Wed, 20 Aug 2003 17:53:30 +0000 (17:53 +0000)]
New files.
tomo [Sun, 17 Aug 2003 18:38:43 +0000 (18:38 +0000)]
update.
tomo [Sun, 17 Aug 2003 18:25:34 +0000 (18:25 +0000)]
(CHISE_Attribute_Table): Use <DB> instead of <struct
CHISE_Attribute_Table>.
(chise_put_attribute_table): New prototype.
(struct CHISE_Decoding_Table): Use <CHISE_Attribute_Table *> instead
of <DB *> as the type of member `db'.
(chise_ds_open_decoding_table): New implementation.
(chise_dt_close): Likewise.
(chise_dt_get_char): Modify for new implementation of <struct
CHISE_Decoding_Table>.
(chise_dt_put_char): Likewise.
(struct CHISE_Feature_Table): Use <CHISE_Attribute_Table *> instead
of <DB *> as the type of member `db'.
(chise_ds_open_feature_table): New implementation.
(chise_ft_close): Likewise.
(chise_ft_get_value): Modify for new implementation of <struct
CHISE_Feature_Table>.
(chise_open_attribute_table): Use db_dir instead of ds as the first
argument; modify for new implementation of <CHISE_Attribute_Table>.
(chise_close_attribute_table): Modify for new implementation of
<CHISE_Attribute_Table>.
(chise_get_attribute_table): Likewise.
(chise_put_attribute_table): Likewise.
tomo [Sun, 17 Aug 2003 17:29:20 +0000 (17:29 +0000)]
update.
tomo [Sun, 17 Aug 2003 17:27:11 +0000 (17:27 +0000)]
(CHISE_Attribute_Table): Moved from chise.h.
(struct CHISE_Decoding_Table): New structure.
(chise_ds_open_decoding_table): Cast the return value to
<CHISE_Decoding_Table*>.
(chise_dt_close): Cast back to <CHISE_Attribute_Table*>.
(chise_dt_get_char): Likewise.
(struct CHISE_Feature_Table): New structure.
(chise_ds_open_feature_table): Cast the return value to
<CHISE_Feature_Table*>.
(chise_ft_close): Cast back to <CHISE_Attribute_Table*>.
(chise_ft_get_value): Likewise.
tomo [Sun, 17 Aug 2003 17:16:47 +0000 (17:16 +0000)]
(CHISE_Attribute_Table): Deleted.
(CHISE_Decoding_Table): Use <struct CHISE_Decoding_Table> instead of
<CHISE_Attribute_Table>.
(CHISE_Feature_Table): Use <struct CHISE_Feature_Table> instead of
<CHISE_Attribute_Table>.
tomo [Sun, 17 Aug 2003 16:29:59 +0000 (16:29 +0000)]
update.
tomo [Sun, 17 Aug 2003 16:28:45 +0000 (16:28 +0000)]
(chise_open_attribute_table): New prototype.
(chise_close_attribute_table): New prototype.
(chise_get_attribute_table): New prototype.
tomo [Sun, 17 Aug 2003 16:27:24 +0000 (16:27 +0000)]
(chise_open_attribute_table): Deleted.
(chise_close_attribute_table): Deleted.
(chise_get_attribute_table): Deleted.
tomo [Sun, 17 Aug 2003 16:10:35 +0000 (16:10 +0000)]
update.
tomo [Sun, 17 Aug 2003 16:09:05 +0000 (16:09 +0000)]
(struct CHISE_DS): Definition of members are moved from chise.h.
tomo [Sun, 17 Aug 2003 16:07:15 +0000 (16:07 +0000)]
(struct CHISE_DS): Omit definition of members.
tomo [Sun, 17 Aug 2003 14:10:17 +0000 (14:10 +0000)]
Merge b1c-r0_2_0-pre2.
tomo [Tue, 12 Aug 2003 17:41:40 +0000 (17:41 +0000)]
update.
tomo [Tue, 12 Aug 2003 17:38:30 +0000 (17:38 +0000)]
Update version to 0.2.0.
tomo [Tue, 12 Aug 2003 17:34:08 +0000 (17:34 +0000)]
(ABI_VERSION): New variable.
(libchise.la): Specify $(ABI_VERSION) as -version-info of libtool.
tomo [Tue, 12 Aug 2003 17:27:59 +0000 (17:27 +0000)]
update.
tomo [Tue, 12 Aug 2003 17:20:44 +0000 (17:20 +0000)]
(main): Use `CHISE_Decoding_Table' instead of `CHISE_Decoding_Table *'
to define `dt_daikanwa'; use `CHISE_Feature_Table' instead of
`CHISE_Feature_Table *' to define `ft_ideographic_structure' and
`ft_ascii'.
tomo [Tue, 12 Aug 2003 17:15:48 +0000 (17:15 +0000)]
(chise_open_decoding_table): Use `CHISE_Decoding_Table *' instead of
`CHISE_Decoding_Table **' as the type of the first argument.
(chise_open_feature_table): Use `CHISE_Feature_Table *' instead of
`CHISE_Feature_Table **' as the type of the first argument.
(chise_ft_iterate): Modify for the structure `CHISE_Feature_Table'.
(chise_open_attribute_table): Use `CHISE_Attribute_Table *' instead of
`CHISE_Attribute_Table **' as the type of the first argument; modify
for the structure `CHISE_Feature_Table'.
(chise_close_attribute_table): Modify for the structure
`CHISE_Feature_Table'.
(chise_get_attribute_table): Likewise.
(chise_put_attribute_table): Likewise.
tomo [Tue, 12 Aug 2003 17:10:41 +0000 (17:10 +0000)]
(CHISE_Attribute_Table): Define as a structure.
(chise_open_decoding_table): Use `CHISE_Decoding_Table *' instead of
`CHISE_Decoding_Table **' as the type of the first argument.
(chise_open_feature_table): Use `CHISE_Feature_Table *' instead of
`CHISE_Feature_Table **' as the type of the first argument.
(chise_open_attribute_table): Use `CHISE_Attribute_Table *' instead of
`CHISE_Attribute_Table **' as the type of the first argument.
tomo [Tue, 12 Aug 2003 02:32:16 +0000 (02:32 +0000)]
This commit was manufactured by cvs2svn to create branch 'b1'.
tomo [Tue, 12 Aug 2003 02:32:14 +0000 (02:32 +0000)]
update.
tomo [Tue, 12 Aug 2003 02:28:59 +0000 (02:28 +0000)]
(chise_dt_put_char): New function.
(chise_put_attribute_table): New function.
tomo [Tue, 12 Aug 2003 02:27:25 +0000 (02:27 +0000)]
(chise_dt_put_char): New function.
tomo [Sun, 10 Aug 2003 20:00:37 +0000 (20:00 +0000)]
update.
tomo [Sun, 10 Aug 2003 19:58:15 +0000 (19:58 +0000)]
(chise_format_char_id): New function.
(chise_ft_get_value): Use `chise_format_char_id'.
tomo [Sat, 9 Aug 2003 18:11:26 +0000 (18:11 +0000)]
update.
tomo [Sat, 9 Aug 2003 18:09:26 +0000 (18:09 +0000)]
Define `_CHISE_H'.
tomo [Sat, 9 Aug 2003 08:13:23 +0000 (08:13 +0000)]
update.
tomo [Sat, 9 Aug 2003 08:11:57 +0000 (08:11 +0000)]
(test_map_func): New function.
(main): Add sample of `chise_ft_iterate'.
tomo [Sat, 9 Aug 2003 08:08:52 +0000 (08:08 +0000)]
(chise_char_id_parse_c_string): New function.
(chise_dt_get_char): Use `chise_char_id_parse_c_string'.
(chise_ft_iterate): New function.
tomo [Sat, 9 Aug 2003 08:07:05 +0000 (08:07 +0000)]
(chise_ft_iterate): New function.