This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
perl5.git
6 months agoCorrect build time warning for vxs.inc
Todd Rinaldo [Mon, 5 Oct 2020 22:56:04 +0000 (17:56 -0500)]
Correct build time warning for vxs.inc

Fixes #18202

This fix was present previously and was clobbered by a cpan sync of
version.pm It is now reported into that repo via
https://github.com/toddr/version.pm/pull/1

6 months agoUpdate Pod::Checker to CPAN version 1.74
Todd Rinaldo [Mon, 5 Oct 2020 19:23:23 +0000 (14:23 -0500)]
Update Pod::Checker to CPAN version 1.74

[DELTA]

+ CPAN#133312: Add strict compliance to Pod-Checker
  Thanks TODDR for the patch to make the code "use strict" compliant
+ CPAN#98326: Can we make “A non-empty Z<>” a warning and not an error
  This is a corner case... and since Pod::Simple anyway "nixes" anything
  inside Z<...>, this is a warning, not an error. Mind the caveats.
+ Added an additional test to achieve 100% statement coverage and added
  some POD to also have 100% POD coverage
+ Made all text files unixish, no CRLF

6 months agoMake Exporter strict and warnings compliant
Todd Rinaldo [Fri, 2 Oct 2020 19:12:23 +0000 (14:12 -0500)]
Make Exporter strict and warnings compliant

Update optree_specials since OptreeCheck.pm uses Exporter.

6 months agoMake FindBin strict and warnings compliant
Todd Rinaldo [Fri, 2 Oct 2020 21:01:07 +0000 (16:01 -0500)]
Make FindBin strict and warnings compliant

6 months agoMerge branch 't-a-k-oct-doc-fix' into blead
Karl Williamson [Sun, 4 Oct 2020 19:34:09 +0000 (13:34 -0600)]
Merge branch 't-a-k-oct-doc-fix' into blead

6 months agoTakai Kousuke is now a Perl author
Karl Williamson [Sun, 4 Oct 2020 18:06:19 +0000 (12:06 -0600)]
Takai Kousuke is now a Perl author

6 months agoperlfunc.pod - describe that "x" and "b" work the same way as
TAKAI Kousuke [Thu, 1 Oct 2020 09:15:55 +0000 (18:15 +0900)]
perlfunc.pod - describe that "x" and "b" work the same way as
"0x" and "0b" in oct()

6 months agoTaki Kousuke is now a Perl author
Karl Williamson [Sun, 4 Oct 2020 18:06:19 +0000 (12:06 -0600)]
Taki Kousuke is now a Perl author

6 months agoMerge branch 'oct-doc-fix' of github.com:t-a-k/perl5 into t-a-k-oct-doc-fix
Karl Williamson [Sun, 4 Oct 2020 17:43:10 +0000 (11:43 -0600)]
Merge branch 'oct-doc-fix' of github.com:t-a-k/perl5 into t-a-k-oct-doc-fix

6 months agomro.xs: Fix compiler warning
Karl Williamson [Sun, 4 Oct 2020 17:07:19 +0000 (11:07 -0600)]
mro.xs: Fix compiler warning

Fixes GH #18155

6 months agoPerl_av_extend_guts: use Zero() rather than a while loop to set NULLs
Richard Leach [Tue, 18 Aug 2020 18:28:04 +0000 (19:28 +0100)]
Perl_av_extend_guts: use Zero() rather than a while loop to set NULLs

6 months agoPerl_av_extend_guts: tabs converted to spaces; unnecessary nesting removed
Richard Leach [Mon, 17 Aug 2020 22:41:00 +0000 (23:41 +0100)]
Perl_av_extend_guts: tabs converted to spaces; unnecessary nesting removed

6 months agoignore cygwin files that cannot be stat()ed in t/op/stat.t
Christian Walde [Sat, 3 Oct 2020 23:41:54 +0000 (01:41 +0200)]
ignore cygwin files that cannot be stat()ed in t/op/stat.t

This is a fix for github cygwin vm smoke runs, specifically the issue in:
https://github.com/Perl/perl5/issues/18193

The original cause of the issue was an update github did to their windows
vm image with version 20200920.1, wherein the status of a console being
attached is now unclear.

