15 years agoAdd test for unicode methods
Marcus Ramberg [Fri, 2 Jan 2009 21:35:12 +0000]
Add test for unicode methods

15 years agoCheck failure for subs starting with numbers
Marcus Ramberg [Fri, 2 Jan 2009 21:21:54 +0000]
Check failure for subs starting with numbers

15 years agoFirst buckit of FAIL
Marcus Ramberg [Fri, 2 Jan 2009 21:11:01 +0000]
First buckit of FAIL

15 years agoFix some compiler warnings.
Florian Ragwitz [Sat, 15 Nov 2008 15:04:26 +0000]
Fix some compiler warnings.

15 years agoEliminate undefined symbols.
Florian Ragwitz [Mon, 10 Nov 2008 01:35:52 +0000]
Eliminate undefined symbols.

15 years agoTest if we're loadable without deferred symbol resolution.
Florian Ragwitz [Mon, 10 Nov 2008 01:28:01 +0000]
Test if we're loadable without deferred symbol resolution.

15 years agoVersion 0.003004.
Florian Ragwitz [Mon, 10 Nov 2008 01:27:55 +0000]
Version 0.003004.

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

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

15 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.

15 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.

15 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.

15 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.

15 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.

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

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

15 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.

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

15 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

15 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

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

15 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.

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

15 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

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

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

15 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

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

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

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

15 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.

15 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.

15 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

15 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

15 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

15 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.

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

15 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.

15 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.

15 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

15 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.

15 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.

15 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

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

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

15 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.

15 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.

15 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.

15 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 ("

15 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.

15 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

15 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.

15 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.

15 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 *.

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

15 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

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

15 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.

15 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.

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

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

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

15 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.

15 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.

15 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.

15 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.

15 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.

15 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.

15 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.

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

15 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.

15 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.

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

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

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

15 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.

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

15 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

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

15 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

15 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

15 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

15 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

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

15 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

15 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

15 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

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

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

15 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

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

15 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.

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

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

15 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

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

15 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)

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

15 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