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