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