1 2003-08-16 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
3 * Makefile.in (HEADERS): New variable.
5 (libchise.la): Refer $(OBJS); add --mode=link for libtool.
6 (chise.lo): Depends on config.h.
8 (install.h): Refer $(HEADERS).
10 2003-08-15 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
12 * chise-name.h, name.c: New files.
14 2003-08-17 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
16 * chise.c (CHISE_Attribute_Table): Use <DB> instead of <struct
17 CHISE_Attribute_Table>.
18 (chise_put_attribute_table): New prototype.
19 (struct CHISE_Decoding_Table): Use <CHISE_Attribute_Table*>
20 instead of <DB*> as the type of member `db'.
21 (chise_ds_open_decoding_table): New implementation.
22 (chise_dt_close): Likewise.
23 (chise_dt_get_char): Modify for new implementation of <struct
24 CHISE_Decoding_Table>.
25 (chise_dt_put_char): Likewise.
26 (struct CHISE_Feature_Table): Use <CHISE_Attribute_Table*> instead
27 of <DB*> as the type of member `db'.
28 (chise_ds_open_feature_table): New implementation.
29 (chise_ft_close): Likewise.
30 (chise_ft_get_value): Modify for new implementation of <struct
32 (chise_open_attribute_table): Use db_dir instead of ds as the
33 first argument; modify for new implementation of
34 <CHISE_Attribute_Table>.
35 (chise_close_attribute_table): Modify for new implementation of
36 <CHISE_Attribute_Table>.
37 (chise_get_attribute_table): Likewise.
38 (chise_put_attribute_table): Likewise.
40 2003-08-17 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
42 * chise.c (CHISE_Attribute_Table): Moved from chise.h.
43 (struct CHISE_Decoding_Table): New structure.
44 (chise_ds_open_decoding_table): Cast the return value to
45 <CHISE_Decoding_Table*>.
46 (chise_dt_close): Cast back to <CHISE_Attribute_Table*>.
47 (chise_dt_get_char): Likewise.
48 (struct CHISE_Feature_Table): New structure.
49 (chise_ds_open_feature_table): Cast the return value to
50 <CHISE_Feature_Table*>.
51 (chise_ft_close): Cast back to <CHISE_Attribute_Table*>.
52 (chise_ft_get_value): Likewise.
54 * chise.h (CHISE_Attribute_Table): Deleted.
55 (CHISE_Decoding_Table): Use <struct CHISE_Decoding_Table> instead
56 of <CHISE_Attribute_Table>.
57 (CHISE_Feature_Table): Use <struct CHISE_Feature_Table> instead of
58 <CHISE_Attribute_Table>.
60 2003-08-17 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
62 * chise.c (chise_open_attribute_table): New prototype.
63 (chise_close_attribute_table): New prototype.
64 (chise_get_attribute_table): New prototype.
66 * chise.h (chise_open_attribute_table): Deleted.
67 (chise_close_attribute_table): Deleted.
68 (chise_get_attribute_table): Deleted.
70 2003-08-17 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
72 * chise.c (struct CHISE_DS): Definition of members are moved from
75 * chise.h (struct CHISE_DS): Omit definition of members.
77 2003-08-17 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
79 * sample.c (main): Modify for new API.
81 * chise.c (chise_open_data_source): Interface change; allocate a
82 CHISE_DS object and return it.
83 (chise_ds_close): Renamed from `chise_close_data_source'; destroy
84 the specified CHISE_DS object.
85 (chise_ds_open_decoding_table): Renamed from
86 `chise_open_decoding_table' and changed the interface.
87 (chise_dt_close): Renamed from `chise_close_decoding_table'.
88 (chise_ds_open_feature_table): Renamed from
89 `chise_open_feature_table' and changed the interface.
90 (chise_ft_close): Renamed from `chise_close_feature_table'.
91 (chise_open_attribute_table): Interface change; allocate a
92 CHISE_Attribute_Table object and return it; require pointer for
93 data source object instead of db_dir.
94 (chise_close_attribute_table): Destroy the specified
95 CHISE_Attribute_Table object.
97 * chise.h (struct CHISE_DS): Change type of location from <char*>
99 (chise_open_data_source): Change interface.
100 (chise_ds_close): Renamed from `chise_close_data_source'.
101 (struct CHISE_Attribute_Table): Add new member `ds'; rename `dbp'
103 (chise_ds_open_decoding_table): Renamed from
104 `chise_open_decoding_table' and changed the interface.
105 (chise_dt_close): Renamed from `chise_close_decoding_table'.
106 (chise_ds_open_feature_table): Renamed from
107 `chise_open_feature_table' and changed the interface.
108 (chise_ft_close): Renamed from `chise_close_feature_table'.
109 (chise_open_attribute_table): Change interface.
111 2003-08-12 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
113 * configure.in: Update version to 0.2.0.
115 * Makefile.in (ABI_VERSION): New variable.
116 (libchise.la): Specify $(ABI_VERSION) as -version-info of libtool.
118 2003-08-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
120 * sample.c (main): Use <CHISE_Decoding_Table> instead of
121 <CHISE_Decoding_Table*> to define `dt_daikanwa'; use
122 <CHISE_Feature_Table> instead of <CHISE_Feature_Table*> to define
123 `ft_ideographic_structure' and `ft_ascii'.
125 * chise.c (chise_open_decoding_table): Use <CHISE_Decoding_Table*>
126 instead of <CHISE_Decoding_Table**> as the type of the first
128 (chise_open_feature_table): Use <CHISE_Feature_Table*> instead of
129 <CHISE_Feature_Table**> as the type of the first argument.
130 (chise_ft_iterate): Modify for the structure
131 `CHISE_Feature_Table'.
132 (chise_open_attribute_table): Use <CHISE_Attribute_Table*> instead
133 of <CHISE_Attribute_Table **> as the type of the first argument;
134 modify for the structure <CHISE_Feature_Table>.
135 (chise_close_attribute_table): Modify for the structure
136 <CHISE_Feature_Table>.
137 (chise_get_attribute_table): Likewise.
138 (chise_put_attribute_table): Likewise.
140 * chise.h (CHISE_Attribute_Table): Define as a structure.
141 (chise_open_decoding_table): Use <CHISE_Decoding_Table*> instead
142 of <CHISE_Decoding_Table**> as the type of the first argument.
143 (chise_open_feature_table): Use <CHISE_Feature_Table*> instead of
144 <CHISE_Feature_Table**> as the type of the first argument.
145 (chise_open_attribute_table): Use <CHISE_Attribute_Table*> instead
146 of <CHISE_Attribute_Table**> as the type of the first argument.
148 2003-08-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
150 * chise.h (chise_dt_put_char): New prototype.
152 2003-08-10 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
154 * chise.c (chise_dt_put_char): New function.
155 (chise_put_attribute_table): New function.
157 2003-08-10 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
159 * chise.c (chise_format_char_id): New function.
160 (chise_ft_get_value): Use `chise_format_char_id'.
162 2003-08-09 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
164 * chise.h: Define `_CHISE_H'.
166 2003-08-09 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
168 * sample.c (test_map_func): New function.
169 (main): Add sample of `chise_ft_iterate'.
171 * chise.c (chise_char_id_parse_c_string): New function.
172 (chise_dt_get_char): Use `chise_char_id_parse_c_string'.
173 (chise_ft_iterate): New function.
175 * chise.h (chise_ft_iterate): New function.
177 2003-08-06 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
179 * chise.c (chise_ft_get_value): Use escape forms for some special
182 2003-08-06 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
184 * sample.c (main): Rename "ideograph-daikanwa" to "=daikanwa".
186 * chise.c (chise_open_attribute_table): Encode '/' and '%' in
187 argument `feature' for file name.
189 2003-07-12 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
191 * chise.c, chise.h: Move strnlen related code from chise.h to
194 2003-07-08 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
196 * Makefile.in (CFLAGS): Refer @CFLAGS@.
198 * configure.in: Add check code for Fink.
200 2003-07-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
202 * Makefile.in (LIBTOOL): New variable.
203 (distclean): New target.
205 * configure.in: Check about libtool.
207 2003-07-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
209 * Makefile.in: Use libtool.
211 2003-07-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
213 * chise.c: Include "config.h" when HAVE_CONFIG_H is defined.
215 * chise.h (strnlen): New inline function when HAVE_STRNLEN is not
216 defined [based on Izumi MIYAZAKI <imiyazaki@bun.kyoto-u.ac.jp>'s
221 * configure: New file.
223 * Makefile.in, config.h.in, configure.in: New files.
225 2003-03-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
227 * chise.c (chise_dt_get_char): Use `chise_value_data' instead of
228 `chise_value_to_c_string'; use `strnlen' and `chise_value_size'
229 instead of `strlen'; fix problem about control characters.
231 * chise.h (chise_value_data): New inline function.
233 2003-03-10 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
235 * chise.c (chise_dt_get_char): Fix problem about `?\CHAR'.
237 2003-03-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
239 * sample.c: Add comments.
241 2003-03-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
243 * sample.c: Use <chise.h>.
244 (db_dir): Use "/usr/local/lib/chise/char-db".
246 * Makefile: Install chise.h; setup /usr/local/lib/chise/char-db/.
248 2003-03-05 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
250 * Makefile, chise.c, chise.h, sample.c: New files.