1 2003-08-17 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
3 * chise.c (chise_open_attribute_table): New prototype.
4 (chise_close_attribute_table): New prototype.
5 (chise_get_attribute_table): New prototype.
7 * chise.h (chise_open_attribute_table): Deleted.
8 (chise_close_attribute_table): Deleted.
9 (chise_get_attribute_table): Deleted.
11 2003-08-17 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
13 * chise.c (struct CHISE_DS): Definition of members are moved from
16 * chise.h (struct CHISE_DS): Omit definition of members.
18 2003-08-17 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
20 * sample.c (main): Modify for new API.
22 * chise.c (chise_open_data_source): Interface change; allocate a
23 CHISE_DS object and return it.
24 (chise_ds_close): Renamed from `chise_close_data_source'; destroy
25 the specified CHISE_DS object.
26 (chise_ds_open_decoding_table): Renamed from
27 `chise_open_decoding_table' and changed the interface.
28 (chise_dt_close): Renamed from `chise_close_decoding_table'.
29 (chise_ds_open_feature_table): Renamed from
30 `chise_open_feature_table' and changed the interface.
31 (chise_ft_close): Renamed from `chise_close_feature_table'.
32 (chise_open_attribute_table): Interface change; allocate a
33 CHISE_Attribute_Table object and return it; require pointer for
34 data source object instead of db_dir.
35 (chise_close_attribute_table): Destroy the specified
36 CHISE_Attribute_Table object.
38 * chise.h (struct CHISE_DS): Change type of location from <char*>
40 (chise_open_data_source): Change interface.
41 (chise_ds_close): Renamed from `chise_close_data_source'.
42 (struct CHISE_Attribute_Table): Add new member `ds'; rename `dbp'
44 (chise_ds_open_decoding_table): Renamed from
45 `chise_open_decoding_table' and changed the interface.
46 (chise_dt_close): Renamed from `chise_close_decoding_table'.
47 (chise_ds_open_feature_table): Renamed from
48 `chise_open_feature_table' and changed the interface.
49 (chise_ft_close): Renamed from `chise_close_feature_table'.
50 (chise_open_attribute_table): Change interface.
52 2003-08-12 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
54 * configure.in: Update version to 0.2.0.
56 * Makefile.in (ABI_VERSION): New variable.
57 (libchise.la): Specify $(ABI_VERSION) as -version-info of libtool.
59 2003-08-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
61 * sample.c (main): Use <CHISE_Decoding_Table> instead of
62 <CHISE_Decoding_Table*> to define `dt_daikanwa'; use
63 <CHISE_Feature_Table> instead of <CHISE_Feature_Table*> to define
64 `ft_ideographic_structure' and `ft_ascii'.
66 * chise.c (chise_open_decoding_table): Use <CHISE_Decoding_Table*>
67 instead of <CHISE_Decoding_Table**> as the type of the first
69 (chise_open_feature_table): Use <CHISE_Feature_Table*> instead of
70 <CHISE_Feature_Table**> as the type of the first argument.
71 (chise_ft_iterate): Modify for the structure
72 `CHISE_Feature_Table'.
73 (chise_open_attribute_table): Use <CHISE_Attribute_Table*> instead
74 of <CHISE_Attribute_Table **> as the type of the first argument;
75 modify for the structure <CHISE_Feature_Table>.
76 (chise_close_attribute_table): Modify for the structure
77 <CHISE_Feature_Table>.
78 (chise_get_attribute_table): Likewise.
79 (chise_put_attribute_table): Likewise.
81 * chise.h (CHISE_Attribute_Table): Define as a structure.
82 (chise_open_decoding_table): Use <CHISE_Decoding_Table*> instead
83 of <CHISE_Decoding_Table**> as the type of the first argument.
84 (chise_open_feature_table): Use <CHISE_Feature_Table*> instead of
85 <CHISE_Feature_Table**> as the type of the first argument.
86 (chise_open_attribute_table): Use <CHISE_Attribute_Table*> instead
87 of <CHISE_Attribute_Table**> as the type of the first argument.
89 2003-08-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
91 * chise.h (chise_dt_put_char): New prototype.
93 2003-08-10 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
95 * chise.c (chise_dt_put_char): New function.
96 (chise_put_attribute_table): New function.
98 2003-08-10 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
100 * chise.c (chise_format_char_id): New function.
101 (chise_ft_get_value): Use `chise_format_char_id'.
103 2003-08-09 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
105 * chise.h: Define `_CHISE_H'.
107 2003-08-09 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
109 * sample.c (test_map_func): New function.
110 (main): Add sample of `chise_ft_iterate'.
112 * chise.c (chise_char_id_parse_c_string): New function.
113 (chise_dt_get_char): Use `chise_char_id_parse_c_string'.
114 (chise_ft_iterate): New function.
116 * chise.h (chise_ft_iterate): New function.
118 2003-08-06 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
120 * chise.c (chise_ft_get_value): Use escape forms for some special
123 2003-08-06 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
125 * sample.c (main): Rename "ideograph-daikanwa" to "=daikanwa".
127 * chise.c (chise_open_attribute_table): Encode '/' and '%' in
128 argument `feature' for file name.
130 2003-07-12 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
132 * chise.c, chise.h: Move strnlen related code from chise.h to
135 2003-07-08 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
137 * Makefile.in (CFLAGS): Refer @CFLAGS@.
139 * configure.in: Add check code for Fink.
141 2003-07-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
143 * Makefile.in (LIBTOOL): New variable.
144 (distclean): New target.
146 * configure.in: Check about libtool.
148 2003-07-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
150 * Makefile.in: Use libtool.
152 2003-07-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
154 * chise.c: Include "config.h" when HAVE_CONFIG_H is defined.
156 * chise.h (strnlen): New inline function when HAVE_STRNLEN is not
157 defined [based on Izumi MIYAZAKI <imiyazaki@bun.kyoto-u.ac.jp>'s
162 * configure: New file.
164 * Makefile.in, config.h.in, configure.in: New files.
166 2003-03-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
168 * chise.c (chise_dt_get_char): Use `chise_value_data' instead of
169 `chise_value_to_c_string'; use `strnlen' and `chise_value_size'
170 instead of `strlen'; fix problem about control characters.
172 * chise.h (chise_value_data): New inline function.
174 2003-03-10 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
176 * chise.c (chise_dt_get_char): Fix problem about `?\CHAR'.
178 2003-03-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
180 * sample.c: Add comments.
182 2003-03-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
184 * sample.c: Use <chise.h>.
185 (db_dir): Use "/usr/local/lib/chise/char-db".
187 * Makefile: Install chise.h; setup /usr/local/lib/chise/char-db/.
189 2003-03-05 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
191 * Makefile, chise.c, chise.h, sample.c: New files.