1 2003-08-15 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
3 * chise-name.h, name.c: New files.
5 2003-08-17 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
7 * chise.c (CHISE_Attribute_Table): Use <DB> instead of <struct
8 CHISE_Attribute_Table>.
9 (chise_put_attribute_table): New prototype.
10 (struct CHISE_Decoding_Table): Use <CHISE_Attribute_Table*>
11 instead of <DB*> as the type of member `db'.
12 (chise_ds_open_decoding_table): New implementation.
13 (chise_dt_close): Likewise.
14 (chise_dt_get_char): Modify for new implementation of <struct
15 CHISE_Decoding_Table>.
16 (chise_dt_put_char): Likewise.
17 (struct CHISE_Feature_Table): Use <CHISE_Attribute_Table*> instead
18 of <DB*> as the type of member `db'.
19 (chise_ds_open_feature_table): New implementation.
20 (chise_ft_close): Likewise.
21 (chise_ft_get_value): Modify for new implementation of <struct
23 (chise_open_attribute_table): Use db_dir instead of ds as the
24 first argument; modify for new implementation of
25 <CHISE_Attribute_Table>.
26 (chise_close_attribute_table): Modify for new implementation of
27 <CHISE_Attribute_Table>.
28 (chise_get_attribute_table): Likewise.
29 (chise_put_attribute_table): Likewise.
31 2003-08-17 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
33 * chise.c (CHISE_Attribute_Table): Moved from chise.h.
34 (struct CHISE_Decoding_Table): New structure.
35 (chise_ds_open_decoding_table): Cast the return value to
36 <CHISE_Decoding_Table*>.
37 (chise_dt_close): Cast back to <CHISE_Attribute_Table*>.
38 (chise_dt_get_char): Likewise.
39 (struct CHISE_Feature_Table): New structure.
40 (chise_ds_open_feature_table): Cast the return value to
41 <CHISE_Feature_Table*>.
42 (chise_ft_close): Cast back to <CHISE_Attribute_Table*>.
43 (chise_ft_get_value): Likewise.
45 * chise.h (CHISE_Attribute_Table): Deleted.
46 (CHISE_Decoding_Table): Use <struct CHISE_Decoding_Table> instead
47 of <CHISE_Attribute_Table>.
48 (CHISE_Feature_Table): Use <struct CHISE_Feature_Table> instead of
49 <CHISE_Attribute_Table>.
51 2003-08-17 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
53 * chise.c (chise_open_attribute_table): New prototype.
54 (chise_close_attribute_table): New prototype.
55 (chise_get_attribute_table): New prototype.
57 * chise.h (chise_open_attribute_table): Deleted.
58 (chise_close_attribute_table): Deleted.
59 (chise_get_attribute_table): Deleted.
61 2003-08-17 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
63 * chise.c (struct CHISE_DS): Definition of members are moved from
66 * chise.h (struct CHISE_DS): Omit definition of members.
68 2003-08-17 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
70 * sample.c (main): Modify for new API.
72 * chise.c (chise_open_data_source): Interface change; allocate a
73 CHISE_DS object and return it.
74 (chise_ds_close): Renamed from `chise_close_data_source'; destroy
75 the specified CHISE_DS object.
76 (chise_ds_open_decoding_table): Renamed from
77 `chise_open_decoding_table' and changed the interface.
78 (chise_dt_close): Renamed from `chise_close_decoding_table'.
79 (chise_ds_open_feature_table): Renamed from
80 `chise_open_feature_table' and changed the interface.
81 (chise_ft_close): Renamed from `chise_close_feature_table'.
82 (chise_open_attribute_table): Interface change; allocate a
83 CHISE_Attribute_Table object and return it; require pointer for
84 data source object instead of db_dir.
85 (chise_close_attribute_table): Destroy the specified
86 CHISE_Attribute_Table object.
88 * chise.h (struct CHISE_DS): Change type of location from <char*>
90 (chise_open_data_source): Change interface.
91 (chise_ds_close): Renamed from `chise_close_data_source'.
92 (struct CHISE_Attribute_Table): Add new member `ds'; rename `dbp'
94 (chise_ds_open_decoding_table): Renamed from
95 `chise_open_decoding_table' and changed the interface.
96 (chise_dt_close): Renamed from `chise_close_decoding_table'.
97 (chise_ds_open_feature_table): Renamed from
98 `chise_open_feature_table' and changed the interface.
99 (chise_ft_close): Renamed from `chise_close_feature_table'.
100 (chise_open_attribute_table): Change interface.
102 2003-08-12 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
104 * configure.in: Update version to 0.2.0.
106 * Makefile.in (ABI_VERSION): New variable.
107 (libchise.la): Specify $(ABI_VERSION) as -version-info of libtool.
109 2003-08-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
111 * sample.c (main): Use <CHISE_Decoding_Table> instead of
112 <CHISE_Decoding_Table*> to define `dt_daikanwa'; use
113 <CHISE_Feature_Table> instead of <CHISE_Feature_Table*> to define
114 `ft_ideographic_structure' and `ft_ascii'.
116 * chise.c (chise_open_decoding_table): Use <CHISE_Decoding_Table*>
117 instead of <CHISE_Decoding_Table**> as the type of the first
119 (chise_open_feature_table): Use <CHISE_Feature_Table*> instead of
120 <CHISE_Feature_Table**> as the type of the first argument.
121 (chise_ft_iterate): Modify for the structure
122 `CHISE_Feature_Table'.
123 (chise_open_attribute_table): Use <CHISE_Attribute_Table*> instead
124 of <CHISE_Attribute_Table **> as the type of the first argument;
125 modify for the structure <CHISE_Feature_Table>.
126 (chise_close_attribute_table): Modify for the structure
127 <CHISE_Feature_Table>.
128 (chise_get_attribute_table): Likewise.
129 (chise_put_attribute_table): Likewise.
131 * chise.h (CHISE_Attribute_Table): Define as a structure.
132 (chise_open_decoding_table): Use <CHISE_Decoding_Table*> instead
133 of <CHISE_Decoding_Table**> as the type of the first argument.
134 (chise_open_feature_table): Use <CHISE_Feature_Table*> instead of
135 <CHISE_Feature_Table**> as the type of the first argument.
136 (chise_open_attribute_table): Use <CHISE_Attribute_Table*> instead
137 of <CHISE_Attribute_Table**> as the type of the first argument.
139 2003-08-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
141 * chise.h (chise_dt_put_char): New prototype.
143 2003-08-10 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
145 * chise.c (chise_dt_put_char): New function.
146 (chise_put_attribute_table): New function.
148 2003-08-10 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
150 * chise.c (chise_format_char_id): New function.
151 (chise_ft_get_value): Use `chise_format_char_id'.
153 2003-08-09 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
155 * chise.h: Define `_CHISE_H'.
157 2003-08-09 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
159 * sample.c (test_map_func): New function.
160 (main): Add sample of `chise_ft_iterate'.
162 * chise.c (chise_char_id_parse_c_string): New function.
163 (chise_dt_get_char): Use `chise_char_id_parse_c_string'.
164 (chise_ft_iterate): New function.
166 * chise.h (chise_ft_iterate): New function.
168 2003-08-06 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
170 * chise.c (chise_ft_get_value): Use escape forms for some special
173 2003-08-06 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
175 * sample.c (main): Rename "ideograph-daikanwa" to "=daikanwa".
177 * chise.c (chise_open_attribute_table): Encode '/' and '%' in
178 argument `feature' for file name.
180 2003-07-12 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
182 * chise.c, chise.h: Move strnlen related code from chise.h to
185 2003-07-08 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
187 * Makefile.in (CFLAGS): Refer @CFLAGS@.
189 * configure.in: Add check code for Fink.
191 2003-07-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
193 * Makefile.in (LIBTOOL): New variable.
194 (distclean): New target.
196 * configure.in: Check about libtool.
198 2003-07-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
200 * Makefile.in: Use libtool.
202 2003-07-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
204 * chise.c: Include "config.h" when HAVE_CONFIG_H is defined.
206 * chise.h (strnlen): New inline function when HAVE_STRNLEN is not
207 defined [based on Izumi MIYAZAKI <imiyazaki@bun.kyoto-u.ac.jp>'s
212 * configure: New file.
214 * Makefile.in, config.h.in, configure.in: New files.
216 2003-03-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
218 * chise.c (chise_dt_get_char): Use `chise_value_data' instead of
219 `chise_value_to_c_string'; use `strnlen' and `chise_value_size'
220 instead of `strlen'; fix problem about control characters.
222 * chise.h (chise_value_data): New inline function.
224 2003-03-10 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
226 * chise.c (chise_dt_get_char): Fix problem about `?\CHAR'.
228 2003-03-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
230 * sample.c: Add comments.
232 2003-03-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
234 * sample.c: Use <chise.h>.
235 (db_dir): Use "/usr/local/lib/chise/char-db".
237 * Makefile: Install chise.h; setup /usr/local/lib/chise/char-db/.
239 2003-03-05 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
241 * Makefile, chise.c, chise.h, sample.c: New files.