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