Nicholas Clark [Mon, 20 Jun 2011 08:33:23 +0000 (10:33 +0200)]
In TestInit, inline new_inc() and set_opt() into import(), their only caller.
Nicholas Clark [Sun, 19 Jun 2011 20:06:08 +0000 (22:06 +0200)]
In find_git_or_skip(), also check whether we have a working git executable.
Otherwise we trip up if someone copies an entire git checkout to another
machine that doesn't have (or support git), or NFS mounts their active
checkout onto it, or simply doesn't have git in their PATH currently.
Nicholas Clark [Sun, 19 Jun 2011 19:44:37 +0000 (21:44 +0200)]
find_git_or_skip() will now follow symlinks and chdir to the real source tree.
porting{authors,cmp_version,manifest}.t now use TestInit qw(T A) to set @INC
and $^X to absolute paths, in case find_git_or_skip() changes directory.
As $^X is now absolute, there's no need to choose between '/' and '\\' based
on $^O.
Nicholas Clark [Sun, 19 Jun 2011 18:35:39 +0000 (20:35 +0200)]
Use find_git_or_skip() in porting{authors,cmp_version,manifest}.t
Correct the skip count in t/porting/manifest.t. Not that this matters
currently, as the SKIP block holds the last tests in the file, and the script
uses done_testing() instead of a plan up front.
Nicholas Clark [Sun, 19 Jun 2011 18:34:37 +0000 (20:34 +0200)]
Add find_git_or_skip(), which skips if we are not in a git checkout.
Nicholas Clark [Sun, 19 Jun 2011 17:56:57 +0000 (19:56 +0200)]
use TestInit 'T' in porting{authors,cmp_version,manifest}.t to chdir '..'
These three tests run git commands from the top level of the build tree, so
need to chdir '..' if run from 't'. use TestInit 'T' to do this, as it simplify
adapting the tests to also work when the build tree is a symlink forest from
-Dmksymlinks. TestInit also sets $ENV{PERL5LIB}, avoiding the need to use -Ilib
on the command line of the programs they run.
t/porting/manifest.t now runs throughout at the top level, which simplifies it
slightly.
Nicholas Clark [Sun, 19 Jun 2011 17:39:07 +0000 (19:39 +0200)]
Add an import option 'T' to TestInit, for tests that run at the top level.
This sets @INC to 'lib, and unless we're already at the top level will
chdir '..' [on the assumption that we are starting in t].
Nicholas Clark [Sun, 19 Jun 2011 17:10:51 +0000 (19:10 +0200)]
In TestInit.pm, move the default chdir and @INC code into import().
The behaviour is consistent with previous behaviour, as the equivalent of the
new code used to be run at the top level, hence would happen (unconditionally)
before import() was called.
Nicholas Clark [Sun, 19 Jun 2011 16:13:38 +0000 (18:13 +0200)]
In TestInit.pm, merge two substitutions into one.
Both are intended to transform ./perl into ../../perl, one for forward slashes,
one for backslashes.
Father Chrysostomos [Wed, 22 Jun 2011 15:36:45 +0000 (08:36 -0700)]
Remove another CvLVALUE check from pp_leavesublv
Father Chrysostomos [Wed, 22 Jun 2011 15:35:03 +0000 (08:35 -0700)]
Move pp_leavesublv from pp_hot.c to pp_ctl.c
This is so that it can share code with pp_return. I was going to move
pp_return into pp_hot.c, but it uses static functions that other pp_
functions in pp_ctl.c use.
Father Chrysostomos [Wed, 22 Jun 2011 15:32:36 +0000 (08:32 -0700)]
Remove the CvLVALUE check from pp_leavesub
As of bb3abb0, this can no longer happen.
Chris 'BinGOs' Williams [Wed, 22 Jun 2011 16:10:36 +0000 (17:10 +0100)]
Update IO-Compress to CPAN version 2.037
[DELTA]
2.037 22 June 2011
* IO::Uncompress
- get globmapper tests working on VMS
[RT# 68926]
* IO::Uncompress::Unzip
- Fixed limitation where Streamed Stored content was not supported.
Chris 'BinGOs' Williams [Wed, 22 Jun 2011 15:53:47 +0000 (16:53 +0100)]
Update Compress-Raw-Zlib to CPAN version 2.037
[DELTA]
2.037 22 June 2011
* No Changes
Chris 'BinGOs' Williams [Wed, 22 Jun 2011 15:50:10 +0000 (16:50 +0100)]
Update Compress-Raw-Bzip2 to CPAN version 2.037
[DELTA]
2.037 22 June 2011
* No Changes
Chris 'BinGOs' Williams [Wed, 22 Jun 2011 15:41:43 +0000 (16:41 +0100)]
Update IPC-Cmd to CPAN version 0.72
[DELTA]
Changes for 0.72 Wed Jun 22 12:29:59 BST 2011
=================================================
* Added IPC::Open3 support for capturing STDOUT/STDERR
on MSWin32, prefer this over IPC::Run
Father Chrysostomos [Wed, 22 Jun 2011 15:19:55 +0000 (08:19 -0700)]
attrs.t: Test for something I almost broke
Father Chrysostomos [Wed, 22 Jun 2011 06:02:25 +0000 (23:02 -0700)]
attributes.pm: warn & don’t apply :lvalue to defined subs
This is something that ‘sub foo :lvalue;’ declarations do. This brings
attributes.pm in line with them.
See commits fff96ff and 885ef6f, ticket #68758, and
<
364E1F98-FDCC-49A7-BADB-
BD844626B8AE@cpan.org>.
Father Chrysostomos [Tue, 21 Jun 2011 21:52:50 +0000 (14:52 -0700)]
Increase $attributes::version to 0.15
I’m about to make changes to it.
Nicholas Clark [Sat, 18 Jun 2011 14:34:50 +0000 (16:34 +0200)]
In Cwd.xs, swap to defaulting to disabled prototypes.
As only 1 function enables prototypes, it seems sensible to set the default to
the majority case.
Nicholas Clark [Sat, 18 Jun 2011 14:13:00 +0000 (16:13 +0200)]
Merge the implementation of Cwd::{fastcwd,getcwd} using ALIAS.
Nicholas Clark [Sat, 18 Jun 2011 13:09:24 +0000 (15:09 +0200)]
In Cwd.xs on VMS, don't compile bsd_realpath() at all.
On VMS, call Perl_rmsexpand() directly from abs_path(), instead of making
bsd_realpath() a trivial wrapper to Perl_rmsexpand().
Initialise path at the point of declaration, instead of separately. Use
sv_setpv_mg() instead of sv_setpvn() with an explicit strlen(), changing
PUSHTARG to PUSHs(TARG) to avoid setting magic twice.
Nicholas Clark [Sat, 18 Jun 2011 12:46:08 +0000 (14:46 +0200)]
Add PERL_NO_GET_CONTEXT to Cwd.
Nicholas Clark [Sat, 18 Jun 2011 12:42:07 +0000 (14:42 +0200)]
In Cwd::_win32_cwd() avoid a string eval when checking if we're miniperl.
To allow ExtUtils::MakeMaker to run tests as if it's "miniperl" we need to avoid
taking any sort of reference to the typeglob or the code in the optree, as its
test modules are loaded later than Cwd. Previously this was done with a string
eval, but that was causing problems (for unclear reasons - rt.cpan.org #56225).
Using a symbol table lookup and *foo{THING} syntax avoids the string eval.
Evolved from a suggestion by Reini Urban.
Nicholas Clark [Wed, 22 Jun 2011 10:44:05 +0000 (12:44 +0200)]
Trim multiple blank lines above =item in pod files.
This makes many documents more consistent in their pod formatting. Don't trim
blank lines between verbatim blocks and =item, as removing them makes the (raw)
pod harder to read.
Nicholas Clark [Wed, 22 Jun 2011 09:56:50 +0000 (11:56 +0200)]
The podchecker much prefers a forward slash in F<symbian/TODO>
It looks for the file within the F<> - on *nix, 'symbian\TODO' doesn't exist,
so the line is flagged as a known issue. On Windows, it does exist (because
at the API level, / and \ are both valid as directory separators), so there is
no known issue, and the test fails with a request to delete the known issue.
README.symbian is not consistent in its use of backward or forward slashes
inside F<> markup, so this isn't the first use of a forward slash.
(The podchecker has other exemption rules for F<>, hence why this doesn't
matter in some cases.)
Chris 'BinGOs' Williams [Tue, 21 Jun 2011 20:41:34 +0000 (21:41 +0100)]
Update IO-Compress to CPAN version 2.036
[DELTA]
2.036 18 June 2011
* IO::Compress::Zip & IO::Uncompress::Unzip
- Added support for LZMA (method 14) compression/uncompresion.
* IO::Compress::Unzip
- Fixed CRC issue when compression is Store or Bzip2 and Strict option
is set.
* IO::Compress::Zip
- Fixed Zip64 issue where the content size is exactly 0xFFFFFFFF
Chris 'BinGOs' Williams [Tue, 21 Jun 2011 20:29:05 +0000 (21:29 +0100)]
Update Compress-Raw-Zlib to CPAN version 2.036
[DELTA]
2.036 6 May 2011
* Added offset parameter to CRC32
Chris 'BinGOs' Williams [Tue, 21 Jun 2011 20:15:55 +0000 (21:15 +0100)]
Update Compress-Raw-Bzip2 to CPAN version 2.036
[DELTA]
2.036 18 June 2011
* No Changes
Father Chrysostomos [Tue, 21 Jun 2011 20:37:45 +0000 (13:37 -0700)]
podcheck.t: ignore buildtoc output
Father Chrysostomos [Tue, 21 Jun 2011 19:46:55 +0000 (12:46 -0700)]
Re-clarify the pod.lst instruction
Well, it was unclear enough that I misunderstood it and my
previous clarification was wrong. This corrects it.
Father Chrysostomos [Tue, 21 Jun 2011 20:33:47 +0000 (13:33 -0700)]
Stop ‘sub :lvalue :Foo’ from applying :lvalue to defined subs
This is something that commit 885ef6f missed. See ticket #68758 and
the perldelta diff in this commit.
I thought that the prototype-application inconsistencies mention in
<
2C7C1BF5-A814-4F5E-B10E-
E431B71BA8CA@cpan.org> would get in the way
of this, but I found that the easiest way to fix it actually did not
change any of that. So those issues can wait till another day.
Nicholas Clark [Tue, 21 Jun 2011 19:50:32 +0000 (21:50 +0200)]
Re-flow some sample text in the perldelta template to avoid an overlong line.
Porting/perldelta_template.pod is exempt from t/porting/podchecker.t, but when
its contents are copied as pod/perldelta.pod, that file is not. This change
reduces the amount of work the release manager needs to do to create a new
perldelta.
Nicholas Clark [Tue, 21 Jun 2011 18:54:21 +0000 (20:54 +0200)]
Add perldelta "known issues" to the podchecker exception list.
Porting/perldelta_template.pod is exempted from t/porting/podchecker.t
Hence when it is copied to pod/perldelta.pod, exceptions need to be added for
certain template boilerplate it contains, which are not valid pod
(but ultimately will be edited out before the release).
This doesn't seem ideal, but I'm not sure of a better way to do this.
Nicholas Clark [Tue, 21 Jun 2011 17:51:51 +0000 (19:51 +0200)]
Add perl5151delta to pod.lst and regenerate makefiles.
Father Chrysostomos [Tue, 21 Jun 2011 15:43:11 +0000 (08:43 -0700)]
Clarify the pod.lst instruction in rm guide
Father Chrysostomos [Tue, 21 Jun 2011 15:41:54 +0000 (08:41 -0700)]
Grrr! I always forget to add new files
Eric Brine [Wed, 2 Mar 2011 22:30:17 +0000 (17:30 -0500)]
[perl #78462] Don't warn for splice(@a,MAX_LEN)
The intent of splice(@a,MAX_LEN) is quite clearly to truncate
the array if it's too large. There's no reason to warn if it's
currently smaller than the max length.
Father Chrysostomos [Tue, 21 Jun 2011 15:37:04 +0000 (08:37 -0700)]
create perldelta for 5.15.1
Father Chrysostomos [Tue, 21 Jun 2011 05:31:01 +0000 (22:31 -0700)]
Increase $Storable::VERSION to 2.29
Father Chrysostomos [Tue, 21 Jun 2011 05:26:08 +0000 (22:26 -0700)]
Add Sam Kimbrel to AUTHORS
Sam Kimbrel [Tue, 21 Jun 2011 05:24:42 +0000 (22:24 -0700)]
[perl #92432] Storable::nfreeze shouldn't stringify ints
Storable::nfreeze's integer size check doesn't work correctly:
Using nfreeze to store an int larger than one byte produces a
frozen representation that thaws into a stringified integer, without
my having done string operations on the scalar beforehand.
I've confirmed this bug with the three versions I had available to me:
5.8.9 on 64-bit CentOS 4, 5.12.1 on 64-bit OS X 10.6, and
5.14.0 on 64-bit Debian squeeze.
The constants involved in the comparisons get created as 32-bit integers,
which wrap around and cause the comparison to yield true when it shouldn't.
This patch casts the constants before using them, which should make this
port correctly to 64-bit architectures. Running tests on a 64-bit Debian
host shows no problems.
Nicholas Clark [Tue, 21 Jun 2011 15:00:52 +0000 (17:00 +0200)]
In pod/buildtoc, use abs_from_top() to generate pathnames.
88fb56ecc95f23db used 'pod/perldelta.pod' instead of abs_from_top(), and broke
the build on Win32, which runs buildtoc from the win32 directory.
Zefram [Tue, 21 Jun 2011 13:52:32 +0000 (14:52 +0100)]
update Time-HiRes to CPAN version 1.9724
- Correct XS parameter list, and therefore prototype, for
unimplemented-on-this-platform version of clock_nanosleep()
[rt.cpan.org #68700].
- Declare package variables with "our" rather than "use vars".
- Corresponding to "our" usage, check for minimum Perl version
5.006.
- Declare module dependencies.
- Remove $ENV{PERL_CORE} logic from test suite, which is no
longer desired in the core.
- Convert test suite to use Test::More.
- Factor out watchdog code from test suite.
- In test suite, be consistent about using fully-qualified form
of function names.
- Divide test suite into feature-specific scripts.
- Make ualarm timing test less vulnerable to delay-induced false
failure, from Dave Mitchell.
Zefram [Tue, 21 Jun 2011 13:37:37 +0000 (14:37 +0100)]
update Math-Complex to CPAN version 1.58
* Declare package variables with "our" rather than "use vars".
* Corresponding to "our" usage, check for minimum Perl version
5.006.
* Remove $ENV{PERL_CORE} logic from test suite, which is no
longer desired in the core.
* In test suite, remove obsolete and now-incomplete handling of
unavailability of Test::More.
* Declare module dependencies.
David Golden [Tue, 21 Jun 2011 14:50:33 +0000 (10:50 -0400)]
update release schedule document
Karl Williamson [Mon, 20 Jun 2011 19:35:38 +0000 (13:35 -0600)]
perlunicode: Narrow verabitm lines so don't wrap
For 80 columns, this collection of spacing changes keeps all
lines in this pod from wrapping.
Karl Williamson [Mon, 20 Jun 2011 01:56:41 +0000 (19:56 -0600)]
podcheck.t: sort --add_link output
The recently added --add_link option just appended lines to the end of
the data base file. While this works, it means that the next time the
db is regen'd, that they will move around and show up in difference
listings unrelated to the original patch, thus potentially confusing
people.
Karl Williamson [Sun, 19 Jun 2011 19:12:18 +0000 (13:12 -0600)]
podcheck.t: Reduce F<> message false positives
podcheck looks for things that might be file path references which
are enclosed in C<> instead of F<>. But there are some things that
aren't paths that have slashes in them, like "origin/blead" This
adds some more of these.
Karl Williamson [Sun, 19 Jun 2011 19:11:25 +0000 (13:11 -0600)]
podcheck.t: White-space only changes
Karl Williamson [Sun, 19 Jun 2011 19:06:22 +0000 (13:06 -0600)]
podcheck: Reduce fals positives for L<> message
podcheck looks for things like "See C<INSTALL>" and flags them as
perhaps L<> should have been used instead. It was giving false
positives for things like "if you do x, you should see C<foo>". This
catches those.
Karl Williamson [Sun, 19 Jun 2011 18:48:51 +0000 (12:48 -0600)]
podcheck: Fix skip upstream cpan
Normally upstream cpan modules are not pod checked, but in the
one case where two had the same name, an error was generated
nonetheless.
Karl Williamson [Sun, 19 Jun 2011 16:20:32 +0000 (10:20 -0600)]
podcheck.t: Fewer false positives for L<>
If there is a F<foo/bar> and a file named bar in the directory foo
exists, then assume that is what was meant, instead of raising
the possibility that L<> was meant.
Karl Williamson [Sun, 19 Jun 2011 16:12:11 +0000 (10:12 -0600)]
podcheck.t: Suppress all L<> messages for config.pod
config.pod is a generated file that just adds C<> around all-caps words.
Until such time as it is made smarter to use L<> for links instead,
just suppress the messages that L<> might be better.
Karl Williamson [Sat, 18 Jun 2011 20:34:55 +0000 (14:34 -0600)]
File::Find pod: fix link issue
Karl Williamson [Sat, 18 Jun 2011 20:26:08 +0000 (14:26 -0600)]
README.macosx: Change C<> into F<>
Karl Williamson [Sat, 18 Jun 2011 20:06:32 +0000 (14:06 -0600)]
perlapi: fix broken link, from sv.c
Karl Williamson [Sat, 18 Jun 2011 20:03:17 +0000 (14:03 -0600)]
README.ce: Change some C<> into F<>
Karl Williamson [Sat, 18 Jun 2011 19:54:56 +0000 (13:54 -0600)]
perlcygwin: Fix broken link
Karl Williamson [Sat, 18 Jun 2011 19:51:31 +0000 (13:51 -0600)]
perlfunc: Fix some link issues
Karl Williamson [Sat, 18 Jun 2011 19:41:14 +0000 (13:41 -0600)]
perlhack: Change some C<> into F<>
Karl Williamson [Sat, 18 Jun 2011 19:39:32 +0000 (13:39 -0600)]
perlhaiku: Change some C<> into F<>
Karl Williamson [Sat, 18 Jun 2011 19:37:20 +0000 (13:37 -0600)]
make_patchnum.pl: Change some C<> into F<>
Karl Williamson [Sat, 18 Jun 2011 19:32:33 +0000 (13:32 -0600)]
perltodo: Change some C<> into F<>
Karl Williamson [Sat, 18 Jun 2011 17:03:00 +0000 (11:03 -0600)]
perlrun: Fix some link issues
Karl Williamson [Sat, 18 Jun 2011 16:59:44 +0000 (10:59 -0600)]
perlunifaq: Use L<> to actual link instead of C<>
Karl Williamson [Sat, 18 Jun 2011 16:57:22 +0000 (10:57 -0600)]
perlxs: Fix broken link
Karl Williamson [Sat, 18 Jun 2011 16:51:30 +0000 (10:51 -0600)]
podcheck.t: Fix typo
The match for the ">" that ends a C<> was misplaced, and should be
after looking for a file suffix. This caused some messages to be missed
Karl Williamson [Sat, 18 Jun 2011 16:47:08 +0000 (10:47 -0600)]
podcheck: Dashes often occur in file names
Karl Williamson [Sat, 18 Jun 2011 19:16:59 +0000 (13:16 -0600)]
perlretut: Fix link problem
Karl Williamson [Sat, 18 Jun 2011 16:36:49 +0000 (10:36 -0600)]
podcheck: Improve heuristics for L<>
podcheck.t uses heuristics to decide if something like a C<> should
instead be a L<>. As noted in the comments, this adds some more checks
to eliminate some false positives
Nicholas Clark [Tue, 21 Jun 2011 09:46:00 +0000 (11:46 +0200)]
No need for D and d flags in pod.lst - source is fixed, and contains the target
As the edited perldelta is now always pod/perldelta.pod (instead of a file with
version numbers in it), we don't need a 'D' flag to mark it. As perldelta.pod
contains within itself the number of the version it refers to, we can use that
to infer the 'd' flag for the target filename.
This simplifies the release manager's tasklist for version bumping.
Nicholas Clark [Tue, 21 Jun 2011 08:37:49 +0000 (10:37 +0200)]
Record L<YAML::Syck> as a link to a known external module.
Previously it was seen as a broken link, and a "known issue" flagged against
perldelta, permitting podcheck.t to pass.
David Golden [Tue, 21 Jun 2011 06:22:22 +0000 (02:22 -0400)]
Update epigraphs.pod for 5.15.0
David Golden [Mon, 20 Jun 2011 23:07:28 +0000 (19:07 -0400)]
podcheck.t: update known issues
David Golden [Mon, 20 Jun 2011 22:45:53 +0000 (18:45 -0400)]
perldelta: note YAML::Syck as known issue
David Golden [Mon, 20 Jun 2011 21:15:11 +0000 (17:15 -0400)]
perldelta: put some things in C<> tags
David Golden [Mon, 20 Jun 2011 21:04:13 +0000 (17:04 -0400)]
perlhist: add 5.15.0 and 5.14.1 entries
Chris 'BinGOs' Williams [Mon, 20 Jun 2011 21:14:19 +0000 (22:14 +0100)]
Fix for slight inconsistency in perldelta
David Golden [Mon, 20 Jun 2011 21:01:00 +0000 (17:01 -0400)]
perldelta: removed confusing XSLoader commentary
David Golden [Mon, 20 Jun 2011 20:59:50 +0000 (16:59 -0400)]
perldelta: add Math::Trig to entry for Math::Complex
David Golden [Mon, 20 Jun 2011 20:55:55 +0000 (16:55 -0400)]
Update Module::CoreList for 5.15.0
David Golden [Mon, 20 Jun 2011 20:45:06 +0000 (16:45 -0400)]
perldelta: final draft
David Golden [Mon, 20 Jun 2011 20:31:51 +0000 (16:31 -0400)]
perldelta: additional pre-release amendments
David Golden [Mon, 20 Jun 2011 19:58:14 +0000 (15:58 -0400)]
update Changes with 5.15.0 references
David Golden [Mon, 20 Jun 2011 19:56:32 +0000 (15:56 -0400)]
update INSTALL with 5.15.0 references
David Golden [Mon, 20 Jun 2011 19:52:55 +0000 (15:52 -0400)]
tweak perlhack and update known POD issues
David Golden [Mon, 20 Jun 2011 19:37:31 +0000 (15:37 -0400)]
Update CUSTOMIZED in Maintainers.pl
Several cpan-upstream distributions had patches directly in blead
that do not match the upstream distribution. These are all
now noted as CUSTOMIZED for future tracking.
David Golden [Mon, 20 Jun 2011 19:02:50 +0000 (15:02 -0400)]
Maintainers.PL: update Getopt::Long CUSTOMIZED
David Golden [Mon, 20 Jun 2011 18:45:37 +0000 (14:45 -0400)]
Revert autodie version bump
autodie has not changed from CPAN, though blead has locally patched
a single test file to avoid a platform specific failure.
This change keeps the original CPAN version numbering, as the
local test file patch is now tracked in Porting/Maintainers.pl
David Golden [Mon, 20 Jun 2011 18:43:56 +0000 (14:43 -0400)]
Add CUSTOMIZED for autodie and CGI
David Golden [Mon, 20 Jun 2011 18:40:47 +0000 (14:40 -0400)]
Improve tracking of cpan-upstream overrides
We have the CUSTOMIZED field in Maintainers.pl for indicating where we
expect blead to differ from a CPAN tarball. This commit documents that
in perlhack and makes core-cpan-diff more aggressive about checking it
and reporting about it.
David Golden [Mon, 20 Jun 2011 17:39:42 +0000 (13:39 -0400)]
perldelta: pre-release partial cleanup
Leon Brocard [Mon, 20 Jun 2011 14:09:17 +0000 (15:09 +0100)]
Talk to Leo about dev.perl.org, not Rafael
Leon Brocard [Mon, 20 Jun 2011 13:44:46 +0000 (14:44 +0100)]
Create pod/perl5125delta.pod
Leon Brocard [Mon, 20 Jun 2011 13:06:19 +0000 (14:06 +0100)]
Add the 5.12.4 epigraph to Porting/epigraphs.pod
Leon Brocard [Mon, 20 Jun 2011 07:12:13 +0000 (08:12 +0100)]
Add 5.12.4 release date to pod/perlhist.pod
Leon Brocard [Mon, 20 Jun 2011 07:01:54 +0000 (08:01 +0100)]
Add release date for 5.12.4 to lib/Module/CoreList.pm
Father Chrysostomos [Mon, 20 Jun 2011 01:07:23 +0000 (18:07 -0700)]
Add Shigeya Suzuki’s new address to checkAUTHORS.pl
Shigeya Suzuki [Mon, 20 Jun 2011 01:05:50 +0000 (18:05 -0700)]
author email address change