This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
perl5.git
8 months agoFile-Path: sync in CPAN version 2.17
James E Keenan [Sun, 26 Jul 2020 01:52:46 +0000 (21:52 -0400)]
File-Path: sync in CPAN version 2.17

8 months agowin32.c: rework the waitpid(-1, WNOHANG) fix
Tomasz Konojacki [Wed, 18 Mar 2020 02:17:52 +0000 (03:17 +0100)]
win32.c: rework the waitpid(-1, WNOHANG) fix

Oops! While 08e55ec5e3ef6d6c040c0dc8bdec7d59f76bfbe8 made
waitpid(-1, WNOHANG) not segfault, it introduced another problem:
when retry == 1, MsgWaitForMultipleObjects() will sometimes be
called with a very large timeout due to unsigned integer overflow.

This is *exactly* the same problem that the comment above the loop
warns about.

8 months agoFix typo when using nBIT_UMAX
Nicolas R [Wed, 22 Jul 2020 23:46:03 +0000 (17:46 -0600)]
Fix typo when using nBIT_UMAX

nBIT_MAX was used instead of nBIT_UMAX
from d223e1ea9ae864c0e563187f1e76 changes

note: at first glance it seems that
nBIT_UMAX is an alias for nBIT_MASK

8 months agoFixes typo from d223e1ea9ae864c0e563187f1e76240ef1acad87
Ryan Voots [Wed, 22 Jul 2020 19:56:16 +0000 (15:56 -0400)]
Fixes typo from d223e1ea9ae864c0e563187f1e76240ef1acad87

This breaks in malloc.c when configured using the Perl malloc implementation i.e. -Dusemymalloc

End result is this when linking:

    /usr/bin/ld: malloc.o: in function `Perl_mfree':
    malloc.c:(.text+0x98): undefined reference to `nBITMASK'
    /usr/bin/ld: malloc.c:(.text+0xb9): undefined reference to `nBITMASK'
    /usr/bin/ld: malloc.c:(.text+0xd3): undefined reference to `nBITMASK'
    /usr/bin/ld: malloc.c:(.text+0x138): undefined reference to `nBITMASK'
    /usr/bin/ld: malloc.o: in function `Perl_malloced_size':
    malloc.c:(.text+0x1fc): undefined reference to `nBITMASK'
    /usr/bin/ld: malloc.o:malloc.c:(.text+0x328): more undefined references to `nBITMASK' follow

8 months agoadd 'isa' operator to perlexperiment
reneeb [Wed, 22 Jul 2020 14:08:50 +0000 (16:08 +0200)]
add 'isa' operator to perlexperiment

8 months agowarnings: fix missed `$c` in previous commit
Dagfinn Ilmari Mannsåker [Tue, 21 Jul 2020 17:03:50 +0000 (18:03 +0100)]
warnings: fix missed `$c` in previous commit

Thanks @Grinnz for spotting.

8 months agowarnings: fix POD typo "you" → "your"
Dagfinn Ilmari Mannsåker [Tue, 21 Jul 2020 16:50:59 +0000 (17:50 +0100)]
warnings: fix POD typo "you" → "your"

8 months agowarnings: rename `$a` and `$b` lexical variables in docs and code
Dagfinn Ilmari Mannsåker [Tue, 21 Jul 2020 16:34:15 +0000 (17:34 +0100)]
warnings: rename `$a` and `$b` lexical variables in docs and code

These variables are special for `sort` and should not be used as
lexicals even in examples.  Use `$x` and `$y` instead.  Also rename
`@a` and `$c` for consistency in examples and meaningfulness in code.

8 months ago[MERGE] Remove Symbian support and PERL_GLOBAL_STRUCT
Dagfinn Ilmari Mannsåker [Tue, 21 Jul 2020 10:41:06 +0000 (11:41 +0100)]
[MERGE] Remove Symbian support and PERL_GLOBAL_STRUCT

Symbian never made it beyond being a toy port, and the platform is long obsolete.

