This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
perl5.git
23 months agoPerl_scalar(): indent block
David Mitchell [Tue, 28 May 2019 14:25:48 +0000 (15:25 +0100)]
Perl_scalar(): indent block

.. that has just been wrapped in a while loop.
Whitespace-only change.

23 months agomake Perl_scalar() mostly non-recursive
David Mitchell [Tue, 28 May 2019 14:23:44 +0000 (15:23 +0100)]
make Perl_scalar() mostly non-recursive

Where it just recursively calls scalar() on all its children, instead
iteratively walk the sub-tree, using o->op_sibparent to work back
upwards.

Where it is more complex, such as OP_REPEAT imposing scalar context on its
first arg but not its second, recurse as before.

23 months agofix type in Perl_list()
David Mitchell [Tue, 28 May 2019 11:23:10 +0000 (12:23 +0100)]
fix type in Perl_list()

23 months agoPerl_scalar(): re-order a few switch cases
David Mitchell [Tue, 28 May 2019 11:22:19 +0000 (12:22 +0100)]
Perl_scalar(): re-order a few switch cases

Just a cosmetic change.

23 months agoPerl_scalar(): remove redundant switch labels
David Mitchell [Tue, 28 May 2019 11:19:23 +0000 (12:19 +0100)]
Perl_scalar(): remove redundant switch labels

Remove some explicit cases that just do the same as 'default:'

23 months agoDocument what Perl_scalar() does
David Mitchell [Tue, 28 May 2019 11:17:12 +0000 (12:17 +0100)]
Document what Perl_scalar() does

and add blank lines for e.g. better readability between switch() cases.
Also remove a lying /* FALLTHROUGH */

23 months agoPerl_list() tail-call optimise
David Mitchell [Tue, 18 Jun 2019 14:11:12 +0000 (15:11 +0100)]
Perl_list() tail-call optimise

The part of this function that scans the children of e.g.

    @a = do { void; void; list }

applying list context only to the last child, tail call optimise that
call to list().

(See also a few commits later entitled "Perl_scalar() tail-call
optimise" for a discourse on setting PL_curcop (in)correctly.)

23 months agoPerl_list(): doc and reorganise complex bool
David Mitchell [Wed, 29 May 2019 10:22:48 +0000 (11:22 +0100)]
Perl_list(): doc and reorganise complex bool

The if statement that scans children applying void context to all except
the last child:

1) document what it does;
2) reorganise it (without changing its logical meaning) to make the next
commit easier.

23 months agoreindent Perl_list()
David Mitchell [Tue, 28 May 2019 10:25:22 +0000 (11:25 +0100)]
reindent Perl_list()

The previous commit wrapped most of the body of this function in a while
loop.

23 months agomake Perl_list() mostly non-recursive
David Mitchell [Tue, 28 May 2019 09:57:46 +0000 (10:57 +0100)]
make Perl_list() mostly non-recursive

Where it just recursively calls list() on all its children, instead
iteratively walk the sub-tree, using o->op_sibparent to work back
upwards.

Where it is more complex, such as OP_REPEAT imposing list context on its
first arg but not its second, recurse as before.

23 months agoPerl_list(): re-order a few switch cases
David Mitchell [Tue, 28 May 2019 09:08:45 +0000 (10:08 +0100)]
Perl_list(): re-order a few switch cases

Just a cosmetic change.

23 months agoPerl_list(): re-order recursion in OP_LIST
David Mitchell [Tue, 28 May 2019 08:57:04 +0000 (09:57 +0100)]
Perl_list(): re-order recursion in OP_LIST

Call list() on an OP_LIST's children, *after* potentially nulling out
the OP_LIST and an OP_PUSHMARK. This will make removing recursion
easier. Should be no functional difference.

23 months agoPerl_list(): add blank lines
David Mitchell [Wed, 22 May 2019 10:31:06 +0000 (11:31 +0100)]
Perl_list(): add blank lines

... between switch cases for readability.

23 months agoPerl_list(): simplify some branches
David Mitchell [Wed, 22 May 2019 10:27:20 +0000 (11:27 +0100)]
Perl_list(): simplify some branches

Remove some explicit cases that just do the same as 'default:'

Also, remove OP_FLOP as a special case and just let it do the default.
This is the same behaviour (apply list() to its one child), except
that it also now does a harmless but (always false) check whether it's
child is an OP_FLOP too.

23 months agomake S_gen_constant_list() void return
David Mitchell [Fri, 17 May 2019 12:01:35 +0000 (13:01 +0100)]
make S_gen_constant_list() void return

Its gen_constant_list(o) returns an OP*, but the thing it returns is
currently always o.

So just assume it returns it arg.

