1 2003-08-17 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
3 * chise.c (struct CHISE_DS): Definition of members are moved from
6 * chise.h (struct CHISE_DS): Omit definition of members.
8 2003-08-17 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
10 * sample.c (main): Modify for new API.
12 * chise.c (chise_open_data_source): Interface change; allocate a
13 CHISE_DS object and return it.
14 (chise_ds_close): Renamed from `chise_close_data_source'; destroy
15 the specified CHISE_DS object.
16 (chise_ds_open_decoding_table): Renamed from
17 `chise_open_decoding_table' and changed the interface.
18 (chise_dt_close): Renamed from `chise_close_decoding_table'.
19 (chise_ds_open_feature_table): Renamed from
20 `chise_open_feature_table' and changed the interface.
21 (chise_ft_close): Renamed from `chise_close_feature_table'.
22 (chise_open_attribute_table): Interface change; allocate a
23 CHISE_Attribute_Table object and return it; require pointer for
24 data source object instead of db_dir.
25 (chise_close_attribute_table): Destroy the specified
26 CHISE_Attribute_Table object.
28 * chise.h (struct CHISE_DS): Change type of location from <char*>
30 (chise_open_data_source): Change interface.
31 (chise_ds_close): Renamed from `chise_close_data_source'.
32 (struct CHISE_Attribute_Table): Add new member `ds'; rename `dbp'
34 (chise_ds_open_decoding_table): Renamed from
35 `chise_open_decoding_table' and changed the interface.
36 (chise_dt_close): Renamed from `chise_close_decoding_table'.
37 (chise_ds_open_feature_table): Renamed from
38 `chise_open_feature_table' and changed the interface.
39 (chise_ft_close): Renamed from `chise_close_feature_table'.
40 (chise_open_attribute_table): Change interface.
42 2003-08-12 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
44 * configure.in: Update version to 0.2.0.
46 * Makefile.in (ABI_VERSION): New variable.
47 (libchise.la): Specify $(ABI_VERSION) as -version-info of libtool.
49 2003-08-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
51 * sample.c (main): Use <CHISE_Decoding_Table> instead of
52 <CHISE_Decoding_Table*> to define `dt_daikanwa'; use
53 <CHISE_Feature_Table> instead of <CHISE_Feature_Table*> to define
54 `ft_ideographic_structure' and `ft_ascii'.
56 * chise.c (chise_open_decoding_table): Use <CHISE_Decoding_Table*>
57 instead of <CHISE_Decoding_Table**> as the type of the first
59 (chise_open_feature_table): Use <CHISE_Feature_Table*> instead of
60 <CHISE_Feature_Table**> as the type of the first argument.
61 (chise_ft_iterate): Modify for the structure
62 `CHISE_Feature_Table'.
63 (chise_open_attribute_table): Use <CHISE_Attribute_Table*> instead
64 of <CHISE_Attribute_Table **> as the type of the first argument;
65 modify for the structure <CHISE_Feature_Table>.
66 (chise_close_attribute_table): Modify for the structure
67 <CHISE_Feature_Table>.
68 (chise_get_attribute_table): Likewise.
69 (chise_put_attribute_table): Likewise.
71 * chise.h (CHISE_Attribute_Table): Define as a structure.
72 (chise_open_decoding_table): Use <CHISE_Decoding_Table*> instead
73 of <CHISE_Decoding_Table**> as the type of the first argument.
74 (chise_open_feature_table): Use <CHISE_Feature_Table*> instead of
75 <CHISE_Feature_Table**> as the type of the first argument.
76 (chise_open_attribute_table): Use <CHISE_Attribute_Table*> instead
77 of <CHISE_Attribute_Table**> as the type of the first argument.
79 2003-08-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
81 * chise.h (chise_dt_put_char): New prototype.
83 2003-08-10 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
85 * chise.c (chise_dt_put_char): New function.
86 (chise_put_attribute_table): New function.
88 2003-08-10 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
90 * chise.c (chise_format_char_id): New function.
91 (chise_ft_get_value): Use `chise_format_char_id'.
93 2003-08-09 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
95 * chise.h: Define `_CHISE_H'.
97 2003-08-09 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
99 * sample.c (test_map_func): New function.
100 (main): Add sample of `chise_ft_iterate'.
102 * chise.c (chise_char_id_parse_c_string): New function.
103 (chise_dt_get_char): Use `chise_char_id_parse_c_string'.
104 (chise_ft_iterate): New function.
106 * chise.h (chise_ft_iterate): New function.
108 2003-08-06 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
110 * chise.c (chise_ft_get_value): Use escape forms for some special
113 2003-08-06 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
115 * sample.c (main): Rename "ideograph-daikanwa" to "=daikanwa".
117 * chise.c (chise_open_attribute_table): Encode '/' and '%' in
118 argument `feature' for file name.
120 2003-07-12 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
122 * chise.c, chise.h: Move strnlen related code from chise.h to
125 2003-07-08 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
127 * Makefile.in (CFLAGS): Refer @CFLAGS@.
129 * configure.in: Add check code for Fink.
131 2003-07-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
133 * Makefile.in (LIBTOOL): New variable.
134 (distclean): New target.
136 * configure.in: Check about libtool.
138 2003-07-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
140 * Makefile.in: Use libtool.
142 2003-07-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
144 * chise.c: Include "config.h" when HAVE_CONFIG_H is defined.
146 * chise.h (strnlen): New inline function when HAVE_STRNLEN is not
147 defined [based on Izumi MIYAZAKI <imiyazaki@bun.kyoto-u.ac.jp>'s
152 * configure: New file.
154 * Makefile.in, config.h.in, configure.in: New files.
156 2003-03-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
158 * chise.c (chise_dt_get_char): Use `chise_value_data' instead of
159 `chise_value_to_c_string'; use `strnlen' and `chise_value_size'
160 instead of `strlen'; fix problem about control characters.
162 * chise.h (chise_value_data): New inline function.
164 2003-03-10 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
166 * chise.c (chise_dt_get_char): Fix problem about `?\CHAR'.
168 2003-03-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
170 * sample.c: Add comments.
172 2003-03-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
174 * sample.c: Use <chise.h>.
175 (db_dir): Use "/usr/local/lib/chise/char-db".
177 * Makefile: Install chise.h; setup /usr/local/lib/chise/char-db/.
179 2003-03-05 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
181 * Makefile, chise.c, chise.h, sample.c: New files.