Debian Codegraph @

lang/perl/DB_File/Changes

raw
1 1.824 6 Aug 2011
2
3 * Amendments to tests to work in blead
4 [RT #70108]
5
6 1.823 6 Aug 2011
7
8 * croak if attempt to freeze/thaw DB_File object
9 [RT #69985]
10
11 1.822 12 March 2011
12
13 * Link rot
14 [rt.cpan.org #69739]
15
16 1.822 12 March 2011
17
18 * Keep DB_File's warnings in sync with perl's
19 [rt.cpan.org #66339]
20
21 1.821 10 January 2011
22
23 * Fixed typos & spelling errors.
24 [perl #81792]
25
26 1.820 28 March 2009
27
28 * remove MAN3PODS from Makefile.PL to match core.
29
30 1.819 18 February 2009
31
32 * t/db-recno.t fails if run in a path that contains spaces
33 [rt.cpan.org #43288]
34
35 1.818 21 January 2009
36
37 * Updated Makefile.PL for Strawberry Perl.
38 Patch suggested by David Golden.
39
40 * Remove IRIX notes from README. The page referenced doesn't exist
41 anymore.
42
43 1.817 27 March 2008
44
45 * Updated dbinfo
46
47 * Applied core patch 32299 - Re-apply change #30562
48
49 * Applied core patch 32208
50
51 * Applied core patch 32884 - use MM->parse_version() in Makefile.PL
52
53 * Applied core patch 32883 - Silence new warning grep in void context warning
54
55 * Applied core patch 32704 to remove use of PL_na in typemap
56
57 * Applied core patch 30562 to fix a build issue on OSF
58
59 1.816 28 October 2007
60
61 * Clarified the warning about building with a different version of
62 Berkeley DB that is used at runtime.
63
64 * Also made the boot version check less strict.
65 [rt.cpan.org #30013]
66
67 1.815 4 February 2007
68
69 * A few casting cleanups for building with C++ from Steve Peters.
70
71 * Fixed problem with recno which happened if you changed directory after
72 opening the database. Problem reported by Andrew Pam.
73
74
75 1.814 11 November 2005
76
77 * Fix from Dominic Dunlop to tidy up an OS-X specific warning in
78 db-btree.t.
79
80 * Silenced a warning about $DB_File::Error only being used once.
81 Issue spotted by Dominic Dunlop.
82
83 1.813 31st October 2005
84
85 * Updates for Berkeley DB 4.4
86
87 1.812 9th October 2005
88
89 * Added libscan to Makefile.PL
90
91 * Fixed test failing under windows
92
93 1.811 12th March 2005
94
95 * Fixed DBM filter bug in seq
96
97 1.810 7th August 2004
98
99 * Fixed db-hash.t for Cygwin
100
101 * Added substr tests to db-hast.t
102
103 * Documented AIX build problem in README.
104
105 1.809 20th June 2004
106
107 * Merged core patch 22258
108
109 * Merged core patch 22741
110
111 * Fixed core bug 30237.
112 Using substr to pass parameters to the low-level Berkeley DB interface
113 causes problems with Perl 5.8.1 or better.
114 typemap fix supplied by Marcus Holland-Moritz.
115
116 1.808 22nd December 2003
117
118 * Added extra DBM Filter tests.
119
120 * Fixed a memory leak in ParseOpenInfo, which whould occur if the
121 opening of the database failed. Leak spotted by Adrian Enache.
122
123 1.807 1st November 2003
124
125 * Fixed minor typos on pod documentation - reported by Jeremy Mates &
126 Mark Jason Dominus.
127
128 * dbinfo updated to report when a database is encrypted.
129
130 1.806 22nd October 2002
131
132 * Fixed problem when trying to build with a multi-threaded perl.
133
134 * Tidied up the recursion detection code.
135
136 * merged core patch 17844 - missing dTHX declarations.
137
138 * merged core patch 17838
139
140 1.805 1st September 2002
141
142 * Added support to allow DB_File to build with Berkeley DB 4.1.X
143
144 * Tightened up the test harness to test that calls to untie don't generate
145 the "untie attempted while %d inner references still exist" warning.
146
147 * added code to guard against calling the callbacks (compare,hash & prefix)
148 recursively.
149
150 * passing undef for the flags and/or mode when opening a database could cause
151 a "Use of uninitialized value in subroutine entry" warning. Now silenced.
152
153 * DBM filter code beefed up to cope with read-only $_.
154
155 1.804 2nd June 2002
156
157 * Perl core patch 14939 added a new warning to "splice". This broke the
158 db-recno test harness. Fixed.
159
160 * merged core patches 16502 & 16540.
161
162 1.803 1st March 2002
163
164 * Fixed a problem with db-btree.t where it complained about an "our"
165 variable redeclaration.
166
167 * FETCH, STORE & DELETE don't map the flags parameter into the
168 equivalent Berkeley DB function anymore.
169
170 1.802 6th January 2002
171
172 * The message about some test failing in db-recno.t had the wrong test
173 numbers. Fixed.
174
175 * merged core patch 13942.
176
177 1.801 26th November 2001
178
179 * Fixed typo in Makefile.PL
180
181 * Added "clean" attribute to Makefile.PL
182
183 1.800 23rd November 2001
184
185 * use pport.h for perl backward compatibility code.
186
187 * use new ExtUtils::Constant module to generate XS constants.
188
189 * upgrade Makefile.PL upgrade/downgrade code to toggle "our" with
190 "use vars"
191
192 1.79 22nd October 2001
193
194 * Added a "local $SIG{__DIE__}" inside the eval that checks for
195 the presence of XSLoader s suggested by Andrew Hryckowin.
196
197 * merged core patch 12277.
198
199 * Changed NEXTKEY to not initialise the input key. It isn't used anyway.
200
201 1.79 22nd October 2001
202
203 * Fixed test harness for cygwin
204
205 1.78 30th July 2001
206
207 * the test in Makefile.PL for AIX used -plthreads. Should have been
208 -lpthreads
209
210 * merged Core patches
211 10372, 10335, 10372, 10534, 10549, 10643, 11051, 11194, 11432
212
213 * added documentation patch regarding duplicate keys from Andrew Johnson
214
215
216 1.77 26th April 2001
217
218 * AIX is reported to need -lpthreads, so Makefile.PL now checks for
219 AIX and adds it to the link options.
220
221 * Minor documentation updates.
222
223 * Merged Core patch 9176
224
225 * Added a patch from Edward Avis that adds support for splice with
226 recno databases.
227
228 * Modified Makefile.PL to only enable the warnings pragma if using perl
229 5.6.1 or better.
230
231 1.76 15th January 2001
232
233 * Added instructions for using LD_PRELOAD to get Berkeley DB 2.x to work
234 with DB_File on Linux. Thanks to Norbert Bollow for sending details of
235 this approach.
236
237
238 1.75 17th December 2000
239
240 * Fixed perl core patch 7703
241
242 * Added support to allow DB_File to be built with Berkeley DB 3.2 --
243 btree_compare, btree_prefix and hash_cb needed to be changed.
244
245 * Updated dbinfo to support Berkeley DB 3.2 file format changes.
246
247
248 1.74 10th December 2000
249
250 * A "close" call in DB_File.xs needed parenthesised to stop win32 from
251 thinking it was one of its macros.
252
253 * Updated dbinfo to support Berkeley DB 3.1 file format changes.
254
255 * DB_File.pm & the test hasness now use the warnings pragma (when
256 available).
257
258 * Included Perl core patch 7703 -- size argument for hash_cb is different
259 for Berkeley DB 3.x
260
261 * Included Perl core patch 7801 -- Give __getBerkeleyDBInfo the ANSI C
262 treatment.
263
264 * @a = () produced the warning 'Argument "" isn't numeric in entersub'
265 This has been fixed. Thanks to Edward Avis for spotting this bug.
266
267 * Added note about building under Linux. Included patches.
268
269 * Included Perl core patch 8068 -- fix for bug 20001013.009
270 When run with warnings enabled "$hash{XX} = undef " produced an
271 "Uninitialized value" warning. This has been fixed.
272
273 1.73 31st May 2000
274
275 * Added support in version.c for building with threaded Perl.
276
277 * Berkeley DB 3.1 has reenabled support for null keys. The test
278 harness has been updated to reflect this.
279
280 1.72 16th January 2000
281
282 * Added hints/sco.pl
283
284 * The module will now use XSLoader when it is available. When it
285 isn't it will use DynaLoader.
286
287 * The locking section in DB_File.pm has been discredited. Many thanks
288 to David Harris for spotting the underlying problem, contributing
289 the updates to the documentation and writing DB_File::Lock (available
290 on CPAN).
291
292 1.71 7th September 1999
293
294 * Fixed a bug that prevented 1.70 from compiling under win32
295
296 * Updated to support Berkeley DB 3.x
297
298 * Updated dbinfo for Berkeley DB 3.x file formats.
299
300 1.70 4th August 1999
301
302 * Initialise $DB_File::db_ver and $DB_File::db_version with
303 GV_ADD|GV_ADDMULT -- bug spotted by Nick Ing-Simmons.
304
305 * Added a BOOT check to test for equivalent versions of db.h &
306 libdb.a/so.
307
308 1.69 3rd August 1999
309
310 * fixed a bug in push -- DB_APPEND wasn't working properly.
311
312 * Fixed the R_SETCURSOR bug introduced in 1.68
313
314 * Added a new Perl variable $DB_File::db_ver
315
316 1.68 22nd July 1999
317
318 * Merged changes from 5.005_58
319
320 * Fixed a bug in R_IBEFORE & R_IAFTER processing in Berkeley DB
321 2 databases.
322
323 * Added some of the examples in the POD into the test harness.
324
325 1.67 6th June 1999
326
327 * Added DBM Filter documentation to DB_File.pm
328
329 * Fixed DBM Filter code to work with 5.004
330
331 * A few instances of newSVpvn were used in 1.66. This isn't available in
332 Perl 5.004_04 or earlier. Replaced with newSVpv.
333
334 1.66 15th March 1999
335
336 * Added DBM Filter code
337
338 1.65 6th March 1999
339
340 * Fixed a bug in the recno PUSH logic.
341 * The BOOT version check now needs 2.3.4 when using Berkeley DB version 2
342
343 1.64 21st February 1999
344
345 * Tidied the 1.x to 2.x flag mapping code.
346 * Added a patch from Mark Kettenis <[email protected]> to fix a flag
347 mapping problem with O_RDONLY on the Hurd
348 * Updated the message that db-recno.t prints when tests 51, 53 or 55 fail.
349
350 1.63 19th December 1998
351
352 * Fix to allow DB 2.6.x to build with DB_File
353 * Documentation updated to use push,pop etc in the RECNO example &
354 to include the find_dup & del_dup methods.
355
356 1.62 30th November 1998
357
358 Added hints/dynixptx.pl.
359 Fixed typemap -- 1.61 used PL_na instead of na
360
361 1.61 19th November 1998
362
363 Added a note to README about how to build Berkeley DB 2.x when
364 using HP-UX.
365 Minor modifications to get the module to build with DB 2.5.x
366 Fixed a typo in the definition of O_RDONLY, courtesy of Mark Kettenis.
367
368 1.60
369 Changed the test to check for full tied array support
370
371 1.59
372 Updated the license section.
373
374 Berkeley DB 2.4.10 disallows zero length keys. Tests 32 & 42 in
375 db-btree.t and test 27 in db-hash.t failed because of this change.
376 Those tests have been zapped.
377
378 Added dbinfo to the distribution.
379
380 1.58
381 Tied Array support was enhanced in Perl 5.004_57. DB_File now
382 supports PUSH,POP,SHIFT,UNSHIFT & STORESIZE.
383
384 Fixed a problem with the use of sv_setpvn. When the size is
385 specified as 0, it does a strlen on the data. This was ok for DB
386 1.x, but isn't for DB 2.x.
387
388 1.57
389 If Perl has been compiled with Threads support,the symbol op will be
390 defined. This clashes with a field name in db.h, so it needs to be
391 #undef'ed before db.h is included.
392
393 1.56
394 Documented the Solaris 2.5 mutex bug
395
396 1.55
397 Merged 1.16 changes.
398
399 1.54
400
401 Fixed a small bug in the test harness when run under win32
402 The emulation of fd when useing DB 2.x was busted.
403
404 1.53
405
406 Added DB_RENUMBER to flags for recno.
407
408 1.52
409
410 Patch from Nick Ing-Simmons now allows DB_File to build on NT.
411 Merged 1.15 patch.
412
413 1.51
414
415 Fixed the test harness so that it doesn't expect DB_File to have
416 been installed by the main Perl build.
417
418
419 Fixed a bug in mapping 1.x O_RDONLY flag to 2.x DB_RDONLY equivalent
420
421 1.50
422
423 DB_File can now build with either DB 1.x or 2.x, but not both at
424 the same time.
425
426 1.16
427
428 A harmless looking tab was causing Makefile.PL to fail on AIX 3.2.5
429
430 Small fix for the AIX strict C compiler XLC which doesn't like
431 __attribute__ being defined via proto.h and redefined via db.h. Fix
432 courtesy of Jarkko Hietaniemi.
433
434 1.15
435
436 Patch from Gisle Aas <[email protected]> to suppress "use of undefined
437 value" warning with db_get and db_seq.
438
439 Patch from Gisle Aas <[email protected]> to make DB_File export only the
440 O_* constants from Fcntl.
441
442 Removed the DESTROY method from the DB_File::HASHINFO module.
443
444 Previously DB_File hard-wired the class name of any object that it
445 created to "DB_File". This makes sub-classing difficult. Now
446 DB_File creats objects in the namespace of the package it has been
447 inherited into.
448
449
450 1.14
451
452 Made it illegal to tie an associative array to a RECNO database and
453 an ordinary array to a HASH or BTREE database.
454
455 1.13
456
457 Minor changes to DB_FIle.xs and DB_File.pm
458
459 1.12
460
461 Documented the incompatibility with version 2 of Berkeley DB.
462
463 1.11
464
465 Documented the untie gotcha.
466
467 1.10
468
469 Fixed fd method so that it still returns -1 for in-memory files
470 when db 1.86 is used.
471
472 1.09
473
474 Minor bug fix in DB_File::HASHINFO, DB_File::RECNOINFO and
475 DB_File::BTREEINFO.
476
477 Changed default mode to 0666.
478
479 1.08
480
481 Documented operation of bval.
482
483 1.07
484
485 Fixed bug with RECNO, where bval wasn't defaulting to "\n".
486
487 1.06
488
489 Minor namespace cleanup: Localized PrintBtree.
490
491 1.05
492
493 Made all scripts in the documentation strict and -w clean.
494
495 Added logic to DB_File.xs to allow the module to be built after
496 Perl is installed.
497
498 1.04
499
500 Minor documentation changes.
501
502 Fixed a bug in hash_cb. Patches supplied by Dave Hammen,
503 <[email protected]>.
504
505 Fixed a bug with the constructors for DB_File::HASHINFO,
506 DB_File::BTREEINFO and DB_File::RECNOINFO. Also tidied up the
507 constructors to make them -w clean.
508
509 Reworked part of the test harness to be more locale friendly.
510
511 1.03
512
513 Documentation update.
514
515 DB_File now imports the constants (O_RDWR, O_CREAT etc.) from Fcntl
516 automatically.
517
518 The standard hash function exists is now supported.
519
520 Modified the behavior of get_dup. When it returns an associative
521 array, the value is the count of the number of matching BTREE
522 values.
523
524 1.02
525
526 Merged OS/2 specific code into DB_File.xs
527
528 Removed some redundant code in DB_File.xs.
529
530 Documentation update.
531
532 Allow negative subscripts with RECNO interface.
533
534 Changed the default flags from O_RDWR to O_CREAT|O_RDWR.
535
536 The example code which showed how to lock a database needed a call
537 to sync added. Without it the resultant database file was empty.
538
539 Added get_dup method.
540
541 1.01
542
543 Fixed a core dump problem with SunOS.
544
545 The return value from TIEHASH wasn't set to NULL when dbopen
546 returned an error.
547
548 1.0
549
550 DB_File has been in use for over a year. To reflect that, the
551 version number has been incremented to 1.0.
552
553 Added complete support for multiple concurrent callbacks.
554
555 Using the push method on an empty list didn't work properly. This
556 has been fixed.
557
558 0.3
559
560 Added prototype support for multiple btree compare callbacks.
561
562 0.2
563
564 When DB_File is opening a database file it no longer terminates the
565 process if dbopen returned an error. This allows file protection
566 errors to be caught at run time. Thanks to Judith Grass
567 <[email protected]> for spotting the bug.
568
569 0.1
570
571 First Release.
572