platform/upstream/perl.git
13 years agoAdd an option TARG_DIR to makedef.pl, giving the path to files to read & write.
Nicholas Clark [Sat, 16 Jul 2011 20:51:11 +0000 (21:51 +0100)]
Add an option TARG_DIR to makedef.pl, giving the path to files to read & write.

Change the Makefiles for Win32, WinCE and NetWare to pass in TARG_DIR of ..\
Previously ..\ was hardcoded for PLATFORM=win32, wince or netware. Making it a
parameter allows portable testing of makedef.pl.

13 years agoIn makedef.pl, move config.sh to the loop that prepends ..\ to files on win32.
Nicholas Clark [Sat, 16 Jul 2011 20:35:49 +0000 (21:35 +0100)]
In makedef.pl, move config.sh to the loop that prepends ..\ to files on win32.

Previously the win32|wince specific block that opens config.sh added ..\ in
the open call and the error message. No other code uses $config_sh, the variable
holding the path to config.sh, so it's quite safe to prepend ..\ in the existing
loop that processes most other files.

13 years agoAdd UNLINK_ALL_VERSIONS to PL_non_bincompat_options, and hence -V output.
Nicholas Clark [Fri, 22 Jul 2011 18:36:48 +0000 (20:36 +0200)]
Add UNLINK_ALL_VERSIONS to PL_non_bincompat_options, and hence -V output.

UNLINK_ALL_VERSIONS only makes sense for VMS.

13 years agoPerl_my_p{open,close} do not exist under PERL_IMPLICIT_SYS.
Nicholas Clark [Tue, 19 Jul 2011 11:30:14 +0000 (13:30 +0200)]
Perl_my_p{open,close} do not exist under PERL_IMPLICIT_SYS.

PERL_IMPLICIT_SYS only builds on Win32.
Correct embed.fnc to reflect the reality.

13 years agodo_exec needs no compatibility version in mathoms.c as it's not in the API.
Nicholas Clark [Tue, 19 Jul 2011 09:35:22 +0000 (11:35 +0200)]
do_exec needs no compatibility version in mathoms.c as it's not in the API.

9555a685dbd794b0 replaced it with a macro and added the full-name version in
mathoms.c to retain compatibility with any program whose source code uses
the full name. However, as do_exec was never in the API, no program would be
using it. (It's also unconditionally explicitly not exported on various
platforms including Win32. Google Codesearch and grep.cpan.me find no users
of it outside the core.)

13 years agoavoid defining the same global functions in multiple objects
Tony Cook [Sun, 24 Jul 2011 08:12:48 +0000 (18:12 +1000)]
avoid defining the same global functions in multiple objects

This caused -Uusedl builds to fail

13 years agoB:: is pre-instantiated when B is static
Tony Cook [Sun, 24 Jul 2011 08:11:37 +0000 (18:11 +1000)]
B:: is pre-instantiated when B is static

13 years agouse the correct type for a format field width parameter
Tony Cook [Sun, 24 Jul 2011 04:09:28 +0000 (14:09 +1000)]
use the correct type for a format field width parameter

This was warning in DEBUGGING builds

13 years agodiscuss epigraphs.pod link to announcements in RMG
Zefram [Sat, 23 Jul 2011 17:49:02 +0000 (18:49 +0100)]
discuss epigraphs.pod link to announcements in RMG

13 years agocorrect scope for dev.perl.org step in RMG
Zefram [Sat, 23 Jul 2011 17:45:38 +0000 (18:45 +0100)]
correct scope for dev.perl.org step in RMG

13 years agolink to 5.15.1 announcement
Zefram [Sat, 23 Jul 2011 17:33:08 +0000 (18:33 +0100)]
link to 5.15.1 announcement

13 years agocorrect title for perl561delta
Zefram [Sat, 23 Jul 2011 17:32:35 +0000 (18:32 +0100)]
correct title for perl561delta

13 years agoSome perlfunc cleanup/reflow
Father Chrysostomos [Sat, 23 Jul 2011 05:21:38 +0000 (22:21 -0700)]
Some perlfunc cleanup/reflow

This is by no means exhaustive; just a few things that I noticed.

