This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
perl5.git
2 years agoCurrent ppport.h forcibly overrides older buggy versions of utf8_to_uvchr_buf
Nicholas Clark [Fri, 14 May 2021 11:09:56 +0000 (11:09 +0000)]
Current ppport.h forcibly overrides older buggy versions of utf8_to_uvchr_buf

Hence we need to set NEED_utf8_to_uvchr_buf else we don't get *any*
utf8_to_uvchr_buf. Oops. :-)

2 years agoppport.h's utf8_to_uvchr_buf implementation misses a NULL check in one place.
Nicholas Clark [Fri, 14 May 2021 11:09:01 +0000 (11:09 +0000)]
ppport.h's utf8_to_uvchr_buf implementation misses a NULL check in one place.

2 years agoUpdate Scalar-List-Utils to 1.56
Max Maischein [Sat, 22 May 2021 08:21:26 +0000 (10:21 +0200)]
Update Scalar-List-Utils to 1.56

3 years agorelease schedule: schedule a few months out
Ricardo Signes [Fri, 21 May 2021 22:27:22 +0000 (18:27 -0400)]
release schedule: schedule a few months out

3 years agoFix typo
Dave Cross [Fri, 21 May 2021 15:39:47 +0000 (16:39 +0100)]
Fix typo

3 years agoPerlsphere has been replaced by Planet Perl. Perl Weekly is now on https
Dave Cross [Fri, 21 May 2021 15:09:05 +0000 (16:09 +0100)]
Perlsphere has been replaced by Planet Perl. Perl Weekly is now on https

3 years agoAll gravy
Chris 'BinGOs' Williams [Fri, 21 May 2021 08:56:56 +0000 (09:56 +0100)]
All gravy

3 years agoIO: add a test for sync()
Tomasz Konojacki [Mon, 5 Apr 2021 13:44:54 +0000 (15:44 +0200)]
IO: add a test for sync()

We already had a test which called sync(), but the new test exercises a
much more common scenario.

3 years agoIO: implement sync() for win32
Tomasz Konojacki [Mon, 5 Apr 2021 13:39:25 +0000 (15:39 +0200)]
IO: implement sync() for win32

3 years agoincorporate review feedback
Felipe Gasper [Wed, 13 Jan 2021 01:19:55 +0000 (20:19 -0500)]
incorporate review feedback

3 years agoGive SV information in default typemap
Felipe Gasper [Fri, 8 Jan 2021 16:25:14 +0000 (11:25 -0500)]
Give SV information in default typemap

Issue #18461

3 years agoMoved 2 vars in perlvar to deprecated section
Михаил Козачков [Wed, 14 Apr 2021 00:13:09 +0000 (03:13 +0300)]
Moved 2 vars in perlvar to deprecated section

3 years agoAdd a regex test for changes in 1d8aafa
E. Choroba [Wed, 28 Apr 2021 16:42:54 +0000 (18:42 +0200)]
Add a regex test for changes in 1d8aafa

In https://groups.google.com/u/1/g/google-code/c/bn4X3d-89to, Neil
Agarwal wrote:

---

Could someone please explain to me the output of the following Perl
code in Code Jam's test run mode? The system gives "BCD" instead of
"ABCD", and I have not been able to reproduce this behavior anywhere
else.

$S1 = "1((((((7(9))))))";
$S2 = "1((((((7(9)))))";

print "A" if $S1 =~ /[89]+/;
print "B" if $S1 =~ /[9]+/;
print "C" if $S2 =~ /[89]+/;
print "D" if $S2 =~ /[9]+/;

---

I tried to bisect the problem and discovered the wrong behaviour was
introduced in 2813d4adc971fbaa124b5322d4bccaa73e9df8e2 and fixed in
1d8aafa0548097ffe407cad078f79b4d56fd7dca, which means all 5.28.* had
this problem. Google Code Jam used 5.28.1 in the 2021 contest.

This commit adds the original test case to prevent further
regressions.

3 years agoperlapi: Rmv repeated word
Karl Williamson [Thu, 29 Apr 2021 01:43:56 +0000 (19:43 -0600)]
perlapi: Rmv repeated word

