This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
perl5.git
22 months agoUnicode::UCD: Use L</Foo Bar>, not L<Foo Bar>
Karl Williamson [Fri, 1 Jun 2018 16:49:29 +0000 (10:49 -0600)]
Unicode::UCD: Use L</Foo Bar>, not L<Foo Bar>

22 months agolib/Class/Struct.pm: Use L</Foo Bar>, not L<Foo Bar>
Karl Williamson [Fri, 1 Jun 2018 16:48:39 +0000 (10:48 -0600)]
lib/Class/Struct.pm: Use L</Foo Bar>, not L<Foo Bar>

22 months agoTie::File: Use L</Foo>, not L<"Foo"> in pod
Karl Williamson [Fri, 1 Jun 2018 16:47:28 +0000 (10:47 -0600)]
Tie::File: Use L</Foo>, not L<"Foo"> in pod

22 months agoperlxstut: Use L</Foo Bar>, not L<Foo Bar>
Karl Williamson [Fri, 1 Jun 2018 16:46:14 +0000 (10:46 -0600)]
perlxstut: Use L</Foo Bar>, not L<Foo Bar>

22 months agoconfigpm: Remove extraneous =cut lines
Karl Williamson [Fri, 1 Jun 2018 16:44:45 +0000 (10:44 -0600)]
configpm: Remove extraneous =cut lines

These were creating improper pod, though it hasn't been caught.

22 months agoREADME.os2: Use L</Foo Bar>, not L<Foo Bar>
Karl Williamson [Fri, 1 Jun 2018 16:43:55 +0000 (10:43 -0600)]
README.os2: Use L</Foo Bar>, not L<Foo Bar>

22 months agoPorting/release_managers_guide.pod: Use L</Foo Bar>, not L<Foo Bar>
Karl Williamson [Fri, 1 Jun 2018 16:43:05 +0000 (10:43 -0600)]
Porting/release_managers_guide.pod: Use L</Foo Bar>, not L<Foo Bar>

22 months agoINTALL: Use L</Foo Bar>, not L<Foo Bar>
Karl Williamson [Fri, 1 Jun 2018 16:41:52 +0000 (10:41 -0600)]
INTALL: Use L</Foo Bar>, not L<Foo Bar>

22 months agoTime::HiRes: Remove trailing blanks
Karl Williamson [Wed, 16 May 2018 01:29:41 +0000 (19:29 -0600)]
Time::HiRes: Remove trailing blanks

22 months agoTime::HiRes: Add L<> to pod links
Karl Williamson [Wed, 16 May 2018 01:29:12 +0000 (19:29 -0600)]
Time::HiRes: Add L<> to pod links

22 months agoINSTALL: Add L<> and F<> pod directives
Karl Williamson [Thu, 10 May 2018 01:03:49 +0000 (19:03 -0600)]
INSTALL: Add L<> and F<> pod directives

22 months agoPathTools::Win32.pm: Add L<> around link in pod
Karl Williamson [Thu, 10 May 2018 00:57:24 +0000 (18:57 -0600)]
PathTools::Win32.pm: Add L<> around link in pod

22 months agoSelfLoader: Add L<> around link in pod
Karl Williamson [Thu, 10 May 2018 00:56:38 +0000 (18:56 -0600)]
SelfLoader: Add L<> around link in pod

22 months agoLocale::Maketext: Add L<> around links in pod
Karl Williamson [Thu, 10 May 2018 00:53:04 +0000 (18:53 -0600)]
Locale::Maketext: Add L<> around links in pod

22 months agoI18N::LangTags: Add L<> around links in pod
Karl Williamson [Thu, 10 May 2018 00:52:09 +0000 (18:52 -0600)]
I18N::LangTags: Add L<> around links in pod

22 months agoTie::File: Add L<> around link in pod
Karl Williamson [Thu, 10 May 2018 00:50:47 +0000 (18:50 -0600)]
Tie::File: Add L<> around link in pod

22 months agolib/Unicode/UCD.t: Use standard Perl environment variable
Karl Williamson [Thu, 10 May 2018 00:37:53 +0000 (18:37 -0600)]
lib/Unicode/UCD.t: Use standard Perl environment variable

