chise/libchise.git
19 years ago- Update version to 0.4.0.
tomo [Thu, 23 Jun 2005 23:15:36 +0000 (23:15 +0000)]
- Update version to 0.4.0.
- Don't link Berkeley DB.
- Use `AC_CHECK_LIB' to link CONCORD.

19 years ago(CHISE_DIR_VERSION): Update to 1.0.
tomo [Thu, 23 Jun 2005 23:13:03 +0000 (23:13 +0000)]
(CHISE_DIR_VERSION): Update to 1.0.
(ABI_VERSION): Update to 3:0:2.
(HEADERS): Delete chise-name.h.
(OBJS): Delete name.lo.

19 years agoDon't use "chise-name.h".
tomo [Thu, 23 Jun 2005 23:10:09 +0000 (23:10 +0000)]
Don't use "chise-name.h".
(chise_ds_open_feature_table): Deleted.
(chise_ft_close): Deleted.
(chise_ds_open_ccs_table): Deleted.
(chise_ccst_close): Deleted.
(chise_ds_open_property_table): Deleted.
(chise_pt_close): Deleted.
(CHISE_Attribute_Table): Deleted.
(CHISE_Attribute_Table_open): Deleted.
(CHISE_Attribute_Table_close): Deleted.
(chise_attribute_table_get): Deleted.
(chise_attribute_table_put): Deleted.
(chise_value_size): New function.
(chise_value_data): New function.
(chise_value_to_c_string): New function.
(struct CHISE_DS): Abolished.
(CHISE_DS_open): New implementation; use `concord_open_ds' and
`concord_ds_get_genre'.
(CHISE_DS_close): New implementation; use `CONCORD_DS_close' and
`concord_genre_get_data_source'.
(chise_ds_location): New implementation; use `concord_ds_location' and
`concord_genre_get_data_source'.
(chise_ds_get_feature): New implementation; use
`concord_genre_get_feature'.
(chise_ds_get_ccs): New implementation; use `concord_genre_get_index'.
(chise_ds_get_property): New implementation; use
`concord_ds_get_genre', `concord_genre_get_data_source' and
`concord_genre_get_feature'.
(chise_ds_foreach_char_feature_name): New implementation; use
`concord_genre_foreach_feature_name'.
(struct CHISE_Feature_Table): Abolished.
(chise_feature_setup_db): New implementation; use
`concord_feature_setup_db'.
(chise_feature_sync): New implementation; use `concord_feature_sync'.
(chise_char_set_feature_value): New implementation; use
`concord_stroid_set_feature_str'.
(chise_char_load_feature_value): New implementation; use
`concord_stroid_get_feature_string'.
(chise_char_gets_feature_value): New implementation; use
`concord_stroid_gets_feature'.
(chise_feature_for_a_char_with_value_func): New variable.
(chise_feature_foreach_char_with_value_wrapper): New function.
(chise_feature_foreach_char_with_value): New implementation; use
`chise_feature_for_a_char_with_value_func',
`chise_feature_foreach_char_with_value_wrapper' and
`concord_feature_foreach_object_string'.
(struct CHISE_CCS_Table): Abolished.
(chise_ccs_setup_db): New implementation; use
`concord_index_setup_db'.
(chise_ccs_sync): New implementation; use `concord_index_sync'.
(chise_ccs_decode): Use `concord_index_strid_get_object_string'
instead of `chise_attribute_table_get'.
(chise_ccs_set_decoded_char): Use `concord_index_strid_set_object_str'
instead of `concord_index_strid_set_object_str'.
(struct CHISE_Property_Table): Abolished.
(chise_ds_open_property_table): Deleted.
(chise_pt_close): Deleted.
(chise_property_setup_db): New implementation; use
`concord_feature_setup_db'.
(chise_property_sync): New implementation; use `concord_feature_sync'.
(chise_feature_set_property_value): New implementation; use
`concord_stroid_set_feature_str' and `concord_feature_get_name'.
(chise_feature_load_property_value): New implementation; use
`concord_stroid_get_feature_string' and `concord_feature_get_name'.
(chise_feature_gets_property_value): New implementation; use
`concord_stroid_gets_feature' and `concord_feature_get_name'.

