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