summary |
shortlog | log |
commit |
commitdiff |
tree
first ⋅ prev ⋅ next
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.
tomo [Thu, 7 Aug 2003 00:43:25 +0000 (00:43 +0000)]
update.
tomo [Thu, 7 Aug 2003 00:41:54 +0000 (00:41 +0000)]
(chise_ft_get_value): Use escape forms for some special characters.
tomo [Wed, 6 Aug 2003 10:28:39 +0000 (10:28 +0000)]
update.
tomo [Wed, 6 Aug 2003 10:27:11 +0000 (10:27 +0000)]
(main): Rename "ideograph-daikanwa" to "=daikanwa".
tomo [Wed, 6 Aug 2003 10:25:43 +0000 (10:25 +0000)]
(chise_open_attribute_table): Encode '/' and '%' in argument `feature'
for file name.
tomo [Sat, 12 Jul 2003 10:22:06 +0000 (10:22 +0000)]
update.
tomo [Sat, 12 Jul 2003 10:18:29 +0000 (10:18 +0000)]
Move strnlen related code from chise.h to chise.c.
tomo [Tue, 8 Jul 2003 17:21:23 +0000 (17:21 +0000)]
update.
tomo [Tue, 8 Jul 2003 17:20:09 +0000 (17:20 +0000)]
(CFLAGS): Refer @CFLAGS@.
tomo [Tue, 8 Jul 2003 17:18:36 +0000 (17:18 +0000)]
Add check code for Fink.
tomo [Tue, 8 Jul 2003 10:41:48 +0000 (10:41 +0000)]
update.
tomo [Tue, 8 Jul 2003 10:39:38 +0000 (10:39 +0000)]
(LIBTOOL): New variable.
(distclean): New target.
tomo [Tue, 8 Jul 2003 10:31:43 +0000 (10:31 +0000)]
Check about libtool.
tomo [Tue, 8 Jul 2003 07:29:39 +0000 (07:29 +0000)]
update.
tomo [Tue, 8 Jul 2003 07:26:08 +0000 (07:26 +0000)]
Use libtool.
tomo [Mon, 7 Jul 2003 10:21:11 +0000 (10:21 +0000)]
update.
tomo [Mon, 7 Jul 2003 10:18:37 +0000 (10:18 +0000)]
Include "config.h" when HAVE_CONFIG_H is defined.
tomo [Mon, 7 Jul 2003 10:17:38 +0000 (10:17 +0000)]
(strnlen): New inline function when HAVE_STRNLEN is not defined
[based on Izumi MIYAZAKI <imiyazaki@bun.kyoto-u.ac.jp>'s patch].
tomo [Mon, 7 Jul 2003 10:17:06 +0000 (10:17 +0000)]
Deleted.
tomo [Mon, 7 Jul 2003 10:16:46 +0000 (10:16 +0000)]
New file.
tomo [Mon, 7 Jul 2003 10:16:05 +0000 (10:16 +0000)]
New files.
tomo [Wed, 12 Mar 2003 12:43:00 +0000 (12:43 +0000)]
update.
tomo [Wed, 12 Mar 2003 12:41:44 +0000 (12:41 +0000)]
(chise_dt_get_char): Use `chise_value_data' instead of
`chise_value_to_c_string'; use `strnlen' and `chise_value_size'
instead of `strlen'; fix problem about control characters.
tomo [Wed, 12 Mar 2003 12:38:55 +0000 (12:38 +0000)]
(chise_value_data): New inline function.
tomo [Tue, 11 Mar 2003 00:44:44 +0000 (00:44 +0000)]
update.
tomo [Tue, 11 Mar 2003 00:43:36 +0000 (00:43 +0000)]
(chise_dt_get_char): Fix problem about `?\CHAR'.
tomo [Thu, 6 Mar 2003 08:11:50 +0000 (08:11 +0000)]
update.
tomo [Thu, 6 Mar 2003 08:11:26 +0000 (08:11 +0000)]
Add comments.
tomo [Thu, 6 Mar 2003 07:37:33 +0000 (07:37 +0000)]
update.
tomo [Thu, 6 Mar 2003 07:36:33 +0000 (07:36 +0000)]
Use <chise.h>.
(db_dir): Use "/usr/local/lib/chise/char-db".
tomo [Thu, 6 Mar 2003 07:34:19 +0000 (07:34 +0000)]
Install chise.h; setup /usr/local/lib/chise/char-db/.
tomo [Thu, 6 Mar 2003 06:40:46 +0000 (06:40 +0000)]
New file.
tomo [Thu, 6 Mar 2003 06:39:24 +0000 (06:39 +0000)]
New files.