This also lets us get rid of the `PERL_GLOBAL_STRUCT` compilation
option and its associated `dVAR`, which people kept forgetting to add
to functions that needed it, as well as `USE_HEAP_INSTEAD_OF_STACK`,
`SETSOCKOPT_OPTION_VALUE_T`, `PERLIO_STD_SPECIAL`, and the interpreter
variables `PL_appctx` and `PL_timesbase`

8 months agoPerldelta entry for PERL_GLOBAL_STRUCT removal 17941/head
Dagfinn Ilmari Mannsåker [Sun, 19 Jul 2020 21:46:07 +0000 (22:46 +0100)]
Perldelta entry for PERL_GLOBAL_STRUCT removal

8 months agoPerldelta entry for Symbian removal
Dagfinn Ilmari Mannsåker [Sun, 19 Jul 2020 21:21:31 +0000 (22:21 +0100)]
Perldelta entry for Symbian removal

8 months agoRemove PL_appctx and PL_timesbase interpreter variables
Dagfinn Ilmari Mannsåker [Sat, 18 Jul 2020 12:26:35 +0000 (13:26 +0100)]
Remove PL_appctx and PL_timesbase interpreter variables

These were only ever needed by Symbian.

8 months agoRemove code guarded by PERLIO_STD_SPECIAL
Dagfinn Ilmari Mannsåker [Sat, 18 Jul 2020 12:23:58 +0000 (13:23 +0100)]
Remove code guarded by PERLIO_STD_SPECIAL

The symbol was only defined on Symbian, and calling macros only
defined there.

8 months agoRemove use of dVAR in core
Dagfinn Ilmari Mannsåker [Fri, 20 Mar 2020 22:37:06 +0000 (22:37 +0000)]
Remove use of dVAR in core

It only does anything under PERL_GLOBAL_STRUCT, which is gone.
Keep the dNOOP defintion for CPAN back-compat

8 months agoRemove PERL_GLOBAL_STRUCT
Dagfinn Ilmari Mannsåker [Fri, 20 Mar 2020 21:15:43 +0000 (21:15 +0000)]
Remove PERL_GLOBAL_STRUCT

This was originally added for MinGW, which no longer needs it, and
only still used by Symbian, which is now removed.

This also leaves perlapi.[ch] empty, but we keep the header for CPAN
backwards compatibility.

8 months agoRemove Symbian port
Dagfinn Ilmari Mannsåker [Wed, 4 Mar 2020 00:28:00 +0000 (00:28 +0000)]
Remove Symbian port

Also eliminate USE_HEAP_INSTEAD_OF_STACK and
SETSOCKOPT_OPTION_VALUE_T, since Symbian was the only user of those.

8 months agoperldebguts: fix documentation for ${"_<$filename"}
Dagfinn Ilmari Mannsåker [Mon, 20 Jul 2020 21:58:34 +0000 (22:58 +0100)]
perldebguts: fix documentation for ${"_<$filename"}

The `gv_fetchfile()` functions has set the scalar slot to `$filename`
since it was added in 5.0 alpha 2 (commit
79072805bf63abe5b5978b5928ab00d360ea3e7f), but the documentation,
added in 5.003_11 (commit 36477c247f3c188fb8cc7e276c87b739d3e6ab7c)
erroneously claims the value is `_<$filename`.

In passing add C<> around second mention of `filename`.

8 months agoRemove the final remnants of 5005threads support
Dagfinn Ilmari Mannsåker [Sun, 19 Jul 2020 17:01:36 +0000 (18:01 +0100)]
Remove the final remnants of 5005threads support

Only THREAD_RET_TYPE is still used.

8 months agoEnsure stack is in consistent state while restoring SAVEt_HINTS
Paul "LeoNerd" Evans [Sat, 27 Jun 2020 15:09:49 +0000 (16:09 +0100)]
Ensure stack is in consistent state while restoring SAVEt_HINTS

