ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/cvsroot/TDB_FileX/Changes
Revision: 1.9
Committed: Fri May 2 19:39:41 2025 UTC (17 months ago) by root
Branch: MAIN
Changes since 1.8: +9 -0 lines
Log Message:
*** empty log message ***

File Contents

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