| 1 |
Revision history for Perl extension TDB_FileX. |
| 2 |
|
| 3 |
TODO: perlmulticore? |
| 4 |
TODO: optionally include tdb lib? |
| 5 |
TODO: invent 64 bit (48 bit?) tdb format |
| 6 |
TODO: tdbtool? |
| 7 |
|
| 8 |
- reworked documentation. |
| 9 |
- force convert tdb_get_sequnum to U32. |
| 10 |
- expose fnv1a and xxh3 hash functions. |
| 11 |
|
| 12 |
0.97 Sat 03 May 2025 21:24:41 CEST |
| 13 |
- put this under LGPL license, as (hopefully) the original |
| 14 |
author intended. |
| 15 |
- a lot of functionality hasn't been tested thoroughly yet. |
| 16 |
- rename to TDB_FileX, maybe temporarily. |
| 17 |
- many functions croak on errors. The nonblock variants return success |
| 18 |
status, but croak on unexpected errors. |
| 19 |
- use key/value pairs for open parameters. |
| 20 |
- new open parameter "mutex". |
| 21 |
- new open parameter "nocow". |
| 22 |
- support up to four custom hash functions. |
| 23 |
- fixed various undefined types. |
| 24 |
- fix the perl unicode bug. |
| 25 |
- port to current versions of tdb, remove support for antique tdb versions. |
| 26 |
- removed tdb_chain*lock. |
| 27 |
- replaced logging_function by set_logging_function. |
| 28 |
- store logging function callback in tdb context. |
| 29 |
- added methods: |
| 30 |
lockall_nonblock |
| 31 |
lockall_read |
| 32 |
lockall_read_nonblock |
| 33 |
unlockall_read |
| 34 |
lockall_mark |
| 35 |
lockall_unmark |
| 36 |
transaction_start |
| 37 |
transaction_start_nonblock |
| 38 |
transaction_cancel |
| 39 |
transaction_commit |
| 40 |
transaction_prepare_commit |
| 41 |
transaction_active |
| 42 |
enable_seqnum |
| 43 |
get_seqnum |
| 44 |
increment_seqnum_nonblock |
| 45 |
hash_size |
| 46 |
map_size |
| 47 |
add_flags |
| 48 |
remove_flags |
| 49 |
set_max_dead |
| 50 |
fd |
| 51 |
name |
| 52 |
wipe_all |
| 53 |
repack |
| 54 |
freelist_size |
| 55 |
validate_freelist |
| 56 |
summary |
| 57 |
runtime_check_for_robust_mutexes (function) |
| 58 |
- don't export anything by default, rework |
| 59 |
export tags, remove TDB_ prefix for all exports, |
| 60 |
do not use AUTOLOAD for constants. |
| 61 |
- add constants: |
| 62 |
TDB_NOSYNC |
| 63 |
TDB_SEQNUM |
| 64 |
TDB_VOLATILE |
| 65 |
TDB_ALLOW_NESTING |
| 66 |
TDB_DISALLOW_NESTING |
| 67 |
TDB_INCOMPATIBLE_HASH |
| 68 |
TDB_MUTEX_LOCKING |
| 69 |
TDB_ERR_EINVAL |
| 70 |
TDB_ERR_RDONLY |
| 71 |
TDB_DEBUG_FATAL |
| 72 |
TDB_DEBUG_ERROR |
| 73 |
TDB_DEBUG_WARNING |
| 74 |
TDB_DEBUG_TRACE} |
| 75 |
- use modern xs syntax. |
| 76 |
- add fnv1ax and xxh3 hash options. |
| 77 |
- use wipe_all for CLEAR. |
| 78 |
- switch to XSLoader. |
| 79 |
- remove Carp, Errno dependencies. |
| 80 |
- reduce (perl interface) memory usage and code size. |
| 81 |
- callbacks gernerally are called with G_EVAL, for some added bit of protection. |
| 82 |
|
| 83 |
Older changes are for TDB_File, form which this module was cloned. |
| 84 |
|
| 85 |
0.96a Mon Mar 17 21:36:52 2008 |
| 86 |
- Remove bogus (and unused) stop() macro on freebsd. |
| 87 |
|
| 88 |
0.96 Tue Jun 5 00:14:02 2007 |
| 89 |
- Fix memory leak in TDB_DATA typemap. Thanks nigelw. |
| 90 |
|
| 91 |
0.95 Tue Jun 5 00:12:02 2007 |
| 92 |
- Makefile.PL now attempts to determine various tdb |
| 93 |
differences. |
| 94 |
- tdb_open_ex with a hash_fn arg now generates a warning if |
| 95 |
TDB_File was compiled against a tdb version that lacks this |
| 96 |
argument. |
| 97 |
- Change tdb_printfreelist to return void, since the |
| 98 |
sourceforge 1.0.6 version has this, and we don't care about |
| 99 |
the return value in other versions. |
| 100 |
- Protect TDB_ERR_LOCK_TIMEOUT, since that constant doesn't |
| 101 |
exist in some versions. |
| 102 |
|
| 103 |
0.90 Tue Jun 21 09:02:15 2005 |
| 104 |
- Support a log callback for each TDB_File object |
| 105 |
- Pass logging function to tdb_open_ex() |
| 106 |
- Remove tdb_lockkeys/tdb_unlockkeys functions, since they |
| 107 |
seem to have gone from TDB |
| 108 |
- Use ExtUtils::Constant to build constant() function |
| 109 |
|
| 110 |
0.50 Sat Jun 29 15:29:20 2002 |
| 111 |
- initial release to CPAN |
| 112 |
|
| 113 |
0.01 Tue Mar 26 17:02:46 2002 |
| 114 |
- original version; created by h2xs 1.21 with options |
| 115 |
-x -n TDB_File -p tdb_ /home/gus/projects/tdb-perl/tdb-perl/tdb.h |
| 116 |
|