16 years agoAdd strip_indent to Ctx::Simple.
Florian Ragwitz [Fri, 7 Nov 2008 06:51:47 +0000]
Add strip_indent to Ctx::Simple.

16 years agoExpose scan_ident to perl space.
Florian Ragwitz [Fri, 7 Nov 2008 06:51:40 +0000]
Expose scan_ident to perl space.

16 years agoAdd S_scan_ident from toke.c.
Florian Ragwitz [Fri, 7 Nov 2008 06:51:34 +0000]
Add S_scan_ident from toke.c.

16 years agoMake things work within evals with a hint hash.
Florian Ragwitz [Wed, 5 Nov 2008 23:55:50 +0000]
Make things work within evals with a hint hash.

16 years agoAdd a failing testcase for string eval mangling if there's a hints hash.
Florian Ragwitz [Wed, 5 Nov 2008 18:57:58 +0000]
Add a failing testcase for string eval mangling if there's a hints hash.

16 years agoMake t/method-installer-runtime.t more sane.
Florian Ragwitz [Mon, 27 Oct 2008 20:34:14 +0000]
Make t/method-installer-runtime.t more sane.

16 years agoMake parse_proto default to an empty string.
Florian Ragwitz [Mon, 27 Oct 2008 20:34:03 +0000]
Make parse_proto default to an empty string.

16 years agoAdd a VERSION to MethodInstaller::Simple.
Florian Ragwitz [Mon, 27 Oct 2008 20:30:50 +0000]
Add a VERSION to MethodInstaller::Simple.

16 years agoVersion 0.003003.
Florian Ragwitz [Mon, 27 Oct 2008 20:30:40 +0000]
Version 0.003003.

16 years agoRefactor MethodInstaller::Simple.
Florian Ragwitz [Mon, 27 Oct 2008 20:27:13 +0000]
Refactor MethodInstaller::Simple.

It now has code_for() which the subclass can override to monkey with the magic
shadowed subroutine. This is handy if you want to employ Devel::BeginLift.

16 years agochanged runtime test to use can()
Rhesa Rozendaal [Mon, 27 Oct 2008 03:20:25 +0000]
changed runtime test to use can()

16 years agoprevent warnings in t/method-installer-runtime.t
Rhesa Rozendaal [Sun, 26 Oct 2008 17:28:34 +0000]
prevent warnings in t/method-installer-runtime.t

16 years agoadded test demonstrating that "method" works at runtime
Rhesa Rozendaal [Sun, 26 Oct 2008 17:11:49 +0000]
added test demonstrating that "method" works at runtime

16 years agoVersion 0.003002.
Florian Ragwitz [Sat, 25 Oct 2008 17:44:34 +0000]
Version 0.003002.

16 years agoAdd dependency for B::Hooks::EndOfScope and Sub::Name.
Florian Ragwitz [Sat, 25 Oct 2008 17:44:18 +0000]
Add dependency for B::Hooks::EndOfScope and Sub::Name.

16 years agoVersion 0.003001.
Florian Ragwitz [Sat, 25 Oct 2008 10:38:58 +0000]
Version 0.003001.

16 years agousing :lvalue subs breaks the debugger, so I added a inc_offset method to Context...
Rhesa Rozendaal [Sat, 25 Oct 2008 10:32:32 +0000]
using :lvalue subs breaks the debugger, so I added a inc_offset method to Context::Simple

16 years agoVersion 0.003000.
Florian Ragwitz [Fri, 24 Oct 2008 21:26:27 +0000]
Version 0.003000.

16 years agoMerge branch 'context_object'
Florian Ragwitz [Fri, 24 Oct 2008 21:17:24 +0000]
Merge branch 'context_object'

16 years agoctx-simple: integrated multiline proto handling from M::S context_object
Rhesa Rozendaal [Fri, 24 Oct 2008 11:43:49 +0000]
ctx-simple: integrated multiline proto handling from M::S

