changelog for patch for RT#102818
[p5sagit/Devel-Declare.git] / Changes
CommitLineData
ef0d739b 1Revision history for Devel-Declare
71511651 2
233cfb0f 3 - tests fixed for blead (5.21.*) (Matthew Horsfall, RT#102918)
4
eb0790fd 50.006017 - 2014-09-25
9bbd73fb 6 - fix for changes in 5.21.4 (Avoid creating GVs when subs are declared),
7 RT#99102, Father Chrysostomos
8
c397443e 90.006016 - 2014-03-31
ca4e1392 10 - fixed syntax error in a test
11
9b6112a0 120.006015 - 2014-02-02
79ad0035 13 - fix use of wrong sprintf formatting codes (Zefram, RT#91983)
14
ac22b054 150.006014 - 2013-07-21
b39d952a 16 - converted dist to Distar
17
3184a392 180.006013 - 2013-06-18
66938346 19 - re-release, because Module::Install is AWESOME!
20
3184a392 210.006012 - 2013-06-18
3f61a25a 22 - Updates for some deprecations in perl 5.17. (Zefram, RT#83968)
23
3184a392 240.006011 - 2012-02-22
cceec84c 25 - In XS, use PERL_NO_GET_CONTEXT for efficiency.
4d09d73b 26 - Avoid using Test::Warn, which has previously been a troublesome
27 dependency.
28
3184a392 290.006010 - 2012-02-07
1479b0b1 30 - Fix workaround for unexported core symbols to avoid breaking
31 compilation on non-threading builds of Perl 5.8.
e4e34af3 32 - Set permissions on .perldb file created during test, to avoid
33 "insecure rcfile" warning.
1479b0b1 34
3184a392 350.006009 - 2012-02-01
4e9e26b6 36 - Be adaptive about whether to delete the line reallocation filter,
37 so as to play as nicely as possible with other kinds of source filter.
2627a85c 38 - Document that injecting newlines doesn't work.
a36413c5 39 - Fix a C declaration after statement, which broke compatibility with
40 older compilers (Jan Dubois).
ef91f92b 41 - Partially work around unexported core symbols affecting Perl 5.8 on
42 Windows (David Bouyssie).
ec25cea7 43 - Jump through some hoops to avoid compiler warnings.
a36413c5 44
3184a392 450.006008 - 2011-11-05
361de2b5 46 - Adjust toke_scan_str logic to always leave the prefix part of
47 linestr unchanged.
48
3184a392 490.006007 - 2011-09-12
39801454 50 - Depend on B::Hooks::OP::Check version 0.19, which fixes a serious bug in
51 how it interacts with other modules that hook ops.
8ec78a85 52 - Initialize immediately upon loading the module, so that "was Devel::Declare
53 loaded soon enough" errors in string eval can be fixed by loading the
54 module earlier without having to also actually use the module earlier.
78bb475d 55 - Adjust toke_scan_str logic to always show a positive effective length of
56 string source.
8449c31f 57 - Return undef from toke_scan_str if string was unterminated.
d3480bb4 58 - Detect and croak if unwanted reallocation occurs during toke_scan_str.
08c39634 59 - Avoid memory leak in toke_scan_str.
e851e21f 60 - Give Devel::Declare::Context::Simple a version number.
5cce7a82 61 - Add MYMETA.{json,yml} to MANIFEST.SKIP and .gitignore.
39801454 62
3184a392 630.006006 - 2011-08-23
9a443579 64 - Increase default linestr size to avoid reallocations (Zefram).
65
3184a392 660.006005 - 2011-07-06
5c82d547 67 - Add a flag for controlling 'redefined' warnings when installing subs into
68 namespaces (clkao).
69
3184a392 700.006004 - 2011-05-02
af72e5f7 71 - Bail out earlier when being called while not lexing (Zefram).
72 - Make sure we continue working with Devel::CallParser loaded (Zefram).
73
3184a392 740.006003 - 2011-04-12
dd690392 75 - Fix test-failures on old perl versions (Zefram).
76
3184a392 770.006002 - 2011-04-08
39217f75 78 - Re-add Support for very early growing of PL_linestr using filters (Zefram).
79
3184a392 800.006001 - 2011-02-26
82ffef05 81 - Support perl >= 5.13.7 by re-allocating PL_linestr in block hooks (Zefram).
82
3184a392 830.006000 - 2010-03-09
f00d48a3 84 - Make things work on perl 5.11.2 and newer (Zefram).
85
3184a392 860.005011 - 2009-08-14
5591a785 87 - Add tests for not interpreting various things as barewords when they
88 aren't.
89 - Depend on a Test::More with done_testing support.
90 - Don't invoke the const callback for a keyword followed by a fat comma.
91
3184a392 920.005010 - 2009-08-11
d0405fd6 93 - Don't invoke the linestr callback if we found a keyword and the bufptr
94 still contains an arrow at its beginning. This causes the linestr callback
95 not to be fired on things like "->method" (if method is a declarator).
96 While this might be useful, it mostly caused problems so far. It might be
97 added again later as a separate feature.
98
3184a392 990.005009 - 2009-08-10
fb4e2a38 100 - Stop mixing declarations with code. (Closes: RT#48548) (Cosimo Streppone)
101 - Move strip_attrs, which is a purely parsing method, from
102 MethodInstaller::Simple to Context::Simple (nperez).
103
3184a392 1040.005008 - 2009-07-27
bf30f20d 105 - Depend on the latest ExtUtils::Depends for win32+gcc support.
7dd7d008 106 - Conditionally expand linestrings under perl debugger.
107
3184a392 1080.005007 - 2009-07-13
5bd46b12 109 - Fix line numbers not being updated from skipspace calls
110
3184a392 1110.005006 - 2009-06-16
9183b040 112 - Fix compilation on 5.8 perls.
113
3184a392 1140.005005 - 2009-06-05
33038bb0 115 - Improve compatibility with MAD-enabled perls
116 (Reini Urban, Closes RT#45779).
117
3184a392 1180.005004 - 2009-06-03
0f1dacbc 119 - Don't redefine MEM_WRAP_CHECK_ if it's already defined, getting rid of
120 compilation errors on some perls (Maik Fischer).
121
3184a392 1220.005003 - 2009-05-24
98820f7a 123 - Failing tests for line number issues (Ash Berlin).
124 - Add strip_names_and_args (Cory Watson).
125 - Various pod fixes (Yanick Champoux, Florian Ragwitz).
126 - Add copyright statements.
127
3184a392 1280.005002 - 2009-05-10
3f54dfa3 129 - Don't invoke the linestr callback if the parser was expecting an operator.
130 This makes calling a method with the name of a declarator work.
131
3184a392 1320.005001 - 2009-05-06
36a3c106 133 - Implement skip_declarator in terms of scan_word in Context::Simple.
134 This avoids relying on PL_tokenbuf to skip past the declarator, as
135 PL_tokenbuf might be overwritten by compiling other code between calling
136 the linestr callback and skip_declarator.
137
3184a392 1380.005000 - 2009-04-18
5b1cb7aa 139 - Port the documentation from %^H and Scope::Guard to B::Hooks::EndOfScope.
140 - Fix extracting multi-line strings using scan_str.
141 - Remove the nasty workaround for the above from Context::Simple.
142
3184a392 1430.004000 - 2009-04-10
cc4c6362 144 - Much improved documentation (osfameron).
145 - Make sure the linestr callback isn't invoked when a declarator is used as
146 part of some quoting construct like qq//, m//, s///, qr//, tr///, qx//, ``,
147 etc (Florian Ragwitz).
148 - Tests for this (osfameron, Florian Ragwitz).
149
3184a392 1500.003005 - 2009-03-30
cc4fa5e3 151 - Depend on a recent B::Hooks::EndOfScope to make semicolon injection more
152 robust (Florian Ragwitz).
153 - Add a couple of TODO tests for better error reporting (Marcus Ramberg).
712c5dd1 154 - Context::Simple::inject_if_block now returns true if start of block was
cc4fa5e3 155 found (Ash Berlin).
712c5dd1 156
3184a392 1570.003004 - 2008-12-11
2c746743 158 - Make magic work within string evals on 5.10 if the hints hash is used.
159 - Bind S_scan_ident to perl. It allows scanning for simple identifiers.
160 - Add strip_ident to Context::Simple.
161
3184a392 1620.003003 - 2008-10-27
7715fb8f 163 - Devel::Declare::MethodInstaller::Simple now has code_for() which the
164 subclass can override to monkey with the magic shadowed subroutine.
165 This is handy if you want to employ Devel::BeginLift.
166
3184a392 1670.003002 - 2008-10-25
45333fcc 168 - Depend on Sub::Name and B::Hooks::EndOfScope. MethodInstaller::Simple and
169 Context::Simple use them.
170
3184a392 1710.003001 - 2008-10-25
5ed603f1 172 - Don't use :lvalue in Context::Simple and MethodInstaller::Simple to keep
173 the debugger happy.
371427af 174
3184a392 1750.003000 - 2008-10-24
371427af 176 - Add Devel::Declare::Context::Simple and
177 Devel::Declare::MethodInstaller::Simple as an experimental way to make
178 creating block- and sub-like keywords easier (Rhesa Rozendaal).
179
3184a392 1800.002999_01 - 2008-10-24
e6486283 181 - Use B::Hooks::OP::Check to register PL_check callbacks.
182 - Use B::Hooks::EndOfScope instead of %^H and Scope::Guard.
183 - Don't segfault if HvNAME(PL_curstash) == NULL.
184 - Don't segfault on 5.9.5+, where PL_parser is a symbol, not a define.
185 - Don't delete the previous symbol table entry when shadowing subs. This
186 makes us work within the debugger.
187 - Don't mix declarations and code.
188
3184a392 1890.002002 - 2008-10-19
e422fec0 190 - switch done_declare call from call_argv to call_pv.
191 - Make get_linestr{,_offset} return sensible values when called while the
192 parser isn't running.
193 - Remove several compile time warnings.
194 - Allow enabling of debug mode using $ENV{DD_DEBUG}.
001d53d0 195
3184a392 1960.002001 - 2008-10-04
96f12726 197 - clean up checks for whether we're lexing and whether lex_stuff exists
198 to handle the PL_parser factor-out in 5.10
5a96176c 199 - check if reallocation of PL_linestr is necessary before doing it. this way
200 we can bail out properly instead of corrupting memory in some cases
201 - don't call strlen twice on the same sting
202 - try to be more portable
203 - stop using Nullsv
204 - don't use Perl_* functions directly.
205 - don't define PERL_CORE
206 - use NEWSV from handy.h instead of defining our own
207 - don't define PERL_NO_GET_CONTEXT
208 - don't support preprocessors (perl -P)
96f12726 209
3184a392 2100.002000 - 2008-09-19
2ee34f20 211 - rewrite guts into perl, add tests for new declaration style
212
3184a392 2130.001011 - 2008-06-04
bedac9ff 214 - add support for 'method main' and other package names
215
3184a392 2160.001010 - 2008-06-04
9673d7ca 217 - fix traits code, again, so it compiles on 5.10.
218
3184a392 2190.001009 - 2008-06-03
d8e65fc8 220 - only mangle evals if o->op_ppaddr is actually PL_ppaddr[OP_ENTERVAL]
a9eb4da1 221 - don't set OPf_SPECIAL on entereval ops, mistaken cargo cult from autobox
f5262149 222 - fix traits code to work on older 5.8.x perls
223
3184a392 2240.001008 - 2008-06-01
f5262149 225 - turns out 0.1.7 in Makefile.PL results in that version going into
226 the .xs file as well as the dist name. Then everything breaks.
227
3184a392 2280.001007 - 2008-06-01
f5262149 229 - bail on SvGROW during declare process since that can't work
230 - use a source filter on files and an op wrap on evals to pre-grow
231 PL_linestr so we don't get to the point of needing to bail
232
3184a392 2330.001006 - 2007-11-26
c5912dc7 234 - nasty goto &$func hack to avoid :lvalue+list context weirdness
235 - correct SvGROW invocation
498cc8bc 236
3184a392 2370.001005 - 2007-11-09
003ac394 238 - stop using & prototypes at all
239
3184a392 2400.001004 - 2007-10-25
552a9b31 241 - correct idiotic typo if ifndef
242
3184a392 2430.001003 - 2007-10-25
78160085 244 - internalise definitions for toke.c chunks to save hassle
245 - make NEWSV macro defined via ifndef rather than version check in case
246 of 5.8.8-maint (and 5.8.9)
247
3184a392 2480.001002 - 2007-10-21
14ab3472 249 - compilation fixes for 5.9.5 and -DDEBUGGING
250
3184a392 2510.001001 - 2007-10-17
71511651 252 - compilation fixes for 5.8.1+
daf38100 253 - set Makefile.PL to bomb out for <5.8.1
c560c752 254
3184a392 2550.001000 - 2007-09-23
c560c752 256 - Initial release to CPAN