In perl.git, the branch smueller/eu_typemap has been created
<http://perl5.git.perl.org/perl.git/commitdiff/84ca859367b109b25f49d47998306633a71c654a?hp=0000000000000000000000000000000000000000>
at 84ca859367b109b25f49d47998306633a71c654a (commit)
- Log -----------------------------------------------------------------
commit 84ca859367b109b25f49d47998306633a71c654a
Author: Steffen Mueller <[email protected]>
Date: Sat Feb 12 18:54:38 2011 +0100
Add test of EU::Typemap output against old ParseXS code
This is testing for string equivalency, not code equivalency. But it's
better than nothing.
M MANIFEST
A dist/ExtUtils-ParseXS/t/600-t-compat.t
commit 7ffaa45c513fd4598ae01534f6fd31ce71606672
Author: Steffen Mueller <[email protected]>
Date: Sat Feb 12 18:52:00 2011 +0100
More bug-compatibility with old ExtUtils::ParseXS
M dist/ExtUtils-ParseXS/lib/ExtUtils/Typemaps.pm
commit 7bbbba5443f44160b0ba4e4fcda7cdc10be8cf13
Author: Steffen Mueller <[email protected]>
Date: Fri Feb 11 22:52:30 2011 +0100
Reinstate prototype default and warning about invalid prototypes
M dist/ExtUtils-ParseXS/lib/ExtUtils/Typemaps.pm
commit e5b7769cd4ab0176646757064d33a238797ada70
Author: Steffen Mueller <[email protected]>
Date: Fri Feb 11 19:24:21 2011 +0100
Add method to get ANSIfied code
This is done to all of the code in EU::PXS anyway, so why not
have a nice method for it?
M dist/ExtUtils-ParseXS/lib/ExtUtils/Typemaps/InputMap.pm
M dist/ExtUtils-ParseXS/lib/ExtUtils/Typemaps/OutputMap.pm
commit 44d1e89b02bae2b4946421f996f9771113c76bdc
Author: Steffen Mueller <[email protected]>
Date: Fri Feb 11 19:01:18 2011 +0100
Document inception of EU::Typemaps
M dist/ExtUtils-ParseXS/Changes
commit 67a91c8774d6f596ff919d5e12b6a96b44161570
Author: Steffen Mueller <[email protected]>
Date: Fri Feb 11 18:42:53 2011 +0100
Bless singleton
M dist/ExtUtils-ParseXS/lib/ExtUtils/ParseXS.pm
commit 90fcb5f85a040cac6e091d3e5308b645a0029b59
Author: Steffen Mueller <[email protected]>
Date: Fri Feb 11 18:37:41 2011 +0100
Nah, implicit is bad
M dist/ExtUtils-ParseXS/lib/ExtUtils/ParseXS/Utilities.pm
commit 35550f2009143c292be862d93f0ba62c04918be3
Author: Steffen Mueller <[email protected]>
Date: Fri Feb 11 18:35:31 2011 +0100
Lose now obsolete process_single_typemap()
This was the actual typemap parser. It is now parsed by
ExtUtils::Typemaps, so we don't need it any more!
M dist/ExtUtils-ParseXS/lib/ExtUtils/ParseXS/Utilities.pm
M dist/ExtUtils-ParseXS/t/106-process_typemaps.t
commit 740e30fcba473366dd05db77be27b7d2a941adbc
Author: Steffen Mueller <[email protected]>
Date: Fri Feb 11 18:31:44 2011 +0100
Make ExtUtils::ParseXS use ExtUtils::Typemaps
This is just the quick'n'dirty conversion to make it use
EU::Typemaps. Eventually, we want to use it in its full object-oriented
goodness!
M dist/ExtUtils-ParseXS/lib/ExtUtils/ParseXS/Utilities.pm
commit 52ced8ef1172db1720e277cf3e315c4c47f9c141
Author: Steffen Mueller <[email protected]>
Date: Fri Feb 11 18:21:10 2011 +0100
Implement 'skip' option for merging typemaps
This implements the 'first come first serve' style merging that
ExtUtils::ParseXS currently does: It prefers the typemap entries that
exist already over new ones. This is because the order of processed
typemaps is such that the default typemaps come last.
M MANIFEST
M dist/ExtUtils-ParseXS/lib/ExtUtils/Typemaps.pm
M dist/ExtUtils-ParseXS/t/513-t-merge.t
A dist/ExtUtils-ParseXS/t/data/confl_skip.typemap
commit d371b729fe3831b09544553471403efc24defc8f
Author: Steffen Mueller <[email protected]>
Date: Fri Feb 11 17:20:17 2011 +0100
Implement 'replace' option when merging typemaps
And by proxy, this had to be implemented in the three add_* methods.
Also adds more tests for merging with conflicts.
M MANIFEST
M dist/ExtUtils-ParseXS/lib/ExtUtils/ParseXS/Utilities.pm
M dist/ExtUtils-ParseXS/lib/ExtUtils/Typemaps.pm
M dist/ExtUtils-ParseXS/t/513-t-merge.t
A dist/ExtUtils-ParseXS/t/data/confl_repl.typemap
A dist/ExtUtils-ParseXS/t/data/conflicting.typemap
commit fbd9b7c4aa870f777140075ed84a70242c3f7dd6
Author: Steffen Mueller <[email protected]>
Date: Fri Feb 11 17:09:10 2011 +0100
Allow merging typemaps from file
M dist/ExtUtils-ParseXS/lib/ExtUtils/Typemaps.pm
commit 011ad7dee516350d8b29e5427054c58dccc0786f
Author: Steffen Mueller <[email protected]>
Date: Fri Feb 11 16:50:12 2011 +0100
Add method to generate the prototype lookup hash
Akin to the methods in the parent commit that generate the lookup hash
for TYPEMAP/INPUT/OUTPUT, this method will generate the lookup has for
typemap's prototypes as required by ExtUtils::ParseXS at this time.
M dist/ExtUtils-ParseXS/lib/ExtUtils/Typemaps.pm
commit dff8c2ca03aba4d42c8967a5be07768c3bc36c62
Author: Steffen Mueller <[email protected]>
Date: Fri Feb 11 16:42:46 2011 +0100
Methods to get typemaps in ParseXS compatible format
Essentially, these extra methods export the typemap information in the
format expected by ExtUtils::ParseXS at this time. Down the road, we may
want EU::PXS to simply pass around an ExtUtils::Typemaps object.
M dist/ExtUtils-ParseXS/lib/ExtUtils/Typemaps.pm
commit 0a09945682f9bd92b2e91cd29a5216cdcdbdf89b
Author: Steffen Mueller <[email protected]>
Date: Fri Feb 11 14:37:33 2011 +0100
Reduce code duplication by using the same prototype regexp
M dist/ExtUtils-ParseXS/lib/ExtUtils/ParseXS/Constants.pm
M dist/ExtUtils-ParseXS/lib/ExtUtils/Typemaps.pm
commit be0628541c5813940d1f7bd26fb7122a13bd7417
Author: Steffen Mueller <[email protected]>
Date: Thu Feb 10 17:12:23 2011 +0100
Teach EU::Typemaps about the _ prototype
I am in a hurry and this makes things correct, but really, this should
maybe use EU::ParseXS' regular expression.
M dist/ExtUtils-ParseXS/lib/ExtUtils/Typemaps.pm
commit 8e07b940207df934f7453a250f6df3993ca5f727
Author: Steffen Mueller <[email protected]>
Date: Thu Feb 10 16:51:53 2011 +0100
Bump ExtUtils::Typemaps version
Just to make sure there really will never be a confusion or
collision with the similarly named module that has been living
on CPAN.
M dist/ExtUtils-ParseXS/lib/ExtUtils/Typemaps.pm
commit 7a3e03f405508073eddcca3bd3dbaf0ebcff5933
Author: Steffen Mueller <[email protected]>
Date: Thu Feb 10 16:51:18 2011 +0100
Simplify "remove" logic after previous refactoring
M dist/ExtUtils-ParseXS/lib/ExtUtils/Typemaps.pm
commit 1eb3ef2dcfa4d6d81a635d97a13e50038125a58b
Author: Steffen Mueller <[email protected]>
Date: Thu Feb 10 16:45:29 2011 +0100
Hash lookup for output sections
More O(1) for everyone.
Also fixes a tiny issue with an error message from the inputmap
conversion.
M dist/ExtUtils-ParseXS/lib/ExtUtils/Typemaps.pm
commit 6ace3f2c839ef7c8b6ee9db18282f83e235bd998
Author: Steffen Mueller <[email protected]>
Date: Thu Feb 10 16:41:09 2011 +0100
Convert input sections to hash lookup
Die, O(n), die!
M dist/ExtUtils-ParseXS/lib/ExtUtils/Typemaps.pm
commit f8736b39aca2337da4c3f2d2f5053bc21ecfc208
Author: Steffen Mueller <[email protected]>
Date: Thu Feb 10 16:26:10 2011 +0100
Start refactoring EU::Typemaps
Use a hash lookup for avoiding collisions.
M dist/ExtUtils-ParseXS/lib/ExtUtils/Typemaps.pm
commit a7326585fa152247f1909aee99243f5efbfb5ab8
Author: Steffen Mueller <[email protected]>
Date: Thu Feb 10 14:19:54 2011 +0100
Remove note about being untested
This code is actually in production use.
M dist/ExtUtils-ParseXS/lib/ExtUtils/Typemaps.pm
commit 919f33811cd723a7b08fa9318597e7aa49af5472
Author: Steffen Mueller <[email protected]>
Date: Thu Feb 10 14:18:57 2011 +0100
update copyright
M dist/ExtUtils-ParseXS/lib/ExtUtils/Typemaps.pm
M dist/ExtUtils-ParseXS/lib/ExtUtils/Typemaps/InputMap.pm
M dist/ExtUtils-ParseXS/lib/ExtUtils/Typemaps/OutputMap.pm
M dist/ExtUtils-ParseXS/lib/ExtUtils/Typemaps/Type.pm
commit 6558901da2c26690703c67ca6ffb4e9be817939f
Author: Steffen Mueller <[email protected]>
Date: Thu Feb 10 14:17:17 2011 +0100
Add a trailing 's' to the name of EU::Typemap
This is to prevent collisions on case-insensitive file systems with
lib/typemap.
M MANIFEST
D dist/ExtUtils-ParseXS/lib/ExtUtils/Typemap.pm
D dist/ExtUtils-ParseXS/lib/ExtUtils/Typemap/InputMap.pm
D dist/ExtUtils-ParseXS/lib/ExtUtils/Typemap/OutputMap.pm
D dist/ExtUtils-ParseXS/lib/ExtUtils/Typemap/Type.pm
A dist/ExtUtils-ParseXS/lib/ExtUtils/Typemaps.pm
A dist/ExtUtils-ParseXS/lib/ExtUtils/Typemaps/InputMap.pm
A dist/ExtUtils-ParseXS/lib/ExtUtils/Typemaps/OutputMap.pm
A dist/ExtUtils-ParseXS/lib/ExtUtils/Typemaps/Type.pm
M dist/ExtUtils-ParseXS/t/501-t-compile.t
M dist/ExtUtils-ParseXS/t/510-t-bare.t
M dist/ExtUtils-ParseXS/t/511-t-whitespace.t
M dist/ExtUtils-ParseXS/t/512-t-file.t
M dist/ExtUtils-ParseXS/t/513-t-merge.t
M lib/.gitignore
commit b72e3a402e570269e340a553fde597b0df84ac90
Author: Steffen Mueller <[email protected]>
Date: Thu Feb 10 13:51:54 2011 +0100
Extract typemap-related code from ExtUtils::ParseXS
This was available from CPAN a while ago. The plan is to use it to make
the typemap parsing and manipulation saner and rip the parser from
ExtUtils::ParseXS' dead claws.
M MANIFEST
A dist/ExtUtils-ParseXS/lib/ExtUtils/Typemap.pm
A dist/ExtUtils-ParseXS/lib/ExtUtils/Typemap/InputMap.pm
A dist/ExtUtils-ParseXS/lib/ExtUtils/Typemap/OutputMap.pm
A dist/ExtUtils-ParseXS/lib/ExtUtils/Typemap/Type.pm
A dist/ExtUtils-ParseXS/t/501-t-compile.t
A dist/ExtUtils-ParseXS/t/510-t-bare.t
A dist/ExtUtils-ParseXS/t/511-t-whitespace.t
A dist/ExtUtils-ParseXS/t/512-t-file.t
A dist/ExtUtils-ParseXS/t/513-t-merge.t
A dist/ExtUtils-ParseXS/t/data/combined.typemap
A dist/ExtUtils-ParseXS/t/data/other.typemap
A dist/ExtUtils-ParseXS/t/data/simple.typemap
-----------------------------------------------------------------------
--
Perl5 Master Repository