16 years agoVersion 0.002999_01.
Florian Ragwitz [Fri, 24 Oct 2008 08:30:42 +0000]
Version 0.002999_01.

16 years agoChangelogging
Florian Ragwitz [Fri, 24 Oct 2008 07:53:50 +0000]
Changelogging

16 years agoAdd an abstract.
Florian Ragwitz [Fri, 24 Oct 2008 07:34:21 +0000]
Add an abstract.

16 years agoDon't mix declarations and code when declaring the stack pointer.
Florian Ragwitz [Fri, 24 Oct 2008 07:17:20 +0000]
Don't mix declarations and code when declaring the stack pointer.

16 years agoDon't delete the previous symbol table entry when shadowing subs.
Florian Ragwitz [Thu, 23 Oct 2008 21:54:03 +0000]
Don't delete the previous symbol table entry when shadowing subs.

Instead just overwrite the CODE slot within. That prevents the GV from being
freed, which totally throws off the tokenizer, that holds a pointer to the gv
already.

This makes t/method.t and others work under the debugger, although I have no
idea why it ever worked, even with the debugger disabled.

16 years agoimprovements from MX::MS and MX::Declare
Rhesa Rozendaal [Wed, 22 Oct 2008 22:09:49 +0000]
improvements from MX::MS and MX::Declare

16 years agoMerge branch 'hooks_endofscope'
Florian Ragwitz [Wed, 22 Oct 2008 18:33:31 +0000]
Merge branch 'hooks_endofscope'

* hooks_endofscope:
  Use B::Hooks::EndOfScope instead of %^H and Scope::Guard.
  Create branch 'hooks_op_endofscope'.

Conflicts:
Makefile.PL

16 years agoMerge branch 'hook_op_check'
Florian Ragwitz [Wed, 22 Oct 2008 18:29:36 +0000]
Merge branch 'hook_op_check'

* hook_op_check:
  Update for latest B::Hooks::OP::Check API.
  Use B::Hooks::OP::Check to register PL_check callbacks.
  Create branch hook_op_check

16 years agoUpdate for latest B::Hooks::OP::Check API. hook_op_check
Florian Ragwitz [Wed, 22 Oct 2008 18:27:57 +0000]
Update for latest B::Hooks::OP::Check API.

16 years agoClean up tests.
Florian Ragwitz [Mon, 20 Oct 2008 11:35:00 +0000]
Clean up tests.

16 years agoRemove test intended to be used for debugging.
Florian Ragwitz [Mon, 20 Oct 2008 11:34:51 +0000]
Remove test intended to be used for debugging.

16 years agoOn 5.9.5+ PL_parser is always available, although not always a define, but a symbol.
Florian Ragwitz [Mon, 20 Oct 2008 11:29:34 +0000]
On 5.9.5+ PL_parser is always available, although not always a define, but a symbol.

16 years agoadded 2 tests wrt utf string manipulations causing segfaults
Rhesa Rozendaal [Mon, 20 Oct 2008 11:00:19 +0000]
added 2 tests wrt utf string manipulations causing segfaults

16 years agoDon't segfault if HvNAME(PL_curstash) == NULL.
Florian Ragwitz [Sun, 19 Oct 2008 17:23:19 +0000]
Don't segfault if HvNAME(PL_curstash) == NULL.

16 years agoUse B::Hooks::EndOfScope instead of %^H and Scope::Guard. hooks_endofscope
Florian Ragwitz [Sun, 19 Oct 2008 07:53:54 +0000]
Use B::Hooks::EndOfScope instead of %^H and Scope::Guard.

16 years agoRemove unused inject_scope from method.t
Florian Ragwitz [Sun, 19 Oct 2008 07:50:00 +0000]
Remove unused inject_scope from method.t

16 years agoVersion 0.002002.
Florian Ragwitz [Sun, 19 Oct 2008 04:39:58 +0000]
Version 0.002002.

