[perl.git] branch blead updated. v5.31.0-139-gfb55ce6b75

2019-06-04 Thread Tony Cook
In perl.git, the branch blead has been updated



- Log -
commit fb55ce6b7596b9e94f941cf83eac5ff84f760ea2
Author: Tony Cook 
Date:   Wed Jun 5 14:37:32 2019 +1000

perldelta for 0f4fe36327e6, 1768639d6db2

---

Summary of changes:
 pod/perldelta.pod | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/pod/perldelta.pod b/pod/perldelta.pod
index c78c693df0..1541525c66 100644
--- a/pod/perldelta.pod
+++ b/pod/perldelta.pod
@@ -350,7 +350,8 @@ well.
 
 =item *
 
-XXX
+L no longer stringifies the exception when
+C is true.  [perl #134175]
 
 =back
 

-- 
Perl5 Master Repository


[perl.git] branch blead updated. v5.31.0-138-g1768639d6d

2019-06-04 Thread Tony Cook
In perl.git, the branch blead has been updated



- Log -
commit 1768639d6db2b2e7909706b5250e8751a23d34e1
Author: Tony Cook 
Date:   Wed Jun 5 11:59:17 2019 +1000

(perl #134175) tests for eval_pv rethrowing objects

commit 0f4fe36327e6e3c7c0007b67364cac3c4b43ee5d
Author: Pali 
Date:   Tue Jun 4 12:28:09 2019 +0200

In Perl_eval_pv rethrow error via croak_sv()

This would allow to rethrow object exceptions.

---

Summary of changes:
 ext/XS-APItest/t/call.t | 7 +--
 perl.c  | 3 +--
 2 files changed, 6 insertions(+), 4 deletions(-)

diff --git a/ext/XS-APItest/t/call.t b/ext/XS-APItest/t/call.t
index 8192b9bd36..632a421d4f 100644
--- a/ext/XS-APItest/t/call.t
+++ b/ext/XS-APItest/t/call.t
@@ -11,7 +11,7 @@ use strict;
 
 BEGIN {
 require '../../t/test.pl';
-plan(527);
+plan(530);
 use_ok('XS::APItest')
 };
 
@@ -223,7 +223,10 @@ is(eval_pv('d()', 0), undef, "eval_pv('d()', 0)");
 is($@, "its_dead_jim\n", "eval_pv('d()', 0) - \$@");
 is(eval { eval_pv('d()', 1) } , undef, "eval { eval_pv('d()', 1) }");
 is($@, "its_dead_jim\n", "eval { eval_pv('d()', 1) } - \$@");
-
+is(eval { eval_pv(q/die $obj/, 1) }, undef,
+   "eval_pv die of an object");
+ok(ref $@, "object thrown");
+is($@, $obj, "check object rethrown");
 
 # #3719 - check that the eval call variants handle exceptions correctly,
 # and do the right thing with $@, both with and without G_KEEPERR set.
diff --git a/perl.c b/perl.c
index f2c87f4937..69e3efcd70 100644
--- a/perl.c
+++ b/perl.c
@@ -3231,8 +3231,7 @@ Perl_eval_pv(pTHX_ const char *p, I32 croak_on_error)
 if (croak_on_error) {
SV * const errsv = ERRSV;
if(SvTRUE_NN(errsv))
-   /* replace with croak_sv? */
-   Perl_croak_nocontext("%s", SvPV_nolen_const(errsv));
+croak_sv(errsv);
 }
 
 return sv;

-- 
Perl5 Master Repository


[perl.git] branch smoke-me/jkeenan/rt-134138-constants-in-variable deleted. v5.31.0-38-g083d8eb22b

2019-06-04 Thread James Keenan via perl5-changes
In perl.git, the branch smoke-me/jkeenan/rt-134138-constants-in-variable has 
been deleted



   was  083d8eb22b2e6884eb8d99b7677d3ff4b0f1f5f6

- Log -
083d8eb22b2e6884eb8d99b7677d3ff4b0f1f5f6 Eliminate modifiable variables in 
constants
---

-- 
Perl5 Master Repository


[perl.git] branch smoke-me/jkeenan/rt-134137-hostname deleted. v5.31.0-36-g811314492d

2019-06-04 Thread James Keenan via perl5-changes
In perl.git, the branch smoke-me/jkeenan/rt-134137-hostname has been deleted



   was  811314492d0ed875a2622bb1f030f711ac5399bb

- Log -
811314492d0ed875a2622bb1f030f711ac5399bb Prevent hostname() from accepting 
arguments
---

-- 
Perl5 Master Repository


[perl.git] branch blead updated. v5.31.0-136-g82b53111b2

2019-06-04 Thread James Keenan via perl5-changes
In perl.git, the branch blead has been updated



- Log -
commit 82b53111b29b7b8060044482d261a31ccd5ac001
Author: James E Keenan 
Date:   Fri May 24 22:37:40 2019 -0400

Prevent hostname() from accepting arguments

Previously deprecated; now fatal.

Incorporate feedback from Tony Cook and Richard Leach as to wording of
exception and how it is invoked.

For: RT 134137

---

Summary of changes:
 ext/Sys-Hostname/Hostname.pm  |  4 ++--
 ext/Sys-Hostname/t/Hostname.t | 19 +++
 2 files changed, 9 insertions(+), 14 deletions(-)

diff --git a/ext/Sys-Hostname/Hostname.pm b/ext/Sys-Hostname/Hostname.pm
index 8b5dde1445..2284e1f81c 100644
--- a/ext/Sys-Hostname/Hostname.pm
+++ b/ext/Sys-Hostname/Hostname.pm
@@ -16,7 +16,7 @@ use warnings ();
 our $host;
 
 BEGIN {
-$VERSION = '1.22';
+$VERSION = '1.23';
 {
local $SIG{__DIE__};
eval {
@@ -29,7 +29,7 @@ BEGIN {
 
 
 sub hostname {
-  @_ and warnings::warnif("deprecated", "hostname() doesn't accept any 
arguments. This will become fatal in Perl 5.32");
+  @_ and croak("hostname() does not accepts arguments (it used to silently 
discard any provided)");
 
   # method 1 - we already know it
   return $host if defined $host;
diff --git a/ext/Sys-Hostname/t/Hostname.t b/ext/Sys-Hostname/t/Hostname.t
index a8c259d7c9..99f9e562c7 100644
--- a/ext/Sys-Hostname/t/Hostname.t
+++ b/ext/Sys-Hostname/t/Hostname.t
@@ -10,7 +10,7 @@ BEGIN {
 
 use Sys::Hostname;
 
-use Test::More tests => 4;
+use Test::More tests => 2;
 
 SKIP:
 {
@@ -23,15 +23,10 @@ SKIP:
 }
 
 {
-use warnings;
-my $warn;
-local $SIG{__WARN__} = sub { $warn = "@_" };
-eval { hostname("dummy") };
-ok($warn, "warns with an argument");
-like($warn, qr/hostname\(\) doesn't accept any arguments/,
- "appropriate message");
-no warnings "deprecated";
-undef $warn;
-eval { hostname("dummy") };
-is($warn, undef, "no warning when disabled");
+local $@;
+eval { hostname("dummy"); };
+like($@,
+qr/hostname\(\) does not accepts arguments \(it used to silently 
discard any provided\)/,
+"hostname no longer accepts arguments"
+);
 }

-- 
Perl5 Master Repository


[perl.git] branch blead updated. v5.31.0-135-g1e420d1cde

2019-06-04 Thread Nicolas Rochelemagne
In perl.git, the branch blead has been updated



- Log -
commit 1e420d1cde740938fdfedb4ce5d184e0e29eb093
Author: Nicolas R 
Date:   Tue Jun 4 13:28:50 2019 -0600

Bump Devel-PPPort for next release

commit 9aa6a8632401c657fffb4c7f230b5dedb37fa485
Author: Nicolas R 
Date:   Wed May 15 08:53:26 2019 -0600

Fix compilation issues with version older than 5.010

By adding more Perl versions to the Travis CI configuration
file we discovered that versions earlier 5.010 are broken.

Note that the uv.t does not raise the overflow warning
as expected by the test and we probably want to fix this in
a short future.

The test uv.t is simply not passing with 5.006 versions and
has several failures. I've currently disabled it.

Patch provided by Pali

(cherry picked from commit a09f79fbc2455b7ea72a49f6627a639101ba35a2)
Signed-off-by: Nicolas R 

commit 3bfe1c6899bcda599624b50af7e5d5d27dc2d53b
Author: Nicolas R 
Date:   Tue May 14 13:53:45 2019 -0600

Rename PPPort_xs.PL to RealPPPort_xs.PL

Fixes Devel-PPPort GH #21

To avoid confusion rename the template for RealPPPort.xs
file as RealPPPort_xs.PL so it's now clear what file
it generates.

(cherry picked from commit 0f14f67985491207f4a0e3936307f4c565717fd6)
Signed-off-by: Nicolas R 

---

Summary of changes:
 MANIFEST   |   2 +-
 Makefile.SH|   2 +-
 dist/Devel-PPPort/HACKERS  |   4 +-
 dist/Devel-PPPort/Makefile.PL  |  10 +-
 dist/Devel-PPPort/PPPort.xs|   2 +-
 dist/Devel-PPPort/PPPort_pm.PL |  18 +--
 .../{PPPort_xs.PL => RealPPPort_xs.PL} |   2 +-
 dist/Devel-PPPort/parts/inc/misc   | 143 +++--
 dist/Devel-PPPort/parts/inc/uv |  29 -
 dist/Devel-PPPort/parts/inc/warn   |   1 +
 dist/Devel-PPPort/t/uv.t   |   5 +-
 11 files changed, 152 insertions(+), 66 deletions(-)
 rename dist/Devel-PPPort/{PPPort_xs.PL => RealPPPort_xs.PL} (98%)

diff --git a/MANIFEST b/MANIFEST
index e5bdf66a4b..3bace2ac88 100644
--- a/MANIFEST
+++ b/MANIFEST
@@ -3291,7 +3291,7 @@ dist/Devel-PPPort/parts/todo/5024000  Devel::PPPort 
todo file
 dist/Devel-PPPort/PPPort.xsDevel::PPPort dummy PPPort.xs
 dist/Devel-PPPort/ppport_h.PL  Devel::PPPort ppport.h writer
 dist/Devel-PPPort/PPPort_pm.PL Devel::PPPort PPPort.pm writer
-dist/Devel-PPPort/PPPort_xs.PL Devel::PPPort RealPPPort.xs writer
+dist/Devel-PPPort/RealPPPort_xs.PL Devel::PPPort RealPPPort.xs 
writer
 dist/Devel-PPPort/soak Devel::PPPort Test Harness to run under 
various Perls
 dist/Devel-PPPort/t/call.t Devel::PPPort test file
 dist/Devel-PPPort/t/cop.t  Devel::PPPort test file
diff --git a/Makefile.SH b/Makefile.SH
index 0d925bc2b9..73c9d8133a 100755
--- a/Makefile.SH
+++ b/Makefile.SH
@@ -1104,7 +1104,7 @@ catamount)
 $spitshell >>$Makefile <.
 
-The scripts F, F and F all
+The scripts F, F and F all
 use the information in F to generate the main module
 F, the XS code in F and various test files
 in F.
@@ -196,7 +196,7 @@ section.
 The code required to add to PPPort.xs for testing the implementation.
 This code goes into the C<=xshead>, C<=xsinit>, C<=xsmisc>, C<=xsboot>
 and C<=xsubs> section. Have a look at the template at the bottom
-of F to see where the code ends up.
+of F to see where the code ends up.
 
 =item *
 
diff --git a/dist/Devel-PPPort/Makefile.PL b/dist/Devel-PPPort/Makefile.PL
index 62ba014cf6..7c2064a0cd 100644
--- a/dist/Devel-PPPort/Makefile.PL
+++ b/dist/Devel-PPPort/Makefile.PL
@@ -46,7 +46,7 @@ sub configure
   my %PL_FILES = (
 'ppport_h.PL'  => 'ppport.h',
 'PPPort_pm.PL' => 'PPPort.pm',
-'PPPort_xs.PL' => 'RealPPPort.xs',
+'RealPPPort_xs.PL' => 'RealPPPort.xs',
   );
   my @moreopts;
 
@@ -77,13 +77,13 @@ sub configure
 $depend{'apicheck.i'} = 'ppport.h';
   }
 
-  open my $fh, '<', 'PPPort_pm.PL' or die "cannot open PPPort_pm.PL for 
reading: $!";
+  open FH, ') {
+  while (my $line = ) {
 ($version) = $line =~ /^\$VERSION = '([\d.]+)';$/ and last;
   };
   die 'failed to extract $VERSION from PPPort_pm.PL' if not $version;
-  close $fh;
+  close FH;
 
   return {
 C=> \@C_FILES,
@@ -127,7 +127,7 @@ regen_pm:
$(PERL) -I$(INST_ARCHLIB) -I$(INST_LIB) -I$(PERL_ARCHLIB) -I$(PERL_LIB) 
PPPort_pm.PL
 
 regen_xs:
-   $(PERL) -I$(INST_ARCHLIB) -I$(INST_LIB) -I$(PERL_ARCHLIB) -I$(PERL_LIB) 
PPPort_xs.PL
+   $(PERL) -I$(INST_ARCHLIB) 

[perl.git] branch smoke-me/leont/pl2bat_refactor created. v5.31.0-136-gd904e7d154

2019-06-04 Thread Leon Timmermans
In perl.git, the branch smoke-me/leont/pl2bat_refactor has been created



at  d904e7d1546585c2f2615a1781f765ef229a0b11 (commit)

- Log -
---

-- 
Perl5 Master Repository


[perl.git] branch leont/pl2bat_refactor updated. v5.31.0-136-gd904e7d154

2019-06-04 Thread Leon Timmermans
In perl.git, the branch leont/pl2bat_refactor has been updated



  discards  1d6310ecffb3d931cf1871b0340ebd78c35323e1 (commit)
- Log -
commit d904e7d1546585c2f2615a1781f765ef229a0b11
Author: Leon Timmermans 
Date:   Thu Apr 25 16:40:51 2019 +0200

Force path to ExtUtils::PL2Bat in make_ext.pl

---

Summary of changes:

-- 
Perl5 Master Repository


[perl.git] branch leont/pl2bat_refactor updated. v5.31.0-136-g1d6310ecff

2019-06-04 Thread Leon Timmermans
In perl.git, the branch leont/pl2bat_refactor has been updated



  discards  c4dfb53061dc73992d86ff7079325914aed68b4c (commit)
  discards  959ffb88feda86abb483457aa87bc30fa47c5962 (commit)
  discards  b4047aabe4ffae10899e5cc12f0fb469ae992735 (commit)
  discards  cda57e6a26b7cd5cf41bf17238de75b6be2e1986 (commit)
- Log -
commit 1d6310ecffb3d931cf1871b0340ebd78c35323e1
Author: Leon Timmermans 
Date:   Thu Apr 25 16:40:51 2019 +0200

Force path to ExtUtils::PL2Bat

commit 680f3393e171c6ec46e59c1371a40d0c0b903683
Author: Leon Timmermans 
Date:   Thu Apr 25 14:50:50 2019 +0200

Make pl2bat use ExtUtils::PL2Bat

commit cf7fa7570e8db42e13f785d6e42232ea22b22bd6
Author: Leon Timmermans 
Date:   Thu Apr 25 13:22:28 2019 +0200

Eliminate -a option of pl2bat

commit f8448b3f5540dced6008356a99f9b18fea926262
Author: Leon Timmermans 
Date:   Thu Apr 25 11:11:05 2019 +0200

Import ExtUtils::PL2Bat

---

Summary of changes:
 AUTHORS|2 +
 Configure  |2 +-
 Cross/config.sh-arm-linux  |   46 +-
 Cross/config.sh-arm-linux-n770 |   46 +-
 INSTALL|   88 +-
 MANIFEST   |   70 +-
 META.json  |2 +-
 META.yml   |2 +-
 Makefile.SH|   12 +-
 NetWare/Makefile   |4 +-
 NetWare/config_H.wc|   10 +-
 Porting/Maintainers.pl |   41 +-
 Porting/bisect-runner.pl   |   10 +-
 Porting/config.sh  |   48 +-
 Porting/config_H   |   18 +-
 Porting/epigraphs.pod  |   32 +
 Porting/perldelta_template.pod |2 +-
 Porting/release_managers_guide.pod |4 +-
 Porting/release_schedule.pod   |   49 +-
 README.haiku   |4 +-
 README.macosx  |8 +-
 README.os2 |   10 +-
 README.vms |4 +-
 README.win32   |9 +-
 XSUB.h |   28 +-
 asan_ignore|   12 +-
 autodoc.pl |  172 +-
 av.h   |2 +-
 charclass_invlists.h   |4 +-
 configpm   |4 -
 cop.h  |8 +-
 cpan/CPAN/lib/App/Cpan.pm  |   43 +-
 cpan/CPAN/lib/CPAN.pm  |   34 +-
 cpan/CPAN/lib/CPAN/Bundle.pm   |3 +-
 cpan/CPAN/lib/CPAN/Distribution.pm |   78 +-
 cpan/CPAN/lib/CPAN/FirstTime.pm|8 +-
 cpan/CPAN/lib/CPAN/HandleConfig.pm |4 +-
 cpan/CPAN/lib/CPAN/Queue.pm|   13 +-
 cpan/CPAN/lib/CPAN/Shell.pm|9 +-
 cpan/CPAN/lib/CPAN/Tarzip.pm   |   21 +-
 cpan/Compress-Raw-Bzip2/Makefile.PL|   32 +-
 cpan/Compress-Raw-Bzip2/lib/Compress/Raw/Bzip2.pm  |2 +-
 cpan/Compress-Raw-Bzip2/t/000prereq.t  |2 +-
 cpan/Compress-Raw-Zlib/Makefile.PL |   32 +-
 cpan/Compress-Raw-Zlib/lib/Compress/Raw/Zlib.pm|2 +-
 cpan/DB_File/DB_File.pm|4 +-
 cpan/DB_File/DB_File.xs| 1847 ++--
 cpan/DB_File/Makefile.PL   |   32 +-
 cpan/ExtUtils-MakeMaker/lib/ExtUtils/Command.pm|4 +-
 cpan/ExtUtils-MakeMaker/lib/ExtUtils/Command/MM.pm |4 +-
 cpan/ExtUtils-MakeMaker/lib/ExtUtils/Liblist.pm|4 +-
 .../ExtUtils-MakeMaker/lib/ExtUtils/Liblist/Kid.pm |   11 +-
 cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM.pm |4 +-
 cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_AIX.pm |8 +-
 cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_Any.pm |   12 +-
 cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_BeOS.pm|6 +-
 cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_Cygwin.pm  |6 +-
 cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_DOS.pm |4 +-
 cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_Darwin.pm  |4 +-
 cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_MacOS.pm   |4 +-
 cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_NW5.pm |6 +-

[perl.git] branch blead updated. v5.31.0-132-g6f44131d18

2019-06-04 Thread Chris 'Bingos' Williams
In perl.git, the branch blead has been updated



- Log -
commit 6f44131d18eb3c79d59c550fbc73b2d7122e5a1d
Author: Chris 'BinGOs' Williams 
Date:   Tue Jun 4 13:52:58 2019 +0100

Fix builds after EUMM update

---

Summary of changes:
 write_buildcustomize.pl | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/write_buildcustomize.pl b/write_buildcustomize.pl
index 862b09fab8..b161aab01e 100644
--- a/write_buildcustomize.pl
+++ b/write_buildcustomize.pl
@@ -26,6 +26,7 @@ if ( @ARGV ) {
 # nonxs modules.
 # Term::ReadLine is not here for building but for allowing the debugger to
 # run under miniperl when nothing but miniperl will build :-(.
+# Text::ParseWords is required in ExtUtils::Liblist::Kid
 
 my @toolchain = qw(cpan/AutoLoader/lib
   dist/Carp/lib
@@ -42,13 +43,12 @@ my @toolchain = qw(cpan/AutoLoader/lib
   dist/constant/lib
   cpan/version/lib
   cpan/Getopt-Long/lib
+  cpan/Text-ParseWords/lib
   );
 
-# Text-ParseWords used only in ExtUtils::Liblist::Kid::_win32_ext()
-# the rest are for XS building on Win32, since nonxs and xs build 
simultaneously
+# These are for XS building on Win32, since nonxs and xs build simultaneously
 # on Win32 if parallel building
 push @toolchain, qw(
-   cpan/Text-ParseWords/lib
dist/ExtUtils-ParseXS/lib
cpan/parent/lib
cpan/ExtUtils-Constant/lib

-- 
Perl5 Master Repository