Commit | Line | Data |
dd19458b |
1 | Fri Sep 29 21:52:29 MEST 2000 Raphael Manfredi <Raphael_Manfredi@pobox.com> |
2 | |
3 | . Description: |
4 | |
5 | Version 1.0.3. |
6 | |
7 | Avoid using "tainted" and "dirty" since Perl remaps them via |
8 | cpp (i.e. #define). This is deeply harmful when threading |
9 | is enabled. This concerned both the context structure and |
10 | local variable and argument names. Brrr..., scary! |
11 | |
12 | Thu Sep 28 23:46:39 MEST 2000 Raphael Manfredi <Raphael_Manfredi@pobox.com> |
13 | |
14 | . Description: |
15 | |
16 | Version 1.0.2. |
17 | |
18 | Fixed spelling in README. |
19 | |
20 | Added lock_store, lock_nstore, and lock_retrieve (advisory locking) |
21 | after a proposal from Erik Haugan <erik@solbors.no>. |
22 | |
23 | Perls before 5.004_04 lack newSVpvn, added remapping in XS. |
24 | |
25 | Fixed stupid typo in the t/utf8.t test. |
26 | |
27 | Sun Sep 17 18:51:10 MEST 2000 Raphael Manfredi <Raphael_Manfredi@pobox.com> |
28 | |
29 | . Description: |
30 | |
31 | Version 1.0.1, binary format 2.3. |
32 | |
33 | Documented that doubles are stored stringified by nstore(). |
34 | |
35 | Added Salvador Ortiz Garcia in CREDITS section, He identified |
36 | a bug in the store hooks and proposed the right fix: the class |
37 | id was allocated too soon. His bug case was also added to |
38 | the regression test suite. |
39 | |
40 | Now only taint retrieved data when source was tainted. A bug |
41 | discovered by Marc Lehmann. |
42 | |
43 | Added support for UTF-8 strings, a contribution of Marc Lehmann. |
44 | This is normally only activated in post-5.6 perls. |
45 | |
9e21b3d0 |
46 | Thu Aug 31 23:06:06 MEST 2000 Raphael Manfredi <Raphael_Manfredi@pobox.com> |
47 | |
48 | First official release Storable 1.0, for inclusion in perl 5.7.0. |
49 | The license scheme is now compatible with Perl's. |
50 | |
f0ffaed8 |
51 | Thu Aug 24 01:02:02 MEST 2000 Raphael Manfredi <Raphael_Manfredi@pobox.com> |
52 | |
53 | . Description: |
54 | |
55 | |
56 | ANSI-fied most of the code, preparing for Perl core integration. |
57 | The next version of Storable will be 0.8, and will be integrated |
58 | into the Perl core (development branch). |
59 | |
60 | Dispatch tables were moved upfront to relieve some compilers, |
61 | especially on AIX and Windows platforms. |
62 | |
63 | Merged 64-bit fixes from perl5-porters. |
64 | |
7a6a85bf |
65 | Mon Aug 14 09:22:04 MEST 2000 Raphael Manfredi <Raphael_Manfredi@pobox.com> |
66 | |
67 | . Description: |
68 | |
69 | Added a refcnt dec in retrieve_tied_key(): sv_magic() increases |
70 | the refcnt on the mg_ptr as well. |
71 | |
72 | Removed spurious dependency to Devel::Peek, which was used for |
73 | testing only in t/tied_items.t. Thanks to Conrad Heiney |
74 | <conrad@fringehead.org> for spotting it first. |
75 | |
76 | Sun Aug 13 22:12:59 MEST 2000 Raphael Manfredi <Raphael_Manfredi@pobox.com> |
77 | |
78 | . Description: |
79 | |
80 | Marc Lehmann kindly contributed code to add overloading support |
81 | and to handle references to tied variables. |
82 | |
83 | Rewrote leading blurb about compatibility to make it clearer what |
84 | "backward compatibility" is about: when I say 0.7 is backward |
85 | compatible with 0.6, it means the revision 0.7 can read files |
86 | produced by 0.6. |
87 | |
88 | Mention new Clone(3) extension in SEE ALSO. |
89 | |
90 | Was wrongly optimizing for "undef" values in hashes by not |
91 | fully recursing: as a result, tied "undef" values were incorrectly |
92 | serialized. |
93 | |
94 | Sun Jul 30 12:59:17 MEST 2000 Raphael Manfredi <Raphael_Manfredi@pobox.com> |
95 | |
96 | First revision of Storable 0.7. |
97 | |
98 | The serializing format is new, known as version 2.0. It is fully |
99 | backward compatible with 0.6. Earlier formats are deprecated and |
100 | have not even been tested: next version will drop pre-0.6 format. |
101 | |
102 | Changes since 0.6@11: |
103 | |
104 | - Moved interface to the "beta" status. Some tiny parts are still |
105 | subject to change, but nothing important enough to warrant an "alpha" |
106 | status any longer. |
107 | |
108 | - Slightly reduced the size of the Storable image by factorizing |
109 | object class names and removing final object storage notification due |
110 | to a redesign of the blessed object storing. |
111 | |
112 | - Classes can now redefine how they wish their instances to be serialized |
113 | and/or deep cloned. Serializing hooks are written in Perl code. |
114 | |
115 | - The engine is now fully re-entrant. |
116 | |
117 | Sun Apr 2 23:47:50 MEST 2000 Raphael Manfredi <Raphael_Manfredi@pobox.com> |
118 | |
119 | . Description: |
120 | |
121 | Added provision to detect more recent binary formats, since |
122 | the new upcoming Storable-0.7 will use a different format. |
123 | In order to prevent attempting the de-serialization of newer |
124 | formats by older versions, I'm adding this now to the 0.6 series. |
125 | |
126 | I'm expecting this revision to be the last of the 0.6 series. |
127 | Unless it does not work with perl 5.6, which I don't use yet, |
128 | and therefore against which I cannot test. |
129 | |
130 | Wed Mar 29 19:55:21 MEST 2000 Raphael Manfredi <Raphael_Manfredi@pobox.com> |
131 | |
132 | . Description: |
133 | |
134 | Added note about format incompatibilities with old versions |
135 | (i.e. pre 0.5@9 formats, which cannot be understood as there |
136 | was no versionning information in the file by then). |
137 | |
138 | Protect all $@ variables when eval {} used, to avoid corrupting |
139 | it when store/retrieve is called within an exception handler. |
140 | |
141 | Mistakenly included "patchlevel.h" instead of <patchlevel.h>, |
142 | preventing Perl's patchlevel from being included, which is |
143 | needed starting from 5.6. |
144 | |
145 | Tue May 12 09:15:15 METDST 1998 Raphael Manfredi <Raphael_Manfredi@grenoble.hp.com> |
146 | |
147 | . Description: |
148 | |
149 | Fixed shared "undef" bug in hashes, which did not remain shared |
150 | through store/retrieve. |
151 | |
152 | Thu Feb 10 19:48:16 MET 2000 Raphael Manfredi <Raphael_Manfredi@pobox.com> |
153 | |
154 | . Description: |
155 | |
156 | added last_op_in_netorder() predicate |
157 | documented last_op_in_netorder() |
158 | added tests for the new last_op_in_netorder() predicate |
159 | |
160 | Wed Oct 20 19:07:36 MEST 1999 Raphael Manfredi <Raphael_Manfredi@pobox.com> |
161 | |
162 | . Description: |
163 | |
164 | Forgot to update VERSION |
165 | |
166 | Tue Oct 19 21:25:02 MEST 1999 Raphael Manfredi <Raphael_Manfredi@pobox.com> |
167 | |
168 | . Description: |
169 | |
170 | Added mention of japanese translation for the manual page. |
171 | |
172 | Fixed typo in macro that made threaded code not compilable, |
173 | especially on Win32 platforms. |
174 | |
175 | Changed detection of older perls (pre-5.005) by testing PATCHLEVEL |
176 | directly instead of relying on internal symbols. |
177 | |
178 | Tue Sep 14 22:13:28 MEST 1999 Raphael Manfredi <Raphael_Manfredi@pobox.com> |
179 | |
180 | . Description: |
181 | |
182 | Integrated "thread-safe" patch from Murray Nesbitt. |
183 | Note that this may not be very efficient for threaded code, |
184 | see comment in the code. |
185 | |
186 | Try to avoid compilation warning on 64-bit CPUs. Can't test it, |
187 | since I don't have access to such machines. |
188 | |
189 | Mon Jul 12 14:37:19 METDST 1999 Raphael Manfredi <Raphael_Manfredi@pobox.com> |
190 | |
191 | . Description: |
192 | |
193 | changed my e-mail to pobox. |
194 | |
195 | mentionned it is not thread-safe. |
196 | |
197 | updated version number. |
198 | |
199 | uses new internal PL_* naming convention. |
200 | |
201 | Fri Jul 3 13:38:16 METDST 1998 Raphael Manfredi <Raphael_Manfredi@grenoble.hp.com> |
202 | |
203 | . Description: |
204 | |
205 | Updated benchmark figures due to recent optimizations done in |
206 | store(): tagnums are now stored as-is in the hash table, so |
207 | no surrounding SV is created. And the "shared keys" mode for |
208 | hash table was turned off. |
209 | |
210 | Fixed backward compatibility (wrt 0.5@9) for retrieval of |
211 | blessed refs. That old version did something wrong, but the |
212 | bugfix prevented correct retrieval of the old format. |
213 | |
214 | Mon Jun 22 11:00:48 METDST 1998 Raphael Manfredi <Raphael_Manfredi@grenoble.hp.com> |
215 | |
216 | . Description: |
217 | |
218 | Changed benchmark figures. |
219 | |
220 | Adjust refcnt of tied objects after calling sv_magic() to avoid |
221 | memory leaks. Contributed by Jeff Gresham. |
222 | |
223 | Fri Jun 12 11:50:04 METDST 1998 Raphael Manfredi <Raphael_Manfredi@grenoble.hp.com> |
224 | |
225 | . Description: |
226 | |
227 | Added workaround for persistent LVALUE-ness in perl5.004. All |
228 | scalars tagged as being an lvalue are handled as if they were |
229 | not an lvalue at all. Added test for that LVALUE bug workaround. |
230 | |
231 | Now handles Perl immortal scalars explicitely, by storing &sv_yes |
232 | as such, explicitely. |
233 | |
234 | Retrieval of non-immortal undef cannot be shared. Previous |
235 | version was over-optimizing by not creating a separate SV for |
236 | all undefined scalars seen. |
237 | |
238 | Thu Jun 4 17:21:51 METDST 1998 Raphael Manfredi <Raphael_Manfredi@grenoble.hp.com> |
239 | |
240 | . Description: |
241 | |
242 | Baseline for Storable-0.6@0. |
243 | |
244 | This version introduces a binary incompatibility in the generated |
245 | binary image, which is more compact than older ones by approximatively |
246 | 15%, depending on the exact degree of sharing in your structures. |
247 | |
248 | The good news is that your older images can still be retrieved with |
249 | this version, i.e. backward compatibility is preserved. This version |
250 | of Storable can only generate new binaries however. |
251 | |
252 | Another good news is that the retrieval of data structure is |
253 | significantly quicker than before, because a Perl array is used |
254 | instead of a hash table to keep track of retrieved objects, and |
255 | also because the image being smaller, less I/O function calls are |
256 | made. |
257 | |
258 | Tue May 12 09:15:15 METDST 1998 Raphael Manfredi <Raphael_Manfredi@grenoble.hp.com> |
259 | |
260 | . Description: |
261 | |
262 | Version number now got from Storable.pm directly. |
263 | |
264 | Fixed overzealous sv_type() optimization, which would make |
265 | Storable fail when faced with an "upgraded" SV to the PVIV |
266 | or PVNV kind containing a reference. |
267 | |
268 | Thu Apr 30 15:11:30 METDST 1998 Raphael Manfredi <Raphael_Manfredi@grenoble.hp.com> |
269 | |
270 | . Description: |
271 | |
272 | Extended the SYNOPSIS section to give quick overview of the |
273 | routines and their signature. |
274 | |
275 | Optimized sv_type() to avoid flags checking when not needed, i.e. |
276 | when their type makes it impossible for them to be refs or tied. |
277 | This slightly increases throughput by a few percents when refs |
278 | and tied variables are marginal occurrences in your data. |
279 | |
280 | Stubs for XS now use OutputStream and InputStream file types to |
281 | make it work when the given file is actually a socket. Perl |
282 | makes a distinction for sockets in its internal I/O structures |
283 | by having both a read and a write structure, whereas plain files |
284 | share the same one. |
285 | |
286 | Tue Jun 3 09:41:33 METDST 1997 Raphael Manfredi <Raphael_Manfredi@grenoble.hp.com> |
287 | |
288 | . Description: |
289 | |
290 | Thanks to a contribution from Benjamin A. Holzman, Storable is now |
291 | able to correctly serialize tied SVs, i.e. tied arrays, hashes |
292 | and scalars. |
293 | |
294 | Thu Apr 9 18:07:51 METDST 1998 Raphael Manfredi <Raphael_Manfredi@grenoble.hp.com> |
295 | |
296 | . Description: |
297 | |
298 | I said SvPOK() had changed to SvPOKp(), but that was a lie... |
299 | |
300 | Wed Apr 8 13:14:29 METDST 1998 Raphael Manfredi <Raphael_Manfredi@grenoble.hp.com> |
301 | |
302 | . Description: |
303 | |
304 | Wrote sizeof(SV *) instead of sizeof(I32) when portable, which |
305 | in effect mangled the object tags and prevented portability |
306 | accross 32/64 bit architectures! |
307 | |
308 | Wed Mar 25 14:57:02 MET 1998 Raphael Manfredi <Raphael_Manfredi@grenoble.hp.com> |
309 | |
310 | . Description: |
311 | |
312 | Added code example for store_fd() and retrieve_fd() in the |
313 | man page, to emphasize that file descriptors must be passed as |
314 | globs, not as plain strings. |
315 | |
316 | Cannot use SV addresses as tag when using nstore() on LP64. This |
317 | was the cause of problems when creating a storable image on an |
318 | LP64 machine and retrieving it on an ILP32 system, which is |
319 | exactly what nstore() is meant for... |
320 | |
321 | However, we continue to use SV addresses as tags for plain store(), |
322 | because benchamarking shows that it saves up to 8% of the store |
323 | time, and store() is meant to be fast at the expense of lack |
324 | of portability. |
325 | |
326 | This means there will be approximately an 8% degradation of |
327 | performance for nstore(), but it's now working as expected. |
328 | That cost may vary on your machine of course, since it is |
329 | solely caused by the memory allocation overhead used to create |
330 | unique SV tags for each distinct stored SV. |
331 | |
332 | Tue Jan 20 09:21:53 MET 1998 Raphael Manfredi <Raphael_Manfredi@grenoble.hp.com> |
333 | |
334 | . Description: |
335 | |
336 | Don't use any '_' in version number. |
337 | |
338 | Tue Jan 13 17:51:50 MET 1998 Raphael Manfredi <Raphael_Manfredi@grenoble.hp.com> |
339 | |
340 | . Description: |
341 | |
342 | Updated version number. |
343 | |
344 | added binmode() calls for systems where it matters. |
345 | |
346 | Be sure to pass globs, not plain file strings, to C routines, |
347 | so that Storable can be used under the Perl debugger. |
348 | |
349 | Wed Nov 5 10:53:22 MET 1997 Raphael Manfredi <Raphael_Manfredi@grenoble.hp.com> |
350 | |
351 | . Description: |
352 | |
353 | Fix memory leaks on seen hash table and returned SV refs. |
354 | |
355 | Storable did not work properly when tainting enabled. |
356 | |
357 | Fixed "Allocation too large" messages in freeze/thaw and added. |
358 | proper regression test in t/freeze.t. |
359 | |
360 | Tue Jun 3 09:41:33 METDST 1997 Raphael Manfredi <Raphael_Manfredi@grenoble.hp.com> |
361 | |
362 | . Description: |
363 | |
364 | Updated version number |
365 | |
366 | Added freeze/thaw interface and dclone. |
367 | |
368 | Fri May 16 10:45:47 METDST 1997 Raphael Manfredi <Raphael_Manfredi@grenoble.hp.com> |
369 | |
370 | . Description: |
371 | |
372 | Forgot that AutoLoader does not export its own AUTOLOAD. |
373 | I could use |
374 | |
375 | use AutoLoader 'AUTOLOAD'; |
376 | |
377 | but that would not be backward compatible. So the export is |
378 | done by hand... |
379 | |
380 | Tue Mar 25 11:21:32 MET 1997 Raphael Manfredi <Raphael_Manfredi@grenoble.hp.com> |
381 | |
382 | . Description: |
383 | |
384 | Empty scalar strings are now "defined" at retrieval time. |
385 | |
386 | New test to ensure an empty string is defined when retrieved. |
387 | |
388 | Thu Feb 27 16:32:44 MET 1997 Raphael Manfredi <Raphael_Manfredi@grenoble.hp.com> |
389 | |
390 | . Description: |
391 | |
392 | Updated version number |
393 | |
394 | Declare VERSION as being used |
395 | |
396 | Fixed a typo in the PerlIO_putc remapping. |
397 | PerlIO_read and perlIO_write inverted size/nb_items. |
398 | (only relevant for pre-perl5.004 versions) |
399 | |
400 | Thu Feb 27 15:58:31 MET 1997 Raphael Manfredi <Raphael_Manfredi@grenoble.hp.com> |
401 | |
402 | . Description: |
403 | |
404 | Updated version number |
405 | |
406 | Added VERSION identification |
407 | |
408 | Allow build with perl5.003, which is ante perlIO time |
409 | |
410 | Mon Jan 13 17:53:18 MET 1997 Raphael Manfredi <Raphael_Manfredi@grenoble.hp.com> |
411 | |
412 | . Description: |
413 | |
414 | Random code fixes. |
415 | |
416 | Wed Jan 22 15:19:56 MET 1997 Raphael Manfredi <Raphael_Manfredi@grenoble.hp.com> |
417 | |
418 | . Description: |
419 | |
420 | Updated version number in Makefile.PL. |
421 | |
422 | Added "thanks to" section to README. |
423 | |
424 | Documented new forgive_me variable. |
425 | |
426 | Made 64-bit clean. |
427 | |
428 | Added forgive_me support to allow store() of data structures |
429 | containing non-storable items like CODE refs. |
430 | |