16 years agoChangelogging.
Florian Ragwitz [Sun, 19 Oct 2008 04:39:51 +0000]
Changelogging.

16 years agoDon't include the multiline proto test in releases.
Florian Ragwitz [Sun, 19 Oct 2008 04:39:43 +0000]
Don't include the multiline proto test in releases.

16 years agoAdd a multiline proto test in an extra file.
Florian Ragwitz [Sun, 19 Oct 2008 04:30:23 +0000]
Add a multiline proto test in an extra file.

16 years agoRevert "Test multiline signatures where the closing parent has a smaller offset than...
Florian Ragwitz [Sun, 19 Oct 2008 04:30:18 +0000]
Revert "Test multiline signatures where the closing parent has a smaller offset than the opening one."

This reverts commit aafff9cd2deac1c87315f9289b1bac210f71b16a.

16 years agobranches/context_object: reformatted with 2-space indent, and "if ("
Rhesa Rozendaal [Sat, 18 Oct 2008 13:40:29 +0000]
branches/context_object: reformatted with 2-space indent, and "if ("

16 years agoTest multiline signatures where the closing parent has a smaller offset than the...
Florian Ragwitz [Sat, 18 Oct 2008 11:49:59 +0000]
Test multiline signatures where the closing parent has a smaller offset than the opening one.

16 years agoswitch done_declare from call_argv to call_pv
Matt S Trout [Sat, 18 Oct 2008 09:06:13 +0000]
switch done_declare from call_argv to call_pv

16 years agoMake get_linestr_offset return -1 if we're not parsing.
Florian Ragwitz [Sun, 12 Oct 2008 14:27:04 +0000]
Make get_linestr_offset return -1 if we're not parsing.

16 years agoMake get_linestr return NULL/undef if we aren't parsing.
Florian Ragwitz [Sun, 12 Oct 2008 14:26:44 +0000]
Make get_linestr return NULL/undef if we aren't parsing.

16 years agoclear_lex_stuff returns void, not char *.
Florian Ragwitz [Sun, 12 Oct 2008 14:26:12 +0000]
clear_lex_stuff returns void, not char *.

16 years agoRemove unused vars.
Florian Ragwitz [Sun, 12 Oct 2008 14:25:52 +0000]
Remove unused vars.

16 years agoadded DD::Context::Simple, which packages the synopsis (or method_no_semi.t) for...
Rhesa Rozendaal [Mon, 6 Oct 2008 11:40:27 +0000]
added DD::Context::Simple, which packages the synopsis (or method_no_semi.t) for easier reuse

16 years agoCreate branch context_object
Rhesa Rozendaal [Mon, 6 Oct 2008 11:20:13 +0000]
Create branch context_object

16 years agoAllow enabling of debug mode with an env var.
Florian Ragwitz [Sun, 5 Oct 2008 23:36:08 +0000]
Allow enabling of debug mode with an env var.

16 years agoRemove DD_DEBUG_S. It's unused.
Florian Ragwitz [Sun, 5 Oct 2008 23:36:01 +0000]
Remove DD_DEBUG_S. It's unused.

16 years agoVersion 0.002001.
Florian Ragwitz [Sat, 4 Oct 2008 22:30:57 +0000]
Version 0.002001.

16 years agoAdd myself to AUTHORS.
Florian Ragwitz [Sat, 4 Oct 2008 22:30:47 +0000]
Add myself to AUTHORS.

16 years agoChangelogging.
Florian Ragwitz [Sat, 4 Oct 2008 22:30:39 +0000]
Changelogging.

16 years agoRemove support for long-deprecated -P for better portability.
Florian Ragwitz [Sat, 4 Oct 2008 15:23:15 +0000]
Remove support for long-deprecated -P for better portability.

16 years agoCheck if reallocation of PL_linestr is necessary before doing it.
Florian Ragwitz [Sat, 4 Oct 2008 13:18:02 +0000]
Check if reallocation of PL_linestr is necessary before doing it.