This test file invented its own environment variable, whereas everyone
else uses a different one.  Make this one comply.

22 months agoperlrun: Add L<> to links
Karl Williamson [Thu, 10 May 2018 00:32:13 +0000 (18:32 -0600)]
perlrun: Add L<> to links

22 months agoIO: Add L<> around link in pod
Karl Williamson [Wed, 9 May 2018 23:31:45 +0000 (17:31 -0600)]
IO: Add L<> around link in pod

22 months agoExtUtils::CBuilder: Add L<> around a link in the pod
Karl Williamson [Wed, 9 May 2018 23:22:46 +0000 (17:22 -0600)]
ExtUtils::CBuilder: Add L<> around a link in the pod

22 months agoperlbug.PL: Add L<> around a link in the pod
Karl Williamson [Wed, 9 May 2018 23:18:34 +0000 (17:18 -0600)]
perlbug.PL: Add L<> around a link in the pod

22 months agoUnicode::Normalize: Add L<> to links in pod
Karl Williamson [Wed, 9 May 2018 21:52:56 +0000 (15:52 -0600)]
Unicode::Normalize: Add L<> to links in pod

22 months agoAdd log library to libwanted; provides __android_log_print for Sys::Syslog
Richard Leach [Sat, 25 May 2019 20:08:08 +0000 (20:08 +0000)]
Add log library to libwanted; provides __android_log_print for Sys::Syslog

22 months ago{op, pp, regcomp}.c: fix missing parentheses in 'if' statement
chinarulezzz [Fri, 20 Apr 2018 17:54:12 +0000 (20:54 +0300)]
{op, pp, regcomp}.c: fix missing parentheses in 'if' statement

22 months agonumeric.c: Use full name of function in definition
Karl Williamson [Thu, 23 May 2019 20:23:48 +0000 (14:23 -0600)]
numeric.c: Use full name of function in definition

The prefix 'Perl_' was omitted, but this did not matter because there
was a macro that expanded to include the prefix.  But it's customary to
have the expansion at the point of definition.