19 years agoUse concord.h.
tomo [Thu, 23 Jun 2005 22:38:14 +0000 (22:38 +0000)]
Use concord.h.
(CHISE_DS_Type): Use `enum CONCORD_Backend_Type' instead of `enum
CHISE_DS_Type'.
(CHISE_DS_Berkeley_DB): New macro to wrap
`CONCORD_Backend_Berkeley_DB'.
(CHISE_DS): Use `CONCORD_Genre_Table' instead of `struct CHISE_DS'.
(CHISE_Value): Use `CONCORD_String_Tank' instead of `DBT'.
(chise_value_size): Changed to non-inline function.
(chise_value_data): Likewise.
(chise_value_to_c_string): Likewise.
(struct CHISE_Feature_Table): Abolished.
(CHISE_Feature): Use `CONCORD_Feature' instead of
`CHISE_Feature_Table*'.
(struct CHISE_CCS_Table): Abolished.
(CHISE_CCS): Use `CONCORD_INDEX' instead of `CHISE_CCS_Table*'.
(struct CHISE_Property_Table): Abolished.
(CHISE_Property): Use `CONCORD_Feature' instead of
`CHISE_Property_Table*'.

19 years agoupdate. chise-core-0_22 libchise-0_3_0
tomo [Tue, 29 Mar 2005 13:07:40 +0000 (13:07 +0000)]
update.

19 years agoupdate.
tomo [Wed, 2 Mar 2005 08:57:34 +0000 (08:57 +0000)]
update.

19 years agoModify for C++.
tomo [Wed, 2 Mar 2005 08:55:33 +0000 (08:55 +0000)]
Modify for C++.

19 years agoupdate.
tomo [Wed, 2 Mar 2005 07:04:21 +0000 (07:04 +0000)]
update.

