[perl.git] branch blead, updated. v5.15.7-280-g2f1fe8a

2012-02-06 Thread Rafael Garcia-Suarez
In perl.git, the branch blead has been updated

http://perl5.git.perl.org/perl.git/commitdiff/2f1fe8a307fbb12ecf2c3255caeec84ea9e56ce7?hp=8c72d15656ec9706955ec6a368ddeb493db7cc58

- Log -
commit 2f1fe8a307fbb12ecf2c3255caeec84ea9e56ce7
Author: Rafael Garcia-Suarez r...@consttype.org
Date:   Mon Feb 6 10:05:00 2012 +0100

Document the special meaning of indir on the shebang line
---

Summary of changes:
 pod/perlrun.pod |   11 ++-
 1 files changed, 6 insertions(+), 5 deletions(-)

diff --git a/pod/perlrun.pod b/pod/perlrun.pod
index 22f50cc..6ddc608 100644
--- a/pod/perlrun.pod
+++ b/pod/perlrun.pod
@@ -93,11 +93,12 @@ getting whatever version is first in the user's path.  If 
you want
 a specific version of Perl, say, perl5.005_57, you should place
 that directly in the C#! line's path.
 
-If the C#! line does not contain the word perl, the program named after
-the C#! is executed instead of the Perl interpreter.  This is slightly
-bizarre, but it helps people on machines that don't do C#!, because they
-can tell a program that their SHELL is F/usr/bin/perl, and Perl will then
-dispatch the program to the correct interpreter for them.
+If the C#! line does not contain the word perl nor the word indir
+the program named after the C#! is executed instead of the Perl
+interpreter.  This is slightly bizarre, but it helps people on machines
+that don't do C#!, because they can tell a program that their SHELL is
+F/usr/bin/perl, and Perl will then dispatch the program to the correct
+interpreter for them.
 
 After locating your program, Perl compiles the entire program to an
 internal form.  If there are any compilation errors, execution of the

--
Perl5 Master Repository


[perl.git] branch blead, updated. v5.15.7-281-gc51c16d

2012-02-06 Thread Ricardo Signes
In perl.git, the branch blead has been updated

http://perl5.git.perl.org/perl.git/commitdiff/c51c16dc23b2bd769e343362fd570ff2428828de?hp=2f1fe8a307fbb12ecf2c3255caeec84ea9e56ce7

- Log -
commit c51c16dc23b2bd769e343362fd570ff2428828de
Author: Ricardo Signes r...@cpan.org
Date:   Mon Feb 6 11:13:57 2012 -0500

note which releases have shipped

this is to make it easier to scan and find which release
is the next unscheduled, unshipped one, so we (I) can see
how far off we have scheduled and whether a next volutneer
needs to be volunteered
---

Summary of changes:
 Porting/release_schedule.pod |   44 ++---
 1 files changed, 19 insertions(+), 25 deletions(-)

diff --git a/Porting/release_schedule.pod b/Porting/release_schedule.pod
index c664be5..1ca8f86 100644
--- a/Porting/release_schedule.pod
+++ b/Porting/release_schedule.pod
@@ -26,20 +26,20 @@ Release schedule (with release manager):
 Release schedule (with release managers):
 
   2011-05-14  5.14.0 (final)  Jesse Vincent
-  2011-06-16  5.14.1  Jesse Vincent
-  2011-09-14  5.14.2  Florian Ragwitz
-  2012-0?-??  5.14.3  Ricardo Signes
+  2011-06-16  5.14.1 ✓Jesse Vincent
+  2011-09-14  5.14.2 ✓Florian Ragwitz
+  2012-0?-??  5.14.3 ✓Ricardo Signes
   -??-??  5.14.4  ??
 
 =head2 Perl 5.12
 
 Release schedule (with release managers):
 
- 2010-04-12   5.12.0  Jesse Vincent
- 2010-05-16   5.12.1  Jesse Vincent
- 2010-09-06   5.12.2  Jesse Vincent
- 2011-01-21   5.12.3  Ricardo Signes
- 2011-06-20   5.12.4  Leon Brocard
+ 2010-04-12   5.12.0 ✓Jesse Vincent
+ 2010-05-16   5.12.1 ✓Jesse Vincent
+ 2010-09-06   5.12.2 ✓Jesse Vincent
+ 2011-01-21   5.12.3 ✓Ricardo Signes
+ 2011-06-20   5.12.4 ✓Leon Brocard
  -??-??   5.12.5  ??
 
 =head1 DEVELOPMENT RELEASE SCHEDULE
