| 1 |
2005-03-02 MORIOKA Tomohiko <[email protected]> |
| 2 |
|
| 3 |
* chise.h: Modify for C++. |
| 4 |
|
| 5 |
* sample.c (test_radical_func): New function. |
| 6 |
(main): Add sample code about `ideographic-radical'. |
| 7 |
|
| 8 |
2004-07-17 MORIOKA Tomohiko <[email protected]> |
| 9 |
|
| 10 |
* configure.in: Update version to 0.3.0. |
| 11 |
|
| 12 |
* Makefile.in (datadir): New variable. |
| 13 |
(libexecdir): Commented out. |
| 14 |
(sharedstatedir): New variable. |
| 15 |
(CHISE_DIR_PREFIX): Use ${datadir}/chise instead of |
| 16 |
${libexecdir}/chise. |
| 17 |
(CHISE_DIR_VERSION): Update to 0.3. |
| 18 |
(CHISE_DB_DIR): Use ${CHISE_DIR} instead of |
| 19 |
${CHISE_DIR}/${target}. |
| 20 |
|
| 21 |
2004-07-15 MORIOKA Tomohiko <[email protected]> |
| 22 |
|
| 23 |
* chise.c (struct CHISE_DS): Add new member `property_names'. |
| 24 |
(CHISE_DS_open): Initialize `property_names'. |
| 25 |
(CHISE_DS_close): Destroy `property_names'. |
| 26 |
(chise_ds_location): New function. |
| 27 |
(chise_ds_get_property): New function. |
| 28 |
(struct CHISE_Property_Table): New structure. |
| 29 |
(chise_ds_open_property_table): New function. |
| 30 |
(chise_pt_close): Likewise. |
| 31 |
(chise_property_setup_db): Likewise. |
| 32 |
(chise_property_sync): Likewise. |
| 33 |
(chise_feature_set_property_value): Likewise. |
| 34 |
(chise_feature_load_property_value): Likewise. |
| 35 |
(chise_feature_gets_property_value): Likewise. |
| 36 |
|
| 37 |
* chise.h (chise_ds_location): New prototype. |
| 38 |
(CHISE_Property_Table): New type. |
| 39 |
(CHISE_Property): New type. |
| 40 |
(chise_ds_get_property): New prototype. |
| 41 |
(chise_property_setup_db): Likewise. |
| 42 |
(chise_property_sync): Likewise. |
| 43 |
(chise_feature_set_property_value): Likewise. |
| 44 |
(chise_feature_load_property_value): Likewise. |
| 45 |
(chise_feature_gets_property_value): Likewise. |
| 46 |
|
| 47 |
* sample.c (main): Use `chise_ds_location'. |
| 48 |
|
| 49 |
* configure.in: Update version to 0.2.2. |
| 50 |
|
| 51 |
* Makefile.in (ABI_VERSION): Update to 2:0:1. |
| 52 |
|
| 53 |
|
| 54 |
2004-03-01 MORIOKA Tomohiko <[email protected]> |
| 55 |
|
| 56 |
* libchise 0.2.1 released. |
| 57 |
|
| 58 |
* Makefile.in (ABI_VERSION): Update to Revision 1. |
| 59 |
|
| 60 |
* configure.in: Update version to 0.2.1. |
| 61 |
|
| 62 |
2004-02-26 MORIOKA Tomohiko <[email protected]> |
| 63 |
|
| 64 |
* name.c (chise_make_name_table): Change initial number of hash |
| 65 |
table to 256. |
| 66 |
(chise_destroy_name_table): Destroy each entry. |
| 67 |
|
| 68 |
* chise.c (CHISE_DS_close): Use `chise_destroy_name_table'. |
| 69 |
|
| 70 |
|
| 71 |
2003-11-03 MORIOKA Tomohiko <[email protected]> |
| 72 |
|
| 73 |
* libchise 0.2.0 released. |
| 74 |
|
| 75 |
2003-11-03 MORIOKA Tomohiko <[email protected]> |
| 76 |
|
| 77 |
* Makefile.in (TAR): New variable. |
| 78 |
|
| 79 |
2003-11-03 MORIOKA Tomohiko <[email protected]> |
| 80 |
|
| 81 |
* Makefile.in (tar): New target. |
| 82 |
|
| 83 |
2003-11-02 MORIOKA Tomohiko <[email protected]> |
| 84 |
|
| 85 |
* README.en, COPYING.LIB: New files. |
| 86 |
|
| 87 |
* chise-name.h, chise.c, chise.h, name.c: Add header. |
| 88 |
|
| 89 |
2003-10-30 MORIOKA Tomohiko <[email protected]> |
| 90 |
|
| 91 |
* sample.c (test_map_func): Modify to display UCS code point and |
| 92 |
character name. |
| 93 |
(main): Use `chise_system_db_dir'; display `numeric-value' instead |
| 94 |
of `ascii'. |
| 95 |
|
| 96 |
2003-10-15 MORIOKA Tomohiko <[email protected]> |
| 97 |
|
| 98 |
* chise.c (CHISE_Attribute_Table_open): Add code for BDB Ver. 4.1 |
| 99 |
or later. |
| 100 |
|
| 101 |
* chise.h (chise_system_db_dir): New constant. |
| 102 |
|
| 103 |
2003-10-15 MORIOKA Tomohiko <[email protected]> |
| 104 |
|
| 105 |
* Makefile.in (LIBS): Don't add -ldb. |
| 106 |
|
| 107 |
* configure.in: Setup LIBS; check /sw/include/db4/db.h and setup |
| 108 |
for db4 when the library is found. |
| 109 |
|
| 110 |
2003-10-15 MORIOKA Tomohiko <[email protected]> |
| 111 |
|
| 112 |
* aclocal.m4, ltmain.sh, config.guess, config.sub, install-sh: New |
| 113 |
files. |
| 114 |
|
| 115 |
* Makefile.in (target): New variable. |
| 116 |
(top_builddir): New variable. |
| 117 |
(CHISE_DIR_PREFIX): New variable. |
| 118 |
(CHISE_DIR_VERSION): New variable. |
| 119 |
(CHISE_DIR): New variable. |
| 120 |
(CHISE_DB_DIR): Renamed from `DB_DIR'; use `CHISE_DIR'. |
| 121 |
(CHISE_SI_DB_DIR): New variable. |
| 122 |
(CHISE_CFLAGS): New variable; define `CHISE_SI_DB_DIR'. |
| 123 |
(chise.lo): Use $(CHISE_CFLAGS). |
| 124 |
|
| 125 |
* configure.in: Add `AC_CANONICAL_TARGET'; use `AC_PROG_LIBTOOL' |
| 126 |
instead of `AC_CHECK_PROGS' for `LIBTOOL'. |
| 127 |
|
| 128 |
* chise.c (chise_system_db_dir): New constant. |
| 129 |
(CHISE_DS_open): Don't use DBTYPE. |
| 130 |
|
| 131 |
2003-10-14 MORIOKA Tomohiko <[email protected]> |
| 132 |
|
| 133 |
* chise.h (CHISE_DS_open): Don't use DBTYPE. |
| 134 |
|
| 135 |
2003-10-14 MORIOKA Tomohiko <[email protected]> |
| 136 |
|
| 137 |
* Makefile.in (DB_DIR): Update version to 0.2. |
| 138 |
|
| 139 |
2003-10-13 MORIOKA Tomohiko <[email protected]> |
| 140 |
|
| 141 |
* chise.c (chise_ds_foreach_char_feature_name): Read |
| 142 |
${db_dir}/character/feature/ instead of ${db_dir}/system-char-id. |
| 143 |
(chise_feature_setup_db): Modify for `CHISE_Attribute_Table_open'. |
| 144 |
(chise_ccs_setup_db): Likewise. |
| 145 |
(CHISE_Attribute_Table_open): Change interface to specify |
| 146 |
category/key_type/name instead of encoding/feature. |
| 147 |
|
| 148 |
2003-10-12 MORIOKA Tomohiko <[email protected]> |
| 149 |
|
| 150 |
* chise.c (chise_ds_foreach_char_feature_name): New function. |
| 151 |
(chise_feature_foreach_char_with_value): Renamed from |
| 152 |
`chise_char_feature_value_iterate'. |
| 153 |
|
| 154 |
2003-10-11 MORIOKA Tomohiko <[email protected]> |
| 155 |
|
| 156 |
* sample.c (test_name_map_func): New function. |
| 157 |
(main): Use `chise_ds_foreach_char_feature_name'. |
| 158 |
|
| 159 |
* Makefile.in (sample): Add -Wall -Wmissing-prototypes options for |
| 160 |
gcc. |
| 161 |
|
| 162 |
* chise.h (chise_ds_foreach_char_feature_name): New prototype. |
| 163 |
(chise_feature_foreach_char_with_value): Renamed from |
| 164 |
`chise_char_feature_value_iterate'. |
| 165 |
|
| 166 |
2003-10-08 MORIOKA Tomohiko <[email protected]> |
| 167 |
|
| 168 |
* sample.c (char db_dir): Deleted. |
| 169 |
(main): Use ${chise_db_dir}/db/ for the location of data-source. |
| 170 |
|
| 171 |
* Makefile.in (prefix): Use @prefix@. |
| 172 |
(exec_prefix): Use @exec_prefix@. |
| 173 |
(libdir): Use @libdir@. |
| 174 |
(libexecdir): New variable. |
| 175 |
(DB_INSTALLDIR): Deleted. |
| 176 |
(DB_DIR): New variable. |
| 177 |
(chise.lo): Specify DB_DIR. |
| 178 |
(install): Don't call install.db. |
| 179 |
(install.db): Deleted. |
| 180 |
|
| 181 |
* chise.h, chise.c (chise_db_dir): New variable. |
| 182 |
(CHISE_DS_open): Use <const unsigned char *> instead of <char *> |
| 183 |
as the type of location. |
| 184 |
|
| 185 |
2003-10-06 MORIOKA Tomohiko <[email protected]> |
| 186 |
|
| 187 |
* chise.h (chise_feature_setup_db): New prototype. |
| 188 |
(chise_ccs_setup_db): Likewise. |
| 189 |
|
| 190 |
* chise.c (chise_feature_setup_db): Changed to public function. |
| 191 |
(chise_ccs_setup_db): New function. |
| 192 |
(chise_ccs_decode): Use `chise_ccs_setup_db'. |
| 193 |
(chise_ccs_set_decoded_char): Likewise. |
| 194 |
|
| 195 |
2003-10-05 MORIOKA Tomohiko <[email protected]> |
| 196 |
|
| 197 |
* chise.c (CHISE_Attribute_Table_open): Create required |
| 198 |
directories when running with create mode. |
| 199 |
|
| 200 |
2003-10-05 MORIOKA Tomohiko <[email protected]> |
| 201 |
|
| 202 |
* chise.h (chise_feature_sync): New prototype. |
| 203 |
(chise_char_set_feature_value): New prototype. |
| 204 |
(chise_ds_load_char_feature_value): New inline function. |
| 205 |
|
| 206 |
* chise.c (chise_feature_sync): New function. |
| 207 |
(chise_char_set_feature_value): New function. |
| 208 |
|
| 209 |
2003-10-03 MORIOKA Tomohiko <[email protected]> |
| 210 |
|
| 211 |
* sample.c (main): Use `chise_ds_decode_char' instead of |
| 212 |
`chise_ds_get_ccs' and `chise_ccs_decode'. |
| 213 |
|
| 214 |
* chise.c (chise_ccs_decode): Return -1 when argument `ccs' is |
| 215 |
NULL. |
| 216 |
(chise_ccs_set_decoded_char): Likewise. |
| 217 |
|
| 218 |
* chise.h (chise_ds_decode_char): New inline function. |
| 219 |
|
| 220 |
2003-10-02 MORIOKA Tomohiko <[email protected]> |
| 221 |
|
| 222 |
* sample.c: |
| 223 |
- `chise_open_data_source' is renamed to `CHISE_DS_open'. |
| 224 |
- `chise_ds_close' is renamed to `CHISE_DS_close'. |
| 225 |
|
| 226 |
* name.c: Modify to avoid warning. |
| 227 |
|
| 228 |
* chise-name.h (chise_make_name_table): Modify to avoid warning. |
| 229 |
|
| 230 |
* chise.c (strnlen): Separated to sysdep.h; include sysdep.h |
| 231 |
instead. |
| 232 |
(CHISE_Attribute_Table_open): Renamed from |
| 233 |
`chise_open_attribute_table'. |
| 234 |
(CHISE_Attribute_Table_close): Renamed from |
| 235 |
`chise_close_attribute_table'. |
| 236 |
(chise_attribute_table_get): Renamed from |
| 237 |
`chise_get_attribute_table'. |
| 238 |
(chise_attribute_table_put): Renamed from |
| 239 |
`chise_put_attribute_table'. |
| 240 |
(CHISE_DS_open): Renamed from `chise_open_data_source'. |
| 241 |
(CHISE_DS_close): Renamed from `chise_ds_close'. |
| 242 |
(chise_feature_setup_db): New function. |
| 243 |
(chise_char_load_feature_value): Use `chise_feature_setup_db'. |
| 244 |
(chise_char_gets_feature_value): Likewise. |
| 245 |
(chise_char_feature_value_iterate): Likewise. |
| 246 |
|
| 247 |
* Makefile.in (CFLAGS): Add -Wall and -Wmissing-prototypes. |
| 248 |
(chise.lo): Add dependency on sysdep.h. |
| 249 |
|
| 250 |
* chise.h (CHISE_DS_open): Renamed from `chise_open_data_source'. |
| 251 |
(CHISE_DS_close): Renamed from `chise_ds_close'. |
| 252 |
|
| 253 |
* sysdep.h: New file [separate from chise.c]. |
| 254 |
|
| 255 |
2003-10-02 MORIOKA Tomohiko <[email protected]> |
| 256 |
|
| 257 |
* chise.h (chise_ds_open_feature_table): Abolished. |
| 258 |
(chise_ft_close): Likewise. |
| 259 |
|
| 260 |
2003-10-02 MORIOKA Tomohiko <[email protected]> |
| 261 |
|
| 262 |
* sample.c: Update for the latest API. |
| 263 |
|
| 264 |
* chise.c (struct CHISE_DS): Add new member `subtype' and |
| 265 |
`modemask'. |
| 266 |
(chise_open_data_source): Add new arguments `subtype' and |
| 267 |
`modemask'. |
| 268 |
(chise_ds_get_feature): Delete arguments `real_subtype', |
| 269 |
`accessmask', `modemask'. |
| 270 |
(chise_ds_get_ccs): Likewise. |
| 271 |
(struct CHISE_Feature_Table): Add new member `name' and `access'. |
| 272 |
(chise_ds_open_feature_table): Delete arguments `real_subtype', |
| 273 |
`accessmask', `modemask'. |
| 274 |
(chise_ft_close): Release `table->name'. |
| 275 |
(chise_char_load_feature_value): Setup `table->db'. |
| 276 |
(chise_char_gets_feature_value): Likewise. |
| 277 |
(chise_char_feature_value_iterate): Return an integer value; setup |
| 278 |
`feature->db'. |
| 279 |
(struct CHISE_CCS_Table): Add new member `name' and `access'. |
| 280 |
(chise_ds_open_ccs_table): Delete arguments `real_subtype', |
| 281 |
`accessmask', `modemask'. |
| 282 |
(chise_ccst_close): Release `table->name'. |
| 283 |
(chise_ccs_sync): New function. |
| 284 |
(chise_ccs_decode): Setup `ccs->db'. |
| 285 |
(chise_ccs_set_decoded_char): Renamed from `chise_ccst_put_char'; |
| 286 |
setup `ccs->db'. |
| 287 |
|
| 288 |
* chise.h (chise_open_data_source): Add new arguments `subtype' |
| 289 |
and `modemask'. |
| 290 |
(chise_ds_get_feature): Delete arguments `real_subtype', |
| 291 |
`accessmask', `modemask'. |
| 292 |
(chise_char_feature_value_iterate): Return an integer value. |
| 293 |
(chise_char_feature_str_iterate): Comment out. |
| 294 |
(chise_ds_open_feature_table): Delete arguments `real_subtype', |
| 295 |
`accessmask', `modemask'. |
| 296 |
(chise_ds_get_ccs): Delete arguments `real_subtype', `accessmask', |
| 297 |
`modemask'. |
| 298 |
(chise_ccs_set_decoded_char): Renamed from `chise_ccst_put_char'. |
| 299 |
(chise_ccs_sync): New prototype. |
| 300 |
(chise_ds_open_ccs_table): Abolished. |
| 301 |
(int chise_ccst_close): Abolished. |
| 302 |
|
| 303 |
2003-08-28 MORIOKA Tomohiko <[email protected]> |
| 304 |
|
| 305 |
* sample.c (test_map_func): Modify for |
| 306 |
chise_char_feature_value_iterate. |
| 307 |
(main): Rename `dt_*' to `ccs_*'; use `chise_ds_get_ccs' instead |
| 308 |
of `chise_ds_open_decoding_table'; use `chise_ccs_decode' instead |
| 309 |
of `chise_dt_get_char'; don't use `chise_dt_close'; use `use |
| 310 |
`chise_ds_get_feature' instead of `chise_ds_open_feature_table'; |
| 311 |
use `chise_char_gets_feature_value' instead of |
| 312 |
`chise_ft_get_value'; use `chise_char_feature_value_iterate' |
| 313 |
instead of `chise_ft_iterate'; don't use `chise_ft_close'. |
| 314 |
|
| 315 |
2003-08-26 MORIOKA Tomohiko <[email protected]> |
| 316 |
|
| 317 |
* chise.c: Include "chise-name.h". |
| 318 |
(CHISE_DS): Add new members `feature_names' and `ccs_names'. |
| 319 |
(chise_open_data_source): Setup ds->feature_names and |
| 320 |
ds->ccs_names. |
| 321 |
(chise_ds_close): Release ds->feature_names and ds->ccs_names. |
| 322 |
(chise_ds_get_feature): New function. |
| 323 |
(chise_ds_get_ccs): New function. |
| 324 |
(chise_char_load_feature_value): Renamed from |
| 325 |
`chise_ft_get_value'; modify interface. |
| 326 |
(chise_char_gets_feature_value): New function. |
| 327 |
(chise_char_feature_value_iterate): Renamed from |
| 328 |
`chise_ft_iterate'; modify interface. |
| 329 |
(CHISE_CCS_Table): Renamed from `CHISE_Decoding_Table'. |
| 330 |
(chise_ds_open_ccs_table): Renamed from |
| 331 |
`chise_ds_open_decoding_table'. |
| 332 |
(chise_ccst_close): Renamed from `chise_dt_close'. |
| 333 |
(chise_ccs_decode): Renamed from `chise_dt_get_char'. |
| 334 |
(chise_ccst_put_char): Renamed from `chise_dt_put_char'. |
| 335 |
|
| 336 |
* chise.h (CHISE_Feature): New type. |
| 337 |
(chise_ds_get_feature): New prototype. |
| 338 |
(chise_char_load_feature_value): Renamed from |
| 339 |
`chise_ft_get_value'; modify interface. |
| 340 |
(chise_char_gets_feature_value): New prototype. |
| 341 |
(chise_char_feature_value_iterate): Renamed from |
| 342 |
`chise_ft_iterate'; modify interface. |
| 343 |
(chise_char_feature_str_iterate): New prototype. |
| 344 |
(CHISE_CCS_Table): Renamed from `CHISE_Decoding_Table'. |
| 345 |
(CHISE_CCS): New type. |
| 346 |
(chise_ds_get_ccs): New prototype. |
| 347 |
(chise_ccs_decode): Renamed from `chise_dt_get_char'. |
| 348 |
(chise_ds_open_ccs_table): Renamed from |
| 349 |
`chise_ds_open_decoding_table'. |
| 350 |
(chise_ccst_close): Renamed from `chise_dt_close'. |
| 351 |
(chise_ccst_put_char): Renamed from `chise_dt_put_char'. |
| 352 |
(chise_decode_char): Deleted. |
| 353 |
(chise_get_feature): Deleted. |
| 354 |
|
| 355 |
2003-08-20 MORIOKA Tomohiko <[email protected]> |
| 356 |
|
| 357 |
* name.c: Include "chise-name.h". |
| 358 |
(chise_name_table_put): Use <const unsigned char*> instead of |
| 359 |
<unsigned char*> for key. |
| 360 |
(chise_name_table_get): Likewise. |
| 361 |
|
| 362 |
* chise-name.h (chise_name_table_put): Use <const unsigned char*> |
| 363 |
instead of <unsigned char*> for key. |
| 364 |
(chise_name_table_get): Likewise. |
| 365 |
|
| 366 |
2003-08-16 MORIOKA Tomohiko <[email protected]> |
| 367 |
|
| 368 |
* Makefile.in (HEADERS): New variable. |
| 369 |
(OBJS): New variable. |
| 370 |
(libchise.la): Refer $(OBJS); add --mode=link for libtool. |
| 371 |
(chise.lo): Depends on config.h. |
| 372 |
(name.lo): New target. |
| 373 |
(install.h): Refer $(HEADERS). |
| 374 |
|
| 375 |
2003-08-15 MORIOKA Tomohiko <[email protected]> |
| 376 |
|
| 377 |
* chise-name.h, name.c: New files. |
| 378 |
|
| 379 |
2003-08-17 MORIOKA Tomohiko <[email protected]> |
| 380 |
|
| 381 |
* chise.c (CHISE_Attribute_Table): Use <DB> instead of <struct |
| 382 |
CHISE_Attribute_Table>. |
| 383 |
(chise_put_attribute_table): New prototype. |
| 384 |
(struct CHISE_Decoding_Table): Use <CHISE_Attribute_Table*> |
| 385 |
instead of <DB*> as the type of member `db'. |
| 386 |
(chise_ds_open_decoding_table): New implementation. |
| 387 |
(chise_dt_close): Likewise. |
| 388 |
(chise_dt_get_char): Modify for new implementation of <struct |
| 389 |
CHISE_Decoding_Table>. |
| 390 |
(chise_dt_put_char): Likewise. |
| 391 |
(struct CHISE_Feature_Table): Use <CHISE_Attribute_Table*> instead |
| 392 |
of <DB*> as the type of member `db'. |
| 393 |
(chise_ds_open_feature_table): New implementation. |
| 394 |
(chise_ft_close): Likewise. |
| 395 |
(chise_ft_get_value): Modify for new implementation of <struct |
| 396 |
CHISE_Feature_Table>. |
| 397 |
(chise_open_attribute_table): Use db_dir instead of ds as the |
| 398 |
first argument; modify for new implementation of |
| 399 |
<CHISE_Attribute_Table>. |
| 400 |
(chise_close_attribute_table): Modify for new implementation of |
| 401 |
<CHISE_Attribute_Table>. |
| 402 |
(chise_get_attribute_table): Likewise. |
| 403 |
(chise_put_attribute_table): Likewise. |
| 404 |
|
| 405 |
2003-08-17 MORIOKA Tomohiko <[email protected]> |
| 406 |
|
| 407 |
* chise.c (CHISE_Attribute_Table): Moved from chise.h. |
| 408 |
(struct CHISE_Decoding_Table): New structure. |
| 409 |
(chise_ds_open_decoding_table): Cast the return value to |
| 410 |
<CHISE_Decoding_Table*>. |
| 411 |
(chise_dt_close): Cast back to <CHISE_Attribute_Table*>. |
| 412 |
(chise_dt_get_char): Likewise. |
| 413 |
(struct CHISE_Feature_Table): New structure. |
| 414 |
(chise_ds_open_feature_table): Cast the return value to |
| 415 |
<CHISE_Feature_Table*>. |
| 416 |
(chise_ft_close): Cast back to <CHISE_Attribute_Table*>. |
| 417 |
(chise_ft_get_value): Likewise. |
| 418 |
|
| 419 |
* chise.h (CHISE_Attribute_Table): Deleted. |
| 420 |
(CHISE_Decoding_Table): Use <struct CHISE_Decoding_Table> instead |
| 421 |
of <CHISE_Attribute_Table>. |
| 422 |
(CHISE_Feature_Table): Use <struct CHISE_Feature_Table> instead of |
| 423 |
<CHISE_Attribute_Table>. |
| 424 |
|
| 425 |
2003-08-17 MORIOKA Tomohiko <[email protected]> |
| 426 |
|
| 427 |
* chise.c (chise_open_attribute_table): New prototype. |
| 428 |
(chise_close_attribute_table): New prototype. |
| 429 |
(chise_get_attribute_table): New prototype. |
| 430 |
|
| 431 |
* chise.h (chise_open_attribute_table): Deleted. |
| 432 |
(chise_close_attribute_table): Deleted. |
| 433 |
(chise_get_attribute_table): Deleted. |
| 434 |
|
| 435 |
2003-08-17 MORIOKA Tomohiko <[email protected]> |
| 436 |
|
| 437 |
* chise.c (struct CHISE_DS): Definition of members are moved from |
| 438 |
chise.h. |
| 439 |
|
| 440 |
* chise.h (struct CHISE_DS): Omit definition of members. |
| 441 |
|
| 442 |
2003-08-17 MORIOKA Tomohiko <[email protected]> |
| 443 |
|
| 444 |
* sample.c (main): Modify for new API. |
| 445 |
|
| 446 |
* chise.c (chise_open_data_source): Interface change; allocate a |
| 447 |
CHISE_DS object and return it. |
| 448 |
(chise_ds_close): Renamed from `chise_close_data_source'; destroy |
| 449 |
the specified CHISE_DS object. |
| 450 |
(chise_ds_open_decoding_table): Renamed from |
| 451 |
`chise_open_decoding_table' and changed the interface. |
| 452 |
(chise_dt_close): Renamed from `chise_close_decoding_table'. |
| 453 |
(chise_ds_open_feature_table): Renamed from |
| 454 |
`chise_open_feature_table' and changed the interface. |
| 455 |
(chise_ft_close): Renamed from `chise_close_feature_table'. |
| 456 |
(chise_open_attribute_table): Interface change; allocate a |
| 457 |
CHISE_Attribute_Table object and return it; require pointer for |
| 458 |
data source object instead of db_dir. |
| 459 |
(chise_close_attribute_table): Destroy the specified |
| 460 |
CHISE_Attribute_Table object. |
| 461 |
|
| 462 |
* chise.h (struct CHISE_DS): Change type of location from <char*> |
| 463 |
to <unsigned char*>. |
| 464 |
(chise_open_data_source): Change interface. |
| 465 |
(chise_ds_close): Renamed from `chise_close_data_source'. |
| 466 |
(struct CHISE_Attribute_Table): Add new member `ds'; rename `dbp' |
| 467 |
to `db'. |
| 468 |
(chise_ds_open_decoding_table): Renamed from |
| 469 |
`chise_open_decoding_table' and changed the interface. |
| 470 |
(chise_dt_close): Renamed from `chise_close_decoding_table'. |
| 471 |
(chise_ds_open_feature_table): Renamed from |
| 472 |
`chise_open_feature_table' and changed the interface. |
| 473 |
(chise_ft_close): Renamed from `chise_close_feature_table'. |
| 474 |
(chise_open_attribute_table): Change interface. |
| 475 |
|
| 476 |
2003-08-12 MORIOKA Tomohiko <[email protected]> |
| 477 |
|
| 478 |
* configure.in: Update version to 0.2.0. |
| 479 |
|
| 480 |
* Makefile.in (ABI_VERSION): New variable. |
| 481 |
(libchise.la): Specify $(ABI_VERSION) as -version-info of libtool. |
| 482 |
|
| 483 |
2003-08-12 MORIOKA Tomohiko <[email protected]> |
| 484 |
|
| 485 |
* sample.c (main): Use <CHISE_Decoding_Table> instead of |
| 486 |
<CHISE_Decoding_Table*> to define `dt_daikanwa'; use |
| 487 |
<CHISE_Feature_Table> instead of <CHISE_Feature_Table*> to define |
| 488 |
`ft_ideographic_structure' and `ft_ascii'. |
| 489 |
|
| 490 |
* chise.c (chise_open_decoding_table): Use <CHISE_Decoding_Table*> |
| 491 |
instead of <CHISE_Decoding_Table**> as the type of the first |
| 492 |
argument. |
| 493 |
(chise_open_feature_table): Use <CHISE_Feature_Table*> instead of |
| 494 |
<CHISE_Feature_Table**> as the type of the first argument. |
| 495 |
(chise_ft_iterate): Modify for the structure |
| 496 |
`CHISE_Feature_Table'. |
| 497 |
(chise_open_attribute_table): Use <CHISE_Attribute_Table*> instead |
| 498 |
of <CHISE_Attribute_Table **> as the type of the first argument; |
| 499 |
modify for the structure <CHISE_Feature_Table>. |
| 500 |
(chise_close_attribute_table): Modify for the structure |
| 501 |
<CHISE_Feature_Table>. |
| 502 |
(chise_get_attribute_table): Likewise. |
| 503 |
(chise_put_attribute_table): Likewise. |
| 504 |
|
| 505 |
* chise.h (CHISE_Attribute_Table): Define as a structure. |
| 506 |
(chise_open_decoding_table): Use <CHISE_Decoding_Table*> instead |
| 507 |
of <CHISE_Decoding_Table**> as the type of the first argument. |
| 508 |
(chise_open_feature_table): Use <CHISE_Feature_Table*> instead of |
| 509 |
<CHISE_Feature_Table**> as the type of the first argument. |
| 510 |
(chise_open_attribute_table): Use <CHISE_Attribute_Table*> instead |
| 511 |
of <CHISE_Attribute_Table**> as the type of the first argument. |
| 512 |
|
| 513 |
2003-08-11 MORIOKA Tomohiko <[email protected]> |
| 514 |
|
| 515 |
* chise.h (chise_dt_put_char): New prototype. |
| 516 |
|
| 517 |
2003-08-10 MORIOKA Tomohiko <[email protected]> |
| 518 |
|
| 519 |
* chise.c (chise_dt_put_char): New function. |
| 520 |
(chise_put_attribute_table): New function. |
| 521 |
|
| 522 |
2003-08-10 MORIOKA Tomohiko <[email protected]> |
| 523 |
|
| 524 |
* chise.c (chise_format_char_id): New function. |
| 525 |
(chise_ft_get_value): Use `chise_format_char_id'. |
| 526 |
|
| 527 |
2003-08-09 MORIOKA Tomohiko <[email protected]> |
| 528 |
|
| 529 |
* chise.h: Define `_CHISE_H'. |
| 530 |
|
| 531 |
2003-08-09 MORIOKA Tomohiko <[email protected]> |
| 532 |
|
| 533 |
* sample.c (test_map_func): New function. |
| 534 |
(main): Add sample of `chise_ft_iterate'. |
| 535 |
|
| 536 |
* chise.c (chise_char_id_parse_c_string): New function. |
| 537 |
(chise_dt_get_char): Use `chise_char_id_parse_c_string'. |
| 538 |
(chise_ft_iterate): New function. |
| 539 |
|
| 540 |
* chise.h (chise_ft_iterate): New function. |
| 541 |
|
| 542 |
2003-08-06 MORIOKA Tomohiko <[email protected]> |
| 543 |
|
| 544 |
* chise.c (chise_ft_get_value): Use escape forms for some special |
| 545 |
characters. |
| 546 |
|
| 547 |
2003-08-06 MORIOKA Tomohiko <[email protected]> |
| 548 |
|
| 549 |
* sample.c (main): Rename "ideograph-daikanwa" to "=daikanwa". |
| 550 |
|
| 551 |
* chise.c (chise_open_attribute_table): Encode '/' and '%' in |
| 552 |
argument `feature' for file name. |
| 553 |
|
| 554 |
2003-07-12 MORIOKA Tomohiko <[email protected]> |
| 555 |
|
| 556 |
* chise.c, chise.h: Move strnlen related code from chise.h to |
| 557 |
chise.c. |
| 558 |
|
| 559 |
2003-07-08 MORIOKA Tomohiko <[email protected]> |
| 560 |
|
| 561 |
* Makefile.in (CFLAGS): Refer @CFLAGS@. |
| 562 |
|
| 563 |
* configure.in: Add check code for Fink. |
| 564 |
|
| 565 |
2003-07-08 MORIOKA Tomohiko <[email protected]> |
| 566 |
|
| 567 |
* Makefile.in (LIBTOOL): New variable. |
| 568 |
(distclean): New target. |
| 569 |
|
| 570 |
* configure.in: Check about libtool. |
| 571 |
|
| 572 |
2003-07-08 MORIOKA Tomohiko <[email protected]> |
| 573 |
|
| 574 |
* Makefile.in: Use libtool. |
| 575 |
|
| 576 |
2003-07-07 MORIOKA Tomohiko <[email protected]> |
| 577 |
|
| 578 |
* chise.c: Include "config.h" when HAVE_CONFIG_H is defined. |
| 579 |
|
| 580 |
* chise.h (strnlen): New inline function when HAVE_STRNLEN is not |
| 581 |
defined [based on Izumi MIYAZAKI <[email protected]>'s |
| 582 |
patch]. |
| 583 |
|
| 584 |
* Makefile: Deleted. |
| 585 |
|
| 586 |
* configure: New file. |
| 587 |
|
| 588 |
* Makefile.in, config.h.in, configure.in: New files. |
| 589 |
|
| 590 |
2003-03-12 MORIOKA Tomohiko <[email protected]> |
| 591 |
|
| 592 |
* chise.c (chise_dt_get_char): Use `chise_value_data' instead of |
| 593 |
`chise_value_to_c_string'; use `strnlen' and `chise_value_size' |
| 594 |
instead of `strlen'; fix problem about control characters. |
| 595 |
|
| 596 |
* chise.h (chise_value_data): New inline function. |
| 597 |
|
| 598 |
2003-03-10 MORIOKA Tomohiko <[email protected]> |
| 599 |
|
| 600 |
* chise.c (chise_dt_get_char): Fix problem about `?\CHAR'. |
| 601 |
|
| 602 |
2003-03-06 MORIOKA Tomohiko <[email protected]> |
| 603 |
|
| 604 |
* sample.c: Add comments. |
| 605 |
|
| 606 |
2003-03-06 MORIOKA Tomohiko <[email protected]> |
| 607 |
|
| 608 |
* sample.c: Use <chise.h>. |
| 609 |
(db_dir): Use "/usr/local/lib/chise/char-db". |
| 610 |
|
| 611 |
* Makefile: Install chise.h; setup /usr/local/lib/chise/char-db/. |
| 612 |
|
| 613 |
2003-03-05 MORIOKA Tomohiko <[email protected]> |
| 614 |
|
| 615 |
* Makefile, chise.c, chise.h, sample.c: New files. |
| 616 |
|