Commit | Line | Data |
71511651 |
1 | Changes for Devel-Declare |
2 | |
1479b0b1 |
3 | - Fix workaround for unexported core symbols to avoid breaking |
4 | compilation on non-threading builds of Perl 5.8. |
5 | |
7bf75905 |
6 | 0.006009 - 01 Feb 2012 |
4e9e26b6 |
7 | - Be adaptive about whether to delete the line reallocation filter, |
8 | so as to play as nicely as possible with other kinds of source filter. |
2627a85c |
9 | - Document that injecting newlines doesn't work. |
a36413c5 |
10 | - Fix a C declaration after statement, which broke compatibility with |
11 | older compilers (Jan Dubois). |
ef91f92b |
12 | - Partially work around unexported core symbols affecting Perl 5.8 on |
13 | Windows (David Bouyssie). |
ec25cea7 |
14 | - Jump through some hoops to avoid compiler warnings. |
a36413c5 |
15 | |
4eeccf39 |
16 | 0.006008 - 05 Nov 2011 |
361de2b5 |
17 | - Adjust toke_scan_str logic to always leave the prefix part of |
18 | linestr unchanged. |
19 | |
daa56180 |
20 | 0.006007 - 12 Sep 2011 |
39801454 |
21 | - Depend on B::Hooks::OP::Check version 0.19, which fixes a serious bug in |
22 | how it interacts with other modules that hook ops. |
8ec78a85 |
23 | - Initialize immediately upon loading the module, so that "was Devel::Declare |
24 | loaded soon enough" errors in string eval can be fixed by loading the |
25 | module earlier without having to also actually use the module earlier. |
78bb475d |
26 | - Adjust toke_scan_str logic to always show a positive effective length of |
27 | string source. |
8449c31f |
28 | - Return undef from toke_scan_str if string was unterminated. |
d3480bb4 |
29 | - Detect and croak if unwanted reallocation occurs during toke_scan_str. |
08c39634 |
30 | - Avoid memory leak in toke_scan_str. |
e851e21f |
31 | - Give Devel::Declare::Context::Simple a version number. |
5cce7a82 |
32 | - Add MYMETA.{json,yml} to MANIFEST.SKIP and .gitignore. |
39801454 |
33 | |
9a443579 |
34 | 0.006006 - 23 Aug 2011 |
35 | - Increase default linestr size to avoid reallocations (Zefram). |
36 | |
5c82d547 |
37 | 0.006005 - 06 Jul 2011 |
38 | - Add a flag for controlling 'redefined' warnings when installing subs into |
39 | namespaces (clkao). |
40 | |
af72e5f7 |
41 | 0.006004 - 02 May 2011 |
42 | - Bail out earlier when being called while not lexing (Zefram). |
43 | - Make sure we continue working with Devel::CallParser loaded (Zefram). |
44 | |
dd690392 |
45 | 0.006003 - 12 Apr 2011 |
46 | - Fix test-failures on old perl versions (Zefram). |
47 | |
39217f75 |
48 | 0.006002 - 08 Apr 2011 |
49 | - Re-add Support for very early growing of PL_linestr using filters (Zefram). |
50 | |
82ffef05 |
51 | 0.006001 - 26 Feb 2011 |
52 | - Support perl >= 5.13.7 by re-allocating PL_linestr in block hooks (Zefram). |
53 | |
f00d48a3 |
54 | 0.006000 - 09 Mar 2010 |
55 | - Make things work on perl 5.11.2 and newer (Zefram). |
56 | |
5591a785 |
57 | 0.005011 - 14 Aug 2009 |
58 | - Add tests for not interpreting various things as barewords when they |
59 | aren't. |
60 | - Depend on a Test::More with done_testing support. |
61 | - Don't invoke the const callback for a keyword followed by a fat comma. |
62 | |
d0405fd6 |
63 | 0.005010 - 11 Aug 2009 |
64 | - Don't invoke the linestr callback if we found a keyword and the bufptr |
65 | still contains an arrow at its beginning. This causes the linestr callback |
66 | not to be fired on things like "->method" (if method is a declarator). |
67 | While this might be useful, it mostly caused problems so far. It might be |
68 | added again later as a separate feature. |
69 | |
fb4e2a38 |
70 | 0.005009 - 10 Aug 2009 |
71 | - Stop mixing declarations with code. (Closes: RT#48548) (Cosimo Streppone) |
72 | - Move strip_attrs, which is a purely parsing method, from |
73 | MethodInstaller::Simple to Context::Simple (nperez). |
74 | |
0b258695 |
75 | 0.005008 - 27 Jul 2009 |
bf30f20d |
76 | - Depend on the latest ExtUtils::Depends for win32+gcc support. |
7dd7d008 |
77 | - Conditionally expand linestrings under perl debugger. |
78 | |
41db92e3 |
79 | 0.005007 - 13 Jul 2009 |
5bd46b12 |
80 | - Fix line numbers not being updated from skipspace calls |
81 | |
41db92e3 |
82 | 0.005006 - 16 Jun 2009 |
9183b040 |
83 | - Fix compilation on 5.8 perls. |
84 | |
41db92e3 |
85 | 0.005005 - 05 Jun 2009 |
33038bb0 |
86 | - Improve compatibility with MAD-enabled perls |
87 | (Reini Urban, Closes RT#45779). |
88 | |
41db92e3 |
89 | 0.005004 - 03 Jun 2009 |
0f1dacbc |
90 | - Don't redefine MEM_WRAP_CHECK_ if it's already defined, getting rid of |
91 | compilation errors on some perls (Maik Fischer). |
92 | |
41db92e3 |
93 | 0.005003 - 24 May 2009 |
98820f7a |
94 | - Failing tests for line number issues (Ash Berlin). |
95 | - Add strip_names_and_args (Cory Watson). |
96 | - Various pod fixes (Yanick Champoux, Florian Ragwitz). |
97 | - Add copyright statements. |
98 | |
3f54dfa3 |
99 | 0.005002 |
100 | - Don't invoke the linestr callback if the parser was expecting an operator. |
101 | This makes calling a method with the name of a declarator work. |
102 | |
36a3c106 |
103 | 0.005001 |
104 | - Implement skip_declarator in terms of scan_word in Context::Simple. |
105 | This avoids relying on PL_tokenbuf to skip past the declarator, as |
106 | PL_tokenbuf might be overwritten by compiling other code between calling |
107 | the linestr callback and skip_declarator. |
108 | |
5b1cb7aa |
109 | 0.005000 |
110 | - Port the documentation from %^H and Scope::Guard to B::Hooks::EndOfScope. |
111 | - Fix extracting multi-line strings using scan_str. |
112 | - Remove the nasty workaround for the above from Context::Simple. |
113 | |
cc4c6362 |
114 | 0.004000 |
115 | - Much improved documentation (osfameron). |
116 | - Make sure the linestr callback isn't invoked when a declarator is used as |
117 | part of some quoting construct like qq//, m//, s///, qr//, tr///, qx//, ``, |
118 | etc (Florian Ragwitz). |
119 | - Tests for this (osfameron, Florian Ragwitz). |
120 | |
cc4fa5e3 |
121 | 0.003005 |
122 | - Depend on a recent B::Hooks::EndOfScope to make semicolon injection more |
123 | robust (Florian Ragwitz). |
124 | - Add a couple of TODO tests for better error reporting (Marcus Ramberg). |
712c5dd1 |
125 | - Context::Simple::inject_if_block now returns true if start of block was |
cc4fa5e3 |
126 | found (Ash Berlin). |
712c5dd1 |
127 | |
2c746743 |
128 | 0.003004 |
129 | - Make magic work within string evals on 5.10 if the hints hash is used. |
130 | - Bind S_scan_ident to perl. It allows scanning for simple identifiers. |
131 | - Add strip_ident to Context::Simple. |
132 | |
7715fb8f |
133 | 0.003003 |
134 | - Devel::Declare::MethodInstaller::Simple now has code_for() which the |
135 | subclass can override to monkey with the magic shadowed subroutine. |
136 | This is handy if you want to employ Devel::BeginLift. |
137 | |
45333fcc |
138 | 0.003002 |
139 | - Depend on Sub::Name and B::Hooks::EndOfScope. MethodInstaller::Simple and |
140 | Context::Simple use them. |
141 | |
5ed603f1 |
142 | 0.003001 |
143 | - Don't use :lvalue in Context::Simple and MethodInstaller::Simple to keep |
144 | the debugger happy. |
371427af |
145 | |
5ed603f1 |
146 | 0.003000 |
371427af |
147 | - Add Devel::Declare::Context::Simple and |
148 | Devel::Declare::MethodInstaller::Simple as an experimental way to make |
149 | creating block- and sub-like keywords easier (Rhesa Rozendaal). |
150 | |
b1e909d3 |
151 | 0.002999_01 |
e6486283 |
152 | - Use B::Hooks::OP::Check to register PL_check callbacks. |
153 | - Use B::Hooks::EndOfScope instead of %^H and Scope::Guard. |
154 | - Don't segfault if HvNAME(PL_curstash) == NULL. |
155 | - Don't segfault on 5.9.5+, where PL_parser is a symbol, not a define. |
156 | - Don't delete the previous symbol table entry when shadowing subs. This |
157 | makes us work within the debugger. |
158 | - Don't mix declarations and code. |
159 | |
7347020e |
160 | 0.002002 |
e422fec0 |
161 | - switch done_declare call from call_argv to call_pv. |
162 | - Make get_linestr{,_offset} return sensible values when called while the |
163 | parser isn't running. |
164 | - Remove several compile time warnings. |
165 | - Allow enabling of debug mode using $ENV{DD_DEBUG}. |
001d53d0 |
166 | |
82e5ff1c |
167 | 0.002001 |
96f12726 |
168 | - clean up checks for whether we're lexing and whether lex_stuff exists |
169 | to handle the PL_parser factor-out in 5.10 |
5a96176c |
170 | - check if reallocation of PL_linestr is necessary before doing it. this way |
171 | we can bail out properly instead of corrupting memory in some cases |
172 | - don't call strlen twice on the same sting |
173 | - try to be more portable |
174 | - stop using Nullsv |
175 | - don't use Perl_* functions directly. |
176 | - don't define PERL_CORE |
177 | - use NEWSV from handy.h instead of defining our own |
178 | - don't define PERL_NO_GET_CONTEXT |
179 | - don't support preprocessors (perl -P) |
96f12726 |
180 | |
2ee34f20 |
181 | 0.002000 |
182 | - rewrite guts into perl, add tests for new declaration style |
183 | |
bedac9ff |
184 | 0.001011 |
185 | - add support for 'method main' and other package names |
186 | |
9673d7ca |
187 | 0.001010 |
188 | - fix traits code, again, so it compiles on 5.10. |
189 | |
190 | 0.001009 |
d8e65fc8 |
191 | - only mangle evals if o->op_ppaddr is actually PL_ppaddr[OP_ENTERVAL] |
a9eb4da1 |
192 | - don't set OPf_SPECIAL on entereval ops, mistaken cargo cult from autobox |
f5262149 |
193 | - fix traits code to work on older 5.8.x perls |
194 | |
195 | 0.001008 |
196 | - turns out 0.1.7 in Makefile.PL results in that version going into |
197 | the .xs file as well as the dist name. Then everything breaks. |
198 | |
199 | 0.001007 |
200 | - bail on SvGROW during declare process since that can't work |
201 | - use a source filter on files and an op wrap on evals to pre-grow |
202 | PL_linestr so we don't get to the point of needing to bail |
203 | |
498cc8bc |
204 | 0.001006 |
c5912dc7 |
205 | - nasty goto &$func hack to avoid :lvalue+list context weirdness |
206 | - correct SvGROW invocation |
498cc8bc |
207 | |
208 | 0.001005 |
003ac394 |
209 | - stop using & prototypes at all |
210 | |
552a9b31 |
211 | 0.001004 |
212 | - correct idiotic typo if ifndef |
213 | |
78160085 |
214 | 0.001003 |
215 | - internalise definitions for toke.c chunks to save hassle |
216 | - make NEWSV macro defined via ifndef rather than version check in case |
217 | of 5.8.8-maint (and 5.8.9) |
218 | |
14ab3472 |
219 | 0.001002 |
220 | - compilation fixes for 5.9.5 and -DDEBUGGING |
221 | |
71511651 |
222 | 0.001001 |
223 | - compilation fixes for 5.8.1+ |
daf38100 |
224 | - set Makefile.PL to bomb out for <5.8.1 |
c560c752 |
225 | |
226 | 0.001000 |
227 | - Initial release to CPAN |