From: Vincent Pit Date: Tue, 5 Apr 2011 16:01:34 +0000 (+0200) Subject: This is 0.09 X-Git-Tag: v0.09^0 X-Git-Url: http://git.vpit.fr/?p=perl%2Fmodules%2Fre-engine-Plugin.git;a=commitdiff_plain;h=bc267d60ef7d608508577cfff73a43378b9f874f This is 0.09 --- diff --git a/Changes b/Changes index 5fe0225..a7d2fac 100644 --- a/Changes +++ b/Changes @@ -1,3 +1,12 @@ +0.09 2011-04-05 16:05 UTC - Vincent Pit + + Add : The constants REP_THREADSAFE and REP_FORKSAFE tell you whenever + the pragma is thread-safe and fork-safe. + + Fix : Compatibility with perl 5.13.6 and upwards. + + Fix : The pragma should be much less eager to leak into other scopes. + + Fix : Memory leaks of code references stored into the regexp object. + + Fix : Work around Kwalitee test misfailures. + + Tst : Thread safety is now tested on perl 5.13.4 and greater. + 0.08 2009-08-29 16:55 UTC - Vincent Pit + Add : The new ->callbacks method to the regexp object let you specify the 'exec' callback on an individual basis. diff --git a/META.yml b/META.yml index 9f2555d..2d08923 100644 --- a/META.yml +++ b/META.yml @@ -1,6 +1,6 @@ --- #YAML:1.0 name: re-engine-Plugin -version: 0.08 +version: 0.09 abstract: API to write custom regex engines author: - Vincent Pit @@ -11,6 +11,7 @@ configure_requires: build_requires: ExtUtils::MakeMaker: 0 Test::More: 0 + XSLoader: 0 requires: perl: 5.01 XSLoader: 0 @@ -23,7 +24,8 @@ no_index: directory: - t - inc -generated_by: ExtUtils::MakeMaker version 6.54 +generated_by: ExtUtils::MakeMaker version 6.56 meta-spec: url: http://module-build.sourceforge.net/META-spec-v1.4.html version: 1.4 +dynamic_config: 0 diff --git a/Plugin.pm b/Plugin.pm index bf739f9..eb8aec0 100644 --- a/Plugin.pm +++ b/Plugin.pm @@ -6,7 +6,7 @@ use strict; our ($VERSION, @ISA); BEGIN { - $VERSION = '0.08'; + $VERSION = '0.09'; # All engines should subclass the core Regexp package @ISA = 'Regexp'; require XSLoader; diff --git a/Plugin.pod b/Plugin.pod index b2d225c..4eefacc 100644 --- a/Plugin.pod +++ b/Plugin.pod @@ -4,7 +4,7 @@ re::engine::Plugin - API to write custom regex engines =head1 VERSION -Version 0.08 +Version 0.09 =head1 DESCRIPTION diff --git a/README b/README index 7ab7785..1b6449b 100644 --- a/README +++ b/README @@ -2,7 +2,7 @@ NAME re::engine::Plugin - API to write custom regex engines VERSION - Version 0.08 + Version 0.09 DESCRIPTION As of perl 5.9.5 it's possible to lexically replace perl's built-in @@ -244,7 +244,17 @@ METHODS methods FETCH, STORE, DELETE, CLEAR, EXISTS, FIRSTKEY, NEXTKEY and SCALAR. -Tainting +CONSTANTS + "REP_THREADSAFE" + True iff the module could have been built with thread-safety features + enabled. + + "REP_FORKSAFE" + True iff this module could have been built with fork-safety features + enabled. This will always be true except on Windows where it's false for + perl 5.10.0 and below. + +TAINTING The only way to untaint an existing variable in Perl is to use it as a hash key or referencing subpatterns from a regular expression match (see perlsec), the latter only works in perl's regex engine because it @@ -301,7 +311,7 @@ Tainting SEE ALSO perlreapi, Taint::Util -TODO / CAVEATS +TODO & CAVEATS *here be dragons* * Engines implemented with this module don't support "s///" and "split @@ -371,6 +381,14 @@ TODO / CAVEATS checkstr callbacks are called. Write wrappers around them and add tests. +DEPENDENCIES + perl 5.10. + + A C compiler. This module may happen to build with a C++ compiler as + well, but don't rely on it, as no guarantee is made in this regard. + + XSLoader (standard since perl 5.006). + BUGS Please report any bugs that aren't already listed at to @@ -382,9 +400,9 @@ AUTHORS Vincent Pit "" LICENSE - Copyright 2007-2008 Ævar Arnfjörð Bjarmason. + Copyright 2007,2008 Ævar Arnfjörð Bjarmason. - Copyright 2009 Vincent Pit. + Copyright 2009,2010,2011 Vincent Pit. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.