14 years agoPOD revision for Module::CoreList.
Chris Williams [Thu, 22 Apr 2010 13:15:49 +0000]
POD revision for Module::CoreList.

  Fully documented all the functions.

  Fully documented all the provided hash data structures.

14 years agoFreeBSD 7+ no longer contains /usr/bin/objformat, so the following
Todd Rinaldo [Thu, 22 Apr 2010 12:31:16 +0000]
FreeBSD 7+ no longer contains /usr/bin/objformat, so the following
(harmless) following error message is printed when hints are run:

./hints/freebsd.sh: /usr/bin/objformat: not found

The reason for this is outlined in this email from Feb 2007
http://lists.freebsd.org/pipermail/freebsd-ports/2007-February/038523.html

This patch just skips the objformat check for versions 7+ and
assumes ELF.  (The end result is unchanged, but the error
message will not be printed anymore.)

14 years agoFix for find_version() in Module::CoreList.
Chris Williams [Thu, 22 Apr 2010 11:51:50 +0000]
Fix for find_version() in Module::CoreList.

14 years agoAdd fudge to timing checks on Windows
Jan Dubois [Wed, 24 Mar 2010 16:54:24 +0000]
Add fudge to timing checks on Windows

sleep() time on Win32 may be rounded down to multiple of
the clock tick interval.

http://www.nntp.perl.org/group/perl.perl5.porters/2010/03/msg157878.html

14 years agoRemove emacs/cperl-mode.el and helpers
Jan Dubois [Thu, 22 Apr 2010 05:26:04 +0000]
Remove emacs/cperl-mode.el and helpers

http://www.nntp.perl.org/group/perl.perl5.porters/2010/03/msg158079.html

14 years agoUpdate PerlStdIOGets() signature
Jan Dubois [Thu, 22 Apr 2010 01:55:01 +0000]
Update PerlStdIOGets() signature

Brings it in line with the rest of the PerlStdIO* functions that
accept parameters in the same order as the corresponding PerlSIO_*
macros.  See also commit ecc880cc.

14 years agoFix PerlSIO_fputc() and PerlSIO_fputs() signatures
Jan Dubois [Thu, 22 Apr 2010 01:47:48 +0000]
Fix PerlSIO_fputc() and PerlSIO_fputs() signatures

They should have the same prototype as in stdio.

This "proper fix" replaces the 5.12.0 compatible fix in commit 634b482,
but cannot be integrated into 5.12.1 because it breaks binary compatibility.

See also http://rt.perl.org/rt3/Public/Bug/Display.html?id=72704

14 years agoXSUB.h is supposed to redefine fgets under PERL_IMPLICIT_SYS, but doesn't.
Jan Dubois [Wed, 21 Apr 2010 23:49:09 +0000]
XSUB.h is supposed to redefine fgets under PERL_IMPLICIT_SYS, but doesn't.

See also http://rt.cpan.org/Public/Bug/Display.html?id=55049
with workaround in http://code.google.com/p/perl-devel-nytprof/source/detail?r=1168

14 years agoApply minimal patch for Perl bug 72704.
Jan Dubois [Fri, 5 Mar 2010 23:24:17 +0000]
Apply minimal patch for Perl bug 72704.

Arguments to fputc() and fputs() are reverted on Windows.

This is not the optimal patch, but will be backwards compatible
with what is in 5.12.0.  For the "correct" patch please see

http://rt.perl.org/rt3/Public/Bug/Display.html?id=72704

14 years agoRemove rendundant CPAN key
Gisle Aas [Sun, 18 Apr 2010 10:41:59 +0000]
Remove rendundant CPAN key

14 years agofollow up fix for fd69380d5d5b95ef16e2521cf4251b34ee0ce151
David Mitchell [Wed, 21 Apr 2010 17:47:07 +0000]
follow up fix for fd69380d5d5b95ef16e2521cf4251b34ee0ce151