This commit rewraps a couple of sections to fit in 80-column termi-
nals, fixes some indentation that was ‘fixed’ when tabs were con-
verted to spaces, and makes a few other tweaks.

13 years agoReflow perlfunc/stat for 80 columns
Father Chrysostomos [Sat, 23 Jul 2011 03:07:58 +0000 (20:07 -0700)]
Reflow perlfunc/stat for 80 columns

plus some minor tweaks

13 years agoCall get-magic on temp returned under recursion
Father Chrysostomos [Fri, 22 Jul 2011 19:14:28 +0000 (12:14 -0700)]
Call get-magic on temp returned under recursion

This fixes a regression introduced in 5.15.0.

Commit 767eda44 made autovivification work with scalars returned from
lvalue subs.  In doing so, as it made entersub an autovivifying op,
it had to add SvGETMAGIC calls to pp_return and pp_leavesub.  (See
767eda44’s commit message for details.)  In one spot in pp_return,
the SvGETMAGIC call was added to the wrong branch of an if/else con-
dition, causing a regression.  Explicitly returning from a recursive
subroutine call in autovivifying context would not call get-magic on
the returned value.

13 years agoMake tests for gmagic on sub exit count fetches
Father Chrysostomos [Fri, 22 Jul 2011 16:52:56 +0000 (09:52 -0700)]
Make tests for gmagic on sub exit count fetches

These tests, added in commit 767eda44 (when lvalue subs started auto-
vivifying, causing regular sub exit to have to call get-magic), were
not counting the number of fetches, but simply whether the fetches
were happening.  The number that was occurring was wrong until
7ffa7e75, which fixed symbolic refs to call magic the right number of
times.  But now that that’s fixed, we can count them.  So this commit
does just that.

13 years agoDon’t call get-magic twice for sym refs
Father Chrysostomos [Fri, 22 Jul 2011 06:18:44 +0000 (23:18 -0700)]
Don’t call get-magic twice for sym refs

Dereferencing ops (${}, etc.) were calling get-magic on their operand
twice if it was a symbolic reference, except for &{}.

This commit fixes that, adding tests for all the deref ops, including
&{}, for good measure.

13 years agogmagic.t: Remove confusing comment
Father Chrysostomos [Fri, 22 Jul 2011 01:08:54 +0000 (18:08 -0700)]
gmagic.t: Remove confusing comment

Commit ead3e279 moved a comment into a test name (the test previously
having no name), but left a cryptic piece of that comment behind.

13 years agoOne more missing address
Abigail [Fri, 22 Jul 2011 00:30:42 +0000 (02:30 +0200)]
One more missing address

13 years agoMerge branch 'blead' of ssh://perl5.git.perl.org/gitroot/perl into blead
Abigail [Fri, 22 Jul 2011 00:17:23 +0000 (02:17 +0200)]
Merge branch 'blead' of ssh://perl5.git.perl.org/gitroot/perl into blead

13 years agoChange Shlomi Fish's E-mail Address in AUTHORS file
Shlomi Fish [Thu, 21 Jul 2011 23:54:04 +0000 (02:54 +0300)]
Change Shlomi Fish's E-mail Address in AUTHORS file

This patch updates my address. vipe.technion.ac.il is now defunct and
shlomif@cpan.org is active and should be kept so into the future.

Regards,

Shlomi Fish

Signed-off-by: Abigail <abigail@abigail.be>
13 years agoChange Shlomi Fish's E-mail Address in AUTHORS file
Shlomi Fish [Thu, 21 Jul 2011 23:54:04 +0000 (02:54 +0300)]
Change Shlomi Fish's E-mail Address in AUTHORS file

This patch updates my address. vipe.technion.ac.il is now defunct and
shlomif@cpan.org is active and should be kept so into the future.

Regards,

Shlomi Fish

Signed-off-by: Abigail <abigail@abigail.be>
13 years agoUpdate Module::Build to 0.39_01
David Golden [Thu, 21 Jul 2011 21:06:48 +0000 (17:06 -0400)]
Update Module::Build to 0.39_01