19 years ago(test_radical_func): New function.
tomo [Wed, 2 Mar 2005 07:01:48 +0000 (07:01 +0000)]
(test_radical_func): New function.
(main): Add sample code about `ideographic-radical'.

20 years agoupdate.
tomo [Tue, 20 Jul 2004 13:56:40 +0000 (13:56 +0000)]
update.

20 years agoUpdate.
tomo [Tue, 20 Jul 2004 13:54:05 +0000 (13:54 +0000)]
Update.

20 years agoUpdate version to 0.3.0.
tomo [Tue, 20 Jul 2004 13:53:05 +0000 (13:53 +0000)]
Update version to 0.3.0.

20 years ago(datadir): New variable.
tomo [Tue, 20 Jul 2004 13:52:05 +0000 (13:52 +0000)]
(datadir): New variable.
(libexecdir): Commented out.
(sharedstatedir): New variable.
(CHISE_DIR_PREFIX): Use ${datadir}/chise instead of
${libexecdir}/chise.
(CHISE_DIR_VERSION): Update to 0.3.
(CHISE_DB_DIR): Use ${CHISE_DIR} instead of ${CHISE_DIR}/${target}.

20 years agoupdate.
tomo [Sat, 17 Jul 2004 02:21:41 +0000 (02:21 +0000)]
update.

20 years ago(main): Use `chise_ds_location'.
tomo [Sat, 17 Jul 2004 02:17:26 +0000 (02:17 +0000)]
(main): Use `chise_ds_location'.

20 years agoUpdate.
tomo [Sat, 17 Jul 2004 02:16:15 +0000 (02:16 +0000)]
Update.

20 years agoUpdate version to 0.2.2.
tomo [Sat, 17 Jul 2004 02:14:53 +0000 (02:14 +0000)]
Update version to 0.2.2.

20 years ago(chise_ds_location): New prototype.
tomo [Sat, 17 Jul 2004 02:13:09 +0000 (02:13 +0000)]
(chise_ds_location): New prototype.
(CHISE_Property_Table): New type.
(CHISE_Property): New type.
(chise_ds_get_property): New prototype.
(chise_property_setup_db): Likewise.
(chise_property_sync): Likewise.
(chise_feature_set_property_value): Likewise.
(chise_feature_load_property_value): Likewise.
(chise_feature_gets_property_value): Likewise.

20 years ago(struct CHISE_DS): Add new member `property_names'.
tomo [Sat, 17 Jul 2004 02:08:52 +0000 (02:08 +0000)]
(struct CHISE_DS): Add new member `property_names'.
(CHISE_DS_open): Initialize `property_names'.
(CHISE_DS_close): Destroy `property_names'.
(chise_ds_location): New function.
(chise_ds_get_property): New function.
(struct CHISE_Property_Table): New structure.
(chise_ds_open_property_table): New function.
(chise_pt_close): Likewise.
(chise_property_setup_db): Likewise.
(chise_property_sync): Likewise.
(chise_feature_set_property_value): Likewise.
(chise_feature_load_property_value): Likewise.
(chise_feature_gets_property_value): Likewise.

20 years ago(ABI_VERSION): Update to 2:0:1.
tomo [Sat, 17 Jul 2004 01:53:54 +0000 (01:53 +0000)]
(ABI_VERSION): Update to 2:0:1.

20 years agorelease. libchise-0_2_1
tomo [Mon, 1 Mar 2004 12:38:11 +0000 (12:38 +0000)]
release.

20 years ago(ABI_VERSION): Update to Revision 1.
tomo [Mon, 1 Mar 2004 12:35:13 +0000 (12:35 +0000)]
(ABI_VERSION): Update to Revision 1.

20 years agoupdate.
tomo [Mon, 1 Mar 2004 12:33:57 +0000 (12:33 +0000)]
update.

20 years agoUpdate version to 0.2.1.
tomo [Mon, 1 Mar 2004 12:33:13 +0000 (12:33 +0000)]
Update version to 0.2.1.

20 years agoupdate.
tomo [Mon, 1 Mar 2004 01:48:15 +0000 (01:48 +0000)]
update.

20 years ago(chise_make_name_table): Change initial number of hash table to 256.
tomo [Mon, 1 Mar 2004 01:45:25 +0000 (01:45 +0000)]
(chise_make_name_table): Change initial number of hash table to 256.
(chise_destroy_name_table): Destroy each entry.

20 years ago(CHISE_DS_close): Use `chise_destroy_name_table'.
tomo [Mon, 1 Mar 2004 01:41:08 +0000 (01:41 +0000)]
(CHISE_DS_close): Use `chise_destroy_name_table'.

21 years ago(TAR): Don't expect ftp.in. libchise-0_2_0
tomo [Mon, 3 Nov 2003 13:55:21 +0000 (13:55 +0000)]
(TAR): Don't expect ftp.in.

21 years agoupdate.
tomo [Mon, 3 Nov 2003 13:46:06 +0000 (13:46 +0000)]
update.

21 years ago(TAR): New variable.
tomo [Mon, 3 Nov 2003 13:45:30 +0000 (13:45 +0000)]
(TAR): New variable.

21 years agoupdate.
tomo [Mon, 3 Nov 2003 13:42:21 +0000 (13:42 +0000)]
update.

21 years ago(tar): New target.
tomo [Mon, 3 Nov 2003 13:41:33 +0000 (13:41 +0000)]
(tar): New target.

21 years agoupdate.
tomo [Sun, 2 Nov 2003 15:32:25 +0000 (15:32 +0000)]
update.

21 years agoNew file.
tomo [Sun, 2 Nov 2003 15:28:34 +0000 (15:28 +0000)]
New file.

21 years agoNew file.
tomo [Sun, 2 Nov 2003 14:53:55 +0000 (14:53 +0000)]
New file.

21 years agoAdd header.
tomo [Sun, 2 Nov 2003 14:53:41 +0000 (14:53 +0000)]
Add header.

21 years agoupdate.
tomo [Sun, 2 Nov 2003 12:41:23 +0000 (12:41 +0000)]
update.

21 years ago(test_map_func): Modify to display UCS code point and character name.
tomo [Sun, 2 Nov 2003 12:39:12 +0000 (12:39 +0000)]
(test_map_func): Modify to display UCS code point and character name.
(main): Use `chise_system_db_dir'; display `numeric-value' instead of
`ascii'.

21 years agoMerge b1-r0_2_0-pre10. r0_2_0-pre1
tomo [Mon, 27 Oct 2003 11:40:49 +0000 (11:40 +0000)]
Merge b1-r0_2_0-pre10.

21 years agoupdate. r0_1_1-pre1
tomo [Tue, 12 Aug 2003 02:32:14 +0000 (02:32 +0000)]
update.

21 years ago(chise_dt_put_char): New function.
tomo [Tue, 12 Aug 2003 02:28:59 +0000 (02:28 +0000)]
(chise_dt_put_char): New function.
(chise_put_attribute_table): New function.

21 years ago(chise_dt_put_char): New function.
tomo [Tue, 12 Aug 2003 02:27:25 +0000 (02:27 +0000)]
(chise_dt_put_char): New function.

21 years agoupdate.
tomo [Sun, 10 Aug 2003 20:00:37 +0000 (20:00 +0000)]
update.

21 years ago(chise_format_char_id): New function.
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'.

21 years agoupdate.
tomo [Sat, 9 Aug 2003 18:11:26 +0000 (18:11 +0000)]
update.

21 years agoDefine `_CHISE_H'.
tomo [Sat, 9 Aug 2003 18:09:26 +0000 (18:09 +0000)]
Define `_CHISE_H'.

21 years agoupdate.
tomo [Sat, 9 Aug 2003 08:13:23 +0000 (08:13 +0000)]
update.

21 years ago(test_map_func): New function.
tomo [Sat, 9 Aug 2003 08:11:57 +0000 (08:11 +0000)]
(test_map_func): New function.
(main): Add sample of `chise_ft_iterate'.

