Debian Codegraph @

Changes

raw
1 Revision history for Perl extension BerkeleyDB.
2
3 0.66 14 October 2024
4
5 * Bundled Test::More fails with perl 5.41.x
6 https://github.com/pmqs/BerkeleyDB/issues/12
7 89238d726d9faf88810820433a5373c4aaa9be6a
8 0f3c102c99deb65550dac8f3c78d58ab24fd1342
9
10 * Possible precedence problem between ! and string eq
11 https://github.com/pmqs/BerkeleyDB/issues/13
12 99cd013dd228894743fe5a4ccbd2f02cb4fb4e8d
13
14 * Silence clang warnings
15 https://github.com/pmqs/BerkeleyDB/issues/10
16 12ac0e42556e026f9cd48c2da5fcfd30e125820e
17
18
19 0.65 13 May 2022
20
21 * Update to license wording
22 Fri May 13 07:50:38 2022 +0100
23 0fb21f12d1938f0cd5c3cfe2f674f0c41863fb55
24
25 0.64 17 September 2020
26
27 * Refresh ppport.h
28 2a4ebf00b93977cfbffc65ecbcc0aac4f7cbad1d
29
30 * Silence clang warning in call to "initial_value"
31 https://github.com/pmqs/BerkeleyDB/issues/4
32 aa9c569b797bee78141ef319685d756bcef92a18
33
34 0.63 21 July 2019
35
36 * added 000prereq.t
37 Dump version info in "make test"
38 9e17580d74662b6a3186990dd3b1469df2829503
39
40 0.62 20 July 2019
41
42 * default to /usr/local/BerkeleyDB
43 fcc0ad8adf310f7c8cc65788806439f2f8c39f90
44
45 * __heap_exist prototype needed for db 5.2 or better
46 7fe4ad8d74190d7f41a816c79e5ccf044c02c7c9
47
48 * t/joint.: Silence Valgrinf
49 https://rt.cpan.org/Ticket/Display.html?id=125605
50 40d03924570f8516efe4a05982f402e8ce569637
51
52 * db_remove missing txn code
53 https://rt.cpan.org/Ticket/Display.html?id=124979
54 b91875a9f3f55bb779ad7a448c9fff0645d8a527
55
56 * Fix test failure when TRACE is enabled
57 bb80b7d0fb83643ccddd8243d4c6b6ab637428df
58
59 * Added BERKELEYDB_DEFINE_TRACE variable to allow TRACE to be enabled
60 from .travis file.
61 bd9ebf5aa149172afab55d6ba6f27d77cf08d91a
62
63 * Add test with BERKELEYDB_DEFINE_TRACE set to .travis
64 000b1d8dffe542d6476fe78f218cc95534f1c1c3
65
66 * my_db_strerror: Add missing dTHX declaration
67 Merge pull request https://github.com/pmqs/BerkeleyDB/pull/2
68 4273345d8eff5f521788b3c5e71fb291bf46a646
69 80ca9b77968ab84aaf8b546f2933d135202e16e0
70
71 * create .appveyor.yml
72 4e7b034ddbe76a7c2dcd189e1e0c935c1559aa2c
73
74 * sync dbinfo from DB_File
75 27b499fa9dbfca78adcc7a12ada43f0b05b6ece6
76
77 0.61 30 March 2019
78
79 * Fix a couple of typos
80 One's a copyright date out by 20 years.
81 The other one breaks builds with 5.2 ≤ BDB < 6.2.
82 Merge pull request https://github.com/pmqs/BerkeleyDB/pull/1
83
84 0.60 30 March 2019
85 * Moved source to github https://github.com/pmqs/BerkeleyDB
86
87 * Add META_MERGE to Makefile.PL
88
89 * Added meta-json.t & meta-yaml.t
90
91 0.58 23 January 2018
92
93 * please expose set_lg_filemode
94 [RT #124979]
95
96 0.57 23 January 2018
97
98 * Updates for BDB 6.3
99
100 0.56 5 January 2016
101
102 * Updates for BDB 6.2
103
104 0.55 30 March 2014
105
106 * Error opening ErrFile with PerlIO_findFILE
107 [RT #101883]
108
109 * Minor updates for BDB 6.1
110
111 0.54 9th November 2013
112
113 * memory leak in CDS locking routines
114 [RT #90134]
115
116 0.53 14th August 2013
117
118 * BerkeleyDB-0.52 fails to build on 5.18.1RC3
119 [RT #87771]
120
121 * typo fixes
122 [RT #86705]
123
124 0.52 7th May 2013
125
126 * Updates for BDB 6.0 - Added Blob support
127 - Added BerkeleyDB::DbStream class to interface to Blobs
128 - Added BlobThreshold & BlobDir option to BerkeleyDB::Env
129 constructor
130 - Added BlobThreshold & BlobDir option to Hash, Btree & Heap
131 constructors
132 - Added get_blob_threshold method to BerkeleyDB::Env
133 - Added get_blob_dir method to BerkeleyDB::Env
134 - Added get_blob_threshold method to the Hash, Btree & Heap
135 - Added get_blob_dir method to the Hash, Btree & Heap
136
137 * Added method $cursor->set_partial
138 * Added method $cursor->partial_clear
139
140 * $env->lock_detect dies due to incorrect version check
141 [RT #84179]
142
143 * (Memory leak in db_verify() method. (libdb < 4.2))
144 [RT #84409]
145
146 * Fix a few croaks
147
148 0.51 19th March 2012
149
150 * Rework FETCHSIZE
151 [RT #75691]
152
153 0.50 10th December 2011
154
155 * Updates for BDB 5.3
156
157 0.49 6th August 2011
158
159 * Documentation updated courtesy of Mike Caron
160
161 * croak if attempt to freeze berkeleydb object
162 [RT #69985]
163
164 0.48 18th June 2011
165
166 * Fixed test harness issue with Heap.t
167 RT #68818
168
169 0.47 1st June 2011
170
171 * Add support for new Heap database format.
172
173 * Changes to build with BDB 5.2
174
175 0.46 18th October 2010
176
177 * Fixed bug with db_pget when the DB_GET_BOTH flag is used.
178
179 0.45 17th October 2010
180
181 * Fixed bug with c_pget when the DB_GET_BOTH flag is used.
182
183 0.44 2nd August 2010
184
185 * Added support for db_exists and lock_detect.
186 Thanks to Alex Lovatt for the patch.
187
188 0.43 1st August 2010
189
190 * Changes to build with BDB 5.1
191 - Dropped support for Server option when creating an environment.
192
193 * Documantation updates.
194 RT# 59202
195
196 * Fixed compilation error with MS Visual Studio 2005
197 RT# 59924
198
199 0.42 13th March 2010
200
201 * Added $db->Env method to retrieve the environment object from a
202 database object.
203
204 * Get the tied interface to use truncate in the CLEAR method if
205 using a new enough version of Berkeley DB.
206
207 0.41 8th January 2010
208
209 * Silence "UNIVERSAL->import is deprecated" in perl 5.11
210 RT# 53518
211
212 0.40 7th January 2010
213
214 * Added support for set_tx_max, log_set_config, set_lk_max_lockers,
215 set_lk_max_locks, set_lk_max_objects via the Env constructor.
216 Parameter names are TxMax, LogConfig, MaxLockers, MaxLocks &
217 MaxObjects respectively.
218 RT# 50456
219
220 * seq->seq->close doesn't compile on win32.
221 RT# 49474
222
223 0.39 6th June 2009
224
225 * Added support for BDB 4.8
226 - associate_foreign
227 - set_bt_compress (no callbacks as yet).
228
229 * Also added interface to
230 - ENV->stat_print
231 - ENV->txn_stat_print
232
233 * Oldest Perl supported is now 5.005
234
235 * Fixed issue db_stat when it returned a null pointer.
236 (#46312 rt.cpan.org)
237
238 * set_msgfile API
239 (#46313)
240
241 * Fixed issue with DNM Filters & UTF8 support.
242 Patch supplied by Torsten Foertsch.
243
244 0.38 21st February 2009
245
246 * Fixed typo in BerkleyDB.pod that broke t/pod.t
247
248 0.37 18th February 2009
249
250 * Included CDS section to the pod.
251
252 * Various documentation patches from RT#42243
253
254 0.36 30th September 2008
255
256 * Added support for $ENV->log_get_config and $ENV->log_set_config.
257 Patch supplied by Yuval Kogman (#39651 rt.cpan.org)
258
259 0.35 22nd September 2008
260
261 * Added a combination of independent patches from Claes Jakobsson
262 and Yuval Kogman (#38896 rt.cpan.org) to allow multi-key return
263 from a secondard database.
264
265 * Added support for sequences. Initial patch from Claes Jakobsson.
266
267 * Get associate to use a transaction if one is specified.
268 #5855 from rt.cpan.org
269
270 * Finish transition of test harness to use Test::More
271
272 0.34 27th March 2008
273
274 * Updates to support building with Berkeley DB version 4.7
275
276 * Typo in #ifdef for ThreadCount support. Spotted by Mark Hindley
277
278 * Updated dbinfo
279
280 0.33 17th January 2008
281
282 * Added failchk, set_isalive, lock_stat_print & mutex_stat_print.
283 Patch provided by Thomas Busch.
284
285 0.32 10th July 2007
286
287 * Updates to support Berkeley DB 4.6
288
289 * Remove all global static data from BerkeleyDB.xs.
290
291 0.31 15th Oct 2006
292
293 * Fixed DB_GET_BOTH. Tnanks to Thomas Drugeon for spotting the typo
294 in typemap and supplying a regression test for this fix.
295
296 0.30 11th Sept 2006
297
298 * Fixed queue test harness for Berkeley DB 4.5 compliance
299
300 * Added $env->lsn_reset, $txn->set_timeout, $env->set_timeout &
301 $env->get_timeout, $txn->set_tx_max, $txn->get_tx_max
302
303 0.29 2nd July 2006
304
305 * Fixes for cursor get from secondary where primary os recno.
306
307 * Added db_compact
308
309 0.28 11th June 2006
310
311 * Fixes for secondary where primary is recno.
312
313 * GET_BOTH_RANGE wasn't working. It is now.
314
315 * Added FreeBSD hints to README - patch supplied by David Landgren
316 in #17675 from rt.cpan.org
317
318 0.27 1st Novemver 2005
319
320 * Added support for Berkeley DB 4.4
321
322 * Fixed secondary key issue with recno databases
323
324 * Added libscan to Makefile.PL
325
326 * Fixed a problem in t/subdb.t that meant it hung on Win32.
327
328 * The logic for set_mutexlocks was inverted when using Berkeley DB 4.x
329 Bug spotted by Zefram <[email protected]>
330
331 * Transactional rename/remove added.
332 Patch supplied by Zefram <[email protected]>
333
334
335 0.26 10th October 2004
336
337 * Changed to allow Building with Berkeley DB 4.3
338
339 * added cds_lock and associated methods as a convenience to allow
340 safe updaing of database records when using Berkeley DB CDS mode.
341
342 * added t/cds.t and t/pod.t
343
344 * Modified the test suite to use "-ErrFile => *STDOUT" where
345 possible. This will make it easier to diagnose build issues.
346
347 * -Errfile will now accept a filehandle as well as a filename
348 This means that -ErrFile => *STDOUT will get all extended error
349 messages displayed directly on screen.
350
351 * Added support for set_shm_key & get_shm_key.
352
353 * Patch from Mark Jason Dominus to add a better error message
354 when an odd number of parameters are passed to ParseParameters.
355
356 * fixed off-by-one error in my_strdup
357
358 * Fixed a problem with push, pop, shift & unshift with Queue &
359 Recno when used in CDS mode. These methods were not using
360 a write cursor behind the scenes.
361 Problem reported by Pavel Hlavnicka.
362
363 0.25 1st November 2003
364
365 * Minor update to dbinfo
366
367 * Fixed a bug in the test harnesses that is only apparent in
368 perl 5.8.2. Original patch courtesy of Michael Schwern.
369
370 0.24 27th September 2003
371
372 * Mentioned comp.databases.berkeley-db in README
373
374 * Builds with Berkeley DB 4.2
375
376 * The return type for db->db_fd was wrongly set at DualType -
377 should be int.
378
379 0.23 15th June 2003
380
381 * Fixed problem where a secondary index would use the same
382 compare callback as the primary key, regardless of what was
383 defined for the secondary index.
384 Problem spotted by Dave Tallman.
385
386 * Also fixed a problem with the associate callback. If the value
387 for the secondary key was not a string, the secondary key was
388 being set incorrectly. This is now fixed.
389
390 * When built with Berkeley DB 3.2 or better, all callbacks now use
391 the BackRef pointer instead of the global CurrentDB. This was
392 done partially to fix the secondary index problem, above.
393
394 * The test harness was failing under cygwin. Now fixed.
395
396 * Previous release broke TRACE. Fixed.
397
398 0.22 17th May 2003
399
400 * win32 problem with open macro fixed.
401
402 0.21 12th May 2003
403
404 * adding support for env->set_flags
405 * adding recursion detection
406 * win32 problem with rename fixed.
407 * problem with sub-database name in Recno & Queue fixed.
408 * fixed the mldbm.t test harness to work with perl 5.8.0
409 * added a note about not using a network drive when running the
410 test harness.
411 * fixed c_pget
412 * added BerkeleyDB::Env::DB_ENV method
413 * added support for encryption
414 * the dbinfo script will now indicate if the database is encrypted
415 * The CLEAR method is now CDB safe.
416
417 0.20 2nd September 2002
418
419 * More support for building with Berkeley DB 4.1.x
420 * db->get & db->pget used the wrong output macro for DBM filters
421 bug spotted by Aaron Ross.
422 * db_join didn't keep a reference to the cursors it was joining.
423 Spotted by Winton Davies.
424
425 0.19 5th June 2002
426 * Removed the targets that used mkconsts from Makefile.PL. They relied
427 on a module that is not available in all versions of Perl.
428 * added support for env->set_verbose
429 * added support for db->truncate
430 * added support for db->rename via BerkeleyDB::db_rename
431 * added support for db->verify via BerkeleyDB::db_verify
432 * added support for db->associate, db->pget & cursor->c_pget
433 * Builds with Berkeley DB 4.1.x
434
435
436 0.18 6th January 2002
437 * Dropped support for ErrFile as a file handle. It was proving too
438 difficult to get at the underlying FILE * in XS.
439 Reported by Jonas Smedegaard (Debian powerpc) & Kenneth Olwing (Win32)
440 * Fixed problem with abort macro in XSUB.h clashing with txn abort
441 method in Berkeley DB 4.x -- patch supplied by Kenneth Olwing.
442 * DB->set_alloc was getting called too late in BerkeleyDB.xs.
443 This was causing problems with ActivePerl -- problem reported
444 by Kenneth Olwing.
445 * When opening a queue, the Len proprty set the DB_PAD flag.
446 Should have been DB_FIXEDLEN. Fix provided by Kenneth Olwing.
447 * Test harness fixes from Kenneth Olwing.
448
449 0.17 23 September 2001
450 * Fixed a bug in BerkeleyDB::Recno - reported by Niklas Paulsson.
451 * Added log_archive - patch supplied by Benjamin Holzman
452 * Added txn_discard
453 * Builds with Berkeley DB 4.0.x
454
455 0.16 1 August 2001
456 * added support for Berkeley DB 3.3.x (but no support for any of the
457 new features just yet)
458
459 0.15 26 April 2001
460 * Fixed a bug in the processing of the flags options in
461 db_key_range.
462 * added support for set_lg_max & set_lg_bsize
463 * allow DB_TMP_DIR and DB_TEMP_DIR
464 * the -Filename parameter to BerkeleyDB::Queue didn't work.
465 * added symbol DB_CONSUME_WAIT
466
467 0.14 21st January 2001
468 * Silenced the warnings when build with a 64-bit Perl.
469 * Can now build with DB 3.2.3h (part of MySQL). The test harness
470 takes an age to do the queue test, but it does eventually pass.
471 * Mentioned the problems that occur when perl is built with sfio.
472
473 0.13 15th January 2001
474 * Added support to allow this module to build with Berkeley DB 3.2
475 * Updated dbinfo to support Berkeley DB 3.1 & 3.2 file format
476 changes.
477 * Documented the Solaris 2.7 core dump problem in README.
478 * Tidied up the test harness to fix a problem on Solaris where the
479 "fred" directory wasn't being deleted when it should have been.
480 * two calls to "open" clashed with a win32 macro.
481 * size argument for hash_cb is different for Berkeley DB 3.x
482 * Documented the issue of building on Linux.
483 * Added -Server, -CacheSize & -LockDetect options
484 [original patch supplied by Graham Barr]
485 * Added support for set_mutexlocks, c_count, set_q_extentsize,
486 key_range, c_dup
487 * Dropped the "attempted to close a Cursor with an open transaction"
488 error in c_close. The correct behaviour is that the cursor
489 should be closed before committing/aborting the transaction.
490
491 0.12 2nd August 2000
492 * Serious bug with get fixed. Spotted by Sleepycat.
493 * Added hints file for Solaris & Irix (courtesy of Albert Chin-A-Young)
494
495 0.11 4th June 2000
496 * When built with Berkeley Db 3.x there can be a clash with the close
497 macro.
498 * Typo in the definition of DB_WRITECURSOR
499 * The flags parameter wasn't getting sent to db_cursor
500 * Plugged small memory leak in db_cursor (DESTROY wasn't freeing
501 memory)
502 * Can be built with Berkeley DB 3.1
503
504 0.10 8th December 1999
505 * The DESTROY method was missing for BerkeleyDB::Env. This resulted in
506 a memory leak. Fixed.
507 * If opening an environment or database failed, there was a small
508 memory leak. This has been fixed.
509 * A thread-enabled Perl it could core when a database was closed.
510 Problem traced to the strdup function.
511
512 0.09 29th November 1999
513 * the queue.t & subdb.t test harnesses were outputting a few
514 spurious warnings. This has been fixed.
515
516 0.08 28nd November 1999
517 * More documentation updates
518 * Changed reference to files in /tmp in examples.t
519 * Fixed a typo in softCrash that caused problems when building
520 with a thread-enabled Perl.
521 * BerkeleyDB::Error wasn't initialised properly.
522 * ANSI-ified all the static C functions in BerkeleyDB.xs
523 * Added support for the following DB 3.x features:
524 + The Queue database type
525 + db_remove
526 + subdatabases
527 + db_stat for Hash & Queue
528
529 0.07 21st September 1999
530 * Numerous small bug fixes.
531 * Added support for sorting duplicate values DB_DUPSORT.
532 * Added support for DB_GET_BOTH & DB_NEXT_DUP.
533 * Added get_dup (from DB_File).
534 * beefed up the documentation.
535 * Forgot to add the DB_INIT_CDB in BerkeleyDB.pm in previous release.
536 * Merged the DBM Filter code from DB_File into BerkeleyDB.
537 * Fixed a nasty bug where a closed transaction was still used with
538 with dp_put, db_get etc.
539 * Added logic to gracefully close everything whenever a fatal error
540 happens. Previously the plug was just pulled.
541 * It is now a fatal error to explicitly close an environment if there
542 is still an open database; a database when there are open cursors or
543 an open transaction; and a cursor if there is an open transaction.
544 Using object destruction doesn't have this issue, as object
545 references will ensure everything gets closed in the correct order.
546 * The BOOT code now checks that the version of db.h & libdb are the
547 same - this seems to be a common problem on Linux.
548 * MLDBM support added.
549 * Support for the new join cursor added.
550 * Builds with Berkeley DB 3.x
551 * Updated dbinfo for Berkeley DB 3.x file formats.
552 * Deprecated the TxnMgr class. As with Berkeley DB version 3,
553 txn_begin etc are now accessed via the environment object.
554
555 0.06 19 December 1998
556 * Minor modifications to get the module to build with DB 2.6.x
557 * Added support for DB 2.6.x's Concurrent Access Method, DB_INIT_CDB.
558
559 0.05 9 November 1998
560 * Added a note to README about how to build Berkeley DB 2.x
561 when using HP-UX.
562 * Minor modifications to get the module to build with DB 2.5.x
563
564 0.04 19 May 1998
565 * Define DEFSV & SAVE_DEFSV if not already defined. This allows
566 the module to be built with Perl 5.004_04.
567
568 0.03 5 May 1998
569 * fixed db_get with DB_SET_RECNO
570 * fixed c_get with DB_SET_RECNO and DB_GET_RECNO
571 * implemented BerkeleyDB::Unknown
572 * implemented BerkeleyDB::Recno, including push, pop etc
573 modified the txn support.
574
575 0.02 30 October 1997
576 * renamed module to BerkeleyDB
577 * fixed a few bugs & added more tests
578
579 0.01 23 October 1997
580 * first alpha release as BerkDB.