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