This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
David Golden [Fri, 21 Jan 2011 20:44:52 +0000 (15:44 -0500)]
Fix up MANIFEST and update Maintainers.pl for ExtUtils::CBuilder
David Golden [Fri, 21 Jan 2011 20:43:53 +0000 (15:43 -0500)]
Update Maintainers.pl for ExtUtils-CBuilder-0.280201
David Golden [Fri, 21 Jan 2011 20:38:19 +0000 (15:38 -0500)]
remove Changes file from dist/ExtUtils-CBuilder
Chip Salzenberg [Fri, 21 Jan 2011 20:41:51 +0000 (12:41 -0800)]
Since xmldump_packsubs does not actually output XML, don't call it from xmldump_all.
Craig A. Berry [Fri, 21 Jan 2011 19:12:13 +0000 (13:12 -0600)]
Don't export PerlIORaw_open if it doesn't exist anymore.
Follow-up to
ecfd064986aef03b9b7d8b56da83ae37ff435721.
Craig A. Berry [Fri, 21 Jan 2011 19:08:05 +0000 (13:08 -0600)]
PerlIO_push returns NULL, not -1, on failure.
Follow-up to
81fe74fb3f93457df8e864c91546ac6b860657fc.
David Mitchell [Fri, 21 Jan 2011 17:23:51 +0000 (17:23 +0000)]
RT #75870 perldata.pod tied hash in scalar context
update inaccurate description.
Karl Williamson [Fri, 21 Jan 2011 16:55:28 +0000 (09:55 -0700)]
Add x-references in pods to new /a, etc.
Nicholas Clark [Fri, 21 Jan 2011 16:58:28 +0000 (16:58 +0000)]
In buildtoc, eliminate a substitution which mangles nested package names.
It's not clear what the intent of s/(\w+)::\1/$1/; was, but it converts
"autodie::exception" to "autodiexception" (etc), which is clearly buggy.
The regexp has been in pod/buildtoc since it was added in
cb1a09d0194fed9b.
Nicholas Clark [Fri, 21 Jan 2011 16:29:18 +0000 (16:29 +0000)]
In buildtoc, move the local $/ = ''; to the scope of the file it relates to.
Nicholas Clark [Fri, 21 Jan 2011 16:17:30 +0000 (16:17 +0000)]
In buildtoc, refactor the flow logic in podset() to avoid most uses of next.
Father Chrysostomos [Fri, 21 Jan 2011 16:26:50 +0000 (08:26 -0800)]
[perl #81750] Perl 5.12: undef-as-hashref bug
The addition of the boolkeys op type in commit
867fa1e2d did not
account for the fact that rv2hv (%{}) can sometimes return undef
(%$undef with strict refs turned off).
When the boolkeys op is created (and the rv2hv becomes its kid), the
rv2hv is flagged with OPf_REF, meaning that it must return a hash, not
the contents.
Perl_softrefxv in pp.c checks for that flag. If it is set, it dies
with ‘Can't use an undefined value as a HASH reference’ for unde-
fined values.
This commit changes it to make an exception if rv2hv->op_next is a
boolkeys op. It also changes pp_boolkeys to account for undef.
Nicholas Clark [Fri, 21 Jan 2011 15:06:19 +0000 (15:06 +0000)]
In buildtoc, eliminate the now vestigial sub output.
Nicholas Clark [Fri, 21 Jan 2011 15:00:19 +0000 (15:00 +0000)]
In buildtoc, call Text::Wrap::wrap() just before output.
Previously output() wrapped as it went along. This change renders output()
vestigial.
Nicholas Clark [Fri, 21 Jan 2011 14:43:25 +0000 (14:43 +0000)]
In buildtoc, remove whitespace only lines just before output.
Previously output() eliminated whitespace only lines. Whilst this change itself
adds code, it makes the logic clearer, which will permit more simplification.
Nicholas Clark [Fri, 21 Jan 2011 14:33:46 +0000 (14:33 +0000)]
In buildtoc, fold multiple newlines just before output.
Previously output() tracked newlines, and ignored more than 2 in a row. That
used more code, and a "global" variable for state.
Nicholas Clark [Fri, 21 Jan 2011 14:15:34 +0000 (14:15 +0000)]
In buildtoc, accumulate all perltoc.pod content before outputting it to disk.
David Mitchell [Fri, 21 Jan 2011 10:25:03 +0000 (10:25 +0000)]
add GvCV_set() and GvGP_set() macros.
and make GvCV() and GvGP() rvalue-only.
This it to allow a future commit to eliminate some backref magic between
GV and CVs, which will require complete control over assignment to the
gp_cv slot.
David Mitchell [Thu, 20 Jan 2011 16:30:55 +0000 (16:30 +0000)]
XS-APItest/t/caller.t: mark two passing tests
There are four TODO tests in caller.t, relating to the hints hash returned
under the debugger. Since
20439bc77dfeec46d94a15cf108446039e26c995, two
of these tests has started to pass. I don't understand this area enough
to know whether that commit *should* have made them pass, but it
seems fairly consistent. So un-TODO just those two.
This means that under the debugger, we now expect to get a hints hash, but
that its contents are still wrong.
Nicholas Clark [Fri, 21 Jan 2011 13:36:05 +0000 (13:36 +0000)]
In buildtoc, eliminate nl() by adding an explicit "\n" at its two use points.
Nicholas Clark [Fri, 21 Jan 2011 11:41:42 +0000 (11:41 +0000)]
In buildtoc, the module de-duplication logic applies equally to pragmata.
Nicholas Clark [Fri, 21 Jan 2011 11:31:26 +0000 (11:31 +0000)]
In buildtoc, inline path2modname() into its only caller.
Nicholas Clark [Fri, 21 Jan 2011 10:51:53 +0000 (10:51 +0000)]
No need for buildtoc to scan ext/, now that it runs after the build process.
Since
7eb47696deb9a734, buildtoc has been run as part of the build process,
hence it has all modules copied to lib/ from ext/ (dist/ and cpan/), where
its scan finds them.
Previously it was run by the committers as and when (and sometimes not often
enough), and the generated pod/perltoc.pod checked in. Hence it might be run
on a clean checkout, and so couldn't assume that everything would be in lib/
This scan of lib/ is why buildtoc can still pick up all the modules, despite
their migration to cpan/ and dist/, which it has no idea about.
Also, scanning lib/ rather than ext/ means that Pod for modules that are not
being installed on this platform won't be included, which makes for a more
accurate perltoc.pod
Nicholas Clark [Fri, 21 Jan 2011 10:49:01 +0000 (10:49 +0000)]
Teach buildtoc that - in filenames in ext/ represents :: in the package name.
Previously it was treating - as a literal - in the name, and hence was
considering that files found in ext/ and in lib/ were different packages.
This has been a problem since the restructuring of ext/
Nicholas Clark [Fri, 21 Jan 2011 10:19:12 +0000 (10:19 +0000)]
Remove commented out code from buildtoc
Also remove code that would die if the filename matched TUT, which seems never
to have served any useful purpose.
Robin Barker [Fri, 21 Jan 2011 09:45:33 +0000 (09:45 +0000)]
Nicholas Clark [Fri, 21 Jan 2011 09:29:23 +0000 (09:29 +0000)]
Remove training whitespace in Pod which can confuse pod/buildtoc
Some whitespace is being interpreted as "not a blank line" causing it (and
possibly other parsers) to assume that subsequent text is part of the preceding
=head or =item
Nicholas Clark [Fri, 21 Jan 2011 09:28:46 +0000 (09:28 +0000)]
Remove training whitespace in Pod which can confuse pod/buildtoc
Some whitespace is being interpreted as "not a blank line" causing it (and
possibly other parsers) to assume that subsequent text is part of the preceding
=head or =item
Nicholas Clark [Fri, 21 Jan 2011 09:26:24 +0000 (09:26 +0000)]
Remove training whitespace in Pod which can confuse pod/buildtoc
Some whitespace is being interpreted as "not a blank line" causing it (and
possibly other parsers) to assume that subsequent text is part of the preceding
=head or =item
Nicholas Clark [Thu, 20 Jan 2011 17:12:50 +0000 (17:12 +0000)]
In buildtoc, remove a superfluous length in output()
If \S matches, then length must be non-zero, and therefore true.
This dates to commit
8ebc5c0145d2e355, when output() was added.
Nicholas Clark [Thu, 20 Jan 2011 16:54:17 +0000 (16:54 +0000)]
In buildtoc, remove a superfluous "\n " passed to output()
This is actually a hangover from the original code which used print directly,
left in as part of the refactoring that added sub output in
8ebc5c0145d2e355.
The machinations of output() mean that this "\n " generate no actual output,
hence the output of buildtoc is unchanged.
Nicholas Clark [Wed, 19 Jan 2011 12:01:44 +0000 (12:01 +0000)]
Convert threads-shared/t/disabled.t from Test to Test::More.
Curiously it was the only test of Threads::Shared that used Test.
Nicholas Clark [Wed, 19 Jan 2011 11:36:30 +0000 (11:36 +0000)]
Convert lib/Pod/t/utils.t from Test to Test::More
Curiously this test file is not part of the Pod-Parser distribution.
Tony Cook [Fri, 21 Jan 2011 08:11:57 +0000 (19:11 +1100)]
depend on files needed for porting/buildtoc.t
Tony Cook [Fri, 21 Jan 2011 08:03:36 +0000 (19:03 +1100)]
quote the pod filename used in the regexp to avoid \ issues on Win32
Chris 'BinGOs' Williams [Fri, 21 Jan 2011 07:41:22 +0000 (07:41 +0000)]
Update Changes in Module::CoreList for the 2.42_01 release
Karl Williamson [Fri, 21 Jan 2011 04:11:28 +0000 (21:11 -0700)]
regcomp.c: Refactor macro so works on EBCDIC, clarity
_C_C_T was being passed both a test and the value to put the test on, whereas
the value is actually setup inside the macro, which is not a clean interface,
and would not work on EBCDIC, as the loop bounds are for ASCII. By just
passing the test name, the macro can generate code that will work also on
EBCDIC.
Unfortunately, the same can't happen for the NOLOC version of the macro, as it
needs to look at more than a single byte, so needs an address.
Karl Williamson [Thu, 20 Jan 2011 15:38:58 +0000 (08:38 -0700)]
mktables: Clarify comment
Michael Stevens [Thu, 20 Jan 2011 13:55:46 +0000 (13:55 +0000)]
Fixed patch for 5.10.0 link.
Michael Stevens [Thu, 20 Jan 2011 13:39:46 +0000 (13:39 +0000)]
Update old activestate links to point to git.
Michael Stevens [Wed, 19 Jan 2011 12:41:29 +0000 (12:41 +0000)]
Fix pod bug - bare =item
Michael Stevens [Wed, 19 Jan 2011 14:01:19 +0000 (14:01 +0000)]
Porting pod lint.
Leon Timmermans [Thu, 20 Jan 2011 21:06:38 +0000 (22:06 +0100)]
Fixes 'raw' layer for perl#80764
Made a ':raw' open do what it advertises to do (first open the file,
then binmode it), instead of leaving off the top layer.
Leon Timmermans [Thu, 20 Jan 2011 21:04:39 +0000 (22:04 +0100)]
Use PerlIOBase_open for pop, utf8 and bytes layers
Leon Timmermans [Thu, 20 Jan 2011 20:08:34 +0000 (21:08 +0100)]
Define PerlIOBase_open
Jesse Vincent [Fri, 21 Jan 2011 00:37:14 +0000 (19:37 -0500)]
Fix a typo in the description of \p{} fixes
Jesse Vincent [Fri, 21 Jan 2011 00:30:17 +0000 (19:30 -0500)]
Bump the version we're describing in perldelta acknowledgements
Jesse Vincent [Fri, 21 Jan 2011 00:27:40 +0000 (19:27 -0500)]
Remove the "for later" from the 5.13.9 perldelta
Jesse Vincent [Thu, 20 Jan 2011 23:36:35 +0000 (18:36 -0500)]
Bump the perl -V copyright message, as it's now 2011
Jesse Vincent [Thu, 20 Jan 2011 23:08:49 +0000 (18:08 -0500)]
Update perlhist.pod with today's date and my name
Jesse Vincent [Thu, 20 Jan 2011 23:05:19 +0000 (18:05 -0500)]
When I dropped the Module::CoreList version due to potential conflicts
with 5.12.3 after discussions with BinGOs, I missed one place the version
number was defined.
Tony Cook [Thu, 20 Jan 2011 22:51:37 +0000 (09:51 +1100)]
provide an explicit cast to the enum parameter for C++
Jesse Vincent [Thu, 20 Jan 2011 22:56:36 +0000 (17:56 -0500)]
Further perldelta cleanup
Ævar Arnfjörð Bjarmason [Thu, 20 Jan 2011 22:31:29 +0000 (22:31 +0000)]
Porting/release_managers_guide.pod: check the target before launching nukes
Suggest that people run "git status" *before* they go and nuke any
untracked files with "git clean -dxf".
This avoids mistakes where the release manager has accidentally left
an important but untracked file in the checked out directory. We have
built files we know about in in .gitignore, so the "git status" won't
be noisy unless it should be.
Ævar Arnfjörð Bjarmason [Thu, 20 Jan 2011 21:50:14 +0000 (21:50 +0000)]
pod/perldelta.pod: remove duplicate =head1 section
Remove a duplicate =head1 section added by Jesse Vincent in
a682409c219ffe979cf918e229e77d5cff923b68.
Jesse Vincent [Thu, 20 Jan 2011 21:11:32 +0000 (16:11 -0500)]
Remove v5.12.3 from Module::CoreList (temporarily) for the release of
v5.13.9 - Downgrade CoreList to 2.42_01 dev release.
Jesse Vincent [Thu, 20 Jan 2011 20:54:35 +0000 (15:54 -0500)]
Update Module::CoreList for 5.13.9
Bumped to 2.43_01 (a dev release I don't expect to be CPANed on its
own), since when we push to CPAN for 5.12.3, we'll have slightly
different data.
Jesse Vincent [Thu, 20 Jan 2011 20:44:44 +0000 (15:44 -0500)]
Add acknowledgements to perldelta
Jesse Vincent [Thu, 20 Jan 2011 19:38:11 +0000 (14:38 -0500)]
Assert binary incompatibility with 5.13.8, as appears to be standard practice during blead series'
Jesse Vincent [Thu, 20 Jan 2011 19:36:28 +0000 (14:36 -0500)]
Bump the perl version in various places to 5.13.9
Jesse Vincent [Thu, 20 Jan 2011 19:31:13 +0000 (14:31 -0500)]
Bumping the version of Net::Ping per Porting/cmpVERSION.pl
Jesse Vincent [Thu, 20 Jan 2011 19:30:11 +0000 (14:30 -0500)]
Bump version of IO::Handle per porting/cmpVERSION.pl
Jesse Vincent [Thu, 20 Jan 2011 19:29:39 +0000 (14:29 -0500)]
Bumping version of Pod::Perldoc per porting/cmpVERSION.pl
Jesse Vincent [Thu, 20 Jan 2011 19:29:09 +0000 (14:29 -0500)]
Bumping version of Dumpvalue.pm per Porting/cmpVERSION.pl
Jesse Vincent [Thu, 20 Jan 2011 19:28:12 +0000 (14:28 -0500)]
Bumping version of Storable for release per Porting/cmpVERSION.pl
Jesse Vincent [Thu, 20 Jan 2011 19:28:02 +0000 (14:28 -0500)]
Bumping version of ExtUtils::ParseXS per porting/cmpVERSION.pl
Jesse Vincent [Thu, 20 Jan 2011 19:27:35 +0000 (14:27 -0500)]
Bumping version of ExtUtils::Install per porting/cmpVERSION.pl
Jesse Vincent [Thu, 20 Jan 2011 19:27:05 +0000 (14:27 -0500)]
Bumping versions for Locale::Maketext per porting/cmpVERSION.pl
Jesse Vincent [Thu, 20 Jan 2011 19:26:22 +0000 (14:26 -0500)]
Bumping versions for B-Lint and B-Deparse per Porting/cmpVERSION.pl
Jesse Vincent [Thu, 20 Jan 2011 19:25:26 +0000 (14:25 -0500)]
Bumped Cwd and File::Spec versions for release per cmpVERSION.pl
Jesse Vincent [Thu, 20 Jan 2011 19:24:39 +0000 (14:24 -0500)]
Bumped Math-BigInt, Math-BigInt-FastCalc and Math-BigRat versions for release per cmpVERSION.pl
Jesse Vincent [Thu, 20 Jan 2011 19:24:06 +0000 (14:24 -0500)]
Bumped bignum's versions for release per cmpVERSION.pl
Jesse Vincent [Thu, 20 Jan 2011 19:06:04 +0000 (14:06 -0500)]
Version bumps for OS2 non-dual-life modules identified by
./perl -Ilib Porting/cmpVERSION.pl -xd . v5.13.8
Jesse Vincent [Thu, 20 Jan 2011 19:05:47 +0000 (14:05 -0500)]
Version bumps for non-dual-life pragmas identified by
./perl -Ilib Porting/cmpVERSION.pl -xd . v5.13.8
Jesse Vincent [Thu, 20 Jan 2011 19:05:27 +0000 (14:05 -0500)]
Version bump for UNIVERSAL.pm identified by
./perl -Ilib Porting/cmpVERSION.pl -xd . v5.13.8
Jesse Vincent [Thu, 20 Jan 2011 19:04:31 +0000 (14:04 -0500)]
Version bumps for File:: non-dual-life modules identified by
./perl -Ilib Porting/cmpVERSION.pl -xd . v5.13.8
Jesse Vincent [Thu, 20 Jan 2011 19:04:08 +0000 (14:04 -0500)]
Version bumps for DBM::Filter non-dual-life modules identified by
./perl -Ilib Porting/cmpVERSION.pl -xd . v5.13.8
Jesse Vincent [Thu, 20 Jan 2011 19:03:55 +0000 (14:03 -0500)]
Version bumps for Benchmark non-dual-life modules identified by
./perl -Ilib Porting/cmpVERSION.pl -xd . v5.13.8
Jesse Vincent [Thu, 20 Jan 2011 19:03:43 +0000 (14:03 -0500)]
Version bumps for re non-dual-life modules identified by
./perl -Ilib Porting/cmpVERSION.pl -xd . v5.13.8
Jesse Vincent [Thu, 20 Jan 2011 19:03:26 +0000 (14:03 -0500)]
Version bumps for Sys::Hostname non-dual-life modules identified by
./perl -Ilib Porting/cmpVERSION.pl -xd . v5.13.8
Jesse Vincent [Thu, 20 Jan 2011 19:03:12 +0000 (14:03 -0500)]
Version bumps for Socket non-dual-life modules identified by
./perl -Ilib Porting/cmpVERSION.pl -xd . v5.13.8
Jesse Vincent [Thu, 20 Jan 2011 19:02:55 +0000 (14:02 -0500)]
Version bumps for POSIX non-dual-life modules identified by
./perl -Ilib Porting/cmpVERSION.pl -xd . v5.13.8
Jesse Vincent [Thu, 20 Jan 2011 19:02:38 +0000 (14:02 -0500)]
Version bumps for IPC::Open3 non-dual-life modules identified by
./perl -Ilib Porting/cmpVERSION.pl -xd . v5.13.8
Jesse Vincent [Thu, 20 Jan 2011 19:02:20 +0000 (14:02 -0500)]
Version bumps for Hash::Util non-dual-life modules identified by
./perl -Ilib Porting/cmpVERSION.pl -xd . v5.13.8
Jesse Vincent [Thu, 20 Jan 2011 19:02:05 +0000 (14:02 -0500)]
Version bumps for Devel-Peek non-dual-life modules identified by
./perl -Ilib Porting/cmpVERSION.pl -xd . v5.13.8
Jesse Vincent [Thu, 20 Jan 2011 19:01:39 +0000 (14:01 -0500)]
Version bumps for ext/B non-dual-life modules identified by
./perl -Ilib Porting/cmpVERSION.pl -xd . v5.13.8
Jesse Vincent [Thu, 20 Jan 2011 18:43:24 +0000 (13:43 -0500)]
perldelta: more boilerplate removal and cleanup
Jesse Vincent [Thu, 20 Jan 2011 18:37:02 +0000 (13:37 -0500)]
perldelta Removing boilerplate and fixing pod errors
Karl Williamson [Thu, 20 Jan 2011 03:50:30 +0000 (20:50 -0700)]
perlrecharclass.pod: Update for /a
Karl Williamson [Thu, 20 Jan 2011 03:49:44 +0000 (20:49 -0700)]
perlunicode: Add explanatory text
Karl Williamson [Thu, 20 Jan 2011 03:48:57 +0000 (20:48 -0700)]
Typos and nits in pods
Jesse Vincent [Thu, 20 Jan 2011 02:35:35 +0000 (21:35 -0500)]
further work on perldelta for 5.13.9
Karl Williamson [Thu, 20 Jan 2011 02:30:09 +0000 (19:30 -0700)]
perldelta fixes
Father Chrysostomos [Wed, 19 Jan 2011 22:49:19 +0000 (14:49 -0800)]
perldelta: Pod-LaTeX is already listed
Father Chrysostomos [Wed, 19 Jan 2011 22:47:42 +0000 (14:47 -0800)]
perldelta: module updates
Father Chrysostomos [Wed, 19 Jan 2011 22:46:06 +0000 (14:46 -0800)]
perldelta: gethost* unimplemented messages
Father Chrysostomos [Wed, 19 Jan 2011 22:41:06 +0000 (14:41 -0800)]
perldelta: warnings on non-chars and surrogates
Father Chrysostomos [Wed, 19 Jan 2011 22:11:59 +0000 (14:11 -0800)]
perldelta:
949cf498 (allowing all non-chars) is already done
Father Chrysostomos [Wed, 19 Jan 2011 22:10:32 +0000 (14:10 -0800)]
perldelta: CPANPLUS*, Term::UI and Params::Check are already done
Father Chrysostomos [Wed, 19 Jan 2011 22:08:24 +0000 (14:08 -0800)]
perldelta:
0019012ad (module updates) is already done