This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
perl5.git
10 years agoRearrange the RMG steps relating to the release branch and tag
Steve Hay [Fri, 16 Aug 2013 21:27:32 +0000 (22:27 +0100)]
Rearrange the RMG steps relating to the release branch and tag

The main steps in this regard in the current RMG are:

1. Commit the work as it's done to the local release branch
2. Push those commits to the remote release branch (creating it in the
   process)
3. Create a tag identifying the last commit in the release branch
4. Publish that release tag to the public repository
5. Merge the [local] release branch commits into the local blead branch
6. Push those merged commits to the remote blead branch

A recently added query in the RMG asked why it was necessary to push the
work so far (step (2) above), given that we're working on a release branch.

In an email discussion with RJBS we reached the conclusion that it is
indeed unnecessary: the merge in step (5) operates purely on the local
release branch, so there is no need to push anything first.

The release tag still needs to be pushed (step (4)), though, because in a
default Git configuration "git push" only pushes commits, not tags as well.
However, if we omit step (2) then it makes more sense to delay step (4)
until after steps (5) and (6) otherwise we are publishing a tag identifying
a commit that hasn't been pushed anywhere public yet.

The above sequence of steps has therefore been changed to:

1. Commit the work as it's done to the local release branch
2. Create a tag identifying the last commit in the local release branch
3. Merge the local release branch commits into the local blead branch
4. Push those merged commits to the remote blead branch
5. Publish the tag (which identifies the last of those pushed commits)
   to the public repository

For the same reasons, the "git push origin ...." when disarming
patchlevel.h in non-BLEAD-POINT releases has been removed since we're still
on the release branch at this point in the process.

Also, since we now never push anything to a remote release branch, there is
no longer any need to delete it. Only the local release branch needs
deleting.

Finally, the last "git commit" instruction in the RMG (regarding copying
perldelta.pod to blead for MAINT and BLEAD-FINAL releases) was lacking a
"git push origin ....": we're no longer on the release branch by this stage
of the process.

10 years agoFix include-related missing variables in configure.com.
Craig A. Berry [Fri, 16 Aug 2013 22:13:24 +0000 (17:13 -0500)]
Fix include-related missing variables in configure.com.