21 years ago(chise_char_id_parse_c_string): New function.
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.

21 years ago(chise_ft_iterate): New function.
tomo [Sat, 9 Aug 2003 08:07:05 +0000 (08:07 +0000)]
(chise_ft_iterate): New function.

21 years agoupdate.
tomo [Thu, 7 Aug 2003 00:43:25 +0000 (00:43 +0000)]
update.

21 years ago(chise_ft_get_value): Use escape forms for some special characters.
tomo [Thu, 7 Aug 2003 00:41:54 +0000 (00:41 +0000)]
(chise_ft_get_value): Use escape forms for some special characters.

21 years agoupdate.
tomo [Wed, 6 Aug 2003 10:28:39 +0000 (10:28 +0000)]
update.

21 years ago(main): Rename "ideograph-daikanwa" to "=daikanwa".
tomo [Wed, 6 Aug 2003 10:27:11 +0000 (10:27 +0000)]
(main): Rename "ideograph-daikanwa" to "=daikanwa".

21 years ago(chise_open_attribute_table): Encode '/' and '%' in argument `feature'
tomo [Wed, 6 Aug 2003 10:25:43 +0000 (10:25 +0000)]
(chise_open_attribute_table): Encode '/' and '%' in argument `feature'
for file name.

21 years agoupdate.
tomo [Sat, 12 Jul 2003 10:22:06 +0000 (10:22 +0000)]
update.

21 years agoMove strnlen related code from chise.h to chise.c.
tomo [Sat, 12 Jul 2003 10:18:29 +0000 (10:18 +0000)]
Move strnlen related code from chise.h to chise.c.

