[perl.git] branch blead updated. v5.27.7-93-gb566b29e5c

2017-12-31 Thread Father Chrysostomos
In perl.git, the branch blead has been updated



- Log -
commit b566b29e5c88fece94ab58e0f1af8522b9b90c6f
Merge: 9a84a9ba7a 219ba69c91
Author: Father Chrysostomos 
Date:   Sun Dec 31 17:03:36 2017 -0800

[Merge] Make bitwise feature no longer experimental

commit 219ba69c91fc97b0ac4ae9224049d4116af7651e
Author: Father Chrysostomos 
Date:   Sun Dec 31 17:02:13 2017 -0800

perldelta for bitwise ops

commit 193789ac15b87b3f3a23dc38e9e19500c69dbf28
Author: Father Chrysostomos 
Date:   Sun Dec 31 12:54:44 2017 -0800

Update docs wrt bitwise ops

commit 401d2aaa50f74cc9e0d089bb6236d5960689c76c
Author: Father Chrysostomos 
Date:   Sun Dec 31 12:24:01 2017 -0800

Enable bitwise feature with ‘use v5.28’

commit e4232c8a5f384f4b3948d62f8a5233654cd14f4d
Author: Father Chrysostomos 
Date:   Sun Dec 31 11:24:57 2017 -0800

Remove experimental bitwise warning

---

Summary of changes:
 feature.h  | 28 +---
 lib/feature.pm | 20 
 lib/overload.pm|  4 ++--
 op.c   |  6 --
 pod/perldelta.pod  | 32 
 pod/perldiag.pod   | 12 
 pod/perlexperiment.pod | 18 ++
 pod/perlop.pod | 38 +++---
 regen/feature.pl   | 14 +-
 t/lib/croak/op |  6 --
 t/lib/warnings/op  | 30 --
 t/op/bop.t | 34 +-
 12 files changed, 122 insertions(+), 120 deletions(-)

diff --git a/feature.h b/feature.h
index 838d64883b..0e15fb5ffb 100644
--- a/feature.h
+++ b/feature.h
@@ -14,6 +14,7 @@
 #define FEATURE_BUNDLE_511 2
 #define FEATURE_BUNDLE_515 3
 #define FEATURE_BUNDLE_523 4
+#define FEATURE_BUNDLE_527 5
 #define FEATURE_BUNDLE_CUSTOM  (HINT_FEATURE_MASK >> HINT_FEATURE_SHIFT)
 
 #define CURRENT_HINTS \
@@ -33,7 +34,7 @@
 #define FEATURE_FC_IS_ENABLED \
 ( \
(CURRENT_FEATURE_BUNDLE >= FEATURE_BUNDLE_515 && \
-CURRENT_FEATURE_BUNDLE <= FEATURE_BUNDLE_523) \
+CURRENT_FEATURE_BUNDLE <= FEATURE_BUNDLE_527) \
  || (CURRENT_FEATURE_BUNDLE == FEATURE_BUNDLE_CUSTOM && \
 FEATURE_IS_ENABLED("fc")) \
 )
@@ -41,7 +42,7 @@
 #define FEATURE_SAY_IS_ENABLED \
 ( \
(CURRENT_FEATURE_BUNDLE >= FEATURE_BUNDLE_510 && \
-CURRENT_FEATURE_BUNDLE <= FEATURE_BUNDLE_523) \
+CURRENT_FEATURE_BUNDLE <= FEATURE_BUNDLE_527) \
  || (CURRENT_FEATURE_BUNDLE == FEATURE_BUNDLE_CUSTOM && \
 FEATURE_IS_ENABLED("say")) \
 )
@@ -49,7 +50,7 @@
 #define FEATURE_STATE_IS_ENABLED \
 ( \
(CURRENT_FEATURE_BUNDLE >= FEATURE_BUNDLE_510 && \
-CURRENT_FEATURE_BUNDLE <= FEATURE_BUNDLE_523) \
+CURRENT_FEATURE_BUNDLE <= FEATURE_BUNDLE_527) \
  || (CURRENT_FEATURE_BUNDLE == FEATURE_BUNDLE_CUSTOM && \
 FEATURE_IS_ENABLED("state")) \
 )
@@ -57,21 +58,22 @@
 #define FEATURE_SWITCH_IS_ENABLED \
 ( \
(CURRENT_FEATURE_BUNDLE >= FEATURE_BUNDLE_510 && \
-CURRENT_FEATURE_BUNDLE <= FEATURE_BUNDLE_523) \
+CURRENT_FEATURE_BUNDLE <= FEATURE_BUNDLE_527) \
  || (CURRENT_FEATURE_BUNDLE == FEATURE_BUNDLE_CUSTOM && \
 FEATURE_IS_ENABLED("switch")) \
 )
 
 #define FEATURE_BITWISE_IS_ENABLED \
 ( \
-   CURRENT_FEATURE_BUNDLE == FEATURE_BUNDLE_CUSTOM && \
-FEATURE_IS_ENABLED("bitwise") \
+   CURRENT_FEATURE_BUNDLE == FEATURE_BUNDLE_527 \
+ || (CURRENT_FEATURE_BUNDLE == FEATURE_BUNDLE_CUSTOM && \
+FEATURE_IS_ENABLED("bitwise")) \
 )
 
 #define FEATURE_EVALBYTES_IS_ENABLED \
 ( \
(CURRENT_FEATURE_BUNDLE >= FEATURE_BUNDLE_515 && \
-CURRENT_FEATURE_BUNDLE <= FEATURE_BUNDLE_523) \
+CURRENT_FEATURE_BUNDLE <= FEATURE_BUNDLE_527) \
  || (CURRENT_FEATURE_BUNDLE == FEATURE_BUNDLE_CUSTOM && \
 FEATURE_IS_ENABLED("evalbytes")) \
 )