0.39_01 - Thu Jul 21 16:48:48 EDT 2011

  [BUG FIXES]

  - Fixed bug with a nested directory named 'share' inside a ShareDir
    (RT#68585) [David Golden]

  - Fixed failing tilde.t when run under UID without passwd entry
    (RT#67893) [Dominic Hargreaves]

  [DOCUMENTATION]

  - Fixed typo in Module::Build (RT#67008) [David Golden]

  [OTHER]

  - Pod to HTML internals changed to support new Pod::Html work
    in the Perl core

13 years agoperldiag: Add missing variant of proto warning
Father Chrysostomos [Thu, 21 Jul 2011 16:37:42 +0000 (09:37 -0700)]
perldiag: Add missing variant of proto warning

This is already listed, but without the ‘after '_'’ bit, so splain
couldn’t find it.

13 years agoUpdate Term-ANSIColor to CPAN version 3.01
Chris 'BinGOs' Williams [Thu, 21 Jul 2011 10:52:47 +0000 (11:52 +0100)]
Update Term-ANSIColor to CPAN version 3.01

  [DELTA]

  2011-07-20  Russ Allbery  <rra@stanford.edu>

  * ANSIColor.pm: Version 3.01 released.

  * Makefile.PL: Change the DISTNAME to Term-ANSIColor.

  * ANSIColor.pm (colored): Only interpret an initial array
  reference as a list of colors, not any initial reference, allowing
  the colored function to work properly on objects with
  stringification defined.  Thanks, Revilo Reegiles.
  * t/stringify.t: New test for proper behavior with non-array
  references in colored.

  2011-03-13  Russ Allbery  <rra@stanford.edu>

  * ANSIColor.pm: Fix two syntax errors in the SYNOPSIS.  Thanks,
  Jan Hartung.

  2010-10-08  Russ Allbery  <rra@stanford.edu>

  * ANSIColor.pm: Warn in the documentation that attributes are not
  supported in and will not work with Perl formats.

  2010-04-11  Russ Allbery  <rra@stanford.edu>

  * ANSIColor.pm: Update the URL for ECMA-048 in the documentation.

13 years agoUpdate Porting/checkAUTHORS.pl after commit 6410892abe3d820a.
Nicholas Clark [Thu, 21 Jul 2011 10:28:14 +0000 (12:28 +0200)]
Update Porting/checkAUTHORS.pl after commit 6410892abe3d820a.

This resolves the failure in t/porting/authors.t.

13 years agoold work email address is no longer valid - I've updated the file with
Spiros Denaxas [Thu, 21 Jul 2011 10:17:54 +0000 (12:17 +0200)]
old work email address is no longer valid - I've updated the file with
a working one.

13 years agoAdd "clean build and test" as a step in the release manager's guide.
Nicholas Clark [Thu, 21 Jul 2011 09:29:01 +0000 (11:29 +0200)]
Add "clean build and test" as a step in the release manager's guide.

Some of the post-release steps can cause test failures (and hence black
smoke) if not addressed at the time.

13 years agoIn perldelta.pod, fix a spelling error.
Nicholas Clark [Thu, 21 Jul 2011 09:11:44 +0000 (11:11 +0200)]
In perldelta.pod, fix a spelling error.

13 years agoIncrease $PerlIO::via::VERSION following commit d477ab3eb4369a52.
Nicholas Clark [Thu, 21 Jul 2011 09:03:22 +0000 (11:03 +0200)]
Increase $PerlIO::via::VERSION following commit d477ab3eb4369a52.

13 years agos/bellow/below/ in PerlIO::via docs
Eric Brine [Thu, 21 Jul 2011 07:36:51 +0000 (00:36 -0700)]
s/bellow/below/ in PerlIO::via docs

Signed-off-by: Abigail <abigail@abigail.be>
13 years agoCorrect lock’s prototype
Father Chrysostomos [Thu, 21 Jul 2011 07:07:05 +0000 (00:07 -0700)]
Correct lock’s prototype

As of commit f4df43b5, lock is parsed the same way as tied.  Before
that, the prototype was effectively \[$@%&*], but only because
it was buggy (an lvalue sub itself would be passed to the function,
instead of its return value).  Yet its prototype was set to \$, which
was just wrong.

This fixes part of #94980.

13 years agoDocument lock’s retval
Father Chrysostomos [Thu, 21 Jul 2011 06:57:04 +0000 (23:57 -0700)]
Document lock’s retval

13 years ago[perl #81290] assertion failure with lock &lvsub
Father Chrysostomos [Thu, 21 Jul 2011 06:52:57 +0000 (23:52 -0700)]
[perl #81290] assertion failure with lock &lvsub

With this commit, locking an lvalue subroutine no longer tries to lock
the subroutine itself (triggering an assertion in pp_lock).  Instead,
the &foo syntax is treated as a scalar lvalue expression, as with tie,
so the return value gets locked.  Non-lvalue sub calls still produce a
‘Can't modify’ error, as they are not modifiable.

This also stops lock from trying to return a sub as though it were a
scalar, thereby breaking this JAPH I’ve just written:-)

sub _:lvalue{$x}for(lock&_){$_
="Just another Perl hacker,\n"}
print+prototype"_"

13 years agooverload.t: Remove a bug workarond
Father Chrysostomos [Thu, 21 Jul 2011 06:18:07 +0000 (23:18 -0700)]
overload.t: Remove a bug workarond

That bug was fixed in 5.14

13 years agoTests for overload errors
Father Chrysostomos [Thu, 21 Jul 2011 06:05:56 +0000 (23:05 -0700)]
Tests for overload errors

13 years agopodcheck.t: fix up known issues in new perldelta
David Golden [Thu, 21 Jul 2011 01:17:14 +0000 (21:17 -0400)]
podcheck.t: fix up known issues in new perldelta

13 years agoAdds 'skip_cwd' parameter to ExtUtils::Installed.
David Golden [Wed, 20 Jul 2011 23:49:43 +0000 (19:49 -0400)]
Adds 'skip_cwd' parameter to ExtUtils::Installed.

With this new parameter, the current directory is not included in the
installed module search.  This avoids finding modules from other perls
which happen to be below the current directory.

13 years agoperldelta: document perlivp changes
David Golden [Wed, 20 Jul 2011 23:57:22 +0000 (19:57 -0400)]
perldelta: document perlivp changes

13 years agoRemove .ph tests from perlivp
David Golden [Wed, 20 Jul 2011 23:20:51 +0000 (19:20 -0400)]
Remove .ph tests from perlivp

These tests were made optional in 2005 in commit 2a36bdc27 and
refer to files which are no longer generated during install.

To avoid confusion, the tests for these files have been removed.

13 years agoAdd test labels to perlivp
David Golden [Wed, 20 Jul 2011 22:27:16 +0000 (18:27 -0400)]
Add test labels to perlivp

13 years agoMake perlivp ignore PERL5LIB and current directory
David Golden [Wed, 20 Jul 2011 22:14:03 +0000 (18:14 -0400)]
Make perlivp ignore PERL5LIB and current directory

13 years agoepigraph for 5.15.1
Zefram [Wed, 20 Jul 2011 21:49:50 +0000 (22:49 +0100)]
epigraph for 5.15.1

13 years agomark perldelta Ack generation instruction with XXX
Zefram [Wed, 20 Jul 2011 21:48:15 +0000 (22:48 +0100)]
mark perldelta Ack generation instruction with XXX

13 years agonew perldelta for 5.15.2
Zefram [Wed, 20 Jul 2011 21:47:11 +0000 (22:47 +0100)]
new perldelta for 5.15.2

13 years agocorrect name of 7-Zip Debian package in RMG
Zefram [Wed, 20 Jul 2011 21:38:38 +0000 (22:38 +0100)]
correct name of 7-Zip Debian package in RMG

13 years agoskip perlfaq pseudo-module in installation test
Zefram [Wed, 20 Jul 2011 19:58:56 +0000 (20:58 +0100)]
skip perlfaq pseudo-module in installation test

13 years agoadd 5.15.1 to perlhist
Zefram [Wed, 20 Jul 2011 19:14:15 +0000 (20:14 +0100)]
add 5.15.1 to perlhist

13 years agoremove note about now-automated aspect of CoreList
Zefram [Wed, 20 Jul 2011 19:11:41 +0000 (20:11 +0100)]
remove note about now-automated aspect of CoreList

13 years agoupdate Module::CoreList for 5.15.1
Zefram [Wed, 20 Jul 2011 19:10:07 +0000 (20:10 +0100)]
update Module::CoreList for 5.15.1

13 years agopod markup fix in perldelta
Zefram [Wed, 20 Jul 2011 18:51:33 +0000 (19:51 +0100)]
pod markup fix in perldelta

13 years agoacknowledgements in perldelta
Zefram [Wed, 20 Jul 2011 18:47:06 +0000 (19:47 +0100)]
acknowledgements in perldelta

13 years agoregen known_pod_issues.dat for perldelta edits
Zefram [Wed, 20 Jul 2011 18:41:59 +0000 (19:41 +0100)]
regen known_pod_issues.dat for perldelta edits

13 years agobump perl version number to 5.15.1
Zefram [Wed, 20 Jul 2011 18:36:45 +0000 (19:36 +0100)]
bump perl version number to 5.15.1

13 years agoexempt a couple more files from version bumping
Zefram [Wed, 20 Jul 2011 17:57:40 +0000 (18:57 +0100)]
exempt a couple more files from version bumping

13 years agocopyedit perldelta
Zefram [Wed, 20 Jul 2011 17:47:23 +0000 (18:47 +0100)]
copyedit perldelta

13 years agoperldelta entry for 64eff8b7
Zefram [Wed, 20 Jul 2011 17:25:49 +0000 (18:25 +0100)]
perldelta entry for 64eff8b7

13 years agomake assign to $^A update FmLINES
David Mitchell [Wed, 20 Jul 2011 13:39:20 +0000 (14:39 +0100)]
make assign to $^A update FmLINES

Currently assigning to $^A updates the string in
PL_bodytarget, but doesn't update FmLINES(PL_bodytarget).

This can cause later writes to get confused about how many
lines have been output, and was causing write.t to fail test 418
under miniperl. (Only under miniperl, because skipping some tests under
miniperl affected how $^A's content and line count got messed up).

Fix this by updating FmLINES(PL_bodytarget) when $^A is set.

(Also fixes a TODO test which was failing due to 'local $^A' in earlier
tests)

13 years agoSort the VMS specific PL_bincompat_options in alphabetic order.
Nicholas Clark [Tue, 19 Jul 2011 09:11:49 +0000 (11:11 +0200)]
Sort the VMS specific PL_bincompat_options in alphabetic order.

13 years agoRemove an erroneous space from PL_bincompat_options for HAVE_INTERP_INTERN.
Nicholas Clark [Tue, 19 Jul 2011 08:50:57 +0000 (10:50 +0200)]
Remove an erroneous space from PL_bincompat_options for HAVE_INTERP_INTERN.

This was inadvertently added as part of eba804b9d4475c6d, but only causes
t/porting/bincompat.t to fail on those platforms that define
HAVE_INTERP_INTERN. It's always the really subtle things that catch you out.

13 years agopodcheck: regen after perldelta changes
Karl Williamson [Wed, 20 Jul 2011 02:55:49 +0000 (20:55 -0600)]
podcheck: regen after perldelta changes

13 years agoremove most placeholders from perldelta
Zefram [Tue, 19 Jul 2011 21:36:10 +0000 (22:36 +0100)]
remove most placeholders from perldelta

13 years agoupdate perldelta and correct one dubious entry
Zefram [Tue, 19 Jul 2011 21:18:21 +0000 (22:18 +0100)]
update perldelta and correct one dubious entry

13 years agobump version.pm $VERSION to reflect doc changes
Zefram [Tue, 19 Jul 2011 20:01:42 +0000 (21:01 +0100)]
bump version.pm $VERSION to reflect doc changes

13 years agoCorrect test count in win32/runenv.t
Father Chrysostomos [Tue, 19 Jul 2011 15:22:00 +0000 (08:22 -0700)]
Correct test count in win32/runenv.t

Not having any way to test this, I hope it works.

This is based on smoke reports and my own counting of the is()
calls in the test script.

13 years agoUse a switch in pp_prototype for compactness
Father Chrysostomos [Tue, 19 Jul 2011 05:46:13 +0000 (22:46 -0700)]
Use a switch in pp_prototype for compactness

13 years ago[perl #94984] Remove prototypes for infix ops
Father Chrysostomos [Tue, 19 Jul 2011 05:30:52 +0000 (22:30 -0700)]
[perl #94984] Remove prototypes for infix ops

This commit makes prototype("CORE::$_") return undef for these
infix ops, instead of the prototype (or error) shown here:

and ()
cmp Error: Cannot find an op number for cmp
eq  ($$)
ge  ($$)
gt  ($$)
le  ($$)
lt  ($$)
ne  ($$)
or  ()
x   Error: Cannot find an op number for x
xor ($$)

Those prototypes are not actually correct, and dying for what are real
Perl keywords is just mean.

13 years agoperlapi.pod Enhancements
Shlomi Fish [Tue, 19 Jul 2011 05:07:28 +0000 (22:07 -0700)]
perlapi.pod Enhancements

This is a patch to enhance perlapi.pod by providing Perl equivalents and
clarifying documentation where appropriate.

13 years agoFixes to allow win32 Perl to properly handle PERL5LIB.
Phil Monsen [Tue, 19 Jul 2011 03:16:55 +0000 (22:16 -0500)]
Fixes to allow win32 Perl to properly handle PERL5LIB.

On Windows Vista, 7 and 2008, the win32 API call
GetEnvironmentVariableA() does not return environment values
with string length of greater than 32766, even though
such variables are supported in the environment.

This consequently caused @INC not to be populated for
such values of PERL5LIB on those OSes, as reported in
RT #87322.

This commit reworks the code so that GetEnvironmentStrings()
is called if GetEnvironmentVariableA() indicates the requested
value is set in the environmtn.  The old fallback of consulting
the registry for variables beginning with "PERL" is retained, but
as a last-ditch fallback rather than the only recourse.

A new test file, t/win32/runenv.t has been added to validate
that the new behavior is working properly, as well as that
general environment variable handling is in accordance with
expectations, since t/run/runenv.t does not run on Win* platforms.
The new test file is essentially a non-forking clone of
t/run/runenv.t, with modifications to test cases to run properly
on Win* platforms, and with a new test case to test the new behavior.

13 years agoTransform the loop in rpeep that handles the undeferred ops
Vincent Pit [Mon, 18 Jul 2011 22:22:31 +0000 (00:22 +0200)]
Transform the loop in rpeep that handles the undeferred ops

Following commit f11ca51e41e898a77f1fd33b9e0371e69b1be73a, it is possible
to rewrite this loop to make it slightly more readable.

There should be no functional changes.

13 years agoTest for [perl #87726] (warning from diagnostics.pm under -w)
Father Chrysostomos [Wed, 6 Apr 2011 01:00:14 +0000 (18:00 -0700)]
Test for [perl #87726] (warning from diagnostics.pm under -w)

13 years agoUpgraded HTTP-Tiny to CPAN version 0.013
David Golden [Mon, 18 Jul 2011 20:54:59 +0000 (16:54 -0400)]
Upgraded HTTP-Tiny to CPAN version 0.013

0.013     2011-07-17 23:14:22 America/New_York

  [NEW FEATURES]

  - $ENV{http_proxy} support added [Claes Jakobsson]

  [OTHER]

  - Internal/private errors converted from "croak" to "die" as internal
    errors are caught by "eval"

13 years agoPerl_rpeep: undo tail recursion optimisation
David Mitchell [Mon, 18 Jul 2011 19:14:10 +0000 (20:14 +0100)]
Perl_rpeep: undo tail recursion optimisation

commit 3c78429c102e0fe2ad30c60dfe52636b6071ef19 reduced the depth
of recursion in rpeep(), by deferring recursion into branches until a bit
later (so that the recursive call to rpeep was then likely to be shallow).
However, it went one step further: when the chain of op_next's had been
exhausted in the main loop, it processed any remaining deferrred branches
in the main loop rather than recursing. All nice and efficient, but it
broke the expectation that someone who had hooked into rpeep could follow
the chain of op_nexts in each call and visit *all* ops.

This commit removes that optimisation and restores the rpeep hook
expectancy. This shouldn't have any major effect on the depth of
recursion, and its minor inefficiency doesn't really matter for a
one-time compilation-time pass.

13 years agoPL_bincompat_options was missing options that affect the interpreter struct.
Nicholas Clark [Mon, 18 Jul 2011 15:26:09 +0000 (17:26 +0200)]
PL_bincompat_options was missing options that affect the interpreter struct.

It had most, but not all, C pre-processor options that change the size of the
interpreter struct.

13 years agoIn intrpvar.h, move all the USE_LOCALE_NUMERIC variables together.
Nicholas Clark [Mon, 18 Jul 2011 11:35:33 +0000 (13:35 +0200)]
In intrpvar.h, move all the USE_LOCALE_NUMERIC variables together.

a453c1697467fe60 added PL_numeric_radix_sv at the end of the interpreter struct
to avoid breaking binary compatibility. However, as we now explicitly no longer
guarantee compatibility across major releases, there's no reason not to move it
next to the other variables related to it.

13 years agoMake Porting/corelist.pl fetch gzipped 02packages.details.txt from CPAN
Leon Brocard [Mon, 18 Jul 2011 11:13:20 +0000 (12:13 +0100)]
Make Porting/corelist.pl fetch gzipped 02packages.details.txt from CPAN

13 years agoMove Porting/corelist.pl from LWP::Simple/curl/wget to HTTP::Tiny
Leon Brocard [Mon, 18 Jul 2011 10:56:18 +0000 (11:56 +0100)]
Move Porting/corelist.pl from LWP::Simple/curl/wget to HTTP::Tiny

13 years agoEnable autodie in Porting/corelist.pl
Leon Brocard [Mon, 18 Jul 2011 10:45:26 +0000 (11:45 +0100)]
Enable autodie in Porting/corelist.pl

13 years agoActually test cop_*_label
Reini Urban [Mon, 18 Jul 2011 05:50:06 +0000 (22:50 -0700)]
Actually test cop_*_label

13 years agoFix a wrong length in APItest.xs:test_coplabel
Father Chrysostomos [Mon, 18 Jul 2011 06:02:11 +0000 (23:02 -0700)]
Fix a wrong length in APItest.xs:test_coplabel

13 years agoBring cop label testing in line with intentions.
Craig A. Berry [Sun, 17 Jul 2011 15:36:31 +0000 (10:36 -0500)]
Bring cop label testing in line with intentions.

8375c93eec supplied tests for a newly exported API but the type
declarations for the arguments and return values didn't match the
types of the API being tested.

aebc0cbee0 renamed the functions without updating the calls to
those functions in the test.

Either of these could have been easily spotted by building with
g++ (or other readily available tools) before pushing.

This aside from the controversy over whether this particular API
is the one that should be publicly exported, so this all may be
reverted and replaced before 5.16.0, but hopefully it will unbreak
the build for now.

13 years agoperlrecharclass: Nits
Karl Williamson [Sun, 17 Jul 2011 00:14:46 +0000 (18:14 -0600)]
perlrecharclass: Nits

One nit is that the only difference between [\h\v] and \s is VT; it's
not just one difference.

Another nit is that the synonyms in the table may be to either
the ASCII or full-range depending on various things.

13 years agoperlre: Nits
Karl Williamson [Sat, 16 Jul 2011 20:49:33 +0000 (14:49 -0600)]
perlre: Nits

13 years agoDual-life Search::Dict
Florian Ragwitz [Sun, 17 Jul 2011 11:57:18 +0000 (13:57 +0200)]
Dual-life Search::Dict

13 years agoUpdate Pod-Simple to CPAN version 3.18
Chris 'BinGOs' Williams [Sun, 17 Jul 2011 09:17:39 +0000 (10:17 +0100)]
Update Pod-Simple to CPAN version 3.18

  [DELTA]

  2011-07-16   David E. Wheeler <david@justatheory.org>
        * Release 3.18

        Pod::Simple now properly parses Pod files using Mac OS Classic line-
        endings (\r). Marc Green/Google Summer of Code.

        Fixed test failure in 't/search50.t when the test finds a .pod but
        the module is in a .pm. Thanks to the cpan-testers who reported
        this when the test searched for Capture::Tiny.

13 years agore-indent some tests for readability
Father Chrysostomos [Sun, 17 Jul 2011 05:26:05 +0000 (22:26 -0700)]
re-indent some tests for readability

This makes it easier to see when the skip count needs to
be updated.

13 years agoSkip tests sub_lval.t when attributes.pm cannot load
Father Chrysostomos [Sun, 17 Jul 2011 05:13:54 +0000 (22:13 -0700)]
Skip tests sub_lval.t when attributes.pm cannot load

(e.g., under miniperl)

13 years agoCorrect skip count in perlio.t
Father Chrysostomos [Sun, 17 Jul 2011 05:09:46 +0000 (22:09 -0700)]
Correct skip count in perlio.t

This makes it pass under miniperl again.

13 years agoperldelta update
Father Chrysostomos [Sun, 17 Jul 2011 04:11:01 +0000 (21:11 -0700)]
perldelta update

13 years agoporting/rmg: Expand on CoreList version bump
Father Chrysostomos [Sun, 17 Jul 2011 02:14:23 +0000 (19:14 -0700)]
porting/rmg: Expand on CoreList version bump

13 years agoRename store/fetch_cop_label as cop_*
Father Chrysostomos [Sun, 17 Jul 2011 01:42:59 +0000 (18:42 -0700)]
Rename store/fetch_cop_label as cop_*

This makes them consistent with other functions that put the basic
datum type first (like hv_*, sv_*, cophh_*).

Since fetch_cop_label is marked as experimental (M), this change
should be OK.

13 years agoExport store_cop_label for the perl compiler
Reini Urban [Tue, 21 Jun 2011 12:55:56 +0000 (07:55 -0500)]
Export store_cop_label for the perl compiler

13 years agoClean up magic_methcall docs
Father Chrysostomos [Sat, 16 Jul 2011 21:33:27 +0000 (14:33 -0700)]
Clean up magic_methcall docs

This is rather unsightly, don’t you think?

magic_methcall
        Invoke a magic method (like FETCH).
        * sv and mg are the tied thingy and the tie magic; * meth is
        the name of the method to call; * argc is the number of args
        (in addition to $self) to pass to the method;
               the args themselves are any values following the argc
        argument.  * flags:
            G_DISCARD:     invoke method with G_DISCARD flag and don’t
        return a value
            G_UNDEF_FILL:  fill the stack with argc pointers to
        PL_sv_undef.
        Returns the SV (if any) returned by the method, or NULL on
        failure.

(That’s the ‘rendered’ nroff output.)

I would have used =over/=item/=back, but autodoc.pl doesn’t seem to
like those.

13 years agoperlos2: Fix some link issues
Karl Williamson [Sat, 16 Jul 2011 19:46:48 +0000 (13:46 -0600)]
perlos2: Fix some link issues

The link to emxbind needs some explanation.  Perhaps on an os/2 system,
this command exists, but any link to it is using cpan's search which
doesn't find it

13 years agoperl5123delta: should have NAME perl5123delta
Karl Williamson [Sat, 16 Jul 2011 19:28:38 +0000 (13:28 -0600)]
perl5123delta: should have NAME perl5123delta

13 years agobasename: Change C<> to L<>
Karl Williamson [Sat, 16 Jul 2011 19:20:29 +0000 (13:20 -0600)]
basename: Change C<> to L<>

13 years agoperlbeos: change some C<>'s into F<>'s
Karl Williamson [Sat, 16 Jul 2011 18:43:28 +0000 (12:43 -0600)]
perlbeos: change some C<>'s into F<>'s

13 years agoREADME.bs2000: lowercase perlBS200 to unbreak links
Karl Williamson [Sat, 16 Jul 2011 18:31:15 +0000 (12:31 -0600)]
README.bs2000: lowercase perlBS200 to unbreak links

13 years agoperlport: remove perlapollo link
Karl Williamson [Sat, 16 Jul 2011 18:22:08 +0000 (12:22 -0600)]
perlport: remove perlapollo link

13 years agopodcheck.t: Reword instructions slightly
Karl Williamson [Wed, 6 Jul 2011 03:05:45 +0000 (21:05 -0600)]
podcheck.t: Reword instructions slightly

This is to emphasize that things may be false positives, and
instead of jumping through hoops to shut it up, all you have
to do is --regen things.