@@ -60,23 +60,24 @@ you should reset the version numbers to the next blead 
series.
 
 Release schedule (with release managers and code freeze points):
 
-  2011-06-20  5.15.0  David Golden
-  2011-07-20  5.15.1  Zefram
-  2011-08-20  5.15.2  Ricardo Signes
-  2011-09-20  5.15.3  Stevan Little
-  2011-10-20  5.15.4  Florian Ragwitz
-  2011-11-20  5.15.5  Steve Hay
-  2011-12-20  5.15.6  Dave Rolsky (Contentious code freeze)
-  2012-01-20  5.15.7  Chris Williams
+  2011-06-20  5.15.0 ✓David Golden
+  2011-07-20  5.15.1 ✓Zefram
+  2011-08-20  5.15.2 ✓Ricardo Signes
+  2011-09-20  5.15.3 ✓Stevan Little
+  2011-10-20  5.15.4 ✓Florian Ragwitz
+  2011-11-20  5.15.5 ✓Steve Hay
+  2011-12-20  5.15.6 ✓Dave Rolsky (Contentious code freeze)
+  2012-01-20  5.15.7 ✓Chris Williams
   2012-02-20  5.15.8  Max Maischein (User-visible code freeze)
   2012-03-20  5.15.9  Abigail (Full code freeze)
+
+=head2 Perl 5.17
+
   2012-04-20  5.17.0  Dave Cross
   2012-05-20  5.17.1
   2012-06-20  5.17.2
   2012-07-20  5.17.3
 
-
-
 =head1 VICTIMS
 
 The following porters have all consented to do at least
@@ -106,13 +107,6 @@ Abigail abig...@abigail.be
 Max Maischein cor...@cpan.org
 Dave Cross d...@perlhacks.com
 
-=head2 Reticent victims
-
-These folks have said that they'd be willing to release Perl but would
-prefer that others have the opportunity before they pitch in:
-
-(none at this time)
-
 =head1 AUTHOR
 
 Jesse Vincent je...@cpan.org

--
Perl5 Master Repository


[perl.git] branch rjbs/perlfunc-xref, deleted. v5.15.7-144-g51c8839

2012-02-06 Thread Ricardo Signes
In perl.git, the branch rjbs/perlfunc-xref has been deleted

http://perl5.git.perl.org/perl.git/commitdiff/?hp=51c88395d539aaee6670c9714ab4342d8e6c8e5e

   was  51c88395d539aaee6670c9714ab4342d8e6c8e5e

---
51c88395d539aaee6670c9714ab4342d8e6c8e5e finish documenting keywords, sort the 
xrefs
---

--
Perl5 Master Repository


[perl.git] branch blead, updated. v5.15.7-286-g9d0e037

2012-02-06 Thread Ricardo Signes
In perl.git, the branch blead has been updated

http://perl5.git.perl.org/perl.git/commitdiff/9d0e037af4f0a038f7bbf0381454a64ddde8fa54?hp=c51c16dc23b2bd769e343362fd570ff2428828de

- Log -
commit 9d0e037af4f0a038f7bbf0381454a64ddde8fa54
Author: Ricardo Signes r...@cpan.org
Date:   Mon Feb 6 22:11:04 2012 -0500

add an alias for marcg's other email

M   Porting/checkAUTHORS.pl

commit 89f9000b0f2a74d3277d9f4fe0e81e234aabf7c7
Author: Marc Green marcgr...@wpi.edu
Date:   Tue Jan 24 21:20:55 2012 -0500

Fix portability issue with Pod::Html test case

M   ext/Pod-Html/t/cache.t

commit 3fabeba8637b623eb41bd2a3d33d317eba3000ce
Author: Marc Green marcgr...@cpan.org
Date:   Tue Jan 17 00:58:59 2012 -0500

Modernize the use of open() (copied from old code)

M   ext/Pod-Html/lib/Pod/Html.pm

