]> git.vpit.fr Git - perl/modules/Sub-Op.git/log
perl/modules/Sub-Op.git
14 years agoThis is 0.02 v0.02
Vincent Pit [Fri, 8 Jan 2010 21:37:15 +0000 (22:37 +0100)]
This is 0.02

14 years agoDocument the caveat about eval STRING
Vincent Pit [Fri, 8 Jan 2010 21:29:20 +0000 (22:29 +0100)]
Document the caveat about eval STRING

14 years agoTest and document caveats about defining a sub whose name is handled in the current...
Vincent Pit [Fri, 8 Jan 2010 18:52:20 +0000 (19:52 +0100)]
Test and document caveats about defining a sub whose name is handled in the current scope

14 years agoTest that the existing sub is called after ending the pragma scope
Vincent Pit [Fri, 8 Jan 2010 17:59:07 +0000 (18:59 +0100)]
Test that the existing sub is called after ending the pragma scope

14 years agoRename the "len" member of the sub_op_config_t struct to "namelen"
Vincent Pit [Thu, 7 Jan 2010 21:16:17 +0000 (22:16 +0100)]
Rename the "len" member of the sub_op_config_t struct to "namelen"

We will need "protolen" later.

14 years agoBump Variable::Magic dependency to 0.40
Vincent Pit [Thu, 7 Jan 2010 21:08:24 +0000 (22:08 +0100)]
Bump Variable::Magic dependency to 0.40

14 years agoHandle existing constant subs
Vincent Pit [Mon, 4 Jan 2010 14:49:06 +0000 (15:49 +0100)]
Handle existing constant subs

14 years agoWe should fail two times for each test sub not invoked
Vincent Pit [Mon, 4 Jan 2010 13:29:07 +0000 (14:29 +0100)]
We should fail two times for each test sub not invoked

14 years agoTest that subs aren't stubbed
Vincent Pit [Mon, 4 Jan 2010 13:14:56 +0000 (14:14 +0100)]
Test that subs aren't stubbed

14 years agoFix passing shell quoted arguments to Sub::Op::LexicalSub Makefile.PL
Vincent Pit [Mon, 4 Jan 2010 11:39:40 +0000 (12:39 +0100)]
Fix passing shell quoted arguments to Sub::Op::LexicalSub Makefile.PL

14 years agoRemove unused variables
Vincent Pit [Mon, 4 Jan 2010 11:32:34 +0000 (12:32 +0100)]
Remove unused variables

14 years agoPoint to B::Hooks::XSUB::CallAsOp
Vincent Pit [Sun, 3 Jan 2010 20:57:24 +0000 (21:57 +0100)]
Point to B::Hooks::XSUB::CallAsOp

14 years agoVivify less packages and symbols in B:: land
Vincent Pit [Sun, 3 Jan 2010 17:00:35 +0000 (18:00 +0100)]
Vivify less packages and symbols in B:: land

14 years agoTest monkeypatching
Vincent Pit [Sun, 3 Jan 2010 16:24:31 +0000 (17:24 +0100)]
Test monkeypatching

14 years agoProperly chomp the testcases
Vincent Pit [Sun, 3 Jan 2010 16:01:40 +0000 (17:01 +0100)]
Properly chomp the testcases

14 years agoHandle existing prototyped subs
Vincent Pit [Sun, 3 Jan 2010 13:11:33 +0000 (14:11 +0100)]
Handle existing prototyped subs

14 years agoThis is 0.01 v0.01
Vincent Pit [Sat, 2 Jan 2010 21:03:03 +0000 (22:03 +0100)]
This is 0.01

14 years agoAdd a deparse test
Vincent Pit [Sat, 2 Jan 2010 21:00:49 +0000 (22:00 +0100)]
Add a deparse test

14 years agoDon't downgrade the globs completely
Vincent Pit [Sat, 2 Jan 2010 20:55:46 +0000 (21:55 +0100)]
Don't downgrade the globs completely

This may prevent a possible future use of the symbol.

14 years agoWe don't need $fqn in enable()/disable()
Vincent Pit [Sat, 2 Jan 2010 20:33:34 +0000 (21:33 +0100)]
We don't need $fqn in enable()/disable()