This will shortly make making Perl_list() non-recursive easier.

23 months agoDocument what Perl_list() and its helper do
David Mitchell [Fri, 17 May 2019 11:58:38 +0000 (12:58 +0100)]
Document what Perl_list() and its helper do

23 months agoremove DEFER_OP macros from op.c
David Mitchell [Wed, 15 May 2019 10:06:49 +0000 (11:06 +0100)]
remove DEFER_OP macros from op.c

the previous commit removed the last use of them

23 months agoS_optimize_op(): remove anti-recursion deferring
David Mitchell [Tue, 14 May 2019 15:47:06 +0000 (16:47 +0100)]
S_optimize_op(): remove anti-recursion deferring

S_optimize_op() used to recursively work its way down an optree
marking ops as being in the appropriate context.

This commit removes the deferred mechanism, and instead makes use of the
newish OP_PARENT mechanism to iterate over the optree, following each
kid, then back up via the parent pointer to the next sibling etc.

23 months agoMake op_free() non-recursive
David Mitchell [Mon, 8 Apr 2019 13:17:59 +0000 (14:17 +0100)]
Make op_free() non-recursive

Stop using the DEFER mechanism (which could leak if something croaks)
and instead tree walk using the new OP_PARENT link to allow walking
back up the tree.

The freeing is done depth-first: children are freed before their
parents.

23 months agoscalarvoid(): remove anti-recursion deferring
David Mitchell [Fri, 5 Apr 2019 14:38:24 +0000 (15:38 +0100)]
scalarvoid(): remove anti-recursion deferring

Perl_scalarvoid() used to recursively work its way down an optree
marking ops as being in the appropriate context.

Around 5.22.0 the code was changed to avoid recursion, and instead to
malloc a buffer (if necessary) to maintain a list of deferred child ops
that need visiting. This stopped perl crashing if the optree (and thus
the recursion) was too deep, but it introduced a potential leak.
For example

    use warnings FATAL => qw(void);
    $a = "abc";
    length $a ;

The fatal warning causes scalarvoid() to leak the deferred buffer.

This commit removes the deferred mechanism, and instead makes use of the
newish OP_PARENT mechanism to iterate over the optree, following each
kid, then back up via the parent pointer to the next sibling etc.

23 months agoperldelta for 9918f0bc5148
Tony Cook [Mon, 24 Jun 2019 01:14:00 +0000 (11:14 +1000)]
perldelta for 9918f0bc5148

