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