Commit graph

13 commits

Author SHA1 Message Date
jperkin
5faad01737 Update to 1.4.48. Add patches to fix build on OSX.
Changes since 1.4.46:

  * tcadb.cc (tcadbmisc): compilation warnings ware supressed.
  * tchdb.cc (tchdbfbpmerge): size checking was added.
  * tcbdb.cc (tcbdbrangeimpl): a bug of dead locking was fixed.
2013-10-25 20:27:18 +00:00
obache
f72de1bbdb Update tokyocabinet to 1.4.41.
2009-12-07  Mikio Hirabayashi  <hirarin@gmail.com>

	* tctdb.c (tctdbidxputtoken, tctdbidxputqgram): domain overflow checking was added.

	- Release: 1.4.41

2009-11-24  Mikio Hirabayashi  <hirarin@gmail.com>

	* tchdb.c (tchdbputimpl): efficiency of using the free block pool was improved.

	* tchdb.c (tchdboptimizeimpl): the behaviour in no lock mode was modified.

	- Release: 1.4.40

2009-11-11  Mikio Hirabayashi  <hirarin@gmail.com>

	* tcutil.h (TCALIGNOF, tcgeneric_t): new macros.

	* tcutil.h (TCALIGNPAD): the alignment is now calculated by the generic union.

	* myconf.h (_alignof, _issigned, _maxof): new macros.

	- Release: 1.4.39

2009-11-09  Mikio Hirabayashi  <hirarin@gmail.com>

	* tcutil.c (tcsysinfo): FreeBSD and Mac OS X are now supported.

	* tcutil.c (tcmpoolclear): new function.

	* tchdb.c (tchdbputproc): a potential bug of memory aligment violation was fixed.

	* tcbdb.c (tcbdbputproc): a potential bug of memory aligment violation was fixed.

	* tcfdb.c (tcfdbputproc): a potential bug of memory aligment violation was fixed.

	- Release: 1.4.38

2009-10-27  Mikio Hirabayashi  <hirarin@gmail.com>

	* tctdb.c (tctdbcacheclear, tctdbcacheclearimpl): new functions.

	* tcadb.c (tcadbmisc): "getpart", "cacheclear", and "regex" functions were added.

	- Release: 1.4.37

2009-10-26  Mikio Hirabayashi  <hirarin@gmail.com>

	* tcutil.c (tcwwwformdecode2): a bug related to multiple cookie handling was fixed.

	* tcadb.c (tcadbmisc): the "error" functions were added.

	- Release: 1.4.36

2009-10-06  Mikio Hirabayashi  <hirarin@gmail.com>

	* tchdb.c (tchdbseekwrite): a bug related to emulation of the UBC was fixed.

	* tchdb.c (tchdbvanishimpl): potential memory leak was removed.

	* tcfdb.c (tcfdbvanishimpl): potential memory leak was removed.

	* tcadb.c (tcadbsetskelmulti, tcadbmulnew, tcadbmuldel): new functions.

	* tcadb.c (tcadbmisc): "range" sub function for B+ tree was added.

	* tcamgr.c (setskeltran): new function.

	* tcamttest.c: new file.

	- Release: 1.4.35

2009-09-11  Mikio Hirabayashi  <hirarin@gmail.com>

	* myconf.h: a macro for environment without "nanl" was added.

	* tctdbmetasearch (tctdbmetasearch): a bug related to the limit parameters was fixed.

	- Release: 1.4.34

2009-08-31  Mikio Hirabayashi  <hirarin@gmail.com>

	* tcutil.h, tchdb.h, tcbdb.h, tcfdb.h, tctdb.h, tcadb.h: including stdbool.h was wrapped.

	* tcutil.c (tccmpdecimal): accuracy was improved and now real number is supported.

	* tctdb.c (tctdbqrycondmatch): accuracy of decimal operators was improved.

	- Release: 1.4.33
2010-01-17 02:45:00 +00:00
obache
0b3971a835 Update tokyocabinet to 1.4.19.
Changes:
2009-04-30  Mikio Hirabayashi  <mikio@users.sourceforge.net>

	* tctdb.c (tctdbidxhash, tctdbqryproc2, tctdbqrysearchout2): new functions.

	* tctdb.c (tctdbsearchimpl, tctdbidxput, tctdbidxout): the index format was modified.

	* tcadb.c (tcadbmisc): the "out" option of the "search" command became non-atomic.

	- Release: 1.4.19

2009-04-25  Mikio Hirabayashi  <mikio@users.sourceforge.net>

	* tcutil.c (tcatoih): new function.

	* tcbdb.c (tcbdbputimpl): cache adjustment on the putkeep mode was added.

	* tcadb.c (tcadbsetskel): new function.

	- Release: 1.4.18

2009-04-23  Mikio Hirabayashi  <mikio@users.sourceforge.net>

	* tcutil.c (tcmapput, tcmapout, tcmapget): memory usage was reduced.

	* tcutil.c (tcsysinfo): new function.

	* tcutil.c (tcatoix): "strtold" was replaced by own implementation.

	* tctdb.c (tctdbqryidxfetch): new function.

	- Release: 1.4.17

