This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Tom Hukins [Fri, 20 Nov 2020 16:59:27 +0000 (16:59 +0000)]
Bump version to 5.33.5
Tom Hukins [Fri, 20 Nov 2020 16:44:11 +0000 (16:44 +0000)]
Create new perldelta for 5.33.5
Tom Hukins [Fri, 20 Nov 2020 15:06:12 +0000 (15:06 +0000)]
Post-release tasks for 5.33.4
Tom Hukins [Fri, 20 Nov 2020 11:55:35 +0000 (11:55 +0000)]
5.33.4 today
Tom Hukins [Fri, 20 Nov 2020 11:40:59 +0000 (11:40 +0000)]
Finalise perldelta for 5.33.4
Tom Hukins [Fri, 20 Nov 2020 11:17:53 +0000 (11:17 +0000)]
Update Module::CoreList for 5.33.4
Karl Williamson [Fri, 20 Nov 2020 03:27:48 +0000 (20:27 -0700)]
perldelta: Note ongoing perlapi work
Chris 'BinGOs' Williams [Thu, 19 Nov 2020 20:19:17 +0000 (20:19 +0000)]
Update ExtUtils-MakeMaker to CPAN version 7.56
[DELTA]
7.56 Thu 19 Nov 19:57:05 GMT 2020
No changes since v7.55_01
7.55_01 Wed 18 Nov 18:23:19 GMT 2020
Bug fixes:
- RT#133762 Explicitly print to STDOUT in EUMM.pm
Tom Hukins [Thu, 19 Nov 2020 13:38:29 +0000 (13:38 +0000)]
perldelta: the FAQ was updated in
09e51a95
Tony Cook [Wed, 18 Nov 2020 23:50:16 +0000 (10:50 +1100)]
perldelta updates
Karl Williamson [Fri, 13 Nov 2020 04:58:19 +0000 (21:58 -0700)]
Make API some C99 typedef work-arounds
I added these some releases ago, but kept them private. No untoward
things have happened, so I'm now making them API.
Karl Williamson [Thu, 12 Nov 2020 21:40:19 +0000 (14:40 -0700)]
re/fold_grind.pl: Test a couple more code points
These add tests for checking that the revised folding in a future commit
works in some edge cases that previously weren't an issue.
Tom Hukins [Wed, 18 Nov 2020 15:40:23 +0000 (15:40 +0000)]
Update Pod-Simple to CPAN version 3.42
Karl Williamson [Wed, 22 Jul 2020 11:56:01 +0000 (05:56 -0600)]
embed.fnc: Mark 3 sighandler fcns as Core only
These appear to be for internal use, with no cpan usage found
Karl Williamson [Sat, 17 Oct 2020 21:45:58 +0000 (15:45 -0600)]
perlapi: Document memzero
Karl Williamson [Thu, 23 Jul 2020 15:24:06 +0000 (09:24 -0600)]
Remove PERLIO_FUNCS_CONST
As the comment said, this was temporary until vtables got to be all
const
Karl Williamson [Wed, 18 Nov 2020 02:15:06 +0000 (19:15 -0700)]
Move regcurly to regcomp.c (from inline.h)
This function is called only at compile time; experience has shown that
compile-time operations are not time-critical. And future commits will
lengthen it, making it not practically inlinable anyway.
Karl Williamson [Sun, 6 Sep 2020 03:31:27 +0000 (21:31 -0600)]
perlapi: Consolidate sv_catsv-ish entries
Karl Williamson [Sun, 6 Sep 2020 03:23:15 +0000 (21:23 -0600)]
perlapi: Consolidate sv_catpvn-ish entries
Nicolas R [Tue, 17 Nov 2020 19:20:07 +0000 (12:20 -0700)]
Limit the number of lines in IRC notification
Nicolas R [Thu, 15 Oct 2020 17:32:33 +0000 (11:32 -0600)]
irc-notifications: use GITHUB_ENV
GH #18329
::set-env is deprecated use GITHUB_ENV instead
Tom Hukins [Tue, 17 Nov 2020 09:59:22 +0000 (09:59 +0000)]
I will release Perl 5.33.4 on Friday
Karl Williamson [Mon, 16 Nov 2020 16:11:21 +0000 (09:11 -0700)]
pat_advanced.t: Simplify a test
I made this test to look as much as possible as the original report.
Hugo van der Sanden pointed out that the encodes and decode together
were essentially a no-op; so this commit removes them.
Karl Williamson [Mon, 16 Nov 2020 15:52:59 +0000 (08:52 -0700)]
loc_tools.pl: Simplify an expression
Suggested by Graham Knop
Richard Leach [Tue, 20 Oct 2020 17:16:38 +0000 (18:16 +0100)]
pp_split: add TonyC's stack-not-refcounted-suggestion and tests
Richard Leach [Sun, 11 Oct 2020 11:26:27 +0000 (12:26 +0100)]
pp_split: no SWITCHSTACK in @ary = split(...) optimisation
Tony Cook [Sun, 15 Nov 2020 22:43:36 +0000 (09:43 +1100)]
Giovanni Tataranni is now a perl author
Giovanni Tataranni [Fri, 6 Nov 2020 13:25:21 +0000 (14:25 +0100)]
fix typo in pod/perlfunc.pod
Karl Williamson [Sun, 15 Nov 2020 19:54:51 +0000 (12:54 -0700)]
Revert "op.h: Restrict scope of multiconcat symbols to core"
This reverts commit
a5d5855671af6956a8d1a13e419457afdffeb416.
It turns out that CPAN modules are using these values; whether
they should be using them or not, I don't know.
Karl Williamson [Sat, 7 Nov 2020 20:13:49 +0000 (13:13 -0700)]
embed.fnc: Add detail to u flag description
Karl Williamson [Sat, 7 Nov 2020 19:14:42 +0000 (12:14 -0700)]
perlop: Note tr/// delimiters may be any printables
Karl Williamson [Sat, 7 Nov 2020 21:44:29 +0000 (14:44 -0700)]
perlapi: Fix up some MRO documentation
mro_get_private_data() is core only; instead the public is supposed to
use MRO_GET_PRIVATE_DATA(), which we now indicate is documented in
perlmroapi, as well as HvMROMETA()
Chris 'BinGOs' Williams [Sat, 14 Nov 2020 10:11:54 +0000 (10:11 +0000)]
Update Net-Ping to CPAN version 2.74
[DELTA]
2.74 2020-09-09 09:21:39 rurban
Features
- Add ICMPv6_NI_REPLY support.
Bugfixes
- Fix icmp payload offset to match icmpv6 (JimC Leones GH #21)
Skip the 20 byte header to reliably find the various return types.
This unifies icmpv6 with icmp better.
- Fix $SOCKET::VERSION eval (Petr Pavlu, PR #22)
META Changes
- Fix and improve the META repository as hashref, license as arrayref
(Tom Hukins, PR #19)
- add TEST_REQUIRES
- sort MANIFEST
- add windows smokers: appveyor
Test fixes
- Improve the tcp test to localhost, when there is no route to localhost
(freebsd mostly)
- TODO a flaky 450_service.t on 127.0.0.1 on port 2 on Windows (analog to freebsd, ...)
(Christian Walde, PR #20)
- Skip 501_ping_icmpv6.t when icmpv6 cannot be initialized. Mostly due to missing
icmpv6 support. (GH #15)
- add more xt tests: t/602_kwalitee.t, t/603_meta.t, t/604_manifest.t
Chris 'BinGOs' Williams [Sat, 14 Nov 2020 10:02:19 +0000 (10:02 +0000)]
Update Test-Simple to CPAN version 1.302183
[DELTA]
1.302183 2020-10-21 20:10:36-07:00 America/Los_Angeles
- avoid closing over scalar in BEGIN block in cmp_ok eval
Chris 'BinGOs' Williams [Sat, 14 Nov 2020 10:00:51 +0000 (10:00 +0000)]
Update File-Fetch to CPAN version 1.00
[DELTA]
1.00 Wed Nov 11 12:49:58 2020
* Fixed the mitigations for CVE-2016-1238
* Mentioned https support in CHANGES file
Chris 'BinGOs' Williams [Sat, 14 Nov 2020 09:59:47 +0000 (09:59 +0000)]
Update ExtUtils-CBuilder to CPAN version 0.280235
[DELTA]
0.280235 - 2020-11-01
Fix:
- Fix compilation on darwin with XCode 12 (-Werror=implicit-function-declaration)
Thanks to DrHyde for the patch.
Chris 'BinGOs' Williams [Sat, 14 Nov 2020 09:40:45 +0000 (09:40 +0000)]
PPPort version on CPAN is 3.62
Marcus Holland-Moritz [Fri, 13 Nov 2020 20:12:06 +0000 (20:12 +0000)]
IPC-SysV: Synch with CPAN release 2.09
From Changes:
* Fix GitHub #8: Comparison between signed and unsigned integer
* Merge PR #9: Fix compile warnings with -Wsign-compare
* Merge PR #11: Avoid indirect call syntax
Committer: Additional email address for contributor to keep porting
tests happy
Karl Williamson [Sat, 17 Oct 2020 15:20:52 +0000 (09:20 -0600)]
op.h: Restrict scope of multiconcat symbols to core
These are internal only
Karl Williamson [Sat, 7 Nov 2020 18:11:09 +0000 (11:11 -0700)]
perlop: Enhance a tr/// example
This more clearly demonstrates that the /s option squeezes based on
the result rather than the source
James E Keenan [Fri, 13 Nov 2020 12:25:24 +0000 (07:25 -0500)]
pod/perlfunc.pod: Correct one typo
For: https://github.com/Perl/perl5/issues/18315; thanks to valtkus.
Chris 'BinGOs' Williams [Thu, 12 Nov 2020 19:55:04 +0000 (19:55 +0000)]
Update ExtUtils-MakeMaker to CPAN version 7.54
[DELTA]
7.54 Thu 12 Nov 19:23:18 GMT 2020
No changes since v7.53_01
7.53_01 Tue 10 Nov 03:34:42 GMT 2020
Regression fixes:
- Fixed Darwin cflags override
Meta fixes:
- Updated URLs to use https
Tony Cook [Tue, 10 Nov 2020 04:50:27 +0000 (15:50 +1100)]
fetch magic on the first stacked filetest, not the last
fixes #18293
Karl Williamson [Sat, 17 Oct 2020 18:51:44 +0000 (12:51 -0600)]
Document PERL_SI
Karl Williamson [Sat, 29 Aug 2020 17:00:28 +0000 (11:00 -0600)]
Document TARG, dTARGET
Karl Williamson [Mon, 2 Nov 2020 04:40:54 +0000 (21:40 -0700)]
perlapi: Document Perlacos and similar
Karl Williamson [Sat, 7 Nov 2020 22:18:09 +0000 (15:18 -0700)]
Fix defns of e.g. U8_MAX/MIN
Actually trying to compile these with Devel::PPPort revealed that there
were combinations of the conditionals which led to some of the symbols
not getting defined.
Karl Williamson [Sun, 6 Sep 2020 03:20:30 +0000 (21:20 -0600)]
perlapi: Consolidate sv_setpv-ish entries
Karl Williamson [Sun, 6 Sep 2020 03:19:30 +0000 (21:19 -0600)]
perlapi: Consolidate sv_setpvn-ish entries
Nicolas R [Tue, 3 Nov 2020 22:28:04 +0000 (15:28 -0700)]
Add a few helpers to B for INVLIST
This commit provide some basic method
to access to internal fields from one
INVLIST: SVt_INVLIST
- prev_index
- is_offset
- array_len
- get_invlist_array
This allows B::C to be walk and save invlists.
TAKAI Kousuke [Thu, 5 Nov 2020 13:06:16 +0000 (22:06 +0900)]
t/op/inc.t, t/op/hexfp.t, t/op/sprintf2.t: Add missing d_ prefixes for Config variable names.
Karl Williamson [Sun, 6 Sep 2020 03:18:19 +0000 (21:18 -0600)]
perlapi: Consolidate sv_setsv-ish entries
Karl Williamson [Thu, 8 Oct 2020 20:36:33 +0000 (14:36 -0600)]
sv.c: Change some formal param names for clarity, consistency
The names previously indicated some things were strings that weren't
necessarily so. Some nearly identical functions had varying parameter
names.
Karl Williamson [Thu, 8 Oct 2020 20:37:51 +0000 (14:37 -0600)]
sv.c: Rmv trailing blanks
This will make later commits easier to do.
Karl Williamson [Sat, 17 Oct 2020 13:43:31 +0000 (07:43 -0600)]
utf8.c: Note various symbols are documented here
Karen Etheridge [Sat, 7 Nov 2020 21:04:53 +0000 (13:04 -0800)]
Update perlfaq to CPAN version 5.
20200523
[DELTA]
5.
20201107 2020-11-07 21:02:39Z
* typo fix (PR#90, Samanta Navarro)
* fix learn.perl.org link, which now directs to perldoc.perl.org (PR#91, Dan
Book)
* modern updates to "How do I efficiently match many regular expressions"
(PR#92, Dan Book)
Karl Williamson [Sat, 7 Nov 2020 15:00:30 +0000 (08:00 -0700)]
perlapi/perlintern: Better sort the SEE ALSO scn
Karl Williamson [Fri, 6 Nov 2020 16:00:44 +0000 (09:00 -0700)]
perl.h: Fix misplaced #ifdef
This fixes GH #18295
The #ifdef introduced in 6bcc290 was meant to go after the line that it
actually did
Nicolas R [Thu, 5 Nov 2020 16:30:34 +0000 (10:30 -0600)]
Fix unitialized warnings in S_pmtrans
Karl Williamson [Fri, 6 Nov 2020 01:04:06 +0000 (18:04 -0700)]
perlapi: PL_runops is documented in perlguts
Karl Williamson [Fri, 6 Nov 2020 00:39:40 +0000 (17:39 -0700)]
perlapi: Split section Display and Dump
into Debugging and Display sections
Karl Williamson [Fri, 6 Nov 2020 15:21:32 +0000 (08:21 -0700)]
autodoc.pl: A hash needs to have no keys to be empty
Karl Williamson [Wed, 4 Nov 2020 16:37:34 +0000 (09:37 -0700)]
autodoc.pl: Specify scn for single-purpose files
Many of the files in perl are for one thing only, and hence their
embedded documentation will be for that one thing. By creating a hash
here of them, those files don't have to worry about what section that
documentation goes under, and so it can be completely changed without
affecting them.
Karl Williamson [Fri, 6 Nov 2020 14:12:28 +0000 (07:12 -0700)]
Revert and fix "autodoc.pl: Don't recalculate value"
This reverts commit
0213d97dcda976f02ce257031d969e7964ecc545, and fixes
it up.
That commit failed to account for that there were extra components
needed in the calculation
Karl Williamson [Fri, 6 Nov 2020 01:20:20 +0000 (18:20 -0700)]
perlapi: PERL_ABS takes an argument
Karl Williamson [Wed, 4 Nov 2020 13:13:30 +0000 (06:13 -0700)]
autodoc.pl: Enhance apidoc_section feature
This feature allows documentation destined for perlapi or perlintern to
be split into sections of related functions, no matter where the
documentation source is. Prior to this commit the line had to contain
the exact text of the title of the section. Now it can be a $variable
name that autodoc.pl expands to the title. It still has to be an exact
match for the variable in autodoc, but now, the expanded text can be
changed in autodoc alone, without other files needing to be updated at
the same time.
Karl Williamson [Wed, 4 Nov 2020 15:48:51 +0000 (08:48 -0700)]
perlapi: Add a link at the beginning to the Undocumenteds
Karl Williamson [Wed, 4 Nov 2020 14:54:55 +0000 (07:54 -0700)]
autodoc.pl: Rename a few variables for consistency
Karl Williamson [Wed, 4 Nov 2020 11:51:39 +0000 (04:51 -0700)]
autodoc.pl: Extract code into a fcn
This is in preparation for it to be called from a 2nd place
Karl Williamson [Wed, 4 Nov 2020 11:46:18 +0000 (04:46 -0700)]
autodoc.pl: Don't recalculate value
e4f5ddf407394c177acefd200a338654dccca2e4 moved this calculation, but I
forgot to remove this portion of it.
Karl Williamson [Wed, 4 Nov 2020 11:40:53 +0000 (04:40 -0700)]
autodoc.pl: White-space, comments only
Karl Williamson [Fri, 6 Nov 2020 03:39:26 +0000 (20:39 -0700)]
perlguts: SAVEBOOL takes a bool
Karl Williamson [Fri, 6 Nov 2020 01:31:24 +0000 (18:31 -0700)]
perlinterp: Fix markup
FOO is allegoric, not literal
Karl Williamson [Wed, 4 Nov 2020 11:33:15 +0000 (04:33 -0700)]
perlapi: Move some formats to the Formatting scn
These were going into wrong ones.
James E Keenan [Thu, 5 Nov 2020 19:47:37 +0000 (14:47 -0500)]
File::Path: synch with CPAN version 2.18
No change in functionality; change in tests only.
Tony Cook [Tue, 27 Oct 2020 15:36:46 +0000 (15:36 +0000)]
dragonfly BSD sets errno incorrectly for terminal control functions
Tony Cook [Mon, 26 Oct 2020 16:51:52 +0000 (16:51 +0000)]
dragonfly doesn't touch ctime as documented, at least on hammer2
This is a TODO so we find out if it's fixed
Tony Cook [Mon, 26 Oct 2020 16:50:44 +0000 (16:50 +0000)]
document the issues for the enoent problem on dragonfly
Tony Cook [Mon, 26 Oct 2020 16:44:59 +0000 (16:44 +0000)]
dragonfly bsd timestamps are only microsecond precision
based on testing
Tony Cook [Mon, 26 Oct 2020 16:44:14 +0000 (16:44 +0000)]
dragonfly BSD's default filesystem is mounted noatime by default
Nicolas R [Thu, 27 Aug 2020 17:40:51 +0000 (12:40 -0500)]
Catch errors earlier in Devel-Peek/t/Peek.t
When testing Devel-Peek we can run some tests
inside an eval and do not bother to check if it
succeeds or not.
As STDERR is redirected to a file, we do not even
notice the error message when an error occurs.
This commit postpones the redirection of STDERR
and 'die' if the eval quoted string from `do_test` fails.
Chris 'BinGOs' Williams [Wed, 4 Nov 2020 20:34:01 +0000 (20:34 +0000)]
Update ExtUtils-MakeMaker to CPAN version 7.52
[DELTA]
7.52 Wed 4 Nov 19:49:43 GMT 2020
No changes since v7.51_01
7.51_01 Wed 4 Nov 00:01:41 GMT 2020
Test fixes:
- prevent MM_Win32::init_tools() warning in core
7.50 Wed 21 Oct 17:33:53 BST 2020
No changes since v7.49_04
7.49_04 Tue 13 Oct 18:42:05 BST 2020
Win32 fixes:
- make can_dep_space check for short path support
Macosx fixes:
- Handle XCode 12's implicit adding of Werror=implicit-function-declaration
7.49_03 Fri 9 Oct 21:30:57 BST 2020
Regression fixes:
- disable strict when evaling hints files
Bug fixes:
- clean up and improve MIN_PERL_VERSION handling
7.49_02 Thu 8 Oct 08:35:05 BST 2020
Bug fixes:
- Change wording of MIN_PERL_VERSION format message to clarify
fatally
Doc fixes:
- Fixed some typos
7.49_01 Tue 6 Oct 18:01:38 BST 2020
Regression fixes:
- fix PERL_CORE warnings from ExtUtils::CBuilder
Tony Cook [Mon, 19 Oct 2020 04:57:37 +0000 (15:57 +1100)]
\K in lookaround might become permitted in the future
It was disallowed because:
- it was breaking things (GH #14638)
- at the time, no-one had the tuits and knowledge to select non-buggy
semantics and implement them.
Tony Cook [Mon, 19 Oct 2020 04:04:28 +0000 (15:04 +1100)]
some extra tests as suggested by hvds
Tony Cook [Mon, 14 Sep 2020 06:00:28 +0000 (16:00 +1000)]
don't croak when the \K follows the lookaround assertion
this also simplifies the flagging for these assertions, since this
error is now the only thing using in_lookhead and in_lookbehind they
can be combined into a single in_lookaround.
Rather than conditional increment/decrement as we recurse into S_reg
I simply save the value of in_lookaround and restore it before
returning. Some unsuccessful or restart paths don't do the restore,
but they either result in a croak(), or a restart which reinitialises
in_lookaround anyway.
Also added tests to ensure that all the different zero-width assertions
with content trigger the error.
Tony Cook [Mon, 14 Sep 2020 05:51:05 +0000 (15:51 +1000)]
run_multiple_progs: allow the EXPECT to contain only OPTIONS
Tony Cook [Mon, 14 Sep 2020 05:49:40 +0000 (15:49 +1000)]
run_multiple_progs: allow fatal to be turned off too
in some cases we want to group a test that shouldn't croak with the
croak tests, in particular to catch regressions when we've
introduced a croak.
Scott Baker [Tue, 11 Aug 2020 16:24:18 +0000 (09:24 -0700)]
Bump the version
Scott Baker [Tue, 11 Aug 2020 16:24:13 +0000 (09:24 -0700)]
Fix a failing test
Scott Baker [Tue, 11 Aug 2020 15:01:41 +0000 (08:01 -0700)]
Fix some tests for Pod2HTML
Scott Baker [Mon, 3 Aug 2020 23:34:40 +0000 (16:34 -0700)]
Leave tabstops at 8
Scott Baker [Mon, 3 Aug 2020 23:39:00 +0000 (16:39 -0700)]
Use Text::Tabs to convert tabs to spaces instead
Scott Baker [Mon, 3 Aug 2020 21:25:00 +0000 (14:25 -0700)]
Change wording on source of code
Scott Baker [Mon, 3 Aug 2020 20:08:33 +0000 (13:08 -0700)]
Make pod2html remove whitespace from literal blocks
This brings pod2html functionality similar to how Metacpan handles
whitespace
Richard Leach [Mon, 2 Nov 2020 22:52:19 +0000 (22:52 +0000)]
av_make: remove unnecessary AvFILLp assignment
av_make sets `AvFILLp(av)= -1;`, but will already have been set by `newAV()`,
via `newSV_type`'s call to `sv_upgrade`.
This PR also includes the minor cosmetic change of swapping in `newAV()`
in place of its expansion, seemingly the only occurrence of that in core.
Tony Cook [Tue, 3 Nov 2020 22:21:37 +0000 (09:21 +1100)]
ext/POSIX/t/sysconf.t: only unlink the fifo if we have a name for it
This warned on Win32 since the whole test file is skipped due
to the lack of anything sysconf() to test.
Tony Cook [Tue, 3 Nov 2020 22:10:43 +0000 (09:10 +1100)]
ext/POSIX/t/posix.t:
0ee0b3d1 added 'use warnings', fix the warnings
locales_enabled() accepts either an optional category name, or an
arrayref of category names, and is prototyped to accept a scalar, so
the qw() was evaluated in scalar context, ignoring the "NUMERIC" and
producing a warning.
The POSIX::pipe() test is testing the POSIX::pipe() function, not
globs, so just use lexical handles.
These warnings came up while cleaning up noise in the Win32 build, but
the warnings occur on Linux too.
Useless use of a constant ("NUMERIC") in void context at t/posix.t line 358.
Name "main::WRITER" used only once: possible typo at t/posix.t line 78.
Name "main::READER" used only once: possible typo at t/posix.t line 77.
Tony Cook [Tue, 3 Nov 2020 04:37:33 +0000 (15:37 +1100)]
run/locale.t: don't setlocale() for our English locale if there isn't one
This was producing noise on Win32 builds:
Use of uninitialized value in subroutine entry at run/locale.t line 519.
Dan Book [Fri, 11 Aug 2017 19:37:14 +0000 (15:37 -0400)]
add versions to POSIX features
Dan Book [Tue, 3 Nov 2020 06:54:22 +0000 (01:54 -0500)]
perldata - example of using DATA