10 years ago[perl #119271] Faulty test for INT16 in Configure
H.Merijn Brand [Fri, 16 Aug 2013 12:23:20 +0000 (14:23 +0200)]
[perl #119271] Faulty test for INT16 in Configure

#ifdef INT16
   int16_t i =  INT16_MAX;
  uint16_t i = UINT16_MAX;
  printf("int16_t\n");
#endif

Declaring i twice is a typo; The second variable should be a 'u'.

10 years agoperlhist: import perlhist changes from 5.18.1
Ricardo Signes [Fri, 16 Aug 2013 02:25:21 +0000 (22:25 -0400)]
perlhist: import perlhist changes from 5.18.1

10 years agoperlexperiment: link to tracking ticket for installhtml
Ricardo Signes [Fri, 16 Aug 2013 01:55:26 +0000 (21:55 -0400)]
perlexperiment: link to tracking ticket for installhtml

10 years agoperlexperiment: link to tracking ticket for my $_
Ricardo Signes [Fri, 16 Aug 2013 01:55:01 +0000 (21:55 -0400)]
perlexperiment: link to tracking ticket for my $_

10 years agoperlexperiment: link to tracking ticket for smartmatch
Ricardo Signes [Fri, 16 Aug 2013 01:54:50 +0000 (21:54 -0400)]
perlexperiment: link to tracking ticket for smartmatch

10 years agoperlexperiment: link to tracking ticket for :unique
Ricardo Signes [Fri, 16 Aug 2013 01:54:32 +0000 (21:54 -0400)]
perlexperiment: link to tracking ticket for :unique

10 years agoperlexperiment: embedded code in regex not experimental
Ricardo Signes [Fri, 16 Aug 2013 00:26:33 +0000 (20:26 -0400)]
perlexperiment: embedded code in regex not experimental

This was sorted out by 83f32abae and the thread found at
http://www.nntp.perl.org/group/perl.perl5.porters/2013/06/msg203129.html

10 years agoremove API experiments from perlexperiment
Ricardo Signes [Fri, 16 Aug 2013 00:20:17 +0000 (20:20 -0400)]
remove API experiments from perlexperiment

As we discussed on p5p, these experiments are too many, too
undifferentiated, and already marked in the perlapi documentation.

10 years agolib/locale.t: Make Windows machines failures TODOs
Karl Williamson [Thu, 15 Aug 2013 19:40:51 +0000 (13:40 -0600)]
lib/locale.t: Make Windows machines failures TODOs

On some Windows machines, all locales are defective except the C locale.
See http://markmail.org/message/5jwam4xsx4amsdnv.

10 years agolib/locale.t: Add comment
Karl Williamson [Thu, 15 Aug 2013 19:26:55 +0000 (13:26 -0600)]
lib/locale.t: Add comment

10 years agolib/locale.t: Add, improve debugging output
Karl Williamson [Thu, 15 Aug 2013 19:24:15 +0000 (13:24 -0600)]
lib/locale.t: Add, improve debugging output

This now dumps out what all the [:posix:] classes match under debugging,
using the format introduced a few commits ago.  This is helpful in
examining what might be wrong.

10 years agolib/locale.t: Change variable name for accuracy
Karl Williamson [Thu, 15 Aug 2013 19:19:55 +0000 (13:19 -0600)]
lib/locale.t: Change variable name for accuracy

The variable means \w, not Alnum, which matches [:alnum:], and has a
somewhat different meaning.

10 years agolib/locale.t: Improve debug output
Karl Williamson [Thu, 15 Aug 2013 18:42:46 +0000 (12:42 -0600)]
lib/locale.t: Improve debug output

This creates a function to display a list of code points that are passed
in.  It uses hex for non-ASCII graphics and otherwise outputs the
characters, perhaps as ranges.  It makes reading the output a lot
easier.  Previously, there could be discrepancies in if the output was
in utf8 vs what the file handle thought, and even when there was no
such discrepancy, the upper Latin1 characters were displayed as if the
locale is Latin1, which it likely wasn't, so the graphics were
misleading.

10 years agolib/locale.t: White-space only
Karl Williamson [Thu, 15 Aug 2013 18:38:19 +0000 (12:38 -0600)]
lib/locale.t: White-space only

Properly indent because of newly formed block

10 years agolib/locale.t: Fix :digit:, :xdigit: tests
Karl Williamson [Thu, 15 Aug 2013 18:31:55 +0000 (12:31 -0600)]
lib/locale.t: Fix :digit:, :xdigit: tests

In commit 32e8aa3fdb11b64c2a141bf56441761d978fd17b, I forgot that the
POSIX standard allows \d ([:digit:]) to match either the 10 ASCII
digits, or those plus another 10 locale-dependent ones.  This new commit
tests that the number matched is either 10 or 20, and if not 10, then
\d doesn't have to be a subset of [:xdigit:], so skip that test.

10 years agolib/locale.t: Use proper constant.
Karl Williamson [Wed, 14 Aug 2013 20:07:03 +0000 (14:07 -0600)]
lib/locale.t: Use proper constant.

Prior to this commit, locale.t faked out setlocale() somehow by making
LC_ALL a function that returns nothing.  This commit changes that to use
the proper constant POSIX::LC_ALL

10 years agoUpdate Scalar-List-Utils to CPAN version 1.31
Chris 'BinGOs' Williams [Thu, 15 Aug 2013 21:23:48 +0000 (22:23 +0100)]
Update Scalar-List-Utils to CPAN version 1.31

  [DELTA]

1.31 -- Wed Aug 14 20:38 UTC 2013

  * Bugfix pairmap to return list length in scalar context
  * Added "Odd number of elements" warnings to all pair* functions

10 years agoFix remaining missing d_xxx variables in configure.com.
Craig A. Berry [Thu, 15 Aug 2013 20:46:51 +0000 (15:46 -0500)]
Fix remaining missing d_xxx variables in configure.com.

10 years agoMake DMAKE import everything from the environment like NMAKE does
Steve Hay [Thu, 15 Aug 2013 13:02:10 +0000 (14:02 +0100)]
Make DMAKE import everything from the environment like NMAKE does

We already imported WIN64, CCHOME and a couple of others. It is useful to
have CCTYPE and GCCCROSS as well, and in fact we may as well simply import
everything since that is what NMAKE does anyway.

10 years agoRegen t/porting/customized.dat following f81a37f2d8
Steve Hay [Thu, 15 Aug 2013 12:04:55 +0000 (13:04 +0100)]
Regen t/porting/customized.dat following f81a37f2d8

10 years agoAll modified files in UPSTREAM=>cpan/undef distros are now listed as CUSTOMIZED
Steve Hay [Thu, 15 Aug 2013 08:20:56 +0000 (09:20 +0100)]
All modified files in UPSTREAM=>cpan/undef distros are now listed as CUSTOMIZED

All of these modifications already had, or now have, rt.cpan.org tickets
for them requesting that the changes be merged upstream, and the ticket
numbers are now listed in Maintainers.pl alongside each list of CUSTOMIZED
files.

The goal is ultimately to get new CPAN distros rolled for all of these so
that we have no CUSTOMIZED files left (other than a couple of special
cases - libnet, Module::Build and podlators), but there is nothing we can
do at our end to make this happen.

10 years agoNo need to look for Borland's debug symbols files
Steve Hay [Thu, 15 Aug 2013 07:36:36 +0000 (08:36 +0100)]
No need to look for Borland's debug symbols files

Commit 378eeda70c missed this.

10 years agoCommit 4d3a042da1 missed a corresponding update to win32/makefile.mk
Steve Hay [Thu, 15 Aug 2013 07:33:01 +0000 (08:33 +0100)]
Commit 4d3a042da1 missed a corresponding update to win32/makefile.mk

10 years agoperluniprops: Add missing character to what's matched
Karl Williamson [Thu, 15 Aug 2013 04:00:16 +0000 (22:00 -0600)]
perluniprops: Add missing character to what's matched

mktables omitted the equal sign from the generated pod for certain
properties that should match it.

10 years agoPATCH (partial) [perl #107816] Performance regression since 0abd0d78
Karl Williamson [Mon, 12 Aug 2013 17:23:34 +0000 (11:23 -0600)]
PATCH (partial) [perl #107816] Performance regression since 0abd0d78

0abd0d78 removed making tries under /di matching, the reason being that
it was broken for many of the upper Latin1 characters, the ones whose
matches aren't fully known until run-time.  For example under /di, LATIN
CAPITAL LETTER A WITH GRAVE caselessly matches LATIN SMALL LETTER A WITH
GRAVE if and only if the target string is encoded in UTF-8.  Under /ui
matching, these always match, and so tries are constructed for them.

But if a regnode doesn't contain any of the 61 problematic characters (nor
the sequence 'ss' (upper- and/or lowercase), what it matches is fully
known at compile time, and so should be trie-able as-is.

This commit merely keeps track of if any character in the regnode is one
of the 61 or the 'ss' sequence, and if not, changes its type to be /ui
and hence trie-able.

10 years agoregcomp.c: Move code into a #define
Karl Williamson [Sun, 11 Aug 2013 03:47:02 +0000 (21:47 -0600)]
regcomp.c: Move code into a #define

This logic will be used in an additional area of the program in a future
commit.

The #define also generalizes the code so it works on not just 'S' and
's', but any upper/lower case pair of ASCII alphabetics.

10 years agoregcomp.c: Skip calculating a pass2 value in pass1
Karl Williamson [Sun, 11 Aug 2013 01:02:49 +0000 (19:02 -0600)]
regcomp.c: Skip calculating a pass2 value in pass1

The result of this value at the end of the loop is discarded in pass1 of
the regex compilation, so don't bother to calculate it.

10 years agoregcomp.h: Add a couple #define synonyms
Karl Williamson [Sun, 11 Aug 2013 01:00:37 +0000 (19:00 -0600)]
regcomp.h: Add a couple #define synonyms

Sometimes SIZE_ONLY isn't really clear as to what is going, on.  This
adds PASS1 and PASS2 for such instances.

10 years agoregcomp.c: Move some initialization to declarations
Karl Williamson [Sun, 11 Aug 2013 00:28:04 +0000 (18:28 -0600)]
regcomp.c: Move some initialization to declarations

This changes the declarations of two variables to also initialize them,
removing the initializing statements further down.  This will be helpful
in a future commit, besides being generally slightly faster.

10 years agoutf8.pm: Slight clarification in pod
Karl Williamson [Mon, 12 Aug 2013 20:10:15 +0000 (14:10 -0600)]
utf8.pm: Slight clarification in pod

10 years agoperldelta for 6136213, cccbbce
Tony Cook [Thu, 15 Aug 2013 01:29:01 +0000 (11:29 +1000)]
perldelta for 6136213, cccbbce

10 years ago[perl #92446] fix recursion introduced in original patch
Tony Cook [Tue, 13 Aug 2013 06:38:50 +0000 (16:38 +1000)]
[perl #92446] fix recursion introduced in original patch

Some of the other interfaces format_arg() calls can cluck(), confess() or
longmess().  Avoid infinite recursion in those cases.

Also, instead of die() on format_arg recursion, fallback to basic
CLASS=HASH(...) output.

This fixes issues with CGI-Application, Devel-TrackSIG and Class-Std.

- for CGI-Application we ended up calling can(CARP_TRACE) on a CGI.pm
  object, which instead of returning false, croak()s

- Devel-TrackSIG calls Carp::longmess when we set the __DIE__ handler

10 years agoScalar-List-Utils in perl does not use its own version of Makefile.PL
Steve Hay [Wed, 14 Aug 2013 20:21:08 +0000 (21:21 +0100)]
Scalar-List-Utils in perl does not use its own version of Makefile.PL

10 years agoNo need to list IGNORABLES as EXCLUDED
Steve Hay [Wed, 14 Aug 2013 20:19:13 +0000 (21:19 +0100)]
No need to list IGNORABLES as EXCLUDED

10 years agoFix miniperl.exe.manifest problem on Windows
Steve Hay [Wed, 14 Aug 2013 13:18:49 +0000 (14:18 +0100)]
Fix miniperl.exe.manifest problem on Windows

Commit cb251201d6 inadvertently broke the embedding of the manifest file
in miniperl.exe by changing the target which builds miniperl.exe and hence
the value of $@, which is used in the EMBED_EXE_MANI macro.

It isn't hugely important since the .exe works fine with the .manifest left
alongside it anyway (and miniperl.exe isn't even an installed file either),
but fixing it saves having to .gitignore the .manifest file which was being
left behind rather than embedded and deleted.

We can do this nicely in dmake-speak; unfortunately nmake's version of the
same isn't as nice since it can't handle macros in macro substitutions.

10 years agoUpgrade Encode from 2.51 to 2.52
Steve Hay [Wed, 14 Aug 2013 07:24:33 +0000 (08:24 +0100)]
Upgrade Encode from 2.51 to 2.52

10 years agoFix miscellaneous missing d_xxx variables in configure.com.
Craig A. Berry [Wed, 14 Aug 2013 00:27:01 +0000 (19:27 -0500)]
Fix miscellaneous missing d_xxx variables in configure.com.

There are still 200+ variables in Porting/Glossary that are not
written by configure.com, but these jumped out as the initial set
that might be of actual use.

10 years ago[perl #3330] avoid an uncaught warning from op/inc.t
Tony Cook [Wed, 14 Aug 2013 00:05:18 +0000 (10:05 +1000)]
[perl #3330] avoid an uncaught warning from op/inc.t

and add a warnings.t test case to check for that warning

10 years agoMinGW(-w64)/gcc on Windows includes <stdbool.h>
Steve Hay [Tue, 13 Aug 2013 21:13:17 +0000 (22:13 +0100)]
MinGW(-w64)/gcc on Windows includes <stdbool.h>

None of VC++ 6.0 through 11.0 do, however, so no change in the *.vc files.

10 years agoimprove regexec_flags() API documentation
David Mitchell [Tue, 13 Aug 2013 21:25:46 +0000 (22:25 +0100)]
improve regexec_flags() API documentation

In the API, rename the 'screamer' arg to be 'sv' instead;
update the description of the functions args;
improve the documentation of the REXEC_* flags for the 'flags' arg.

10 years agoCorrect perlguts docs about PADMY & PADTMP
Father Chrysostomos [Tue, 13 Aug 2013 20:13:44 +0000 (13:13 -0700)]
Correct perlguts docs about PADMY & PADTMP

10 years agoCopy PADTMPS passed to XSUBs
Father Chrysostomos [Tue, 13 Aug 2013 20:10:15 +0000 (13:10 -0700)]
Copy PADTMPS passed to XSUBs

This resolves the last remaining issue in ticket #78194, that
newRV is supposedly buggy because it doesn’t copy its referent.
The full implications of the PADTMP are not explained anywhere in
the API docs, and even XSUBs shouldn’t have to worry about special
handling.  (E.g., what if they do SvREFCNT_dec(SvRV(sv)); SvRV(sv)=...?)

So the real solution here is not to let XSUBs see them.

10 years agoDescribe ext/XS-APItest/t/call.t better
Father Chrysostomos [Tue, 13 Aug 2013 16:05:30 +0000 (09:05 -0700)]
Describe ext/XS-APItest/t/call.t better

10 years agoperldelta for Devel::Peek::Dump changes
Father Chrysostomos [Tue, 13 Aug 2013 15:56:12 +0000 (08:56 -0700)]
perldelta for Devel::Peek::Dump changes

10 years agoUpdate Devel::Peek docs with Dump changes
Father Chrysostomos [Tue, 13 Aug 2013 15:39:14 +0000 (08:39 -0700)]
Update Devel::Peek docs with Dump changes

Boy, does this whole document need a rewrite....

10 years agoInline Devel::Peek::Dump; allow Dump %hash etc.
Father Chrysostomos [Mon, 12 Aug 2013 04:54:11 +0000 (21:54 -0700)]
Inline Devel::Peek::Dump; allow Dump %hash etc.

This commit makes Devel::Peek::Dump modify the op tree to allow it to
dump arrays and hashes directly via Dump @array and Dump %hash.  It
also puts other operators in rvalue context, allowing the return value
of rvalue substr for instance to be dumped, making Devel::Peek more
useful as a debugging tool.

Since a future commit (to fix the rest of #78194) is likely to make
pp_entersub copy PADTMPs (operator return values) for XSUBs (it
already happens for Perl subs as of b479c9f2a), to the detriment of
Devel::Peek’s usefulness, I also made it inline Dump as a custom op.

This does introduce a backward-incompatible change, in that both argu-
ments to Dump are now in scalar context, and the number of arguments
is checked at compile time instead of run time (still run time for
&Dump(...)), but I think it is worth it.

10 years agoUpdate win32/config_H.[gv]c canned configuration files
Steve Hay [Tue, 13 Aug 2013 13:34:37 +0000 (14:34 +0100)]
Update win32/config_H.[gv]c canned configuration files

The win32/config.[gv]c files are generally kept up to date these days (and
we have tests to check that) so no changes are required in them.

The win32/config_H.[gv]c files are regenerated as per instructions in the
win32/Makefile and win32/makefile.mk, being careful to restore a couple of
things otherwise lost from the config_H.gc file. The files are now in sync
with the top-level master configuration file, config_h.SH.

10 years agoWrite win32/config.h with *nix EOLs, as per the canned config_H.* files
Steve Hay [Tue, 13 Aug 2013 13:04:53 +0000 (14:04 +0100)]
Write win32/config.h with *nix EOLs, as per the canned config_H.* files

This makes no difference when actually building perl, but saves a dos2unix
when regenerating the canned files with the regen_config_h makefile targets.

10 years agoperldelta: add entries for c3923c3, e82485c
David Mitchell [Tue, 13 Aug 2013 15:09:33 +0000 (16:09 +0100)]
perldelta: add entries for c3923c3, e82485c

10 years agoperldelta for 61e9f3f
Father Chrysostomos [Tue, 13 Aug 2013 15:24:59 +0000 (08:24 -0700)]
perldelta for 61e9f3f

10 years agoAppease podcheck.t
Father Chrysostomos [Tue, 13 Aug 2013 15:21:59 +0000 (08:21 -0700)]
Appease podcheck.t

It doesn’t like E<quot> in links, though the pod spec (if I read it
correctly) allows it.  It doesn’t mind quotes within quotes.

10 years agoperldelta for #92260/b59747a
Father Chrysostomos [Tue, 13 Aug 2013 13:08:56 +0000 (06:08 -0700)]
perldelta for #92260/b59747a

10 years agoperldelta for #117355/aca7040
Father Chrysostomos [Tue, 13 Aug 2013 13:07:33 +0000 (06:07 -0700)]
perldelta for #117355/aca7040

10 years agoperldelta for #3330/8140a7a
Father Chrysostomos [Tue, 13 Aug 2013 13:02:04 +0000 (06:02 -0700)]
perldelta for #3330/8140a7a

10 years agoStop reset from clearing aliases to globs
Father Chrysostomos [Tue, 13 Aug 2013 12:55:12 +0000 (05:55 -0700)]
Stop reset from clearing aliases to globs

If $z has been aliased to *foo, then reset("z") would turn off the
SvOK flags on *foo, putting it in an inconsistent state.  This could
cause crashes.

10 years agoperldelta for 045071e
Father Chrysostomos [Tue, 13 Aug 2013 05:11:24 +0000 (22:11 -0700)]
perldelta for 045071e

10 years agoperldelta for 5f213d9
Father Chrysostomos [Tue, 13 Aug 2013 05:08:34 +0000 (22:08 -0700)]
perldelta for 5f213d9

10 years agoperldelta for 9bcf803 and 376ccf8
Father Chrysostomos [Tue, 13 Aug 2013 05:07:51 +0000 (22:07 -0700)]
perldelta for 9bcf803 and 376ccf8

10 years agoperldelta for 85b7d9b
Father Chrysostomos [Tue, 13 Aug 2013 05:06:27 +0000 (22:06 -0700)]
perldelta for 85b7d9b

10 years agoperldelta for 48120f8
Father Chrysostomos [Tue, 13 Aug 2013 05:05:16 +0000 (22:05 -0700)]
perldelta for 48120f8

10 years agoperldelta for 3b68edc
Father Chrysostomos [Tue, 13 Aug 2013 05:02:52 +0000 (22:02 -0700)]
perldelta for 3b68edc

10 years agoperldelta: another to-do
Father Chrysostomos [Tue, 13 Aug 2013 05:00:46 +0000 (22:00 -0700)]
perldelta: another to-do

10 years agoperldelta for a547fd2
Father Chrysostomos [Tue, 13 Aug 2013 04:43:09 +0000 (21:43 -0700)]
perldelta for a547fd2

10 years agoperldelta for 9e0ea7f
Father Chrysostomos [Tue, 13 Aug 2013 04:28:07 +0000 (21:28 -0700)]
perldelta for 9e0ea7f

The thing about locking hash keys inside the substitution and
vivifying globs is too hard to explain clearly and concisely.
This section is entitled ‘*Selected* Bug Fixes’, after all.

10 years agoperldelta for 649c173
Father Chrysostomos [Tue, 13 Aug 2013 04:26:03 +0000 (21:26 -0700)]
perldelta for 649c173

10 years agoperldelta: another to-do
Father Chrysostomos [Tue, 13 Aug 2013 04:23:43 +0000 (21:23 -0700)]
perldelta: another to-do

10 years agoperldelta for 51da40e
Father Chrysostomos [Tue, 13 Aug 2013 03:42:54 +0000 (20:42 -0700)]
perldelta for 51da40e

10 years agoperldelta for 6b35226
Father Chrysostomos [Tue, 13 Aug 2013 03:27:06 +0000 (20:27 -0700)]
perldelta for 6b35226

10 years agoperldelta for 3df32bd
Father Chrysostomos [Tue, 13 Aug 2013 03:25:38 +0000 (20:25 -0700)]
perldelta for 3df32bd

10 years agoperldelta for 1311cfc
Father Chrysostomos [Tue, 13 Aug 2013 03:24:23 +0000 (20:24 -0700)]
perldelta for 1311cfc

10 years agoperldelta: anither to-do
Father Chrysostomos [Tue, 13 Aug 2013 03:22:03 +0000 (20:22 -0700)]
perldelta: anither to-do

10 years agoperldelta for c30fc27
Father Chrysostomos [Tue, 13 Aug 2013 03:19:01 +0000 (20:19 -0700)]
perldelta for c30fc27

The first part was stolen from 72251ce78c061 on the maint-5.18 branch.

10 years agoperldelta: missing =item
Father Chrysostomos [Tue, 13 Aug 2013 03:16:06 +0000 (20:16 -0700)]
perldelta: missing =item

10 years ago[perl #45667] Apply tests from #119125 in reverse
Father Chrysostomos [Tue, 13 Aug 2013 03:07:33 +0000 (20:07 -0700)]
[perl #45667] Apply tests from #119125 in reverse

Ticket #119125 represents the breakage caused by c30fc27b4df65a, which
fixed #45667 (/[#]$not_interpolated/x; a regression from 5.000) as a
side-effect of fixing /[#](?{this is not a code block})/x (a regres-
sion from 5.16.0).

It was backported to maint-5.18, which broke several modules, because
bug #45667 is *old*, and many modules depend on it.

So 02682386fe3e on the maint branch modified the fix to apply only to
code blocks, and added tests to make sure that #45667 wasn’t fixed.

#45667 is fixed in blead, but is untested, so grab the tests from
02682386fe3e and reverse the logic of the second one.

10 years agomg.c: Fix U32-to-bool assignment
Father Chrysostomos [Mon, 12 Aug 2013 22:52:23 +0000 (15:52 -0700)]
mg.c: Fix U32-to-bool assignment

This was caused by 3805b5fb04.  This commit restores the !=0 that
was there before 2fd13eccf0.

Thanks to Steve Hay for helping to track down the smoke failures.

10 years agoperldelta for #118213/5b0e71e
Father Chrysostomos [Mon, 12 Aug 2013 23:15:47 +0000 (16:15 -0700)]
perldelta for #118213/5b0e71e

10 years agoperldelta: more to-do items
Father Chrysostomos [Mon, 12 Aug 2013 23:12:04 +0000 (16:12 -0700)]
perldelta: more to-do items

10 years agoperldelta: begin a to-do list
Father Chrysostomos [Mon, 12 Aug 2013 23:00:26 +0000 (16:00 -0700)]
perldelta: begin a to-do list

10 years agoperldelta for 1913067
Father Chrysostomos [Mon, 12 Aug 2013 21:34:30 +0000 (14:34 -0700)]
perldelta for 1913067

10 years agoperldelta for 5d71919
Father Chrysostomos [Mon, 12 Aug 2013 21:31:29 +0000 (14:31 -0700)]
perldelta for 5d71919

10 years agoperldelta for #79908/137da2b
Father Chrysostomos [Mon, 12 Aug 2013 21:29:16 +0000 (14:29 -0700)]
perldelta for #79908/137da2b

10 years agoperldelta for mutable inlining & folding
Father Chrysostomos [Mon, 12 Aug 2013 21:27:36 +0000 (14:27 -0700)]
perldelta for mutable inlining & folding

2484f8d Stop folding of ops from changing mutability
94d5c17 Stop constant.pm from (ab)using subs for scalars
6f1b3ab Allow stash elems to be array refs
f815dc1 Inline list constants
c5a2441 Update constant.pm to reflect list inlinement
08f3c42 Tweak optree_constants.t for inlined list consts
d244020 Make sub(){42} return a mutable value
0ad6fa3 Stop op freeing from interfering with sub(){42} mutability

10 years agoperldelta for #3105/5608dcc
Father Chrysostomos [Mon, 12 Aug 2013 21:24:18 +0000 (14:24 -0700)]
perldelta for #3105/5608dcc

10 years agoperldelta for \$_.\$_ no longer giving 2 addresses
Father Chrysostomos [Mon, 12 Aug 2013 21:21:25 +0000 (14:21 -0700)]
perldelta for \$_.\$_ no longer giving 2 addresses

325e181 pad.c: Use &PL_sv_no for const pad names
82b84d0 op.c: Stop copying constants under ithreads
4891fdf pad.c: cast before comparing signed with unsigned
a0ed822 [perl #78194] Make grep/map copy pad tmps
b479c9f [perl #78194] Make sub calls copy pad tmps
8e079c2 [perl #78194] Make foreach copy pad tmps
706a6eb [perl #78194] Make list slices copy PADTMPs in lv cx
da9e430 [perl #78194] Make x copy PADTMPs in lv cx
2b66f6d [perl #78194] Make sort copy PADTMPs
82c2360 [perl #78194] Make re-evals copy PADTMPs
fb09017 pad.c apidocs: Clarify use of &PL_sv_no

10 years agoperldelta for ef54055
Father Chrysostomos [Mon, 12 Aug 2013 21:10:17 +0000 (14:10 -0700)]
perldelta for ef54055

10 years agoperldelta for #72766/6174b39
Father Chrysostomos [Mon, 12 Aug 2013 21:08:38 +0000 (14:08 -0700)]
perldelta for #72766/6174b39

10 years agoUpdate t/porting/customized.dat for cpan/libnet/Makefile.PL
Steve Hay [Mon, 12 Aug 2013 23:43:56 +0000 (00:43 +0100)]
Update t/porting/customized.dat for cpan/libnet/Makefile.PL

10 years agoUpgrade Time::Piece from 1.21 to 1.22
Steve Hay [Mon, 12 Aug 2013 23:04:41 +0000 (00:04 +0100)]
Upgrade Time::Piece from 1.21 to 1.22

10 years agoUpgrade IO::Compress::* and Compress::Raw::* from 2.061 to 2.062
Steve Hay [Mon, 12 Aug 2013 23:03:39 +0000 (00:03 +0100)]
Upgrade IO::Compress::* and Compress::Raw::* from 2.061 to 2.062

10 years agoUpgrade libnet from 1.22_02 to 1.23
Steve Hay [Mon, 12 Aug 2013 22:41:35 +0000 (23:41 +0100)]
Upgrade libnet from 1.22_02 to 1.23

Changed my mind over the UPSTREAM status too: 'cpan' is probably better
after all. As long as someone (currently me) is responsive in rolling new
CPAN releases then any patches from core can safely go to rt.cpan.org
without getting stuck on a pile for a long time. Meanwhile, other patches
sent to rt.cpan.org may also get applied, and hopefully one day a more
active maintainer may be found. This also saves having to move it from
cpan/ to dist/.

10 years agoSync version of Module-CoreList
Chris 'BinGOs' Williams [Mon, 12 Aug 2013 20:59:55 +0000 (21:59 +0100)]
Sync version of Module-CoreList

10 years agoFix MANIFEST and update Changes in Module-CoreList
Chris 'BinGOs' Williams [Mon, 12 Aug 2013 20:59:02 +0000 (21:59 +0100)]
Fix MANIFEST and update Changes in Module-CoreList

10 years agolib/locale.t: Make suitable for testing locales sanity
Karl Williamson [Thu, 8 Aug 2013 03:30:01 +0000 (21:30 -0600)]
lib/locale.t: Make suitable for testing locales sanity

This just adds some more explanatory text to the output when errors are
encountered, and causes it to not generate TODOs for failing tests under
debug mode.  These TODOs were generated when only a small percentage of
the locales have failures, thus indicating that the fault is in those
locale definitions and not Perl itself, and hence we shouldn't fail the
build because somebody's system has a few bad locale definitions.

This commit causes the failures to be real failures when under debug
mode.  Given this and the new explanatory text, this .t is suitable for
testing locales for sanity.  I'll ask p5p whether we should advertise
that fact or not.

10 years agolib/locale.t: Move advice output to end
Karl Williamson [Thu, 8 Aug 2013 02:44:32 +0000 (20:44 -0600)]
lib/locale.t: Move advice output to end

This just moves a block so that the messages it generates are displayed
at the end of the locale.t output, instead of in the middle.  This makes
them more likely to be noticed.

10 years agolocale.t: Don't show 100% pass when there are failures
Karl Williamson [Thu, 8 Aug 2013 02:05:27 +0000 (20:05 -0600)]
locale.t: Don't show 100% pass when there are failures

This was because it only rounded to the nearest percent.  Rounding to
the nearest .1% should eliminate the problem, as there are fewer than
1000 possible locales.

10 years agolocale.c: Rmv unused variable
Karl Williamson [Sun, 28 Jul 2013 04:05:14 +0000 (22:05 -0600)]
locale.c: Rmv unused variable

10 years agolib/locale.t: White-space only
Karl Williamson [Mon, 12 Aug 2013 19:15:27 +0000 (13:15 -0600)]
lib/locale.t: White-space only

This outdents text and reflows comments in a now-removed block

10 years agolib/locale.t: Don't skip certain tests
Karl Williamson [Mon, 12 Aug 2013 18:47:50 +0000 (12:47 -0600)]
lib/locale.t: Don't skip certain tests

The removed code caused tests to be skipped when the locale doesn't add
any \w characters beyond the C locale.  That meant in practice these
tests were likely skipped only for the C and POSIX locales.  The problem
is that doing this required extra complexity in figuring out how many
tests to skip.  Removing this makes the code easier to understand and
maintain.