commit ccf5eb14a8538b17b03d3544bd1505000fc0a329
Author: Marc Green marcgr...@cpan.org
Date:   Tue Jan 17 00:26:21 2012 -0500

Update MANIFEST

M   MANIFEST

commit b09e89a9fc6a3133146f94636ce3727fd8d1cbca
Author: Marc Green marcgr...@cpan.org
Date:   Fri Jan 13 11:42:00 2012 -0500

Re-add cache feature

./installhtml was unacceptably slow without pod2html caching,
so this commit re-adds it.

M   ext/Pod-Html/lib/Pod/Html.pm
A   ext/Pod-Html/t/cache.pod
A   ext/Pod-Html/t/cache.t
M   ext/Pod-Html/t/pod2html-lib.pl
---

Summary of changes:
 MANIFEST   |2 +
 Porting/checkAUTHORS.pl|1 +
 ext/Pod-Html/lib/Pod/Html.pm   |  148 
 ext/Pod-Html/t/cache.pod   |3 +
 ext/Pod-Html/t/cache.t |   71 +++
 ext/Pod-Html/t/pod2html-lib.pl |1 +
 6 files changed, 212 insertions(+), 14 deletions(-)
 create mode 100644 ext/Pod-Html/t/cache.pod
 create mode 100644 ext/Pod-Html/t/cache.t

diff --git a/MANIFEST b/MANIFEST
index ce8e976..cddf20a 100644
--- a/MANIFEST
+++ b/MANIFEST
@@ -3803,6 +3803,8 @@ ext/PerlIO-via/via.pm PerlIO layer for layers 
in perl
 ext/PerlIO-via/via.xs  PerlIO layer for layers in perl
 ext/Pod-Html/bin/pod2html  Translator to turn pod into HTML
 ext/Pod-Html/lib/Pod/Html.pm   Convert POD data to HTML
+ext/Pod-Html/t/cache.pod
+ext/Pod-Html/t/cache.t
 ext/Pod-Html/t/crossref.pod
 ext/Pod-Html/t/crossref.t
 ext/Pod-Html/testdir/perlpodspec-copy.pod
diff --git a/Porting/checkAUTHORS.pl b/Porting/checkAUTHORS.pl
index 43f565d..368752e 100755
--- a/Porting/checkAUTHORS.pl
+++ b/Porting/checkAUTHORS.pl
@@ -681,6 +681,7 @@ lupe\100lupe-christoph.de   
lupe\100alanya.m.isar.de
 lutherh\100stratcom.com lutherh\100infinet.com
 mab\100wdl.loral.commarkb\100rdcf.sm.unisys.com
 marcel\100codewerk.com  gr\100univie.ac.at
+marcgreen\100cpan.org   marcgreen\100wpi.edu
 mark.p.lutz\100boeing.com   tecmpl1\100triton.ca.boeing.com
 marnix\100gmail.com pttesac!marnix!vanam
 marty+p5p\100kasei.com  marty\100martian.org
diff --git a/ext/Pod-Html/lib/Pod/Html.pm b/ext/Pod-Html/lib/Pod/Html.pm
index 4441742..3977ded 100644
--- a/ext/Pod-Html/lib/Pod/Html.pm
+++ b/ext/Pod-Html/lib/Pod/Html.pm
@@ -3,7 +3,7 @@ use strict;
 require Exporter;
 
 use vars qw($VERSION @ISA @EXPORT @EXPORT_OK);
-$VERSION = 1.13;
+$VERSION = 1.14;
 @ISA = qw(Exporter);
 @EXPORT = qw(pod2html htmlify);
 @EXPORT_OK = qw(anchorify);
@@ -31,7 +31,8 @@ Pod::Html - module to convert pod files to HTML
 =head1 DESCRIPTION
 
 Converts files from pod format (see Lperlpod) to HTML format.  It
-can automatically generate indexes and cross-references.
+can automatically generate indexes and cross-references, and it keeps
+a cache of things it knows how to cross-reference.
 
 =head1 FUNCTIONS
 
@@ -56,6 +57,12 @@ pod2html takes the following arguments:
 Turns every Chead1 heading into a link back to the top of the page.
 By default, no backlinks are generated.
 
+=item cachedir
+
+--cachedir=name
+
+Creates the directory cache in the given directory.
+
 =item css
 
 --css=stylesheet