SAVEt_HINTS has a non-constant savestack structure. If the
HINT_LOCALIZE_HH flag was set it pushes an additional pointer. In some
complex code scenarios it is possible reënter Perl code while destroying
nested PL_hintgv hashes (for example, if any stored objects contain
`free` magic). Because of this, it is important that we pop the extra
value from the save stack before any other code can be invoked, so if
they need to inspect or alter the save stack, they can do so in a
consistent manner.

See also

  https://github.com/Perl/perl5/issues/17895

8 months agoUse static asserts when comparing sizeof() to a constant
Dagfinn Ilmari Mannsåker [Mon, 6 Jul 2020 15:24:33 +0000 (16:24 +0100)]
Use static asserts when comparing sizeof() to a constant

8 months agoRemove accidentally-reintroduced WinCE workaround
Dagfinn Ilmari Mannsåker [Sat, 18 Jul 2020 23:22:13 +0000 (00:22 +0100)]
Remove accidentally-reintroduced WinCE workaround

This was removed when Windows CE was support was removed in commit
79c32fc2889bdbdf21cb378e1628a84867a3ffcc but was accidentally
reintroduced in d2c9cb5392e8c58c3bb1935fc3c098737224567c.

8 months agoUse UINTMAX_C() in nBIT_MASK() definition
Dagfinn Ilmari Mannsåker [Mon, 20 Jul 2020 10:36:51 +0000 (11:36 +0100)]
Use UINTMAX_C() in nBIT_MASK() definition

We already have a macro for constants of the largest available type,
use that instead of HAS_LONG_LONG, which is (erroneously?) not defined
under MSVC.

8 months agot/TEST: Unset PERL_UNICODE
Karl Williamson [Mon, 6 Apr 2020 17:52:02 +0000 (11:52 -0600)]
t/TEST: Unset PERL_UNICODE

This commit adds this environment variable to the list of the ones that
are generally unset during the test suite execution.  Tests shouldn't
have to consider, for example, if PERL5OPT has something set like -w,
and the same for PERL_UNICODE, as its being set causes all filehandles
to have :utf8 set by default.

This should fix test suite smoke faiures we are getting in IO::Socket

8 months agoB/Deparse.pm: White-space only
Karl Williamson [Fri, 10 Apr 2020 14:43:14 +0000 (08:43 -0600)]
B/Deparse.pm: White-space only

8 months agoB/Deparse.t: Add tests for UTF-8 tr///
Karl Williamson [Thu, 9 Apr 2020 16:32:03 +0000 (10:32 -0600)]
B/Deparse.t: Add tests for UTF-8 tr///

This has not previously been tested

8 months agoB/Deparse.pm: Rework deparsing of UTF-8 tr///
Karl Williamson [Thu, 9 Apr 2020 20:06:41 +0000 (14:06 -0600)]
B/Deparse.pm: Rework deparsing of UTF-8 tr///

This fixes a bunch of issues with deparsing of tr/// when the operands
require the inversion map implementation instead of the table one.

8 months agoB/Deparse.pm: Simplify fcn
Karl Williamson [Wed, 8 Apr 2020 02:54:53 +0000 (20:54 -0600)]
B/Deparse.pm: Simplify fcn

This function can be made more perlish and half as many lines

8 months agoB/Deparse.pm: combine 2 fcns into one
Karl Williamson [Wed, 8 Apr 2020 02:49:56 +0000 (20:49 -0600)]
B/Deparse.pm: combine 2 fcns into one

A single line addition to one function allows it to absorb all the
functionality of another.  Doing this keeps the deparsing results in
sync.

8 months agoB::Deparse.pm: Extract code into a function
Karl Williamson [Mon, 6 Apr 2020 23:41:08 +0000 (17:41 -0600)]
B::Deparse.pm: Extract code into a function

This debugging code may be needed in multiple places

8 months agoB/Deparse.pm: Use mnemonics
Karl Williamson [Mon, 6 Apr 2020 23:43:14 +0000 (17:43 -0600)]
B/Deparse.pm: Use mnemonics