14 years agoFix deparsing of sub deref
Vincent Pit [Sat, 2 Jan 2010 19:59:58 +0000 (20:59 +0100)]
Fix deparsing of sub deref

14 years agoRename Sub::Op::Test to Sub::Op::LexicalSub
Vincent Pit [Sat, 2 Jan 2010 18:32:51 +0000 (19:32 +0100)]
Rename Sub::Op::Test to Sub::Op::LexicalSub

14 years agoMore docs
Vincent Pit [Sat, 2 Jan 2010 18:19:07 +0000 (19:19 +0100)]
More docs

14 years agoDon't test POD coverage for Files.pm
Vincent Pit [Sat, 2 Jan 2010 17:26:05 +0000 (18:26 +0100)]
Don't test POD coverage for Files.pm

14 years agoAdd author tests
Vincent Pit [Sat, 2 Jan 2010 14:43:23 +0000 (15:43 +0100)]
Add author tests

14 years agoTest replacing an existing sub
Vincent Pit [Sat, 2 Jan 2010 14:15:46 +0000 (15:15 +0100)]
Test replacing an existing sub

14 years agoRename sub_op_keyword to sub_op_config_t
Vincent Pit [Sat, 2 Jan 2010 00:20:30 +0000 (01:20 +0100)]
Rename sub_op_keyword to sub_op_config_t

For accuracy and consistency.

14 years agoReplace the "sub_op_" prefix by "so_" for private types and symbols
Vincent Pit [Sat, 2 Jan 2010 00:15:31 +0000 (01:15 +0100)]
Replace the "sub_op_" prefix by "so_" for private types and symbols

14 years agolinklist() doesn't seem to do any good
Vincent Pit [Sat, 2 Jan 2010 00:12:13 +0000 (01:12 +0100)]
linklist() doesn't seem to do any good

14 years agonext_pkg and next_name are now obsolete
Vincent Pit [Sat, 2 Jan 2010 00:11:06 +0000 (01:11 +0100)]
next_pkg and next_name are now obsolete

14 years agoStore the custom op name in a pointer table
Vincent Pit [Sat, 2 Jan 2010 00:10:03 +0000 (01:10 +0100)]
Store the custom op name in a pointer table

We can't use the PL_custom_op_names hash because its keys are the ppaddr
functions and two keywords can share the same pp implementation.

14 years agoStop passing the package and the name from the magical callback to the check function
Vincent Pit [Fri, 1 Jan 2010 22:14:59 +0000 (23:14 +0100)]
Stop passing the package and the name from the magical callback to the check function

We can infer those from the gv.

Also, properly delete the placeholder when testing if the symbol exists
by hooking into the gelem check function.

14 years agoMake two subs available in the sample script
Vincent Pit [Fri, 1 Jan 2010 22:14:42 +0000 (23:14 +0100)]
Make two subs available in the sample script

And output more debugging info.

14 years agoThe global context isn't needed before we check the hint
Vincent Pit [Fri, 1 Jan 2010 21:35:24 +0000 (22:35 +0100)]
The global context isn't needed before we check the hint

14 years agoAdd support for the check hook and test multiple keywords
Vincent Pit [Fri, 1 Jan 2010 21:11:22 +0000 (22:11 +0100)]
Add support for the check hook and test multiple keywords

14 years agoAdd a sample shortcut to Sub::Op::Test
Vincent Pit [Fri, 1 Jan 2010 17:46:07 +0000 (18:46 +0100)]
Add a sample shortcut to Sub::Op::Test

14 years agoAdd META.yml
Vincent Pit [Fri, 1 Jan 2010 16:57:37 +0000 (17:57 +0100)]
Add META.yml

14 years agoDon't croak if Sub::Op::Test's Makefile.PL couldn't find the blib dir for Sub::Op
Vincent Pit [Fri, 1 Jan 2010 16:56:15 +0000 (17:56 +0100)]
Don't croak if Sub::Op::Test's Makefile.PL couldn't find the blib dir for Sub::Op

14 years agoA minimial documentation
Vincent Pit [Fri, 1 Jan 2010 16:52:28 +0000 (17:52 +0100)]
A minimial documentation

14 years agoInitial commit
Vincent Pit [Fri, 1 Jan 2010 16:28:19 +0000 (17:28 +0100)]
Initial commit