1 2005-03-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3 * libchise 0.3.0 released.
5 2005-03-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
7 * chise.h: Modify for C++.
9 * sample.c (test_radical_func): New function.
10 (main): Add sample code about `ideographic-radical'.
12 2004-07-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
14 * configure.in: Update version to 0.3.0.
16 * Makefile.in (datadir): New variable.
17 (libexecdir): Commented out.
18 (sharedstatedir): New variable.
19 (CHISE_DIR_PREFIX): Use ${datadir}/chise instead of
21 (CHISE_DIR_VERSION): Update to 0.3.
22 (CHISE_DB_DIR): Use ${CHISE_DIR} instead of
23 ${CHISE_DIR}/${target}.
25 2004-07-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
27 * chise.c (struct CHISE_DS): Add new member `property_names'.
28 (CHISE_DS_open): Initialize `property_names'.
29 (CHISE_DS_close): Destroy `property_names'.
30 (chise_ds_location): New function.
31 (chise_ds_get_property): New function.
32 (struct CHISE_Property_Table): New structure.
33 (chise_ds_open_property_table): New function.
34 (chise_pt_close): Likewise.
35 (chise_property_setup_db): Likewise.
36 (chise_property_sync): Likewise.
37 (chise_feature_set_property_value): Likewise.
38 (chise_feature_load_property_value): Likewise.
39 (chise_feature_gets_property_value): Likewise.
41 * chise.h (chise_ds_location): New prototype.
42 (CHISE_Property_Table): New type.
43 (CHISE_Property): New type.
44 (chise_ds_get_property): New prototype.
45 (chise_property_setup_db): Likewise.
46 (chise_property_sync): Likewise.
47 (chise_feature_set_property_value): Likewise.
48 (chise_feature_load_property_value): Likewise.
49 (chise_feature_gets_property_value): Likewise.
51 * sample.c (main): Use `chise_ds_location'.
53 * configure.in: Update version to 0.2.2.
55 * Makefile.in (ABI_VERSION): Update to 2:0:1.
58 2004-03-01 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
60 * libchise 0.2.1 released.
62 * Makefile.in (ABI_VERSION): Update to Revision 1.
64 * configure.in: Update version to 0.2.1.
66 2004-02-26 MORIOKA Tomohiko <tomo@m17n.org>
68 * name.c (chise_make_name_table): Change initial number of hash
70 (chise_destroy_name_table): Destroy each entry.
72 * chise.c (CHISE_DS_close): Use `chise_destroy_name_table'.
75 2003-11-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
77 * libchise 0.2.0 released.
79 2003-11-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
81 * Makefile.in (TAR): New variable.
83 2003-11-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
85 * Makefile.in (tar): New target.
87 2003-11-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
89 * README.en, COPYING.LIB: New files.
91 * chise-name.h, chise.c, chise.h, name.c: Add header.
93 2003-10-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
95 * sample.c (test_map_func): Modify to display UCS code point and
97 (main): Use `chise_system_db_dir'; display `numeric-value' instead
100 2003-10-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
102 * chise.c (CHISE_Attribute_Table_open): Add code for BDB Ver. 4.1
105 * chise.h (chise_system_db_dir): New constant.
107 2003-10-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
109 * Makefile.in (LIBS): Don't add -ldb.
111 * configure.in: Setup LIBS; check /sw/include/db4/db.h and setup
112 for db4 when the library is found.
114 2003-10-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
116 * aclocal.m4, ltmain.sh, config.guess, config.sub, install-sh: New
119 * Makefile.in (target): New variable.
120 (top_builddir): New variable.
121 (CHISE_DIR_PREFIX): New variable.
122 (CHISE_DIR_VERSION): New variable.
123 (CHISE_DIR): New variable.
124 (CHISE_DB_DIR): Renamed from `DB_DIR'; use `CHISE_DIR'.
125 (CHISE_SI_DB_DIR): New variable.
126 (CHISE_CFLAGS): New variable; define `CHISE_SI_DB_DIR'.
127 (chise.lo): Use $(CHISE_CFLAGS).
129 * configure.in: Add `AC_CANONICAL_TARGET'; use `AC_PROG_LIBTOOL'
130 instead of `AC_CHECK_PROGS' for `LIBTOOL'.
132 * chise.c (chise_system_db_dir): New constant.
133 (CHISE_DS_open): Don't use DBTYPE.
135 2003-10-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
137 * chise.h (CHISE_DS_open): Don't use DBTYPE.
139 2003-10-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
141 * Makefile.in (DB_DIR): Update version to 0.2.
143 2003-10-13 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
145 * chise.c (chise_ds_foreach_char_feature_name): Read
146 ${db_dir}/character/feature/ instead of ${db_dir}/system-char-id.
147 (chise_feature_setup_db): Modify for `CHISE_Attribute_Table_open'.
148 (chise_ccs_setup_db): Likewise.
149 (CHISE_Attribute_Table_open): Change interface to specify
150 category/key_type/name instead of encoding/feature.
152 2003-10-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
154 * chise.c (chise_ds_foreach_char_feature_name): New function.
155 (chise_feature_foreach_char_with_value): Renamed from
156 `chise_char_feature_value_iterate'.
158 2003-10-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
160 * sample.c (test_name_map_func): New function.
161 (main): Use `chise_ds_foreach_char_feature_name'.
163 * Makefile.in (sample): Add -Wall -Wmissing-prototypes options for
166 * chise.h (chise_ds_foreach_char_feature_name): New prototype.
167 (chise_feature_foreach_char_with_value): Renamed from
168 `chise_char_feature_value_iterate'.
170 2003-10-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
172 * sample.c (char db_dir): Deleted.
173 (main): Use ${chise_db_dir}/db/ for the location of data-source.
175 * Makefile.in (prefix): Use @prefix@.
176 (exec_prefix): Use @exec_prefix@.
177 (libdir): Use @libdir@.
178 (libexecdir): New variable.
179 (DB_INSTALLDIR): Deleted.
180 (DB_DIR): New variable.
181 (chise.lo): Specify DB_DIR.
182 (install): Don't call install.db.
183 (install.db): Deleted.
185 * chise.h, chise.c (chise_db_dir): New variable.
186 (CHISE_DS_open): Use <const unsigned char *> instead of <char *>
187 as the type of location.
189 2003-10-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
191 * chise.h (chise_feature_setup_db): New prototype.
192 (chise_ccs_setup_db): Likewise.
194 * chise.c (chise_feature_setup_db): Changed to public function.
195 (chise_ccs_setup_db): New function.
196 (chise_ccs_decode): Use `chise_ccs_setup_db'.
197 (chise_ccs_set_decoded_char): Likewise.
199 2003-10-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
201 * chise.c (CHISE_Attribute_Table_open): Create required
202 directories when running with create mode.
204 2003-10-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
206 * chise.h (chise_feature_sync): New prototype.
207 (chise_char_set_feature_value): New prototype.
208 (chise_ds_load_char_feature_value): New inline function.
210 * chise.c (chise_feature_sync): New function.
211 (chise_char_set_feature_value): New function.
213 2003-10-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
215 * sample.c (main): Use `chise_ds_decode_char' instead of
216 `chise_ds_get_ccs' and `chise_ccs_decode'.
218 * chise.c (chise_ccs_decode): Return -1 when argument `ccs' is
220 (chise_ccs_set_decoded_char): Likewise.
222 * chise.h (chise_ds_decode_char): New inline function.
224 2003-10-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
227 - `chise_open_data_source' is renamed to `CHISE_DS_open'.
228 - `chise_ds_close' is renamed to `CHISE_DS_close'.
230 * name.c: Modify to avoid warning.
232 * chise-name.h (chise_make_name_table): Modify to avoid warning.
234 * chise.c (strnlen): Separated to sysdep.h; include sysdep.h
236 (CHISE_Attribute_Table_open): Renamed from
237 `chise_open_attribute_table'.
238 (CHISE_Attribute_Table_close): Renamed from
239 `chise_close_attribute_table'.
240 (chise_attribute_table_get): Renamed from
241 `chise_get_attribute_table'.
242 (chise_attribute_table_put): Renamed from
243 `chise_put_attribute_table'.
244 (CHISE_DS_open): Renamed from `chise_open_data_source'.
245 (CHISE_DS_close): Renamed from `chise_ds_close'.
246 (chise_feature_setup_db): New function.
247 (chise_char_load_feature_value): Use `chise_feature_setup_db'.
248 (chise_char_gets_feature_value): Likewise.
249 (chise_char_feature_value_iterate): Likewise.
251 * Makefile.in (CFLAGS): Add -Wall and -Wmissing-prototypes.
252 (chise.lo): Add dependency on sysdep.h.
254 * chise.h (CHISE_DS_open): Renamed from `chise_open_data_source'.
255 (CHISE_DS_close): Renamed from `chise_ds_close'.
257 * sysdep.h: New file [separate from chise.c].
259 2003-10-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
261 * chise.h (chise_ds_open_feature_table): Abolished.
262 (chise_ft_close): Likewise.
264 2003-10-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
266 * sample.c: Update for the latest API.
268 * chise.c (struct CHISE_DS): Add new member `subtype' and
270 (chise_open_data_source): Add new arguments `subtype' and
272 (chise_ds_get_feature): Delete arguments `real_subtype',
273 `accessmask', `modemask'.
274 (chise_ds_get_ccs): Likewise.
275 (struct CHISE_Feature_Table): Add new member `name' and `access'.
276 (chise_ds_open_feature_table): Delete arguments `real_subtype',
277 `accessmask', `modemask'.
278 (chise_ft_close): Release `table->name'.
279 (chise_char_load_feature_value): Setup `table->db'.
280 (chise_char_gets_feature_value): Likewise.
281 (chise_char_feature_value_iterate): Return an integer value; setup
283 (struct CHISE_CCS_Table): Add new member `name' and `access'.
284 (chise_ds_open_ccs_table): Delete arguments `real_subtype',
285 `accessmask', `modemask'.
286 (chise_ccst_close): Release `table->name'.
287 (chise_ccs_sync): New function.
288 (chise_ccs_decode): Setup `ccs->db'.
289 (chise_ccs_set_decoded_char): Renamed from `chise_ccst_put_char';
292 * chise.h (chise_open_data_source): Add new arguments `subtype'
294 (chise_ds_get_feature): Delete arguments `real_subtype',
295 `accessmask', `modemask'.
296 (chise_char_feature_value_iterate): Return an integer value.
297 (chise_char_feature_str_iterate): Comment out.
298 (chise_ds_open_feature_table): Delete arguments `real_subtype',
299 `accessmask', `modemask'.
300 (chise_ds_get_ccs): Delete arguments `real_subtype', `accessmask',
302 (chise_ccs_set_decoded_char): Renamed from `chise_ccst_put_char'.
303 (chise_ccs_sync): New prototype.
304 (chise_ds_open_ccs_table): Abolished.
305 (int chise_ccst_close): Abolished.
307 2003-08-28 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
309 * sample.c (test_map_func): Modify for
310 chise_char_feature_value_iterate.
311 (main): Rename `dt_*' to `ccs_*'; use `chise_ds_get_ccs' instead
312 of `chise_ds_open_decoding_table'; use `chise_ccs_decode' instead
313 of `chise_dt_get_char'; don't use `chise_dt_close'; use `use
314 `chise_ds_get_feature' instead of `chise_ds_open_feature_table';
315 use `chise_char_gets_feature_value' instead of
316 `chise_ft_get_value'; use `chise_char_feature_value_iterate'
317 instead of `chise_ft_iterate'; don't use `chise_ft_close'.
319 2003-08-26 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
321 * chise.c: Include "chise-name.h".
322 (CHISE_DS): Add new members `feature_names' and `ccs_names'.
323 (chise_open_data_source): Setup ds->feature_names and
325 (chise_ds_close): Release ds->feature_names and ds->ccs_names.
326 (chise_ds_get_feature): New function.
327 (chise_ds_get_ccs): New function.
328 (chise_char_load_feature_value): Renamed from
329 `chise_ft_get_value'; modify interface.
330 (chise_char_gets_feature_value): New function.
331 (chise_char_feature_value_iterate): Renamed from
332 `chise_ft_iterate'; modify interface.
333 (CHISE_CCS_Table): Renamed from `CHISE_Decoding_Table'.
334 (chise_ds_open_ccs_table): Renamed from
335 `chise_ds_open_decoding_table'.
336 (chise_ccst_close): Renamed from `chise_dt_close'.
337 (chise_ccs_decode): Renamed from `chise_dt_get_char'.
338 (chise_ccst_put_char): Renamed from `chise_dt_put_char'.
340 * chise.h (CHISE_Feature): New type.
341 (chise_ds_get_feature): New prototype.
342 (chise_char_load_feature_value): Renamed from
343 `chise_ft_get_value'; modify interface.
344 (chise_char_gets_feature_value): New prototype.
345 (chise_char_feature_value_iterate): Renamed from
346 `chise_ft_iterate'; modify interface.
347 (chise_char_feature_str_iterate): New prototype.
348 (CHISE_CCS_Table): Renamed from `CHISE_Decoding_Table'.
349 (CHISE_CCS): New type.
350 (chise_ds_get_ccs): New prototype.
351 (chise_ccs_decode): Renamed from `chise_dt_get_char'.
352 (chise_ds_open_ccs_table): Renamed from
353 `chise_ds_open_decoding_table'.
354 (chise_ccst_close): Renamed from `chise_dt_close'.
355 (chise_ccst_put_char): Renamed from `chise_dt_put_char'.
356 (chise_decode_char): Deleted.
357 (chise_get_feature): Deleted.
359 2003-08-20 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
361 * name.c: Include "chise-name.h".
362 (chise_name_table_put): Use <const unsigned char*> instead of
363 <unsigned char*> for key.
364 (chise_name_table_get): Likewise.
366 * chise-name.h (chise_name_table_put): Use <const unsigned char*>
367 instead of <unsigned char*> for key.
368 (chise_name_table_get): Likewise.
370 2003-08-16 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
372 * Makefile.in (HEADERS): New variable.
373 (OBJS): New variable.
374 (libchise.la): Refer $(OBJS); add --mode=link for libtool.
375 (chise.lo): Depends on config.h.
376 (name.lo): New target.
377 (install.h): Refer $(HEADERS).
379 2003-08-15 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
381 * chise-name.h, name.c: New files.
383 2003-08-17 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
385 * chise.c (CHISE_Attribute_Table): Use <DB> instead of <struct
386 CHISE_Attribute_Table>.
387 (chise_put_attribute_table): New prototype.
388 (struct CHISE_Decoding_Table): Use <CHISE_Attribute_Table*>
389 instead of <DB*> as the type of member `db'.
390 (chise_ds_open_decoding_table): New implementation.
391 (chise_dt_close): Likewise.
392 (chise_dt_get_char): Modify for new implementation of <struct
393 CHISE_Decoding_Table>.
394 (chise_dt_put_char): Likewise.
395 (struct CHISE_Feature_Table): Use <CHISE_Attribute_Table*> instead
396 of <DB*> as the type of member `db'.
397 (chise_ds_open_feature_table): New implementation.
398 (chise_ft_close): Likewise.
399 (chise_ft_get_value): Modify for new implementation of <struct
400 CHISE_Feature_Table>.
401 (chise_open_attribute_table): Use db_dir instead of ds as the
402 first argument; modify for new implementation of
403 <CHISE_Attribute_Table>.
404 (chise_close_attribute_table): Modify for new implementation of
405 <CHISE_Attribute_Table>.
406 (chise_get_attribute_table): Likewise.
407 (chise_put_attribute_table): Likewise.
409 2003-08-17 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
411 * chise.c (CHISE_Attribute_Table): Moved from chise.h.
412 (struct CHISE_Decoding_Table): New structure.
413 (chise_ds_open_decoding_table): Cast the return value to
414 <CHISE_Decoding_Table*>.
415 (chise_dt_close): Cast back to <CHISE_Attribute_Table*>.
416 (chise_dt_get_char): Likewise.
417 (struct CHISE_Feature_Table): New structure.
418 (chise_ds_open_feature_table): Cast the return value to
419 <CHISE_Feature_Table*>.
420 (chise_ft_close): Cast back to <CHISE_Attribute_Table*>.
421 (chise_ft_get_value): Likewise.
423 * chise.h (CHISE_Attribute_Table): Deleted.
424 (CHISE_Decoding_Table): Use <struct CHISE_Decoding_Table> instead
425 of <CHISE_Attribute_Table>.
426 (CHISE_Feature_Table): Use <struct CHISE_Feature_Table> instead of
427 <CHISE_Attribute_Table>.
429 2003-08-17 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
431 * chise.c (chise_open_attribute_table): New prototype.
432 (chise_close_attribute_table): New prototype.
433 (chise_get_attribute_table): New prototype.
435 * chise.h (chise_open_attribute_table): Deleted.
436 (chise_close_attribute_table): Deleted.
437 (chise_get_attribute_table): Deleted.
439 2003-08-17 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
441 * chise.c (struct CHISE_DS): Definition of members are moved from
444 * chise.h (struct CHISE_DS): Omit definition of members.
446 2003-08-17 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
448 * sample.c (main): Modify for new API.
450 * chise.c (chise_open_data_source): Interface change; allocate a
451 CHISE_DS object and return it.
452 (chise_ds_close): Renamed from `chise_close_data_source'; destroy
453 the specified CHISE_DS object.
454 (chise_ds_open_decoding_table): Renamed from
455 `chise_open_decoding_table' and changed the interface.
456 (chise_dt_close): Renamed from `chise_close_decoding_table'.
457 (chise_ds_open_feature_table): Renamed from
458 `chise_open_feature_table' and changed the interface.
459 (chise_ft_close): Renamed from `chise_close_feature_table'.
460 (chise_open_attribute_table): Interface change; allocate a
461 CHISE_Attribute_Table object and return it; require pointer for
462 data source object instead of db_dir.
463 (chise_close_attribute_table): Destroy the specified
464 CHISE_Attribute_Table object.
466 * chise.h (struct CHISE_DS): Change type of location from <char*>
468 (chise_open_data_source): Change interface.
469 (chise_ds_close): Renamed from `chise_close_data_source'.
470 (struct CHISE_Attribute_Table): Add new member `ds'; rename `dbp'
472 (chise_ds_open_decoding_table): Renamed from
473 `chise_open_decoding_table' and changed the interface.
474 (chise_dt_close): Renamed from `chise_close_decoding_table'.
475 (chise_ds_open_feature_table): Renamed from
476 `chise_open_feature_table' and changed the interface.
477 (chise_ft_close): Renamed from `chise_close_feature_table'.
478 (chise_open_attribute_table): Change interface.
480 2003-08-12 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
482 * configure.in: Update version to 0.2.0.
484 * Makefile.in (ABI_VERSION): New variable.
485 (libchise.la): Specify $(ABI_VERSION) as -version-info of libtool.
487 2003-08-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
489 * sample.c (main): Use <CHISE_Decoding_Table> instead of
490 <CHISE_Decoding_Table*> to define `dt_daikanwa'; use
491 <CHISE_Feature_Table> instead of <CHISE_Feature_Table*> to define
492 `ft_ideographic_structure' and `ft_ascii'.
494 * chise.c (chise_open_decoding_table): Use <CHISE_Decoding_Table*>
495 instead of <CHISE_Decoding_Table**> as the type of the first
497 (chise_open_feature_table): Use <CHISE_Feature_Table*> instead of
498 <CHISE_Feature_Table**> as the type of the first argument.
499 (chise_ft_iterate): Modify for the structure
500 `CHISE_Feature_Table'.
501 (chise_open_attribute_table): Use <CHISE_Attribute_Table*> instead
502 of <CHISE_Attribute_Table **> as the type of the first argument;
503 modify for the structure <CHISE_Feature_Table>.
504 (chise_close_attribute_table): Modify for the structure
505 <CHISE_Feature_Table>.
506 (chise_get_attribute_table): Likewise.
507 (chise_put_attribute_table): Likewise.
509 * chise.h (CHISE_Attribute_Table): Define as a structure.
510 (chise_open_decoding_table): Use <CHISE_Decoding_Table*> instead
511 of <CHISE_Decoding_Table**> as the type of the first argument.
512 (chise_open_feature_table): Use <CHISE_Feature_Table*> instead of
513 <CHISE_Feature_Table**> as the type of the first argument.
514 (chise_open_attribute_table): Use <CHISE_Attribute_Table*> instead
515 of <CHISE_Attribute_Table**> as the type of the first argument.
517 2003-08-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
519 * chise.h (chise_dt_put_char): New prototype.
521 2003-08-10 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
523 * chise.c (chise_dt_put_char): New function.
524 (chise_put_attribute_table): New function.
526 2003-08-10 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
528 * chise.c (chise_format_char_id): New function.
529 (chise_ft_get_value): Use `chise_format_char_id'.
531 2003-08-09 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
533 * chise.h: Define `_CHISE_H'.
535 2003-08-09 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
537 * sample.c (test_map_func): New function.
538 (main): Add sample of `chise_ft_iterate'.
540 * chise.c (chise_char_id_parse_c_string): New function.
541 (chise_dt_get_char): Use `chise_char_id_parse_c_string'.
542 (chise_ft_iterate): New function.
544 * chise.h (chise_ft_iterate): New function.
546 2003-08-06 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
548 * chise.c (chise_ft_get_value): Use escape forms for some special
551 2003-08-06 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
553 * sample.c (main): Rename "ideograph-daikanwa" to "=daikanwa".
555 * chise.c (chise_open_attribute_table): Encode '/' and '%' in
556 argument `feature' for file name.
558 2003-07-12 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
560 * chise.c, chise.h: Move strnlen related code from chise.h to
563 2003-07-08 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
565 * Makefile.in (CFLAGS): Refer @CFLAGS@.
567 * configure.in: Add check code for Fink.
569 2003-07-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
571 * Makefile.in (LIBTOOL): New variable.
572 (distclean): New target.
574 * configure.in: Check about libtool.
576 2003-07-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
578 * Makefile.in: Use libtool.
580 2003-07-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
582 * chise.c: Include "config.h" when HAVE_CONFIG_H is defined.
584 * chise.h (strnlen): New inline function when HAVE_STRNLEN is not
585 defined [based on Izumi MIYAZAKI <imiyazaki@bun.kyoto-u.ac.jp>'s
590 * configure: New file.
592 * Makefile.in, config.h.in, configure.in: New files.
594 2003-03-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
596 * chise.c (chise_dt_get_char): Use `chise_value_data' instead of
597 `chise_value_to_c_string'; use `strnlen' and `chise_value_size'
598 instead of `strlen'; fix problem about control characters.
600 * chise.h (chise_value_data): New inline function.
602 2003-03-10 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
604 * chise.c (chise_dt_get_char): Fix problem about `?\CHAR'.
606 2003-03-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
608 * sample.c: Add comments.
610 2003-03-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
612 * sample.c: Use <chise.h>.
613 (db_dir): Use "/usr/local/lib/chise/char-db".
615 * Makefile: Install chise.h; setup /usr/local/lib/chise/char-db/.
617 2003-03-05 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
619 * Makefile, chise.c, chise.h, sample.c: New files.