8 months agoregen/op_private: Add comment
Karl Williamson [Sun, 5 Apr 2020 17:33:56 +0000 (11:33 -0600)]
regen/op_private: Add comment

8 months agodoop.c: Remove unnecessary cautiousness
Karl Williamson [Wed, 1 Apr 2020 14:12:33 +0000 (08:12 -0600)]
doop.c: Remove unnecessary cautiousness

The code this commit removes was used to make sure there was enough
space allocated.  It actually isn't necessary to be so cautious.  The
computed value, rounded up, is sufficient.

8 months agot/re/re_tests: Fix misspelling in comment
Karl Williamson [Thu, 11 Jun 2020 02:16:20 +0000 (20:16 -0600)]
t/re/re_tests: Fix misspelling in comment

8 months agoregexec.c: Fix comment
Karl Williamson [Sat, 6 Jun 2020 14:25:20 +0000 (08:25 -0600)]
regexec.c: Fix comment

8 months agoutf8.h: Add some branch predictions
Karl Williamson [Fri, 29 May 2020 19:35:52 +0000 (13:35 -0600)]
utf8.h: Add some branch predictions

It is likely that the data will be well-formed Unicode, and not one of
its special characters, like surrogates or non-characters, nor NUL.

8 months agoregcomp.c: Add some comments
Karl Williamson [Fri, 29 May 2020 20:48:35 +0000 (14:48 -0600)]
regcomp.c: Add some comments

8 months agohandy.h: Add comments
Karl Williamson [Sun, 31 May 2020 01:52:51 +0000 (19:52 -0600)]
handy.h: Add comments

8 months agoembed.fnc: reentr not public, so remove from perlapi
Karl Williamson [Wed, 11 Mar 2020 21:07:12 +0000 (15:07 -0600)]
embed.fnc: reentr not public, so remove from perlapi

8 months agoINSTALL: Update comment
Karl Williamson [Tue, 30 Jun 2020 20:37:10 +0000 (14:37 -0600)]
INSTALL: Update comment

8 months agoop/pack.t: Skip ASCII-centric test on EBCDIC
Karl Williamson [Tue, 30 Jun 2020 19:59:53 +0000 (13:59 -0600)]
op/pack.t: Skip ASCII-centric test on EBCDIC

8 months agoext/XS-APItest/t/utf8_warn_base.pl: Fix a couple tests
Karl Williamson [Tue, 30 Jun 2020 19:58:50 +0000 (13:58 -0600)]
ext/XS-APItest/t/utf8_warn_base.pl: Fix a couple tests

These had invalid values, which didn't show up execpt on EBCDIC

8 months agoext/XS-APItest/t/utf8_warn_base.pl: Fix comment misstatement
Karl Williamson [Tue, 30 Jun 2020 19:55:51 +0000 (13:55 -0600)]
ext/XS-APItest/t/utf8_warn_base.pl: Fix comment misstatement

8 months agoext/XS-APItest/t/hv_macro.t: Generalize for EBCDIC
Karl Williamson [Tue, 30 Jun 2020 19:52:59 +0000 (13:52 -0600)]
ext/XS-APItest/t/hv_macro.t: Generalize for EBCDIC

The expected values are based on the ASCII bit patterns; the same
letters, such as 'a' have different values on EBCDIC, so would generate
different results.  Convert the EBCDIC 'a' (and everything else) to the
ASCII pattern, and the calculation should then result in the same
results.

8 months agohandy.h: Create nBIT_UMAX() macro
Karl Williamson [Fri, 29 May 2020 20:38:36 +0000 (14:38 -0600)]
handy.h: Create nBIT_UMAX() macro

This encapsulates a common paradigm

8 months agohandy.h: Create nBIT_MASK(n) macro
Karl Williamson [Fri, 29 May 2020 20:25:19 +0000 (14:25 -0600)]
handy.h: Create nBIT_MASK(n) macro

This encapsulates a common paradigm, making sure that it is done
correctly for the platform's size.

