This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
perl5.git
9 years agoDo not declare victory over d632a2c.
Jarkko Hietaniemi [Tue, 17 Jun 2014 12:23:04 +0000 (08:23 -0400)]
Do not declare victory over d632a2c.

The same warning seems to pop in Android.  Needs more study.

9 years agoBump B::Deparse version
Matthew Horsfall (alh) [Thu, 12 Jun 2014 23:13:53 +0000 (19:13 -0400)]
Bump B::Deparse version

9 years agoPreserve explicit 'm' when deparsing m?PATTERN?
Dagfinn Ilmari Mannsåker [Thu, 2 Jan 2014 13:18:18 +0000 (14:18 +0100)]
Preserve explicit 'm' when deparsing m?PATTERN?

Bare ?PATTERN? is no longer allowed

9 years agoRemove "ternary operator parsed as search pattern" warning
Dagfinn Ilmari Mannsåker [Thu, 2 Jan 2014 13:06:51 +0000 (14:06 +0100)]
Remove "ternary operator parsed as search pattern" warning

Since ?PATTERN? without 'm' is no longer supported, there is no
ambiguity any more.

9 years agoRemove support for ?PATTERN? without explicit 'm' operator
Dagfinn Ilmari Mannsåker [Wed, 1 Jan 2014 02:41:25 +0000 (03:41 +0100)]
Remove support for ?PATTERN? without explicit 'm' operator

This has issued a deprecation warning since v5.14 (commit 725a61d70),
and precludes using ? as an operator after a unary operator that
defaults to $_, such as:

   ref ? $_ : [$_]

9 years agoperldiag: Add details about variable length lookbehind
Karl Williamson [Tue, 17 Jun 2014 02:00:39 +0000 (20:00 -0600)]
perldiag: Add details about variable length lookbehind

See http://nntp.perl.org/group/perl.perl5.porters/215685

9 years agoperldiag: Remove obsolete entries.
Karl Williamson [Tue, 17 Jun 2014 01:58:04 +0000 (19:58 -0600)]
perldiag: Remove obsolete entries.

These entries about \b{} are obsolete, as it no longer is deprecated,
but forbidden.

9 years agoUse Unicode 7.0
Karl Williamson [Fri, 21 Feb 2014 04:59:00 +0000 (21:59 -0700)]
Use Unicode 7.0

9 years agoFatalize defined(@) and defined{%)
Karl Williamson [Tue, 17 Jun 2014 00:56:44 +0000 (18:56 -0600)]
Fatalize defined(@) and defined{%)

Calling defined on an array or hash has been deprecated and scheduled
for removal in v5.22.  This commit does that, removing the tests that
assumed they were defined.

In order to get the line numbers of the errors to display, I combined
the first and second lines of the message, omitting the \n

9 years agobe explicit that SvSetSV() doesn't do set magic
Tony Cook [Tue, 17 Jun 2014 00:49:06 +0000 (10:49 +1000)]
be explicit that SvSetSV() doesn't do set magic

9 years agoDisable and document xop_name gcc warning seen in HP-UX.
Jarkko Hietaniemi [Mon, 16 Jun 2014 18:52:37 +0000 (14:52 -0400)]
Disable and document xop_name gcc warning seen in HP-UX.

9 years agoUse of the Uid_t_sign and casting instead of Uid_t_f.
Jarkko Hietaniemi [Mon, 16 Jun 2014 16:27:35 +0000 (12:27 -0400)]
Use of the Uid_t_sign and casting instead of Uid_t_f.

HP-UX B.11.31/64 gcc 4.7.2 with -DDEBUGGING:
taint.c:38:2: warning: format '%ld' expects argument of type 'long int', but argument 5 has type 'uid_t' [-Wformat]

This removes the sole use of Uid_t_f (and there are none of Gid_t_f)
from the core.

9 years agod_namlen can be signed.
Jarkko Hietaniemi [Mon, 16 Jun 2014 16:19:22 +0000 (12:19 -0400)]
d_namlen can be signed.

In HP-UX, it is either short or char (which can be either signed or unsigned),
depending on the compiler flags.

9 years agoDo not printf U32 and I32 (both) as %i.
Jarkko Hietaniemi [Mon, 16 Jun 2014 16:09:56 +0000 (12:09 -0400)]
Do not printf U32 and I32 (both) as %i.