@@ -92,7 +94,7 @@
 #define FEATURE___SUB___IS_ENABLED \
 ( \
(CURRENT_FEATURE_BUNDLE >= FEATURE_BUNDLE_515 && \
-CURRENT_FEATURE_BUNDLE <= FEATURE_BUNDLE_523) \
+CURRENT_FEATURE_BUNDLE <= FEATURE_BUNDLE_527) \
  || (CURRENT_FEATURE_BUNDLE == FEATURE_BUNDLE_CUSTOM && \
 FEATURE_IS_ENABLED("__SUB__")) \
 )
@@ -105,7 +107,8 @@
 
 #define FEATURE_POSTDEREF_QQ_IS_ENABLED \
 ( \
-   CURRENT_FEATURE_BUNDLE == FEATURE_BUNDLE_523 \
+   (CURRENT_FEATURE_BUNDLE >= FEATURE_BUNDLE_523 && \
+CURRENT_FEATURE_BUNDLE <= FEATURE_BUNDLE_527) \
  || (CURRENT_FEATURE_BUNDLE == FEATURE_BUNDLE_CUSTOM && \
 

[perl.git] branch jkeenan/system-test created. v5.27.7-86-gf844b04230

2017-12-31 Thread James Keenan
In perl.git, the branch jkeenan/system-test has been created



at  f844b04230c9dbb5970369720a687afeea605cb3 (commit)

- Log -
---

-- 
Perl5 Master Repository


[perl.git] branch blead updated. v5.27.7-88-g9a84a9ba7a

2017-12-31 Thread Craig A. Berry
In perl.git, the branch blead has been updated



- Log -
commit 9a84a9ba7a7ba718aa90dba54a5bdfedd507aac1
Author: Craig A. Berry 
Date:   Sun Dec 31 08:10:23 2017 -0600

XSLoader shouldn't use mod2fname when finding .bs files.

This is a belated follow-up to 907196b2ca1c36611c32cb8, where I
did the same for DynaLoader but failed to notice that XSLoader has
its own check for the .bs file before it invokes DynaLoader.

This finally gets the new bootstrap.t test added to XS::APItest
in 2e6f1ae9c4f7857e86f85fde07 passing on VMS.

---

Summary of changes:
 dist/XSLoader/XSLoader_pm.PL | 11 +++
 pod/perldelta.pod|  7 +++
 2 files changed, 14 insertions(+), 4 deletions(-)

diff --git a/dist/XSLoader/XSLoader_pm.PL b/dist/XSLoader/XSLoader_pm.PL
index ec27350cb3..66e4c2d631 100644
--- a/dist/XSLoader/XSLoader_pm.PL
+++ b/dist/XSLoader/XSLoader_pm.PL
@@ -11,7 +11,7 @@ print OUT <<'EOT';
 
 package XSLoader;
 
-$VERSION = "0.29"; # remember to update version in POD!
+$VERSION = "0.30"; # remember to update version in POD!
 
 #use strict;
 
@@ -66,6 +66,7 @@ sub load {
 
 my @modparts = split(/::/,$module);
 my $modfname = $modparts[-1];
+my $modfname_orig = $modfname; # For .bs file search
 
 EOT
 
@@ -140,8 +141,10 @@ print OUT <<'EOT';
 
 #   print STDERR "XSLoader::load for $module ($file)\n" if $dl_debug;
 
-my $bs = $file;
-$bs =~ s/(\.\w+)?(;\d*)?$/\.bs/; # look for .bs 'beside' the library
+# N.B. The .bs file does not following the naming convention used
+# by mod2fname, so use the unedited version of the name.
+
+my $bs = "$modlibname/auto/$modpname/$modfname_orig.bs";
 
 # This calls DynaLoader::bootstrap, which will load the .bs file if present
 goto \::bootstrap_inherit if not -f $file or -s $bs;
@@ -249,7 +252,7 @@ XSLoader - Dynamically load C libraries into Perl code
 
 =head1 VERSION
 
-Version 0.29
+Version 0.30
 
 =head1 SYNOPSIS
 
diff --git a/pod/perldelta.pod b/pod/perldelta.pod
index ff79614db8..18f8251fed 100644
--- a/pod/perldelta.pod
+++ b/pod/perldelta.pod
@@ -170,6 +170,13 @@ L has been upgraded from version 0.69 to 
0.70.
 The function C now accepts an optional parameter to help in
 diagnosing error returns.
 
+=item *
+
+L has been upgraded from version 0.29 to 0.30.
+
+Platforms that use C to edit the names of loadable libraries now 
look for
+bootstrap (.bs) files under the correct, non-edited name.
+
 =back
 
 =head2 Removed Modules and Pragmata

-- 
Perl5 Master Repository