8 months agohandy.h: Update comment
Karl Williamson [Tue, 30 Jun 2020 20:34:35 +0000 (14:34 -0600)]
handy.h: Update comment

8 months agot/porting/readme.t: TODO tests now passing on EBCDIC
Karl Williamson [Sun, 21 Jun 2020 17:57:55 +0000 (11:57 -0600)]
t/porting/readme.t: TODO tests now passing on EBCDIC

8 months agoop/infnan.t: Todo tests are now passing on EBCDIC
Karl Williamson [Sun, 21 Jun 2020 17:50:34 +0000 (11:50 -0600)]
op/infnan.t: Todo tests are now passing on EBCDIC

8 months agoFix uninitialized fold table for EBCDIC with no locales
Karl Williamson [Sun, 21 Jun 2020 17:54:04 +0000 (11:54 -0600)]
Fix uninitialized fold table for EBCDIC with no locales

The C locale table for EBCDIC platforms was not getting initialized at
compile time, but only not for EBCDIC platforms.  It normally gets
changed when a new locale is switched to, but if that doesn't happen, it
doesn't get initialized at all.  IBM on z/OS has not implemented locales
with threads, so on threaded perls, the table was never getting
initialized.

8 months agoregen/ebcdic.pl: Declare tables with correct size
Karl Williamson [Mon, 22 Jun 2020 14:09:14 +0000 (08:09 -0600)]
regen/ebcdic.pl: Declare tables with correct size

We know the size, might as well include it.

8 months agoregen/ebcdic.pl: Add locale-related ability
Karl Williamson [Mon, 22 Jun 2020 14:04:35 +0000 (08:04 -0600)]
regen/ebcdic.pl: Add locale-related ability

A locale-related table won't be const; that is the only difference from
other ones.

8 months agoregexec.c: Don't use sizeof()
Karl Williamson [Mon, 22 Jun 2020 14:15:51 +0000 (08:15 -0600)]
regexec.c: Don't use sizeof()

A future commit will change this array so that its size isn't known at
compilation time.

8 months agoRemove PL_freq
Karl Williamson [Sat, 20 Jun 2020 22:22:13 +0000 (16:22 -0600)]
Remove PL_freq

This hasn't actually been used since commit
8922e4382e9c1488fdbe46a0f52493860dc897a6.

8 months agoRemove EBCDIC PL_freq
Karl Williamson [Sat, 20 Jun 2020 22:15:49 +0000 (16:15 -0600)]
Remove EBCDIC PL_freq

Instead, do a translation of the ASCII one at runtime.  This is because
the table doesn't account for the various EBCDIC flavors, so isn't
actually accurate.

8 months agoperl.h: White-space only
Karl Williamson [Sat, 20 Jun 2020 17:02:20 +0000 (11:02 -0600)]
perl.h: White-space only

Properly indent some nested pre-processor lines

8 months agoext/File-Glob/t/basic.t: Check error returns
Karl Williamson [Fri, 29 May 2020 15:55:45 +0000 (09:55 -0600)]
ext/File-Glob/t/basic.t: Check error returns

This test was blindly assuming various system calls succeed.
Permissions problems, for one, could cause failures.

8 months agot/test.pl: Display an ESC control char as \e
Karl Williamson [Sat, 14 Dec 2019 20:46:51 +0000 (13:46 -0700)]
t/test.pl: Display an ESC control char as \e

8 months agot/loc_tools.pl: Don't test unsafe locales
Karl Williamson [Sun, 14 Jun 2020 14:10:35 +0000 (08:10 -0600)]
t/loc_tools.pl: Don't test unsafe locales

Under threads, locales may or may not be safe to use.  Skip the testing
of them when unsafe.

8 months agoAdd z/OS locale categories
Karl Williamson [Sat, 13 Jun 2020 20:28:50 +0000 (14:28 -0600)]
Add z/OS locale categories

z/OS has two locale categories, LC_SYNTAX and LC_TOD,  not found outside
IBM products.  This makes Perl know about them, so that a program can
refer to them, but like other similar categories found on other OS's,
nothing more is done with them.

