1 2003-08-17 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
3 * sample.c (main): Modify for new API.
5 * chise.c (chise_open_data_source): Interface change; allocate a
6 CHISE_DS object and return it.
7 (chise_ds_close): Renamed from `chise_close_data_source'; destroy
8 the specified CHISE_DS object.
9 (chise_ds_open_decoding_table): Renamed from
10 `chise_open_decoding_table' and changed the interface.
11 (chise_dt_close): Renamed from `chise_close_decoding_table'.
12 (chise_ds_open_feature_table): Renamed from
13 `chise_open_feature_table' and changed the interface.
14 (chise_ft_close): Renamed from `chise_close_feature_table'.
15 (chise_open_attribute_table): Interface change; allocate a
16 CHISE_Attribute_Table object and return it; require pointer for
17 data source object instead of db_dir.
18 (chise_close_attribute_table): Destroy the specified
19 CHISE_Attribute_Table object.
21 * chise.h (struct CHISE_DS): Change type of location from <char*>
23 (chise_open_data_source): Change interface.
24 (chise_ds_close): Renamed from `chise_close_data_source'.
25 (struct CHISE_Attribute_Table): Add new member `ds'; rename `dbp'
27 (chise_ds_open_decoding_table): Renamed from
28 `chise_open_decoding_table' and changed the interface.
29 (chise_dt_close): Renamed from `chise_close_decoding_table'.
30 (chise_ds_open_feature_table): Renamed from
31 `chise_open_feature_table' and changed the interface.
32 (chise_ft_close): Renamed from `chise_close_feature_table'.
33 (chise_open_attribute_table): Change interface.
35 2003-08-12 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
37 * configure.in: Update version to 0.2.0.
39 * Makefile.in (ABI_VERSION): New variable.
40 (libchise.la): Specify $(ABI_VERSION) as -version-info of libtool.
42 2003-08-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
44 * sample.c (main): Use <CHISE_Decoding_Table> instead of
45 <CHISE_Decoding_Table*> to define `dt_daikanwa'; use
46 <CHISE_Feature_Table> instead of <CHISE_Feature_Table*> to define
47 `ft_ideographic_structure' and `ft_ascii'.
49 * chise.c (chise_open_decoding_table): Use <CHISE_Decoding_Table*>
50 instead of <CHISE_Decoding_Table**> as the type of the first
52 (chise_open_feature_table): Use <CHISE_Feature_Table*> instead of
53 <CHISE_Feature_Table**> as the type of the first argument.
54 (chise_ft_iterate): Modify for the structure
55 `CHISE_Feature_Table'.
56 (chise_open_attribute_table): Use <CHISE_Attribute_Table*> instead
57 of <CHISE_Attribute_Table **> as the type of the first argument;
58 modify for the structure <CHISE_Feature_Table>.
59 (chise_close_attribute_table): Modify for the structure
60 <CHISE_Feature_Table>.
61 (chise_get_attribute_table): Likewise.
62 (chise_put_attribute_table): Likewise.
64 * chise.h (CHISE_Attribute_Table): Define as a structure.
65 (chise_open_decoding_table): Use <CHISE_Decoding_Table*> instead
66 of <CHISE_Decoding_Table**> as the type of the first argument.
67 (chise_open_feature_table): Use <CHISE_Feature_Table*> instead of
68 <CHISE_Feature_Table**> as the type of the first argument.
69 (chise_open_attribute_table): Use <CHISE_Attribute_Table*> instead
70 of <CHISE_Attribute_Table**> as the type of the first argument.
72 2003-08-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
74 * chise.h (chise_dt_put_char): New prototype.
76 2003-08-10 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
78 * chise.c (chise_dt_put_char): New function.
79 (chise_put_attribute_table): New function.
81 2003-08-10 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
83 * chise.c (chise_format_char_id): New function.
84 (chise_ft_get_value): Use `chise_format_char_id'.
86 2003-08-09 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
88 * chise.h: Define `_CHISE_H'.
90 2003-08-09 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
92 * sample.c (test_map_func): New function.
93 (main): Add sample of `chise_ft_iterate'.
95 * chise.c (chise_char_id_parse_c_string): New function.
96 (chise_dt_get_char): Use `chise_char_id_parse_c_string'.
97 (chise_ft_iterate): New function.
99 * chise.h (chise_ft_iterate): New function.
101 2003-08-06 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
103 * chise.c (chise_ft_get_value): Use escape forms for some special
106 2003-08-06 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
108 * sample.c (main): Rename "ideograph-daikanwa" to "=daikanwa".
110 * chise.c (chise_open_attribute_table): Encode '/' and '%' in
111 argument `feature' for file name.
113 2003-07-12 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
115 * chise.c, chise.h: Move strnlen related code from chise.h to
118 2003-07-08 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
120 * Makefile.in (CFLAGS): Refer @CFLAGS@.
122 * configure.in: Add check code for Fink.
124 2003-07-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
126 * Makefile.in (LIBTOOL): New variable.
127 (distclean): New target.
129 * configure.in: Check about libtool.
131 2003-07-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
133 * Makefile.in: Use libtool.
135 2003-07-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
137 * chise.c: Include "config.h" when HAVE_CONFIG_H is defined.
139 * chise.h (strnlen): New inline function when HAVE_STRNLEN is not
140 defined [based on Izumi MIYAZAKI <imiyazaki@bun.kyoto-u.ac.jp>'s
145 * configure: New file.
147 * Makefile.in, config.h.in, configure.in: New files.
149 2003-03-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
151 * chise.c (chise_dt_get_char): Use `chise_value_data' instead of
152 `chise_value_to_c_string'; use `strnlen' and `chise_value_size'
153 instead of `strlen'; fix problem about control characters.
155 * chise.h (chise_value_data): New inline function.
157 2003-03-10 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
159 * chise.c (chise_dt_get_char): Fix problem about `?\CHAR'.
161 2003-03-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
163 * sample.c: Add comments.
165 2003-03-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
167 * sample.c: Use <chise.h>.
168 (db_dir): Use "/usr/local/lib/chise/char-db".
170 * Makefile: Install chise.h; setup /usr/local/lib/chise/char-db/.
172 2003-03-05 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
174 * Makefile, chise.c, chise.h, sample.c: New files.