1 2008-04-22 Mikio Hirabayashi <mikio@users.sourceforge.net>
3 * tcbdb.c (tcbdbcmpdecimal, tcbdbcmpint32, tcbdbcmpint64): bugs of overflow were fixed.
7 2008-04-13 Mikio Hirabayashi <mikio@users.sourceforge.net>
9 * tcbdb.c (tcbdbopenimpl): comparison function checking was added.
11 * tcadb.c (tcadbopen): "capnum" option is now supported for B+ tree.
15 2008-04-07 Mikio Hirabayashi <mikio@users.sourceforge.net>
17 * tcutil.c (tcregexmatch, tcregexreplace, tcglobpat): new functions.
19 * tcbdb.c (tcbdbcmpfunc, tcbdbcmpop): new functions.
21 * tcbdb.c (tcbdboptimizeimpl): leaf size limitation is now implemented.
23 * tcbdb.c (tcbdbsetcapnum): new function.
27 2008-03-19 Mikio Hirabayashi <mikio@users.sourceforge.net>
29 * tcutil.c (tcmapnew2): "calloc" is now used.
31 * tcbdb.c (tcbdbputimpl): algorithm to divide large leaves was modified.
35 2008-03-13 Mikio Hirabayashi <mikio@users.sourceforge.net>
37 * tcutil.c (tclistelemcmp, tclistelemcmpci): bugs about multibyte ordering were fixed.
39 * tcutil.c (tclistsortex): new function.
41 * tcbdb.c (tcbdbsetecode): new function.
43 * tcadb.c (tcadbopen): "c", "t", "e", and "w" options were added.
47 2008-02-18 Mikio Hirabayashi <mikio@users.sourceforge.net>
49 * tcmdb.c (tcmdbfwmkeys, tcmdbfwmkeys2): new functions.
51 * tchdb.c (tchdbfwmkeys, tchdbfwmkeys2): new functions.
53 * tcbdb.c (tcbdbfwmkeys, tcbdbfwmkeys2): new functions instead of "tcbdbrange3".
55 * tcadb.c (tcadbfwmkeys, tcadbfwmkeys2): new functions.
57 * tcbdb.c (tcbdbrangeimpl): a bug related to mutex operation was fixed.
59 - The library version was bumped up for some binary packages.
63 2008-02-15 Mikio Hirabayashi <mikio@users.sourceforge.net>
65 * tcutil.c (tcbwtsortchrcount): time efficiency was improved.
67 - The library version was bumped up for some binary packages.
71 2008-02-05 Mikio Hirabayashi <mikio@users.sourceforge.net>
73 * tcatest.c (runwicked, procwicked): new functions.
77 2008-01-30 Mikio Hirabayashi <mikio@users.sourceforge.net>
79 * tcutil.c (tctime): measure unit was changed to in seconds.
81 * tchdb.c (tchdbcopy): shared lock is now used.
83 * tcadb.c (tcadbsync, tcadbcopy): new functions.
87 2008-01-23 Mikio Hirabayashi <mikio@users.sourceforge.net>
89 * tcbdb.c (tcbdbleafkill, tcbdbnodesubidx): new functions.
91 * tcbtest.c (runqueue, procqueue): new functions.
95 2008-01-20 Mikio Hirabayashi <mikio@users.sourceforge.net>
97 * tcutil.c (tcmapmsiz, tcmdbmsiz, tcadbsize): new functions.
99 * tcutil.c (tcglobalmutexshared): new function.
101 * tcutil.c (tcglobalmutexinit, tcglobalmutexdestroy): new functions.
103 * tcutil.c (tcreadfile): a bug related to the size assignment was fixed.
105 * tcadb.c (tcadbopen): "capsiz" parameter was added.
109 2008-01-17 Mikio Hirabayashi <mikio@users.sourceforge.net>
111 * tcutil.c (tclistshift, tclistshift2): memory alignment was improved.
113 * tcutil.c (tcvxstrprintf): a bug related to format of long long integer was fixed.
117 2008-01-10 Mikio Hirabayashi <mikio@users.sourceforge.net>
119 * tcutil.c (tcmdbvsiz, tcmdbvsiz2): new functions.
121 * tcutil.c (tcmdbiternext): a bug related to handling sparse map was fixed.
123 * tcadb.h, tcadb.c: new files.
125 * tcatest.c, tcadb.c: new files.
129 2008-01-03 Mikio Hirabayashi <mikio@users.sourceforge.net>
131 * tcutil.c (tcstrutftoucs, tcstrucstoutf, tcstrjoin): new function.
133 * tcutil.c (tcstrdist, tcstrdistutf): new function.
137 2007-12-28 Mikio Hirabayashi <mikio@users.sourceforge.net>
139 * myconf.h: some header includings were removed for environments not conforming to C99.
141 * tcutil.c (tctccalendar, tcdatestrwww, tcdatestrhttp): new functions.
143 * tcutil.c (tcmapaddint): new function.
145 * tcucodec.c (rundate, procdate): new functions.
149 2007-12-24 Mikio Hirabayashi <mikio@users.sourceforge.net>
151 * tchdb.c (tcseekread, tcseekwrite): pread and pwrite were to be used.
155 2007-12-21 Mikio Hirabayashi <mikio@users.sourceforge.net>
157 * tcutil.c (tcmdbnew, tcmdbput, tcmdbget): concurrency was improved.
159 * tcutil.c (tcmapcutfront, tcmdbcutfront): new functions.
161 * tchdb.c (tchdbasyncimpl): large deferred buffer was to be flushed.
163 * tcumttest.c: new file.
167 2007-12-19 Mikio Hirabayashi <mikio@users.sourceforge.net>
169 * tcutil.c (tclrand, tcdrand, tcdrandnd): new functions.
171 * tchdb.c (tchdbcacheadjust): count checking was removed.
173 * tchmttest.c (myrandnd): new function.
175 * tcbmttest.c (myrandnd): new function.
179 2007-12-10 Mikio Hirabayashi <mikio@users.sourceforge.net>
181 * tcutil.c (tcglobalmutexlock): the type of the global mutex was changed to rwlock.
183 * tchdb.c (tchdbsetmutex, tchdbopenimpl): multiple reading file descriptors were added.
185 * tchmttest.c (runtypical, proctypical): reading ratio assignment was added.
187 * tcbmttest.c (runtypical, proctypical): reading ratio assignment was added.
191 2007-12-08 Mikio Hirabayashi <mikio@users.sourceforge.net>
193 * tcutil.c (tcmpoolput): mutex for operations was added.
197 2007-12-08 Mikio Hirabayashi <mikio@users.sourceforge.net>
199 * tcutil.c (tcberencode, tcberdecode): new functions.
201 * tcbdb.c (tcbdbleafload): speed was improved.
205 2007-12-07 Mikio Hirabayashi <mikio@users.sourceforge.net>
207 * tchdb.c (tchdbsetcache): new function.
209 * tchmttest.c (procwrite, procread): random mode was added.
211 * tcbmttest.c (procwrite, procread): random mode was added.
215 2007-12-01 Mikio Hirabayashi <mikio@users.sourceforge.net>
217 * tchmgr.c (procget): a bug related to the open omode was fixed.
219 * tchdb.c (tchdbreadrec): a bug related to overflow on 32-bit environment was fixed.
221 * tchdb.c (tchdbgetbucket): the type of the return value was changed.
223 * tcbdb.c (tcbdbcurfirst, tcbdbcurnext): cache adjustment was to be performed.
225 * tcbdb.c (tcbdbrange, tcbdbrange2, tcbdbrange3): new functions.
227 * tchmgr.c (proclist): "-m" option was added.
229 * tchmgr.c (procimporttsv): new function.
231 * tcbmgr.c (proclist): "-m", "-rb", and "-rp" options were added.
233 * tcbmgr.c (procimporttsv): new function.
237 2007-11-28 Mikio Hirabayashi <mikio@users.sourceforge.net>
239 * tchmttest.c (threadtypical): a test case was added.
241 * tchdb.c (tchdbfbpmerge): a bug related to iterator was fixed.
243 * tcbdb.c (tcbdbgetimpl): a bug related to concurrent cache cleaning was fixed.
247 2007-11-20 Mikio Hirabayashi <mikio@users.sourceforge.net>
249 * tchdb.c (tchdblockmethod): a bug related to R/W lock was fixed.
251 * tcbdb.c (tcbdblockmethod): a bug related to R/W lock was fixed.
253 * tchdb.c, tcbdb.c: locking functions were re-imlemented as macros.
255 * tchmttest.c, tcbmttest.c: test cases of typical operations were added.
257 * tokyocabinet.idl: methods handling list parameters were added.
261 2007-11-15 Mikio Hirabayashi <mikio@users.sourceforge.net>
263 * tcbdb.c (tcbdboptimize): the default behaviour of bnum was changed.
267 2007-11-10 Mikio Hirabayashi <mikio@users.sourceforge.net>
269 * tcutil.c (tcrealpath, tccopyfile): new functions.
271 * tchdb.c (tchdbcopy): new function.
273 * tcbdb.c (tcbdbcopy): new function.
277 2007-11-10 Mikio Hirabayashi <mikio@users.sourceforge.net>
279 * tcbdb.c (tcbdbtune): comparing functions were optimized with macros.
281 * tcbdb.c (tcbdbsetlsmax): new function.
283 * myconf.c, tcutil.c, tchdb.c, tcbdb.c: code cleanup and optimization.
287 2007-11-08 Mikio Hirabayashi <mikio@users.sourceforge.net>
289 * tcbdb.c (tcbdbleafsave, tcbdbleafload): warnings on 64-bit system were cleared.
291 * configure.in: 64-bit offset mode for 32-bit system was added.
293 * Makefile.in: Mac OS X is now supported.
297 2007-11-01 Mikio Hirabayashi <mikio@users.sourceforge.net>
299 * tcbdb.c (tcbdbdel): a bug that opened database was not closed was fixed.
301 * tcbdb.c (tcbdbcurout): a bug of deleting always the first value was fixed.
303 * tcbdb.c (tcbdbopenimpl): a potential bug of not initializing meta data was fixed.
305 * tcutil.h, tchdb.h, tcbdb.h: wrapped in C linkage block for C++.
307 * tokyocabinet.idl: definition of constants were added.
309 - commands for performance test were added.
313 2007-10-28 Mikio Hirabayashi <mikio@users.sourceforge.net>
315 * tcbdb.c (tchdboptimize): a bug related to custom comparison function was fixed.
317 * tcbdb.c (tcbdbleafsave): empty pages was to be removed for time space efficiency.
319 * tcbdb.c (tcbdbputdup3): new function.
321 * tchdb.c (tchdbvanish): new function.
323 * tcbdb.c (tcbdbvanish): new function.
325 * tokyocabinet.idl: new file.
329 2007-10-24 Mikio Hirabayashi <mikio@users.sourceforge.net>
331 * tokyocabinet.pc.in: new file.
333 - document files were fulfilled.
337 2007-10-15 Mikio Hirabayashi <mikio@users.sourceforge.net>
339 * tcbdb.c (tchdbtranbegin): locking mode was aolished.
341 * tcbdb.c (tcbdbsetcmpfunc): new function.
345 2007-10-11 Mikio Hirabayashi <mikio@users.sourceforge.net>
347 * tchdb.c (tchdbopenimpl): database corruption was to be handled automatically.
349 * tcbdb.c, tcbtest.c, tcbmttest.c, tcbmgr.c: new files.
353 2007-09-09 Mikio Hirabayashi <mikio@users.sourceforge.net>
355 * tchdb.c (tchdbsetmutex, tchdblockobj, tchdbunlockobj): new functions.
357 * tchmttest.c: new file.
361 2007-09-05 Mikio Hirabayashi <mikio@users.sourceforge.net>
363 * tchdb.c (tchdbopen): TCBS compression mode is now supported.
367 2007-09-01 Mikio Hirabayashi <mikio@users.sourceforge.net>
369 * tchdb.c (tcbsencode, tcbsdecode): new functions.
373 2007-08-25 Mikio Hirabayashi <mikio@users.sourceforge.net>
375 * tchdb.c (tcpackencode, tcpackdecode): new functions.
377 * tchdb.c (tcbwtencode, tcbwtdecode): new functions.
381 2007-08-22 Mikio Hirabayashi <mikio@users.sourceforge.net>
383 * tchdb.c (tchdbputasync, tchdbputasync2): new functions.
387 2007-08-18 Mikio Hirabayashi <mikio@users.sourceforge.net>
389 * tchdb.c (tchdboptimize): a bug causing data corruption was fixed.
393 2007-08-15 Mikio Hirabayashi <mikio@users.sourceforge.net>
395 * tchdb.c (tchdboptimize): new function.
399 2007-08-14 Mikio Hirabayashi <mikio@users.sourceforge.net>
401 * tchdb.c (tchdbsavefbp, tchdbloadfbp): a bug related to 64-bit support was fixed.
403 * tchdb.c (tchdbreadrec, tchdbwriterec): a bug related to 64-bit support was fixed.
407 2007-08-13 Mikio Hirabayashi <mikio@users.sourceforge.net>
409 * tchdb.c (tchdbsavefbp, tchdbloadfbp): new functions.
413 2007-08-12 Mikio Hirabayashi <mikio@users.sourceforge.net>
415 - The initial version.