8 months agoembed.fnc: Mark some internal functions as core
Karl Williamson [Fri, 17 Jul 2020 01:32:15 +0000 (19:32 -0600)]
embed.fnc: Mark some internal functions as core

These are documented in perlguts as for internal use, but they were
listed here as public API

8 months agoembed.fnc: utf8 foo_msgs fcns no longer experimental
Karl Williamson [Fri, 17 Jul 2020 01:17:49 +0000 (19:17 -0600)]
embed.fnc: utf8 foo_msgs fcns no longer experimental

I'm now comfortable that these functions that I wrote are stable, and so
don't need to be marked experimental

8 months agoembed.fnc: Add info to a comment
Karl Williamson [Fri, 17 Jul 2020 00:16:29 +0000 (18:16 -0600)]
embed.fnc: Add info to a comment

8 months agoembed.fnc: Fix typo in comment
Karl Williamson [Fri, 17 Jul 2020 00:15:41 +0000 (18:15 -0600)]
embed.fnc: Fix typo in comment

8 months agoembed.fnc: Reorder some comments
Karl Williamson [Fri, 17 Jul 2020 00:07:54 +0000 (18:07 -0600)]
embed.fnc: Reorder some comments

A block of text is moved to after something that is helpful to have read
first.

8 months agoMake SvTRUEx identical to SvTRUE
Karl Williamson [Sun, 14 Jun 2020 18:30:56 +0000 (12:30 -0600)]
Make SvTRUEx identical to SvTRUE

There is no longer any need for the 'x' version, as SvTRUE evaluates its
argument just once since 5.32.

8 months agoUpdate pod for SvTRUE, to indicate single param evaluation
Karl Williamson [Sun, 14 Jun 2020 18:26:02 +0000 (12:26 -0600)]
Update pod for SvTRUE, to indicate single param evaluation

5.32 changed this macro into an inline function so that 'sv' only gets
evaluated once, but didn't update the documentation to reflect that.

8 months agosv.h: Wanted UOK, but said IOK
Karl Williamson [Sun, 28 Jun 2020 18:03:54 +0000 (12:03 -0600)]
sv.h: Wanted UOK, but said IOK

I don't know the consequences of this bug

8 months agoMove restricted-use api items to perlintern
Karl Williamson [Thu, 18 Jun 2020 01:06:52 +0000 (19:06 -0600)]
Move restricted-use api items to perlintern

A few currently API items say they are not for general use.  So move
them to perlintern.

8 months agoMove api items to perlintern where macro should instead be used
Karl Williamson [Thu, 18 Jun 2020 00:54:06 +0000 (18:54 -0600)]
Move api items to perlintern where macro should instead be used

There are some items in perlapi whose entries say "don't use this;
instead use the macro equivalent".  Such items really shouldn't be in
perlapi, but instead be in perlintern.

8 months agosv.h: Change formal parameter name to reflect its usage
Karl Williamson [Sun, 14 Jun 2020 00:44:32 +0000 (18:44 -0600)]
sv.h: Change formal parameter name to reflect its usage

The formal parameter in these macros is 'lp', which elsewhere is used to
signifiy a pointer to length.  But instead here it isn't a pointer, but
the plain length

8 months agoMUTABLE_PTR() Rmv non-standard syntax
Karl Williamson [Mon, 29 Jun 2020 15:21:24 +0000 (09:21 -0600)]
MUTABLE_PTR() Rmv non-standard syntax

Variables in C are beginning with an underscore are reserved for use by
the C implementation.  Change this non-conformant usage.

8 months agoautodoc.pl: varargs fcns require full 'Perl_foo'
Karl Williamson [Fri, 17 Jul 2020 00:04:24 +0000 (18:04 -0600)]
autodoc.pl: varargs fcns require full 'Perl_foo'

Prior to this commit, perlapi indicated that you could say foo(...),
when in fact that doesn't work for these functions, which have to be
called as Perl_foo(aTHX_ ...)

