1 |
root |
1.3 |
Revision history for perl module BDB. |
2 |
|
|
|
3 |
root |
1.63 |
TODO: DB_RECNUM/DB_SET_RECNO? |
4 |
|
|
|
5 |
root |
1.66 |
- 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 |
root |
1.65 |
1.81 Tue Oct 21 04:20:25 CEST 2008 |
10 |
root |
1.60 |
- check that mutable arguments can be downgraded - this |
11 |
|
|
/very indirectly) ensures that output variables won't |
12 |
|
|
have spurious utf-8 flags. |
13 |
root |
1.63 |
- fix opmode checdk in db_c_get, db_c_pget again. |
14 |
root |
1.64 |
- allow undef/default arguments for db_compact, for a |
15 |
|
|
crash-free tomorrow! |
16 |
root |
1.65 |
- fix a memleak in db_key_range. |
17 |
|
|
- started a common pitfdalls section. |
18 |
|
|
- added db_env_log_archive. |
19 |
root |
1.62 |
- added db->set_pagesize. |
20 |
root |
1.63 |
- added BDB::IGNORE_LEASE. |
21 |
root |
1.65 |
- reworked documentation structure. |
22 |
root |
1.60 |
|
23 |
root |
1.59 |
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 |
root |
1.58 |
1.8 Sat Sep 27 14:01:37 CEST 2008 |
29 |
root |
1.57 |
- non-callback requests will now - by default - be executed in the |
30 |
root |
1.56 |
foreground, which is much faster, but doesn't allow parallel |
31 |
|
|
processing of other, event-based, requests. |
32 |
root |
1.57 |
- 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 |
root |
1.58 |
- db_pget now correctly updates the pkey argument. |
36 |
root |
1.52 |
- keep references to the passed env/db/etc. objects so they |
37 |
|
|
can't get destroyed while requests are still outstanding. |
38 |
root |
1.51 |
- fixed a few minor stack issues. |
39 |
|
|
|
40 |
root |
1.50 |
1.71 Tue Jul 29 05:30:24 CEST 2008 |
41 |
root |
1.49 |
- add const char * to typemap for possible 5.6 support. |
42 |
|
|
- untested support for db4.3. |
43 |
root |
1.54 |
- berkelydb needs seriously larger stacksizes (on x86 at least) |
44 |
root |
1.50 |
then what the default xthread.h provides. |
45 |
root |
1.49 |
|
46 |
root |
1.48 |
1.7 Thu Jul 17 14:09:25 CEST 2008 |
47 |
root |
1.43 |
- 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 |
root |
1.45 |
- fix a memory leak (callbacks were never freed). |
52 |
root |
1.44 |
- add a basic testsuite. |
53 |
root |
1.47 |
- add (untested) support for cdsgroup_begin and db_exists. |
54 |
root |
1.48 |
- make BDB::VERSION compatible to UNIVERSAL::VERSION. |
55 |
root |
1.43 |
|
56 |
root |
1.42 |
1.6 Tue Jul 8 10:34:58 CEST 2008 |
57 |
root |
1.41 |
- add new BDB::VERSION function for easy version checks. |
58 |
root |
1.39 |
- work around broken bsd headers once more. |
59 |
root |
1.40 |
- 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 |
root |
1.39 |
|
64 |
root |
1.38 |
1.5 Sat May 10 22:22:42 CEST 2008 |
65 |
root |
1.37 |
- port to solaris perls configured for old posix |
66 |
|
|
(analysed by Jost Krieger). |
67 |
root |
1.35 |
- 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 |
root |
1.36 |
on 32-bit arches: stack size is the larger of PTHREAD_STACK_MIN |
71 |
|
|
and 4096 * sizeof (long) (usually this is 16..64k). |
72 |
root |
1.38 |
- support AnyEvent::BDB. |
73 |
root |
1.35 |
|
74 |
root |
1.34 |
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 |
root |
1.33 |
1.44 Sun Mar 30 08:28:11 CEST 2008 |
79 |
root |
1.31 |
- encode filenames as utf-8 (for bdb/win32) |
80 |
|
|
or binary (everywhere else). |
81 |
root |
1.30 |
- patch $! to support stringification of BDB errno values |
82 |
|
|
(utter hack, this should be pluggable :). |
83 |
root |
1.32 |
- fix prototypes of (void) functions. |
84 |
root |
1.30 |
|
85 |
root |
1.29 |
1.43 Sun Jan 13 11:52:49 CET 2008 |
86 |
root |
1.28 |
- differentiate between nuked and undef objects, so as to |
87 |
|
|
not throw an exception when destroying closed handles. |
88 |
|
|
|
89 |
root |
1.27 |
1.42 Tue Dec 25 15:22:50 CET 2007 |
90 |
|
|
- do not automatically call set_thread_count. |
91 |
|
|
|
92 |
root |
1.26 |
1.41 Sat Dec 22 08:32:41 CET 2007 |
93 |
root |
1.25 |
- add cursor->set_priority. |
94 |
|
|
- minor optimisations and checks. |
95 |
root |
1.26 |
- port to microsoft pseudo-C again. |
96 |
root |
1.25 |
|
97 |
root |
1.24 |
1.4 Wed Dec 12 02:20:39 CET 2007 |
98 |
root |
1.20 |
- new globals BDB::VERSION and ..VERSION_STRING. |
99 |
root |
1.21 |
- add db_upgrade. |
100 |
root |
1.22 |
- do not die in DESTROY after explicit db_close and similar |
101 |
|
|
operations. |
102 |
root |
1.19 |
|
103 |
root |
1.18 |
1.3 Fri Dec 7 14:36:25 CET 2007 |
104 |
|
|
- db_put and c_put leaked memory like hell (reported by Danny). |
105 |
root |
1.15 |
- de-IO::AIO-ify the documentation. |
106 |
root |
1.16 |
- port to microsofts pseudo-C from hell. |
107 |
root |
1.17 |
- added mutex_set_increment, mutex_set_tas_spins |
108 |
|
|
and mutex_set_max, mutex_set_align. |
109 |
root |
1.15 |
|
110 |
root |
1.14 |
1.2 Tue Dec 4 11:12:47 CET 2007 |
111 |
root |
1.13 |
- 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 |
root |
1.14 |
- added missing DB::RDONLY (reported by Danny). |
116 |
root |
1.13 |
|
117 |
root |
1.12 |
1.1 Sun Sep 16 20:15:55 CEST 2007 |
118 |
root |
1.11 |
- flag and check TXN_DEADLOCK flag for easier transaction |
119 |
root |
1.12 |
programming (see db_txn_finish). |
120 |
root |
1.11 |
- new custom db_txn_finish request. |
121 |
root |
1.10 |
- improved docs. |
122 |
|
|
|
123 |
root |
1.9 |
1.0 Mon Aug 13 14:02:42 CEST 2007 |
124 |
root |
1.8 |
- some updates for db 4.6. |
125 |
|
|
- vastly improved documentation, i.e. there is some now. |
126 |
root |
1.9 |
- this module has been tested a lot in the Crossfire TRT server. |
127 |
root |
1.8 |
|
128 |
root |
1.7 |
0.5 Sun Jul 8 16:57:03 CEST 2007 |
129 |
root |
1.5 |
- port to db 4.4.20 (probably any 4.4 version). |
130 |
root |
1.6 |
- added bdb error constants. |
131 |
|
|
- add set_errfile/set_msgfile/set_verbose. |
132 |
root |
1.3 |
- shared code between IO::AIO and BDB. |
133 |
root |
1.4 |
- upgrade to xthread.h from IO::AIO for win32 compatibility. |
134 |
root |
1.5 |
- port to win32 (there is an unexplainable hang in |
135 |
|
|
db_sequence_get...). |
136 |
root |
1.1 |
|
137 |
root |
1.2 |
0.1 Mon Mar 5 20:44:18 CET 2007 |
138 |
root |
1.1 |
- cloned from IO::AIO. |
139 |
|
|
|