This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
perl5.git
10 years agoRemove needless skip tests from lib/File/stat.t
Nicholas Clark [Wed, 13 Jun 2012 13:53:27 +0000 (15:53 +0200)]
Remove needless skip tests from lib/File/stat.t

The stat builtin is always implemented, so no need for an eval {} test to
check for this. The presence or absence of <sys/stat.h> at the C level isn't
going to affect the outcome of this test.

Both have been in the test script since it was added (as t/lib/filestat.t)
by commit f7a45afb043dafc5 in May 2001. I suspect that both were copied
from one of the Net::* test scripts which was being used as the template.

10 years agoIn lib/File/stat.t, test everything with and without use filetest "access".
Nicholas Clark [Sun, 3 Jun 2012 10:45:24 +0000 (12:45 +0200)]
In lib/File/stat.t, test everything with and without use filetest "access".

Previously the use filetest "access" tests were separate, and didn't test
all the "should not warn" cases. By moving them into the main data-driven
loop it's trivial to test everything.

Also test that all the correct errors are seen on VMS, and not seen anywhere
else.

10 years agoBring the joy of strict (and warnings) to lib/File/stat.t
Nicholas Clark [Sun, 3 Jun 2012 09:42:20 +0000 (11:42 +0200)]
Bring the joy of strict (and warnings) to lib/File/stat.t

10 years agoReplace repetitive code in lib/File/stat.t with a data driven loop.
Nicholas Clark [Sat, 2 Jun 2012 20:51:14 +0000 (22:51 +0200)]
Replace repetitive code in lib/File/stat.t with a data driven loop.

10 years agoConvert lib/File/stat.t from a complex plan calculation to done_testing().
Nicholas Clark [Sat, 2 Jun 2012 20:42:47 +0000 (22:42 +0200)]
Convert lib/File/stat.t from a complex plan calculation to done_testing().

Also replace use_ok (not in BEGIN) with a simple require. If the require
fails it's not worth trying to test anything else, Test::More's END
handing will automatically report a test failure, so the failure will be
recorded.

Add an editor block.

10 years agoIncrease $PerlIO::scalar::VERSION to 0.15
Father Chrysostomos [Thu, 21 Jun 2012 06:34:19 +0000 (23:34 -0700)]
Increase $PerlIO::scalar::VERSION to 0.15