8 months agoXS-APItest: Silence a compiler warning
Karl Williamson [Sat, 18 Jul 2020 03:18:37 +0000 (21:18 -0600)]
XS-APItest: Silence a compiler warning

This gives an unused variable warning on 32 bit platforms

8 months agotime64: declare `tm_zone` as `const char*` unconditionally
Dagfinn Ilmari Mannsåker [Tue, 16 Jun 2020 12:47:35 +0000 (13:47 +0100)]
time64: declare `tm_zone` as `const char*` unconditionally

We only ever assign from `struct tm` to `struct TM`, not the other way
around, so making this const regardless of what `struct tm` has should
be safe.

8 months agofix 5.32.0 release date; remove 5.31.x releases already complete, duplicate section
Karen Etheridge [Fri, 17 Jul 2020 22:01:03 +0000 (15:01 -0700)]
fix 5.32.0 release date; remove 5.31.x releases already complete, duplicate section

8 months agoRe-run Porting/makemeta
James E Keenan [Fri, 17 Jul 2020 22:02:16 +0000 (22:02 +0000)]
Re-run Porting/makemeta

When I was running 'make test_porting', I got a failure in porting/regen.t.

    $ cd t;./perl harness -v porting/regen.t; cd -

    ok 1 - generated perly.act is up to date
    ...
    ok - regen/feature.pl feature.h
    not ok - Porting/makemeta META.json
    'META.json-new' and 'META.json' differ
    ok - Porting/makemeta META.yml
    Failed 1/45 subtests

    Test Summary Report
    -------------------
    porting/regen.t (Wstat: 0 Tests: 45 Failed: 1)
      Failed test:  44

This was alleviated by re-running: ./perl -Ilib Porting/makemeta, which
brought the content of META.json up-to-date.

8 months agoMerge branch 'blead' of github.com:Perl/perl5 into blead
Sawyer X [Fri, 17 Jul 2020 21:54:57 +0000 (00:54 +0300)]
Merge branch 'blead' of github.com:Perl/perl5 into blead

8 months agodist/IO no indirect, strict & warnings
Nicolas R [Tue, 23 Jun 2020 22:57:14 +0000 (16:57 -0600)]
dist/IO no indirect, strict & warnings

Make sure dist/IO is not using indirect
calls.

8 months agoUpdate Socket from v2.029 to v2.030
Nicolas R [Tue, 7 Jul 2020 20:15:16 +0000 (14:15 -0600)]
Update Socket from v2.029 to v2.030

Match recent release on CPAN

8 months agoUpdate JSON-PP from 4.04 to 4.05
Nicolas R [Wed, 8 Jul 2020 21:57:58 +0000 (15:57 -0600)]
Update JSON-PP from 4.04 to 4.05

8 months agoUpdate IPC-SysV from 2.07 to 2.08
Nicolas R [Tue, 7 Jul 2020 20:24:45 +0000 (14:24 -0600)]
Update IPC-SysV from 2.07 to 2.08

8 months agoBump the perl version in various places for 5.33.1
Sawyer X [Fri, 17 Jul 2020 21:32:05 +0000 (00:32 +0300)]
Bump the perl version in various places for 5.33.1

8 months agonew perldelta for 5.33.1
Karen Etheridge [Fri, 17 Jul 2020 20:41:18 +0000 (13:41 -0700)]
new perldelta for 5.33.1

8 months agocorrupt.t: Correct spelling error
James E Keenan [Fri, 17 Jul 2020 20:36:14 +0000 (20:36 +0000)]
corrupt.t: Correct spelling error

Discovered when file was run with warnings as part of Perl 7 research.

For: https://github.com/Perl/perl5/issues/17970

8 months agoTime-HiRes: Use core version compare
Karl Williamson [Fri, 17 Jul 2020 20:29:31 +0000 (14:29 -0600)]
Time-HiRes: Use core version compare

This had its own copy of some macros that are now in core.

