1 2003-11-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3 * libchise 0.2.0 released.
5 2003-11-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
7 * Makefile.in (tar): New target.
9 2003-11-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
11 * README.en, COPYING.LIB: New files.
13 * chise-name.h, chise.c, chise.h, name.c: Add header.
15 2003-10-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
17 * sample.c (test_map_func): Modify to display UCS code point and
19 (main): Use `chise_system_db_dir'; display `numeric-value' instead
22 2003-10-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
24 * chise.c (CHISE_Attribute_Table_open): Add code for BDB Ver. 4.1
27 * chise.h (chise_system_db_dir): New constant.
29 2003-10-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
31 * Makefile.in (LIBS): Don't add -ldb.
33 * configure.in: Setup LIBS; check /sw/include/db4/db.h and setup
34 for db4 when the library is found.
36 2003-10-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
38 * aclocal.m4, ltmain.sh, config.guess, config.sub, install-sh: New
41 * Makefile.in (target): New variable.
42 (top_builddir): New variable.
43 (CHISE_DIR_PREFIX): New variable.
44 (CHISE_DIR_VERSION): New variable.
45 (CHISE_DIR): New variable.
46 (CHISE_DB_DIR): Renamed from `DB_DIR'; use `CHISE_DIR'.
47 (CHISE_SI_DB_DIR): New variable.
48 (CHISE_CFLAGS): New variable; define `CHISE_SI_DB_DIR'.
49 (chise.lo): Use $(CHISE_CFLAGS).
51 * configure.in: Add `AC_CANONICAL_TARGET'; use `AC_PROG_LIBTOOL'
52 instead of `AC_CHECK_PROGS' for `LIBTOOL'.
54 * chise.c (chise_system_db_dir): New constant.
55 (CHISE_DS_open): Don't use DBTYPE.
57 2003-10-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
59 * chise.h (CHISE_DS_open): Don't use DBTYPE.
61 2003-10-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
63 * Makefile.in (DB_DIR): Update version to 0.2.
65 2003-10-13 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
67 * chise.c (chise_ds_foreach_char_feature_name): Read
68 ${db_dir}/character/feature/ instead of ${db_dir}/system-char-id.
69 (chise_feature_setup_db): Modify for `CHISE_Attribute_Table_open'.
70 (chise_ccs_setup_db): Likewise.
71 (CHISE_Attribute_Table_open): Change interface to specify
72 category/key_type/name instead of encoding/feature.
74 2003-10-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
76 * chise.c (chise_ds_foreach_char_feature_name): New function.
77 (chise_feature_foreach_char_with_value): Renamed from
78 `chise_char_feature_value_iterate'.
80 2003-10-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
82 * sample.c (test_name_map_func): New function.
83 (main): Use `chise_ds_foreach_char_feature_name'.
85 * Makefile.in (sample): Add -Wall -Wmissing-prototypes options for
88 * chise.h (chise_ds_foreach_char_feature_name): New prototype.
89 (chise_feature_foreach_char_with_value): Renamed from
90 `chise_char_feature_value_iterate'.
92 2003-10-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
94 * sample.c (char db_dir): Deleted.
95 (main): Use ${chise_db_dir}/db/ for the location of data-source.
97 * Makefile.in (prefix): Use @prefix@.
98 (exec_prefix): Use @exec_prefix@.
99 (libdir): Use @libdir@.
100 (libexecdir): New variable.
101 (DB_INSTALLDIR): Deleted.
102 (DB_DIR): New variable.
103 (chise.lo): Specify DB_DIR.
104 (install): Don't call install.db.
105 (install.db): Deleted.
107 * chise.h, chise.c (chise_db_dir): New variable.
108 (CHISE_DS_open): Use <const unsigned char *> instead of <char *>
109 as the type of location.
111 2003-10-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
113 * chise.h (chise_feature_setup_db): New prototype.
114 (chise_ccs_setup_db): Likewise.
116 * chise.c (chise_feature_setup_db): Changed to public function.
117 (chise_ccs_setup_db): New function.
118 (chise_ccs_decode): Use `chise_ccs_setup_db'.
119 (chise_ccs_set_decoded_char): Likewise.
121 2003-10-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
123 * chise.c (CHISE_Attribute_Table_open): Create required
124 directories when running with create mode.
126 2003-10-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
128 * chise.h (chise_feature_sync): New prototype.
129 (chise_char_set_feature_value): New prototype.
130 (chise_ds_load_char_feature_value): New inline function.
132 * chise.c (chise_feature_sync): New function.
133 (chise_char_set_feature_value): New function.
135 2003-10-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
137 * sample.c (main): Use `chise_ds_decode_char' instead of
138 `chise_ds_get_ccs' and `chise_ccs_decode'.
140 * chise.c (chise_ccs_decode): Return -1 when argument `ccs' is
142 (chise_ccs_set_decoded_char): Likewise.
144 * chise.h (chise_ds_decode_char): New inline function.
146 2003-10-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
149 - `chise_open_data_source' is renamed to `CHISE_DS_open'.
150 - `chise_ds_close' is renamed to `CHISE_DS_close'.
152 * name.c: Modify to avoid warning.
154 * chise-name.h (chise_make_name_table): Modify to avoid warning.
156 * chise.c (strnlen): Separated to sysdep.h; include sysdep.h
158 (CHISE_Attribute_Table_open): Renamed from
159 `chise_open_attribute_table'.
160 (CHISE_Attribute_Table_close): Renamed from
161 `chise_close_attribute_table'.
162 (chise_attribute_table_get): Renamed from
163 `chise_get_attribute_table'.
164 (chise_attribute_table_put): Renamed from
165 `chise_put_attribute_table'.
166 (CHISE_DS_open): Renamed from `chise_open_data_source'.
167 (CHISE_DS_close): Renamed from `chise_ds_close'.
168 (chise_feature_setup_db): New function.
169 (chise_char_load_feature_value): Use `chise_feature_setup_db'.
170 (chise_char_gets_feature_value): Likewise.
171 (chise_char_feature_value_iterate): Likewise.
173 * Makefile.in (CFLAGS): Add -Wall and -Wmissing-prototypes.
174 (chise.lo): Add dependency on sysdep.h.
176 * chise.h (CHISE_DS_open): Renamed from `chise_open_data_source'.
177 (CHISE_DS_close): Renamed from `chise_ds_close'.
179 * sysdep.h: New file [separate from chise.c].
181 2003-10-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
183 * chise.h (chise_ds_open_feature_table): Abolished.
184 (chise_ft_close): Likewise.
186 2003-10-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
188 * sample.c: Update for the latest API.
190 * chise.c (struct CHISE_DS): Add new member `subtype' and
192 (chise_open_data_source): Add new arguments `subtype' and
194 (chise_ds_get_feature): Delete arguments `real_subtype',
195 `accessmask', `modemask'.
196 (chise_ds_get_ccs): Likewise.
197 (struct CHISE_Feature_Table): Add new member `name' and `access'.
198 (chise_ds_open_feature_table): Delete arguments `real_subtype',
199 `accessmask', `modemask'.
200 (chise_ft_close): Release `table->name'.
201 (chise_char_load_feature_value): Setup `table->db'.
202 (chise_char_gets_feature_value): Likewise.
203 (chise_char_feature_value_iterate): Return an integer value; setup
205 (struct CHISE_CCS_Table): Add new member `name' and `access'.
206 (chise_ds_open_ccs_table): Delete arguments `real_subtype',
207 `accessmask', `modemask'.
208 (chise_ccst_close): Release `table->name'.
209 (chise_ccs_sync): New function.
210 (chise_ccs_decode): Setup `ccs->db'.
211 (chise_ccs_set_decoded_char): Renamed from `chise_ccst_put_char';
214 * chise.h (chise_open_data_source): Add new arguments `subtype'
216 (chise_ds_get_feature): Delete arguments `real_subtype',
217 `accessmask', `modemask'.
218 (chise_char_feature_value_iterate): Return an integer value.
219 (chise_char_feature_str_iterate): Comment out.
220 (chise_ds_open_feature_table): Delete arguments `real_subtype',
221 `accessmask', `modemask'.
222 (chise_ds_get_ccs): Delete arguments `real_subtype', `accessmask',
224 (chise_ccs_set_decoded_char): Renamed from `chise_ccst_put_char'.
225 (chise_ccs_sync): New prototype.
226 (chise_ds_open_ccs_table): Abolished.
227 (int chise_ccst_close): Abolished.
229 2003-08-28 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
231 * sample.c (test_map_func): Modify for
232 chise_char_feature_value_iterate.
233 (main): Rename `dt_*' to `ccs_*'; use `chise_ds_get_ccs' instead
234 of `chise_ds_open_decoding_table'; use `chise_ccs_decode' instead
235 of `chise_dt_get_char'; don't use `chise_dt_close'; use `use
236 `chise_ds_get_feature' instead of `chise_ds_open_feature_table';
237 use `chise_char_gets_feature_value' instead of
238 `chise_ft_get_value'; use `chise_char_feature_value_iterate'
239 instead of `chise_ft_iterate'; don't use `chise_ft_close'.
241 2003-08-26 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
243 * chise.c: Include "chise-name.h".
244 (CHISE_DS): Add new members `feature_names' and `ccs_names'.
245 (chise_open_data_source): Setup ds->feature_names and
247 (chise_ds_close): Release ds->feature_names and ds->ccs_names.
248 (chise_ds_get_feature): New function.
249 (chise_ds_get_ccs): New function.
250 (chise_char_load_feature_value): Renamed from
251 `chise_ft_get_value'; modify interface.
252 (chise_char_gets_feature_value): New function.
253 (chise_char_feature_value_iterate): Renamed from
254 `chise_ft_iterate'; modify interface.
255 (CHISE_CCS_Table): Renamed from `CHISE_Decoding_Table'.
256 (chise_ds_open_ccs_table): Renamed from
257 `chise_ds_open_decoding_table'.
258 (chise_ccst_close): Renamed from `chise_dt_close'.
259 (chise_ccs_decode): Renamed from `chise_dt_get_char'.
260 (chise_ccst_put_char): Renamed from `chise_dt_put_char'.
262 * chise.h (CHISE_Feature): New type.
263 (chise_ds_get_feature): New prototype.
264 (chise_char_load_feature_value): Renamed from
265 `chise_ft_get_value'; modify interface.
266 (chise_char_gets_feature_value): New prototype.
267 (chise_char_feature_value_iterate): Renamed from
268 `chise_ft_iterate'; modify interface.
269 (chise_char_feature_str_iterate): New prototype.
270 (CHISE_CCS_Table): Renamed from `CHISE_Decoding_Table'.
271 (CHISE_CCS): New type.
272 (chise_ds_get_ccs): New prototype.
273 (chise_ccs_decode): Renamed from `chise_dt_get_char'.
274 (chise_ds_open_ccs_table): Renamed from
275 `chise_ds_open_decoding_table'.
276 (chise_ccst_close): Renamed from `chise_dt_close'.
277 (chise_ccst_put_char): Renamed from `chise_dt_put_char'.
278 (chise_decode_char): Deleted.
279 (chise_get_feature): Deleted.
281 2003-08-20 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
283 * name.c: Include "chise-name.h".
284 (chise_name_table_put): Use <const unsigned char*> instead of
285 <unsigned char*> for key.
286 (chise_name_table_get): Likewise.
288 * chise-name.h (chise_name_table_put): Use <const unsigned char*>
289 instead of <unsigned char*> for key.
290 (chise_name_table_get): Likewise.
292 2003-08-16 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
294 * Makefile.in (HEADERS): New variable.
295 (OBJS): New variable.
296 (libchise.la): Refer $(OBJS); add --mode=link for libtool.
297 (chise.lo): Depends on config.h.
298 (name.lo): New target.
299 (install.h): Refer $(HEADERS).
301 2003-08-15 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
303 * chise-name.h, name.c: New files.
305 2003-08-17 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
307 * chise.c (CHISE_Attribute_Table): Use <DB> instead of <struct
308 CHISE_Attribute_Table>.
309 (chise_put_attribute_table): New prototype.
310 (struct CHISE_Decoding_Table): Use <CHISE_Attribute_Table*>
311 instead of <DB*> as the type of member `db'.
312 (chise_ds_open_decoding_table): New implementation.
313 (chise_dt_close): Likewise.
314 (chise_dt_get_char): Modify for new implementation of <struct
315 CHISE_Decoding_Table>.
316 (chise_dt_put_char): Likewise.
317 (struct CHISE_Feature_Table): Use <CHISE_Attribute_Table*> instead
318 of <DB*> as the type of member `db'.
319 (chise_ds_open_feature_table): New implementation.
320 (chise_ft_close): Likewise.
321 (chise_ft_get_value): Modify for new implementation of <struct
322 CHISE_Feature_Table>.
323 (chise_open_attribute_table): Use db_dir instead of ds as the
324 first argument; modify for new implementation of
325 <CHISE_Attribute_Table>.
326 (chise_close_attribute_table): Modify for new implementation of
327 <CHISE_Attribute_Table>.
328 (chise_get_attribute_table): Likewise.
329 (chise_put_attribute_table): Likewise.
331 2003-08-17 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
333 * chise.c (CHISE_Attribute_Table): Moved from chise.h.
334 (struct CHISE_Decoding_Table): New structure.
335 (chise_ds_open_decoding_table): Cast the return value to
336 <CHISE_Decoding_Table*>.
337 (chise_dt_close): Cast back to <CHISE_Attribute_Table*>.
338 (chise_dt_get_char): Likewise.
339 (struct CHISE_Feature_Table): New structure.
340 (chise_ds_open_feature_table): Cast the return value to
341 <CHISE_Feature_Table*>.
342 (chise_ft_close): Cast back to <CHISE_Attribute_Table*>.
343 (chise_ft_get_value): Likewise.
345 * chise.h (CHISE_Attribute_Table): Deleted.
346 (CHISE_Decoding_Table): Use <struct CHISE_Decoding_Table> instead
347 of <CHISE_Attribute_Table>.
348 (CHISE_Feature_Table): Use <struct CHISE_Feature_Table> instead of
349 <CHISE_Attribute_Table>.
351 2003-08-17 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
353 * chise.c (chise_open_attribute_table): New prototype.
354 (chise_close_attribute_table): New prototype.
355 (chise_get_attribute_table): New prototype.
357 * chise.h (chise_open_attribute_table): Deleted.
358 (chise_close_attribute_table): Deleted.
359 (chise_get_attribute_table): Deleted.
361 2003-08-17 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
363 * chise.c (struct CHISE_DS): Definition of members are moved from
366 * chise.h (struct CHISE_DS): Omit definition of members.
368 2003-08-17 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
370 * sample.c (main): Modify for new API.
372 * chise.c (chise_open_data_source): Interface change; allocate a
373 CHISE_DS object and return it.
374 (chise_ds_close): Renamed from `chise_close_data_source'; destroy
375 the specified CHISE_DS object.
376 (chise_ds_open_decoding_table): Renamed from
377 `chise_open_decoding_table' and changed the interface.
378 (chise_dt_close): Renamed from `chise_close_decoding_table'.
379 (chise_ds_open_feature_table): Renamed from
380 `chise_open_feature_table' and changed the interface.
381 (chise_ft_close): Renamed from `chise_close_feature_table'.
382 (chise_open_attribute_table): Interface change; allocate a
383 CHISE_Attribute_Table object and return it; require pointer for
384 data source object instead of db_dir.
385 (chise_close_attribute_table): Destroy the specified
386 CHISE_Attribute_Table object.
388 * chise.h (struct CHISE_DS): Change type of location from <char*>
390 (chise_open_data_source): Change interface.
391 (chise_ds_close): Renamed from `chise_close_data_source'.
392 (struct CHISE_Attribute_Table): Add new member `ds'; rename `dbp'
394 (chise_ds_open_decoding_table): Renamed from
395 `chise_open_decoding_table' and changed the interface.
396 (chise_dt_close): Renamed from `chise_close_decoding_table'.
397 (chise_ds_open_feature_table): Renamed from
398 `chise_open_feature_table' and changed the interface.
399 (chise_ft_close): Renamed from `chise_close_feature_table'.
400 (chise_open_attribute_table): Change interface.
402 2003-08-12 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
404 * configure.in: Update version to 0.2.0.
406 * Makefile.in (ABI_VERSION): New variable.
407 (libchise.la): Specify $(ABI_VERSION) as -version-info of libtool.
409 2003-08-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
411 * sample.c (main): Use <CHISE_Decoding_Table> instead of
412 <CHISE_Decoding_Table*> to define `dt_daikanwa'; use
413 <CHISE_Feature_Table> instead of <CHISE_Feature_Table*> to define
414 `ft_ideographic_structure' and `ft_ascii'.
416 * chise.c (chise_open_decoding_table): Use <CHISE_Decoding_Table*>
417 instead of <CHISE_Decoding_Table**> as the type of the first
419 (chise_open_feature_table): Use <CHISE_Feature_Table*> instead of
420 <CHISE_Feature_Table**> as the type of the first argument.
421 (chise_ft_iterate): Modify for the structure
422 `CHISE_Feature_Table'.
423 (chise_open_attribute_table): Use <CHISE_Attribute_Table*> instead
424 of <CHISE_Attribute_Table **> as the type of the first argument;
425 modify for the structure <CHISE_Feature_Table>.
426 (chise_close_attribute_table): Modify for the structure
427 <CHISE_Feature_Table>.
428 (chise_get_attribute_table): Likewise.
429 (chise_put_attribute_table): Likewise.
431 * chise.h (CHISE_Attribute_Table): Define as a structure.
432 (chise_open_decoding_table): Use <CHISE_Decoding_Table*> instead
433 of <CHISE_Decoding_Table**> as the type of the first argument.
434 (chise_open_feature_table): Use <CHISE_Feature_Table*> instead of
435 <CHISE_Feature_Table**> as the type of the first argument.
436 (chise_open_attribute_table): Use <CHISE_Attribute_Table*> instead
437 of <CHISE_Attribute_Table**> as the type of the first argument.
439 2003-08-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
441 * chise.h (chise_dt_put_char): New prototype.
443 2003-08-10 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
445 * chise.c (chise_dt_put_char): New function.
446 (chise_put_attribute_table): New function.
448 2003-08-10 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
450 * chise.c (chise_format_char_id): New function.
451 (chise_ft_get_value): Use `chise_format_char_id'.
453 2003-08-09 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
455 * chise.h: Define `_CHISE_H'.
457 2003-08-09 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
459 * sample.c (test_map_func): New function.
460 (main): Add sample of `chise_ft_iterate'.
462 * chise.c (chise_char_id_parse_c_string): New function.
463 (chise_dt_get_char): Use `chise_char_id_parse_c_string'.
464 (chise_ft_iterate): New function.
466 * chise.h (chise_ft_iterate): New function.
468 2003-08-06 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
470 * chise.c (chise_ft_get_value): Use escape forms for some special
473 2003-08-06 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
475 * sample.c (main): Rename "ideograph-daikanwa" to "=daikanwa".
477 * chise.c (chise_open_attribute_table): Encode '/' and '%' in
478 argument `feature' for file name.
480 2003-07-12 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
482 * chise.c, chise.h: Move strnlen related code from chise.h to
485 2003-07-08 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
487 * Makefile.in (CFLAGS): Refer @CFLAGS@.
489 * configure.in: Add check code for Fink.
491 2003-07-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
493 * Makefile.in (LIBTOOL): New variable.
494 (distclean): New target.
496 * configure.in: Check about libtool.
498 2003-07-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
500 * Makefile.in: Use libtool.
502 2003-07-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
504 * chise.c: Include "config.h" when HAVE_CONFIG_H is defined.
506 * chise.h (strnlen): New inline function when HAVE_STRNLEN is not
507 defined [based on Izumi MIYAZAKI <imiyazaki@bun.kyoto-u.ac.jp>'s
512 * configure: New file.
514 * Makefile.in, config.h.in, configure.in: New files.
516 2003-03-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
518 * chise.c (chise_dt_get_char): Use `chise_value_data' instead of
519 `chise_value_to_c_string'; use `strnlen' and `chise_value_size'
520 instead of `strlen'; fix problem about control characters.
522 * chise.h (chise_value_data): New inline function.
524 2003-03-10 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
526 * chise.c (chise_dt_get_char): Fix problem about `?\CHAR'.
528 2003-03-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
530 * sample.c: Add comments.
532 2003-03-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
534 * sample.c: Use <chise.h>.
535 (db_dir): Use "/usr/local/lib/chise/char-db".
537 * Makefile: Install chise.h; setup /usr/local/lib/chise/char-db/.
539 2003-03-05 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
541 * Makefile, chise.c, chise.h, sample.c: New files.