]> git.vpit.fr Git - perl/modules/Variable-Magic.git/blob - Changes
Importing Variable-Magic-0.11.tar.gz
[perl/modules/Variable-Magic.git] / Changes
1 Revision history for Variable-Magic
2
3 0.11    2008-02-07 17:55 UTC
4         + Add : Copy callbacks now receive the current key/index in $_[2].
5                 The current value/element is now in $_[3].
6         + Chg : The trigger of copy magic on list assignment with perls greater
7                 than 5.10.0 was caused by uvar magic. Hence,
8                 VMG_COMPAT_HASH_LISTASSIGN_COPY was removed. Use VMG_UVAR
9                 instead.
10         + Fix : Build failures on patched perls.
11         + Tst : Added missing exported symbols to 01-import.t.
12
13 0.10    2008-02-04 11:30 UTC
14         + Add : New script : samples/vm_vs_tie.pl, that benchmarks our uvar
15                 magic versus tied hashes.
16         + Add : The VMG_COMPAT_* constants can be used from userspace to check
17                 perl magic abilities.
18         + Fix : Callbacks that returned undef made us croak, breaking the
19                 variable behaviour (regression test in 14-callbacks.t).
20         + Fix : uvar callbacks weren't tested for non-NULL-ity before being
21                 called (regression test in 28-uvar.t).
22         + Tst : Fix typo in 25-copy.t that prevented Tie::Hash tests to be ran.
23
24 0.09    2008-02-02 11:30 UTC
25         + Doc : Explicitely say that uvar callbacks are safely ignored for
26                 non-hashes.
27         + Doc : Document caveats and fix the usual set of typos.
28         + Fix : vmg_dispell() didn't check if the ext magic were ours when
29                 counting wizards that have uvar callbacks, resulting in a
30                 possible memory misread.
31         + Fix : getdata() now returns directly the data object, and no longer a
32                 copy. This caused a leak.
33         + Tst : Prefix author tests by 9*-.
34         + Tst : New optional author test : 95-portability-files.t, that uses
35                 Test::Portability::Files when it's present.
36         + Tst : New test : 14-self.t, that tests application of magic on the
37                 wizard itself.
38         + Tst : Move Hash::Util::FieldHash tests out of 11-multiple.t to
39                 15-huf.t.
40
41 0.08    2008-02-01 16:55 UTC
42         + Add : copy magic for tied arrays/hashes.
43         + Add : local magic.
44         + Add : uvar magics : fetch, store, exists, delete for hashes.
45
46 0.07_*  2008-01
47         Internal development versions.
48
49 0.06    2007-11-20 10:10 UTC
50         + Chg : 5.7.3 is now officially required.
51         + Fix : "data" test failures on 5.8.{0,2}.
52         + Fix : Drand01() vs rand().
53
54 0.05    2007-11-19 09:10 UTC
55         + Fix : 5.10.0_RC1 compatibility fix.
56
57 0.04    2007-08-28 12:25 UTC
58         + Chg : s/require (XSLoader)/use $1/.
59         + Fix : Tests are now strict.
60         + Fix : Complete dependencies.
61
62 0.03    2007-08-01 17:20 UTC
63         + Add : Passing the signature of an already defined magic to wizard()
64                 now returns the corresponding magic object.
65         + Add : You can pass the numeric signature as the wizard argument of
66                 cast(), dispell() and getdata().
67         + Add : Any argument specified after the wizard (or the signature) in a
68                 call to cast() is now passed to the private data constructor in
69                 $_[1] and after.
70         + Chg : $_[0] is now always a reference to the magic variable in all
71                 callbacks. The reason for changing from the previous behaviour
72                 is that one may want to apply the same magic to a plain scalar
73                 and to a scalar reference, and needs a way to distinguish
74                 between them in the callback (say, ref()).
75         + Fix : Wizard object destruction used not to free the signature.
76
77 0.02    2007-07-27 13:50 UTC
78         + Fix : In response to test report 548152 :
79                 Newx() and SvMAGIC_set() not present on older perls.
80         + Fix : In response to test report 548275 :
81                 Since perl 5.9.5, 'clear' magic is invoked when an array is
82                 undefined (bug #43357). Moreover, 'len' magic is no longer
83                 called by pushing an element since perl 5.9.3.
84         + Fix : Missing glob test in MANIFEST.
85
86 0.01    2007-07-25 16:15 UTC
87         First version, released on an unsuspecting world.
88