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