This has affected other projects as well
(example: https://github.com/actions/virtual-environments/issues/1679 )
and, relevant for us, shows itself as /dev/con(in|out|sole) not being
stat()able under cygwin.

As such, the fix for the test is to, under cygwin, identify such files,
and remove them from the dataset altogether before checking stat operations
on them.

(As a small freebie, this also dumps diagnostics of the check on failure.)

6 months agoTest split on empty pattern with varying field counts
Richard Leach [Fri, 2 Oct 2020 16:31:33 +0000 (17:31 +0100)]
Test split on empty pattern with varying field counts

This builds on commit 04b729c025 to add additional coverage of the null
pattern split. Specifically:
* Check that trailing element behaviour (LIMIT > length) is correct - this
is not currently tested
* Check that scalar & non-scalar context produce similar counts across
the possible the LIMIT-to-string-length relationships
* Check that negative and zero LIMITs produce the expected output

6 months agoIn tests, fix @INC before loading more stuff
Hugo van der Sanden [Sat, 3 Oct 2020 17:32:22 +0000 (18:32 +0100)]
In tests, fix @INC before loading more stuff

6 months agoforcibly check the timing of the regex/alarm test in bulk
Christian Walde (Mithaldu) [Mon, 29 Jun 2020 04:59:00 +0000 (06:59 +0200)]
forcibly check the timing of the regex/alarm test in bulk

As per github #18129, github test VMs occasionally fail this alarm test.

This commit implements a loop that forces those systems to always fail the
test.

On cygwin running directly on iron this doesn't fail even after 1000
iterations.

However in order to make github smokes a little more useful for now, this
also marks it TODO.

6 months agoFix typos
Samanta Navarro [Sat, 3 Oct 2020 12:39:08 +0000 (12:39 +0000)]
Fix typos

For: https://github.com/Perl/perl5/pull/18201

Committer: Samanta Navarro is now a Perl author.

To keep 'make test_porting' happy:  Increment $VERSION in several files.
Regenerate uconfig.h via './perl -Ilib regen/uconfig_h.pl'.

6 months agoUpdate File-Temp to CPAN version 0.2311
Karen Etheridge [Sat, 3 Oct 2020 04:07:27 +0000 (21:07 -0700)]
Update File-Temp to CPAN version 0.2311

  [DELTA]

0.2311    2020-10-03 04:04:15Z
          - Fix new PERMS test so as to also pass on root (RT#133443)

0.2310    2020-09-26 17:37:56Z
          - add AppVeyor CI
          - Add PERMS options to create temp file with given file permissions
          - remove remaining uses of indirect object syntax (#34, Nicolas R)

6 months agopp_split: RXf_NULL branch - separate out scalar & UTF8 branches
Richard Leach [Fri, 2 Oct 2020 23:32:32 +0000 (00:32 +0100)]
pp_split: RXf_NULL branch - separate out scalar & UTF8 branches

6 months agoUpdate Porting/Maintainers.pl for recent version.pm update to 0.9928
Todd Rinaldo [Fri, 2 Oct 2020 22:00:40 +0000 (17:00 -0500)]
Update Porting/Maintainers.pl for recent version.pm update to 0.9928

6 months agoFix Makefile.PL in Unicode-Normalize to be strict/warnings compliant
Todd Rinaldo [Fri, 2 Oct 2020 21:41:45 +0000 (16:41 -0500)]
Fix Makefile.PL in Unicode-Normalize to be strict/warnings compliant

6 months agoregen/regcomp.pl: Extract repeated format to a scalar
Karl Williamson [Thu, 7 May 2020 03:33:54 +0000 (21:33 -0600)]
regen/regcomp.pl: Extract repeated format to a scalar

So if change, only have to change it once.

6 months agoregcomp.sym: Reorder some entries
Karl Williamson [Wed, 3 Jun 2020 22:05:23 +0000 (16:05 -0600)]
regcomp.sym: Reorder some entries

These are mostly used in regexec.c in three functions.  Two of the
functions use less than half the available ones, as case labels in a
switch() statement.  By moving all the ones used by those functions to
be nearly contiguous at the beginning, compilers can generate smaller
jump tables for the switch().

6 months agoregexec.c: White-space only
Karl Williamson [Thu, 4 Jun 2020 17:53:43 +0000 (11:53 -0600)]
regexec.c: White-space only

Adjust indentation as a result of the previous commit.

6 months agoS_find_byclass() Restructure bounds checking
Karl Williamson [Thu, 4 Jun 2020 16:59:02 +0000 (10:59 -0600)]
S_find_byclass() Restructure bounds checking

There are five \b variants.  Plain \b (without braces) is the outlier as
far as implementation.  This commit moves the handling of plain \b to
outside the switch that handles the others.  That allows the duplicate
code that previously existed to be consolidated into one occurrence.

6 months agoUpdate version to CPAN version 0.9928
Todd Rinaldo [Thu, 1 Oct 2020 17:01:44 +0000 (12:01 -0500)]
Update version to CPAN version 0.9928

[DELTA]

0.9927
  * Released 0.99_26 as 0.9927

0.99_26
  * Add usage error to pure-perl vcmp
  * Quote version classname in test for 5.8 compatability
  * Use base instead of parent for tests
  * Update ppport.h for future compatibility

0.99_25
  * Fix stack usage in vcmp method
  * Drop Perl 5.5 compatibility
  * Use PERL_VERSION_GE for Perl 7 compatibility
  * Fix typo in pod example for comparing versions.

6 months agoTest split on empty pattern with field count
Hugo van der Sanden [Fri, 2 Oct 2020 02:24:46 +0000 (03:24 +0100)]
Test split on empty pattern with field count

Prompted by GH #18188

6 months agoRevert "pp_split: RXf_NULL branch [...]"
Hugo van der Sanden [Fri, 2 Oct 2020 01:59:28 +0000 (02:59 +0100)]
Revert "pp_split: RXf_NULL branch [...]"

"pp_split: RXf_NULL branch - separate out (gimme_scalar), reduce
unnecessary work" was causing CPAN failures such as github #18188,
which appear to be down to a change of behaviour in 'split //, $s, 2'.

This reverts commit 59892837454d0ca367c3f7c83b2a646c57333b9a.

6 months agoSleep before running auto-label-merge-conflicts
Nicolas R [Thu, 1 Oct 2020 20:52:05 +0000 (14:52 -0600)]
Sleep before running auto-label-merge-conflicts

Alternatively we could retry on errors.

This is a known limitation as we use the mergeable
status which is computed async by GitHub.

Upstream-URL: https://github.com/mschilde/auto-label-merge-conflicts/issues/37

6 months agoperlfunc.pod - describe that "x" and "b" work the same way as 18185/head
TAKAI Kousuke [Thu, 1 Oct 2020 09:15:55 +0000 (18:15 +0900)]
perlfunc.pod - describe that "x" and "b" work the same way as
"0x" and "0b" in oct()

6 months agoNote that CvGV is now documented
Karl Williamson [Wed, 30 Sep 2020 21:29:25 +0000 (15:29 -0600)]
Note that CvGV is now documented

6 months agoMake dist/Carp strict compliant.
Todd Rinaldo [Mon, 21 Sep 2020 20:38:19 +0000 (15:38 -0500)]
Make dist/Carp strict compliant.

6 months agoUpdate Module-Load to CPAN version 0.36
Todd Rinaldo [Wed, 30 Sep 2020 13:12:03 +0000 (08:12 -0500)]
Update Module-Load to CPAN version 0.36

[DELTA]

0.36    Tue Sep 29 11:55:01 BST 2020
* Fixed E<gt> in POD (https://github.com/jib/module-load/pull/6)
* Make Module-Load strict compliant (https://github.com/jib/module-load/pull/7)

6 months agoperlapi: croak_nocontext is preferred over plain croak
Karl Williamson [Mon, 7 Sep 2020 15:27:28 +0000 (09:27 -0600)]
perlapi: croak_nocontext is preferred over plain croak

When you are about to die, the time/space tradeoff may tilt towards space.

6 months agopp_split: RXf_NULL branch - separate out (gimme_scalar), reduce unnecessary work
Richard Leach [Sun, 9 Aug 2020 21:18:54 +0000 (22:18 +0100)]
pp_split: RXf_NULL branch - separate out (gimme_scalar), reduce unnecessary work

6 months agoErrno: Bump version
Karl Williamson [Tue, 29 Sep 2020 17:30:42 +0000 (11:30 -0600)]
Errno: Bump version

after 6b6e83fce2074294ac11d547c8a75bc106bebab9

6 months agoFix build on Haiku beta, set correct Haiku usrinc and locinc, add -fno-stack-protecto...
Thibault DUPONCHELLE [Fri, 12 Jun 2020 12:19:52 +0000 (14:19 +0200)]
Fix build on Haiku beta, set correct Haiku usrinc and locinc, add -fno-stack-protector to hints for amigaos.sh
and haiku.sh (and disable accordingly -fstack-protector* in Configure)

6 months agoAdd POD for AvARRAY.
Felipe Gasper [Fri, 25 Sep 2020 12:57:02 +0000 (08:57 -0400)]
Add POD for AvARRAY.

6 months agoDocument NV to int cast macros
Karl Williamson [Thu, 27 Aug 2020 12:49:48 +0000 (06:49 -0600)]
Document NV to int cast macros

6 months agoRemove Perl_av_top_index
Karl Williamson [Tue, 29 Sep 2020 06:48:19 +0000 (00:48 -0600)]
Remove Perl_av_top_index

I created this in 87306e0674dfe3af29804b4641347cd5ac9b0521, thinking it
was needed to preserve backward compatibility if someone were using this
instead of the macro.  But it turned out that there never was such a
function, it was inlined, and the name was S_av_top_index, so there is
no reason to create a new function that no one has ever been able to
call.  So just remove it, and let all accesses go through the macro

6 months agosv.h: sv_collxfrm didn't work properly
Karl Williamson [Tue, 22 Sep 2020 14:47:52 +0000 (08:47 -0600)]
sv.h: sv_collxfrm didn't work properly

It is supposed to be a wrapper for sv_collxfrm_flags, but it was just
calling sv_cmp_flags instead.  The consequences are none except under
'use locale' in which case you always got the C locale.  I did not add
tests, because it is really a pain to write portable locale tests, and
this doesn't seem to be much used.  In core the '_flags' form was always
used.

6 months agoFix return type in pod for HvNAMELEN_get
Karl Williamson [Tue, 22 Sep 2020 13:58:40 +0000 (07:58 -0600)]
Fix return type in pod for HvNAMELEN_get

37738dd69b1 set it incorrectly

6 months agoperlvar: Remove mention of WIFCONTINUED
Karl Williamson [Wed, 23 Sep 2020 23:21:33 +0000 (17:21 -0600)]
perlvar: Remove mention of WIFCONTINUED

This is not supported.

6 months agoDocument CvGV
Karl Williamson [Thu, 27 Aug 2020 15:22:02 +0000 (09:22 -0600)]
Document CvGV

6 months agoRevert "Update File-Temp to CPAN version 0.2310"
Sawyer X [Mon, 28 Sep 2020 18:15:35 +0000 (20:15 +0200)]
Revert "Update File-Temp to CPAN version 0.2310"

This reverts commit e11449403fd20c119b4b38b99079f993f24f15e8.

Please see GH #18172: https://github.com/Perl/perl5/issues/18172

6 months agoUpdate MIME-Base64 to CPAN version 3.16
Todd Rinaldo [Mon, 28 Sep 2020 16:15:26 +0000 (11:15 -0500)]
Update MIME-Base64 to CPAN version 3.16

[DELTA]

3.16 2020-09-26
  - Convert the build to Dist::Zilla to ensure we're releasing well built packages
  - Ensure all tests are using strict and warnings (thanks, Nicolas R).
  - Cleanup this change log
  - Add a .mailmap to cleanup our contributors list
  - Use `our` instead of `use vars`
  - Bump the required Perl version to v5.6.2

6 months agoutf8.pm: Add decoding example to pod
Karl Williamson [Sun, 27 Sep 2020 21:47:53 +0000 (15:47 -0600)]
utf8.pm: Add decoding example to pod

Thanks to Dagfinn Ilmari Mannsåker and H.Merijn Brand

6 months agoAPItest.xs: Silence compiler warning
Karl Williamson [Sun, 27 Sep 2020 21:46:36 +0000 (15:46 -0600)]
APItest.xs: Silence compiler warning

6 months agoSilence compiler warning
Karl Williamson [Sun, 27 Sep 2020 21:45:22 +0000 (15:45 -0600)]
Silence compiler warning

Spotted by James Keenan

6 months agoGH #12937: document perldb.ini
Sawyer X [Sun, 27 Sep 2020 20:26:03 +0000 (22:26 +0200)]
GH #12937: document perldb.ini

6 months agoperlcommunity - replace reference to Raku development with pointer to Raku community...
Dan Book [Sat, 26 Sep 2020 00:37:56 +0000 (20:37 -0400)]
perlcommunity - replace reference to Raku development with pointer to Raku community resources

6 months agoGH #18109: Detect failures with HTTP::Tiny in sync-with-cpan:
Sawyer X [Fri, 25 Sep 2020 22:29:24 +0000 (00:29 +0200)]
GH #18109: Detect failures with HTTP::Tiny in sync-with-cpan:

The original code uses HTTP::Tiny and if it fails, we try alternatives.

This isn't the best strategy because it might fail for legitimate
reasons and we need to separate whether it failed for a reason that
other user agents will fail or if it failed without crashing.

But, meh. We try to detect whether it succeeded in the function call
(as in, didn't crash) but failed in the request itself, and then we
surface it.

I've enabled an unavailable proxy configuration and tested it. This
is what it looks like:

    $ perl Porting/sync-with-cpan CPAN
    Cannot retrieve file: http://www.cpan.org/modules/02packages.details.txt
    Status: 599
    Reason: Internal Exception
    Content: Could not connect to 'proxy.xxx.yyy.com:8080': No address associated with hostname

Removing the proxy configuration, it succeeded.

6 months agoUpdate File-Temp to CPAN version 0.2310
Karen Etheridge [Sat, 26 Sep 2020 17:38:50 +0000 (10:38 -0700)]
Update File-Temp to CPAN version 0.2310

  [DELTA]

0.2310    2020-09-26 17:37:56Z
          - add AppVeyor CI
          - Add PERMS options to create temp file with given file permissions
          - remove remaining uses of indirect object syntax (#34, Nicolas R)

6 months agoGH #17947: Clarify Perl modules versus library
Sawyer X [Fri, 25 Sep 2020 23:35:54 +0000 (01:35 +0200)]
GH #17947: Clarify Perl modules versus library

6 months agoRemove Parrot reference
Sawyer X [Fri, 25 Sep 2020 18:49:24 +0000 (20:49 +0200)]
Remove Parrot reference

6 months agoLast bits of Perl 6 -> Raku
Sawyer X [Fri, 25 Sep 2020 18:05:47 +0000 (20:05 +0200)]
Last bits of Perl 6 -> Raku

6 months agoAdd missing aTHX_
Hugo van der Sanden [Fri, 25 Sep 2020 14:02:03 +0000 (15:02 +0100)]
Add missing aTHX_

Somehow dropped in 49781baac3.

6 months agoAdd re::optimization()
Hugo van der Sanden [Wed, 16 Sep 2020 13:08:42 +0000 (14:08 +0100)]
Add re::optimization()

Given a compiled regexp object, this returns a hashref of the optimization
information discovered for it.

6 months agoreorder re.pm docs
Hugo van der Sanden [Thu, 17 Sep 2020 14:34:45 +0000 (15:34 +0100)]
reorder re.pm docs

regmust() is about internals, it should go at the end; move docs for
functions interrogating match results above it.

6 months agoUpdate Unicode-Collate to CPAN version 1.28
Todd Rinaldo [Wed, 23 Sep 2020 22:36:35 +0000 (17:36 -0500)]
Update Unicode-Collate to CPAN version 1.28

[DELTA]

1.28  Tue Sep 22 22:14:48 2020
 - DUCET is updated (for Unicode 12.1.0) as Collate/allkeys.txt.
 - The default UCA_Version is 41.
 - UCA_Version 38 & 40 (for Unicode 11.0.0 & 12.0.0) are also supported.
 - [rt.cpan.org #133311] Make Makefile.PL strict

6 months agoskip the failing dynamic vs static tests on Win32
Tony Cook [Wed, 15 Apr 2020 04:09:29 +0000 (14:09 +1000)]
skip the failing dynamic vs static tests on Win32

workaround for #17601

6 months agoUpdate with release managers we already know about
Sawyer X [Wed, 23 Sep 2020 10:41:51 +0000 (12:41 +0200)]
Update with release managers we already know about

6 months agoDocument gv_fetch[ps]v and kin
Karl Williamson [Sat, 29 Aug 2020 18:51:19 +0000 (12:51 -0600)]
Document gv_fetch[ps]v and kin

6 months agoDocument PL_Sv
Karl Williamson [Sat, 18 Jul 2020 13:18:24 +0000 (07:18 -0600)]
Document PL_Sv

6 months agoAdd the Configure option to enable strict by default in perl programs.
H.Merijn Brand [Tue, 22 Sep 2020 12:27:55 +0000 (14:27 +0200)]
Add the Configure option to enable strict by default in perl programs.

Integration of 19aaf9297b251db12d as metaconfig unit causes a re-order
(as promised)

6 months ago[gh18096] assume worst-case for GOSUBs we don't analyse
Hugo van der Sanden [Tue, 15 Sep 2020 13:02:54 +0000 (14:02 +0100)]
[gh18096] assume worst-case for GOSUBs we don't analyse

During study_chunk, under various conditions we avoid recursing into
a GOSUB. But we must avoid giving the enclosing scope the idea that
this GOSUB would match only an empty string, since that could trigger
wrong optimizations (eg CURLYX => CURLYM in the ticket).

So we mark the construct as infinite, as in the code branch where we
_do_ recurse into it.

6 months agoTrap SIGBUS when Configure checks for va_copy (#18148)
H.Merijn Brand [Tue, 22 Sep 2020 11:17:11 +0000 (13:17 +0200)]
Trap SIGBUS when Configure checks for va_copy (#18148)

On several systems the attempt to determine if we &quot;need va_copy() or
similar&quot; results in a SIGBUS instead of a SIGSEGV because the fault
happens pointing at an io device address.

While reviewing accounting logs during the OpenBSD system build, bluhm@
noticed a core dump and deraadt@ tracked it down.

While researching it was discovered that this is a fairly common case in
other systems as well.

Original diff by deraadt@

6 months agoUpdate epigraphs with links
Sawyer X [Mon, 21 Sep 2020 18:00:20 +0000 (20:00 +0200)]
Update epigraphs with links

6 months agoBump Module::CoreList in Maintainers.pl
Sawyer X [Mon, 21 Sep 2020 17:58:12 +0000 (19:58 +0200)]
Bump Module::CoreList in Maintainers.pl

6 months agoUpdate perldelta with Module::CoreList
Sawyer X [Sun, 20 Sep 2020 23:56:46 +0000 (01:56 +0200)]
Update perldelta with Module::CoreList

6 months agoUpdate Module::CoreList for 5.33.3
Sawyer X [Sun, 20 Sep 2020 23:56:34 +0000 (01:56 +0200)]
Update Module::CoreList for 5.33.3

6 months agoBump the perl version in various places for 5.33.3
Sawyer X [Sun, 20 Sep 2020 23:48:36 +0000 (01:48 +0200)]
Bump the perl version in various places for 5.33.3

6 months agonew perldelta for 5.33.3
Sawyer X [Sun, 20 Sep 2020 23:28:27 +0000 (01:28 +0200)]
new perldelta for 5.33.3

6 months agoTick off release
Sawyer X [Sun, 20 Sep 2020 23:17:46 +0000 (01:17 +0200)]
Tick off release

6 months agoAdd epigraph
Sawyer X [Sun, 20 Sep 2020 23:10:57 +0000 (01:10 +0200)]
Add epigraph

6 months agoadd new release to perlhist v5.33.2
Sawyer X [Sun, 20 Sep 2020 12:09:32 +0000 (14:09 +0200)]
add new release to perlhist

6 months agoUpdate perldelta
Sawyer X [Sun, 20 Sep 2020 11:40:58 +0000 (13:40 +0200)]
Update perldelta

6 months agoUpdate Module::CoreList for 5.33.2
Sawyer X [Sun, 20 Sep 2020 11:31:04 +0000 (13:31 +0200)]
Update Module::CoreList for 5.33.2

6 months agoUpdate authors
Sawyer X [Sun, 20 Sep 2020 09:15:46 +0000 (11:15 +0200)]
Update authors

6 months agoClean up perldelta
Sawyer X [Sun, 20 Sep 2020 09:06:41 +0000 (11:06 +0200)]
Clean up perldelta

6 months agoDoing the release today
Sawyer X [Sun, 20 Sep 2020 08:21:22 +0000 (10:21 +0200)]
Doing the release today

6 months agoUpdate porting/customized.dat for recent change to cpan/ExtUtils-PL2Bat/t/make_execut...
Todd Rinaldo [Fri, 18 Sep 2020 23:07:02 +0000 (18:07 -0500)]
Update porting/customized.dat for recent change to cpan/ExtUtils-PL2Bat/t/make_executable.t

6 months agoMark cpan/ExtUtils-PL2Bat/t/make_executable.t as customized
Todd Rinaldo [Fri, 18 Sep 2020 22:07:00 +0000 (17:07 -0500)]
Mark cpan/ExtUtils-PL2Bat/t/make_executable.t as customized

Goes with #18118. Per ilmari, this is ok to push in while we wait
for https://github.com/Perl-Toolchain-Gang/extutils-pl2bat/pull/6
to merge.

6 months agomake_executable.t: ensure PATH for test is not too long, as that is incompatible...
Christian Walde [Thu, 10 Sep 2020 22:24:46 +0000 (00:24 +0200)]
make_executable.t: ensure PATH for test is not too long, as that is incompatible with win2k

6 months agoembed.fnc docfix: s/s/S/
Hugo van der Sanden [Thu, 17 Sep 2020 14:28:42 +0000 (15:28 +0100)]
embed.fnc docfix: s/s/S/

7 months agoprevent a spurious error output from test.pl when killing a cygwin process
Christian Walde [Wed, 16 Sep 2020 19:06:48 +0000 (21:06 +0200)]
prevent a spurious error output from test.pl when killing a cygwin process

Under Cygwin a process can sometimes take a little while to spool down
after being killed. There already is code to wait a second and retry.
However if the process has already disappeared in the wait second, then the
retry is engaged anyhow and will then complain it can't find the process.

This change makes it so test.pl only truly attempts to kill a cygwin
process if it actually is still around.

This resolves the secondary bug in #18129.

7 months agoSkip t/porting/bench.t if the cachegrind test takes too long.
Nicholas Clark [Wed, 16 Sep 2020 17:38:17 +0000 (17:38 +0000)]
Skip t/porting/bench.t if the cachegrind test takes too long.

On this armv7l system (current Raspberry Pi OS) /usr/bin/valgrind exists,
but if I try to run it it gets stuck in a CPU busy loop somewhere. As was,
this meant that t/porting/bench.t would never complete, causing the test
suite to hang.

As we are already assuming ulimit exists to suppress coredumps, also use it
to set a CPU time limit. This way, the sanity check will time out (and fail)
causing t/porting/bench.t to skip, and the regression tests to pass.

On other systems the generous timeout is harmless, and the test still runs as
intended.

7 months agoUpdate DB_File to CPAN version 1.854
Todd Rinaldo [Wed, 16 Sep 2020 15:01:31 +0000 (10:01 -0500)]
Update DB_File to CPAN version 1.854

[DELTA]

1.854 16 September 2020

* Prefer direct notation over indirect (#4)
* Make hint/BS snippets strict compliant.
* trim whitespace

7 months agoRevise per feedback
James E Keenan [Wed, 16 Sep 2020 00:45:03 +0000 (00:45 +0000)]
Revise per feedback

7 months agot/op/taint.t: Avert uninitialized value warning
James E Keenan [Tue, 8 Sep 2020 00:48:01 +0000 (00:48 +0000)]
t/op/taint.t:  Avert uninitialized value warning

In the test of shmread, if $id is undefined after the attempted
assignment by shmget(), we get the "# shmget failed" warning and, since
nothing has been read into $rcvd, that variable remains undefined.  If
$rcvd is undefined it will never be string-equal to $sent, which
means the 'skip' condition will be exercised.

Commit 56249513ac made this file run with warnings enabled, so now the
lack of assignment to $rcvd generates an uninitialized value warning
(observed in smoke-test reports on FreeBSD).  This patch accounts for
non-definition of $rcvd and prevents that warning from being emitted.

7 months agoUpdate Test-Simple to CPAN version 1.302181
Todd Rinaldo [Wed, 16 Sep 2020 02:23:31 +0000 (21:23 -0500)]
Update Test-Simple to CPAN version 1.302181

[DELTA]

1.302181  2020-09-14 09:46:04-07:00 America/Los_Angeles

    - put try_sig_mask back where it goes (And add test to prevent this in the future)
    - Drop new List::Util requirement back down

1.302180  2020-09-13 23:11:18-07:00 America/Los_Angeles

    - No changes since last trial

1.302179  2020-09-12 22:35:19-07:00 America/Los_Angeles (TRIAL RELEASE)

    - Bump minimum List::Util version (for uniq)

1.302178  2020-09-07 14:11:52-07:00 America/Los_Angeles (TRIAL RELEASE)

    - Move try_sig_mask to the only module that uses it.
    - Inherit warnings bitmask in cmp_ok string eval
    - Update copyright date
    - Improved API for interept {} and what it returns

1.302177  2020-08-06 21:46:06-07:00 America/Los_Angeles

    - Minor fix to author downstream test
    - No significant changes since the last trial

1.302176  2020-08-05 21:45:19-07:00 America/Los_Angeles (TRIAL RELEASE)

    - Fix Test::More's $TODO inside intercept (#862)

7 months agofix t/win32/signal.t
Nicolas R [Tue, 1 Sep 2020 22:10:25 +0000 (16:10 -0600)]
fix t/win32/signal.t

Make sure Config is loaded before using %Config
which is required when using 'strict vars'.

7 months agoUpdate ExtUtils-Install to CPAN version 2.18
Todd Rinaldo [Tue, 15 Sep 2020 23:42:49 +0000 (18:42 -0500)]
Update ExtUtils-Install to CPAN version 2.18

[DELTA]

2.18

- Add descriptions for 3 tests lacking them
- Removed bundled Test::More from t/lib
- 'use strict' added to all files where missing
- 'use vars' replaced with 'our'
- Properly scope all variables
- Minimal supported perl version is now v5.6.0

7 months agoUpdate IO-Socket-IP to CPAN version 0.41
Todd Rinaldo [Tue, 15 Sep 2020 22:40:55 +0000 (17:40 -0500)]
Update IO-Socket-IP to CPAN version 0.41

[DELTA]
0.41 2020-09-15 16:59
 [CHANGES]
   * Updated to `=head2 barename` documentation style

 [BUGFIXES]
   * Remember to declare configure_requires Module::Build

0.40 2020-09-15 16:41
  [CHANGES]
    * Don't ship a Makefile.PL
    * Updated docs about `-register` option

  [BUGFIXES]
    * Ensure safety under default-strict (RT133322)

7 months agoUpdate IO-Compress to CPAN version 2.096
Todd Rinaldo [Tue, 15 Sep 2020 14:43:03 +0000 (09:43 -0500)]
Update IO-Compress to CPAN version 2.096

[DELTA]

2.096 31 July 2020

* Add Zip support for Zstd
508258baeeec51ba49c3c07d2dda7c19e3194985

* Add support for Zip/Unzip with XZ compression
6d240d3b3514d627a751ec82fe71f2e236301e19
3c0046e8bc65ef467b9153722609654d3ccc5bbd

2.095 19 July 2020

* Add Support for Zstandard in AnyUncompress

2.094 13 July 2020

* bin/zipdetails version 2

7acb49ff4ca67051deaffd7f988556dae0dd884b small update
f5988eebc21a4d0b96e0b094e6e9bf8d3dcb1763 Better error messages for missing Zip64 records
d224dcc321dd1ff120345ac3a19286ecdc79776f Add note about warning output
4caa0e5117c4c214f457d90f9a87d00772a79622 Add --version option
6c045c859d2b6bab0398833f207d7f9b803bbbab Version 2
df97743ffa1da816936e8ef504c9d561d66bb0ed Beef up some error cases
073129c4f44ebd3cc2c5381ffa824fc09b474c29 Rename a couple of unused signatures
72568c7d9edfd3e2fb6647dce6ea511e9caa186c update comment
1088199809cabb9c565ac23f065988683aacd323 Merge branch 'master' of https://github.com/pmqs/IO-Compress
ad987ab95e3f3fa02fcf526736ad2da78d327460 Merge pull request #10 from fabiensanglard/master
ac76d1b3d3f23077b1700778226edd68c50d81a8 fix typo
5950d7e724479f0eceffe68ae515ac117ff6a5ef Don't output "Extra Payload" if length is zero
dbd3160decd9b761dbad7aaae2ec46c0173125ef Merge pull request #12 from fabiensanglard/extra
7ae4a98124c9195ca5286e3ac7d2cbe37fa2b644 Recover from bad extra subfield
3e12e62916da31c003a7273293bc32bb9a31f85f Fix typo
f3a0a4717433d32743f17d40adc30e11bea60868 Fix wrong START offset
6f078dca715473276556afb0b8582bb69efa7230 Typo for Implode string "Shannon-Fano Trees"
4e25fed1a8e29518fa38f0610a5ca33ca41e9d89 some small documentation updates.
1be04bf4bd5fb023ad276ecabdbc170823bac465 Add decoder for 'Open Packaging Growth Hint'
2da58735bdbd1149863014dd08a7cea0334f52d5 update compression method 16
82a9612676ae192747b8bcbf586b09408c3b72ce Add extra fields 0x20-0x23 from APPNOTE 6.3.5
bc5e2ffbc560b236bc3be0f977ce744f2a2afbfb remove trailing whitespace
3f70119190671b00eb432e36904aa9dbb2fb8f69 minor documentation changes

7 months agoUpdate Compress-Raw-Zlib to CPAN version 2.096
Todd Rinaldo [Tue, 15 Sep 2020 14:37:28 +0000 (09:37 -0500)]
Update Compress-Raw-Zlib to CPAN version 2.096

[DELTA]

2.096 31 July 2020

* No changes

2.095 19 July 2020

* No changes

2.094 13 July 2020

* Issue with Append mode & SvOOK
https://github.com/pmqs/Compress-Raw-Zlib/issues/3
80ee0524012f46c5984c2d57649af0b07f82c750

7 months agoUpdate Compress-Raw-Bzip2 to CPAN version 2.096
Todd Rinaldo [Tue, 15 Sep 2020 14:23:37 +0000 (09:23 -0500)]
Update Compress-Raw-Bzip2 to CPAN version 2.096

Address .gitignore issue with *.patch by making it /*.patch. This
seems to match the original intention of the ignore. This also
corrects a mainfest failure because bzip2-src now includes a .patch
file.

[DELTA]
2.096 31 July 2020

* No changes

2.095 19 July 2020

* No changes

2.094 13 July 2020

* Issue with Append mode & SvOOK
https://github.com/pmqs/Compress-Raw-Bzip2/issues/2
e6f1fa7d86a4c631b82b7c923a5def3e274925fa

7 months agoNon-Configure code required to implement a strict by default option
Todd Rinaldo [Sun, 13 Sep 2020 18:05:29 +0000 (13:05 -0500)]
Non-Configure code required to implement a strict by default option

7 months agoAdd the Configure option to enable strict by default in perl programs.
Todd Rinaldo [Sun, 13 Sep 2020 18:02:25 +0000 (13:02 -0500)]
Add the Configure option to enable strict by default in perl programs.

Do not set strict by default on -e or -E

This is a development only feature to allow us to clean up blead.

./Configure -Dusedevel -des -Dusedefaultstrict

7 months agoUpdate a couple of RT references in todo.pod
Hugo van der Sanden [Tue, 15 Sep 2020 14:26:51 +0000 (15:26 +0100)]
Update a couple of RT references in todo.pod