That way memory curruption caused by SvGROW on a PL_linestr comming from perl
-e goes away.

16 years agoRevert "nuke PERL_5_9_PLUS"
Florian Ragwitz [Sat, 4 Oct 2008 02:32:03 +0000]
Revert "nuke PERL_5_9_PLUS"

Using #ifdef PL_parser is not enough. In some perls, depending on
configuration, PL_parser is a real symbol and not a define.

16 years agoDon't define PERL_NO_GET_CONTEXT.
Florian Ragwitz [Sat, 4 Oct 2008 02:31:56 +0000]
Don't define PERL_NO_GET_CONTEXT.

Seems to be cargo-culted from Data::Alias and works just fine without.

16 years agoDon't define NEWSV. handy.h does that for us.
Florian Ragwitz [Sat, 4 Oct 2008 02:31:51 +0000]
Don't define NEWSV. handy.h does that for us.

16 years agoDon't define PERL_CORE.
Florian Ragwitz [Sat, 4 Oct 2008 02:31:46 +0000]
Don't define PERL_CORE.

Seems to be cargo-culted anyway. Everything works just fine without it on
5.8.1, 5.8.8 and 5.10.0.

16 years agoDon't call strlen() twice on the same string.
Florian Ragwitz [Sat, 4 Oct 2008 02:31:41 +0000]
Don't call strlen() twice on the same string.

16 years agoUse croak instead of Perl_croak.
Florian Ragwitz [Sat, 4 Oct 2008 02:31:35 +0000]
Use croak instead of Perl_croak.

16 years agoNullsv is kinda deprecated and not available anymore if PERL_CORE is defined.
Florian Ragwitz [Wed, 1 Oct 2008 13:49:59 +0000]
Nullsv is kinda deprecated and not available anymore if PERL_CORE is defined.

16 years agoUse B::Hooks::OP::Check to register PL_check callbacks.
Florian Ragwitz [Wed, 1 Oct 2008 09:50:25 +0000]
Use B::Hooks::OP::Check to register PL_check callbacks.

16 years agonuke PERL_5_9_PLUS
Matt S Trout [Tue, 30 Sep 2008 12:01:11 +0000]
nuke PERL_5_9_PLUS

16 years agomissed a PL_lex_stuff check
Matt S Trout [Tue, 30 Sep 2008 11:58:38 +0000]
missed a PL_lex_stuff check

16 years agoclean up lexing checks
Matt S Trout [Tue, 30 Sep 2008 11:17:32 +0000]
clean up lexing checks

16 years agoMake Declare.o depend on stolen_chunk_of_toke.c.
Florian Ragwitz [Sun, 28 Sep 2008 15:15:42 +0000]
Make Declare.o depend on stolen_chunk_of_toke.c.

16 years agomove D-D to new layout
Matt S Trout [Sun, 28 Sep 2008 14:39:57 +0000]
move D-D to new layout

16 years agoI have no idea why this isn't in svn already
Matt S Trout [Sun, 28 Sep 2008 14:38:53 +0000]
I have no idea why this isn't in svn already

16 years agofinal tweaking and ChangeLog
Matt S Trout [Sat, 20 Sep 2008 14:30:28 +0000]
final tweaking and ChangeLog

16 years agoadd offset function for non-callback driven stuff, add tests
Matt S Trout [Sat, 20 Sep 2008 14:22:27 +0000]
add offset function for non-callback driven stuff, add tests

16 years agostop accidentally picking up 'foo' as bareword foo
Matt S Trout [Sat, 20 Sep 2008 14:21:04 +0000]
stop accidentally picking up 'foo' as bareword foo

16 years agoinitial sketch of shadow_sub and hashref-based callback API
Matt S Trout [Sat, 20 Sep 2008 14:20:22 +0000]
initial sketch of shadow_sub and hashref-based callback API

16 years agosimplify the C level of callback stuff
Matt S Trout [Sat, 20 Sep 2008 14:18:09 +0000]
simplify the C level of callback stuff

