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