1 | Revision history for perl module BDB. |
1 | Revision history for perl module BDB. |
2 | |
2 | |
|
|
3 | TODO: DB_RECNUM/DB_SET_RECNO? |
|
|
4 | |
|
|
5 | - use our own socketpair emulation (stolen from libev), |
|
|
6 | as perl's doesn't work on vista, where getpeername |
|
|
7 | returns fantasy port numbers. |
|
|
8 | |
|
|
9 | 1.81 Tue Oct 21 04:20:25 CEST 2008 |
|
|
10 | - check that mutable arguments can be downgraded - this |
|
|
11 | /very indirectly) ensures that output variables won't |
|
|
12 | have spurious utf-8 flags. |
|
|
13 | - fix opmode checdk in db_c_get, db_c_pget again. |
|
|
14 | - allow undef/default arguments for db_compact, for a |
|
|
15 | crash-free tomorrow! |
|
|
16 | - fix a memleak in db_key_range. |
|
|
17 | - started a common pitfdalls section. |
|
|
18 | - added db_env_log_archive. |
|
|
19 | - added db->set_pagesize. |
|
|
20 | - added BDB::IGNORE_LEASE. |
|
|
21 | - reworked documentation structure. |
|
|
22 | |
|
|
23 | 1.801 Mon Sep 29 04:58:03 CEST 2008 |
|
|
24 | - removed ptrace.h and user.h includes thta have been left in |
|
|
25 | erronously. |
|
|
26 | - "port" to buggy windows compilers. again. |
|
|
27 | |
|
|
28 | 1.8 Sat Sep 27 14:01:37 CEST 2008 |
|
|
29 | - non-callback requests will now - by default - be executed in the |
|
|
30 | foreground, which is much faster, but doesn't allow parallel |
|
|
31 | processing of other, event-based, requests. |
|
|
32 | - functions that modify their arguments now croak when a constant |
|
|
33 | is passed to them. |
|
|
34 | - db_c_get/db_c_pget requests did not correctly test the operation flags. |
|
|
35 | - db_pget now correctly updates the pkey argument. |
|
|
36 | - keep references to the passed env/db/etc. objects so they |
|
|
37 | can't get destroyed while requests are still outstanding. |
|
|
38 | - fixed a few minor stack issues. |
|
|
39 | |
|
|
40 | 1.71 Tue Jul 29 05:30:24 CEST 2008 |
|
|
41 | - add const char * to typemap for possible 5.6 support. |
|
|
42 | - untested support for db4.3. |
|
|
43 | - berkelydb needs seriously larger stacksizes (on x86 at least) |
|
|
44 | then what the default xthread.h provides. |
|
|
45 | |
|
|
46 | 1.7 Thu Jul 17 14:09:25 CEST 2008 |
|
|
47 | - use a totally different mechanism to pass callbacks to |
|
|
48 | requests (see manpage). |
|
|
49 | - optional arguments before the callback can now be left out. |
|
|
50 | - use less memory per request, probably be a bit faster, too. |
|
|
51 | - fix a memory leak (callbacks were never freed). |
|
|
52 | - add a basic testsuite. |
|
|
53 | - add (untested) support for cdsgroup_begin and db_exists. |
|
|
54 | - make BDB::VERSION compatible to UNIVERSAL::VERSION. |
|
|
55 | |
|
|
56 | 1.6 Tue Jul 8 10:34:58 CEST 2008 |
|
|
57 | - add new BDB::VERSION function for easy version checks. |
|
|
58 | - work around broken bsd headers once more. |
|
|
59 | - support for berkeley db 4.7 added. |
|
|
60 | - add support for log_set_config and it's constants, |
|
|
61 | and set_intermediate_dir_mode. |
|
|
62 | - add db_env_dbrename and db_env_dbremove. |
|
|
63 | |
|
|
64 | 1.5 Sat May 10 22:22:42 CEST 2008 |
|
|
65 | - port to solaris perls configured for old posix |
|
|
66 | (analysed by Jost Krieger). |
|
|
67 | - do our own stack memory management for threads - linux |
|
|
68 | allocates outrageous amounts of VM (not so bad unless you |
|
|
69 | use mlockall...), which severely limits the number of threads |
|
|
70 | on 32-bit arches: stack size is the larger of PTHREAD_STACK_MIN |
|
|
71 | and 4096 * sizeof (long) (usually this is 16..64k). |
|
|
72 | - support AnyEvent::BDB. |
|
|
73 | |
|
|
74 | 1.45 Sun Mar 30 10:01:00 CEST 2008 |
|
|
75 | - work around win32 perl's broken filehandles |
|
|
76 | (this cannot work in all cases, so watch out). |
|
|
77 | |
|
|
78 | 1.44 Sun Mar 30 08:28:11 CEST 2008 |
|
|
79 | - encode filenames as utf-8 (for bdb/win32) |
|
|
80 | or binary (everywhere else). |
|
|
81 | - patch $! to support stringification of BDB errno values |
|
|
82 | (utter hack, this should be pluggable :). |
|
|
83 | - fix prototypes of (void) functions. |
|
|
84 | |
|
|
85 | 1.43 Sun Jan 13 11:52:49 CET 2008 |
|
|
86 | - differentiate between nuked and undef objects, so as to |
|
|
87 | not throw an exception when destroying closed handles. |
|
|
88 | |
|
|
89 | 1.42 Tue Dec 25 15:22:50 CET 2007 |
|
|
90 | - do not automatically call set_thread_count. |
|
|
91 | |
|
|
92 | 1.41 Sat Dec 22 08:32:41 CET 2007 |
|
|
93 | - add cursor->set_priority. |
|
|
94 | - minor optimisations and checks. |
|
|
95 | - port to microsoft pseudo-C again. |
|
|
96 | |
|
|
97 | 1.4 Wed Dec 12 02:20:39 CET 2007 |
|
|
98 | - new globals BDB::VERSION and ..VERSION_STRING. |
|
|
99 | - add db_upgrade. |
|
|
100 | - do not die in DESTROY after explicit db_close and similar |
|
|
101 | operations. |
|
|
102 | |
|
|
103 | 1.3 Fri Dec 7 14:36:25 CET 2007 |
|
|
104 | - db_put and c_put leaked memory like hell (reported by Danny). |
|
|
105 | - de-IO::AIO-ify the documentation. |
|
|
106 | - port to microsofts pseudo-C from hell. |
|
|
107 | - added mutex_set_increment, mutex_set_tas_spins |
|
|
108 | and mutex_set_max, mutex_set_align. |
|
|
109 | |
|
|
110 | 1.2 Tue Dec 4 11:12:47 CET 2007 |
|
|
111 | - after fork, invest some work to make sure that the poll_fileno |
|
|
112 | stays stable (by dup2'ing the new fd over the old one), to make |
|
|
113 | it easier for programs/libs that don't control their forking |
|
|
114 | behaviour and cannot recreate their watchers. |
|
|
115 | - added missing DB::RDONLY (reported by Danny). |
|
|
116 | |
|
|
117 | 1.1 Sun Sep 16 20:15:55 CEST 2007 |
|
|
118 | - flag and check TXN_DEADLOCK flag for easier transaction |
|
|
119 | programming (see db_txn_finish). |
|
|
120 | - new custom db_txn_finish request. |
|
|
121 | - improved docs. |
|
|
122 | |
|
|
123 | 1.0 Mon Aug 13 14:02:42 CEST 2007 |
|
|
124 | - some updates for db 4.6. |
|
|
125 | - vastly improved documentation, i.e. there is some now. |
|
|
126 | - this module has been tested a lot in the Crossfire TRT server. |
|
|
127 | |
|
|
128 | 0.5 Sun Jul 8 16:57:03 CEST 2007 |
|
|
129 | - port to db 4.4.20 (probably any 4.4 version). |
|
|
130 | - added bdb error constants. |
|
|
131 | - add set_errfile/set_msgfile/set_verbose. |
3 | - shared code between IO::AIO and BDB. |
132 | - shared code between IO::AIO and BDB. |
|
|
133 | - upgrade to xthread.h from IO::AIO for win32 compatibility. |
|
|
134 | - port to win32 (there is an unexplainable hang in |
|
|
135 | db_sequence_get...). |
4 | |
136 | |
5 | 0.1 Mon Mar 5 20:44:18 CET 2007 |
137 | 0.1 Mon Mar 5 20:44:18 CET 2007 |
6 | - cloned from IO::AIO. |
138 | - cloned from IO::AIO. |
7 | |
139 | |