]> git.vpit.fr Git - perl/modules/indirect.git/blob - Changes
This is 0.21
[perl/modules/indirect.git] / Changes
1 Revision history for indirect
2
3 0.21    2010-05-31 23:10 UTC
4         + Chg : perl 5.8.1 is now required (instead of 5.8.0).
5         + Fix : [RT #57699] : indirect fail with 64-bit int on 5.13.1.
6                 It was actually a problem with thread destructors segfaulting
7                 because they weren't called at the right time anymore.
8                 Thanks Andrew Main for reporting.
9         + Tst : A few more regression tests about the scope leak bug.
10
11 0.20    2010-04-18 21:25 UTC
12         + Fix : [RT #50570] : "indirect" leaking into LWP.
13                 Thanks Andrew Main for reporting.
14                 More generally, the require propagation workaround on 5.8-5.10.0
15                 has been overhauled, and other scope leaks should be fixed.
16         + Fix : Test failures with 5.12 on Windows where Strawberry Perl crashes
17                 because the SystemRoot environment variable is missing.
18         + Fix : Work around Kwalitee test misfailures.
19
20 0.19    2009-08-28 18:40 UTC
21         + Add : The new constant I_FORKSAFE can be tested to know whether the
22                 module will behave nicely when fork()ing. It's currently always
23                 true except on Windows where you need perl 5.10.1 for it to be
24                 true.
25         + Fix : I_THREADSAFE and I_FORKSAFE ought to be true when
26                 PERL_INDIRECT_PM_DISABLE is set.
27         + Fix : The pragma could still leak if you passed to the "hook" option
28                 a reference to the same (named) subroutine from two different
29                 require scopes. The fix also provides a better solution for
30                 RT #47902.
31         + Fix : Segfaults when indirect is loaded for the first time from
32                 inside a thread.
33         + Fix : Leaks of memory associated with the root interpreter.
34         + Opt : Less memory will be used for non-threaded perls version 5.10.0
35                 and below, and for threaded perls from version 5.10.1.
36
37 0.18    2009-08-23 16:15 UTC
38         + Add : When set, the PERL_INDIRECT_PM_DISABLE environment variable
39                 disables the pragma globally.
40
41 0.17    2009-07-16 12:10 UTC
42         + Fix : [RT #47902] : "no indirect" leaking again.
43                 This actually turned out to be a bug in how the hook coderefs
44                 were stored in the hints hash.
45                 Thanks Andrew Main for reporting once again.
46         + Fix : t/80-regressions.t failing on Windows.
47         + Tst : Yet more cleanups.
48
49 0.16    2009-07-14 16:50 UTC
50         + Add : Indirect calls on blocks are now reported. For those, '{' is
51                 passed to the hook as the object description.
52         + Add : The new indirect::msg() function publicizes the default
53                 warning/exception message.
54         + Fix : [RT #47866] : Segfault with UTF-8 regexps.
55                 Thanks Andrew Main for reporting.
56         + Tst : Cleanups.
57
58 0.15    2009-07-08 22:55 UTC
59         + Fix : Invalid constructs with the same method and package name were
60                 not reported.
61         + Fix : The error line number used to point to the end of the expression
62                 instead of its beginning.
63
64 0.14    2009-06-04 21:55 UTC
65         + Fix : Prevent bogus invalid syntaxes caused by reallocated memory
66                 chunks. Thanks Andrew Main for reporting with a reproducible
67                 test case.
68
69 0.13    2009-05-24 18:50 UTC
70         + Add : The hook now receives the file name and the line where the
71                 error happened in respectively $_[2] and $_[3].
72         + Fix : Pass mortalized copies of the method name and object to the
73                 hook. This seems to fix some rare crashes.
74         + Fix : Work around a bug in perl 5.10.0 and lower. Thanks Andrew Main
75                 for teaching me about this issue.
76         + Fix : Report the correct file in error messages (a regression from the
77                 previous version).
78
79 0.12    2009-05-03 14:30 UTC
80         + Add : You can specify the action to execute for each indirect
81                 construct encountered with the new "hook => $coderef" unimport()
82                 option.
83         + Chg : A ptable is now used internally for the op => position mapping.
84         + Fix : The pragma is now built with thread safety features enabled
85                 whenever possible (a notable exception is perl 5.8.x on Win32,
86                 as something seems wrong with its context handling).
87                 The new indirect::I_THREADSAFE() constant reflects this.
88         + Fix : A negation precedence nit in indirect_ck_entersub().
89         + Tst : "use/no indirect" while parsing an indirect construct.
90         + Tst : Thread safety.
91
92 0.11    2009-02-08 18:35 UTC
93         + Fix : Potential collisions by hashing pointers with a wrong format.
94         + Upd : Resources in META.yml.
95
96 0.10    2009-01-17 12:40 UTC
97         Re-release 0.09_01 as stable.
98
99 0.09_01 2008-12-08 17:55 UTC
100         + Fix : Invalid memory read with "${\(new Foo)}" constructs. The
101                 corresponding test is turned back on.
102         + Tst : Refinements in t/30-scope.t
103
104 0.09    2008-12-05 20:35 UTC
105         + Add : Support for perl 5.8.
106         + Tst : Skip a test in t/10-good.t that randomly segfaults for (I guess)
107                 systems stricter than linux in the way they manage their memory.
108
109 0.08    2008-10-22 14:45 UTC
110         + Fix : A rare edge case for package whose names are prefix of 'main'.
111         + Tst : Test $$ as variable and state variables.
112
113 0.07_03 2008-10-17 20:10 UTC
114         + Add : Support and tests for variables with spaces after the sigil.
115         + Upd : META.yml spec updated to 1.4.
116
117 0.07_02 2008-10-15 21:10 UTC
118         + Add : Support and tests for package variables.
119         + Tst : Coverage improved by removing dead code.
120
121 0.07_01 2008-10-15 16:00 UTC
122         + Fix : [RT #40055] : Not handling RV2SV => GV(SV) correctly, which
123                 could cause 'no indirect; print' segfaults. Thanks Goro Fuji for
124                 reporting.
125
126 0.06    2008-10-11 16:45 UTC
127         + Doc : Nits.
128         + Tst : Test "no indirect 'anything'", "foo Class->bar", and indirect
129                 uses of exec() and system().
130
131 0.05    2008-10-02 14:40 UTC
132         + Chg : Now the old check function is always called before storing an op
133                 into the map.
134         + Fix : Misc code and docs refinements.
135
136 0.04    2008-08-30 19:00 UTC
137         + Fix : Clean up the op->src hash when we're done with an entersub.
138         + Tst : No longer fork for testing. IPC::Cmd isn't required anymore.
139
140 0.03    2008-08-12 15:25 UTC
141         This release is kindly supported by Copenhagen Hotel Centrum WiFi.
142         + Fix : Tests used not to pass PERL5OPTS to their kids. This lead to
143                 failures under CPAN. I think.
144         + Tst : Refinements.
145
146 0.02    2008-08-11 15:55 UTC
147         + Fix : Some building failures with old gcc versions that didn't seem to
148                 like the ((hint == 2) ? croak : warn)(msg) construct. I think.
149         + Rem : Unused cruft from a previous implementation.
150         + Tst : Fail more gracefully when we can't capture buffers or when the
151                 child returned an error.
152
153 0.01    2008-08-10 20:40 UTC
154         First version, released on an unsuspecting world.
155