restrict symbol export hack to threading builds
[p5sagit/Devel-Declare.git] / Changes
1 Changes for Devel-Declare
2
3   - Fix workaround for unexported core symbols to avoid breaking
4     compilation on non-threading builds of Perl 5.8.
5
6 0.006009 - 01 Feb 2012
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.
9   - Document that injecting newlines doesn't work.
10   - Fix a C declaration after statement, which broke compatibility with
11     older compilers (Jan Dubois).
12   - Partially work around unexported core symbols affecting Perl 5.8 on
13     Windows (David Bouyssie).
14   - Jump through some hoops to avoid compiler warnings.
15
16 0.006008 - 05 Nov 2011
17   - Adjust toke_scan_str logic to always leave the prefix part of
18     linestr unchanged.
19
20 0.006007 - 12 Sep 2011
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.
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.
26   - Adjust toke_scan_str logic to always show a positive effective length of
27     string source.
28   - Return undef from toke_scan_str if string was unterminated.
29   - Detect and croak if unwanted reallocation occurs during toke_scan_str.
30   - Avoid memory leak in toke_scan_str.
31   - Give Devel::Declare::Context::Simple a version number.
32   - Add MYMETA.{json,yml} to MANIFEST.SKIP and .gitignore.
33
34 0.006006 - 23 Aug 2011
35   - Increase default linestr size to avoid reallocations (Zefram).
36
37 0.006005 - 06 Jul 2011
38   - Add a flag for controlling 'redefined' warnings when installing subs into
39     namespaces (clkao).
40
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
45 0.006003 - 12 Apr 2011
46   - Fix test-failures on old perl versions (Zefram).
47
48 0.006002 - 08 Apr 2011
49   - Re-add Support for very early growing of PL_linestr using filters (Zefram).
50
51 0.006001 - 26 Feb 2011
52   - Support perl >= 5.13.7 by re-allocating PL_linestr in block hooks (Zefram).
53
54 0.006000 - 09 Mar 2010
55   - Make things work on perl 5.11.2 and newer (Zefram).
56
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
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
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
75 0.005008 - 27 Jul 2009
76   - Depend on the latest ExtUtils::Depends for win32+gcc support.
77   - Conditionally expand linestrings under perl debugger.
78
79 0.005007 - 13 Jul 2009
80   - Fix line numbers not being updated from skipspace calls
81
82 0.005006 - 16 Jun 2009
83   - Fix compilation on 5.8 perls.
84
85 0.005005 - 05 Jun 2009
86   - Improve compatibility with MAD-enabled perls
87     (Reini Urban, Closes RT#45779).
88
89 0.005004 - 03 Jun 2009
90   - Don't redefine MEM_WRAP_CHECK_ if it's already defined, getting rid of
91     compilation errors on some perls (Maik Fischer).
92
93 0.005003 - 24 May 2009
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
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
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
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
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
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).
125   - Context::Simple::inject_if_block now returns true if start of block was
126     found (Ash Berlin).
127
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
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
138 0.003002
139   - Depend on Sub::Name and B::Hooks::EndOfScope. MethodInstaller::Simple and
140     Context::Simple use them.
141
142 0.003001
143   - Don't use :lvalue in Context::Simple and MethodInstaller::Simple to keep
144     the debugger happy.
145
146 0.003000
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
151 0.002999_01
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
160 0.002002
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}.
166
167 0.002001
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
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)
180
181 0.002000
182   - rewrite guts into perl, add tests for new declaration style
183
184 0.001011
185   - add support for 'method main' and other package names
186
187 0.001010
188   - fix traits code, again, so it compiles on 5.10.
189
190 0.001009
191   - only mangle evals if o->op_ppaddr is actually PL_ppaddr[OP_ENTERVAL]
192   - don't set OPf_SPECIAL on entereval ops, mistaken cargo cult from autobox
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
204 0.001006
205   - nasty goto &$func hack to avoid :lvalue+list context weirdness
206   - correct SvGROW invocation
207
208 0.001005
209   - stop using & prototypes at all
210
211 0.001004
212   - correct idiotic typo if ifndef
213
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
219 0.001002
220   - compilation fixes for 5.9.5 and -DDEBUGGING
221
222 0.001001
223   - compilation fixes for 5.8.1+
224   - set Makefile.PL to bomb out for <5.8.1
225
226 0.001000
227   - Initial release to CPAN