From: Vincent Pit Date: Mon, 3 Jan 2011 20:32:15 +0000 (+0100) Subject: This is 0.10 X-Git-Tag: v0.10^0 X-Git-Url: http://git.vpit.fr/?p=perl%2Fmodules%2FLexical-Types.git;a=commitdiff_plain;h=f150c894e167f61657768a604642dfe052d12046 This is 0.10 --- diff --git a/Changes b/Changes index 0db6260..00d0764 100644 --- a/Changes +++ b/Changes @@ -1,5 +1,26 @@ Revision history for Lexical-Types +0.10 2011-01-03 20:35 UTC + + Add : The new constant LT_FORKSAFE can be tested to know whether the + module will behave nicely when fork()ing. It's currently always + true except on Windows where you need perl 5.10.1 for it to be + true. + + Chg : perl 5.8.3 is now required (instead of 5.8.0). + + Fix : Scope leaks under perl 5.8-5.10.0. + + Fix : Segmentation faults and misbehaviours in threaded applications. + + Fix : Compatibility with perl 5.13.1 and higher. + + Fix : Broken linkage on Windows with gcc 3.4, which appears in + particular when using ActivePerl's default compiler suite. + For those setups, the autovivification shared library will now + be linked against the perl dll directly (instead of the import + library). + + Tst : Threads tests are now only run on perl 5.13.4 and higher. + They could segfault randomly because of what seems to be an + internal bug of Perl, which has been addressed in 5.13.4. + There is also an environment variable that allows you to + forcefully run those tests, but it should be set only for + author testing and not for end users. + 0.09 2010-01-03 00:00 UTC + Fix : Building and testing with blead. + Fix : Unbalanced scopes when skipping a typed declaration. diff --git a/META.yml b/META.yml index 52278f9..61dd4b0 100644 --- a/META.yml +++ b/META.yml @@ -1,6 +1,6 @@ --- #YAML:1.0 name: Lexical-Types -version: 0.09 +version: 0.10 abstract: Extend the semantics of typed lexicals. author: - Vincent Pit @@ -16,7 +16,7 @@ build_requires: XSLoader: 0 requires: Carp: 0 - perl: 5.008 + perl: 5.008003 XSLoader: 0 resources: bugtracker: http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Lexical-Types diff --git a/README b/README index 12f52f1..4d8dcdc 100644 --- a/README +++ b/README @@ -2,7 +2,7 @@ NAME Lexical::Types - Extend the semantics of typed lexicals. VERSION - Version 0.09 + Version 0.10 SYNOPSIS { package Str; } @@ -148,7 +148,7 @@ INTEGRATION sub import { my $pkg = caller; - for (qw/Str Int/) { + for (qw) { my $type = __PACKAGE__ . '::' . $_; no strict 'refs'; no warnings 'redefine'; @@ -176,6 +176,11 @@ CONSTANTS True iff the module could have been built with thread-safety features enabled. + "LT_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 . + CAVEATS The restrictions on the type (being either a defined package name or a constant) apply even if you use the 'as' option to redirect to another @@ -195,7 +200,12 @@ CAVEATS addressed in perl 5.10. DEPENDENCIES - perl 5.8, XSLoader. + perl 5.8.3. + + 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). SEE ALSO fields. @@ -228,7 +238,7 @@ ACKNOWLEDGEMENTS Thanks Florian Ragwitz for suggesting the use of constants for types. COPYRIGHT & LICENSE - Copyright 2009,2010 Vincent Pit, all rights reserved. + Copyright 2009,2010,2011 Vincent Pit, all rights reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. diff --git a/lib/Lexical/Types.pm b/lib/Lexical/Types.pm index 4bffba8..1f905e4 100644 --- a/lib/Lexical/Types.pm +++ b/lib/Lexical/Types.pm @@ -11,13 +11,13 @@ Lexical::Types - Extend the semantics of typed lexicals. =head1 VERSION -Version 0.09 +Version 0.10 =cut our $VERSION; BEGIN { - $VERSION = '0.09'; + $VERSION = '0.10'; } =head1 SYNOPSIS