2009-04-20  Mikio Hirabayashi  <mikio@users.sourceforge.net>

	* tcbdb.c (tcbdbcuroutimpl): shift mechanism of cursors on deleted leaves was added.

	* tcbdb.c (tcbdbleafcheck): new function.

	- Release: 1.4.16

2009-04-08  Mikio Hirabayashi  <mikio@users.sourceforge.net>

	* tcutil.c (tcsleep): new function.

	* tchdb.c (tchdbtranbegin): locking algorithm was modified.

	* tchdb.c (tchdblocktran, tchdbunlocktran): abolished.

	* tcbdb.c (tcbdbtranbegin): locking algorithm was modified.

	* tcbdb.c (tcbdbcurjumpimpl): a bug related to cursor initialization was fixed.

	* tcfdb.c (tcbdbtranbegin): locking algorithm was modified.

	* tcfdb.c (tcfdblocktran, tcfdbunlocktran): abolished.

	* tctdb.c (tctdbqryallcondmatch): a bug related to handling null value was fixed.

	* tcadb.c (tcadboptimize, tcadbpath): new functions.

	- Release: 1.4.15

2009-04-07  Mikio Hirabayashi  <mikio@users.sourceforge.net>

	* tcbdb.c (tcbdbputimpl, tcbdbcurputimpl): page size limitation was added.

	* tcbdb.c (tcbdbleafdatasize): removed.

	* tctdb.c (tctdbsetindeximpl): inner indexes were tuned.

	- Release: 1.4.14

2009-04-02  Mikio Hirabayashi  <mikio@users.sourceforge.net>

	* configure.in: a bug related to support for traditional shells was fixed.

	* tcfdb.c (tcfdbtranbegin, tcfdbtrancommit, tcfdbtranabort): new functions.

	* tcadb.c (tcadbtranbegin, tcadbtrancommit, tcadbtranabort): new functions.

	- Release: 1.4.13

2009-03-21  Mikio Hirabayashi  <mikio@users.sourceforge.net>

	* tctdb.c (tctdbqrycount): new function.

	* tcadb.c (tcadbmisc): "count" option was added.

	- Release: 1.4.12
2009-05-07 10:55:06 +00:00
obache
4128ae4fef Update tokyocabinet to 1.4.11.
Changes:
2009-03-11  Mikio Hirabayashi  <mikio@users.sourceforge.net>

	* tcutil.c (tctopsort): new function.

	* tchdb.c (tchdbfbpinsert, tchdbfbpsearch, tchdbfbpsplice): performance was improved.

	* tchdb.c (tchdbwriterec): concurrency was improved.

	* tctdb.c (tctdbqrysearchimpl): a bug related to the skip parameter was fixed.

	* tctdb.c (tctdbputimpl, tctdbidxout, tctdbqrysearchimpl): performance was improved.

	- Release: 1.4.11

2009-03-02  Mikio Hirabayashi  <mikio@users.sourceforge.net>

	* tcutil.c (tcmdbputproc, tcndbputfunc): removing mechanism was added.

	* tchdb.c (tchdbwalrestore): a bug of memory corruption was fixed.

	* tchdb.c (tchdbremoverec): new function.

	* tchdb.c (tchdbputproc): removing mechanism was added.

	* tcbdb.c (tchdbputproc): removing mechanism was added.

	* tcfdb.c (tcfdbputproc): removing mechanism was added.

	* tctdb.c (tctdbsetlimit): new function instead of "tctdbqrysetmax".

	* tcadb.c (tcadbmisc): "setlimit" parameter was added.

	- Release: 1.4.10

2009-02-18  Mikio Hirabayashi  <mikio@users.sourceforge.net>

	* tcbdb.c (tcbdbnodesubidx): a bug related to tree reconstruction was fixed.

	* tcbdb.c (tcbdboptimizeimpl): memory usage was reduced.

	- Release: 1.4.9

2009-02-18  Mikio Hirabayashi  <mikio@users.sourceforge.net>

	* tcutil.c (tclrand): bias of random numbers was lightened.

	* tchdb.c (tchdbsetecode): a trick to print fatal errors only was added.

	* tcbdb.c (tcbdbputimpl): a bug of mixing an useless entry on division was fixed.

	* tcbdb.c (tcbdbnodesubidx): regions of useless nodes are now removed recursively.

	* tcadb.c (tcadbopen): aliases of the database suffixes were added.

	- Release: 1.4.8
2009-03-21 05:32:04 +00:00
obache
887b68b7de Update tokyocabinet to 1.4.5.
Changes:
2009-02-02  Mikio Hirabayashi  <mikio@users.sourceforge.net>

	* tchdb.c (tchdbput, tchdbget, tchdbout): bugs related to race condition were fixed.

	* tchdb.c (tchdbputimpl): bugs related to race condition were fixed.

	* tchmttest.c (runrace, procrace): new functions.

	* tcbmttest.c (runrace, procrace): new functions.

	- Release: 1.4.5