10 years ago[perl #113764] Make &= duping work with PerlIO::scalar
Father Chrysostomos [Thu, 21 Jun 2012 06:33:28 +0000 (23:33 -0700)]
[perl #113764] Make &= duping work with PerlIO::scalar

In trying to fix bug #112780, I made in-memory handle duplication tem-
porarily hide the underlying scalar so it wouldn’t be set to the empty
string (commit 49b69fb3a).

I used PerlIO_sv_dup in j rather than PerlIOScalar_arg.  The for-
mer is usually what is called anyway.  There is only one branch of
PerlIOScalar_arg that doesn’t call PerlIO_sv_dup.  I don’t remember
what I was thinking back then, but I think I thought that branch
was there for paranoia.  But actually, it is used for "&=", so this
started failing:

open FILE, '>', \my $content or die "Couldn't open scalar filehandle";
open my $fh, ">&=FILE" or die "Couldn't open: $!";
print $fh "Foo-Bar\n";
close $fh;
close FILE;
print $content;

This commit fixes the bug in the smallest way possible, which means
switching from PerlIO_sv_dup to PerlIOScalar_arg in PerlIOScalar_arg,
which, in turn, entails fiddling with RVs.

10 years agoTeach dump.c about CVf_HASEVAL
Father Chrysostomos [Thu, 21 Jun 2012 00:59:01 +0000 (17:59 -0700)]
Teach dump.c about CVf_HASEVAL

10 years agoperl5171delta: caller looks beyond cur stack
Father Chrysostomos [Wed, 20 Jun 2012 23:05:40 +0000 (16:05 -0700)]
perl5171delta: caller looks beyond cur stack

10 years agoperl5171delta: typo
Father Chrysostomos [Wed, 20 Jun 2012 22:58:04 +0000 (15:58 -0700)]
perl5171delta: typo

10 years ago[perl #89544] Non-eval closures don’t need CvOUTSIDE
Father Chrysostomos [Wed, 20 Jun 2012 21:23:02 +0000 (14:23 -0700)]
[perl #89544] Non-eval closures don’t need CvOUTSIDE

A closure doesn’t need an outside pointer at run time, unless it has a
string eval in it.  CvOUTSIDE is only used at compilation time to look
up variables by name.

Since CvOUTSIDE is reference-counted, a closure can unnecessarily hang
on to variables it is not using (see the test in the diff).  So stop
setting it when cloning a closure, unless it is needed for eval.

10 years agoclosure.t: load test.pl at BEGIN time
Father Chrysostomos [Wed, 20 Jun 2012 21:25:19 +0000 (14:25 -0700)]
closure.t: load test.pl at BEGIN time

This allows parentheses to be omitted.

10 years agoRT#113730 - $@ should be cleared on "do" IO error.
Eric Brine [Mon, 18 Jun 2012 18:56:32 +0000 (14:56 -0400)]
RT#113730 - $@ should be cleared on "do" IO error.

10 years ago[perl #113712] Don’t create stubs after errors
Father Chrysostomos [Wed, 20 Jun 2012 20:45:43 +0000 (13:45 -0700)]
[perl #113712] Don’t create stubs after errors

perl5.002beta3 (c07a80fdfe) stopped bodies of subrou-
tines from being defined after compilation errors, as in
eval "@a =~ s///; sub { die }".

But, instead of making the sub declaration not happen at all, it ended
up leaving a stub.

For a full sub declaration (body and all) to create a stub just
seems wrong.

Likewise, it would be weird if a stub declaration
after a compilation error created a stub, because then
eval "@a =~ s///; sub foo; sub bar { }" would create foo but not bar.

Similarly, a compilation error will cause ‘sub foo {}’ no suppress
‘used once’ warnings; but a lexing error won’t.

This commit fixes all this, making things consistent:  If there is a
compilation, parsing or lexing error, any kind of sub declaration that
follows is ignored.

10 years ago[perl #113756] fix type of StructCopy in API documentation
Lukas Mai [Wed, 20 Jun 2012 04:59:58 +0000 (21:59 -0700)]
[perl #113756] fix type of StructCopy in API documentation

perlapi currently claims StructCopy takes two structs when it really
takes two pointers.

10 years agoLet while.t run from the top level
Father Chrysostomos [Wed, 20 Jun 2012 03:39:54 +0000 (20:39 -0700)]
Let while.t run from the top level

10 years agobump version to 5.17.2
Jesse Luehrs [Wed, 20 Jun 2012 20:03:54 +0000 (15:03 -0500)]
bump version to 5.17.2

10 years agodon't change version numbers in this file either
Jesse Luehrs [Wed, 20 Jun 2012 19:44:43 +0000 (14:44 -0500)]
don't change version numbers in this file either

10 years agocomp/parser.t: Add some tests
Karl Williamson [Sun, 17 Jun 2012 20:04:55 +0000 (14:04 -0600)]
comp/parser.t: Add some tests

10 years agodquote_static.c: Clarify comment
Karl Williamson [Sun, 17 Jun 2012 19:45:19 +0000 (13:45 -0600)]
dquote_static.c: Clarify comment

10 years agoreg_mesg.t: Add tests
Karl Williamson [Sun, 17 Jun 2012 19:44:01 +0000 (13:44 -0600)]
reg_mesg.t: Add tests

10 years agoRefactor \x processing to single function
Karl Williamson [Sun, 17 Jun 2012 19:03:36 +0000 (13:03 -0600)]
Refactor \x processing to single function

There are three places that process \x.  These can and did get out of
sync.  This moves all three to use a common static inline function so
that they all do the same thing on the same inputs, and their behaviors
will not drift apart again.

This commit should not change current behavior.  A previous commit
was designed to bring all three to identical behavior.

10 years agotoke.c: Don't convert \x{} from native
Karl Williamson [Sun, 17 Jun 2012 18:33:10 +0000 (12:33 -0600)]
toke.c: Don't convert \x{} from native

This was and is a no-op on ASCII platforms, but on EBCDIC, when you did
e.g., a "\x{7}", it would convert that to a 127.  But it did not do this
on qr/\x{7}/, giving inconsistent results.  Now, \x{7} yields 7, and
thus is consistent, and matches the documentation.

10 years agogrok_bslash_o: Don't convert from native
Karl Williamson [Sun, 17 Jun 2012 17:57:02 +0000 (11:57 -0600)]
grok_bslash_o: Don't convert from native

This was and is a no-op on ASCII platforms, but on EBCDIC, when you did
e.g., a \o{7}, it would convert that to a 127.  But it did not do this
on a \007, giving inconsistent results.  Now, \o{7} yields 7, and thus
is consistent, and matches the documentation.

10 years agoPATCH: [perl #113750] re.pm clobbers $_
Karl Williamson [Wed, 20 Jun 2012 19:13:02 +0000 (13:13 -0600)]
PATCH: [perl #113750] re.pm clobbers $_

Thanks to Jesse Luehrs and Father Chrysostomos for testing advice.

10 years agonew perldelta
Jesse Luehrs [Wed, 20 Jun 2012 18:29:28 +0000 (13:29 -0500)]
new perldelta

10 years agothe rmg should tell BLEAD-POINT to bump version at the end
Jesse Luehrs [Wed, 20 Jun 2012 18:23:25 +0000 (13:23 -0500)]
the rmg should tell BLEAD-POINT to bump version at the end

10 years agoadd release branch steps to rmg
Jesse Luehrs [Wed, 20 Jun 2012 18:18:14 +0000 (13:18 -0500)]
add release branch steps to rmg

10 years agofew rmg nits
Jesse Luehrs [Wed, 20 Jun 2012 18:05:39 +0000 (13:05 -0500)]
few rmg nits

10 years agoupdate epigraphs.pod
Jesse Luehrs [Wed, 20 Jun 2012 18:05:03 +0000 (13:05 -0500)]
update epigraphs.pod

10 years agoMerge branch 'release-5.17.1' into blead
Jesse Luehrs [Wed, 20 Jun 2012 17:54:09 +0000 (12:54 -0500)]
Merge branch 'release-5.17.1' into blead

10 years agoMore tests in t/op/arith.t for constant folding of expressions containing %
Nicholas Clark [Mon, 18 Jun 2012 21:19:58 +0000 (23:19 +0200)]
More tests in t/op/arith.t for constant folding of expressions containing %

Most tests for the bug resolved by commit e7311069df54baa6, including 64 bit
integer analogs of the 32 bit integer tests added by that commit.

10 years agoone more place to get rid of win32/config*.gc64nox v5.17.1
Jesse Luehrs [Wed, 20 Jun 2012 03:49:43 +0000 (22:49 -0500)]
one more place to get rid of win32/config*.gc64nox

10 years agoupdate perlhist for 5.17.1
Jesse Luehrs [Wed, 20 Jun 2012 03:14:48 +0000 (22:14 -0500)]
update perlhist for 5.17.1

10 years agoupdate Module::CoreList for 5.17.1
Jesse Luehrs [Wed, 20 Jun 2012 03:05:19 +0000 (22:05 -0500)]
update Module::CoreList for 5.17.1

10 years agoregen pod issues
Father Chrysostomos [Wed, 20 Jun 2012 02:58:56 +0000 (19:58 -0700)]
regen pod issues

10 years agoPOSIX: Sometimes `printf` beats interpolation
Aristotle Pagaltzis [Wed, 20 Jun 2012 01:22:16 +0000 (18:22 -0700)]
POSIX: Sometimes `printf` beats interpolation

10 years agoTidier example code for POSIX::localeconv()
Daniel Perrett [Thu, 14 Jun 2012 22:14:26 +0000 (23:14 +0100)]
Tidier example code for POSIX::localeconv()

10 years agoAdd Daniel Perrett to AUTHORS
Father Chrysostomos [Wed, 20 Jun 2012 01:18:41 +0000 (18:18 -0700)]
Add Daniel Perrett to AUTHORS

10 years agoformatting
Jesse Luehrs [Wed, 20 Jun 2012 02:46:22 +0000 (21:46 -0500)]
formatting

10 years agoadd acknowledgements
Jesse Luehrs [Wed, 20 Jun 2012 02:46:13 +0000 (21:46 -0500)]
add acknowledgements

10 years agobump version to 5.17.1
Jesse Luehrs [Wed, 20 Jun 2012 02:01:44 +0000 (21:01 -0500)]
bump version to 5.17.1

10 years agocomments in bump-perl-version
Jesse Luehrs [Tue, 19 Jun 2012 23:42:11 +0000 (18:42 -0500)]
comments in bump-perl-version

10 years agoperldelta for 5c0877fa4ac0 (VMS include files).
Craig A. Berry [Tue, 19 Jun 2012 23:56:44 +0000 (18:56 -0500)]
perldelta for 5c0877fa4ac0 (VMS include files).

10 years agoperlhacktips: long lines
Father Chrysostomos [Tue, 19 Jun 2012 19:48:56 +0000 (12:48 -0700)]
perlhacktips: long lines

10 years agomore proofreading
Jesse Luehrs [Tue, 19 Jun 2012 19:45:51 +0000 (14:45 -0500)]
more proofreading

10 years agoperlhacktips: add AddressSanitizer
Reini Urban [Mon, 11 Jun 2012 15:42:10 +0000 (10:42 -0500)]
perlhacktips: add AddressSanitizer

[amended to fix a typo, and add an exception to the podcheck database]

10 years agowe seem to have been using L<> rather than C<> here recently
Jesse Luehrs [Tue, 19 Jun 2012 17:54:11 +0000 (12:54 -0500)]
we seem to have been using L<> rather than C<> here recently

10 years agonone of this is important
Jesse Luehrs [Tue, 19 Jun 2012 17:31:45 +0000 (12:31 -0500)]
none of this is important

10 years agoadd module updates to perldelta
Jesse Luehrs [Tue, 19 Jun 2012 17:31:12 +0000 (12:31 -0500)]
add module updates to perldelta

10 years agochange this synopsis to something that actually works
Jesse Luehrs [Tue, 19 Jun 2012 15:36:39 +0000 (10:36 -0500)]
change this synopsis to something that actually works

10 years agonote existing smoke failures
Jesse Luehrs [Tue, 19 Jun 2012 15:03:58 +0000 (10:03 -0500)]
note existing smoke failures

10 years agothe known problems section is also for platform specific things
Jesse Luehrs [Tue, 19 Jun 2012 14:49:42 +0000 (09:49 -0500)]
the known problems section is also for platform specific things

10 years agoUse ll rather than I64 for win32/config*.gc64 format strings
Steve Hay [Tue, 19 Jun 2012 16:59:29 +0000 (17:59 +0100)]
Use ll rather than I64 for win32/config*.gc64 format strings

The corresponding types are long long rather than __int64 so this makes
more sense and matches proposed diffs from the land of Strawberry Perl
for supporting 32-bit builds with 64-bit ints on Windows (hopefully
coming up soon...).

10 years agoAdd missing dlltool default to win32/config.gc
Steve Hay [Tue, 19 Jun 2012 16:54:18 +0000 (17:54 +0100)]
Add missing dlltool default to win32/config.gc

ExtUtils::MakeMaker and ExtUtils::CBuilder both default to this anyway,
but it's good to be explicit, and reduces diffs with the .gc64 file.

10 years agoperldelta updates
Jesse Luehrs [Tue, 19 Jun 2012 14:25:46 +0000 (09:25 -0500)]
perldelta updates

10 years agoperldelta for 186a5ba82d58
Father Chrysostomos [Tue, 19 Jun 2012 13:29:50 +0000 (06:29 -0700)]
perldelta for 186a5ba82d58

This entry is only for the user-visible changes.

10 years agoremove bogus $remainder variable from perlfunc/split
Lukas Mai [Tue, 19 Jun 2012 13:03:19 +0000 (15:03 +0200)]
remove bogus $remainder variable from perlfunc/split

As reported by Anša Vernerová:

| Calling the third argument $remainer is simply wrong - the remainder is
| the fourth argument, which is not assigned to anything.

10 years agooverloading: make qr fallback to "" better
David Mitchell [Mon, 18 Jun 2012 21:40:25 +0000 (22:40 +0100)]
overloading: make qr fallback to "" better

With the re_eval jumbo fix, the behaviour of overloaded objects in
runtime patterns, such /^$overloaded/ has changed, such that the stringify
overload ("") no longer avoids the need for 'use re "eval"': for example,

    use overload "" => sub { qr/(??{1})/ }
    my $o = bless [];
    "1" =~ /^$o/;

works in 5.16.0, but dies with "Eval-group not allowed" in blead.

Change this back to the former behaviour, such that if qr and concat
ops aren't overloaded, then use "" overloading, and if the return from
that is a qr object, extract any code blocks from it.

This is achieved by:
* moving the concat/stringify code ahead of the regex block extraction
  code,
* making the overloaded stringify call be explicit (rather than
  being invoked implicitly by sv_catsv()),
* looping to re-apply overloading to any object returned by "".
* applying those last two steps in the case of a single arg too

This is a partial fix for
[perl #113682] Bleadperl v5.17.0-424-gd24ca0c breaks
    ABIGAIL/Regexp-Common-2011121001.tar.gz

10 years agoIn cflags.SH trim the case statement of file basenames.
Nicholas Clark [Wed, 28 Mar 2012 15:15:15 +0000 (17:15 +0200)]
In cflags.SH trim the case statement of file basenames.

Add examples showing how to use cflags.SH to tweak the compiler flags used
for individual object files.

Previously cflags.SH contained a somewhat stale pre-canned list of file
basenames including removed files such as usersub (deleted before 5.000
shipped), and a partial list of 5.000 XS extensions. Whilst it's possible
to generate the correct list in cflags by parsing MANIFEST (and adding a few
fixups), it's still not actually *useful*, as cflags gets overwritten as
soon as config.sh changes. Hence the most end-user useful solution with
minimal maintenance is to eliminate the list entirely, and document how the
user should add to it as necessary.

10 years agoIn pp_iter, handle end of range at IV_MAX without undefined behaviour.
Nicholas Clark [Mon, 16 Apr 2012 05:51:49 +0000 (07:51 +0200)]
In pp_iter, handle end of range at IV_MAX without undefined behaviour.

The previous code assumed that incrementing a signed integer value wraps.
We're lucky that it has (so far), as it's undefined behaviour in C.
So refactor to code which doesn't assume anything.

10 years agoIn t/op/arith.t, tryeq_sloppy() wasn't correctly handling negative values.
Nicholas Clark [Mon, 18 Jun 2012 19:49:39 +0000 (21:49 +0200)]
In t/op/arith.t, tryeq_sloppy() wasn't correctly handling negative values.

The code was treating any negative value as "ok", rather than only those
within 1e-9 of the expected value. This bug has been present since
tryeq_sloppy() was added by commit 800e6488b45c59f1 in Oct 2001.

10 years agothis is already mentioned at the end (and that is more correct)
Jesse Luehrs [Tue, 19 Jun 2012 07:15:38 +0000 (02:15 -0500)]
this is already mentioned at the end (and that is more correct)

10 years agoremove some boilerplate
Jesse Luehrs [Tue, 19 Jun 2012 07:10:34 +0000 (02:10 -0500)]
remove some boilerplate

10 years agotodo
Jesse Luehrs [Tue, 19 Jun 2012 07:05:20 +0000 (02:05 -0500)]
todo

10 years agoconsistency
Jesse Luehrs [Tue, 19 Jun 2012 06:27:21 +0000 (01:27 -0500)]
consistency

10 years agocombine sections
Jesse Luehrs [Tue, 19 Jun 2012 06:06:00 +0000 (01:06 -0500)]
combine sections

10 years agobump Filter::Util::Call to CPAN version 1.45
Jesse Luehrs [Tue, 19 Jun 2012 05:32:26 +0000 (00:32 -0500)]
bump Filter::Util::Call to CPAN version 1.45

10 years agofix inadvertent removal during editing
Jesse Luehrs [Tue, 19 Jun 2012 05:20:28 +0000 (00:20 -0500)]
fix inadvertent removal during editing

10 years agoperldelta copyediting
Jesse Luehrs [Tue, 19 Jun 2012 05:07:03 +0000 (00:07 -0500)]
perldelta copyediting

10 years agoRevert perlfilter part of 318b791f053
Father Chrysostomos [Tue, 19 Jun 2012 03:43:03 +0000 (20:43 -0700)]
Revert perlfilter part of 318b791f053

The CPAN release has an old version.

10 years agowhoops, should be using $new_version here
Jesse Luehrs [Mon, 18 Jun 2012 22:44:04 +0000 (17:44 -0500)]
whoops, should be using $new_version here

10 years agouse the right default for MAP
Jesse Luehrs [Mon, 18 Jun 2012 22:30:07 +0000 (17:30 -0500)]
use the right default for MAP

10 years agomake sure podlators is skipped, it won't be handled correctly
Jesse Luehrs [Mon, 18 Jun 2012 22:25:18 +0000 (17:25 -0500)]
make sure podlators is skipped, it won't be handled correctly

10 years agobump Filter::Util::Call to CPAN version 1.44
Jesse Luehrs [Mon, 18 Jun 2012 22:03:26 +0000 (17:03 -0500)]
bump Filter::Util::Call to CPAN version 1.44

10 years agoteach sync-with-cpan how to update Maintainers.pl
Jesse Luehrs [Mon, 18 Jun 2012 21:39:25 +0000 (16:39 -0500)]
teach sync-with-cpan how to update Maintainers.pl

10 years agoupdate sync-with-cpan to handle dists with MAPped files
Jesse Luehrs [Mon, 18 Jun 2012 21:20:43 +0000 (16:20 -0500)]
update sync-with-cpan to handle dists with MAPped files

10 years agoensure 'make' updates all necessary files
Jesse Luehrs [Mon, 18 Jun 2012 21:17:33 +0000 (16:17 -0500)]
ensure 'make' updates all necessary files

moving files around doesn't change the mtime, and tarballs store the
mtime to use when untarring, so it's possible to end up with an updated
file with an mtime before the corresponding file in lib/

10 years agoget the dir name from the tarball filename
Jesse Luehrs [Mon, 18 Jun 2012 20:57:41 +0000 (15:57 -0500)]
get the dir name from the tarball filename

Filter::Util::Call comes from Filter-x.yz.tar.gz for instance, which
untars to Filter-x.yz, not Filter-Util-Call-x.yz as it was previously
assuming

10 years agoallow overriding version in this branch too
Jesse Luehrs [Mon, 18 Jun 2012 20:57:18 +0000 (15:57 -0500)]
allow overriding version in this branch too

10 years agonot sure why this is necessary
Jesse Luehrs [Mon, 18 Jun 2012 20:56:48 +0000 (15:56 -0500)]
not sure why this is necessary

10 years agoRemove some 5.002 and 5.003 compatibility code from Class::Struct.
Nicholas Clark [Mon, 18 Jun 2012 15:36:47 +0000 (17:36 +0200)]
Remove some 5.002 and 5.003 compatibility code from Class::Struct.

10 years agoAdd tests for all the error paths in Class::Struct.
Nicholas Clark [Mon, 18 Jun 2012 15:13:49 +0000 (17:13 +0200)]
Add tests for all the error paths in Class::Struct.

10 years agoAdd tests for Class::Struct constructors called with initialiser lists.
Nicholas Clark [Mon, 18 Jun 2012 14:24:23 +0000 (16:24 +0200)]
Add tests for Class::Struct constructors called with initialiser lists.

10 years agouse ppport.h for Storable on Perl 5.8.9
Zefram [Mon, 18 Jun 2012 13:31:24 +0000 (14:31 +0100)]
use ppport.h for Storable on Perl 5.8.9

Storable.xs requires a definition of dVAR, which on 5.8.9 is only supplied
by ppport.h.

10 years agoMerge fixes for Porting tests when building with -Dmksymlinks.
Nicholas Clark [Mon, 18 Jun 2012 12:30:52 +0000 (14:30 +0200)]
Merge fixes for Porting tests when building with -Dmksymlinks.

10 years agoAvoid tests converting @INC to abs paths where no longer necessary.
Nicholas Clark [Tue, 5 Jun 2012 14:07:40 +0000 (16:07 +0200)]
Avoid tests converting @INC to abs paths where no longer necessary.

As find_git_or_skip() no longer changes directory, no need to make paths in
@INC absolute in the various tests that use it.

10 years agoSet GIT_DIR instead of changing directory in find_git_or_skip() in test.pl
Nicholas Clark [Tue, 5 Jun 2012 13:55:22 +0000 (15:55 +0200)]
Set GIT_DIR instead of changing directory in find_git_or_skip() in test.pl

Return the directory of the source tree, so that tests can change directory
to it if necessary. Modify t/porting/cmp_version.t to change directory.

This gets t/porting/utils.t passing again under -Dmksymlinks, without breaking
t/porting/cmp_version.t. The former needs to run in the build tree as it
inspects various build products. The latter needs to run in the (real)
checkout tree, else it thinks that every single file has changed (into a
symlink).

10 years agoTeach Porting/cmpVERSION.pl about .pm files extracted from .pm_PL files.
Nicholas Clark [Sun, 3 Jun 2012 14:39:58 +0000 (16:39 +0200)]
Teach Porting/cmpVERSION.pl about .pm files extracted from .pm_PL files.

Previously these were overlooked - the generated .pm file corresponding to
an .xs file would be found on disk, but as that file was not in git, the
original $VERSION could not be determined and it would be skipped. Now the
correct master file is checked, and failed if it is not updated.

Without this change, t/porting/cmp_version.t currently fails for a build
using -Dmksymlinks, due to ext/DynaLoader/dl_vms.xs having recent changes.
The test changes directory to the original git checkout, and if that
checkout is clean, there is *no* ext/DynaLoader.pm file there, which meant
that the previous version of pm_file_from_xs() would die because it could
not figure out which Perl file relates to dl_vms.xs

10 years agoUpdate DynaLoader's VERSION after commit 7d08496d81c138d9.
Nicholas Clark [Sun, 3 Jun 2012 14:34:40 +0000 (16:34 +0200)]
Update DynaLoader's VERSION after commit 7d08496d81c138d9.

10 years agoIn Porting/cmpVERSION.pl, treat undefined versions more rigorously.
Nicholas Clark [Sun, 3 Jun 2012 14:04:47 +0000 (16:04 +0200)]
In Porting/cmpVERSION.pl, treat undefined versions more rigorously.

For any changed module, if the old version is undefined or unparseable, treat
it as a SKIP, not an OK. If the old version *was* parseable, but the current
version is not, treat that as a FAIL - moving from a parseable to an
unparseable version is a regression.

10 years agoIn Porting/cmpVERSION.pl, increment $count in one place, unconditionally.
Nicholas Clark [Sun, 3 Jun 2012 13:57:20 +0000 (15:57 +0200)]
In Porting/cmpVERSION.pl, increment $count in one place, unconditionally.

Previously it was only incremented if it was being used (as part of generating
TAP output). However, this was done as ++$count, necessitating using a printf
statement. By moving the increment to one place we can use print instead,
which is simpler, and avoid the risk of forgetting to increment $count if we
add a new block for different test output.

10 years agoSync Maintainers.pl with CPAN for Carp
Chris 'BinGOs' Williams [Mon, 18 Jun 2012 11:44:39 +0000 (12:44 +0100)]
Sync Maintainers.pl with CPAN for Carp

10 years agoUpdated podlators to CPAN version 2.4.2
Chris 'BinGOs' Williams [Thu, 7 Jun 2012 18:52:53 +0000 (19:52 +0100)]
Updated podlators to CPAN version 2.4.2

  [DELTA]

2012-06-01  Russ Allbery  <rra@stanford.edu>

  * VERSION: podlators 2.4.2 released.

  * t/text-encoding.t: Remove the test of a POD document without an
  encoding.  We previously tested that this interpreted the document
  as ISO 8859-1, but Pod::Simple behavior has changed so that the
  test started failing, plus Pod::Simple now warns about a missing
  =encoding.  (#77553)

2012-05-30  Russ Allbery  <rra@stanford.edu>

  * VERSION: podlators 2.4.1 released.

  * lib/Pod/Man.pm (parse_file): Override the Pod::Simple method to
  set output_fh to STDOUT if it's not already set.  (#77530)
  * lib/Pod/Text.pm (parse_file): Likewise.

10 years agoAdd perldelta entry for commit 4f46e52b00
Steve Hay [Mon, 18 Jun 2012 07:46:16 +0000 (08:46 +0100)]
Add perldelta entry for commit 4f46e52b00

Also wrap a long line.

10 years agoperldelta update
Father Chrysostomos [Mon, 18 Jun 2012 01:21:31 +0000 (18:21 -0700)]
perldelta update

10 years agobump version in Maintainers.pl to match what is in core
Jesse Luehrs [Mon, 18 Jun 2012 01:59:07 +0000 (20:59 -0500)]
bump version in Maintainers.pl to match what is in core

10 years agotypo fix
Jesse Luehrs [Mon, 18 Jun 2012 01:14:59 +0000 (20:14 -0500)]
typo fix

10 years agoupdate the core-cpan-diff section a bit
Jesse Luehrs [Mon, 18 Jun 2012 01:11:57 +0000 (20:11 -0500)]
update the core-cpan-diff section a bit

10 years agouse 'undef' instead of 'UNKNOWN' for -u
Jesse Luehrs [Mon, 18 Jun 2012 01:04:23 +0000 (20:04 -0500)]
use 'undef' instead of 'UNKNOWN' for -u