Age | Commit message (Collapse) | Author | Files | Lines |
|
|
|
2009-08-14 Mikio Hirabayashi <mikio@users.sourceforge.net>
* tcutil.c (tctmpldumpeval): "INC", "PRT" operators and "SET" directive were added.
* tcutil.c (tcwwwformdecode2): a bug of memory corruption was fixed.
* tchdb.c (tchdbgetimpl): a bug related to caching large records was fixed.
- Release: 1.4.32
|
|
2009-07-23 Mikio Hirabayashi <mikio@users.sourceforge.net>
* tcutil.c (tcmpoolpop, tcstatfile): new functions.
* tcutil.c (tcwwwformdecode2, tcarccipher): new functions.
* tcutil.c (tctmpldumpeval, tctmpldumpevalvar): type checking was improved.
- Release: 1.4.31
|
|
Changes:
2009-07-13 Mikio Hirabayashi <mikio@users.sourceforge.net>
* tctdb.c (tctdbstrtometasearcytype): new function.
* tcadb.c (tcadbmisc): "metasearch" command was added.
- Release: 1.4.30
|
|
2009-07-03 Mikio Hirabayashi
* tctdb.c (tctdbidxgetbyftsunion): efficiency couting sort was improved.
- Release: 1.4.29
2009-06-22 Mikio Hirabayashi <mikio@users.sourceforge.net>
* tcutil.c (tcstrutfnorm, tcstrkwic, tcstrtokenize): new functions.
* tcutil.c (tcstrutfnorm, tcstrucsnorm): "TCUNWIDTH" option was added.
* tctdb.c (tctdbsetinvcache, tctdbidxsyncicc, tctdbidxcmpkey): new functions.
* tctdb.c (tctdbmetasearch, tctdbget4, tctdbqrykwic): new functions.
* tctdb.c (tctdbsetindeximpl): the xmsiz parameter is now configured.
- Release: 1.4.28
2009-06-16 Mikio Hirabayashi
* tcutil.c (tcstrskipspc, tcstrucsnorm): new functions.
* tctdb.c (tctdbqryaddcond): full-text search operators were added.
* tctdb.c (tctdbsetindex): q-gram inverted index was added.
* tctdb.c (tctdbidxputqgram, tctdbidxoutqgram, tctdbidxgetbyfts): new functions.
- Release: 1.4.27
2009-06-13 Mikio Hirabayashi
* tctdb.c (tctdbsetindex, tctdbsearchimpl): token inverted index was added.
* tctdb.c (tctdbidxputone, tctdbidxoutone): new functions.
* tctdb.c (tctdbidxputtoken, tctdbidxouttoken, tctdbidxgetbytokens): new functions.
* tcadb.c (tcadbput, tcadbputkeep, tcadbputcat): capnum behaviour was modified.
- Release: 1.4.26
2009-06-09 Mikio Hirabayashi
* tcutil.c (tccstrescape, tccstrunescape, tcjsonescape, tcjsonunescape): new functions.
* tcutil.c (tcpathlock, tcpathunlock): new functions.
* tchdb.c (tchdbopen): double opening detection was added.
* tchdb.c (tchdbtranbegin): a bug of invalid flag setting was fixed.
* tcfdb.c (tcfdbopen): double opening detection was added.
* tcfdb.c (tcfdbtranbegin): a bug of invalid flag setting was fixed.
* tctdb.c (tctdbiternext3): new function.
- Release: 1.4.25
|
|
|
|
Changes:
2009-06-04 Mikio Hirabayashi
* tcutil.c (tcwwwformencode, tcwwwformdecode): new functions.
* tcutil.c (tctmplnew, tctmpldel, tctmplload, tctmpldump): new functions.
* tcutil.c (tcmapget4, tctreeget4): new functions.
* tcutil.c (tclistprintf, tcmapprintf, tctreeprintf): new functions.
* tcucodec.c (runtmpl, proctmpl): new functions.
- Release: 1.4.24
|
|
Changes:
2009-05-24 Mikio Hirabayashi <mikio@users.sourceforge.net>
* tcutil.c (tcmapiterinit2, tcmdbiterinit2): new functions.
* tchdb.c (tchdbiterinit2, tchdbiterjumpimpl): new functions.
* tcfdb.c (tcfdbiterinit2, tcfdbiterjumpimpl): new functions.
* tctdb.c (tctdbiterinit2): new function.
- Release: 1.4.23
|
|
Changes:
2009-05-21 Mikio Hirabayashi <mikio@users.sourceforge.net>
* tcadb.c (tcadbmisc): "sync", "optimize", "vanish" commands were added.
- Release: 1.4.22
2009-05-10 Mikio Hirabayashi <mikio@users.sourceforge.net>
* tchdb.c (tchdbsetdfunit, tchdbdfunit, tchdbdefrag): new functions.
* tchdb.c (tchdbdefragimpl, tchdbfbptrim, tchdbshiftrec): new functions.
* tcbdb.c (tcbdbsetdfunit, tcbdbdfunit, tcbdbdefrag): new functions.
* tctdb.c (tctdbsetdfunit, tctdbdfunit, tctdbdefrag): new functions.
* tcadb.c (tcadbopen): "dfunit" parameter was added.
* tcadb.c (tcadbmisc): "defrag" command was added.
- Release: 1.4.21
|
|
block). Uncomment some commented out LICENSE lines while here.
|
|
Changes:
2009-05-08 Mikio Hirabayashi <mikio@users.sourceforge.net>
* tcutil.h: signedness of some members of TCMAP and TCTREE were changed.
* tcutil.c (tchexdecode): a bug related to handling space characters was fixed.
- Release: 1.4.20
|
|
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
|
|
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
|
|
This changes the buildlink3.mk files to use an include guard for the
recursive include. The use of BUILDLINK_DEPTH, BUILDLINK_DEPENDS,
BUILDLINK_PACKAGES and BUILDLINK_ORDER is handled by a single new
variable BUILDLINK_TREE. Each buildlink3.mk file adds a pair of
enter/exit marker, which can be used to reconstruct the tree and
to determine first level includes. Avoiding := for large variables
(BUILDLINK_ORDER) speeds up parse time as += has linear complexity.
The include guard reduces system time by avoiding reading files over and
over again. For complex packages this reduces both %user and %sys time to
half of the former time.
|
|
Changes:
2009-02-15 Mikio Hirabayashi <mikio@users.sourceforge.net>
* tctdb.c (tctdbsetindex): "TDBITOPT" option was added.
- Release: 1.4.7
|
|
Changes:
2009-02-13 Mikio Hirabayashi <mikio@users.sourceforge.net>
* tctdb.c (tctdbgenuidimpl): the meta data format was normalized to the big endian.
* tctdb.c (tctdbsetuidseed): new function.
* tcadb.c (tcadbmisc): "get" function of the table database was enhanced.
- Release: 1.4.6
|
|
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
|
|
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
|
|
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
|
|
Changes:
2009-01-21 Mikio Hirabayashi <mikio@users.sourceforge.net>
* tcutil.c (tcatof): new function.
* tcbdb.c (tcbdbleafaddrec): allocation tuning of duplicated records was modified.
* tcadb.c: all methods now support the table database API.
- Release: 1.4.2
|
|
Changes:
2009-01-19 Mikio Hirabayashi <mikio@users.sourceforge.net>
* tcutil.c (tctdbsearchimpl): optimized with macros.
* tcbdb.c (tcbdbcurjumpimpl): a bug related to backword positioning was fixed.
* tctdb.c (tctdbsearchimpl): a bug related to numeric range search was fixed.
* tctdb.c (tctdbsetcache, tctdbforeach, tctdbqryproc): new functions.
* tctdb.c (tctdbqryonecondmatch): new function.
- Release: 1.4.1
2009-01-04 Mikio Hirabayashi <mikio@users.sourceforge.net>
* tcutil.c (tccmpdecimal): equal numbers are now distinct by lexical order.
* tcutil.c (tclistnew3, tcmapnew3): new functions.
* tcutil.c (tcatoix, tclistinvert, tclog2l, tclog2d): new functions.
* tcutil.c (tcstrsplit2, tcstrsplit3, tcstrsplit4): new functions.
* tcutil.c (tcstrjoin2, tcstrjoin3, tcstrjoin4): new functions.
* tchdb.c (tchdbputimpl): a bug of memory corruption was fixed.
* tchdb.c (tchdbgetnext3): new function.
* tcbdb.c (tcbdbleafaddrec): a bug of memory corruption was fixed.
* tcbdb.c (tcbdboptimizeimpl): a bug related to parameter accession was fixed.
* tctdb.h, tctdb.c, tcttest.c, tctmttest.c, tctmgr.c: new files.
- Release: 1.4.0
|
|
pthread_yield() is not in NetBSD's pthread.
|
|
Changes:
2009-12-27 Mikio Hirabayashi <mikio@users.sourceforge.net>
* tcadb.c (tcadbmisc): the return value of the "getlist" function was modified.
- Release: 1.3.27
2008-12-17 Mikio Hirabayashi <mikio@users.sourceforge.net>
* tchdb.c (tchdbforeach): global locking was replaced by record locking.
* tcbdb.c (tcbdbforeachimpl): cache adjustment was added.
* tcadb.c (tcadbmisc): new function.
- Release: 1.3.26
|
|
Changes:
2008-12-16 Mikio Hirabayashi
* tcbdb.c (tcbdbsearchleaf): performance was improved.
- Release: 1.3.25
|
|
Changes:
2008-12-08 Mikio Hirabayashi
* tcutil.c (tcmdbforeach, tcmdbforeachimpl): new functions.
* tcutil.c (tcndbforeach, tcndbforeachimpl): new functions.
* tcutil.c (tctreenew2, tcndbnew2): type of the comparison function was modified.
* tcutil.c (tcstrdist, tcstrdistutf): maximum memory usage was limited.
* tchdb.c (tchdbforeach, tchdbforeachimpl): new functions.
* tchdb.c (tchdboptimizeimpl): performance was improved.
* tcbdb.c (tcbdbforeach, tcbdbforeachimpl): new functions.
* tcbdb.c (tcbdbsetcmpfunc): BDBCMP was changed to TCCMP.
* tcbdb.c (tcbdbcmplexical, tcbdbcmpdecimal, tcbdbcmpint32, tcbdbcmpint64): removed.
* tcfdb.c (tcfdbforeach, tcfdbforeachimpl): new functions.
* tcadb.c (tcadbomode, tcadbreveal): new functions.
- Release: 1.3.24
|
|
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
|
|
Changes:
2008-11-22 Mikio Hirabayashi
* tchdb.c (tchdbwalrestore): a bug on systems without unified buffer cache was fixed.
- Release: 1.3.21
|
|
Changes:
2008-11-21 Mikio Hirabayashi <mikio@users.sourceforge.net>
* tchdb.c (tchdbtranbegin, tchdbtrancommit, tchdbtranabort): new functions.
- Release: 1.3.20
|
|
Changes:
2008-11-19 Mikio Hirabayashi
* tchdb.c (tchdbaddint, tchdbadddouble): bugs related to the return value were fixed.
- Release: 1.3.19
|
|
Changes:
2008-11-10 Mikio Hirabayashi
* tcutil.c (tcptrlistnew, tcptrlistdel): new functions.
* tcbdb.c (tcbdbputimpl, tcbdboutimpl, tcbdbgetimpl): new functions.
- Release: 1.3.18
2008-11-07 Mikio Hirabayashi
* tcutil.c (tcmdbnew, tcmdbdel, tcmdbopen, tcmdbclose): new functions.
* tcadb.c (tcadbnew, tcadbdel): on-memory tree database is now supported.
- Release: 1.3.17
|
|
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
|
|
Changes:
2008-10-20 Mikio Hirabayashi
* tcutil.c (tcmapput, tcmapout, tcmapget): performance was improved.
* tcutil.c (tcnumtobinstr): new function.
* tchdb.c (tchdbbidx): performance was improved.
- Release: 1.3.15
|
|
Changes:
2008-10-19 Mikio Hirabayashi
* myconf.h: missing features of PATH_MAX and nan is now emulated.
* tcutil.c (tczeromap, tczerounmap): new functions.
- Release: 1.3.14
|
|
2008-10-19 Mikio Hirabayashi
* tcutil.c (tcmdbadddouble): NAN were replaced by the nan function.
* Makefile.in: the compilation command now supports Solaris.
- Release: 1.3.13
|
|
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-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-09-05 Mikio Hirabayashi
* tcutil.c (tcmapaddint, tcmapadddouble): checking data size was added.
- Release: 1.3.8
|
|
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.
|