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