23 months ago(perl #134189) handle no gcc, but cc is clang
Tony Cook [Thu, 13 Jun 2019 04:04:35 +0000 (04:04 +0000)]
(perl #134189) handle no gcc, but cc is clang

You can setup Ubuntu (and presumably other dists) with clang and no
gcc installed, which left plibpth unfilled.

23 months agoMake -Duse64bitint the default on VMS.
Craig A. Berry [Sun, 23 Jun 2019 03:09:04 +0000 (22:09 -0500)]
Make -Duse64bitint the default on VMS.

The capability came along with Alpha more than two decades ago, so
maybe the third decade of the twenty-first century should see it
become the default.

23 months agoBegin restore of case sensitive symbols on VMS
Craig A. Berry [Sun, 23 Jun 2019 03:00:10 +0000 (22:00 -0500)]
Begin restore of case sensitive symbols on VMS

There is a long-unmaintained option to build with case sensitive
symbols, which is needed by some extensions that have symbols
that differ only by case and need the Perl core to be built with
the same option.

There will be additional steps necessary, but getting "perl" and
"globals" in the correct case is a start.  We no longer need to
explicitly specify globals for the linker, so don't do that and
thus avoid having to guess which case it wants.

23 months agoFix Unix-format path in Devel::PPPort's Makefile.PL
Craig A. Berry [Sun, 23 Jun 2019 02:26:51 +0000 (21:26 -0500)]
Fix Unix-format path in Devel::PPPort's Makefile.PL

Post-editing the output of MakeMaker means owning all of its many
platform-specific abstractions, in this case the fact that
t/01_test.t might actually be [.t]01_test.t, t\01_test.t, etc.,
constructed for the parsing pleasure of the native make utility.

So when scanning make rules for this test make a regex that
should match on most platforms, at least if they preserve
filename case.  And delete the redundant dependency on pure_all
because, except for the hard-coded Unix-format path, it's already
been correctly inserted by MakeMaker.

No version bump for now as e01077d94eaee34f1361857373 seems to
think we shouldn't, though I'm not sure I follow its rationale.

23 months agoRevert previous changes to pod/perl5311delta.pod
Nicolas R [Fri, 21 Jun 2019 23:26:05 +0000 (18:26 -0500)]
Revert previous changes to pod/perl5311delta.pod

23 months agoTemporary bump PPPort to 3.54 before next release
Nicolas R [Fri, 21 Jun 2019 20:46:27 +0000 (16:46 -0400)]
Temporary bump PPPort to 3.54 before next release

This is making porting/cmp_version.t happy for now.
We plan to release Devel::PPPort over the next days/weeks
and this would be required before the next release.

Note that previous Perl version was release without
releasing Devel::PPPort. We probably want to release
a 3.53 version matching it, followed by a 3.54 one.

23 months agoignore macOS .DS_Store files
Nicolas R [Fri, 14 Jun 2019 16:21:45 +0000 (10:21 -0600)]
ignore macOS .DS_Store files

(cherry picked from commit 98181351f809838fa9a239c16e0cbb25dc16d659)
Signed-off-by: Nicolas R <atoomic@cpan.org>
23 months agoFix unused variable warning in 5.30
Nicolas R [Fri, 14 Jun 2019 15:05:43 +0000 (09:05 -0600)]
Fix unused variable warning in 5.30

Fixes #99

(cherry picked from commit 4aa658c84dee2b1ea29f2683151bab5543da6c6e)
Signed-off-by: Nicolas R <atoomic@cpan.org>
23 months agoFor gcc compiler enable compile warnings
Pali [Tue, 11 Jun 2019 09:49:22 +0000 (11:49 +0200)]
For gcc compiler enable compile warnings

(cherry picked from commit b6d631d5a258ad6b22ec8fe038b1db9d4ef18908)
Signed-off-by: Nicolas R <atoomic@cpan.org>
23 months agoUpdate NEED_* list in apicheck.pl
Pali [Tue, 11 Jun 2019 08:23:50 +0000 (10:23 +0200)]
Update NEED_* list in apicheck.pl

This NEED_* list in apicheck.pl is not automatically generated or updated.

(cherry picked from commit dc9459686897182bff1a157f6be9caf324029838)
Signed-off-by: Nicolas R <atoomic@cpan.org>
23 months agoRemove old #define NEED_vnewSVpvf
Pali [Tue, 11 Jun 2019 08:19:16 +0000 (10:19 +0200)]
Remove old #define NEED_vnewSVpvf

Since f5d27a8 it is not needed.

(cherry picked from commit e609df1c14b00fc4f1a800a2077b637ce5fc7552)
Signed-off-by: Nicolas R <atoomic@cpan.org>
23 months agoDevel::PPPort: Implement newSVsv_nomg()
Pali [Wed, 13 Feb 2019 13:58:08 +0000 (14:58 +0100)]
Devel::PPPort: Implement newSVsv_nomg()

(cherry picked from commit 4cdb0bb9430ff854e6683e74efab8ac096c8c8ad)
Signed-off-by: Nicolas R <atoomic@cpan.org>
(cherry picked from commit 2bcd1c9ab24c4d77e7a636d7d9aa9ef44842f052)
Signed-off-by: Nicolas R <atoomic@cpan.org>
23 months agoDevel::PPPort: Implement SV_NOSTEAL for sv_setsv_flags()
Pali [Fri, 20 Jul 2018 14:49:03 +0000 (16:49 +0200)]
Devel::PPPort: Implement SV_NOSTEAL for sv_setsv_flags()

(cherry picked from commit 63beb3be5c3584094d6eed159067f9f7e71996bd)
Signed-off-by: Nicolas R <atoomic@cpan.org>
(cherry picked from commit e357148a8002d3227d86c5468fd9b63c54c07854)
Signed-off-by: Nicolas R <atoomic@cpan.org>
23 months agoFix processing ERRSV and croak_sv
Pali [Mon, 3 Jun 2019 13:09:20 +0000 (15:09 +0200)]
Fix processing ERRSV and croak_sv

ERRSV macro is function call, so ensure that it is not called more times.
Therefore pass it only to macros which evaluate its arguments only once.

Backported croak_sv() macro is changed to evaluate its argument only once,
like implementation in core Perl.

(cherry picked from commit 2a8cd79042fe49b26b5654d9597dfd9d750783f4)
Signed-off-by: Nicolas R <atoomic@cpan.org>
23 months agoGenerate Makefile dependences for ppport.h, PPPort.pm, RealPPPort.xs and tests
Pali [Sun, 2 Jun 2019 10:50:22 +0000 (12:50 +0200)]
Generate Makefile dependences for ppport.h, PPPort.pm, RealPPPort.xs and tests

All test files and PPPort.pm depend on all include files in parts/inc.
Also RealPPPort.xs depends on ppport.h and ppport.h depends on PPPort.pm.

Test file t/01_test.t is generated when all test files are regenerated. All
test targets depends on pure_all target, so add t/01_test.t as dependency
for pure_all.

Also all those generated files, needed for building PPPort binary should
not depend on built PPPort binary. So ensure that they do not depend on
pm_to_blib target, which depends on built PPPort in blib/ (as it is
circular dependency).

Dependences are injected via MY::processPL method by updating corresponding
Makefile targets.

So make test now run mktests.PL if test files are not up-to-date prior
running tests.

(cherry picked from commit 1e0b1139a2d64cb9c7d3e9dbbb4aa043f7183f36)
Signed-off-by: Nicolas R <atoomic@cpan.org>
23 months agoAdd mktests.PL to MakeMaker's PL_FILES
Pali [Sun, 2 Jun 2019 10:49:20 +0000 (12:49 +0200)]
Add mktests.PL to MakeMaker's PL_FILES

This would ensure that mktests.PL is run from make all. Every script in
PL_FILES must generate file, so add empty test 01_test file for it.

(cherry picked from commit 74263dc21b864812d7996df9cb6c8f2153b33f20)
Signed-off-by: Nicolas R <atoomic@cpan.org>
23 months agoppptools.pl: Remove special case
Karl Williamson [Fri, 31 May 2019 16:26:20 +0000 (10:26 -0600)]
ppptools.pl: Remove special case

The latest doc entries have a flag indicating that special handling is
used.  Use this flag here instead of knowing the specific current cases
that required it.

(cherry picked from commit f548bffdc1ec2dfa00287c7be4dc3db1354a550c)
Signed-off-by: Nicolas R <atoomic@cpan.org>
23 months agoUse latest blead embed.fnc
Karl Williamson [Fri, 31 May 2019 16:24:12 +0000 (10:24 -0600)]
Use latest blead embed.fnc

This comes with different meanings for some of the flags, so those are
updated too.

This resolves the issue with 'mysterious name'

(cherry picked from commit e4aa2c33a3bc4e3c4c62d588a7d1d3149c65b298)
Signed-off-by: Nicolas R <atoomic@cpan.org>
23 months agoppptools.pl: Don't store non-public functions
Karl Williamson [Fri, 31 May 2019 16:20:44 +0000 (10:20 -0600)]
ppptools.pl: Don't store non-public functions

D:P shouldn't be making available things that aren't in the public API.
(cherry picked from commit 0834e32743a278f0737d0b20db77301aba5cd83c)
Signed-off-by: Nicolas R <atoomic@cpan.org>
23 months agomkapidoc.sh: Add required line to generated apidoc.fnc
Karl Williamson [Fri, 31 May 2019 16:16:12 +0000 (10:16 -0600)]
mkapidoc.sh: Add required line to generated apidoc.fnc

Instead of expecting whoever is updating the embed.fnc to remember that
this extra line is required, do it while parsing it.  This means that
the embed.fnc can just be copied from the latest blead.

(cherry picked from commit 129fd7f72ac04fa279e3a01de050dddea82d4a3c)
Signed-off-by: Nicolas R <atoomic@cpan.org>
23 months agomkapidoc.sh: doc elements may have lead/trail space
Karl Williamson [Fri, 31 May 2019 16:11:48 +0000 (10:11 -0600)]
mkapidoc.sh: doc elements may have lead/trail space

Entries in embed.fnc and =for apidoc have elements separated by '|', but
in fact space should be ignored adjacent to them.

(cherry picked from commit 4698ebfa8a1fa20790b96c1ec1c41a0430dd0e27)
Signed-off-by: Nicolas R <atoomic@cpan.org>
23 months agoparts/inc/uv: A char* should be a U8*
Karl Williamson [Fri, 31 May 2019 16:34:20 +0000 (10:34 -0600)]
parts/inc/uv: A char* should be a U8*

(cherry picked from commit 3e80164d818c083465c9b6ec7e3bbd6bbc728aae)
Signed-off-by: Nicolas R <atoomic@cpan.org>
23 months agoAvoid usage of PL_Sv if possible
Pali [Fri, 31 May 2019 10:15:32 +0000 (12:15 +0200)]
Avoid usage of PL_Sv if possible

(cherry picked from commit 4f8e73bc1ae4c90c71f994ad8ba85159561b269e)
Signed-off-by: Nicolas R <atoomic@cpan.org>
23 months agoFix gv_fetchpvn_flags
Pali [Thu, 30 May 2019 09:24:32 +0000 (11:24 +0200)]
Fix gv_fetchpvn_flags

* Add support for GV_NOADD_MASK flag
* Add support for sv_type argument
* Define it as macro without NEED_* define

(cherry picked from commit 88a9d883f3e2e86c1a085f336933266136949ed1)
Signed-off-by: Nicolas R <atoomic@cpan.org>
23 months agoDefine more API functions as macros
Pali [Mon, 27 May 2019 10:37:50 +0000 (12:37 +0200)]
Define more API functions as macros

So their usage via ppport.h can be done via specifying corresponding NEED_.

(cherry picked from commit 28098b495a98ed86fa40faee76c58463a14683cd)
Signed-off-by: Nicolas R <atoomic@cpan.org>
23 months agoFix compilation of uv for Perl 5.5.3
Pali [Sun, 26 May 2019 08:31:44 +0000 (10:31 +0200)]
Fix compilation of uv for Perl 5.5.3

There is no warnings.pm, so it cannot be 'use'-d. Also there is no
UTF8_SAFE_SKIP() so it must be in section after 'skip:'.

(cherry picked from commit f8471054ec5b3940fbeb7f1cdcf52a7825024e3b)
Signed-off-by: Nicolas R <atoomic@cpan.org>
23 months agoFix utf8_to_uvchr_buf()
Pali [Sun, 26 May 2019 08:18:59 +0000 (10:18 +0200)]
Fix utf8_to_uvchr_buf()

API defines first argument of utf8_to_uvchr_buf() as const. So users of
this API expects that they can pass const variable. Fix it by explicit
casting of non-const var to const in D_PPP_utf8_to_uvchr_buf_callee() call.

Change also tests to verify that const argument can be really passed.

Remove utf8_to_uvchr_buf() from TODO list as it is now implemented.

Do not compile test functions which are not provided for older Perl
versions.

(cherry picked from commit cde3c8256deae674cd7e25eaac2a8bbf82b37899)
Signed-off-by: Nicolas R <atoomic@cpan.org>
23 months agoparts/inc/uv: Use D_PP_ prefix for internal symbols
Karl Williamson [Fri, 17 May 2019 18:11:02 +0000 (12:11 -0600)]
parts/inc/uv: Use D_PP_ prefix for internal symbols

Suggested by Pali

(cherry picked from commit de9fb8809c8dde341241153aaff85ff202e87a67)
Signed-off-by: Nicolas R <atoomic@cpan.org>
23 months agoparts/inc/uv: White-space changes only
Karl Williamson [Fri, 17 May 2019 18:09:37 +0000 (12:09 -0600)]
parts/inc/uv: White-space changes only

(cherry picked from commit b9864ade1343063d3449372aafc8a40f3118b257)
Signed-off-by: Nicolas R <atoomic@cpan.org>
23 months agoIssue #72 utf8_to_uvchr fails for 5.6.0
Karl Williamson [Fri, 17 May 2019 18:03:16 +0000 (12:03 -0600)]
Issue #72 utf8_to_uvchr fails for 5.6.0

And the underlying implementation for 5.6.0 is so different from
anything that came later, that we aren't implementing it, and this
causes things to compile

(cherry picked from commit d2d2e9f36066b9391be9546d6ae5cb78304245e5)
Signed-off-by: Nicolas R <atoomic@cpan.org>
23 months agoIssue #71: Overflow failures with <= 5.8.6
Karl Williamson [Fri, 17 May 2019 17:47:07 +0000 (11:47 -0600)]
Issue #71: Overflow failures with <= 5.8.6

These versions need more work to get right; this commit does that.

(cherry picked from commit ebe8b7681463dd9f7a23716166a8861ce6514ae2)
Signed-off-by: Nicolas R <atoomic@cpan.org>
23 months agoparts/inc/uv: Add some UNLIKELY()s
Karl Williamson [Fri, 17 May 2019 17:42:54 +0000 (11:42 -0600)]
parts/inc/uv: Add some UNLIKELY()s

These will be very uncommonly encountered

(cherry picked from commit 804f380c1272b22f4d7cec72453b7e0558a6be16)
Signed-off-by: Nicolas R <atoomic@cpan.org>
23 months agoparts/inc/uv: Use IV_MAX instead of PERL_INT_MAX
Karl Williamson [Fri, 17 May 2019 17:35:24 +0000 (11:35 -0600)]
parts/inc/uv: Use IV_MAX instead of PERL_INT_MAX

This conditional really is about IVs.

(cherry picked from commit dde86fdb411a443543ab98b785c1328c24481166)
Signed-off-by: Nicolas R <atoomic@cpan.org>
23 months agoparts/inc/uv: Combine two preprocessor directives onto same line
Karl Williamson [Fri, 17 May 2019 17:25:37 +0000 (11:25 -0600)]
parts/inc/uv: Combine two preprocessor directives onto same line

I didn't know this special one was combinable.

(cherry picked from commit ae169237b9646630f9f58fe322c478caf7532b8b)
Signed-off-by: Nicolas R <atoomic@cpan.org>
23 months agoparts/inc/uv: Comments only
Karl Williamson [Fri, 17 May 2019 17:20:07 +0000 (11:20 -0600)]
parts/inc/uv: Comments only

(cherry picked from commit 15e6555487e5d4c05a50abed6a69efb1b453b73a)
Signed-off-by: Nicolas R <atoomic@cpan.org>
23 months agoparts/inc/uv: Add two tests of overlongs
Karl Williamson [Fri, 17 May 2019 17:07:12 +0000 (11:07 -0600)]
parts/inc/uv: Add two tests of overlongs

This now has a test for each possible overlong range in the legal
Unicode range.  Those have start bytes of C0 or C1, E0, and F0.

(cherry picked from commit fe97c4cc6e837cf123a0d777fb65575d7bf9f828)
Signed-off-by: Nicolas R <atoomic@cpan.org>
23 months agoparts/inc/uv: Skip only some tests on early perls
Karl Williamson [Fri, 17 May 2019 17:01:02 +0000 (11:01 -0600)]
parts/inc/uv: Skip only some tests on early perls

This was skipping every test, not just the affected ones.

(cherry picked from commit 25d26ec2886c6a339ea9fd7e3c5d5531f4c41cd0)
Signed-off-by: Nicolas R <atoomic@cpan.org>
23 months agoparts/inc/uv: Improve diagnostic test name
Karl Williamson [Fri, 17 May 2019 16:56:00 +0000 (10:56 -0600)]
parts/inc/uv: Improve diagnostic test name

(cherry picked from commit 6b2440b318280e1270ad59e6f0030ff93ae4c4df)
Signed-off-by: Nicolas R <atoomic@cpan.org>
23 months agoMove declaration to before code, so can work on C89 compiler
Karl Williamson [Fri, 17 May 2019 18:06:56 +0000 (12:06 -0600)]
Move declaration to before code, so can work on C89 compiler

(cherry picked from commit 95c5effdf058e7f01a1d1797d70474a2b332c0fb)
Signed-off-by: Nicolas R <atoomic@cpan.org>
23 months agodist target now depends on manifest
Nicolas R [Fri, 17 May 2019 15:02:11 +0000 (09:02 -0600)]
dist target now depends on manifest

Fixes GH #68

make sure we regenerate the manifest
when building a dist.

We recently removed on purpose the
MANIFEST file from the git repo to
make sure we always generate a fresh
version on dist...

(cherry picked from commit e90e36f77e7717bfe596adbc50b4210825f1ed56)
Signed-off-by: Nicolas R <atoomic@cpan.org>
23 months agofix dist/Module-CoreList/t/maintainer.t by filling in real release date
Karen Etheridge [Fri, 21 Jun 2019 17:48:33 +0000 (10:48 -0700)]
fix dist/Module-CoreList/t/maintainer.t by filling in real release date

23 months agobump this version check for now, to get tests passing
Karen Etheridge [Fri, 21 Jun 2019 17:25:53 +0000 (10:25 -0700)]
bump this version check for now, to get tests passing

The real fix still needs to be merged from the Devel-PPPort repository.

23 months agoupdating perldelta not needed here
Karen Etheridge [Fri, 21 Jun 2019 17:12:57 +0000 (10:12 -0700)]
updating perldelta not needed here

..as the updated modules section is generated automatically when perldelta is finalized

23 months agoadd explicit command to do a clean build
Karen Etheridge [Fri, 21 Jun 2019 17:12:32 +0000 (10:12 -0700)]
add explicit command to do a clean build

23 months agoupdate Module::CoreList for 5.031002
Karen Etheridge [Fri, 21 Jun 2019 17:01:43 +0000 (10:01 -0700)]
update Module::CoreList for 5.031002

23 months agoupdate Module::CoreList to be ready for 5.31.2 changes
Karen Etheridge [Fri, 21 Jun 2019 15:47:00 +0000 (08:47 -0700)]
update Module::CoreList to be ready for 5.31.2 changes

23 months agoRun regen/opcode.pl to increment $VERSION in lib/B/Op_private.pm
James E Keenan [Fri, 21 Jun 2019 14:54:37 +0000 (10:54 -0400)]
Run regen/opcode.pl to increment $VERSION in lib/B/Op_private.pm

Thereby keeping t/porting/regen.t happy.

23 months agoAdd two entries to pod issues database
James E Keenan [Fri, 21 Jun 2019 14:48:42 +0000 (10:48 -0400)]
Add two entries to pod issues database

Two diagnostic one-liners were added to release manager's guide.  They
exceeded POD line length limits and were not easily breakable.  Hence,
added to list of exceptions.

23 months agoNobody expects the Spanish Inquisition
Chris 'BinGOs' Williams [Fri, 21 Jun 2019 11:32:36 +0000 (12:32 +0100)]
Nobody expects the Spanish Inquisition

23 months agoRMG improvements
Karen Etheridge [Thu, 20 Jun 2019 20:47:22 +0000 (13:47 -0700)]
RMG improvements

23 months agoadd epigraph for 5.31.1
Karen Etheridge [Thu, 20 Jun 2019 20:45:24 +0000 (13:45 -0700)]
add epigraph for 5.31.1

23 months agofix template for next major release
Karen Etheridge [Thu, 20 Jun 2019 20:25:52 +0000 (13:25 -0700)]
fix template for next major release

23 months agotick off 5.31.1 release
Karen Etheridge [Thu, 20 Jun 2019 20:24:59 +0000 (13:24 -0700)]
tick off 5.31.1 release

23 months agobump version to 5.31.2
Karen Etheridge [Thu, 20 Jun 2019 20:22:45 +0000 (13:22 -0700)]
bump version to 5.31.2

23 months agogenerate new perldelta
Karen Etheridge [Thu, 20 Jun 2019 20:43:11 +0000 (13:43 -0700)]
generate new perldelta

23 months agoadd new release to perlhist v5.31.1
Karen Etheridge [Thu, 20 Jun 2019 17:51:01 +0000 (10:51 -0700)]
add new release to perlhist

23 months agofix podcheck errors for broken links
Karen Etheridge [Thu, 20 Jun 2019 18:19:44 +0000 (11:19 -0700)]
fix podcheck errors for broken links

23 months agofinalize perldelta
Karen Etheridge [Thu, 20 Jun 2019 17:43:28 +0000 (10:43 -0700)]
finalize perldelta

- remove final cruft
- insert modules added/changed/removed
- add acknowledgements
- turn RT references into links

23 months agoUpdate Module::CoreList for 5.31.1
Karen Etheridge [Thu, 20 Jun 2019 17:30:06 +0000 (10:30 -0700)]
Update Module::CoreList for 5.31.1

23 months agoadd missing MANIFEST entry for new file
Karen Etheridge [Thu, 20 Jun 2019 18:15:41 +0000 (11:15 -0700)]
add missing MANIFEST entry for new file

23 months agoremove unused perldelta sections
Karen Etheridge [Thu, 20 Jun 2019 17:10:16 +0000 (10:10 -0700)]
remove unused perldelta sections

23 months agoperldelta entry for 21af3a5205
Karen Etheridge [Thu, 20 Jun 2019 17:04:54 +0000 (10:04 -0700)]
perldelta entry for 21af3a5205

23 months agoperldelta entry for 82b53111b2
Karen Etheridge [Thu, 20 Jun 2019 16:45:52 +0000 (09:45 -0700)]
perldelta entry for 82b53111b2

23 months agoperldelta entry for c8b94fe036
Karen Etheridge [Thu, 20 Jun 2019 16:43:34 +0000 (09:43 -0700)]
perldelta entry for c8b94fe036

23 months agoperldelta entry for 790ba7215e
Karen Etheridge [Thu, 20 Jun 2019 16:38:56 +0000 (09:38 -0700)]
perldelta entry for 790ba7215e

23 months agoperldelta entry for da5a0da22e
Karen Etheridge [Thu, 20 Jun 2019 16:31:04 +0000 (09:31 -0700)]
perldelta entry for da5a0da22e

23 months agoperldelta entry for ba77fc5964
Karen Etheridge [Thu, 20 Jun 2019 16:28:44 +0000 (09:28 -0700)]
perldelta entry for ba77fc5964

23 months ago[PATCH] Updates CPAN.pm to ANDK/CPAN-2.27-TRIAL2.tar.gz
Andreas Koenig [Thu, 13 Jun 2019 19:04:47 +0000 (19:04 +0000)]
[PATCH] Updates CPAN.pm to ANDK/CPAN-2.27-TRIAL2.tar.gz

2019-06-09  k  <andk@cpan.org>

        * release 2.27-TRIAL2

        * bugfix: omit the new POSIX::setsid call and the waitpid with
        WNOHANG on Windows

        * bugfix: the signalhandler has to kill the new process group
        spawned for running the tests

        * adding the README file that was generated during the release of
        2.27-TRIAL

2019-05-31  k  <andk@cpan.org>

        * release 2.27-TRIAL

        * two new options to protect against accidental downgrades:
        allow_installing_outdated_dists and
        allow_installing_module_downgrades

        * two new options to tune the automatic determination of the
        nearest peers: urllist_ping_external and urllist_ping_verbose;
        NOTE: this feature was developed during the Perl Toolchain Summit
        2019 in Marlow; thanks to the sponsors: Booking.com, cPanel,
        MaxMind, FastMail, ZipRecruiter, Cogendo, Elastic, OpenCage Data,
        Perl Services, Zoopla, Archer Education, OpusVL, Oetiker+Partner,
        SureVoIP, YEF

        * reveal the size of PERL5LIB in diagnostic output

        * new semantics for parameter ftpstats_size: setting to '0' or
        lower, disables download statistics

        * bugfix: under certain circumstances, failing dependencies via
        recommends and suggests could abort a build; this is now fixed

        * bugfix: protect bundle processing against unavailable bundle
        files and missing build directories

        * bugfix: fix broken permissions after untar

        * bugfix: protect against exceptions from unzip

        * bugfix: add one level of fork+setsid for testing to prevent that
        a test can kill the process group that CPAN.pm is running in.
        Learned from experience with testing VIZDOM/DBD-JDBC-0.71.tar.gz

        * fix plugins: all early returns from all methods, that are
        accessible for plugins, now call the post* plugins

        * new question answered in the FAQ: "How can I switch to sudo
        instead of local::lib" (thanks to Amos Bird for asking the
        question on irc)

        * plenty of new and updated distroprefs documents, among which are
        some important ones to prevent Module::AutoInstall from switching
        to CPANPLUS and taking over (and harming) the build

23 months agoignore unwanted files copied from cpan repository
Karen Etheridge [Thu, 20 Jun 2019 05:00:23 +0000 (22:00 -0700)]
ignore unwanted files copied from cpan repository

..and the distribution directories cannot be ignored; t/porting/podcheck.t will look inside them.

23 months agocommit (possibly outdated?) TODO file from cpan repository
Karen Etheridge [Thu, 20 Jun 2019 04:59:11 +0000 (21:59 -0700)]
commit (possibly outdated?) TODO file from cpan repository

23 months agowhitespace changes only
Karen Etheridge [Thu, 20 Jun 2019 04:12:11 +0000 (21:12 -0700)]
whitespace changes only

23 months agobump reference date in cross-compilation docs
Karen Etheridge [Thu, 20 Jun 2019 03:53:47 +0000 (20:53 -0700)]
bump reference date in cross-compilation docs

23 months agowhitespace changes only
Karen Etheridge [Thu, 20 Jun 2019 02:58:36 +0000 (19:58 -0700)]
whitespace changes only

23 months agoFix perldelta typo
Dagfinn Ilmari Mannsåker [Wed, 19 Jun 2019 10:44:10 +0000 (11:44 +0100)]
Fix perldelta typo

23 months agoperldelta for 79c32fc288
Steve Hay [Wed, 19 Jun 2019 07:04:17 +0000 (08:04 +0100)]
perldelta for 79c32fc288

23 months agoperldelta for 1a1d29aaa2e0, 22f05786af0b, d8422270033e
Tony Cook [Wed, 19 Jun 2019 05:15:06 +0000 (15:15 +1000)]
perldelta for 1a1d29aaa2e022f05786af0bd8422270033e

23 months ago(perl #134193) make the varname match the %[+-] names
Tony Cook [Mon, 17 Jun 2019 01:46:00 +0000 (11:46 +1000)]
(perl #134193) make the varname match the %[+-] names

when loading Tie/Hash/NamedCapture.pm for the long name variants

23 months ago(perl #134193) allow %{^CAPTURE} to work when @{^CAPTURE} comes first
Tony Cook [Thu, 13 Jun 2019 00:05:15 +0000 (10:05 +1000)]
(perl #134193) allow %{^CAPTURE} to work when @{^CAPTURE} comes first

gv_magicalize() is called when the GV is created, so when the array
was mentioned first, the hash wouldn't reach this code and the magic
wouldn't be added to the hash.

This also fixes a similar problem with (%|@){^CAPTURE_ALL}, though
@{^CAPTURE_ALL} is unused at this point.

23 months ago%{^CAPTURE_ALL} was intended to be an alias for %-; make it so.
Vickenty Fesunov [Fri, 22 Sep 2017 23:00:46 +0000 (19:00 -0400)]
%{^CAPTURE_ALL} was intended to be an alias for %-; make it so.

For: RT #131867

Committer: Increment $VERSION in ext/Tie-Hash-NamedCapture/NamedCapture.pm.
Add Vickenty Fesunov to AUTHORS.