3 years agoperlgov: add a PSC section, add jmac to core team
Ricardo Signes [Sat, 8 May 2021 14:15:30 +0000 (10:15 -0400)]
perlgov: add a PSC section, add jmac to core team

3 years agoperlfunc - mention that delete can only be used on key-value slices since 5.28
Dan Book [Sat, 1 May 2021 19:46:16 +0000 (15:46 -0400)]
perlfunc - mention that delete can only be used on key-value slices since 5.28

3 years agoFile::stat - Fix typo in synopsis
Dan Book [Thu, 13 May 2021 15:15:53 +0000 (11:15 -0400)]
File::stat - Fix typo in synopsis

3 years agoperlcommunity - freenode chat is moving to libera
Dan Book [Wed, 19 May 2021 17:18:40 +0000 (13:18 -0400)]
perlcommunity - freenode chat is moving to libera

3 years agoUpdate perlfaq to CPAN version 5.20210520
Karen Etheridge [Fri, 21 May 2021 03:01:06 +0000 (20:01 -0700)]
Update perlfaq to CPAN version 5.20210520

  [DELTA]

5.20210520  2021-05-20 04:16:03Z
  * faq5: remove suggestion to use read() for slurping (PR#96, Dan Book)

3 years agoMerge branch 'smoke-me/jkeenan/alyssais/gh-18726-toke-c-warnings' into blead
James E Keenan [Fri, 21 May 2021 02:49:22 +0000 (02:49 +0000)]
Merge branch 'smoke-me/jkeenan/alyssais/gh-18726-toke-c-warnings' into blead

3 years agoperldelta: add a new delta for v5.35.1
Ricardo Signes [Fri, 21 May 2021 02:31:20 +0000 (22:31 -0400)]
perldelta: add a new delta for v5.35.1

3 years agorelease schedule: out with v5.33, in with v5.35
Ricardo Signes [Fri, 21 May 2021 02:22:19 +0000 (22:22 -0400)]
release schedule: out with v5.33, in with v5.35

This file will need further updating.

3 years agoupdate the epigraphs file with v5.35.0 epigraph
Ricardo Signes [Fri, 21 May 2021 02:21:43 +0000 (22:21 -0400)]
update the epigraphs file with v5.35.0 epigraph

3 years agotoke.c: fix format warnings 18797/head
Alyssa Ross [Mon, 19 Apr 2021 17:59:36 +0000 (17:59 +0000)]
toke.c: fix format warnings

Signed-off-by: James E Keenan <jkeenan@cpan.org>
Remove 2nd const from patch originally submitted in
https://github.com/Perl/perl5/pull/18726; it was causing two build-time
warnings.

Alyssa Ross is now a Perl author.

3 years agoperlhist: add v5.35.0 v5.35.0
Ricardo Signes [Fri, 21 May 2021 01:26:54 +0000 (21:26 -0400)]
perlhist: add v5.35.0

3 years agoperldelta: v5.35.0 delta contents
Ricardo Signes [Fri, 21 May 2021 01:24:52 +0000 (21:24 -0400)]
perldelta: v5.35.0 delta contents

3 years agoNew perldelta
Sawyer X [Thu, 20 May 2021 22:59:42 +0000 (00:59 +0200)]
New perldelta

3 years agoBump to 5.35.0:
Sawyer X [Thu, 20 May 2021 22:02:36 +0000 (00:02 +0200)]
Bump to 5.35.0:

* Apparently, first you bump, then you update perldelta.
* 5.35.0 *might* be released tomorrow (likely) but not certainly.
* I've set it to tomorrow so Module::CoreList won't be upset.

3 years agoTick the release
Sawyer X [Thu, 20 May 2021 20:25:56 +0000 (22:25 +0200)]
Tick the release

3 years agoUpdate epigraph
Sawyer X [Thu, 20 May 2021 20:18:18 +0000 (22:18 +0200)]
Update epigraph

3 years agoadd new release to perlhist v5.34.0
Sawyer X [Thu, 20 May 2021 17:31:26 +0000 (19:31 +0200)]
add new release to perlhist

3 years agoUpdate perldelta
Sawyer X [Thu, 20 May 2021 17:31:15 +0000 (19:31 +0200)]
Update perldelta

3 years agoUpdate customized
Sawyer X [Thu, 20 May 2021 16:38:37 +0000 (18:38 +0200)]
Update customized

3 years agoNo point in updating on change for a newly-introduced module
Sawyer X [Thu, 20 May 2021 16:26:24 +0000 (18:26 +0200)]
No point in updating on change for a newly-introduced module

3 years agoCleanup double mentioning of -Dusedefaultstrict
Sawyer X [Thu, 20 May 2021 16:25:40 +0000 (18:25 +0200)]
Cleanup double mentioning of -Dusedefaultstrict

3 years agoperldelta: unify styles for headings 18784/head
SHIRAKATA Kentaro [Tue, 11 May 2021 15:48:25 +0000 (00:48 +0900)]
perldelta: unify styles for headings

3 years agoperldelta: unify styles of links for github issues
SHIRAKATA Kentaro [Tue, 11 May 2021 15:37:59 +0000 (00:37 +0900)]
perldelta: unify styles of links for github issues

3 years agoperldelta: fold long lines
SHIRAKATA Kentaro [Tue, 11 May 2021 15:28:32 +0000 (00:28 +0900)]
perldelta: fold long lines

3 years agoUpdate epigraph
Sawyer X [Sat, 15 May 2021 15:11:56 +0000 (17:11 +0200)]
Update epigraph

3 years agoupdate meta
Sawyer X [Sat, 15 May 2021 15:09:53 +0000 (17:09 +0200)]
update meta

3 years agodisarm RC2 bump
Sawyer X [Sat, 15 May 2021 14:58:08 +0000 (16:58 +0200)]
disarm RC2 bump

3 years agoBump version to RC2 v5.34.0-RC2
Sawyer X [Sat, 15 May 2021 11:19:55 +0000 (13:19 +0200)]
Bump version to RC2

3 years agoAdd release to perlhist
Sawyer X [Sat, 15 May 2021 11:19:18 +0000 (13:19 +0200)]
Add release to perlhist

3 years agoUpdate perldelta
Sawyer X [Sat, 15 May 2021 10:00:06 +0000 (12:00 +0200)]
Update perldelta

3 years agoUpdate Module::CoreList
Sawyer X [Sat, 15 May 2021 09:49:52 +0000 (11:49 +0200)]
Update Module::CoreList

3 years agoRemove todo note about octal notation since it's now added
Paul "LeoNerd" Evans [Sat, 8 May 2021 17:37:07 +0000 (18:37 +0100)]
Remove todo note about octal notation since it's now added

3 years agoPerldelta: Podifying a bit more
Sawyer X [Sat, 15 May 2021 09:27:58 +0000 (11:27 +0200)]
Perldelta: Podifying a bit more

3 years agoperldelta: bump Data::Dumper version in v5.34.0
Ricardo Signes [Sat, 15 May 2021 01:50:14 +0000 (21:50 -0400)]
perldelta: bump Data::Dumper version in v5.34.0

3 years agoUpdate Changes file for Data::Dumper.
Nicholas Clark [Thu, 13 May 2021 08:48:30 +0000 (08:48 +0000)]
Update Changes file for Data::Dumper.

Seems that there hasn't been a CPAN release for 2.5 years.

3 years agoFor 5.34.0, revert the fix for GH #18614 as it introduces a regression.
Nicholas Clark [Thu, 13 May 2021 08:28:48 +0000 (08:28 +0000)]
For 5.34.0, revert the fix for GH #18614 as it introduces a regression.

This reverts the XS code change from March 2021 from commit c71f1f234aad8a3c:
    Make Data::Dumper mark regex output as UTF-8 if needed

retains the new tests, but skips them for Dumpxs.

The change fixed one bug, but introduced another (GH #18764). The fix for
both seems a little too risky this late in the release cycle, so revert to
the v5.32.0 behaviour for the v5.34.0 release itself. Both bugs will be fix
with a CPAN release very soon, which likely will also be in v5.34.1

3 years agoset -fwrapv on by default unconditionally
Tony Cook [Mon, 10 May 2021 06:18:03 +0000 (16:18 +1000)]
set -fwrapv on by default unconditionally

This was broken on gcc 10, and we want -fwrapv for all versions of
gcc that we support.

We also want a developer to be able to disable it easily
(GCCWRAPV=undef) so it remains a flag rather than hard-coding
-frwapv below.

3 years agoperldelta - move split change to other perlfunc changes and add issue link
Dan Book [Wed, 5 May 2021 00:25:51 +0000 (20:25 -0400)]
perldelta - move split change to other perlfunc changes and add issue link

3 years agoperldelta.pod: tweak -Dusedefaultstrict text
Richard Leach [Sun, 20 Sep 2020 21:34:09 +0000 (22:34 +0100)]
perldelta.pod: tweak -Dusedefaultstrict text

The existing text read to me as if -Dusedefaultstrict is on (i.e. defined) by default.  Hopefully this PR is correct.

3 years agosmall touch-ups to the 5.34.0 perldelta
Karen Etheridge [Wed, 5 May 2021 02:20:24 +0000 (19:20 -0700)]
small touch-ups to the 5.34.0 perldelta

3 years agoAdd epigraph
Sawyer X [Wed, 5 May 2021 09:00:03 +0000 (11:00 +0200)]
Add epigraph

3 years agoFix date of 5.34.0-RC1 in perlhist
Sawyer X [Wed, 5 May 2021 07:37:28 +0000 (09:37 +0200)]
Fix date of 5.34.0-RC1 in perlhist

3 years agoUpdate META
Sawyer X [Tue, 4 May 2021 23:35:28 +0000 (01:35 +0200)]
Update META

3 years agodisarm RC1 bump
Sawyer X [Tue, 4 May 2021 23:09:26 +0000 (01:09 +0200)]
disarm RC1 bump

3 years agoUpdate META files v5.34.0-RC1
Sawyer X [Tue, 4 May 2021 21:48:43 +0000 (23:48 +0200)]
Update META files

3 years agobump version to RC1
Sawyer X [Tue, 4 May 2021 21:48:24 +0000 (23:48 +0200)]
bump version to RC1

3 years agoadd new release to perlhist
Sawyer X [Tue, 4 May 2021 21:47:52 +0000 (23:47 +0200)]
add new release to perlhist

3 years agoMerge all perldelta files to create perl534delta.pod
Sawyer X [Tue, 4 May 2021 21:36:06 +0000 (23:36 +0200)]
Merge all perldelta files to create perl534delta.pod

3 years agoUpdate Module::CoreList for 5.34.0
Sawyer X [Tue, 4 May 2021 19:19:40 +0000 (21:19 +0200)]
Update Module::CoreList for 5.34.0

3 years agomake regen_meta
Sawyer X [Tue, 4 May 2021 19:03:24 +0000 (21:03 +0200)]
make regen_meta

3 years agoBump perl version in various places for 5.34.0
Sawyer X [Tue, 4 May 2021 19:03:02 +0000 (21:03 +0200)]
Bump perl version in various places for 5.34.0

3 years agoFix perlop.pod about isa operator's precedence
Paul "LeoNerd" Evans [Tue, 4 May 2021 14:09:42 +0000 (15:09 +0100)]
Fix perlop.pod about isa operator's precedence

3 years agoupdate experimental to 0.024 from CPAN 18763/head
Ricardo Signes [Sun, 2 May 2021 02:27:57 +0000 (22:27 -0400)]
update experimental to 0.024 from CPAN

3 years agoperlpolicy: update moderator list 18753/head
Ricardo Signes [Fri, 30 Apr 2021 14:39:33 +0000 (10:39 -0400)]
perlpolicy: update moderator list

3 years agoMerge branch 'perlexperiment-links' into blead
Ricardo Signes [Sat, 1 May 2021 16:16:59 +0000 (12:16 -0400)]
Merge branch 'perlexperiment-links' into blead

3 years agofeature.pm: fix a typo
Ricardo Signes [Sat, 1 May 2021 16:14:41 +0000 (12:14 -0400)]
feature.pm: fix a typo

3 years agofeature.pm: note that "try" is experimental 18757/head
Ricardo Signes [Fri, 30 Apr 2021 18:50:01 +0000 (14:50 -0400)]
feature.pm: note that "try" is experimental

...then regen

3 years agoperlexperiment: document the "try" experiment
Ricardo Signes [Fri, 30 Apr 2021 17:25:43 +0000 (13:25 -0400)]
perlexperiment: document the "try" experiment

3 years agoperlexperiment: document the uniprop_wildcards experiment
Ricardo Signes [Fri, 30 Apr 2021 17:22:48 +0000 (13:22 -0400)]
perlexperiment: document the uniprop_wildcards experiment

3 years agoperlexperiment: document the private_use experiment
Ricardo Signes [Fri, 30 Apr 2021 17:18:53 +0000 (13:18 -0400)]
perlexperiment: document the private_use experiment

3 years agoperlexperiment: note warning category for win32_perlio
Ricardo Signes [Fri, 30 Apr 2021 17:03:42 +0000 (13:03 -0400)]
perlexperiment: note warning category for win32_perlio

3 years agoperlexperiment: add links to more issues
Ricardo Signes [Fri, 30 Apr 2021 16:58:17 +0000 (12:58 -0400)]
perlexperiment: add links to more issues

This commit also tries to put things into the same order between
experiments, and calls experiments "experiments" rather than "features".

3 years agoperlexperiment: update GitHub issue link for "isa"
Ricardo Signes [Fri, 30 Apr 2021 16:50:20 +0000 (12:50 -0400)]
perlexperiment: update GitHub issue link for "isa"

3 years agoRemove a double negative from a comment, clarifying that this is the default.
Nicholas Clark [Sat, 24 Apr 2021 19:18:04 +0000 (19:18 +0000)]
Remove a double negative from a comment, clarifying that this is the default.

3 years agofix very minor spelling and pod markup in the last delta
Karen Etheridge [Wed, 21 Apr 2021 22:09:10 +0000 (15:09 -0700)]
fix very minor spelling and pod markup in the last delta

3 years agoperlapi: Fix grammar
Karl Williamson [Wed, 21 Apr 2021 08:24:18 +0000 (02:24 -0600)]
perlapi: Fix grammar

3 years agoArtisanal Commit
Chris 'BinGOs' Williams [Wed, 21 Apr 2021 07:51:29 +0000 (08:51 +0100)]
Artisanal Commit

3 years agonew perldelta for 5.33.10
Todd Rinaldo [Tue, 20 Apr 2021 23:59:37 +0000 (18:59 -0500)]
new perldelta for 5.33.10

5.33.10 isn't going to happen but it looks like we bump to the bogus
release and THEN switch to RC1.

3 years agoTick release_Schedule.pod for 5.33.9
Todd Rinaldo [Tue, 20 Apr 2021 23:57:55 +0000 (18:57 -0500)]
Tick release_Schedule.pod for 5.33.9

3 years agov5.33.9 advertised on p5p mailing list
Todd Rinaldo [Tue, 20 Apr 2021 23:49:05 +0000 (18:49 -0500)]
v5.33.9 advertised on p5p mailing list

3 years agoepigraph for v5.33.9
Todd Rinaldo [Tue, 20 Apr 2021 22:23:11 +0000 (17:23 -0500)]
epigraph for v5.33.9

3 years agoadd new release to perlhist v5.33.9
Todd Rinaldo [Tue, 20 Apr 2021 18:49:01 +0000 (13:49 -0500)]
add new release to perlhist

3 years agoGenerate new modules in perldelta automatically
Todd Rinaldo [Tue, 20 Apr 2021 18:24:53 +0000 (13:24 -0500)]
Generate new modules in perldelta automatically

3 years agoUpdate changed modules in Module::CoreList
Todd Rinaldo [Tue, 20 Apr 2021 18:09:42 +0000 (13:09 -0500)]
Update changed modules in Module::CoreList

3 years agoPerldelta for 5.33.9
Todd Rinaldo [Tue, 20 Apr 2021 17:26:35 +0000 (12:26 -0500)]
Perldelta for 5.33.9

3 years agoRevert "Update Scalar-List-Utils to 1.56"
Todd Rinaldo [Tue, 20 Apr 2021 15:31:55 +0000 (10:31 -0500)]
Revert "Update Scalar-List-Utils to 1.56"

This reverts commit a7dc88699c420088b5448c415a8a973e51c0fc18.

We've opted to keep this out until 5.34 is released.

3 years agoperldelta for dace60fbdbd315ddaeca8ff9dad1d4a672f95a3d
Tomasz Konojacki [Tue, 20 Apr 2021 06:31:02 +0000 (08:31 +0200)]
perldelta for dace60fbdbd315ddaeca8ff9dad1d4a672f95a3d

3 years agoUpgrade NEXT to 0.68 from CPAN
Todd Rinaldo [Tue, 20 Apr 2021 03:14:06 +0000 (22:14 -0500)]
Upgrade NEXT to 0.68 from CPAN

[DELTA]

0.68 2021-04-19 NEILB
    - Fix for RT#123002, so NEXT works with proxy constants
    - Made testsuite clean under strict & warnings
    - Made testsuite pass if running under perls that are already c3.

0.67_03 2021-04-18 NEILB
    - mro was added in Perl 5.9.5, and it's not dual-life, so Reini's
      patch (in 0.67_01) failed on earlier versions of Perl.
      Have now made its use dependent on version, with "use if".

0.67_02 2021-04-18 NEILB
    - Applied patch from Father C so that NEXT works with proxy constants.
      RT#123002

0.67_01 2021-04-18 NEILB
    - Enforced strict and warnings on testsuite. Thanks to ATOOMIC.
    - Added github CI. Thanks to ATOOMIC.
    - @ISA fixes for c3, so tests will pass on perls that use c3 as default
      (for example cperl). Thanks to RURBAN.

3 years agoUpdate ExtUtils-MakeMaker to CPAN version 7.62
Todd Rinaldo [Fri, 16 Apr 2021 20:33:27 +0000 (15:33 -0500)]
Update ExtUtils-MakeMaker to CPAN version 7.62

  [DELTA]

7.62    Tue 13 Apr 18:58:24 BST 2021

    No changes since v7.61_01

7.61_01 Sun 21 Mar 09:24:57 GMT 2021

    Bug fixes:
    - Use shellwords in ExtUtils::Liblist::Kid::_unix_os2_ext

3 years agoAdjust Module::CoreList version in Maintainers.pl
Todd Rinaldo [Fri, 16 Apr 2021 20:43:37 +0000 (15:43 -0500)]
Adjust Module::CoreList version in Maintainers.pl

This reflects the version that's on CPAN right now.

3 years agoUpdate Scalar-List-Utils to 1.56
Todd Rinaldo [Fri, 16 Apr 2021 20:53:41 +0000 (15:53 -0500)]
Update Scalar-List-Utils to 1.56

[Delta]

1.56 -- 2021-03-30
    * Added `List::Util::zip`, `List::Util::mesh` and related functions
      (RT129479)
    * Updated embedded ppport.h for Devel::PPPort v3.62

3 years agoIgnore microperl if we build it
Max Maischein [Thu, 18 Feb 2021 20:06:00 +0000 (21:06 +0100)]
Ignore microperl if we build it

3 years agot/op/bop.t: Call "use warnings" pragma after BEGIN block
TAKAI Kousuke [Mon, 5 Apr 2021 15:54:23 +0000 (00:54 +0900)]
t/op/bop.t: Call "use warnings" pragma after BEGIN block

This enables set_up_inc() to be honored in processing "use warnings"
and will make stand-alone testing a bit easier.

3 years agoperl.pod - move perlhist + perldeltas to History section
Dan Book [Sat, 17 Apr 2021 19:49:30 +0000 (15:49 -0400)]
perl.pod - move perlhist + perldeltas to History section

3 years agoPOSIX: Prefer system's NAN/INFINITY for POSIX::NAN and POSIX::INFINITY.
TAKAI Kousuke [Mon, 18 Jan 2021 16:27:37 +0000 (01:27 +0900)]
POSIX: Prefer system's NAN/INFINITY for POSIX::NAN and POSIX::INFINITY.

POSIX::NAN and POSIX::INFINITY used to return NV_NAN and NV_INF
defined in the perl core respectively, but these might be different
from the values defined in the POSIX system header, as these special
values might have multiple internal representations.

If respective POSIX macro is not defined (eg. on pre-C99 system),
they will return NV_NAN/NV_INF, so there should be no degradation.

3 years agohow_to_write_a_perldelta.pod: sections to match skeleton, more detail
Richard Leach [Thu, 4 Feb 2021 23:53:11 +0000 (23:53 +0000)]
how_to_write_a_perldelta.pod: sections to match skeleton, more detail