16 years agoinitial working perl-space version
Matt S Trout [Sat, 20 Sep 2008 14:15:50 +0000]
initial working perl-space version

16 years agoextract move_past_token, add XS wraps for toke chunks
Matt S Trout [Wed, 17 Sep 2008 06:57:36 +0000]
extract move_past_token, add XS wraps for toke chunks

16 years agoget_linestr works, callback code works, set_linestr compiles but not tested
Matt S Trout [Wed, 17 Sep 2008 05:16:04 +0000]
get_linestr works, callback code works, set_linestr compiles but not tested

16 years agomove const wrap to using new function as well
Matt S Trout [Wed, 17 Sep 2008 00:39:44 +0000]
move const wrap to using new function as well

16 years agofactor out is_declarator decision code
Matt S Trout [Wed, 17 Sep 2008 00:30:54 +0000]
factor out is_declarator decision code

16 years agomake 'method main' work
Matt S Trout [Wed, 4 Jun 2008 14:30:26 +0000]
make 'method main' work

16 years agoassloads of changes, apparently my previous commits failed
Matt S Trout [Wed, 4 Jun 2008 10:56:51 +0000]
assloads of changes, apparently my previous commits failed

16 years agofix the fucking segfault
Matt S Trout [Tue, 3 Jun 2008 15:02:01 +0000]
fix the fucking segfault

16 years agothis OPf_SPECIAL was bollocks. remove it.
Matt S Trout [Tue, 3 Jun 2008 07:27:46 +0000]
this OPf_SPECIAL was bollocks. remove it.

16 years agoNewx -> New
Matt S Trout [Tue, 3 Jun 2008 07:06:41 +0000]
Newx -> New

16 years agonow survives eval
Matt S Trout [Sun, 1 Jun 2008 12:54:58 +0000]
now survives eval

16 years agoextra test, forget where it came from
Matt S Trout [Sun, 1 Jun 2008 12:54:48 +0000]
extra test, forget where it came from

16 years agomissed an aTHX_
Matt S Trout [Sun, 1 Jun 2008 10:41:45 +0000]
missed an aTHX_

16 years agoreallocate PL_linestr to 8192 chars min in a source filter to avoid need to realloc...
Matt S Trout [Sun, 1 Jun 2008 10:21:29 +0000]
reallocate PL_linestr to 8192 chars min in a source filter to avoid need to realloc later (where we can't)

16 years agorealloc code
Matt S Trout [Sat, 31 May 2008 08:44:25 +0000]
realloc code

16 years agoMake devel::declare parse the part between prototype and
Chia-liang Kao [Mon, 5 May 2008 08:37:19 +0000]
Make devel::declare parse the part between prototype and
sub body as traits and pass them to the callback.

16 years agobus error
Yuval Kogman [Sun, 27 Apr 2008 18:15:57 +0000]
bus error

16 years agoadd eval.t, thought it would fail but it doesn't
Yuval Kogman [Sun, 27 Apr 2008 18:05:09 +0000]
add eval.t, thought it would fail but it doesn't

17 years agoactually, this will be 0.1.6
Matt S Trout [Mon, 26 Nov 2007 20:49:17 +0000]
actually, this will be 0.1.6

17 years ago0.1.5 changes
Matt S Trout [Mon, 26 Nov 2007 20:47:44 +0000]
0.1.5 changes

17 years agomake test less noisy
Matt S Trout [Fri, 9 Nov 2007 07:36:47 +0000]
make test less noisy

17 years agostop using & prototypes at all
Matt S Trout [Fri, 9 Nov 2007 07:22:28 +0000]
stop using & prototypes at all

17 years agocorrect typo in ifndef
Matt S Trout [Fri, 9 Nov 2007 07:21:56 +0000]
correct typo in ifndef

17 years ago0.001003 changes
Matt S Trout [Thu, 25 Oct 2007 00:44:28 +0000]
0.001003 changes