Revision history for perl module BDB. TODO: memleka on QUIT TODO: check memleaks - keep references to the passed env/db/etc. objects so they can't get destroyed while requests are still outstanding. - fixed a few minor stack issues. 1.71 Tue Jul 29 05:30:24 CEST 2008 - add const char * to typemap for possible 5.6 support. - untested support for db4.3. - berkelydb needs seriously larger stacksizes on x86 at least then what the default xthread.h provides. 1.7 Thu Jul 17 14:09:25 CEST 2008 - use a totally different mechanism to pass callbacks to requests (see manpage). - optional arguments before the callback can now be left out. - use less memory per request, probably be a bit faster, too. - fix a memory leak (callbacks were never freed). - add a basic testsuite. - add (untested) support for cdsgroup_begin and db_exists. - make BDB::VERSION compatible to UNIVERSAL::VERSION. 1.6 Tue Jul 8 10:34:58 CEST 2008 - add new BDB::VERSION function for easy version checks. - work around broken bsd headers once more. - support for berkeley db 4.7 added. - add support for log_set_config and it's constants, and set_intermediate_dir_mode. - add db_env_dbrename and db_env_dbremove. 1.5 Sat May 10 22:22:42 CEST 2008 - port to solaris perls configured for old posix (analysed by Jost Krieger). - do our own stack memory management for threads - linux allocates outrageous amounts of VM (not so bad unless you use mlockall...), which severely limits the number of threads on 32-bit arches: stack size is the larger of PTHREAD_STACK_MIN and 4096 * sizeof (long) (usually this is 16..64k). - support AnyEvent::BDB. 1.45 Sun Mar 30 10:01:00 CEST 2008 - work around win32 perl's broken filehandles (this cannot work in all cases, so watch out). 1.44 Sun Mar 30 08:28:11 CEST 2008 - encode filenames as utf-8 (for bdb/win32) or binary (everywhere else). - patch $! to support stringification of BDB errno values (utter hack, this should be pluggable :). - fix prototypes of (void) functions. 1.43 Sun Jan 13 11:52:49 CET 2008 - differentiate between nuked and undef objects, so as to not throw an exception when destroying closed handles. 1.42 Tue Dec 25 15:22:50 CET 2007 - do not automatically call set_thread_count. 1.41 Sat Dec 22 08:32:41 CET 2007 - add cursor->set_priority. - minor optimisations and checks. - port to microsoft pseudo-C again. 1.4 Wed Dec 12 02:20:39 CET 2007 - new globals BDB::VERSION and ..VERSION_STRING. - add db_upgrade. - do not die in DESTROY after explicit db_close and similar operations. 1.3 Fri Dec 7 14:36:25 CET 2007 - db_put and c_put leaked memory like hell (reported by Danny). - de-IO::AIO-ify the documentation. - port to microsofts pseudo-C from hell. - added mutex_set_increment, mutex_set_tas_spins and mutex_set_max, mutex_set_align. 1.2 Tue Dec 4 11:12:47 CET 2007 - after fork, invest some work to make sure that the poll_fileno stays stable (by dup2'ing the new fd over the old one), to make it easier for programs/libs that don't control their forking behaviour and cannot recreate their watchers. - added missing DB::RDONLY (reported by Danny). 1.1 Sun Sep 16 20:15:55 CEST 2007 - flag and check TXN_DEADLOCK flag for easier transaction programming (see db_txn_finish). - new custom db_txn_finish request. - improved docs. 1.0 Mon Aug 13 14:02:42 CEST 2007 - some updates for db 4.6. - vastly improved documentation, i.e. there is some now. - this module has been tested a lot in the Crossfire TRT server. 0.5 Sun Jul 8 16:57:03 CEST 2007 - port to db 4.4.20 (probably any 4.4 version). - added bdb error constants. - add set_errfile/set_msgfile/set_verbose. - shared code between IO::AIO and BDB. - upgrade to xthread.h from IO::AIO for win32 compatibility. - port to win32 (there is an unexplainable hang in db_sequence_get...). 0.1 Mon Mar 5 20:44:18 CET 2007 - cloned from IO::AIO.