The original fix for tied elements losing magic had a bug that was masked
by a bool casting issue. Once the casting was fixed, the bug surfaced:
elements of @+ lost their values when returned from a sub. By removing the
TEMP flag from the regdatum PVLV, we force it to be copied when returned.

14 years agoIgnore the /UU directory that exists during ./Configure
Rafael Garcia-Suarez [Wed, 21 Apr 2010 14:35:00 +0000]
Ignore the /UU directory that exists during ./Configure

14 years agoremove bool* cast from SAVEBOOL
David Mitchell [Wed, 21 Apr 2010 13:53:39 +0000]
remove bool* cast from SAVEBOOL

SAVEBOOL() should only be used on variables of type bool; casting
pointers to variables of other types into bool* is just wrong.

14 years agoFix [perl #74542] 5.12.0 crash on diverse platforms
Rafael Garcia-Suarez [Wed, 21 Apr 2010 13:47:36 +0000]
Fix [perl #74542] 5.12.0 crash on diverse platforms

Filetest ops don't always expect an op on the stack, so we should use
TOPs only if we're sure that we're not stat'ing the _ filehandle.
This is indicated by OPf_KIDS (as checked in ck_ftst).

14 years agoRemove Locale-Codes internals from core
Steffen Mueller [Wed, 21 Apr 2010 11:45:39 +0000]
Remove Locale-Codes internals from core

These (and the examples) don't have to be shipped with core perl. By not
shipping them, we can trivially make sure that they won't be erroneously
installed either.

14 years agoRevert "GitHub's mirror is now at mirrors/perl, not github/perl"
H.Merijn Brand [Wed, 21 Apr 2010 11:16:04 +0000]
Revert "GitHub's mirror is now at mirrors/perl, not github/perl"

This reverts commit f9bcfeacc119e37fd70816a2cb4678fded53e8d1.

14 years agoadd TODO test for #74484 trie leak
David Mitchell [Wed, 21 Apr 2010 11:02:49 +0000]
add TODO test for #74484 trie leak

Also add leak_expr function to svleak.t to test an expression for leakage
rather than a whole sub

14 years agoGitHub's mirror is now at mirrors/perl, not github/perl
Ãvar Arnfjörð Bjarmason) (via RT [Tue, 20 Apr 2010 17:58:37 +0000]
GitHub's mirror is now at mirrors/perl, not github/perl

# New Ticket Created by  (Ævar Arnfjörð Bjarmason)
# Please include the string:  [perl #74532]
# in the subject line of all future correspondence about this issue.
# <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=74532 >

From: Ævar Arnfjörð Bjarmason <avar@cpan.org>

Signed-off-by: H.Merijn Brand <h.m.brand@xs4all.nl>

14 years agoUpdate Locale::Codes to 3.12
Steffen Mueller [Wed, 21 Apr 2010 10:18:49 +0000]
Update Locale::Codes to 3.12

We're skipping inclusion of some files such as the unused Build.PL,
INSTALL, etc. cpan/Locale-Codes/internal/* should probably also not be
included in perl core.

14 years agoUpdate Steffen Mueller's email address in AUTHORS
Steffen Mueller [Tue, 20 Apr 2010 21:26:10 +0000]
Update Steffen Mueller's email address in AUTHORS

14 years agoAdd contact information for Sullivan Beck
Steffen Mueller [Tue, 20 Apr 2010 21:24:46 +0000]
Add contact information for Sullivan Beck

... and mark him responsible for Locale::Codes, which is now
"upstream => cpan"

14 years agoMake the Module::CoreList function API consistent
Chris Williams [Wed, 21 Apr 2010 08:47:27 +0000]
Make the Module::CoreList function API consistent

  Some functions could only be called with class method type syntax.
  Other functions could only be called with normal sub syntax.

  This makes the API consistent, functions can be called with
  either syntax.

14 years agoCorrect spaces in MANIFEST.
Nicholas Clark [Wed, 21 Apr 2010 08:27:55 +0000]
Correct spaces in MANIFEST.

14 years agoFix MANIFEST by adding new file
Steffen Mueller [Tue, 20 Apr 2010 20:55:21 +0000]
Fix MANIFEST by adding new file

387b6f8d0cc8df27b7a577cf8a47f25b089895e4 added new file to
cpan/ExtUtils-ParseXS without adding it to MANIFEST.

14 years agoUpgrade Scalar-List-Utils to 1.23 from CPAN
Steffen Mueller [Sun, 18 Apr 2010 15:51:19 +0000]
Upgrade Scalar-List-Utils to 1.23 from CPAN

14 years agoDocument the INCLUDE_COMMAND XS directive
Steffen Mueller [Sun, 18 Apr 2010 14:39:29 +0000]
Document the INCLUDE_COMMAND XS directive

ExtUtils::ParseXS has recognized the INCLUDE_COMMAND directive as a
smarter replacement for "INCLUDE: perl -e ... |" since version 2.21_01.

14 years agoUpgrade ExtUtils::ParseXS to 0.2205
Steffen Mueller [Sun, 18 Apr 2010 15:14:57 +0000]
Upgrade ExtUtils::ParseXS to 0.2205

14 years agoRemove Class::ISA from the core distribution. Get it from CPAN now.
Nicholas Clark [Mon, 19 Apr 2010 20:15:08 +0000]
Remove Class::ISA from the core distribution. Get it from CPAN now.

14 years agoRemove Pod::Plainer from the core distribution. Get it from CPAN now.
Nicholas Clark [Mon, 19 Apr 2010 20:00:13 +0000]
Remove Pod::Plainer from the core distribution. Get it from CPAN now.

14 years agoRemove Shell from the core distribution. Get it from CPAN now.
Nicholas Clark [Mon, 19 Apr 2010 19:49:03 +0000]
Remove Shell from the core distribution. Get it from CPAN now.

14 years agoRemove Switch from the core distribution. Get it from CPAN now.
Nicholas Clark [Mon, 19 Apr 2010 19:35:54 +0000]
Remove Switch from the core distribution. Get it from CPAN now.

14 years agocreate perl5131delta
Leon Brocard [Tue, 20 Apr 2010 20:31:17 +0000]
create perl5131delta

14 years agoAdd 5.13.0 to perlhist
Leon Brocard [Tue, 20 Apr 2010 18:55:51 +0000]
Add 5.13.0 to perlhist

14 years agoUpdate to final content for release
Leon Brocard [Tue, 20 Apr 2010 18:40:36 +0000]
Update to final content for release

14 years agoUpdate Module::CoreList for 5.13.0
Leon Brocard [Tue, 20 Apr 2010 18:18:50 +0000]
Update Module::CoreList for 5.13.0

14 years ago[rt.cpan.org #56740] Format Perl versions >= 5.6.0 as X.Y.Z
Michael G Schwern [Tue, 20 Apr 2010 13:37:57 +0000]
[rt.cpan.org #56740] Format Perl versions >= 5.6.0 as X.Y.Z

Decimal style Perl version numbers are increasingly awkward.  5.01 or
5.010000 is hard to equate with 5.10.0.  It would be easier to read if
Module::CoreList formatted version numbers from 5.6 onward as dotted
versions to match how they are presented elsewhere.

14 years agoDon't show aliased perl version numbers twice in corelist -a output
Rafael Garcia-Suarez [Tue, 20 Apr 2010 13:14:45 +0000]
Don't show aliased perl version numbers twice in corelist -a output

(bug [rt.cpan.org #56739])

14 years agoTypo fix in version number alias 5.013
Rafael Garcia-Suarez [Tue, 20 Apr 2010 13:10:43 +0000]
Typo fix in version number alias 5.013

14 years agoModule::Pluggable has upstream => cpan
Steffen Mueller [Tue, 20 Apr 2010 06:28:49 +0000]
Module::Pluggable has upstream => cpan

According to Simon Wistow.

14 years agoReplace mention of Switch.pm with given/when
chromatic [Mon, 19 Apr 2010 23:54:00 +0000]
Replace mention of Switch.pm with given/when

14 years agoAdd another alias for Robin Barker
Leon Brocard [Mon, 19 Apr 2010 20:21:34 +0000]
Add another alias for Robin Barker

14 years agoSpaces not tabs
Leon Brocard [Mon, 19 Apr 2010 20:14:55 +0000]
Spaces not tabs

14 years agoBump version number EU::MM is "first-come" so we have forked it
Leon Brocard [Mon, 19 Apr 2010 20:13:10 +0000]
Bump version number EU::MM is "first-come" so we have forked it

14 years agoBump version due to d97c33b505dd45c052a8bf42014917701b4502a5
Leon Brocard [Mon, 19 Apr 2010 20:09:45 +0000]
Bump version due to d97c33b505dd45c052a8bf42014917701b4502a5

14 years agoBump version due to 255fdf19250671082618dae106a246f12379dbe6
Leon Brocard [Mon, 19 Apr 2010 20:08:50 +0000]
Bump version due to 255fdf19250671082618dae106a246f12379dbe6

14 years agoBump version number EU::MM is "first-come" so we have forked it
Leon Brocard [Mon, 19 Apr 2010 20:06:30 +0000]
Bump version number EU::MM is "first-come" so we have forked it

14 years agoDocument prctl() via $0 assignment (7636ea95c5) in perldelta
Ævar Arnfjörð Bjarmason [Mon, 19 Apr 2010 19:47:43 +0000]
Document prctl() via $0 assignment (7636ea95c5) in perldelta

14 years agoAdd =head2 to the perldelta change in da76b8593e
Ævar Arnfjörð Bjarmason [Mon, 19 Apr 2010 19:46:39 +0000]
Add =head2 to the perldelta change in da76b8593e

14 years agoclarification of multi-bracket format
Ricardo Signes [Sat, 17 Apr 2010 18:34:28 +0000]
clarification of multi-bracket format

14 years agoPossible undefined behaviour, spotted by gcc 4.5.0 and HP's updated compiler.
Nicholas Clark [Mon, 19 Apr 2010 14:35:59 +0000]
Possible undefined behaviour, spotted by gcc 4.5.0 and HP's updated compiler.

14 years agoRevert "Documentation tweaks to Text::Tabs"
Gisle Aas [Sun, 18 Apr 2010 22:04:41 +0000]
Revert "Documentation tweaks to Text::Tabs"

This change was reported upstream in <https://rt.cpan.org/Ticket/Display.html?id=56699>.
Committing it directly to blead was a mistake.

This reverts commit f6e2320c520b8d610a864cd42aece1f0df2db895.

14 years agoLet the cmdVERSION usage message expand $0
Gisle Aas [Sun, 18 Apr 2010 20:36:46 +0000]
Let the cmdVERSION usage message expand $0

It makes more sense than literally printing "usage: $0 ..."

14 years agoDocumentation tweaks to Text::Tabs
Gisle Aas [Sun, 18 Apr 2010 20:58:02 +0000]
Documentation tweaks to Text::Tabs

14 years agoBring Porting/Maintainers in sync with reality regarding Scalar-List-Utils
Steffen Mueller [Sun, 18 Apr 2010 15:45:05 +0000]
Bring Porting/Maintainers in sync with reality regarding Scalar-List-Utils

14 years agoUpdate to MIME-Base64 3.09
Gisle Aas [Tue, 2 Feb 2010 22:22:15 +0000]
Update to MIME-Base64 3.09

Fixes issue where the Quoted-Printable encoder would sometimes output
lines that were 77 characters long.  The max line length should be 76.

This reverts revert 9ef40646096384d9f65acffab1b9a2df07d03a0c.

14 years agoEscape patch strings before embedding them in patchlevel.h
Gisle Aas [Sat, 27 Mar 2010 06:55:51 +0000]
Escape patch strings before embedding them in patchlevel.h

14 years agoPassing regexp vars as argument is unsafe
Gisle Aas [Sun, 18 Apr 2010 15:13:46 +0000]
Passing regexp vars as argument is unsafe

In this case $_[0] is unexpectedly modified by matching a regular
expression inside the function, making it report bad file names.

14 years agoAvoid "Use of uninitialized value $base" for the CPANPLUS .hidden file
Gisle Aas [Sun, 18 Apr 2010 15:12:24 +0000]
Avoid "Use of uninitialized value $base" for the CPANPLUS .hidden file

14 years agoDo not clobber %ENV in EU::MM test
Steffen Mueller [Sun, 18 Apr 2010 14:52:44 +0000]
Do not clobber %ENV in EU::MM test

175046355f07701 introduced an error in the ExtUtils::MakeMaker
prerequisites tests in that it clobbers %ENV instead of just locally
overriding $ENV{PERL_CORE}.

14 years agoEU::MakeMaker shouldn't warn about prereqs in core
Steffen Mueller [Sun, 18 Apr 2010 14:24:20 +0000]
EU::MakeMaker shouldn't warn about prereqs in core

This silences warnings about missing prerequisites when part of a perl
core build. Triggered by #74442.

14 years agoMake abstract_from more robust
Robin Barker [Thu, 15 Apr 2010 20:14:23 +0000]
Make abstract_from more robust

A few distributions in the perl source failure for abstract_from
Rather than fix the individual files I have made the parsing process
more robust.

14 years agoMove PERL_ASYNC_CHECK() from POPBLOCK() to the kill case of Perl_apply().
Nicholas Clark [Sun, 18 Apr 2010 12:24:20 +0000]
Move PERL_ASYNC_CHECK() from POPBLOCK() to the kill case of Perl_apply().

This ensures that (safe) signals sent to the same process are still dispatched
within the same statement (as before), without overloading the semantics of
block popping.

14 years agoNote the revised signal dispatch and performance gain in perl5130delta.pod.
Nicholas Clark [Sat, 17 Apr 2010 20:56:23 +0000]
Note the revised signal dispatch and performance gain in perl5130delta.pod.

14 years agoDispatch signals in infinite loops such as 1 while 1;
Nicholas Clark [Sat, 17 Apr 2010 20:24:21 +0000]
Dispatch signals in infinite loops such as 1 while 1;

With the move of PERL_ASYNC_CHECK() out from the runloop to control ops,
infinite loops became truely infinite, as their optree has no control ops.
Hence add a PERL_ASYNC_CHECK() to pp_unstack to ensure signals will be
dispatched.

Bug noticed by Jerry Hedden.

14 years agoFix RT #74290 - regression for labels immediately before string evals.
Nicholas Clark [Sat, 17 Apr 2010 19:11:49 +0000]
Fix RT #74290 - regression for labels immediately before string evals.

Fix location identified by Father Chrysostomos, who also offered a patch, but
this patch is more efficient, as it avoids any allocation. Test code based on
his test example.

14 years agoIn Perl_get_debug_opts(), restructure the message into fewer string literals.
Nicholas Clark [Sat, 17 Apr 2010 13:44:36 +0000]
In  Perl_get_debug_opts(), restructure the message into fewer string literals.

This reduces the object code size slightly.

14 years agoIn S_usage(), restructure the storage of the help message into fewer literals.
Nicholas Clark [Sat, 17 Apr 2010 12:13:39 +0000]
In S_usage(), restructure the storage of the help message into fewer literals.

This reduces the object code size slightly.

14 years agoAlso guess $ENV{EMAIL}, if present, as the originating address
Alex Vandiver [Sat, 17 Apr 2010 03:54:11 +0000]
Also guess $ENV{EMAIL}, if present, as the originating address

Signed-off-by: H.Merijn Brand <h.m.brand@xs4all.nl>

14 years ago[PATCH] [5.12] Allow build on aix 4.2 (sigaction and IPv6)
H.Merijn Brand [Fri, 16 Apr 2010 15:47:15 +0000]
[PATCH] [5.12] Allow build on aix 4.2 (sigaction and IPv6)

Based on a patch by AUGUSTE-ETIENNE José <jose.auguste-etienne@cgss-guyane.fr>

The attached patches are necessary to work around aix 4.2 lack of support for IPv6,
and limited support for POSIX sigaction()

The hints/aix_4.sh patch solves the following build failure:

"Socket.xs", line 468.16: 1506-007 (S) "struct in6_addr" is undefined.

The ext/POSIX/t/sigaction.t patch solves the failing test reported a looong time ago:

http://www.xray.mpe.mpg.de/mailing-lists/perl5-porters/2006-01/msg01124.html

After testing a simple C program using POSIX sigaction() with SA_SIGINFO,
I found that it worked on aix 4.3 but failed on aix 4.2.

I think it's safe to skip the SA_SIGINFO test on the aix 4.2 platform.

perl 5.12.0 builds fine on the following platforms / C compiler :

aix 4.2.1 / vac 5.0.2.7 (with attached patches)
aix 4.3.2 / gcc 2.95.3
aix 4.3.3 / vac 4.4.0.3
aix 4.3.3 / vac 5.0.28
aix 5.2 / GNUpro gcc 2.9.aix51.020209

The atatched patches should be applied to blead and maint.

14 years agoMerge branch 'blead' of perl5.git.perl.org:/gitroot/perl into blead
H.Merijn Brand [Fri, 16 Apr 2010 12:03:05 +0000]
Merge branch 'blead' of perl5.git.perl.org:/gitroot/perl into blead

14 years agoAdd new Data::Dumper test file to MANIFEST
Rafael Garcia-Suarez [Thu, 15 Apr 2010 20:40:32 +0000]
Add new Data::Dumper test file to MANIFEST

14 years agoUpgrade Data::Dumper to 2.126 CPAN release
Steffen Mueller [Thu, 15 Apr 2010 19:57:15 +0000]
Upgrade Data::Dumper to 2.126 CPAN release

No significant changes, just synchronization to the exact release.

14 years agoFix Data::Dumper's Fix Terse(1) + Indent(2)
Michael G. Schwern [Thu, 15 Apr 2010 19:29:43 +0000]
Fix Data::Dumper's Fix Terse(1) + Indent(2)

RT #73604: When $Data::Dumper::Terse is true, the indentation is thrown
off. It appears to be acting as if the $VAR1 = is still there.

14 years agoFix a test failure in perl5db.t when Term::ReadLine::Gnu is installed
Niko Tyni [Sat, 27 Mar 2010 19:38:34 +0000]
Fix a test failure in perl5db.t when Term::ReadLine::Gnu is installed

With Term::ReadLine::Gnu on @INC, the debugger output will include
terminal escape sequences even when empty otherwise. This makes
lib/perl5db.t test 7 ("proxy constant subroutines") fail.

Most of the other tests are already run with ReadLine support disabled, so
bring this one in line too.

14 years agoPoint submitters to perlbug@perl.org, not perl5-porters@perl.org
Ævar Arnfjörð Bjarmason [Thu, 15 Apr 2010 18:06:24 +0000]
Point submitters to perlbug@perl.org, not perl5-porters@perl.org

We usually want patches in RT. Patches should only go to perl5-porters
if they're intended purely for discussion.

14 years agoSet the legacy process name with prctl() on assignment to $0 on Linux
Ævar Arnfjörð Bjarmason [Thu, 15 Apr 2010 17:12:04 +0000]
Set the legacy process name with prctl() on assignment to $0 on Linux

Ever since perl 4.000 we've only set the POSIX process name via
argv[0]. Unfortunately on Linux the POSIX name isn't used by utilities
like top(1), ps(1) and killall(1).

Now when we set C<$0 = "hello"> both C<qx[ps h $$]> (POSIX) and
C<qx[ps hc $$]> (legacy) will say "hello", instead of the latter being
"perl" as was previously the case.

See also the March 9 2010 thread "Why doesn't assignment to $0 on
Linux also call prctl()?" on perl5-porters.

14 years agoBump $VERSION of IPC::Open3 to 1.06
Rafael Garcia-Suarez [Thu, 15 Apr 2010 14:46:40 +0000]
Bump $VERSION of IPC::Open3 to 1.06

14 years agoopen3 errors in child croak parent RT#72016
Eric Brine [Mon, 18 Jan 2010 18:21:20 +0000]
open3 errors in child croak parent RT#72016

Errors in open3 no longer appear to originate from the executed command on forking systems.

14 years agoAdd TODO test for RT#72016
Eric Brine [Mon, 18 Jan 2010 04:44:14 +0000]
Add TODO test for RT#72016

14 years agoBump threads version to 1.77_01
Steffen Mueller [Thu, 15 Apr 2010 14:42:48 +0000]
Bump threads version to 1.77_01

This is due to the POD fix of b91a79b929f6eca75f18124340d2f0f89b9588a9.

14 years agoUpgrade to threads-shared-1.33
Steffen Mueller [Thu, 15 Apr 2010 13:24:57 +0000]
Upgrade to threads-shared-1.33

14 years agoUpgrade dist/threads to 1.77 from CPAN
Steffen Mueller [Thu, 15 Apr 2010 09:12:04 +0000]
Upgrade dist/threads to 1.77 from CPAN

While doing so fix a tiny, little POD error to prevent breakage of core
tests. (blead is upstream for threads.pm)

14 years agoSimplify the perldelta howto by using Git features
Ævar Arnfjörð Bjarmason [Thu, 15 Apr 2010 13:40:33 +0000]
Simplify the perldelta howto by using Git features

`git-log' can generate a list of authors without perl's help and
`git-diff` can produce a diffstat without diffstat(1).

14 years agoFix code before statement error introduced by f410a2119920dd04.
Nicholas Clark [Thu, 15 Apr 2010 13:03:08 +0000]
Fix code before statement error introduced by f410a2119920dd04.

14 years agoAvoid redundant reload of PL_op in the runloop.
Hugo van der Sanden [Thu, 15 Apr 2010 12:05:38 +0000]
Avoid redundant reload of PL_op in the runloop.

(gcc, at least, generates suboptimal code without this dirty great hint)

14 years agoMove PERL_ASYNC_CHECK() from the runloop to control flow OPs.
Nicholas Clark [Thu, 15 Apr 2010 10:37:53 +0000]
Move PERL_ASYNC_CHECK() from the runloop to control flow OPs.

For the typical code this gives a 5% speedup, and removes the cost of "safe
signals". Tight looping code will show less gains, but should never be slower.

Subtle bugs might remain - there might be constructions that enter the runloop
(where signals used to be dispatched) but don't contain any PERL_ASYNC_CHECK()
calls themselves.

14 years agomark two magic.t tests as TODO
David Mitchell [Thu, 15 Apr 2010 09:29:56 +0000]
mark two magic.t tests as TODO

fixing a bool cast bug exposes a hidden bug in @+ scope.
Mark as TODO for now.

14 years agouse cBOOL for bool casts
David Mitchell [Thu, 15 Apr 2010 09:20:50 +0000]
use cBOOL for bool casts

bool b = (bool)some_int

doesn't necessarily do what you think. In some builds, bool is defined as
char, and that cast's behaviour is thus undefined. So this line in mg.c:

    const bool was_temp = (bool)SvTEMP(sv);

was actually setting was_temp to false even when the SVs_TEMP flag was set.
Fix this by replacing all the (bool) casts with a new cBOOL() cast macro
that (hopefully) does the right thing.

14 years agoFix a minor perl5114delta error.
Florian Ragwitz [Wed, 20 Jan 2010 16:12:34 +0000]
Fix a minor perl5114delta error.

14 years agoRemove 'delete &function' from perltodo.
Florian Ragwitz [Thu, 18 Mar 2010 14:13:40 +0000]
Remove 'delete &function' from perltodo.

It wouldn't add any new feature we don't already have and be inconsistent with
the behaviour of other things.

14 years ago[perl #74372] := warning not in perldiag
Rafael Garcia-Suarez [Thu, 15 Apr 2010 08:54:32 +0000]
[perl #74372] := warning not in perldiag

Missing warning description noticed by Zefram

14 years agoPATCH: [perl #72998] regex looping
Karl Williamson [Wed, 14 Apr 2010 03:25:36 +0000]
PATCH: [perl #72998] regex looping

If a character folds to multiple ones in case-insensitive matching,
it should not match just one of those, or the regular expression can
loop.  For example, \N{LATIN SMALL LIGATURE FF} folds to 'ff', and so
    "\N{LATIN SMALL LIGATURE FF}" =~ /f+/i
should match.  Prior to this patch, this function returned that there is
a match, but left the matching string  pointer at the beginning of the
"\N{LATIN SMALL LIGATURE FF}" because it doesn't make sense to match
just half a character, and at this level it doesn't know about the '+'.
This leaves things in an inconsistent state, with the reporting of a
match, but the input pointer unchanged, the result of which is a loop.

I don't know how to fix this so that it correctly matches, and there are
semantic issues with doing so.  For example, if
    "\N{LATIN SMALL LIGATURE FF}" =~ /ff/i
matches, then one would think that so should
    "\N{LATIN SMALL LIGATURE FF}" =~ /(f)(f)/i
But $1 and $2 don't really make sense here, since they both refer to the
half of the same character.

So this patch just returns failure if only a partial character is
matched.  That leaves things consistent, and solves the problem of
looping, so that Perl doesn't hang on such a construct, but leaves the
ultimate solution for another day.

14 years agoUpgrade to CGI.pm 3.49
Rafael Garcia-Suarez [Thu, 15 Apr 2010 07:35:07 +0000]
Upgrade to CGI.pm 3.49

14 years agoBetween parens is the unit name
H.Merijn Brand [Wed, 14 Apr 2010 14:14:16 +0000]
Between parens is the unit name

Strip trailing blank. Manual fix after metaunit fix
3e6d782f8c2ac2b94d9f217b0a91989b144feca4

14 years agoMerge branches 'blead' and 'blead' of perl5.git.perl.org:/gitroot/perl into blead
H.Merijn Brand [Wed, 14 Apr 2010 13:59:22 +0000]
Merge branches 'blead' and 'blead' of perl5.git.perl.org:/gitroot/perl into blead

14 years agoMerge branches 'blead' and 'blead' of perl5.git.perl.org:/gitroot/perl into blead
H.Merijn Brand [Wed, 14 Apr 2010 13:46:42 +0000]
Merge branches 'blead' and 'blead' of perl5.git.perl.org:/gitroot/perl into blead

14 years agoAdd the new maint policy to perlpolicy.pod
Jesse Vincent [Wed, 14 Apr 2010 13:29:31 +0000]
Add the new maint policy to perlpolicy.pod

14 years ago[perl #74038] c2ph (and pstruct) use the deprecated 'getopts.pl' library
Zefram [Wed, 14 Apr 2010 12:05:57 +0000]
[perl #74038] c2ph (and pstruct) use the deprecated 'getopts.pl' library

14 years agoChanges to CPANPLUS and CPANPLUS::Dist::Build tests
Chris Williams [Wed, 14 Apr 2010 10:44:41 +0000]
Changes to CPANPLUS and CPANPLUS::Dist::Build tests

  Add the utils/ dir to $ENV{PATH} if running under PERL_CORE for the
  CPANPLUS/CPANPLUS-Dist-Build tests.

  Both modules' testsuites require access to the cpanp-run-perl script
  and the version in utils/ is already executable versus the version
  in cpan/CPANPLUS/bin

14 years agoadd step to update RT version numbers in release_managers_guide
David Mitchell [Wed, 14 Apr 2010 09:36:45 +0000]
add step to update RT version numbers in release_managers_guide