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