8 months agoBump the perl version in various paces for 5.33.1
Sawyer X [Fri, 17 Jul 2020 20:25:16 +0000 (23:25 +0300)]
Bump the perl version in various paces for 5.33.1

8 months agoHTTP::Tiny needs two modules for https support
James E Keenan [Thu, 9 Apr 2020 20:26:07 +0000 (20:26 +0000)]
HTTP::Tiny needs two modules for https support

When running sync-with-cpan on a machine for the first time, internal
subroutine wget() was silently failing.  After adding debugging code and
running through the debugger, the HTTP::Tiny mirror() method call
displayed this error message:

  IO::Socket::SSL 1.42 must be installed for https support
  Net::SSLeay 1.49 must be installed for https support

8 months agoDumpvalue.t: Tighten scope of package variables.
James E Keenan [Sun, 5 Jul 2020 21:51:29 +0000 (17:51 -0400)]
Dumpvalue.t:  Tighten scope of package variables.

Rename some variables for clarity.

In one place, get() is returning a list, so we should test for contents of
list (via Test::More::is_deeply) rather than for string equality.

Signed-off-by: James E Keenan <jkeenan@cpan.org>
8 months agogroups.t: Correct one syntax error which was warning
James E Keenan [Fri, 3 Jul 2020 14:32:25 +0000 (10:32 -0400)]
groups.t:  Correct one syntax error which was warning

When run with warnings, this file would get:

        Scalar value @sup_group[2] better written as $sup_group[2]

Using '@' rather than '$' was probably unintentional.  Let's fix it.

8 months agoAdd PERL_VERSION_GE macro, and kin
Karl Williamson [Wed, 15 Jul 2020 21:11:47 +0000 (15:11 -0600)]
Add PERL_VERSION_GE macro, and kin

This moves things from vutil.h, and into handy.h; this is required for
v7

8 months agonew perldelta for 5.33.1
Sawyer X [Fri, 17 Jul 2020 19:57:34 +0000 (22:57 +0300)]
new perldelta for 5.33.1

8 months agoUpdate release schedules, as muchas I can
Sawyer X [Fri, 17 Jul 2020 19:52:45 +0000 (22:52 +0300)]
Update release schedules, as muchas I can

8 months agoUpdate index() documentation with some code examples
Scott Baker [Tue, 30 Jun 2020 18:08:03 +0000 (11:08 -0700)]
Update index() documentation with some code examples

8 months agoAdd Scott Baker to AUTHORS
Karl Williamson [Fri, 17 Jul 2020 19:42:09 +0000 (13:42 -0600)]
Add Scott Baker to AUTHORS

8 months agoupdate epigraph
Sawyer X [Fri, 17 Jul 2020 19:44:08 +0000 (22:44 +0300)]
update epigraph

8 months agosmall version number orrection v5.33.0
Sawyer X [Fri, 17 Jul 2020 19:27:02 +0000 (22:27 +0300)]
small version number orrection

8 months agoadd new release to perlhist
Sawyer X [Fri, 17 Jul 2020 10:35:25 +0000 (13:35 +0300)]
add new release to perlhist

8 months agoUpdate perldelta for 5.33.0
Sawyer X [Fri, 17 Jul 2020 10:34:37 +0000 (13:34 +0300)]
Update perldelta for 5.33.0

8 months agoUpdate Module::CoreList for 5.33.0
Sawyer X [Fri, 17 Jul 2020 10:12:05 +0000 (13:12 +0300)]
Update Module::CoreList for 5.33.0

9 months agohv.c: Remove obsolete/confusing constant 17291/head
Eric Herman [Fri, 10 Jul 2020 07:07:42 +0000 (09:07 +0200)]
hv.c: Remove obsolete/confusing constant

The HV_FILL_THRESHOLD is no longer used and is misleading.

See also:
commit 8bf4c4010cc474d4000c2a8c78f6890fa5f1e577
Date:   Mon Jun 20 22:51:38 2016 +0200
Change scalar(%hash) to be the same as 0+keys(%hash)