1 2013-04-02 MORIOKA Tomohiko <tomo.git@chise.org>
5 * cos-print.h: New file.
7 * Makefile.in (OBJS): Add print.lo.
8 (print.lo): New target.
10 2013-04-01 MORIOKA Tomohiko <tomo.git@chise.org>
12 * concord.c (struct COS_DS_ent): Delete member `symbol_names'.
13 (concord_open_ds): Delete code to initialize `ds->symbol_names'.
14 (concord_close_ds): Delete code to destroy `ds->symbol_names'.
16 2013-03-30 MORIOKA Tomohiko <tomo.git@chise.org>
18 * cos-read.h: New file.
28 * concord-bdb.c: Move code to include "config.h" into sysdep.h.
31 - Move code to include "config.h" into sysdep.h.
33 (concord_close_genre): Move prototype into cos-i.h.
34 (concord_close_feature): Likewise.
35 (concord_close_index): Likewise.
36 (struct CONCORD_Object_Header): Renamed to `COS_Object_Header';
37 moved to cos-i.h; add new member `reference_count'.
38 (CONCORD_OBJECT_TYPE_NULL): Renamed to `COS_Object_Type_NULL';
39 moved to cos-i.h; use `enum COS_Object_Type'.
40 (CONCORD_OBJECT_TYPE_C_STRING): Renamed to
41 `COS_Object_Type_C_String'; moved to cos-i.h; use `enum
43 (CONCORD_OBJECT_TYPE_INT): Renamed to `COS_Object_Type_int'; moved
44 to cos-i.h; use `enum COS_Object_Type'.
45 (CONCORD_OBJECT_TYPE_DS): Renamed to `COS_Object_Type_DS'; moved
46 to cos-i.h; use `enum COS_Object_Type'.
47 (CONCORD_OBJECT_TYPE_GENRE): Renamed to `COS_Object_Type_Genre';
48 moved to cos-i.h; use `enum COS_Object_Type'.
49 (CONCORD_OBJECT_TYPE_FEATURE): Renamed to
50 `COS_Object_Type_Feature'; moved to cos-i.h; use `enum
52 (CONCORD_OBJECT_TYPE_INDEX): Renamed to
53 `COS_Object_Type_Feature_INDEX'; moved to cos-i.h; use `enum
55 (CONCORD_OBJECT_TYPE_OBJECT): Renamed to
56 `COS_Object_Type_DB_Object'; moved to cos-i.h; use `enum
58 (struct CONCORD_DS_Table): Renamed to `struct COS_DS_ent'; add new
59 member `symbol_names'.
60 (concord_open_ds): Use `COS_ALLOCATE_OBJECT'; initialize
62 (concord_close_ds): Destroy `ds->symbol_names'.
63 (struct CONCORD_Genre_Table): Renamed to `struct COS_Genre_ent'.
64 (concord_ds_open_genre): Use `COS_ALLOCATE_OBJECT'.
65 (struct CONCORD_Feature_Table): Renamed to `struct
67 (concord_genre_open_feature): Use `COS_ALLOCATE_OBJECT'.
68 (struct CONCORD_INDEX_Table): Renamed to `struct
69 COS_Feature_INDEX_ent'.
70 (concord_genre_open_index): Use `COS_ALLOCATE_OBJECT'.
71 (concord_index_get_name): New function.
72 (concord_index_get_genre): New function.
74 * concord.h: Include <cos.h>.
75 (CONCORD_Object): Use `COS_Object' instead of `void*' as the type.
76 (COS_DS_ent): Renamed from `CONCORD_DS_Table'.
78 (CONCORD_DS): Use `COS_DS' instead of `CONCORD_DS_Table*' as the
80 (concord_open_env): New prototype.
81 (COS_Genre_ent): Renamed from `CONCORD_Genre_Table'.
82 (COS_Genre): New type.
83 (CONCORD_Genre): Use `COS_Genre' instead of `CONCORD_Genre_Table*'
85 (concord_get_genre): New prototype.
86 (COS_Feature_ent): Renamed from `CONCORD_Feature_Table'.
87 (COS_Feature): New type.
88 (CONCORD_Feature): Use `COS_Feature' instead of
89 `CONCORD_Feature_Table*' as the type.
90 (concord_get_feature): New prototype.
91 (COS_Feature_INDEX_ent): Renamed from `CONCORD_INDEX_Table'.
92 (COS_Feature_INDEX): New type.
93 (CONCORD_INDEX): Use `COS_Feature_INDEX' instead of
94 `CONCORD_INDEX_Table*' as the type.
95 (concord_get_feature_index): New prototype.
96 (concord_index_get_name): New prototype.
97 (concord_index_get_genre): New prototype.
98 (concord_decode_object): New prototype.
100 * sysdep.h: Include "config.h" if `HAVE_CONFIG_H' is defined.
102 2013-03-30 MORIOKA Tomohiko <tomo.git@chise.org>
106 2013-03-29 MORIOKA Tomohiko <tomo.git@chise.org>
108 * Makefile.in (localstatedir): New variable.
109 (CONCORD_DB_PREFIX): New variable.
110 (CONCORD_DB_FORMAT_VERSION): New variable.
111 (CONCORD_DB_DIR): New variable.
112 (CONCORD_SI_DB_DIR): New variable.
113 (CONCORD_CFLAGS): New variable.
114 (HEADERS): Add cos.h.
115 (OBJS): Add cos.lo, symbol.lo and read.lo.
116 (cos.lo): New target.
117 (symbol.lo): New target.
118 (read.lo): New target.
119 (concord.lo): Depend on cos-i.h and cos.h.
121 2013-03-22 MORIOKA Tomohiko <tomo.git@chise.org>
123 * name.c (concord_hash_c_string): Use `unsigned long' instead of
124 int' as the type of return value.
126 2013-03-21 MORIOKA Tomohiko <tomo.git@chise.org>
128 * config.h.in (SIZEOF_INT): New macro.
129 (SIZEOF_LONG): New macro.
130 (SIZEOF_LONG_LONG): New macro.
131 (SIZEOF_VOID_P): New macro.
132 (BITS_PER_CHAR): New macro.
134 * configure.in: Add `AC_CHECK_SIZEOF(int)',
135 `AC_CHECK_SIZEOF(long)', `AC_CHECK_SIZEOF(long long)' and
136 `AC_CHECK_SIZEOF(void *)'.
138 2011-10-31 MORIOKA Tomohiko <tomo.git@chise.org>
140 * Makefile.in (ABI_VERSION): Update to 1:0:1.
142 * concord.c (struct CONCORD_Object_Header): New structure.
143 (CONCORD_OBJECT_TYPE_NULL): New macro.
144 (CONCORD_OBJECT_TYPE_C_STRING): New macro.
145 (CONCORD_OBJECT_TYPE_INT): New macro.
146 (CONCORD_OBJECT_TYPE_DS): New macro.
147 (CONCORD_OBJECT_TYPE_GENRE): New macro.
148 (CONCORD_OBJECT_TYPE_FEATURE): New macro.
149 (CONCORD_OBJECT_TYPE_INDEX): New macro.
150 (CONCORD_OBJECT_TYPE_OBJECT): New macro.
151 (struct CONCORD_DS_Table): Add new member `header'.
152 (concord_open_ds): Setup ds->header.
153 (struct CONCORD_Genre_Table): Add new member `header'.
154 (concord_ds_open_genre): Setup ds->header.
155 (struct CONCORD_Feature_Table): Add new member `header'.
156 (concord_genre_open_feature): Setup ds->header.
157 (struct CONCORD_INDEX_Table): Add new member `header'.
158 (concord_genre_open_index): Setup ds->header.
160 2012-07-07 MORIOKA Tomohiko <tomo.git@chise.org>
162 * configure.in: Support db5 in Fink.
164 2012-04-25 MORIOKA Tomohiko <tomo.git@chise.org>
166 * README.en (Reporting Bugs): Modify for
167 chise-{en|ja}@lists.chise.org.
169 2012-04-09 MORIOKA Tomohiko <tomo.git@chise.org>
171 * README.en: Remove descriptions about CVS and add description
172 about the new Git repository.
174 2012-02-08 MORIOKA Tomohiko <tomo@zinbun.kyoto-u.ac.jp>
177 - Don't use "AC_CHECK_FUNCS(strnlen)".
178 - When $ac_cv_func_strnlen_working = "yes", define HAVE_STRNLEN.
180 2011-08-24 MORIOKA Tomohiko <tomo@zinbun.kyoto-u.ac.jp>
182 * Makefile.in (CFLAGS): Add $(DEFS).
185 2010-06-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
187 * Concord 0.0.2 released.
189 * configure.in: Update version to 0.0.2.
191 2008-07-21 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
193 * configure.in: Add settings for --with-site-includes=PATH and
194 --with-site-libraries=PATH.
197 2008-05-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
199 * Concord 0.0.1 released.
201 2008-01-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
203 * Makefile.in (MKDIR): New variable.
204 (install.h): Make $(INCLUDE_INSTALLDIR).
205 (install.libs): Make $(LIB_INSTALLDIR).
207 2006-12-22 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
209 * configure.in: Update version to 0.0.1.
211 * Makefile.in (libconcord.la): Specify `-no-undefined' to avoid
212 error on Cygwin [suggested by KAMICHI Koichi <kamichi@fonts.jp>].
213 (concord.lo): Specify `--mode=compile'.
214 (concord-bdb.lo): ditto.
216 (install.libs): Specify `--mode=install'.
219 2006-05-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
221 * Concord 0.0.0 released.
223 * Makefile.in (tar): Fixed.
225 2006-04-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
227 * concord.c (concord_ds_open_genre): Use <char*> instead of
228 <unsigned char*> for genre-name.
229 (concord_genre_open_feature): Likewise.
230 (concord_genre_open_index): Use <char*> instead of <unsigned
231 char*> for index-name.
232 (concord_genre_get_feature_0): Use <char*> instead of <unsigned
233 char*> for feature-name.
234 (struct CONCORD_DS_Table): Use <char*> instead of <unsigned char*>
235 for member `location'.
236 (concord_default_read_object): Cast to avoid warning.
237 (concord_open_ds): Use <char*> instead of <unsigned char*> for
239 (concord_ds_foreach_genre_name): Use <char*> instead of <unsigned
240 char*> for ds->location; cast to avoid warning.
241 (struct CONCORD_Genre_Table): Use <char*> instead of <unsigned
242 char*> for member `name'.
243 (concord_ds_open_genre): Use <char*> instead of <unsigned char*>
245 (concord_genre_foreach_feature_name): Use <char*> instead of
246 <unsigned char*> for ds->location.
247 (concord_genre_get_feature_0): Use <char*> instead of <unsigned
248 char*> for genre-name.
249 (concord_genre_get_feature): Use <char*> instead of <unsigned
251 (struct CONCORD_Feature_Table): Use <char*> instead of <unsigned
252 char*> for member `name'.
253 (concord_genre_open_feature): Use <char*> instead of <unsigned
254 char*> for feature-name.
255 (concord_obj_gets_feature_value): Cast to avoid warning.
256 (struct CONCORD_INDEX_Table): Use <char*> instead of <unsigned
257 char*> for member `name'.
258 (concord_genre_open_index): Use <char*> instead of <unsigned
259 char*> for index-name.
260 (concord_index_strid_put_obj): Cast to avoid warning.
262 * name.c, concord-name.h (concord_name_table_put): Use <char*>
263 instead of <unsigned char*> for key.
264 (concord_name_table_get): Likewise.
266 2006-04-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
268 * concord-bdb.c, concord-bdb.h (CONCORD_BDB_open): Use <char*>
269 instead of <unsigned char*> for db_dir, genre, key_type and name.
270 (CONCORD_BDB_get): Use <char*> instead of <unsigned char*> for
272 (CONCORD_BDB_put): Likewise.
274 * concord.c, concord.h (concord_open_ds): Use <char*> instead of
275 <unsigned char*> for location.
276 (concord_ds_location): Likewise.
277 (concord_ds_foreach_genre_name): Use <char*> instead of <unsigned
278 char*> for genre-name.
279 (concord_ds_get_genre): Likewise.
280 (concord_genre_get_name): Likewise.
281 (concord_genre_foreach_feature_name): Likewise.
282 (concord_genre_get_feature): Use <char*> instead of <unsigned
283 char*> for feature-name.
284 (concord_feature_get_name): Likewise.
285 (concord_obj_put_feature_value_str): Use <char*> instead of
286 <unsigned char*> for object-id.
287 (concord_obj_get_feature_value): Likewise.
288 (concord_obj_get_feature_value_string): Likewise.
289 (concord_obj_gets_feature_value): Likewise.
290 (concord_genre_get_index): Use <char*> instead of <unsigned char*>
292 (concord_index_strid_put_obj): Use <char*> instead of <unsigned
293 char*> for indexer and object-id.
294 (concord_index_strid_get_obj_string): Use <char*> instead of
295 <unsigned char*> for indexer.
297 2006-02-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
299 * README.en: New file.
301 2005-12-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
303 * concord.h (concord_genre_get_name): New prototype.
304 (concord_feature_get_genre): New prototype.
306 * concord.c (concord_genre_get_name): New function.
307 (concord_feature_get_genre): New function.
309 2005-06-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
311 * concord.c (concord_ds_set_object_failure): Renamed from
312 `concord_ds_set_object_nil'.
313 (concord_genre_get_feature_0): New function.
314 (concord_genre_get_feature): New implementation; use
315 `concord_genre_get_feature_0'; support feature alias.
317 2005-06-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
319 * concord.h (concord_ds_set_object_failure): Renamed from
320 `concord_ds_set_object_nil'.
322 2005-06-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
324 * concord.c, concord.h (concord_obj_put_feature_value_str):
325 Renamed from `concord_stroid_set_feature_str'.
326 (concord_obj_get_feature_value): Renamed from
327 `concord_stroid_get_feature_object'.
328 (concord_obj_get_feature_value_string): Renamed from
329 `concord_stroid_get_feature_string'.
330 (concord_obj_gets_feature_value): Renamed from
331 `concord_stroid_gets_feature'.
332 (concord_feature_foreach_obj_string): Renamed from
333 `concord_feature_foreach_object_string'.
334 (concord_index_strid_get_obj_string): Renamed from
335 `concord_index_strid_get_object_string'.
336 (concord_index_strid_put_obj): Renamed from
337 `concord_index_strid_set_object_str'.
339 2005-06-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
341 * concord.c, concord.h (concord_close_ds): Renamed from
344 2005-06-22 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
346 * concord-bdb.c, concord-bdb.h, concord.c, concord.h: New files.
348 2005-06-21 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
350 * Makefile.in: New file.
352 2005-06-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
354 * sysdep.h: New file.
356 2005-06-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
358 * aclocal.m4, concord-name.h, config.h.in, configure.in,
359 config.guess, config.sub, install-sh, ltmain.sh, name.c: New