@@ -63,6 +70,12 @@ By default, no backlinks are generated.
 Specify the URL of a cascading style sheet.  Also disables all HTML/CSS
 Cstyle attributes that are output by default (to avoid conflicts).
 
+=item flush
+
+--flush
+
+Flushes the directory cache.
+
 =item header
 
 --header
@@ -203,6 +216,8 @@ This program is distributed under the Artistic License.
 
 =cut
 
+my $Cachedir; 
+my $Dircache;
 my($Htmlroot, $Htmldir, $Htmlfile, $Htmlfileurl);
 my($Podfile, @Podpath, $Podroot);
 my $Poderrors;
@@ -225,6 +240,11 @@ my $Curdir = File::Spec-curdir;
 init_globals();
 
 sub init_globals {
+$Cachedir = .;# The directory to which directory caches
+#   will be written.
+
+$Dircache = 

[perl.git] branch blead, updated. v5.15.7-287-gedda670

2012-02-06 Thread Zefram
In perl.git, the branch blead has been updated

http://perl5.git.perl.org/perl.git/commitdiff/edda670c3a5d90819e8702dc489d4806d1ab850f?hp=9d0e037af4f0a038f7bbf0381454a64ddde8fa54

- Log -
commit edda670c3a5d90819e8702dc489d4806d1ab850f
Author: Zefram zef...@fysh.org
Date:   Tue Feb 7 02:45:19 2012 +

in Carp, fix circular dep on Perl 5.6

The circular dependency between Carp and warnings was causing trouble
with new versions of Carp against very old versions of warnings (versions
that were bundled with Perl 5.6).  No functional effect on blead.
---

Summary of changes:
 MANIFEST|1 +
 dist/Carp/lib/Carp.pm   |   11 +++
 dist/Carp/t/with_warnings.t |9 +
 3 files changed, 21 insertions(+), 0 deletions(-)
 create mode 100644 dist/Carp/t/with_warnings.t

diff --git a/MANIFEST b/MANIFEST
index cddf20a..187addc 100644
--- a/MANIFEST
+++ b/MANIFEST
@@ -3053,6 +3053,7 @@ dist/Carp/t/heavy.t   See if Carp::Heavy works
 dist/Carp/t/swash.tSee if Carp avoids breaking swash loading
 dist/Carp/t/vivify_gv.tSee if Carp leaves utf8:: stuff alone
 dist/Carp/t/vivify_stash.t See if Carp leaves utf8:: stash alone
+dist/Carp/t/with_warnings.tSee if Carp plays nicely with warnings
 dist/constant/lib/constant.pm  For use constant
 dist/constant/t/constant.t See if compile-time constants work
 dist/constant/t/utf8.t Test Unicode constants under utf8 pragma
diff --git a/dist/Carp/lib/Carp.pm b/dist/Carp/lib/Carp.pm
index f6ce347..e7c4694 100644
--- a/dist/Carp/lib/Carp.pm
+++ b/dist/Carp/lib/Carp.pm
@@ -402,6 +402,17 @@ sub trusts_directly {
 : @{$class\::ISA};
 }
 
+if(!defined($warnings::VERSION) || $warnings::VERSION  1.03) {
+# Very old versions of warnings.pm import from Carp.  This can go
+# wrong due to the circular dependency.  If Carp is invoked before
+# warnings, then Carp starts by loading warnings, then warnings
+# tries to import from Carp, and gets nothing because Carp is in
+# the process of loading and hasn't defined its import method yet.
+# So we work around that by manually exporting to warnings here.
+no strict refs;
+*{warnings::$_} = \$_ foreach @EXPORT;
+}
+
 1;
 
 __END__
diff --git a/dist/Carp/t/with_warnings.t b/dist/Carp/t/with_warnings.t
new file mode 100644
index 000..2ed9b14
--- /dev/null
+++ b/dist/Carp/t/with_warnings.t
@@ -0,0 +1,9 @@
+BEGIN { print 1..1\n; }
+
+use Carp ();
+use warnings ();
+$SIG{__WARN__} = sub {};
+eval { warnings::warn(syntax, foo) };
+print $@ eq  ?  : not , ok 1\n;
+
+1;

--
Perl5 Master Repository