1 Thu Aug 24 01:02:02 MEST 2000 Raphael Manfredi <Raphael_Manfredi@pobox.com>
6 ANSI-fied most of the code, preparing for Perl core integration.
7 The next version of Storable will be 0.8, and will be integrated
8 into the Perl core (development branch).
10 Dispatch tables were moved upfront to relieve some compilers,
11 especially on AIX and Windows platforms.
13 Merged 64-bit fixes from perl5-porters.
15 Mon Aug 14 09:22:04 MEST 2000 Raphael Manfredi <Raphael_Manfredi@pobox.com>
19 Added a refcnt dec in retrieve_tied_key(): sv_magic() increases
20 the refcnt on the mg_ptr as well.
22 Removed spurious dependency to Devel::Peek, which was used for
23 testing only in t/tied_items.t. Thanks to Conrad Heiney
24 <conrad@fringehead.org> for spotting it first.
26 Sun Aug 13 22:12:59 MEST 2000 Raphael Manfredi <Raphael_Manfredi@pobox.com>
30 Marc Lehmann kindly contributed code to add overloading support
31 and to handle references to tied variables.
33 Rewrote leading blurb about compatibility to make it clearer what
34 "backward compatibility" is about: when I say 0.7 is backward
35 compatible with 0.6, it means the revision 0.7 can read files
38 Mention new Clone(3) extension in SEE ALSO.
40 Was wrongly optimizing for "undef" values in hashes by not
41 fully recursing: as a result, tied "undef" values were incorrectly
44 Sun Jul 30 12:59:17 MEST 2000 Raphael Manfredi <Raphael_Manfredi@pobox.com>
46 First revision of Storable 0.7.
48 The serializing format is new, known as version 2.0. It is fully
49 backward compatible with 0.6. Earlier formats are deprecated and
50 have not even been tested: next version will drop pre-0.6 format.
54 - Moved interface to the "beta" status. Some tiny parts are still
55 subject to change, but nothing important enough to warrant an "alpha"
58 - Slightly reduced the size of the Storable image by factorizing
59 object class names and removing final object storage notification due
60 to a redesign of the blessed object storing.
62 - Classes can now redefine how they wish their instances to be serialized
63 and/or deep cloned. Serializing hooks are written in Perl code.
65 - The engine is now fully re-entrant.
67 Sun Apr 2 23:47:50 MEST 2000 Raphael Manfredi <Raphael_Manfredi@pobox.com>
71 Added provision to detect more recent binary formats, since
72 the new upcoming Storable-0.7 will use a different format.
73 In order to prevent attempting the de-serialization of newer
74 formats by older versions, I'm adding this now to the 0.6 series.
76 I'm expecting this revision to be the last of the 0.6 series.
77 Unless it does not work with perl 5.6, which I don't use yet,
78 and therefore against which I cannot test.
80 Wed Mar 29 19:55:21 MEST 2000 Raphael Manfredi <Raphael_Manfredi@pobox.com>
84 Added note about format incompatibilities with old versions
85 (i.e. pre 0.5@9 formats, which cannot be understood as there
86 was no versionning information in the file by then).
88 Protect all $@ variables when eval {} used, to avoid corrupting
89 it when store/retrieve is called within an exception handler.
91 Mistakenly included "patchlevel.h" instead of <patchlevel.h>,
92 preventing Perl's patchlevel from being included, which is
93 needed starting from 5.6.
95 Tue May 12 09:15:15 METDST 1998 Raphael Manfredi <Raphael_Manfredi@grenoble.hp.com>
99 Fixed shared "undef" bug in hashes, which did not remain shared
100 through store/retrieve.
102 Thu Feb 10 19:48:16 MET 2000 Raphael Manfredi <Raphael_Manfredi@pobox.com>
106 added last_op_in_netorder() predicate
107 documented last_op_in_netorder()
108 added tests for the new last_op_in_netorder() predicate
110 Wed Oct 20 19:07:36 MEST 1999 Raphael Manfredi <Raphael_Manfredi@pobox.com>
114 Forgot to update VERSION
116 Tue Oct 19 21:25:02 MEST 1999 Raphael Manfredi <Raphael_Manfredi@pobox.com>
120 Added mention of japanese translation for the manual page.
122 Fixed typo in macro that made threaded code not compilable,
123 especially on Win32 platforms.
125 Changed detection of older perls (pre-5.005) by testing PATCHLEVEL
126 directly instead of relying on internal symbols.
128 Tue Sep 14 22:13:28 MEST 1999 Raphael Manfredi <Raphael_Manfredi@pobox.com>
132 Integrated "thread-safe" patch from Murray Nesbitt.
133 Note that this may not be very efficient for threaded code,
134 see comment in the code.
136 Try to avoid compilation warning on 64-bit CPUs. Can't test it,
137 since I don't have access to such machines.
139 Mon Jul 12 14:37:19 METDST 1999 Raphael Manfredi <Raphael_Manfredi@pobox.com>
143 changed my e-mail to pobox.
145 mentionned it is not thread-safe.
147 updated version number.
149 uses new internal PL_* naming convention.
151 Fri Jul 3 13:38:16 METDST 1998 Raphael Manfredi <Raphael_Manfredi@grenoble.hp.com>
155 Updated benchmark figures due to recent optimizations done in
156 store(): tagnums are now stored as-is in the hash table, so
157 no surrounding SV is created. And the "shared keys" mode for
158 hash table was turned off.
160 Fixed backward compatibility (wrt 0.5@9) for retrieval of
161 blessed refs. That old version did something wrong, but the
162 bugfix prevented correct retrieval of the old format.
164 Mon Jun 22 11:00:48 METDST 1998 Raphael Manfredi <Raphael_Manfredi@grenoble.hp.com>
168 Changed benchmark figures.
170 Adjust refcnt of tied objects after calling sv_magic() to avoid
171 memory leaks. Contributed by Jeff Gresham.
173 Fri Jun 12 11:50:04 METDST 1998 Raphael Manfredi <Raphael_Manfredi@grenoble.hp.com>
177 Added workaround for persistent LVALUE-ness in perl5.004. All
178 scalars tagged as being an lvalue are handled as if they were
179 not an lvalue at all. Added test for that LVALUE bug workaround.
181 Now handles Perl immortal scalars explicitely, by storing &sv_yes
182 as such, explicitely.
184 Retrieval of non-immortal undef cannot be shared. Previous
185 version was over-optimizing by not creating a separate SV for
186 all undefined scalars seen.
188 Thu Jun 4 17:21:51 METDST 1998 Raphael Manfredi <Raphael_Manfredi@grenoble.hp.com>
192 Baseline for Storable-0.6@0.
194 This version introduces a binary incompatibility in the generated
195 binary image, which is more compact than older ones by approximatively
196 15%, depending on the exact degree of sharing in your structures.
198 The good news is that your older images can still be retrieved with
199 this version, i.e. backward compatibility is preserved. This version
200 of Storable can only generate new binaries however.
202 Another good news is that the retrieval of data structure is
203 significantly quicker than before, because a Perl array is used
204 instead of a hash table to keep track of retrieved objects, and
205 also because the image being smaller, less I/O function calls are
208 Tue May 12 09:15:15 METDST 1998 Raphael Manfredi <Raphael_Manfredi@grenoble.hp.com>
212 Version number now got from Storable.pm directly.
214 Fixed overzealous sv_type() optimization, which would make
215 Storable fail when faced with an "upgraded" SV to the PVIV
216 or PVNV kind containing a reference.
218 Thu Apr 30 15:11:30 METDST 1998 Raphael Manfredi <Raphael_Manfredi@grenoble.hp.com>
222 Extended the SYNOPSIS section to give quick overview of the
223 routines and their signature.
225 Optimized sv_type() to avoid flags checking when not needed, i.e.
226 when their type makes it impossible for them to be refs or tied.
227 This slightly increases throughput by a few percents when refs
228 and tied variables are marginal occurrences in your data.
230 Stubs for XS now use OutputStream and InputStream file types to
231 make it work when the given file is actually a socket. Perl
232 makes a distinction for sockets in its internal I/O structures
233 by having both a read and a write structure, whereas plain files
236 Tue Jun 3 09:41:33 METDST 1997 Raphael Manfredi <Raphael_Manfredi@grenoble.hp.com>
240 Thanks to a contribution from Benjamin A. Holzman, Storable is now
241 able to correctly serialize tied SVs, i.e. tied arrays, hashes
244 Thu Apr 9 18:07:51 METDST 1998 Raphael Manfredi <Raphael_Manfredi@grenoble.hp.com>
248 I said SvPOK() had changed to SvPOKp(), but that was a lie...
250 Wed Apr 8 13:14:29 METDST 1998 Raphael Manfredi <Raphael_Manfredi@grenoble.hp.com>
254 Wrote sizeof(SV *) instead of sizeof(I32) when portable, which
255 in effect mangled the object tags and prevented portability
256 accross 32/64 bit architectures!
258 Wed Mar 25 14:57:02 MET 1998 Raphael Manfredi <Raphael_Manfredi@grenoble.hp.com>
262 Added code example for store_fd() and retrieve_fd() in the
263 man page, to emphasize that file descriptors must be passed as
264 globs, not as plain strings.
266 Cannot use SV addresses as tag when using nstore() on LP64. This
267 was the cause of problems when creating a storable image on an
268 LP64 machine and retrieving it on an ILP32 system, which is
269 exactly what nstore() is meant for...
271 However, we continue to use SV addresses as tags for plain store(),
272 because benchamarking shows that it saves up to 8% of the store
273 time, and store() is meant to be fast at the expense of lack
276 This means there will be approximately an 8% degradation of
277 performance for nstore(), but it's now working as expected.
278 That cost may vary on your machine of course, since it is
279 solely caused by the memory allocation overhead used to create
280 unique SV tags for each distinct stored SV.
282 Tue Jan 20 09:21:53 MET 1998 Raphael Manfredi <Raphael_Manfredi@grenoble.hp.com>
286 Don't use any '_' in version number.
288 Tue Jan 13 17:51:50 MET 1998 Raphael Manfredi <Raphael_Manfredi@grenoble.hp.com>
292 Updated version number.
294 added binmode() calls for systems where it matters.
296 Be sure to pass globs, not plain file strings, to C routines,
297 so that Storable can be used under the Perl debugger.
299 Wed Nov 5 10:53:22 MET 1997 Raphael Manfredi <Raphael_Manfredi@grenoble.hp.com>
303 Fix memory leaks on seen hash table and returned SV refs.
305 Storable did not work properly when tainting enabled.
307 Fixed "Allocation too large" messages in freeze/thaw and added.
308 proper regression test in t/freeze.t.
310 Tue Jun 3 09:41:33 METDST 1997 Raphael Manfredi <Raphael_Manfredi@grenoble.hp.com>
314 Updated version number
316 Added freeze/thaw interface and dclone.
318 Fri May 16 10:45:47 METDST 1997 Raphael Manfredi <Raphael_Manfredi@grenoble.hp.com>
322 Forgot that AutoLoader does not export its own AUTOLOAD.
325 use AutoLoader 'AUTOLOAD';
327 but that would not be backward compatible. So the export is
330 Tue Mar 25 11:21:32 MET 1997 Raphael Manfredi <Raphael_Manfredi@grenoble.hp.com>
334 Empty scalar strings are now "defined" at retrieval time.
336 New test to ensure an empty string is defined when retrieved.
338 Thu Feb 27 16:32:44 MET 1997 Raphael Manfredi <Raphael_Manfredi@grenoble.hp.com>
342 Updated version number
344 Declare VERSION as being used
346 Fixed a typo in the PerlIO_putc remapping.
347 PerlIO_read and perlIO_write inverted size/nb_items.
348 (only relevant for pre-perl5.004 versions)
350 Thu Feb 27 15:58:31 MET 1997 Raphael Manfredi <Raphael_Manfredi@grenoble.hp.com>
354 Updated version number
356 Added VERSION identification
358 Allow build with perl5.003, which is ante perlIO time
360 Mon Jan 13 17:53:18 MET 1997 Raphael Manfredi <Raphael_Manfredi@grenoble.hp.com>
366 Wed Jan 22 15:19:56 MET 1997 Raphael Manfredi <Raphael_Manfredi@grenoble.hp.com>
370 Updated version number in Makefile.PL.
372 Added "thanks to" section to README.
374 Documented new forgive_me variable.
378 Added forgive_me support to allow store() of data structures
379 containing non-storable items like CODE refs.