(Detected in HP-UX.)

9 years agoFor HP-UX, do not potentially deref NULL CopFILESV.
Jarkko Hietaniemi [Mon, 16 Jun 2014 16:06:48 +0000 (12:06 -0400)]
For HP-UX, do not potentially deref NULL CopFILESV.

(HP-UX and other ARG_ZERO_IS_SCRIPT platforms)

9 years agoFatalize using hash|array as reference
Karl Williamson [Mon, 16 Jun 2014 19:08:29 +0000 (13:08 -0600)]
Fatalize using hash|array as reference

This has been deprecated, scheduled to come out in 5.22

9 years agoop.c: Fix typo in comment
Karl Williamson [Mon, 16 Jun 2014 19:04:14 +0000 (13:04 -0600)]
op.c: Fix typo in comment

9 years agoregcomp.c: White-space only
Karl Williamson [Mon, 16 Jun 2014 18:38:58 +0000 (12:38 -0600)]
regcomp.c: White-space only

Indent because of newly-formed block

9 years agoPATCH: [perl #122029] BBC KAWASAKI/Encode-JP-Emoji
Karl Williamson [Mon, 16 Jun 2014 18:28:52 +0000 (12:28 -0600)]
PATCH: [perl #122029] BBC KAWASAKI/Encode-JP-Emoji

This turns out to be that the code was only getting the compile-time
package name, and it needs to be expanded to get the correct run-time
name.

9 years agot/re/pat_advanced.t: Add comment
Karl Williamson [Mon, 16 Jun 2014 18:27:56 +0000 (12:27 -0600)]
t/re/pat_advanced.t: Add comment

9 years agoPATCH: [perl #122084] BBC KARMAN/Search-Tools
Karl Williamson [Mon, 16 Jun 2014 18:16:40 +0000 (12:16 -0600)]
PATCH: [perl #122084] BBC KARMAN/Search-Tools

The problem was that a function was defined only in PERL_CORE, and
embed.fnc just needed to change to grant access outside that.

9 years agoExtUtils::ParseXS: doc typo fix
Steffen Mueller [Mon, 16 Jun 2014 13:17:16 +0000 (15:17 +0200)]
ExtUtils::ParseXS: doc typo fix

Includes version bump.

9 years ago[perl #122110] [PATCH] Remove left-over mad cruft
Dagfinn Ilmari Mannsåker [Mon, 16 Jun 2014 11:53:35 +0000 (07:53 -0400)]
[perl #122110] [PATCH] Remove left-over mad cruft

The great MADectomy left some cruft behind:

    - no_index in META.{yml,json}
    - $Config{mad} checks in tests
    - Porting/perlhist_calculate.pl
    - symbian/config.pl
    - PERL_XMLDUMP error in perldiag
    - madly{h,obj,src} in win32/config.{gc,vc}

9 years agotweak type for picky compilers
Yves Orton [Mon, 16 Jun 2014 11:38:50 +0000 (13:38 +0200)]
tweak type for picky compilers

9 years agoMore (void*) for %p.
Jarkko Hietaniemi [Mon, 16 Jun 2014 10:52:37 +0000 (06:52 -0400)]
More (void*) for %p.

(Note: looks like char* "decay" into void* without casting needed?)

9 years agoFollow-up to b84edbf2; (IV) the IVdf.
Jarkko Hietaniemi [Mon, 16 Jun 2014 10:48:24 +0000 (06:48 -0400)]
Follow-up to b84edbf2; (IV) the IVdf.

Since there could be platforms where sizeof(SSize_t) < sizeof(IV).
(E.g. IRIX n32 model: 64-bit integers but 32-bit pointers.)

(Note: in addition to %zd being a C99 thing,
 googling says %zd is not well supported in VC).

9 years agoMake hash_value() accept an optional seed
Yves Orton [Fri, 13 Jun 2014 13:51:00 +0000 (15:51 +0200)]
Make hash_value() accept an optional seed

9 years ago%p really wants void*.
Jarkko Hietaniemi [Mon, 16 Jun 2014 01:51:21 +0000 (21:51 -0400)]
%p really wants void*.

9 years agoUse %"IVdf" instead of %zd.
Jarkko Hietaniemi [Mon, 16 Jun 2014 01:46:57 +0000 (21:46 -0400)]
Use %"IVdf" instead of %zd.

9 years agoSome low-hanging -Wunreachable-code fruits.
Jarkko Hietaniemi [Sun, 15 Jun 2014 13:41:30 +0000 (09:41 -0400)]
Some low-hanging -Wunreachable-code fruits.

- after return/croak/die/exit, return/break are pointless
  (break is not a terminator/separator, it's a goto)
- after goto, another goto (!) is pointless
- in some cases (usually function ends) introduce explicit NOT_REACHED
  to make the noreturn nature clearer (do not do this everywhere, though,
  since that would mean adding NOT_REACHED after every croak)
- for the added NOT_REACHED also add /* NOTREACHED */ since
  NOT_REACHED is for gcc (and VC), while the comment is for linters
- declaring variables in switch blocks is just too fragile:
  it kind of works for narrowing the scope (which is nice),
  but breaks the moment there are initializations for the variables
  (the initializations will be skipped since the flow will bypass
  the start of the block); in some easy cases simply hoist the declarations
  out of the block and move them earlier

Note 1: Since after this patch the core is not yet -Wunreachable-code
clean, not enabling that via cflags.SH, one needs to -Accflags=... it.

Note 2: At least with the older gcc 4.4.7 there are far too many
"unreachable code" warnings, which seem to go away with gcc 4.8,
maybe better flow control analysis.  Therefore, the warning should
eventually be enabled only for modernish gccs (what about clang and
Intel cc?)

9 years agoThe clang frontend says "unknown" for -Wunknown.
Jarkko Hietaniemi [Sun, 15 Jun 2014 19:19:42 +0000 (15:19 -0400)]
The clang frontend says "unknown" for -Wunknown.

"unknown warning option" (for -W...) or "unknown argument" (for -...).

9 years agoUpdate Archive-Tar to CPAN version 2.00
Chris 'BinGOs' Williams [Sun, 15 Jun 2014 15:00:59 +0000 (16:00 +0100)]
Update Archive-Tar to CPAN version 2.00

  [DELTA]

2.00  15/06/2014 (TINITA)
- Fix ptargrep for problems on MSWin32

9 years agoRun porting/podcheck.t --regen to undo manual changes.
James E Keenan [Sun, 15 Jun 2014 02:32:56 +0000 (22:32 -0400)]
Run porting/podcheck.t --regen to undo manual changes.

Files like dist/Math-BigInt/lib/Math/BigInt.pm are probably going to remain in
known_pod_issues.dat for eternity, given that in POD the cumulative effect of
'=over' markings will always result in linelengths > recommended 79 or 80.

9 years agoRebreak lines to achieve <80 recommended line length.
James E Keenan [Sun, 15 Jun 2014 02:04:01 +0000 (22:04 -0400)]
Rebreak lines to achieve <80 recommended line length.

Inspired by Nicolas Herry's patches in RT #121872.

Bump Tie::File version number in two locations.

9 years agoRebreak lines to achieve <80 recommended line length.
James E Keenan [Sun, 15 Jun 2014 01:43:04 +0000 (21:43 -0400)]
Rebreak lines to achieve <80 recommended line length.

Inspired by Nicolas Herry's patches in RT #121820.

9 years agoRebreak lines to achieve <80 recommended line length.
James E Keenan [Sun, 15 Jun 2014 01:34:10 +0000 (21:34 -0400)]
Rebreak lines to achieve <80 recommended line length.

Inspired Nicolas Herry's patches in RT #121820.

9 years agormv duplicate SvUV call in Perl__swash_inversion_hash
Darin McBride [Fri, 13 Jun 2014 20:59:02 +0000 (13:59 -0700)]
rmv duplicate SvUV call in Perl__swash_inversion_hash

9 years agoUpdate Archive-Tar to CPAN version 1.98
Chris 'BinGOs' Williams [Sat, 14 Jun 2014 17:40:48 +0000 (18:40 +0100)]
Update Archive-Tar to CPAN version 1.98

  [DELTA]

1.98  14/06/2014 (TINITA)
- ptardiff and ptargrep should use prefix if defined

9 years agoRevert "Some low-hanging -Wunreachable-code fruits."
Jarkko Hietaniemi [Sat, 14 Jun 2014 01:48:53 +0000 (21:48 -0400)]
Revert "Some low-hanging -Wunreachable-code fruits."

This reverts commit 8c2b19724d117cecfa186d044abdbf766372c679.

I don't understand - smoke-me came back happy with three
separate reports... oh well, some other time.

9 years agoSome low-hanging -Wunreachable-code fruits.
Jarkko Hietaniemi [Fri, 13 Jun 2014 01:23:14 +0000 (21:23 -0400)]
Some low-hanging -Wunreachable-code fruits.

- after croak/die/exit (or return), break (or return!) are pointless
  (break is not a terminator/separator, it's a promise of a jump)
- after goto, another goto (!) is pointless
- in some cases (usually function ends) introduce explicit NOT_REACHED
  to make the noreturn nature clearer (do not do this everywhere, though,
  since that would mean adding NOT_REACHED after every croak)
- for the added NOT_REACHED also add /* NOTREACHED */ since
  NOT_REACHED is for gcc (and VC), while the comment is for linters
- declaring variables in switch blocks is just too fragile:
  it kind of works for narrowing the scope (which is nice),
  but breaks the moment there are initializations for the variables
  (they will be skipped!); in some easy cases simply hoist the declarations
  out of the block and move them earlier

There are still a few places left.

9 years agoAnother 'use encoding' issue
Karl Williamson [Fri, 13 Jun 2014 22:38:34 +0000 (16:38 -0600)]
Another 'use encoding' issue

Missed in b06e47f717f77453fbdaef628efc2b9c83898a8b.  Spotted by Jarkko
Hietaneimi.  I don't know why this didn't fail in my tests or by
Jenkins.  "use encoding 'latin1'" should be a no-op anyway.

9 years agoperldelta for b5bbe64.
Jarkko Hietaniemi [Fri, 13 Jun 2014 20:40:36 +0000 (16:40 -0400)]
perldelta for b5bbe64.

9 years agoPut back an #if-0-ed chunk 7053d92 removed.
Jarkko Hietaniemi [Fri, 13 Jun 2014 19:58:09 +0000 (15:58 -0400)]
Put back an #if-0-ed chunk 7053d92 removed.

The chunk is not MAD-related but instead locale stuff.  I have no idea
why that chunk got removed (I used a combination of unifdef(1) and editor).
It's #if-0-ed, so no change of behavior either way, but let's keep
the code for now, since it seems to have "historical significance".

9 years agoRemove MAD.
Jarkko Hietaniemi [Fri, 13 Jun 2014 19:21:25 +0000 (15:21 -0400)]
Remove MAD.

MAD = Misc Attribute Decoration; unmaintained attempt at preserving
the Perl parse tree more faithfully so that automatic conversion to
Perl 6 would have been easier.

9 years agoAdd note to 'encoding' pod that it's removed
Karl Williamson [Fri, 13 Jun 2014 19:00:48 +0000 (13:00 -0600)]
Add note to 'encoding' pod that it's removed

In commit  b06e47f717f77453fbdaef628efc2b9c83898a8b, I forgot to
note in the pragma's pod that it now is unusable.

9 years agoExperimentally cause 'use encoding' to fail.
Karl Williamson [Fri, 13 Jun 2014 17:18:01 +0000 (11:18 -0600)]
Experimentally cause 'use encoding' to fail.

This actually doesn't remove it, but causes any program that does use it
to die.  Its use has raised a (default-on) deprecation warning since
5.18, but its demise was omitted from the perldelta for v5.20.

This commit does the minimum necessary to flush out what might break by
its actual removal, while being easily revertable should that become
necessary.

9 years agopp.c: Add comment
Karl Williamson [Fri, 13 Jun 2014 17:08:28 +0000 (11:08 -0600)]
pp.c: Add comment

9 years agoperldelta: Add entry for new XS macro isUTF8_CHAR
Karl Williamson [Fri, 13 Jun 2014 16:19:00 +0000 (10:19 -0600)]
perldelta: Add entry for new XS macro isUTF8_CHAR

9 years agoSuppress the pm_to_blib spammage during make
Chris 'BinGOs' Williams [Fri, 13 Jun 2014 13:14:18 +0000 (14:14 +0100)]
Suppress the pm_to_blib spammage during make

9 years ago[perl #121126] - Allow deparse tests to skip/ignore expected failures.
Matthew Horsfall (alh) [Fri, 13 Jun 2014 13:10:19 +0000 (09:10 -0400)]
[perl #121126] - Allow deparse tests to skip/ignore expected failures.

This will allow us to set up a deparse smoker to keep track of B::Deparse's
accuracy.

With this, the test run:

 TEST_ARGS=-deparse make test

will "pass" currently.

If deparsing capabilities get worse, new failures will show up and should
be fixed or added to Porting/deparse-skips.txt.

If things get fixed, the test will fail noting that something has passed
when it shouldn't have, and the test in question should be removed from
Porting/deparse-skips.txt.

Use the KEEP_DEPARSE_FILES=1 environment setting to have the deparse
test files left around after a test run for examination/re-running.

9 years agoDeprecate unescaped literal "{" in regex patterns
Karl Williamson [Fri, 13 Jun 2014 03:50:29 +0000 (21:50 -0600)]
Deprecate unescaped literal "{" in regex patterns

This commit also causes escaped (by a backslash) "(", "[", and "{" to be
considered literally.  In the previous 2 Perl versions, the escaping was
ignored, and a (default-on) deprecation warning was raised.  Now that we
have warned for 2 release cycles, we can change the meaning.of escaping
to actually do something

Warning when a literal left brace is not escaped by a backslash, will
allow us to eventually use this character in more contexts as being
meta, allowing us to extend the language.  For example, the lower limit
of a quantifier could be omited, and better error checking instituted,
or things like \w could be followed by a {...} indicating some special
word character, like \w{Greek} to restrict to just Greek word
characters.

We tried to do this in v5.16, and many CPAN modules changed to backslash
their left braces at that time.  However we had to back out that change
before 5.16 shipped because it turned out that escaping a left brace in
some contexts didn't work, namely when the brace would normally be a
metacharacter (for example surrounding a quantifier), and the pattern
delimiters were { }.  Instead we raised the useless backslash warning
mentioned above, which has now been there for the requisite 2 cycles.

This patch partially reverts 2 patches.  The first,
e62d0b1335a7959680be5f7e56910067d6f33c1f, partially reverted
the deprecation of unescaped literal left brace.  The other,
4d68ffa0f7f345bc1ae6751744518ba4bc3859bd, instituted the deprecation of
the useless left-characters.

Note that, as in the original attempt to deprecate,  we don't raise a
warning if the left brace is the first character in the pattern.  This
is because in that position it can't be a metacharacter, so we don't
require any disambiguation, and we found that if we did raise an error,
there were quite a few places where this occurred.

9 years agotoke.c: Change S_scan_str parameter meaning
Karl Williamson [Thu, 12 Jun 2014 19:37:30 +0000 (13:37 -0600)]
toke.c: Change S_scan_str parameter meaning

The 'keep_bracketed' parameter is used to tell this static function to
not delete the escaping backslash if the string's delimiter character is
also found within the interior of the string.

This parameter is always currently false, except when compiled with
PERL_MAD.  However it has been Okayed to remove this compilation option,
so the parameter can be changed to whatever is desired.

A future commit will change this parameter to be true sometimes.  In
doing so, it sets up a conflict with the fairly new 're_reparse'
parameter (this conflict also exists with PERL_MAD, but clearly nobody
has tried to compile it that way for a while)

However the new conflict only happens when the opening delimiter of the
string is the same as the closing one, and happily the new commits only
need to have this parameter be true when the opening and closing are
different, so things can be set up so that there is actually no
conflict, given that MAD is being removed.

At the time that scan_str is called, what the delimiters are is not
necessarily known, so this commit refactors the meaning of the parameter
to be TRUE iff the delimiters that scan_str finds actually differ.  It
renames the parameter to indicate this.

9 years agoperldelta for 0b0a072
Brian Fraser [Thu, 12 Jun 2014 22:57:44 +0000 (00:57 +0200)]
perldelta for 0b0a072

9 years agoperldelta for 9be9e8a
Matthew Horsfall (alh) [Thu, 12 Jun 2014 22:48:34 +0000 (18:48 -0400)]
perldelta for 9be9e8a

9 years agoperldelta for 94d4006
Matthew Horsfall (alh) [Thu, 12 Jun 2014 22:35:37 +0000 (18:35 -0400)]
perldelta for 94d4006

9 years agoSilence several -Wunused-parameter warnings about my_perl
Brian Fraser [Sat, 31 May 2014 14:54:22 +0000 (16:54 +0200)]
Silence several -Wunused-parameter warnings about my_perl

This meant sprinkling some PERL_UNUSED_CONTEXT invocations,
as well as stopping some functions from getting my_perl in
the first place; all of the functions in the latter category
are internal (S_ prefix and s or i in embed.fnc), so
this should be both safe and economical.

9 years agoAdded several missing PERL_UNUSED_RESULT()
Brian Fraser [Fri, 30 May 2014 23:28:18 +0000 (01:28 +0200)]
Added several missing PERL_UNUSED_RESULT()

9 years agoRemoved set_emergency_buffer from malloc.c
Brian Fraser [Fri, 30 May 2014 23:24:52 +0000 (01:24 +0200)]
Removed set_emergency_buffer from malloc.c

This was added in 2003, but never used.

9 years agoMark several functions with __attribute__noreturn__
Brian Fraser [Fri, 30 May 2014 23:19:27 +0000 (01:19 +0200)]
Mark several functions with __attribute__noreturn__

Namely, die_nocontext, die, die_sv, and screaminstr. They
all croak and never return, so let's mark them as non-returning.

9 years agoCast %p arguments to (void*)
Brian Fraser [Fri, 30 May 2014 23:16:46 +0000 (01:16 +0200)]
Cast %p arguments to (void*)

These were all part of debugging statements; the commit silences
a chunk of warnings under -Wformat

9 years agoAdding missing SVfARG() invocations
Brian Fraser [Fri, 30 May 2014 23:15:42 +0000 (01:15 +0200)]
Adding missing SVfARG() invocations

This silences a chunk of warnings under -Wformat

9 years agoAdding missing HEKfARG() invocations
Brian Fraser [Fri, 30 May 2014 23:13:26 +0000 (01:13 +0200)]
Adding missing HEKfARG() invocations

This silences a chunk of warnings under -Wformat

9 years agoProtect against ptrdiff_t not being available.
Brian Fraser [Fri, 30 May 2014 23:10:20 +0000 (01:10 +0200)]
Protect against ptrdiff_t not being available.

This is primarily for pedantic builds; ptrdiff_t is now standard,
and had already been in use in the core without guards.

9 years agoPOSIX.xs: Fix typo.
Karl Williamson [Thu, 12 Jun 2014 21:15:44 +0000 (15:15 -0600)]
POSIX.xs: Fix typo.

I haven't gotten used to my new keyboard, and missed this lowercase
letter that should have been uppercase.  Spotted by Dennis Kaarsemaker

9 years agoFix some compilation warnings
Karl Williamson [Thu, 12 Jun 2014 20:35:45 +0000 (14:35 -0600)]
Fix some compilation warnings

After commits d6ded95025185cb1ec8ca3ba5879cab881d8b180 and
130c5df3625bd130cd1e2771308fcd4eb66cebb2, there are some compilation
warnings if not all locale categories are used.

9 years agopp.c: Fix Win32 compilation problems
Karl Williamson [Thu, 12 Jun 2014 20:31:24 +0000 (14:31 -0600)]
pp.c: Fix Win32 compilation problems

Commit 130c5df3625bd130cd1e2771308fcd4eb66cebb2 introduced errors into
Windows (at least) compilations because it used #if's in the middle of
apparent function calls, but these were really macros that turned the
function call foo() into a call of Perl_foo(), and so we were doing
an #if from within a #define which is not generally legal.

9 years agoAllow to compile if don't have LC_CTYPE etc defined
Karl Williamson [Thu, 12 Jun 2014 19:26:24 +0000 (13:26 -0600)]
Allow to compile if don't have LC_CTYPE etc defined

Commit d6ded95025185cb1ec8ca3ba5879cab881d8b180 introduced
the ability to specify individual category parameters to 'use locale'.
However in doing so, it causes Perl to not be able to compile on
platforms that don't have some or all of those categories defined, such
as Android.  This commit uses #ifdefs to remedy that.

9 years agoregen podcheck.t db
Karl Williamson [Thu, 12 Jun 2014 19:24:13 +0000 (13:24 -0600)]
regen podcheck.t db

Several recent commits just changed the db manually, and in doing so
made incorrect changes.  It should instead be regenerated by machine
with the -regen parameter.

9 years agopp.c: Vertically stack ternary operators
Karl Williamson [Thu, 12 Jun 2014 18:06:02 +0000 (12:06 -0600)]
pp.c: Vertically stack ternary operators

This is for comprehensibility and to make a future commit easier.

9 years agoperldelta for 470dd22
Matthew Horsfall (alh) [Thu, 12 Jun 2014 17:05:35 +0000 (13:05 -0400)]
perldelta for 470dd22

9 years agoperldelta for 7fefc6c, dcccc8f, f83c603
Matthew Horsfall (alh) [Thu, 12 Jun 2014 11:01:57 +0000 (07:01 -0400)]
perldelta for 7fefc6c, dcccc8f, f83c603

9 years agoperldelta for c2b90b61b509, 4662a0593217, 46e2868e06e3
Tony Cook [Thu, 12 Jun 2014 05:24:32 +0000 (15:24 +1000)]
perldelta for c2b90b61b5094662a059321746e2868e06e3

9 years agosome perldelta fixes
Tony Cook [Thu, 12 Jun 2014 05:09:53 +0000 (15:09 +1000)]
some perldelta fixes

- move the utf8::downgrade() note out of the middle of the perl5db.pl
  entry

- give the Unicode::Collate entry back its =item

- move the Hash::Util entry into alphabetical order

9 years agobump $VERSION for PerlIO-encoding, PerlIO-mmap, PerlIO-scalar, OS2-Process
Tony Cook [Thu, 12 Jun 2014 04:06:25 +0000 (14:06 +1000)]
bump $VERSION for PerlIO-encoding, PerlIO-mmap, PerlIO-scalar, OS2-Process

9 years agoChange sv_catpvn(…, "…", …) to sv_catpvs(…, "…")
Dagfinn Ilmari Mannsåker [Mon, 9 Jun 2014 17:53:36 +0000 (18:53 +0100)]
Change sv_catpvn(…, "…", …) to sv_catpvs(…, "…")

The dual-life dist affected uses Devel::PPPort, so can safely use
sv_catpvs() even though it wasn't added until Perl v5.8.9.

9 years agotest for the Data::Dumper bug fixed by "Change newSVpvn("…", …) to newSVpvs("…")"
Tony Cook [Thu, 12 Jun 2014 03:50:22 +0000 (13:50 +1000)]
test for the Data::Dumper bug fixed by "Change newSVpvn("…", …) to newSVpvs("…")"

9 years agoChange newSVpvn("…", …) to newSVpvs("…")
Dagfinn Ilmari Mannsåker [Fri, 4 Oct 2013 15:48:40 +0000 (16:48 +0100)]
Change newSVpvn("…", …) to newSVpvs("…")

The dual-life dists affected use Devel::PPPort, so can safely use
newSVpvs() even though it wasn't added until Perl v5.8.9.

9 years agoBring a few lines in Storable.pm under 80 cols.
kafka [Thu, 12 Jun 2014 01:18:09 +0000 (21:18 -0400)]
Bring a few lines in Storable.pm under 80 cols.

Remove entry for storable in known_pod_issues.
Increment Storable version number.

For: https://rt.perl.org/Ticket/Display.html?id=121861

9 years agoSvREFCNT_dec_NN in pp_require
Daniel Dragan [Mon, 9 Jun 2014 09:50:19 +0000 (05:50 -0400)]
SvREFCNT_dec_NN in pp_require

Some compilers (GCC) will inline+optimize this, some don't (Visual C). Make
it clear to not check for null twice.

9 years agoRemove entries for threads.pm and CoreList.pod.
James E Keenan [Thu, 12 Jun 2014 00:57:39 +0000 (20:57 -0400)]
Remove entries for threads.pm and CoreList.pod.

Follow up to earlier POD corrections.  See: RT #121873 and #121822.

9 years agoBring a few lines in SelfLoader.pm under 80 cols.
kafka [Mon, 12 May 2014 17:13:43 +0000 (19:13 +0200)]
Bring a few lines in SelfLoader.pm under 80 cols.

Bump version number in SelfLoader.pm.
Remove 'selfloader' entry from known_pod_issues.

For: https://rt.perl.org/Ticket/Display.html?id=121850

9 years agoC backtrace tweaks.
Jarkko Hietaniemi [Wed, 11 Jun 2014 22:41:07 +0000 (18:41 -0400)]
C backtrace tweaks.

Rename the environment variable that triggers the backtrace before
warns and croaks as PERL_USE_C_BACKTRACE_ON_ERROR (and correspondingly,
the define as USE_C_BACKTRACE_ON_ERROR).

Pod cleanups and updates, and move the needed #includes from perl.h
to util.c since that's the only place where they are needed.

9 years agoperldelta for 808cb9e
Matthew Horsfall (alh) [Thu, 12 Jun 2014 00:10:22 +0000 (20:10 -0400)]
perldelta for 808cb9e

9 years agoperldelta for 30a1535
Matthew Horsfall (alh) [Thu, 12 Jun 2014 00:05:37 +0000 (20:05 -0400)]
perldelta for 30a1535

9 years agoperldelta for 2d8eb85
Matthew Horsfall (alh) [Wed, 11 Jun 2014 23:53:25 +0000 (19:53 -0400)]
perldelta for 2d8eb85

9 years agoperldelta for 53cb238
Matthew Horsfall (alh) [Wed, 11 Jun 2014 23:47:14 +0000 (19:47 -0400)]
perldelta for 53cb238

9 years agoperldelta for 8be3c4c
Matthew Horsfall (alh) [Wed, 11 Jun 2014 23:40:17 +0000 (19:40 -0400)]
perldelta for 8be3c4c

9 years agoperldelta for e5a8a0f.
Matthew Horsfall (alh) [Wed, 11 Jun 2014 23:10:44 +0000 (19:10 -0400)]
perldelta for e5a8a0f.

Also update the perldelta template since it mentioned x2p

9 years agoRemoved NeXT support
Brian Fraser [Tue, 3 Jun 2014 16:58:50 +0000 (18:58 +0200)]
Removed NeXT support

9 years agoUpdate Test-Harness to CPAN version 3.32
Chris 'BinGOs' Williams [Wed, 11 Jun 2014 17:03:40 +0000 (18:03 +0100)]
Update Test-Harness to CPAN version 3.32

  [DELTA]

3.32    2014-06-11
        - Remove harness_class from argument hash in T::H::E (Leon Timmermans)

9 years agoperldelta for be075ca, 037ab3f
Matthew Horsfall (alh) [Wed, 11 Jun 2014 13:54:20 +0000 (09:54 -0400)]
perldelta for be075ca, 037ab3f

9 years agoperldelta for 461a975
Matthew Horsfall (alh) [Wed, 11 Jun 2014 13:39:21 +0000 (09:39 -0400)]
perldelta for 461a975

9 years agoperldelta for coverity fixes
Matthew Horsfall (alh) [Wed, 11 Jun 2014 13:30:55 +0000 (09:30 -0400)]
perldelta for coverity fixes

9 years agoperldelta for b3cf482, 4fa715f
Matthew Horsfall (alh) [Wed, 11 Jun 2014 13:23:16 +0000 (09:23 -0400)]
perldelta for b3cf482, 4fa715f

9 years agoperldelta for ae07d0f
Matthew Horsfall (alh) [Wed, 11 Jun 2014 12:44:20 +0000 (08:44 -0400)]
perldelta for ae07d0f

9 years agoperldelta for bd47baf
Matthew Horsfall (alh) [Wed, 11 Jun 2014 12:38:12 +0000 (08:38 -0400)]
perldelta for bd47baf

9 years agoperldelta for 725995b
Matthew Horsfall (alh) [Wed, 11 Jun 2014 12:28:43 +0000 (08:28 -0400)]
perldelta for 725995b

9 years ago[perl #121585] Configure shouldn't write source tree
H.Merijn Brand [Wed, 11 Jun 2014 07:45:50 +0000 (09:45 +0200)]
[perl #121585] Configure shouldn't write source tree

9 years agoFix cbacktrace
H.Merijn Brand [Wed, 11 Jun 2014 07:45:44 +0000 (09:45 +0200)]
Fix cbacktrace

9 years agoFix i_bfd
H.Merijn Brand [Wed, 11 Jun 2014 07:09:04 +0000 (09:09 +0200)]
Fix i_bfd

The final i_bfd statement was a wrong copy-paste

re-order Configure: in preparation of backporting this change and
integration of another, some reorder is required