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