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