1 Sun 3 Jul 09:10:11 IST 2011 Abhijit Menon-Sen <ams@toroid.org>
4 Various bugfixes, notably including preventing nfreeze from
5 incorrectly stringifying integers.
7 Fri 3 Dec 14:12:32 GMT 2010 David Leadbeater <dgl@dgl.cx>
10 Support for serializing coderefs containing UTF-8.
12 Fri Nov 12 10:52:19 IST 2010 Abhijit Menon-Sen <ams@toroid.org>
16 Performance improvement for overloaded classes from Benjamin
19 Fri Nov 12 10:36:22 IST 2010 Abhijit Menon-Sen <ams@toroid.org>
23 Release the latest version from the Perl repository.
25 Thu Aug 6 10:55:50 IST 2009 Abhijit Menon-Sen <ams@toroid.org>
29 Includes hints/hpux.pl that was inadvertently left out of 2.20.
31 Mon May 18 09:38:20 IST 2009 Abhijit Menon-Sen <ams@toroid.org>
35 Fix bug handling blessed references to overloaded objects, plus
36 other miscellaneous fixes.
38 (Version 2.19 was released with 5.8.9.)
40 Thu Nov 22 13:24:18 IST 2007 Abhijit Menon-Sen <ams@toroid.org>
44 Compile fixes for older Perls. (No functional changes.)
46 Sat Nov 17 02:12:12 IST 2007 Abhijit Menon-Sen <ams@toroid.org>
50 Various broken tests fixed. (No functional changes.)
52 Sat Mar 31 06:11:06 IST 2007 Abhijit Menon-Sen <ams@toroid.org>
56 1. Fixes to Storable::dclone, read_magic, retrieve_lscalar
57 2. Storable 0.1 compatibility
58 3. Miscellaneous compile/leak/test/portability fixes
60 Mon May 23 22:48:49 IST 2005 Abhijit Menon-Sen <ams@wiw.org>
64 Minor changes to address a couple of compile problems.
66 Mon Apr 25 07:29:14 IST 2005 Abhijit Menon-Sen <ams@wiw.org>
70 1. Store weak references
71 2. Add STORABLE_attach hook.
73 Thu Jun 17 12:26:43 BST 2004 Nicholas Clark <nick@ccl4.org>
77 1. Don't change the type of top level overloaded references to RV -
78 they are perfectly correct as PVMG
79 2. Storable needs to cope with incoming frozen data that happens to be
82 Wed Mar 17 15:40:29 GMT 2004 Nicholas Clark <nick@ccl4.org>
86 1. Add regression tests for the auto-require of STORABLE_thaw
87 2. Add auto-require of modules to restore overloading (and tests)
88 3. Change to no context (should give speedup with ithreads)
90 Sat Mar 13 20:11:03 GMT 2004 Nicholas Clark <nick@ccl4.org>
94 1. Storing restricted hashes in canonical order would SEGV. Fixed.
95 2. It was impossible to retrieve references to PL_sv_no and and
96 PL_sv_undef from STORABLE_thaw hooks.
97 3. restrict.t was failing on 5.8.0, due to 5.8.0's unique
98 implementation of restricted hashes using PL_sv_undef
99 4. These changes allow a space optimisation for restricted hashes.
101 Sat Jan 24 16:22:32 IST 2004 Abhijit Menon-Sen <ams@wiw.org>
105 1. Thread safety: Storable::CLONE/init_perlinterp() now create
106 a new Perl context for each new ithread.
107 (From Stas Bekman and Jan Dubois.)
108 2. Fix a tag count mismatch with $Storable::Deparse that caused
109 all back-references after a stored sub to be off-by-N (where
110 N was the number of code references in between).
112 3. Prevent CODE references from turning into SCALAR references.
115 Sat Jan 3 18:49:18 GMT 2004 Nicholas Clark <nick@ccl4.org>
119 Fix minor problems with the CPAN release
120 1: Make Storable.xs work on 5.8.2 and later (already in the core)
121 2: Ship the linux hints file
122 3: Ship Test::More for the benefit of Perls pre 5.6.2
123 4: Correct Makefile.PL to only install in core for 5.8.0 and later
125 Sat Sep 6 01:08:20 IST 2003 Abhijit Menon-Sen <ams@wiw.org>
129 This release works around a 5.8.0 bug which caused hashes to not
130 be marked as having key flags even though an HEK had HEK_WASUTF8
131 set. (Note that the only reasonable solution is to silently drop
132 the flag from the affected key.)
134 Users of RT 3 who were seeing assertion failures should upgrade.
135 (Perl 5.8.1 will have the bug fixed.)
137 Mon May 5 10:24:16 IST 2003 Abhijit Menon-Sen <ams@wiw.org>
141 Minor bugfixes (self-tied objects are now correctly stored, as
142 are the results of additions larger than INT_MAX).
144 Mon Oct 7 21:56:38 BST 2002 Nicholas Clark <nick@ccl4.org>
148 Remove qr// from t/downgrade.t so that it will run on 5.004
149 Mention $File::Spec::VERSION a second time in t/forgive.t so that it
150 runs without warnings in 5.004 (this may be a 5.00405 bug I'm working
152 Fix t/integer.t initialisation to actually generate 64 bits of 9c
153 Fix comparison tests to use eval to get around 64 bit IV conversion
154 issues on 5.6.x, following my t/integer.t ^ precedence bug found by
156 Alter t/malice.t to work with Test/More.pm in t/, and skip individual
157 subtests that use $Config{ptrsize}, so that the rest of the test can
158 now be run with 5.004
159 Change t/malice.t and the error message in check_magic in Storable.xs
160 from "Pointer integer size" to "Pointer size"
161 Remove prerequisite of Test::More from Makefile.PL
162 Ship Test::Builder, Test::Simple and Test::More in t
164 Thu Oct 3 08:57:22 IST 2002 Abhijit Menon-Sen <ams@wiw.org>
168 Adds support for CODE references from Slaven Rezic
169 <slaven.rezic@berlin.de>.
171 Fri Jun 7 23:55:41 BST 2002 Nicholas Clark
175 Bug fix from Radu Greab <radu@netsoft.ro> (plus regression test)
176 to fix a recently introduced bug detected by Dave Rolsky.
177 Bug was that for a non threaded build, the class information was
178 being lost at freeze time on the first object with a STORABLE_freeze
179 hook. Consequentially the object was not blessed at all when thawed.
180 (The presence (or lack) of STORABLE_thaw was irrelevant; this was
181 a store-time data lost bug, caused by failure to initialize internal
183 The bug was introduced as development perl change 16442 (on
184 2002/05/07), so has been present since 2.00.
185 Patches to introduce more regression tests to reduce the chance of
186 a reoccurence of this sort of goof are always welcome.
188 Thu May 30 20:31:08 BST 2002 Nicholas Clark <nick@ccl4.org>
190 Version 2.03 Header changes on 5.6.x on Unix where IV is long long
192 5.6.x introduced the ability to have IVs as long long. However,
193 Configure still defined BYTEORDER based on the size of a long.
194 Storable uses the BYTEORDER value as part of the header, but
195 doesn't explicitly store sizeof(IV) anywhere in the header.
196 Hence on 5.6.x built with IV as long long on a platform that
197 uses Configure (ie most things except VMS and Windows) headers
198 are identical for the different IV sizes, despite the files
199 containing some fields based on sizeof(IV)
201 5.8.0 is consistent; all platforms have BYTEORDER in config.h
202 based on sizeof(IV) rather than sizeof(long). This means that
203 the value of BYTEORDER will change from (say) 4321 to 87654321
204 between 5.6.1 and 5.8.0 built with the same options to Configure
205 on the same machine. This means that the Storable header will
206 differ, and the two versions will wrongly thing that they are
209 For the benefit of long term consistency, Storable now
210 implements the 5.8.0 BYTEORDER policy on 5.6.x. This means that
211 2.03 onwards default to be incompatible with 2.02 and earlier
212 (ie the large 1.0.x installed base) on the same 5.6.x perl.
214 To allow interworking, a new variable
215 $Storable::interwork_56_64bit is introduced. It defaults to
216 false. Set it to true to read and write old format files. Don't
217 use it unless you have existing stored data written with 5.6.x
218 that you couldn't otherwise read, or you need to interwork with
219 a machine running older Storable on a 5.6.x with long long IVs
220 (i.e., you probably don't need to use it).
222 Sat May 25 22:38:39 BST 2002 Nicholas Clark <nick@ccl4.org>
226 Rewrite Storable.xs so that the file header structure for write_magic
227 is built at compile time, and check_magic attempts to the header in
228 blocks rather than byte per byte. These changes make the compiled
229 extension 2.25% smaller, but are not significant enough to give a
232 Thu May 23 22:50:41 BST 2002 Nicholas Clark <nick@ccl4.org>
236 - New regression tests integer.t
237 - Add code to safely store large unsigned integers.
238 - Change code not to attempt to store large integers (ie > 32 bits)
239 in network order as 32 bits.
241 *Never* underestimate the value of a pathological test suite carefully
242 crafted with maximum malice before writing a line of real code. It
243 prevents crafty bugs from stowing away in your released code.
244 It's much less embarrassing to find them before you ship.
245 (Well, never underestimate it if you ever want to work for me)
247 Fri May 17 22:48:59 BST 2002 Nicholas Clark <nick@ccl4.org>
249 Version 2.0, binary format 2.5 (but writes format 2.4 on pre 5.7.3)
251 The perl5 porters have decided to make sure that Storable still
252 builds on pre-5.8 perls, and make the 5.8 version available on CPAN.
253 The VERSION is now 2.0, and it passes all tests on 5.005_03, 5.6.1
254 and 5.6.1 with threads. On 5.6.0 t/downgrade.t fails tests 34 and 37,
255 due to a bug in 5.6.0 - upgrade to 5.6.1.
257 Jarkko and I have collated the list of changes the perl5 porters have
258 from the perl5 Changes file:
260 - data features of upcoming perl 5.8.0 are supported: Unicode hash
261 keys (Unicode hash values have been supported since Storable 1.0.1)
262 and "restricted hashes" (readonly hashes and hash entries)
263 - a newer version of perl can now be used to serialize data which is
264 not supported in earlier perls: Storable will attempt to do the
265 right thing for as long as possible, croaking only when safe data
266 conversion simply isn't possible. Alternatively earlier perls can
267 opt to have a lossy downgrade data instead of croaking
268 - when built with perls pre 5.7.3 this Storable writes out files
269 with binary format 2.4, the same format as Storable 1.0.8 onwards.
270 This should mean that this Storable will inter-operate seamlessly
271 with any Storable 1.0.8 or newer on perls pre 5.7.3
272 - dclone() now works with empty string scalar objects
273 - retrieving of large hashes is now more efficient
274 - more routines autosplit out of the main module, so Storable should
275 load slightly more quickly
276 - better documentation
277 - the internal context objects are now freed explicitly, rather than
278 relying on thread or process exit
279 - bugs fixed in debugging trace code affecting builds made with 64 bit
281 - code tidy-ups to allow clean compiles with more warning options
282 turned on avoid problems with $@ getting corrupted on 5.005_03 if
283 Carp wasn't already loaded
284 - added &show_file_magic, so you can add to /etc/magic and teach
285 Unix's file command about Storable files
287 We plan to keep Storable on CPAN in sync with the Perl core, so
288 if you encounter bugs or other problems building or using Storable,
289 please let us know at perl5-porters@perl.org
292 Sat Dec 1 14:37:54 MET 2001 Raphael Manfredi <Raphael_Manfredi@pobox.com>
294 This is the LAST maintenance release of the Storable module.
295 Indeed, Storable is now part of perl 5.8, and will be maintained
296 as part of Perl. The CPAN module will remain available there
297 for people running pre-5.8 perls.
299 Avoid requiring Fcntl upfront, useful to embedded runtimes.
300 Use an eval {} for testing, instead of making Storable.pm
301 simply fail its compilation in the BEGIN block.
303 store_fd() will now correctly autoflush file if needed.
305 Tue Aug 28 23:53:20 MEST 2001 Raphael Manfredi <Raphael_Manfredi@pobox.com>
307 Fixed truncation race with lock_retrieve() in lock_store().
308 The file has to be truncated only once the exclusive lock is held.
310 Removed spurious debugging messages in .xs file.
312 Sun Jul 1 13:27:32 MEST 2001 Raphael Manfredi <Raphael_Manfredi@pobox.com>
314 Systematically use "=over 4" for POD linters.
315 Apparently, POD linters are much stricter than would
316 otherwise be needed, but that's OK.
318 Fixed memory corruption on croaks during thaw(). Thanks
319 to Claudio Garcia for reproducing this bug and providing the
320 code to exercise it. Added test cases for this bug, adapted
323 Made code compile cleanly with -Wall (from Jarkko Hietaniemi).
325 Changed tagnum and classnum from I32 to IV in context. Also
328 Thu Mar 15 01:22:32 MET 2001 Raphael Manfredi <Raphael_Manfredi@pobox.com>
330 Last version was wrongly compiling with assertions on, due
331 to an edit glitch. That did not cause any problem (apart from
332 a slight performance loss) excepted on Win* platforms, where the
333 assertion code does not compile.
335 Sat Feb 17 13:37:37 MET 2001 Raphael Manfredi <Raphael_Manfredi@pobox.com>
339 Forgot to increase version number at previous patch (there were
340 two of them, which is why we jump from 1.0.8 to 1.0.10).
342 Sat Feb 17 13:35:00 MET 2001 Raphael Manfredi <Raphael_Manfredi@pobox.com>
344 Version 1.0.8, binary format 2.4.
346 Fixed incorrect error message.
348 Now bless objects ASAP at retrieve time, which is meant to fix
351 * Indirect references to overloaded object were not able to
352 restore overloading if the object was not blessed yet,
353 which was possible since blessing occurred only after the
356 * Storable hooks asking for serialization of blessed ref could
357 get un-blessed refs at retrieval time, for the very same
360 The fix implemented here was suggested by Nick Ing-Simmons.
362 Added support for blessed ref to tied structures. This is the
363 cause for the binary format change.
365 Added EBCDIC version of the compatibility test with 0.6.11,
368 Added tests for the new features, and to make sure the bugs they
369 are meant to fix are indeed fixed.
371 Wed Jan 3 10:43:18 MET 2001 Raphael Manfredi <Raphael_Manfredi@pobox.com>
373 Removed spurious 'clean' entry in Makefile.PL.
375 Added CAN_FLOCK to determine whether we can flock() or not,
376 by inspecting Perl's configuration parameters, as determined
379 Trace offending package when overloading cannot be restored
382 Made context cleanup safer to avoid dup freeing, mostly in the
383 presence of repeated exceptions during store/retrieve (which can
384 cause memory leaks anyway, so it's just additional safety, not a
387 Sun Nov 5 18:23:48 MET 2000 Raphael Manfredi <Raphael_Manfredi@pobox.com>
391 Fixed severe "object lost" bug for STORABLE_freeze returns,
392 when refs to lexicals, taken within the hook, were to be
393 serialized by Storable. Enhanced the t/recurse.t test to
394 stress hook a little more with refs to lexicals.
396 Thu Oct 26 19:14:38 MEST 2000 Raphael Manfredi <Raphael_Manfredi@pobox.com>
400 Documented that store() and retrieve() can return undef.
401 That is, the error reporting is not always made via exceptions,
402 as the paragraph on error reporting was implying.
404 Auto requires module of blessed ref when STORABLE_thaw misses.
405 When the Storable engine looks for the STORABLE_thaw hook and
406 does not find it, it now tries to require the package into which
407 the blessed reference is.
409 Just check $^O, in t/lock.t: there's no need to pull the whole
410 Config module for that.
412 Mon Oct 23 20:03:49 MEST 2000 Raphael Manfredi <Raphael_Manfredi@pobox.com>
416 Protected calls to flock() for DOS platform: apparently, the
417 flock/fcnlt emulation is reported to be broken on that
420 Added logcarp emulation if they don't have Log::Agent, since
421 we now use it to carp when lock_store/lock_retrieve is used
424 Fri Sep 29 21:52:29 MEST 2000 Raphael Manfredi <Raphael_Manfredi@pobox.com>
428 Avoid using "tainted" and "dirty" since Perl remaps them via
429 cpp (i.e. #define). This is deeply harmful when threading
430 is enabled. This concerned both the context structure and
431 local variable and argument names. Brrr..., scary!
433 Thu Sep 28 23:46:39 MEST 2000 Raphael Manfredi <Raphael_Manfredi@pobox.com>
437 Fixed spelling in README.
439 Added lock_store, lock_nstore, and lock_retrieve (advisory locking)
440 after a proposal from Erik Haugan <erik@solbors.no>.
442 Perls before 5.004_04 lack newSVpvn, added remapping in XS.
444 Fixed stupid typo in the t/utf8.t test.
446 Sun Sep 17 18:51:10 MEST 2000 Raphael Manfredi <Raphael_Manfredi@pobox.com>
448 Version 1.0.1, binary format 2.3.
450 Documented that doubles are stored stringified by nstore().
452 Added Salvador Ortiz Garcia in CREDITS section, He identified
453 a bug in the store hooks and proposed the right fix: the class
454 id was allocated too soon. His bug case was also added to
455 the regression test suite.
457 Now only taint retrieved data when source was tainted. A bug
458 discovered by Marc Lehmann.
460 Added support for UTF-8 strings, a contribution of Marc Lehmann.
461 This is normally only activated in post-5.6 perls.
463 Thu Aug 31 23:06:06 MEST 2000 Raphael Manfredi <Raphael_Manfredi@pobox.com>
465 First official release Storable 1.0, for inclusion in perl 5.7.0.
466 The license scheme is now compatible with Perl's.
468 Thu Aug 24 01:02:02 MEST 2000 Raphael Manfredi <Raphael_Manfredi@pobox.com>
470 ANSI-fied most of the code, preparing for Perl core integration.
471 The next version of Storable will be 0.8, and will be integrated
472 into the Perl core (development branch).
474 Dispatch tables were moved upfront to relieve some compilers,
475 especially on AIX and Windows platforms.
477 Merged 64-bit fixes from perl5-porters.
479 Mon Aug 14 09:22:04 MEST 2000 Raphael Manfredi <Raphael_Manfredi@pobox.com>
481 Added a refcnt dec in retrieve_tied_key(): sv_magic() increases
482 the refcnt on the mg_ptr as well.
484 Removed spurious dependency to Devel::Peek, which was used for
485 testing only in t/tied_items.t. Thanks to Conrad Heiney
486 <conrad@fringehead.org> for spotting it first.
488 Sun Aug 13 22:12:59 MEST 2000 Raphael Manfredi <Raphael_Manfredi@pobox.com>
490 Marc Lehmann kindly contributed code to add overloading support
491 and to handle references to tied variables.
493 Rewrote leading blurb about compatibility to make it clearer what
494 "backward compatibility" is about: when I say 0.7 is backward
495 compatible with 0.6, it means the revision 0.7 can read files
498 Mention new Clone(3) extension in SEE ALSO.
500 Was wrongly optimizing for "undef" values in hashes by not
501 fully recursing: as a result, tied "undef" values were incorrectly
504 Sun Jul 30 12:59:17 MEST 2000 Raphael Manfredi <Raphael_Manfredi@pobox.com>
506 First revision of Storable 0.7.
508 The serializing format is new, known as version 2.0. It is fully
509 backward compatible with 0.6. Earlier formats are deprecated and
510 have not even been tested: next version will drop pre-0.6 format.
512 Changes since 0.6@11:
514 - Moved interface to the "beta" status. Some tiny parts are still
515 subject to change, but nothing important enough to warrant an "alpha"
518 - Slightly reduced the size of the Storable image by factorizing
519 object class names and removing final object storage notification due
520 to a redesign of the blessed object storing.
522 - Classes can now redefine how they wish their instances to be serialized
523 and/or deep cloned. Serializing hooks are written in Perl code.
525 - The engine is now fully re-entrant.
527 Sun Apr 2 23:47:50 MEST 2000 Raphael Manfredi <Raphael_Manfredi@pobox.com>
529 Added provision to detect more recent binary formats, since
530 the new upcoming Storable-0.7 will use a different format.
531 In order to prevent attempting the de-serialization of newer
532 formats by older versions, I'm adding this now to the 0.6 series.
534 I'm expecting this revision to be the last of the 0.6 series.
535 Unless it does not work with perl 5.6, which I don't use yet,
536 and therefore against which I cannot test.
538 Wed Mar 29 19:55:21 MEST 2000 Raphael Manfredi <Raphael_Manfredi@pobox.com>
540 Added note about format incompatibilities with old versions
541 (i.e. pre 0.5@9 formats, which cannot be understood as there
542 was no versionning information in the file by then).
544 Protect all $@ variables when eval {} used, to avoid corrupting
545 it when store/retrieve is called within an exception handler.
547 Mistakenly included "patchlevel.h" instead of <patchlevel.h>,
548 preventing Perl's patchlevel from being included, which is
549 needed starting from 5.6.
551 Tue May 12 09:15:15 METDST 1998 Raphael Manfredi <Raphael_Manfredi@grenoble.hp.com>
553 Fixed shared "undef" bug in hashes, which did not remain shared
554 through store/retrieve.
556 Thu Feb 10 19:48:16 MET 2000 Raphael Manfredi <Raphael_Manfredi@pobox.com>
558 added last_op_in_netorder() predicate
559 documented last_op_in_netorder()
560 added tests for the new last_op_in_netorder() predicate
562 Wed Oct 20 19:07:36 MEST 1999 Raphael Manfredi <Raphael_Manfredi@pobox.com>
564 Forgot to update VERSION
566 Tue Oct 19 21:25:02 MEST 1999 Raphael Manfredi <Raphael_Manfredi@pobox.com>
568 Added mention of japanese translation for the manual page.
570 Fixed typo in macro that made threaded code not compilable,
571 especially on Win32 platforms.
573 Changed detection of older perls (pre-5.005) by testing PATCHLEVEL
574 directly instead of relying on internal symbols.
576 Tue Sep 14 22:13:28 MEST 1999 Raphael Manfredi <Raphael_Manfredi@pobox.com>
578 Integrated "thread-safe" patch from Murray Nesbitt.
579 Note that this may not be very efficient for threaded code,
580 see comment in the code.
582 Try to avoid compilation warning on 64-bit CPUs. Can't test it,
583 since I don't have access to such machines.
585 Mon Jul 12 14:37:19 METDST 1999 Raphael Manfredi <Raphael_Manfredi@pobox.com>
587 changed my e-mail to pobox.
589 mentioned it is not thread-safe.
591 updated version number.
593 uses new internal PL_* naming convention.
595 Fri Jul 3 13:38:16 METDST 1998 Raphael Manfredi <Raphael_Manfredi@grenoble.hp.com>
597 Updated benchmark figures due to recent optimizations done in
598 store(): tagnums are now stored as-is in the hash table, so
599 no surrounding SV is created. And the "shared keys" mode for
600 hash table was turned off.
602 Fixed backward compatibility (wrt 0.5@9) for retrieval of
603 blessed refs. That old version did something wrong, but the
604 bugfix prevented correct retrieval of the old format.
606 Mon Jun 22 11:00:48 METDST 1998 Raphael Manfredi <Raphael_Manfredi@grenoble.hp.com>
608 Changed benchmark figures.
610 Adjust refcnt of tied objects after calling sv_magic() to avoid
611 memory leaks. Contributed by Jeff Gresham.
613 Fri Jun 12 11:50:04 METDST 1998 Raphael Manfredi <Raphael_Manfredi@grenoble.hp.com>
615 Added workaround for persistent LVALUE-ness in perl5.004. All
616 scalars tagged as being an lvalue are handled as if they were
617 not an lvalue at all. Added test for that LVALUE bug workaround.
619 Now handles Perl immortal scalars explicitly, by storing &sv_yes
622 Retrieval of non-immortal undef cannot be shared. Previous
623 version was over-optimizing by not creating a separate SV for
624 all undefined scalars seen.
626 Thu Jun 4 17:21:51 METDST 1998 Raphael Manfredi <Raphael_Manfredi@grenoble.hp.com>
628 Baseline for Storable-0.6@0.
630 This version introduces a binary incompatibility in the generated
631 binary image, which is more compact than older ones by approximatively
632 15%, depending on the exact degree of sharing in your structures.
634 The good news is that your older images can still be retrieved with
635 this version, i.e. backward compatibility is preserved. This version
636 of Storable can only generate new binaries however.
638 Another good news is that the retrieval of data structure is
639 significantly quicker than before, because a Perl array is used
640 instead of a hash table to keep track of retrieved objects, and
641 also because the image being smaller, less I/O function calls are
644 Tue May 12 09:15:15 METDST 1998 Raphael Manfredi <Raphael_Manfredi@grenoble.hp.com>
646 Version number now got from Storable.pm directly.
648 Fixed overzealous sv_type() optimization, which would make
649 Storable fail when faced with an "upgraded" SV to the PVIV
650 or PVNV kind containing a reference.
652 Thu Apr 30 15:11:30 METDST 1998 Raphael Manfredi <Raphael_Manfredi@grenoble.hp.com>
654 Extended the SYNOPSIS section to give quick overview of the
655 routines and their signature.
657 Optimized sv_type() to avoid flags checking when not needed, i.e.
658 when their type makes it impossible for them to be refs or tied.
659 This slightly increases throughput by a few percents when refs
660 and tied variables are marginal occurrences in your data.
662 Stubs for XS now use OutputStream and InputStream file types to
663 make it work when the given file is actually a socket. Perl
664 makes a distinction for sockets in its internal I/O structures
665 by having both a read and a write structure, whereas plain files
668 Tue Jun 3 09:41:33 METDST 1997 Raphael Manfredi <Raphael_Manfredi@grenoble.hp.com>
670 Thanks to a contribution from Benjamin A. Holzman, Storable is now
671 able to correctly serialize tied SVs, i.e. tied arrays, hashes
674 Thu Apr 9 18:07:51 METDST 1998 Raphael Manfredi <Raphael_Manfredi@grenoble.hp.com>
676 I said SvPOK() had changed to SvPOKp(), but that was a lie...
678 Wed Apr 8 13:14:29 METDST 1998 Raphael Manfredi <Raphael_Manfredi@grenoble.hp.com>
680 Wrote sizeof(SV *) instead of sizeof(I32) when portable, which
681 in effect mangled the object tags and prevented portability
682 across 32/64 bit architectures!
684 Wed Mar 25 14:57:02 MET 1998 Raphael Manfredi <Raphael_Manfredi@grenoble.hp.com>
686 Added code example for store_fd() and retrieve_fd() in the
687 man page, to emphasize that file descriptors must be passed as
688 globs, not as plain strings.
690 Cannot use SV addresses as tag when using nstore() on LP64. This
691 was the cause of problems when creating a storable image on an
692 LP64 machine and retrieving it on an ILP32 system, which is
693 exactly what nstore() is meant for...
695 However, we continue to use SV addresses as tags for plain store(),
696 because benchmarking shows that it saves up to 8% of the store
697 time, and store() is meant to be fast at the expense of lack
700 This means there will be approximately an 8% degradation of
701 performance for nstore(), but it's now working as expected.
702 That cost may vary on your machine of course, since it is
703 solely caused by the memory allocation overhead used to create
704 unique SV tags for each distinct stored SV.
706 Tue Jan 20 09:21:53 MET 1998 Raphael Manfredi <Raphael_Manfredi@grenoble.hp.com>
708 Don't use any '_' in version number.
710 Tue Jan 13 17:51:50 MET 1998 Raphael Manfredi <Raphael_Manfredi@grenoble.hp.com>
712 Updated version number.
714 added binmode() calls for systems where it matters.
716 Be sure to pass globs, not plain file strings, to C routines,
717 so that Storable can be used under the Perl debugger.
719 Wed Nov 5 10:53:22 MET 1997 Raphael Manfredi <Raphael_Manfredi@grenoble.hp.com>
721 Fix memory leaks on seen hash table and returned SV refs.
723 Storable did not work properly when tainting enabled.
725 Fixed "Allocation too large" messages in freeze/thaw and added.
726 proper regression test in t/freeze.t.
728 Tue Jun 3 09:41:33 METDST 1997 Raphael Manfredi <Raphael_Manfredi@grenoble.hp.com>
730 Updated version number
732 Added freeze/thaw interface and dclone.
734 Fri May 16 10:45:47 METDST 1997 Raphael Manfredi <Raphael_Manfredi@grenoble.hp.com>
736 Forgot that AutoLoader does not export its own AUTOLOAD.
739 use AutoLoader 'AUTOLOAD';
741 but that would not be backward compatible. So the export is
744 Tue Mar 25 11:21:32 MET 1997 Raphael Manfredi <Raphael_Manfredi@grenoble.hp.com>
746 Empty scalar strings are now "defined" at retrieval time.
748 New test to ensure an empty string is defined when retrieved.
750 Thu Feb 27 16:32:44 MET 1997 Raphael Manfredi <Raphael_Manfredi@grenoble.hp.com>
752 Updated version number
754 Declare VERSION as being used
756 Fixed a typo in the PerlIO_putc remapping.
757 PerlIO_read and perlIO_write inverted size/nb_items.
758 (only relevant for pre-perl5.004 versions)
760 Thu Feb 27 15:58:31 MET 1997 Raphael Manfredi <Raphael_Manfredi@grenoble.hp.com>
762 Updated version number
764 Added VERSION identification
766 Allow build with perl5.003, which is ante perlIO time
768 Mon Jan 13 17:53:18 MET 1997 Raphael Manfredi <Raphael_Manfredi@grenoble.hp.com>
772 Wed Jan 22 15:19:56 MET 1997 Raphael Manfredi <Raphael_Manfredi@grenoble.hp.com>
774 Updated version number in Makefile.PL.
776 Added "thanks to" section to README.
778 Documented new forgive_me variable.
782 Added forgive_me support to allow store() of data structures
783 containing non-storable items like CODE refs.