]> git.vpit.fr Git - perl/modules/Scope-Upper.git/blob - Changes
This is 0.15
[perl/modules/Scope-Upper.git] / Changes
1 Revision history for Scope-Upper
2
3 0.15    2011-08-24 14:20 UTC
4         + Fix : Localizing subroutines in an higher scope will now correctly
5                 update the method cache.
6
7 0.14    2011-02-27 00:00 UTC
8         + Fix : [RT #64997] : Compatibility with perl 5.13.10.
9                 Thanks Dave Mitchell for the notice.
10         + Tst : Lengthy tests have been ported to Test::Leaner, making the
11                 whole test suite about 50% faster.
12
13 0.13    2010-12-20 01:00 UTC
14         + Fix : [RT #61904] : Stack corruption when using unwind() under
15                 Devel::NYTProf.
16                 Thanks Sergey Aleynikov for contributing a fix.
17         + Fix : [RT #63378] : Compatibility with perl 5.13.8.
18                 Thanks Andreas J. König for bisecting the issue.
19         + Tst : Threads tests are now only run on perl 5.13.4 and higher.
20                 They could segfault randomly because of what seems to be an
21                 internal bug of Perl, which has been addressed in 5.13.4.
22                 There is also an environment variable that allows you to
23                 forcefully run those tests, but it should be set only for
24                 author testing and not for end users.
25
26 0.12    2010-05-19 00:45 UTC
27         + Fix : Compatibility with perl 5.13.
28         + Fix : Test failures with perl 5.8.0.
29         + Fix : A minor leak of SVs when a non array/hash was passed to
30                 localize_elem().
31
32 0.11    2010-04-16 23:20 UTC
33         + Chg : It's now forbiddent to pass a reference to a non-glob variable
34                 as the localization target of localize(), localize_elem() and
35                 localize_delete().
36         + Chg : localize_elem() now only accepts localization of arrays or hashs
37                 elements. For other types, it used to be a synonym of localize.
38         + Chg : localize_elem() no longer accepts a glob as the target. You now
39                 have to specify the variable as a string. This is because it was
40                 impossible in this case to handle meaningfully the array or the
41                 hash reference passed as the assigned value.
42         + Doc : The synopsys was revamped, and the rest of the documentation was
43                 reviewed.
44         + Fix : [RT #55593] : Segfault when localizing hash or array element to
45                 different package in different file.
46                 Thanks Dagfinn Ilmari Mannsåker for reporting.
47         + Fix : [RT #56301] : reap loses eval context when dying naturally.
48                 Thanks Andrew Main for reporting.
49         + Fix : Scope inconsistencies and segfaults when saving several
50                 localizations into the same target scope.
51         + Fix : Stop skipping frames as a pop optimization. This caused breakage
52                 under the debugger (and most likely outside as well).
53
54 0.10    2010-01-18 23:50 UTC
55         + Fix : Properly handle given/when on 5.10.
56         + Fix : Some stack inconsistencies were fixed, though they were unlikely
57                 to have an impact on your real-life code.
58         + Fix : Work around Kwalitee test misfailures.
59
60 0.09    2009-05-17 20:20 UTC
61         + Add : The new SU_THREADSAFE constant can be used to know whether the
62                 module could have been built with thread safety enabled.
63         + Chg : Thread safety is disabled for perl 5.8 on Win32.
64         + Chg : A saner workaround for the "call_sv() during LEAVE clobbers the
65                 still used last popped stack element" issue on 5.10.
66
67 0.08    2009-04-16 22:50 UTC
68         + Fix : [RT #44204] : Stack corruption with reap(). Thanks Torsten
69                 Foertsch for reporting.
70         + Fix : Building with Solaris CC.
71         + Tst : unwind() in threads.
72
73 0.07    2009-02-20 00:20 UTC
74         + Chg : The CLONE method will no longer be defined for non-threaded
75                 perls.
76         + Doc : Some examples on how to build the target context from the words.
77         + Fix : Some unlikely possible uninitialized reads, indirectly pointed
78                 out in a Redhat review request.
79         + Fix : "localize *x, 'y' => $cxt" now matches Perl's behaviour for
80                 "local *x = 'y'".
81         + Fix : Miscellanous code cleanups, courtesy of Florian Ragwitz.
82         + Upd : Resources in META.yml.
83
84 0.06    2009-01-17 00:05 UTC
85         + Chg : INCOMPATIBLE CHANGE: The level is now absolute and no longer
86                 relative to the current frame - we'll call it "context" from now
87                 on. You should replace all your raw levels by combinations of
88                 words.
89                 The old behaviour of "=> $n" can be easily reobtained by using
90                 "=> SCOPE($n)".
91         + Fix : As a result of this change, the module now plays nicely with
92                 the debugger.
93
94 0.05    2009-01-12 18:15 UTC
95         + Fix : Stack mess when using unwind() in scalar context.
96         + Fix : Returning an automatic variable isn't wise, so let's use a
97                 context instead.
98         + Doc : Clarifications.
99         + Tst : Stress tests for unwind().
100
101 0.04    2009-01-11 18:40 UTC
102         + Add : unwind(@things, $level), that returns to an upper context.
103         + Add : want_at($level), that gives the wantarray for $level.
104         + Add : Control words, to reliably get the level of the n-th upper
105                 subroutine or eval scope. TOPLEVEL was renamed to TOP.
106         + Fix : Tests with 5.6.
107         + Tst : Reordering and factoring some of the stress tests so that they
108                 aren't needlessly ran several times.
109
110 0.03    2009-01-04 15:55 UTC
111         + Add : localize_delete(), that localize array/hash elements in upper
112                 scopes.
113         + Fix : Segfault when localizing array elements with an invalid negative
114                 index.
115
116 0.02    2008-12-28 18:40 UTC
117         + Doc : Clarifications and improvements.
118         + Fix : Missing compatibility macros.
119         + Fix : Localized nonexistant array elements should be deleted when
120                 their time comes so that the array recovers its original length.
121
122 0.01    2008-12-26 16:05 UTC
123         First version, released on an unsuspecting world.
124