22 months agoPATCH: [perl #134098] no locales + debugging = no compile
Karl Williamson [Thu, 23 May 2019 17:58:09 +0000 (11:58 -0600)]
PATCH: [perl #134098] no locales + debugging = no compile

The wrong #define was being tested for

22 months agoModern Androids do support locales
Richard Leach [Sun, 19 May 2019 03:50:37 +0000 (03:50 +0000)]
Modern Androids do support locales

22 months agoPATCH: [perl #134117] Close DATA in loc_tools.pl
Richard Leach [Sun, 19 May 2019 20:16:41 +0000 (20:16 +0000)]
PATCH: [perl #134117] Close DATA in loc_tools.pl

This prevents unexpected text in lib/warnings.t

22 months agolocale.c: Fix '%s' directive argument is null
Karl Williamson [Thu, 23 May 2019 16:48:30 +0000 (10:48 -0600)]
locale.c: Fix '%s' directive argument is null

This was just an oversight.  THe code doesn't get executed unless it's
trying to panic

22 months agoasan_ignore: Explicitly list ignored behavior fcns
Karl Williamson [Fri, 3 May 2019 20:30:53 +0000 (14:30 -0600)]
asan_ignore: Explicitly list ignored behavior fcns

Overflow on signed integers is undefined behavior.  Perl does whatever
the underlying compiler does in this case.  Previously this file used a
wildcard which could specify more functions than we really expect to see
this potential overflow from.  It is safer to mention explicitly all the
functions.

22 months agoRemove undefined behavior from IV shifting
Karl Williamson [Fri, 3 May 2019 19:57:47 +0000 (13:57 -0600)]
Remove undefined behavior from IV shifting

It is undefined behavior to shift a negative integer to the left.  This
commit avoids that by treating the value as unsigned, then casting back
to integer for return.

22 months agopp.c: Add two UNLIKELY()s
Karl Williamson [Wed, 1 May 2019 16:41:38 +0000 (10:41 -0600)]
pp.c: Add two UNLIKELY()s

It should be uncommon to shift beyond a full word

22 months agoCreate fcn for lossless conversion of NV to IV
Karl Williamson [Sun, 28 Apr 2019 23:42:44 +0000 (17:42 -0600)]
Create fcn for lossless conversion of NV to IV

Essentially the same code was being used in three places, and had
undefined C behavior for some inputs.

This consolidates the code into one inline function, and rewrites it to
avoid undefined behavior.

22 months agopp.c: White-space only
Karl Williamson [Sun, 28 Apr 2019 23:26:38 +0000 (17:26 -0600)]
pp.c: White-space only

Fix indentation of this routine to current standards, in preparation for
making changes to it, and add a blank line for readability

22 months agoperl.h: Clarify debugging text
Karl Williamson [Wed, 24 Apr 2019 21:45:43 +0000 (15:45 -0600)]
perl.h: Clarify debugging text

22 months agoAdd some comments around tainting
Karl Williamson [Thu, 18 Apr 2019 16:10:41 +0000 (10:10 -0600)]
Add some comments around tainting

22 months agolocale.c: Add some comments
Karl Williamson [Wed, 3 Apr 2019 20:11:27 +0000 (14:11 -0600)]
locale.c: Add some comments

22 months agolocale.c: remove unnecessary cast
Jerome Duval [Thu, 25 Apr 2019 21:19:43 +0000 (23:19 +0200)]
locale.c: remove unnecessary cast

This was failing in gcc 2.95.  The original commit added a cast, but we
figured out that removing this other one that really served no purpose
causes this compiler to work.

22 months agoJereome Duval is a Perl author
Karl Williamson [Fri, 10 May 2019 14:54:45 +0000 (08:54 -0600)]
Jereome Duval is a Perl author

22 months agoregcomp.sym: Fix typo in comment
Karl Williamson [Thu, 23 May 2019 06:48:49 +0000 (00:48 -0600)]
regcomp.sym: Fix typo in comment

22 months agonumeric.c: Add #error case
Karl Williamson [Sun, 5 May 2019 16:03:01 +0000 (10:03 -0600)]
numeric.c: Add #error case

It's best to have a #error case when nothing in the #if #else series is
true, as it catches the problem at compile time.

22 months agoS_scan_const() Properly test if need to grow
Karl Williamson [Sat, 27 Apr 2019 19:56:39 +0000 (13:56 -0600)]
S_scan_const() Properly test if need to grow

As we parse the input, creating a string constant, we may have to grow
the destination if it fills up as we go along.  It allocates space in an
SV and populates the string, but it doesn' update the SvCUR until the
end, so in single stepping the debugger through the code, the SV looks
empty until the end.  It turns out that as a result SvEND also doesn't
get updated and still points to the beginning of the string until SvCUR
is finally set.  That means that the test changed by this commit was
always succeeding, because it was using SvEND that didn't get updated,
so it would attempt to grow each time through the loop.  By moving a
couple of statements earlier, and using SvLEN instead, which does always
have the correct value, those extra growth attempts are avoided.

22 months agoPOSIX.xs: Add NOTREACHED to silence cygwin compiler
Karl Williamson [Mon, 29 Apr 2019 03:26:35 +0000 (21:26 -0600)]
POSIX.xs: Add NOTREACHED to silence cygwin compiler

22 months agoposix_bump
Karl Williamson [Wed, 24 Apr 2019 22:22:08 +0000 (16:22 -0600)]
posix_bump

22 months agocygwin.c: Fix misleading indentation
Karl Williamson [Mon, 29 Apr 2019 03:17:21 +0000 (21:17 -0600)]
cygwin.c: Fix misleading indentation

22 months agoregnodes.h: Change some regnodes' names
Karl Williamson [Thu, 14 Mar 2019 18:18:59 +0000 (12:18 -0600)]
regnodes.h: Change some regnodes' names

These were misleading, as elsewhere a leading 'N' in the name means the
complement.  Instead move the N to the end of the name

22 months agoPATCH: [perl #134126] -Dusemymalloc, -Dusethreads
Karl Williamson [Wed, 22 May 2019 20:37:20 +0000 (14:37 -0600)]
PATCH: [perl #134126] -Dusemymalloc, -Dusethreads

This was due to a missing declaration for thread context needed to
output a message.

22 months agoPATCH: [perl #134059] panic outputting a warning
Karl Williamson [Mon, 29 Apr 2019 21:24:18 +0000 (15:24 -0600)]
PATCH: [perl #134059] panic outputting a warning

This was due to a logic error on my part.  We need to save and restore a
value.  Instead, it was getting restored to the wrong value.

This particular instance of the bug was outputting a fatal error
message, so that the only harm is not giving the user the correct info,
and creating unnecessary work for them and us when it gets reported.
But this bug could manifest itself when trying to output just a warning
that the program otherwise would carry on from.

22 months agoperllocale: Use L</Foo Bar>, not L<Foo Bar>
Karl Williamson [Fri, 1 Jun 2018 16:51:05 +0000 (10:51 -0600)]
perllocale: Use L</Foo Bar>, not L<Foo Bar>

22 months agoPATCH: [perl #134134] read beyond end of buffer
Karl Williamson [Fri, 24 May 2019 15:15:59 +0000 (09:15 -0600)]
PATCH: [perl #134134] read beyond end of buffer

This turns out to be because of a special input case in myatof3(),
wherein if the input length is 0, it call strlen to find the length.

The solution is to add a test and not call the function unless the
length is positive.

22 months agoResolve merge conflict
Sawyer X [Fri, 24 May 2019 22:18:57 +0000 (01:18 +0300)]
Resolve merge conflict

22 months agoBump Module::CoreList
Sawyer X [Fri, 24 May 2019 22:06:41 +0000 (01:06 +0300)]
Bump Module::CoreList

22 months agoBump the perl version in various places for 5.31.1
Sawyer X [Fri, 24 May 2019 21:58:31 +0000 (00:58 +0300)]
Bump the perl version in various places for 5.31.1

22 months agonew perldelta for 5.31.1
Sawyer X [Fri, 24 May 2019 21:44:00 +0000 (00:44 +0300)]
new perldelta for 5.31.1

22 months agoFix perldelta from 5.30.1 to 5.31.0:
Sawyer X [Fri, 24 May 2019 21:32:42 +0000 (00:32 +0300)]
Fix perldelta from 5.30.1 to 5.31.0:

perldelta was accidentally set to 5.30.1 instead of 5.31.0.
Hopefully this commit should fix it, along with the correction
of the symlink in pod/.

22 months agoFix perldelta mistake
Sawyer X [Fri, 24 May 2019 21:21:18 +0000 (00:21 +0300)]
Fix perldelta mistake

22 months agofix version in perldelta
Karen Etheridge [Fri, 24 May 2019 20:13:54 +0000 (13:13 -0700)]
fix version in perldelta

22 months agoTick off release
Sawyer X [Fri, 24 May 2019 19:49:37 +0000 (22:49 +0300)]
Tick off release

22 months agoUpdate epigraph
Sawyer X [Fri, 24 May 2019 19:46:18 +0000 (22:46 +0300)]
Update epigraph

22 months agoRemove the update from perldelta v5.31.0
Sawyer X [Fri, 24 May 2019 17:40:59 +0000 (20:40 +0300)]
Remove the update from perldelta

22 months agoRevert "Bump Pod::Simple from 3.35 to 3.36"
Sawyer X [Fri, 24 May 2019 17:40:11 +0000 (20:40 +0300)]
Revert "Bump Pod::Simple from 3.35 to 3.36"

This reverts commit 314f4963bff4d23e773eee5559e5fd1de2dc6cbc.

This is causing testing failures on FreeBSD-11, raised by Jim Keenan.

22 months agoadd new release to perlhist
Sawyer X [Fri, 24 May 2019 15:59:27 +0000 (18:59 +0300)]
add new release to perlhist

22 months agoFinalize perldelta
Sawyer X [Fri, 24 May 2019 15:41:53 +0000 (18:41 +0300)]
Finalize perldelta

22 months agoBump Module::CoreList
Sawyer X [Fri, 24 May 2019 15:29:24 +0000 (18:29 +0300)]
Bump Module::CoreList

22 months agoBump Socket.pm from 2.027 to 2.029
Sawyer X [Fri, 24 May 2019 15:06:58 +0000 (18:06 +0300)]
Bump Socket.pm from 2.027 to 2.029

22 months agoBump Pod::Simple from 3.35 to 3.36
Sawyer X [Fri, 24 May 2019 14:56:15 +0000 (17:56 +0300)]
Bump Pod::Simple from 3.35 to 3.36

22 months agoPrepare the next release schedule
Sawyer X [Wed, 22 May 2019 11:36:07 +0000 (14:36 +0300)]
Prepare the next release schedule

22 months agoUpdate Module::CoreList for 5.31.0
Sawyer X [Wed, 22 May 2019 11:14:04 +0000 (14:14 +0300)]
Update Module::CoreList for 5.31.0

22 months agoBump the perl version in various places for 5.31.0
Sawyer X [Wed, 22 May 2019 11:07:31 +0000 (14:07 +0300)]
Bump the perl version in various places for 5.31.0

22 months agoupdate features
Sawyer X [Wed, 22 May 2019 09:50:21 +0000 (12:50 +0300)]
update features

22 months agoNew perldelta
Sawyer X [Wed, 22 May 2019 09:47:10 +0000 (12:47 +0300)]
New perldelta

22 months agotick off release
Sawyer X [Wed, 22 May 2019 09:46:41 +0000 (12:46 +0300)]
tick off release

22 months agoUpdate epigraph
Sawyer X [Wed, 22 May 2019 09:40:52 +0000 (12:40 +0300)]
Update epigraph

22 months agoUpdate perlhist v5.30.0
Sawyer X [Wed, 22 May 2019 08:29:58 +0000 (11:29 +0300)]
Update perlhist

22 months agoLast minute fix, thanks SHIRAKATA Kentaro
Sawyer X [Wed, 22 May 2019 08:16:07 +0000 (11:16 +0300)]
Last minute fix, thanks SHIRAKATA Kentaro

22 months agoadd new release to perlhist
Sawyer X [Tue, 21 May 2019 22:40:22 +0000 (01:40 +0300)]
add new release to perlhist

22 months agoTypo fix
Sawyer X [Tue, 21 May 2019 21:42:20 +0000 (00:42 +0300)]
Typo fix

22 months agoUpdate Module::CoreList for 5.30.0
Sawyer X [Tue, 21 May 2019 20:22:06 +0000 (23:22 +0300)]
Update Module::CoreList for 5.30.0

22 months ago[perldelta] Typo, thanks Paul Johnson!
Sawyer X [Mon, 20 May 2019 17:56:21 +0000 (20:56 +0300)]
[perldelta] Typo, thanks Paul Johnson!

22 months ago[perldelta] Rephrase Acknowledgements, thanks Hugo and Craig
Sawyer X [Sun, 19 May 2019 06:31:53 +0000 (09:31 +0300)]
[perldelta] Rephrase Acknowledgements, thanks Hugo and Craig

22 months agoUpdate epigraph, linkify later
Sawyer X [Fri, 17 May 2019 20:50:42 +0000 (23:50 +0300)]
Update epigraph, linkify later

22 months agoUpdate META
Sawyer X [Fri, 17 May 2019 20:47:05 +0000 (23:47 +0300)]
Update META

22 months agodisarm RC2 bump
Sawyer X [Fri, 17 May 2019 20:46:18 +0000 (23:46 +0300)]
disarm RC2 bump

22 months agoUpdate META files v5.30.0-RC2
Sawyer X [Fri, 17 May 2019 18:51:10 +0000 (21:51 +0300)]
Update META files

22 months agobump version to RC2
Sawyer X [Fri, 17 May 2019 18:50:51 +0000 (21:50 +0300)]
bump version to RC2

22 months agoRemove selected information from non-blead-point release
Sawyer X [Fri, 17 May 2019 18:50:18 +0000 (21:50 +0300)]
Remove selected information from non-blead-point release

22 months agoupdate release
Sawyer X [Fri, 17 May 2019 18:50:01 +0000 (21:50 +0300)]
update release

22 months agoFix to acknowledgements
Sawyer X [Fri, 17 May 2019 18:30:47 +0000 (21:30 +0300)]
Fix to acknowledgements

22 months agoSmall update to Module::CoreList:
Sawyer X [Fri, 17 May 2019 18:28:27 +0000 (21:28 +0300)]
Small update to Module::CoreList:

We bumped Devel::PPPort between RC1 and RC2. No new version of
Module::CoreList was released for this.

22 months agoMerge branch 'smoke-me/khw-petr' into blead
Sawyer X [Fri, 17 May 2019 18:18:23 +0000 (21:18 +0300)]
Merge branch 'smoke-me/khw-petr' into blead

22 months agoPATCH: [perl #133860] 5.30 regression
Karl Williamson [Thu, 16 May 2019 21:47:20 +0000 (15:47 -0600)]
PATCH: [perl #133860] 5.30 regression

These bugs stem from trying to compile a user-defined \p{IsProperty}
before the data for the property is available.  In the past, a bug used
the wrong package for IsProperty, and it wasn't found, so its expansion
was delayed until runtime.  But that bug got fixed, and now it finds the
property and thinks its deliberately empty, at compile time.

This is a change in behavior, even if it is fixing a bug, where the real
problem is unobvious.  The solution adopted in this commit is to defer
all empty properties at pattern compilation time.  If they are still
empty at runtime, that's what the expansion will be.

22 months agoRevert "Rename PPPort_xs.PL to RealPPPort_xs.PL"
Nicolas R [Thu, 16 May 2019 22:47:56 +0000 (16:47 -0600)]
Revert "Rename PPPort_xs.PL to RealPPPort_xs.PL"

This reverts commit 0f14f67985491207f4a0e3936307f4c565717fd6.

need to apply after current freeze

22 months agoRevert "Fix compilation issues with version older than 5.010"
Nicolas R [Thu, 16 May 2019 22:47:37 +0000 (16:47 -0600)]
Revert "Fix compilation issues with version older than 5.010"

This reverts commit a09f79fbc2455b7ea72a49f6627a639101ba35a2.

need to apply after current freeze

22 months agoFix compilation issues with version older than 5.010
Nicolas R [Wed, 15 May 2019 14:53:26 +0000 (08:53 -0600)]
Fix compilation issues with version older than 5.010

By adding more Perl versions to the Travis CI configuration
file we discovered that versions earlier 5.010 are broken.

Note that the uv.t does not raise the overflow warning
as expected by the test and we probably want to fix this in
a short future.

The test uv.t is simply not passing with 5.006 versions and
has several failures. I've currently disabled it.

Patch provided by Pali

22 months agoRename PPPort_xs.PL to RealPPPort_xs.PL
Nicolas R [Tue, 14 May 2019 19:53:45 +0000 (13:53 -0600)]
Rename PPPort_xs.PL to RealPPPort_xs.PL

Fixes Devel-PPPort GH #21

To avoid confusion rename the template for RealPPPort.xs
file as RealPPPort_xs.PL so it's now clear what file
it generates.

22 months agoAdjust perlvar doc for @INC
Nicolas R [Wed, 15 May 2019 16:02:55 +0000 (10:02 -0600)]
Adjust perlvar doc for @INC

RT #134108

dot is not in @INC anymore since 5.26

22 months agoLinkify B::Debug and Locale::Codes to CPAN in a uniform way
Sawyer X [Thu, 16 May 2019 16:13:56 +0000 (10:13 -0600)]
Linkify B::Debug and Locale::Codes to CPAN in a uniform way

22 months agoperldelta: Improvements
Karl Williamson [Thu, 16 May 2019 16:10:33 +0000 (10:10 -0600)]
perldelta: Improvements

This includes some small wording changes, reordering by importance,
collapsing near-duplicate entries.

23 months ago[perldelta] Missing =item
Sawyer X [Wed, 15 May 2019 04:36:57 +0000 (07:36 +0300)]
[perldelta] Missing =item

23 months agoFix up perldelta in regard to Unicode versions
Karl Williamson [Mon, 13 May 2019 16:11:06 +0000 (10:11 -0600)]
Fix up perldelta in regard to Unicode versions