Don't fire the linestr callback for const ops in backticks, qx or qq.
[p5sagit/Devel-Declare.git] / Changes
1 Changes for Devel-Declare
2
3 0.003005
4   - Depend on a recent B::Hooks::EndOfScope to make semicolon injection more
5     robust (Florian Ragwitz).
6   - Add a couple of TODO tests for better error reporting (Marcus Ramberg).
7   - Context::Simple::inject_if_block now returns true if start of block was
8     found (Ash Berlin).
9
10 0.003004
11   - Make magic work within string evals on 5.10 if the hints hash is used.
12   - Bind S_scan_ident to perl. It allows scanning for simple identifiers.
13   - Add strip_ident to Context::Simple.
14
15 0.003003
16   - Devel::Declare::MethodInstaller::Simple now has code_for() which the
17     subclass can override to monkey with the magic shadowed subroutine.
18     This is handy if you want to employ Devel::BeginLift.
19
20 0.003002
21   - Depend on Sub::Name and B::Hooks::EndOfScope. MethodInstaller::Simple and
22     Context::Simple use them.
23
24 0.003001
25   - Don't use :lvalue in Context::Simple and MethodInstaller::Simple to keep
26     the debugger happy.
27
28 0.003000
29   - Add Devel::Declare::Context::Simple and
30     Devel::Declare::MethodInstaller::Simple as an experimental way to make
31     creating block- and sub-like keywords easier (Rhesa Rozendaal).
32
33 0.002999_01
34   - Use B::Hooks::OP::Check to register PL_check callbacks.
35   - Use B::Hooks::EndOfScope instead of %^H and Scope::Guard.
36   - Don't segfault if HvNAME(PL_curstash) == NULL.
37   - Don't segfault on 5.9.5+, where PL_parser is a symbol, not a define.
38   - Don't delete the previous symbol table entry when shadowing subs. This
39     makes us work within the debugger.
40   - Don't mix declarations and code.
41
42 0.002002
43   - switch done_declare call from call_argv to call_pv.
44   - Make get_linestr{,_offset} return sensible values when called while the
45     parser isn't running.
46   - Remove several compile time warnings.
47   - Allow enabling of debug mode using $ENV{DD_DEBUG}.
48
49 0.002001
50   - clean up checks for whether we're lexing and whether lex_stuff exists
51     to handle the PL_parser factor-out in 5.10
52   - check if reallocation of PL_linestr is necessary before doing it. this way
53     we can bail out properly instead of corrupting memory in some cases
54   - don't call strlen twice on the same sting
55   - try to be more portable
56     - stop using Nullsv
57     - don't use Perl_* functions directly.
58     - don't define PERL_CORE
59     - use NEWSV from handy.h instead of defining our own
60     - don't define PERL_NO_GET_CONTEXT
61     - don't support preprocessors (perl -P)
62
63 0.002000
64   - rewrite guts into perl, add tests for new declaration style
65
66 0.001011
67   - add support for 'method main' and other package names
68
69 0.001010
70   - fix traits code, again, so it compiles on 5.10.
71
72 0.001009
73   - only mangle evals if o->op_ppaddr is actually PL_ppaddr[OP_ENTERVAL]
74   - don't set OPf_SPECIAL on entereval ops, mistaken cargo cult from autobox
75   - fix traits code to work on older 5.8.x perls
76
77 0.001008
78   - turns out 0.1.7 in Makefile.PL results in that version going into
79     the .xs file as well as the dist name. Then everything breaks.
80
81 0.001007
82   - bail on SvGROW during declare process since that can't work
83   - use a source filter on files and an op wrap on evals to pre-grow
84     PL_linestr so we don't get to the point of needing to bail
85
86 0.001006
87   - nasty goto &$func hack to avoid :lvalue+list context weirdness
88   - correct SvGROW invocation
89
90 0.001005
91   - stop using & prototypes at all
92
93 0.001004
94   - correct idiotic typo if ifndef
95
96 0.001003
97   - internalise definitions for toke.c chunks to save hassle
98   - make NEWSV macro defined via ifndef rather than version check in case
99     of 5.8.8-maint (and 5.8.9)
100
101 0.001002
102   - compilation fixes for 5.9.5 and -DDEBUGGING
103
104 0.001001
105   - compilation fixes for 5.8.1+
106   - set Makefile.PL to bomb out for <5.8.1
107
108 0.001000
109   - Initial release to CPAN