21 years agoupdate.
tomo [Tue, 8 Jul 2003 17:21:23 +0000 (17:21 +0000)]
update.

21 years ago(CFLAGS): Refer @CFLAGS@.
tomo [Tue, 8 Jul 2003 17:20:09 +0000 (17:20 +0000)]
(CFLAGS): Refer @CFLAGS@.

21 years agoAdd check code for Fink.
tomo [Tue, 8 Jul 2003 17:18:36 +0000 (17:18 +0000)]
Add check code for Fink.

21 years agoupdate.
tomo [Tue, 8 Jul 2003 10:41:48 +0000 (10:41 +0000)]
update.

21 years ago(LIBTOOL): New variable.
tomo [Tue, 8 Jul 2003 10:39:38 +0000 (10:39 +0000)]
(LIBTOOL): New variable.
(distclean): New target.

21 years agoCheck about libtool.
tomo [Tue, 8 Jul 2003 10:31:43 +0000 (10:31 +0000)]
Check about libtool.

21 years agoupdate.
tomo [Tue, 8 Jul 2003 07:29:39 +0000 (07:29 +0000)]
update.

21 years agoUse libtool.
tomo [Tue, 8 Jul 2003 07:26:08 +0000 (07:26 +0000)]
Use libtool.

21 years agoupdate.
tomo [Mon, 7 Jul 2003 10:21:11 +0000 (10:21 +0000)]
update.

21 years agoInclude "config.h" when HAVE_CONFIG_H is defined.
tomo [Mon, 7 Jul 2003 10:18:37 +0000 (10:18 +0000)]
Include "config.h" when HAVE_CONFIG_H is defined.

21 years ago(strnlen): New inline function when HAVE_STRNLEN is not 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].

21 years agoDeleted.
tomo [Mon, 7 Jul 2003 10:17:06 +0000 (10:17 +0000)]
Deleted.

21 years agoNew file.
tomo [Mon, 7 Jul 2003 10:16:46 +0000 (10:16 +0000)]
New file.

21 years agoNew files.
tomo [Mon, 7 Jul 2003 10:16:05 +0000 (10:16 +0000)]
New files.

21 years agoupdate.
tomo [Wed, 12 Mar 2003 12:43:00 +0000 (12:43 +0000)]
update.

21 years ago(chise_dt_get_char): Use `chise_value_data' instead of
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.

21 years ago(chise_value_data): New inline function.
tomo [Wed, 12 Mar 2003 12:38:55 +0000 (12:38 +0000)]
(chise_value_data): New inline function.

21 years agoupdate.
tomo [Tue, 11 Mar 2003 00:44:44 +0000 (00:44 +0000)]
update.

21 years ago(chise_dt_get_char): Fix problem about `?\CHAR'.
tomo [Tue, 11 Mar 2003 00:43:36 +0000 (00:43 +0000)]
(chise_dt_get_char): Fix problem about `?\CHAR'.

21 years agoupdate.
tomo [Thu, 6 Mar 2003 08:11:50 +0000 (08:11 +0000)]
update.

21 years agoAdd comments.
tomo [Thu, 6 Mar 2003 08:11:26 +0000 (08:11 +0000)]
Add comments.

21 years agoupdate.
tomo [Thu, 6 Mar 2003 07:37:33 +0000 (07:37 +0000)]
update.

21 years agoUse <chise.h>.
tomo [Thu, 6 Mar 2003 07:36:33 +0000 (07:36 +0000)]
Use <chise.h>.
(db_dir): Use "/usr/local/lib/chise/char-db".

21 years agoInstall chise.h; setup /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/.

21 years agoNew file.
tomo [Thu, 6 Mar 2003 06:40:46 +0000 (06:40 +0000)]
New file.

21 years agoNew files.
tomo [Thu, 6 Mar 2003 06:39:24 +0000 (06:39 +0000)]
New files.