| 1 |
version 0.012; 2023-03-10 |
| 2 |
|
| 3 |
* bugfix: comprehensive set of preemptive loads of modules for which |
| 4 |
a delayed load might have been compiled while loading this module |
| 5 |
|
| 6 |
* bugfix: if AutoLoader was loaded during (or before) loading this |
| 7 |
module, flush its compiled code and reload it, to make subsequent |
| 8 |
autoloads of *.al files not leak hints |
| 9 |
|
| 10 |
* bugfix: if utf8_heavy.pl was loaded during (or before) loading this |
| 11 |
module, flush its compiled code and reload it, to make subsequent |
| 12 |
loads of Unicode data files not leak hints |
| 13 |
|
| 14 |
* bugfix: perform preemptive loads, of modules for which a delayed |
| 15 |
load might have been compiled while loading this module, regardless |
| 16 |
of whether XS module loading was successful |
| 17 |
|
| 18 |
* bugfix: also work around hint leakage affecting do-file, which |
| 19 |
suffers exactly the same problem as require |
| 20 |
|
| 21 |
* correct thread behaviour: make the XS implementation behave the way |
| 22 |
the pure Perl implementation already did, by not applying workaround |
| 23 |
until it has been requested in a particular thread (including being |
| 24 |
requested pre-cloning in a thread from which this thread was cloned) |
| 25 |
|
| 26 |
* be more conservative about maintaining op tree structure |
| 27 |
|
| 28 |
* port to Perl 5.33.1, which defines a PERL_VERSION_GE() macro that |
| 29 |
clashes with the one this module previously had |
| 30 |
|
| 31 |
* delay the preemptive module loads, of modules potentially subject |
| 32 |
to early-compiled delayed loads, until applying the fix |
| 33 |
|
| 34 |
* update swash test for Perl 5.27.11, which avoids actually loading |
| 35 |
swashes most of the time |
| 36 |
|
| 37 |
* skip thread tests on some old versions of Perl (around 5.10.0) where |
| 38 |
a core bug makes thread creation violate an internal assertion and |
| 39 |
causes crashes |
| 40 |
|
| 41 |
* skip thread tests on pre-5.8.9 Perls where a core bug makes thread |
| 42 |
creation corrupt memory |
| 43 |
|
| 44 |
* skip thread tests on pre-5.8.3 Perls where a core bug makes thread |
| 45 |
completion break the global PL_sv_placeholder |
| 46 |
|
| 47 |
* in t/override.t, make the test overrides of require() provide the |
| 48 |
correct context to the file scope of each file being loaded |
| 49 |
|
| 50 |
* test the point at which the workaround goes into effect |
| 51 |
|
| 52 |
* in documentation, describe the bug affecting "do" on Perls 5.15.{5..7} |
| 53 |
|
| 54 |
* in documentation, use four-column indentation for all verbatim |
| 55 |
material |
| 56 |
|
| 57 |
* in META.{yml,json}, point to public bug tracker |
| 58 |
|
| 59 |
* use full stricture in the module, now that delayed module loads |
| 60 |
compiled while loading this module are properly handled so there's |
| 61 |
no need to try avoiding them entirely |
| 62 |
|
| 63 |
* in XS, better argument parenthesisation in a macro |
| 64 |
|
| 65 |
* avoid some compiler warnings that arise on Perl 5.6 |
| 66 |
|
| 67 |
* fix indentation in the reserve definition of wrap_op_checker() |
| 68 |
|
| 69 |
version 0.011; 2017-07-15 |
| 70 |
|
| 71 |
* update test suite to not rely on . in @INC, which is no longer |
| 72 |
necessarily there from Perl 5.25.7 |
| 73 |
|
| 74 |
* no longer include a Makefile.PL in the distribution |
| 75 |
|
| 76 |
* update op-munging code to the PERL_OP_PARENT-compatible style |
| 77 |
(though none of it is actually used on Perls new enough to support |
| 78 |
PERL_OP_PARENT) |
| 79 |
|
| 80 |
* rename internal gen_*_op() functions into a better style |
| 81 |
|
| 82 |
* consistently use THX_ prefix on internal function names |
| 83 |
|
| 84 |
version 0.010; 2016-03-18 |
| 85 |
|
| 86 |
* skip test with lexical $_ on Perl 5.23.4+ where that feature has |
| 87 |
been removed |
| 88 |
|
| 89 |
version 0.009; 2015-03-20 |
| 90 |
|
| 91 |
* in test of require for version checking, work around [perl #124135] |
| 92 |
which was introduced in Perl 5.21.4 |
| 93 |
|
| 94 |
version 0.008; 2015-03-20 |
| 95 |
|
| 96 |
* bugfix: don't localise hints around a version-number require, so that |
| 97 |
"use v5.10.0" can have its intentional effect of setting feature flags |
| 98 |
|
| 99 |
* bugfix: in pure Perl implementation, use a ($) prototype on |
| 100 |
CORE::GLOBAL::require, so that the argument expression will be in |
| 101 |
the correct context |
| 102 |
|
| 103 |
* better error message for refusing to use pure Perl implementation |
| 104 |
on Perl 5.9.4 to 5.10.0 |
| 105 |
|
| 106 |
* document that the pure Perl implementation breaks the use of the |
| 107 |
implicit $_ parameter with require |
| 108 |
|
| 109 |
* in swash test, don't fail if utf8.pm was loaded unexpectedly early, |
| 110 |
as has been seen to happen on some systems |
| 111 |
|
| 112 |
* test idempotence |
| 113 |
|
| 114 |
* fix test for thread safety, which risked false negatives |
| 115 |
|
| 116 |
* when preemptively loading Carp and Carp::Heavy, avoid the Perl core |
| 117 |
bug regarding the context applied to file scope of required modules, |
| 118 |
in case of future versions of those modules becoming vulnerable and |
| 119 |
running on an old Perl |
| 120 |
|
| 121 |
* declare correct version for Test::More dependency |
| 122 |
|
| 123 |
* typo fix in documentation |
| 124 |
|
| 125 |
* typo fix in a comment |
| 126 |
|
| 127 |
version 0.007; 2012-02-11 |
| 128 |
|
| 129 |
* bugfix: in the pure Perl implementation, provide the correct context |
| 130 |
to the file scope of each file being loaded |
| 131 |
|
| 132 |
* be thread-safe, by mutex control on op check hooking |
| 133 |
|
| 134 |
* in pure Perl implementation, avoid putting extra eval stack frames |
| 135 |
around the require, to avoid unnecessary complication of exception |
| 136 |
handling; this can't be done on Perls 5.9.4 to 5.10.0, so don't |
| 137 |
allow use of the pure Perl implementation on those Perls |
| 138 |
|
| 139 |
* revise documentation to suggest loading this module earlier |
| 140 |
|
| 141 |
* document the relevant changes to the Perl core in more detail |
| 142 |
|
| 143 |
* on Perl versions where the pure Perl implementation can't work, |
| 144 |
dynamically declare requirement for XS infrastructure in Build.PL |
| 145 |
|
| 146 |
* refine threshold for ability to correctly override require from |
| 147 |
5.8.0 to 5.7.2 |
| 148 |
|
| 149 |
* revise minimum required Perl version down from 5.6.1 to 5.6.0 |
| 150 |
|
| 151 |
* test that modules see the correct context at file scope |
| 152 |
|
| 153 |
* test that module return values are handled correctly |
| 154 |
|
| 155 |
* test that the module doesn't generate warnings |
| 156 |
|
| 157 |
* in pure Perl implementation, fix handling of the variable that |
| 158 |
previously needed to be "our" |
| 159 |
|
| 160 |
* rearrange and better comment the treatment of lexical warnings in |
| 161 |
the Perl code |
| 162 |
|
| 163 |
version 0.006; 2011-11-20 |
| 164 |
|
| 165 |
* bugfix: avoid loading warnings.pm and leaving its delayed requires |
| 166 |
of Carp.pm susceptible to hint leakage, which was causing trouble |
| 167 |
on some Perls |
| 168 |
|
| 169 |
* skip swash test on Perl 5.6, where swash loading appears to be broken |
| 170 |
by loading Test::More or anything else useful |
| 171 |
|
| 172 |
* remove bogus tests that cause false failures on Perl 5.15.5 |
| 173 |
|
| 174 |
* in Build.PL, declare incompatibility with pre-0.19 |
| 175 |
B::Hooks::OP::Check, which doesn't play nicely around op check hooking |
| 176 |
|
| 177 |
* comment why a variable surprisingly needs to be "our" |
| 178 |
|
| 179 |
* convert .cvsignore to .gitignore |
| 180 |
|
| 181 |
version 0.005; 2011-07-25 |
| 182 |
|
| 183 |
* bugfix: work around core bug [perl #73174] affecting Unicode swash |
| 184 |
loading, and apply entire workaround arrangement to 5.11.{0..5} |
| 185 |
where [perl #73174] exists but [perl #68590] does not |
| 186 |
|
| 187 |
* correct dynamic_config setting to 0 |
| 188 |
|
| 189 |
* include META.json in distribution |
| 190 |
|
| 191 |
* add MYMETA.json to .cvsignore |
| 192 |
|
| 193 |
version 0.004; 2010-11-21 |
| 194 |
|
| 195 |
* bugfix: don't attempt to use XS version of the workaround on Win32, |
| 196 |
where it can't work properly due to linker restriction on access to |
| 197 |
core symbols |
| 198 |
|
| 199 |
* only define PERL_CORE for compilation on Perl versions where the |
| 200 |
bug workaround (and thus interference with core-private stuff) |
| 201 |
is actually necessary |
| 202 |
|
| 203 |
* in XS, use PERL_NO_GET_CONTEXT for efficiency |
| 204 |
|
| 205 |
* in XS, declare "PROTOTYPES: DISABLE" to prevent automatic generation |
| 206 |
of unintended prototypes |
| 207 |
|
| 208 |
* in XS, provide a reserve definition of croak, so that the Perl_croak |
| 209 |
circumlocution is avoided even with PERL_CORE defined |
| 210 |
|
| 211 |
* in XS, give symbolic names to the Perl version thresholds |
| 212 |
|
| 213 |
* jump through hoops to avoid compiler warnings |
| 214 |
|
| 215 |
* use full stricture in test suite |
| 216 |
|
| 217 |
* also test POD coverage of pure Perl implementation |
| 218 |
|
| 219 |
* in t/setup_pp.pl, avoid a warning that occurs if XSLoader::load() |
| 220 |
is given no arguments, which is now a valid usage |
| 221 |
|
| 222 |
* in Build.PL, explicitly set needs_compiler to avoid bogus |
| 223 |
auto-dependency on ExtUtils::CBuilder |
| 224 |
|
| 225 |
* in Build.PL, complete declaration of configure-time requirements |
| 226 |
|
| 227 |
version 0.003; 2010-04-10 |
| 228 |
|
| 229 |
* bugfix: in pure-Perl implementation, make sure ambient package (from |
| 230 |
which require is invoked) is passed on correctly to the code in the |
| 231 |
required file, on those Perls where it is so inherited |
| 232 |
|
| 233 |
* in XS, use macros to avoid explicit passing of aTHX, in the manner |
| 234 |
of the core |
| 235 |
|
| 236 |
* in XS, avoid using "class" as a variable name, for compatibility |
| 237 |
with C++ compilers |
| 238 |
|
| 239 |
* make all numeric comparisons against $] stringify it first, to avoid |
| 240 |
architecture-dependent problems with floating point rounding giving |
| 241 |
it an unexpected numeric value |
| 242 |
|
| 243 |
* in Build.PL, explicitly declare configure-time requirements |
| 244 |
|
| 245 |
* add MYMETA.yml to .cvsignore |
| 246 |
|
| 247 |
version 0.002; 2009-10-21 |
| 248 |
|
| 249 |
* generate a more normal-looking op tree, that doesn't crash B::Deparse |
| 250 |
|
| 251 |
* don't apply the workaround on Perl 5.11.0 or later, where the bug |
| 252 |
has been fixed |
| 253 |
|
| 254 |
* in t/seal.t, test that cop_hints_hash is properly handled |
| 255 |
|
| 256 |
* check for required Perl version at runtime |
| 257 |
|
| 258 |
version 0.001; 2009-09-26 |
| 259 |
|
| 260 |
* bugfix: die cleanly if the pure-Perl implementation is needed but |
| 261 |
won't work (which occurs on pre-5.8 perls) |
| 262 |
|
| 263 |
* bugfix: avoid undesired warning from pure-Perl implementation if |
| 264 |
require has already been overridden via CORE::GLOBAL::require |
| 265 |
|
| 266 |
* in tests, set HINT_LOCALIZE_HH where appropriate, to avoid false |
| 267 |
test failures on pre-5.10 perls |
| 268 |
|
| 269 |
* test that the module plays nicely with code that overrides require |
| 270 |
via CORE::GLOBAL::require |
| 271 |
|
| 272 |
version 0.000; 2009-09-22 |
| 273 |
|
| 274 |
* initial released version |