1 2013-04-01 MORIOKA Tomohiko <tomo.git@chise.org>
3 * concord.c (struct COS_DS_ent): Delete member `symbol_names'.
4 (concord_open_ds): Delete code to initialize `ds->symbol_names'.
5 (concord_close_ds): Delete code to destroy `ds->symbol_names'.
7 2013-03-30 MORIOKA Tomohiko <tomo.git@chise.org>
17 * concord-bdb.c: Move code to include "config.h" into sysdep.h.
20 - Move code to include "config.h" into sysdep.h.
22 (concord_close_genre): Move prototype into cos-i.h.
23 (concord_close_feature): Likewise.
24 (concord_close_index): Likewise.
25 (struct CONCORD_Object_Header): Renamed to `COS_Object_Header';
26 moved to cos-i.h; add new member `reference_count'.
27 (CONCORD_OBJECT_TYPE_NULL): Renamed to `COS_Object_Type_NULL';
28 moved to cos-i.h; use `enum COS_Object_Type'.
29 (CONCORD_OBJECT_TYPE_C_STRING): Renamed to
30 `COS_Object_Type_C_String'; moved to cos-i.h; use `enum
32 (CONCORD_OBJECT_TYPE_INT): Renamed to `COS_Object_Type_int'; moved
33 to cos-i.h; use `enum COS_Object_Type'.
34 (CONCORD_OBJECT_TYPE_DS): Renamed to `COS_Object_Type_DS'; moved
35 to cos-i.h; use `enum COS_Object_Type'.
36 (CONCORD_OBJECT_TYPE_GENRE): Renamed to `COS_Object_Type_Genre';
37 moved to cos-i.h; use `enum COS_Object_Type'.
38 (CONCORD_OBJECT_TYPE_FEATURE): Renamed to
39 `COS_Object_Type_Feature'; moved to cos-i.h; use `enum
41 (CONCORD_OBJECT_TYPE_INDEX): Renamed to
42 `COS_Object_Type_Feature_INDEX'; moved to cos-i.h; use `enum
44 (CONCORD_OBJECT_TYPE_OBJECT): Renamed to
45 `COS_Object_Type_DB_Object'; moved to cos-i.h; use `enum
47 (struct CONCORD_DS_Table): Renamed to `struct COS_DS_ent'; add new
48 member `symbol_names'.
49 (concord_open_ds): Use `COS_ALLOCATE_OBJECT'; initialize
51 (concord_close_ds): Destroy `ds->symbol_names'.
52 (struct CONCORD_Genre_Table): Renamed to `struct COS_Genre_ent'.
53 (concord_ds_open_genre): Use `COS_ALLOCATE_OBJECT'.
54 (struct CONCORD_Feature_Table): Renamed to `struct
56 (concord_genre_open_feature): Use `COS_ALLOCATE_OBJECT'.
57 (struct CONCORD_INDEX_Table): Renamed to `struct
58 COS_Feature_INDEX_ent'.
59 (concord_genre_open_index): Use `COS_ALLOCATE_OBJECT'.
60 (concord_index_get_name): New function.
61 (concord_index_get_genre): New function.
63 * concord.h: Include <cos.h>.
64 (CONCORD_Object): Use `COS_Object' instead of `void*' as the type.
65 (COS_DS_ent): Renamed from `CONCORD_DS_Table'.
67 (CONCORD_DS): Use `COS_DS' instead of `CONCORD_DS_Table*' as the
69 (concord_open_env): New prototype.
70 (COS_Genre_ent): Renamed from `CONCORD_Genre_Table'.
71 (COS_Genre): New type.
72 (CONCORD_Genre): Use `COS_Genre' instead of `CONCORD_Genre_Table*'
74 (concord_get_genre): New prototype.
75 (COS_Feature_ent): Renamed from `CONCORD_Feature_Table'.
76 (COS_Feature): New type.
77 (CONCORD_Feature): Use `COS_Feature' instead of
78 `CONCORD_Feature_Table*' as the type.
79 (concord_get_feature): New prototype.
80 (COS_Feature_INDEX_ent): Renamed from `CONCORD_INDEX_Table'.
81 (COS_Feature_INDEX): New type.
82 (CONCORD_INDEX): Use `COS_Feature_INDEX' instead of
83 `CONCORD_INDEX_Table*' as the type.
84 (concord_get_feature_index): New prototype.
85 (concord_index_get_name): New prototype.
86 (concord_index_get_genre): New prototype.
87 (concord_decode_object): New prototype.
89 * sysdep.h: Include "config.h" if `HAVE_CONFIG_H' is defined.
91 2013-03-30 MORIOKA Tomohiko <tomo.git@chise.org>
95 2013-03-29 MORIOKA Tomohiko <tomo.git@chise.org>
97 * Makefile.in (localstatedir): New variable.
98 (CONCORD_DB_PREFIX): New variable.
99 (CONCORD_DB_FORMAT_VERSION): New variable.
100 (CONCORD_DB_DIR): New variable.
101 (CONCORD_SI_DB_DIR): New variable.
102 (CONCORD_CFLAGS): New variable.
103 (HEADERS): Add cos.h.
104 (OBJS): Add cos.lo, symbol.lo and read.lo.
105 (cos.lo): New target.
106 (symbol.lo): New target.
107 (read.lo): New target.
108 (concord.lo): Depend on cos-i.h and cos.h.
110 2013-03-22 MORIOKA Tomohiko <tomo.git@chise.org>
112 * name.c (concord_hash_c_string): Use `unsigned long' instead of
113 int' as the type of return value.
115 2013-03-21 MORIOKA Tomohiko <tomo.git@chise.org>
117 * config.h.in (SIZEOF_INT): New macro.
118 (SIZEOF_LONG): New macro.
119 (SIZEOF_LONG_LONG): New macro.
120 (SIZEOF_VOID_P): New macro.
121 (BITS_PER_CHAR): New macro.
123 * configure.in: Add `AC_CHECK_SIZEOF(int)',
124 `AC_CHECK_SIZEOF(long)', `AC_CHECK_SIZEOF(long long)' and
125 `AC_CHECK_SIZEOF(void *)'.
127 2011-10-31 MORIOKA Tomohiko <tomo.git@chise.org>
129 * Makefile.in (ABI_VERSION): Update to 1:0:1.
131 * concord.c (struct CONCORD_Object_Header): New structure.
132 (CONCORD_OBJECT_TYPE_NULL): New macro.
133 (CONCORD_OBJECT_TYPE_C_STRING): New macro.
134 (CONCORD_OBJECT_TYPE_INT): New macro.
135 (CONCORD_OBJECT_TYPE_DS): New macro.
136 (CONCORD_OBJECT_TYPE_GENRE): New macro.
137 (CONCORD_OBJECT_TYPE_FEATURE): New macro.
138 (CONCORD_OBJECT_TYPE_INDEX): New macro.
139 (CONCORD_OBJECT_TYPE_OBJECT): New macro.
140 (struct CONCORD_DS_Table): Add new member `header'.
141 (concord_open_ds): Setup ds->header.
142 (struct CONCORD_Genre_Table): Add new member `header'.
143 (concord_ds_open_genre): Setup ds->header.
144 (struct CONCORD_Feature_Table): Add new member `header'.
145 (concord_genre_open_feature): Setup ds->header.
146 (struct CONCORD_INDEX_Table): Add new member `header'.
147 (concord_genre_open_index): Setup ds->header.
149 2012-07-07 MORIOKA Tomohiko <tomo.git@chise.org>
151 * configure.in: Support db5 in Fink.
153 2012-04-25 MORIOKA Tomohiko <tomo.git@chise.org>
155 * README.en (Reporting Bugs): Modify for
156 chise-{en|ja}@lists.chise.org.
158 2012-04-09 MORIOKA Tomohiko <tomo.git@chise.org>
160 * README.en: Remove descriptions about CVS and add description
161 about the new Git repository.
163 2012-02-08 MORIOKA Tomohiko <tomo@zinbun.kyoto-u.ac.jp>
166 - Don't use "AC_CHECK_FUNCS(strnlen)".
167 - When $ac_cv_func_strnlen_working = "yes", define HAVE_STRNLEN.
169 2011-08-24 MORIOKA Tomohiko <tomo@zinbun.kyoto-u.ac.jp>
171 * Makefile.in (CFLAGS): Add $(DEFS).
174 2010-06-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
176 * Concord 0.0.2 released.
178 * configure.in: Update version to 0.0.2.
180 2008-07-21 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
182 * configure.in: Add settings for --with-site-includes=PATH and
183 --with-site-libraries=PATH.
186 2008-05-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
188 * Concord 0.0.1 released.
190 2008-01-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
192 * Makefile.in (MKDIR): New variable.
193 (install.h): Make $(INCLUDE_INSTALLDIR).
194 (install.libs): Make $(LIB_INSTALLDIR).
196 2006-12-22 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
198 * configure.in: Update version to 0.0.1.
200 * Makefile.in (libconcord.la): Specify `-no-undefined' to avoid
201 error on Cygwin [suggested by KAMICHI Koichi <kamichi@fonts.jp>].
202 (concord.lo): Specify `--mode=compile'.
203 (concord-bdb.lo): ditto.
205 (install.libs): Specify `--mode=install'.
208 2006-05-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
210 * Concord 0.0.0 released.
212 * Makefile.in (tar): Fixed.
214 2006-04-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
216 * concord.c (concord_ds_open_genre): Use <char*> instead of
217 <unsigned char*> for genre-name.
218 (concord_genre_open_feature): Likewise.
219 (concord_genre_open_index): Use <char*> instead of <unsigned
220 char*> for index-name.
221 (concord_genre_get_feature_0): Use <char*> instead of <unsigned
222 char*> for feature-name.
223 (struct CONCORD_DS_Table): Use <char*> instead of <unsigned char*>
224 for member `location'.
225 (concord_default_read_object): Cast to avoid warning.
226 (concord_open_ds): Use <char*> instead of <unsigned char*> for
228 (concord_ds_foreach_genre_name): Use <char*> instead of <unsigned
229 char*> for ds->location; cast to avoid warning.
230 (struct CONCORD_Genre_Table): Use <char*> instead of <unsigned
231 char*> for member `name'.
232 (concord_ds_open_genre): Use <char*> instead of <unsigned char*>
234 (concord_genre_foreach_feature_name): Use <char*> instead of
235 <unsigned char*> for ds->location.
236 (concord_genre_get_feature_0): Use <char*> instead of <unsigned
237 char*> for genre-name.
238 (concord_genre_get_feature): Use <char*> instead of <unsigned
240 (struct CONCORD_Feature_Table): Use <char*> instead of <unsigned
241 char*> for member `name'.
242 (concord_genre_open_feature): Use <char*> instead of <unsigned
243 char*> for feature-name.
244 (concord_obj_gets_feature_value): Cast to avoid warning.
245 (struct CONCORD_INDEX_Table): Use <char*> instead of <unsigned
246 char*> for member `name'.
247 (concord_genre_open_index): Use <char*> instead of <unsigned
248 char*> for index-name.
249 (concord_index_strid_put_obj): Cast to avoid warning.
251 * name.c, concord-name.h (concord_name_table_put): Use <char*>
252 instead of <unsigned char*> for key.
253 (concord_name_table_get): Likewise.
255 2006-04-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
257 * concord-bdb.c, concord-bdb.h (CONCORD_BDB_open): Use <char*>
258 instead of <unsigned char*> for db_dir, genre, key_type and name.
259 (CONCORD_BDB_get): Use <char*> instead of <unsigned char*> for
261 (CONCORD_BDB_put): Likewise.
263 * concord.c, concord.h (concord_open_ds): Use <char*> instead of
264 <unsigned char*> for location.
265 (concord_ds_location): Likewise.
266 (concord_ds_foreach_genre_name): Use <char*> instead of <unsigned
267 char*> for genre-name.
268 (concord_ds_get_genre): Likewise.
269 (concord_genre_get_name): Likewise.
270 (concord_genre_foreach_feature_name): Likewise.
271 (concord_genre_get_feature): Use <char*> instead of <unsigned
272 char*> for feature-name.
273 (concord_feature_get_name): Likewise.
274 (concord_obj_put_feature_value_str): Use <char*> instead of
275 <unsigned char*> for object-id.
276 (concord_obj_get_feature_value): Likewise.
277 (concord_obj_get_feature_value_string): Likewise.
278 (concord_obj_gets_feature_value): Likewise.
279 (concord_genre_get_index): Use <char*> instead of <unsigned char*>
281 (concord_index_strid_put_obj): Use <char*> instead of <unsigned
282 char*> for indexer and object-id.
283 (concord_index_strid_get_obj_string): Use <char*> instead of
284 <unsigned char*> for indexer.
286 2006-02-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
288 * README.en: New file.
290 2005-12-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
292 * concord.h (concord_genre_get_name): New prototype.
293 (concord_feature_get_genre): New prototype.
295 * concord.c (concord_genre_get_name): New function.
296 (concord_feature_get_genre): New function.
298 2005-06-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
300 * concord.c (concord_ds_set_object_failure): Renamed from
301 `concord_ds_set_object_nil'.
302 (concord_genre_get_feature_0): New function.
303 (concord_genre_get_feature): New implementation; use
304 `concord_genre_get_feature_0'; support feature alias.
306 2005-06-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
308 * concord.h (concord_ds_set_object_failure): Renamed from
309 `concord_ds_set_object_nil'.
311 2005-06-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
313 * concord.c, concord.h (concord_obj_put_feature_value_str):
314 Renamed from `concord_stroid_set_feature_str'.
315 (concord_obj_get_feature_value): Renamed from
316 `concord_stroid_get_feature_object'.
317 (concord_obj_get_feature_value_string): Renamed from
318 `concord_stroid_get_feature_string'.
319 (concord_obj_gets_feature_value): Renamed from
320 `concord_stroid_gets_feature'.
321 (concord_feature_foreach_obj_string): Renamed from
322 `concord_feature_foreach_object_string'.
323 (concord_index_strid_get_obj_string): Renamed from
324 `concord_index_strid_get_object_string'.
325 (concord_index_strid_put_obj): Renamed from
326 `concord_index_strid_set_object_str'.
328 2005-06-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
330 * concord.c, concord.h (concord_close_ds): Renamed from
333 2005-06-22 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
335 * concord-bdb.c, concord-bdb.h, concord.c, concord.h: New files.
337 2005-06-21 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
339 * Makefile.in: New file.
341 2005-06-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
343 * sysdep.h: New file.
345 2005-06-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
347 * aclocal.m4, concord-name.h, config.h.in, configure.in,
348 config.guess, config.sub, install-sh, ltmain.sh, name.c: New