Port the docs from Scope::Guard + %^H to B::Hooks::EndOfScope.
[p5sagit/Devel-Declare.git] / Changes
CommitLineData
71511651 1Changes for Devel-Declare
2
cc4c6362 30.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
cc4fa5e3 100.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).
712c5dd1 14 - Context::Simple::inject_if_block now returns true if start of block was
cc4fa5e3 15 found (Ash Berlin).
712c5dd1 16
2c746743 170.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
7715fb8f 220.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
45333fcc 270.003002
28 - Depend on Sub::Name and B::Hooks::EndOfScope. MethodInstaller::Simple and
29 Context::Simple use them.
30
5ed603f1 310.003001
32 - Don't use :lvalue in Context::Simple and MethodInstaller::Simple to keep
33 the debugger happy.
371427af 34
5ed603f1 350.003000
371427af 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
b1e909d3 400.002999_01
e6486283 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
7347020e 490.002002
e422fec0 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}.
001d53d0 55
82e5ff1c 560.002001
96f12726 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
5a96176c 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)
96f12726 69
2ee34f20 700.002000
71 - rewrite guts into perl, add tests for new declaration style
72
bedac9ff 730.001011
74 - add support for 'method main' and other package names
75
9673d7ca 760.001010
77 - fix traits code, again, so it compiles on 5.10.
78
790.001009
d8e65fc8 80 - only mangle evals if o->op_ppaddr is actually PL_ppaddr[OP_ENTERVAL]
a9eb4da1 81 - don't set OPf_SPECIAL on entereval ops, mistaken cargo cult from autobox
f5262149 82 - fix traits code to work on older 5.8.x perls
83
840.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
880.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
498cc8bc 930.001006
c5912dc7 94 - nasty goto &$func hack to avoid :lvalue+list context weirdness
95 - correct SvGROW invocation
498cc8bc 96
970.001005
003ac394 98 - stop using & prototypes at all
99
552a9b31 1000.001004
101 - correct idiotic typo if ifndef
102
78160085 1030.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
14ab3472 1080.001002
109 - compilation fixes for 5.9.5 and -DDEBUGGING
110
71511651 1110.001001
112 - compilation fixes for 5.8.1+
daf38100 113 - set Makefile.PL to bomb out for <5.8.1
c560c752 114
1150.001000
116 - Initial release to CPAN