2009-02-12 11:52:46 +00:00
obache
50ea3526a3 Update TokyoCabinet to 1.4.4.
Changes:
2009-01-29  Mikio Hirabayashi  <mikio@users.sourceforge.net>

	* tcutil.c (tcmapputproc, tctreeputproc, tcmdbputproc, tcndbputproc): new functions.

	* tchdb.c (tchdbputproc): new function.

	* tchdb.c (TDBTHREADYIELD): "sched_yield" is now used instead of "pthread_yield".

	* tcbdb.c (tcbdbputproc): new function.

	* tcbdb.c (tcbdbcurkey, tcbdbcurval): the type of the return value was modified.

	* tcfdb.c (tcfdbputproc): new function.

	* tcadb.c (tcadbputproc): new function.

	* tcadb.c (tcadbmisc): sub funcitons "put", "out", and "get" were added.

	* tcadb.c (tcstrisnum): new function.

	- Release: 1.4.4
2009-02-05 15:36:34 +00:00
obache
5e1b9b0a0d Update TokyoCabinet to 1.4.3.
Changes:
2009-01-26  Mikio Hirabayashi  <mikio@users.sourceforge.net>

	* tctdb.c (tctdbqryprocout): renamed as "tctdbqrysearchout".

	* tcadb.c (tcadbmisc): sub functions "searchget" and "searchget" were integrated.

	- Release: 1.4.3
2009-01-27 09:19:06 +00:00
obache
44c79eba2c Fixes build failure on NetBSD.
pthread_yield() is not in NetBSD's pthread.
2009-01-04 11:00:35 +00:00
obache
1a69fa7676 Update tokyocabinet to 1.3.23.
Changes:
2008-12-03  Mikio Hirabayashi

	* tcbdb.c (tcbdbtranbegin): conbination of non-transaction and transaction became safer.

	- Release: 1.3.23

2008-11-28  Mikio Hirabayashi

	* tcutil.c (tcmapput3, tcmdbput3, tcmapputcat3, tcmdbputcat3): new functions.

	* tcutil.c (tctreeput3, tcndbput3): new functions.

	* tcadb.c (tcadbput, tcadbputcat): LRU rule is now strictly applied.

	- Release: 1.3.22
2008-12-07 11:31:21 +00:00
obache
5e2723172d Update tokyocabinet to 1.3.16.
Changes:
2008-10-30  Mikio Hirabayashi

	* tcutil.c (tcmapdup): performance was improved.

	* tcutil.c (tctreenew, tctreedel, tctreeput, tctreeout, tctreeget): new functions.

	* tcutil.c (tcsystem): new function.

	* tchdb.c (tchdbopenimpl): memory usage of reader declined.

	* tcadb.c (tcadbsync, tcadbcopy): on-memory database is now supported.

	- Release: 1.3.16
2008-11-07 11:49:08 +00:00
obache
8133814fb0 Update tokyocabinet to 1.3.12.
Changes:
2008-10-05  Mikio Hirabayashi

	* tcutil.c (tchexencode, tchexdecode): new functions.

	* tchdb.c (tchdbaddint): a bug of error code setting was fixed.

	- Release: 1.3.12
2008-10-13 05:39:46 +00:00
obache
7e81873c2b Update tokyocabinet to 1.3.11.
2008-09-23  Mikio Hirabayashi

	* tchdb.c (tchdbputimpl): performance of the ADDINT mode was improved.

	* tcbdb.c (tcbdbleafaddrec): performance of the ADDINT mode was improved.

	* tcfdb.c (tcfdbputimpl): performance of the ADDINT mode was improved.

	* tcutil.c (tcpagealign): new function.

	* tchdb.c (tchdbsetxmsiz): the parameter is now rounded up to multiple of the page size.

	* tcfdb.c (tcfdbtune): the parameter is now rounded up to multiple of the page size.

	* tchdb.c (tcseekwrite, tcseekread, tcseekreadtry): page border handling was added.

	- Release: 1.3.11

2008-09-20  Mikio Hirabayashi

	* tcutil.c (tcunlock): new function.

	* tchdb.c (tchdbsetmutex): useless locking was eliminated.

	* tcbdb.c (tcbdbsetmutex): useless locking was eliminated.

	* tcfdb.c (tcfdbsetmutex): useless locking was eliminated.

	- Release: 1.3.10

2008-09-10  Mikio Hirabayashi

	* tchdb.c (tchdblockallrecords, tchdbunlockallrecords): new functions.

	* tcfdb.c (tcfdblockallrecords, tcfdbunlockallrecords): new functions.

	- Release: 1.3.9
2008-10-06 10:41:25 +00:00
obache
f0ee1bc675 Import tokyocabinet-1.3.7 as databases/tokyocabinet.
Tokyo Cabinet is a library of routines for managing a database. The database is
a simple data file containing records, each is a pair of a key and a value.
Every key and value is serial bytes with variable length. Both binary data and
character string can be used as a key and a value. There is neither concept of
data tables nor data types. Records are organized in hash table, B+ tree, or
fixed-length array.
2008-09-04 12:10:28 +00:00