This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
perl5.git
2 weeks agoDelete Porting/cherrymaint
James E Keenan [Fri, 1 Jan 2021 18:31:37 +0000 (13:31 -0500)]
Delete Porting/cherrymaint

Per discussion in https://github.com/Perl/perl5/issues/18028

3 weeks agoUse SSize_t for read lock counter
Karl Williamson [Thu, 31 Dec 2020 16:08:21 +0000 (09:08 -0700)]
Use SSize_t for read lock counter

We have tests to make sure this doesn't go negative, but wrongly
declared the variable as unsigned.

Spotted by Craig Berry.

3 weeks agoop.c: croak on "my $_" when "use utf8" is in effect
Tomasz Konojacki [Wed, 30 Dec 2020 13:03:02 +0000 (14:03 +0100)]
op.c: croak on "my $_" when "use utf8" is in effect

Fixes #18449

3 weeks agoFix buggy fc() in Turkish locale
Karl Williamson [Wed, 30 Dec 2020 12:55:08 +0000 (05:55 -0700)]
Fix buggy fc() in Turkish locale

When Turkish handling was added, fc() wasn't properly updated

3 weeks agoDocument regexp, regmatch_info
Karl Williamson [Sat, 17 Oct 2020 13:26:56 +0000 (07:26 -0600)]
Document regexp, regmatch_info

3 weeks agoperlapi: link to SvPV
Karl Williamson [Thu, 8 Oct 2020 20:20:48 +0000 (14:20 -0600)]
perlapi: link to SvPV

3 weeks agoperlapi: Consolidate newRV and newRV_inc pod
Karl Williamson [Thu, 8 Oct 2020 19:53:47 +0000 (13:53 -0600)]
perlapi: Consolidate newRV and newRV_inc pod

3 weeks agoperldelta.pod: Document "Lost precision" warning changes
TAKAI Kousuke [Tue, 29 Dec 2020 15:03:19 +0000 (00:03 +0900)]
perldelta.pod: Document "Lost precision" warning changes

[GH #18333, #18388]

3 weeks agosv.c: Delete irrelevant preprocessor conditionals
TAKAI Kousuke [Mon, 28 Dec 2020 17:46:30 +0000 (02:46 +0900)]
sv.c: Delete irrelevant preprocessor conditionals

66435b24ea changed Perl_isnan to Perl_isinfnan, but I forgot to update
corresponding preprocessor conditionals.

3 weeks agosv.c: Suppress imprecision warnings on Inf.
TAKAI Kousuke [Tue, 22 Dec 2020 18:56:12 +0000 (03:56 +0900)]
sv.c: Suppress imprecision warnings on Inf.

This commit will partially revert the effect of the commit
c33ee94ba2086d48e3750cfdeb51402b61bb1ac7. [GH #18388]

3 weeks agosv.c: more imprecision warnings on increment/decrement
TAKAI Kousuke [Mon, 7 Dec 2020 14:47:07 +0000 (23:47 +0900)]
sv.c: more imprecision warnings on increment/decrement

Previously, imprecision warnings on increment (Lost precision when
incrementing %f by 1) were only issued on positive finite values,
and, on decrement, only issued on negative finite values.
This commit extends this warnings on both sign and infinite values.

This fixes GH #18333.

3 weeks agoMerge branch 'perlgov-related-edits' into blead
Ricardo Signes [Mon, 28 Dec 2020 18:43:24 +0000 (13:43 -0500)]
Merge branch 'perlgov-related-edits' into blead

3 weeks agopod: update a few documents for perlgov changes 18434/head
Ricardo Signes [Thu, 24 Dec 2020 03:28:44 +0000 (22:28 -0500)]
pod: update a few documents for perlgov changes

3 weeks agoperlapi: More fully document gv_stashpvn
Karl Williamson [Sat, 29 Aug 2020 18:25:00 +0000 (12:25 -0600)]
perlapi: More fully document gv_stashpvn

3 weeks agoperlapi: Turn reference to SvSHARED_HASH into a link
Karl Williamson [Thu, 27 Aug 2020 21:23:41 +0000 (15:23 -0600)]
perlapi: Turn reference to SvSHARED_HASH into a link

3 weeks agoMerge branch 'sisyphus-gcvt' into blead
Karl Williamson [Sun, 27 Dec 2020 19:10:40 +0000 (12:10 -0700)]
Merge branch 'sisyphus-gcvt' into blead

3 weeks agowin32/GNUmakefile - define __USE_MINGW_ANSI_STDIO by default
sisyphus [Sat, 7 Nov 2020 01:05:42 +0000 (12:05 +1100)]
win32/GNUmakefile - define __USE_MINGW_ANSI_STDIO by default

3 weeks agowin32/makefile.mk - define __USE_MINGW_ANSI_STDIO by default
sisyphus [Sat, 7 Nov 2020 01:05:14 +0000 (12:05 +1100)]
win32/makefile.mk - define __USE_MINGW_ANSI_STDIO by default

3 weeks agoAPItest.xs - suppress valid -Wformat-overflow warning (Issue 18170)
sisyphus [Tue, 20 Oct 2020 23:54:22 +0000 (10:54 +1100)]
APItest.xs - suppress valid -Wformat-overflow warning (Issue 18170)

3 weeks agot/op/sprintf2.t - append new test (Issue 18170)
sisyphus [Tue, 20 Oct 2020 23:53:38 +0000 (10:53 +1100)]
t/op/sprintf2.t - append new test (Issue 18170)

3 weeks agosv.c - suppress bogus -Wformat-overflow warnings (Issue 18170)
sisyphus [Tue, 20 Oct 2020 23:52:53 +0000 (10:52 +1100)]
sv.c - suppress bogus -Wformat-overflow warnings (Issue 18170)

3 weeks agoConfigure - test that gcvt/qgcvt are not buggy (Issue 18170)
sisyphus [Tue, 20 Oct 2020 23:52:11 +0000 (10:52 +1100)]
Configure - test that gcvt/qgcvt are not buggy (Issue 18170)

3 weeks agopod/buildtoc: documentation in POD format
James E Keenan [Sun, 20 Dec 2020 00:10:41 +0000 (19:10 -0500)]
pod/buildtoc:  documentation in POD format

In partial satisfaction of https://github.com/Perl/perl5/issues/18413

3 weeks agoAvoid indirect object notation
James E Keenan [Mon, 21 Dec 2020 20:26:37 +0000 (15:26 -0500)]
Avoid indirect object notation

Small touch-ups to inline documentation.

Shorten spelling of one nested 'if' block.

3 weeks agolib/B/Deparse-core.t: Tidy leading whitespace
James E Keenan [Mon, 21 Dec 2020 20:17:18 +0000 (15:17 -0500)]
lib/B/Deparse-core.t: Tidy leading whitespace

The loops-within-loops structure of this program means that irregular
leading whitespace makes it difficult to follow the control flow.

Convert leading tabs to whitespace.  Rebreak some lines to show
structure of nested ternaries more clearly.  Join short lines in a
couple of instances.

3 weeks agoPOSIX.xs: Use Perl_signbit unconditionally for POSIX::signbit().
TAKAI Kousuke [Sun, 27 Dec 2020 12:42:59 +0000 (21:42 +0900)]
POSIX.xs: Use Perl_signbit unconditionally for POSIX::signbit().

Previously POSIX::signbit() had a fallback implementation for the case
Perl_signbit is not defined, but this is apparently broken
because it returns wrongly non-zero (true) value for signbit(+0.0).
Currently Perl_signbit is always defined (either as a macro or as
a function), so it can be used unconditionally.

Additionally, unused macro c99_signbit is deleted, which is also
apparently broken because there is no signbitl() in C99.

3 weeks agoperlapi: Two references aren't yet links
Karl Williamson [Sun, 27 Dec 2020 17:26:57 +0000 (10:26 -0700)]
perlapi: Two references aren't yet links

This was causing a podcheck error

3 weeks agoDocument gv_autoload4
Karl Williamson [Thu, 27 Aug 2020 15:18:53 +0000 (09:18 -0600)]
Document gv_autoload4

3 weeks agoDocument safesys...alloc fcns; safesysfree
Karl Williamson [Thu, 27 Aug 2020 15:40:53 +0000 (09:40 -0600)]
Document safesys...alloc fcns; safesysfree

3 weeks agoDocument gv_fetchfile(_flags)?
Karl Williamson [Thu, 27 Aug 2020 15:11:23 +0000 (09:11 -0600)]
Document gv_fetchfile(_flags)?

3 weeks agoperlapi: Document line_t
Karl Williamson [Sat, 17 Oct 2020 12:52:08 +0000 (06:52 -0600)]
perlapi: Document line_t

3 weeks agoUse explicit %empty
Branislav Zahradník [Fri, 11 Dec 2020 16:19:22 +0000 (17:19 +0100)]
Use explicit %empty

3 weeks agoCleanup remnants of 'KEY_err' removal
Branislav Zahradník [Fri, 11 Dec 2020 16:19:21 +0000 (17:19 +0100)]
Cleanup remnants of 'KEY_err' removal

f23102e2d6 removed DOROP token (KEY_err) but related grammar remained

3 weeks agoDistinguish C- and perly- literals - PERLY_DOLLAR
Branislav Zahradník [Fri, 11 Dec 2020 16:19:20 +0000 (17:19 +0100)]
Distinguish C- and perly- literals - PERLY_DOLLAR

3 weeks agoDistinguish C- and perly- literals - PERLY_SLASH
Branislav Zahradník [Fri, 11 Dec 2020 16:19:19 +0000 (17:19 +0100)]
Distinguish C- and perly- literals - PERLY_SLASH

3 weeks agoDistinguish C- and perly- literals - PERLY_STAR
Branislav Zahradník [Fri, 11 Dec 2020 16:19:18 +0000 (17:19 +0100)]
Distinguish C- and perly- literals - PERLY_STAR

3 weeks agoDistinguish C- and perly- literals - PERLY_PAREN_CLOSE
Branislav Zahradník [Fri, 11 Dec 2020 16:19:17 +0000 (17:19 +0100)]
Distinguish C- and perly- literals - PERLY_PAREN_CLOSE

3 weeks agoDistinguish C- and perly- literals - PERLY_PAREN_OPEN
Branislav Zahradník [Fri, 11 Dec 2020 16:19:16 +0000 (17:19 +0100)]
Distinguish C- and perly- literals - PERLY_PAREN_OPEN

3 weeks agoDistinguish C- and perly- literals - PERLY_PERCENT_SIGN
Branislav Zahradník [Fri, 11 Dec 2020 16:19:15 +0000 (17:19 +0100)]
Distinguish C- and perly- literals - PERLY_PERCENT_SIGN

3 weeks agoDistinguish C- and perly- literals - PERLY_SNAIL
Branislav Zahradník [Fri, 11 Dec 2020 16:19:14 +0000 (17:19 +0100)]
Distinguish C- and perly- literals - PERLY_SNAIL

3 weeks agoDistinguish C- and perly- literals - PERLY_PLUS
Branislav Zahradník [Fri, 11 Dec 2020 16:19:12 +0000 (17:19 +0100)]
Distinguish C- and perly- literals - PERLY_PLUS

3 weeks agoDistinguish C- and perly- literals - PERLY_MINUS
Branislav Zahradník [Fri, 11 Dec 2020 16:19:11 +0000 (17:19 +0100)]
Distinguish C- and perly- literals - PERLY_MINUS

3 weeks agoDistinguish C- and perly- literals - PERLY_QUESTION_MARK
Branislav Zahradník [Fri, 11 Dec 2020 16:19:10 +0000 (17:19 +0100)]
Distinguish C- and perly- literals - PERLY_QUESTION_MARK

3 weeks agoDistinguish C- and perly- literals - PERLY_COLON
Branislav Zahradník [Fri, 11 Dec 2020 16:19:09 +0000 (17:19 +0100)]
Distinguish C- and perly- literals - PERLY_COLON

3 weeks agoDistinguish C- and perly- literals - PERLY_TILDE
Branislav Zahradník [Fri, 11 Dec 2020 16:19:08 +0000 (17:19 +0100)]
Distinguish C- and perly- literals - PERLY_TILDE

3 weeks agoDistinguish C- and perly- literals - PERLY_EXCLAMATION_MARK
Branislav Zahradník [Fri, 11 Dec 2020 16:19:07 +0000 (17:19 +0100)]
Distinguish C- and perly- literals - PERLY_EXCLAMATION_MARK

3 weeks agoDistinguish C- and perly- literals - PERLY_COMMA
Branislav Zahradník [Fri, 11 Dec 2020 16:19:06 +0000 (17:19 +0100)]
Distinguish C- and perly- literals - PERLY_COMMA

3 weeks agoDistinguish C- and perly- literals - PERLY_AMPERSAND
Branislav Zahradník [Fri, 11 Dec 2020 16:19:05 +0000 (17:19 +0100)]
Distinguish C- and perly- literals - PERLY_AMPERSAND

3 weeks agoDistinguish C- and perly- literals - PERLY_EQUAL_SIGN
Branislav Zahradník [Fri, 11 Dec 2020 16:19:04 +0000 (17:19 +0100)]
Distinguish C- and perly- literals - PERLY_EQUAL_SIGN

3 weeks agoDistinguish C- and perly- literals - PERLY_DOT
Branislav Zahradník [Fri, 11 Dec 2020 16:19:03 +0000 (17:19 +0100)]
Distinguish C- and perly- literals - PERLY_DOT

3 weeks agoDistinguish C- and perly- literals - PERLY_SEMICOLON
Branislav Zahradník [Fri, 11 Dec 2020 16:19:02 +0000 (17:19 +0100)]
Distinguish C- and perly- literals - PERLY_SEMICOLON

3 weeks agoDistinguish C- and perly- literals - PERLY_BRACKET_CLOSE
Branislav Zahradník [Fri, 11 Dec 2020 16:19:01 +0000 (17:19 +0100)]
Distinguish C- and perly- literals - PERLY_BRACKET_CLOSE

3 weeks agoDistinguish C- and perly- literals - PERLY_BRACKET_OPEN
Branislav Zahradník [Fri, 11 Dec 2020 16:19:00 +0000 (17:19 +0100)]
Distinguish C- and perly- literals - PERLY_BRACKET_OPEN

3 weeks agoDistinguish C- and perly- literals - PERLY_BRACE_CLOSE
Branislav Zahradník [Fri, 11 Dec 2020 16:18:59 +0000 (17:18 +0100)]
Distinguish C- and perly- literals - PERLY_BRACE_CLOSE

3 weeks agoDistinguish C- and perly- literals - PERLY_BRACE_OPEN
Branislav Zahradník [Fri, 11 Dec 2020 16:18:57 +0000 (17:18 +0100)]
Distinguish C- and perly- literals - PERLY_BRACE_OPEN

regardless of the fact that both have same value
their meaning is different and should not be mixed

3 weeks agoembed.fnc: Mark gv_check as internal
Karl Williamson [Fri, 24 Jul 2020 14:09:26 +0000 (08:09 -0600)]
embed.fnc: Mark gv_check as internal

The purpose of this function is to raise a parse warning; not something
something outside core should be doing.

3 weeks agoDocument SvPV_renew
Karl Williamson [Wed, 22 Jul 2020 15:41:34 +0000 (09:41 -0600)]
Document SvPV_renew

3 weeks agoProvide code example for 'my' declared in initialization of 'for' loop
James E Keenan [Thu, 5 Nov 2020 02:11:53 +0000 (21:11 -0500)]
Provide code example for 'my' declared in initialization of 'for' loop

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

3 weeks agoList all programs which require regen/embed_lib.pl
James E Keenan [Sun, 27 Dec 2020 00:00:48 +0000 (19:00 -0500)]
List all programs which require regen/embed_lib.pl

4 weeks agonewSVsv_flags is now documented
Karl Williamson [Fri, 25 Dec 2020 01:09:13 +0000 (18:09 -0700)]
newSVsv_flags is now documented

4 weeks agoFix Time::HiRes compile probe on VMS
Craig A. Berry [Thu, 24 Dec 2020 14:48:47 +0000 (08:48 -0600)]
Fix Time::HiRes compile probe on VMS

The probe was checking the severity bits of the compiler exit
status and requiring the value to be 1, which is what they are
for SS$_NORMAL. But actually any true (odd) value is considered
successful. So, for example, if the compile succeeds but emits
"informational messages" that do not rise to the level of warnings
or errors, the severity bits have a value of 3, not 1. The probe
should not fail (and end up halting the build) in this case, so
allow any successful value.

4 weeks agoDon't define Perl_regcurly in re extension
Craig A. Berry [Thu, 24 Dec 2020 14:41:13 +0000 (08:41 -0600)]
Don't define Perl_regcurly in re extension

This makes the linker have to decide (or guess) which of the
identically-named symbols to include.  The VMS linker refuses
and throws a multiply-defined symbol error.

4 weeks agopod_rules.pl: document (in a comment) --tap
Ricardo Signes [Thu, 24 Dec 2020 16:32:49 +0000 (11:32 -0500)]
pod_rules.pl: document (in a comment) --tap

4 weeks agoTest regexp optimizations for substrings
Hugo van der Sanden [Sat, 14 Nov 2020 12:42:31 +0000 (12:42 +0000)]
Test regexp optimizations for substrings

4 weeks agoBetter skipping for regexp optimization tests
Hugo van der Sanden [Fri, 13 Nov 2020 16:15:10 +0000 (16:15 +0000)]
Better skipping for regexp optimization tests

Say why we're skipping; skip min/max tests for substrings if we didn't
get the substring; skip checking test for substrings if we didn't get
the substring we expect to be checked.

4 weeks agoNo plan for regexp optimization tests
Hugo van der Sanden [Fri, 13 Nov 2020 16:13:52 +0000 (16:13 +0000)]
No plan for regexp optimization tests

With a varying number of tests per data line, the plan is too much work
to maintain.

4 weeks agoAllow comments in regexp optimization tests
Hugo van der Sanden [Fri, 13 Nov 2020 15:18:31 +0000 (15:18 +0000)]
Allow comments in regexp optimization tests

4 weeks agoAdd test harness for regexp optimization
Hugo van der Sanden [Thu, 1 Oct 2020 22:58:48 +0000 (23:58 +0100)]
Add test harness for regexp optimization

4 weeks agoBetter documentation for two Porting/*.pl programs
James E Keenan [Sun, 20 Dec 2020 02:03:07 +0000 (21:03 -0500)]
Better documentation for two Porting/*.pl programs

In partial satisfaction of https://github.com/Perl/perl5/issues/18413.

4 weeks agoPorting/pod_rules.pl: no '--test' command-line switch
James E Keenan [Sun, 20 Dec 2020 00:24:05 +0000 (19:24 -0500)]
Porting/pod_rules.pl: no '--test' command-line switch

As is illustrated by the following (trimmed) invocation:

        ./perl -Ilib Porting/pod_rules.pl --test
        Unknown option: test

... there is no '--test' option available for this program.  Remove
inaccurate inline documentation.

In partial satisfaction of https://github.com/Perl/perl5/issues/18413.

4 weeks agoskip trying to constant fold an incomplete op tree
Tony Cook [Tue, 8 Dec 2020 03:28:29 +0000 (14:28 +1100)]
skip trying to constant fold an incomplete op tree

This code would try to constant fold an op tree like

  relop
    +- null
    +- constant

which would underflow the stack, potentially crashing perl.

This is intended as a quick fix rather than as a complete
solution.

Fixes #18380

4 weeks agoRemove workaround for distros needing dot in @INC
James E Keenan [Thu, 10 Dec 2020 14:41:41 +0000 (14:41 +0000)]
Remove workaround for distros needing dot in @INC

In commit 19641fd71a (Apr 07 2017), as part of ceasing to pass '.' to
@INC in tests, we added a workaround to t/TEST for CPAN distributions
which ship with core which were not yet fully adapted to the new
regulation on @INC.

All such CPAN distributions have now been adapted.  Hence, we can remove
the workaround.

4 weeks agoGH #18163: Stricter, cleaned up test example: (#18165)
Sawyer X [Wed, 23 Dec 2020 00:16:01 +0000 (02:16 +0200)]
GH #18163: Stricter, cleaned up test example: (#18165)

* GH #18163: Stricter, cleaned up test example:

This just adds 'my $i' to make the test pass on strict, and it cleans
it up and provides test names for the tests.

I kept the tabs that were used.

* Use relative path

* Indent for readability

* Missing variables

* Add another reference

* Remove '&' in function calls

* Add some hints

* Normalize quoting in WriteMakeFile examples

* Remove explicit quotes

* Apply all additional suggestions

* replace tabs, make line shorter

4 weeks agoMake DynaLoader on MacOS check library existence with dlopen
Leon Timmermans [Thu, 17 Dec 2020 16:05:57 +0000 (17:05 +0100)]
Make DynaLoader on MacOS check library existence with dlopen

A number of system libraries no longer exist as actual files, even
though dlopen will pretend they do, so now we fall back to dlopen if
a library file can not be found.

4 weeks agodo not look for modules under */*/{inc,t} for Module::CoreList
Karen Etheridge [Tue, 22 Dec 2020 19:22:13 +0000 (11:22 -0800)]
do not look for modules under */*/{inc,t} for Module::CoreList

this avoids adding the internal modules inc::QuestionList (from perlfaq) or
Win32API::File::inc::ExtUtils::Myconst2perl (from Win32API-File)

4 weeks agoUpdate ExtUtils-MakeMaker to CPAN version 7.58
Chris 'BinGOs' Williams [Tue, 22 Dec 2020 10:57:59 +0000 (10:57 +0000)]
Update ExtUtils-MakeMaker to CPAN version 7.58

  [DELTA]

7.58    Mon 21 Dec 18:16:04 GMT 2020

    No changes since v7.57_02

7.57_02 Fri 18 Dec 23:04:09 GMT 2020

    Macosx fixes:
    - Improve dlopen check on MacOS

7.57_01 Fri 18 Dec 13:30:30 GMT 2020

    Macosx fixes:
    - Use dlopen to check for library presence on Mac OS (Big Sur fix)

    Bug fixes:
    - check CPAN::Meta::Requirements capabilities rather than prereqs

4 weeks agoWin32API::File::inc::ExtUtils::Myconst2perl is not indexed
Karen Etheridge [Tue, 22 Dec 2020 01:00:42 +0000 (17:00 -0800)]
Win32API::File::inc::ExtUtils::Myconst2perl is not indexed

..and Porting/corelist.pl warns about it

This is a re-application of commit cdac9b8288885
after the change was reversed a month later.

4 weeks agoregexec.c: Silence compiler warning
Karl Williamson [Mon, 21 Dec 2020 22:19:10 +0000 (15:19 -0700)]
regexec.c: Silence compiler warning

4 weeks agoPOSIX.pod: Document [C99] notation
Karl Williamson [Mon, 21 Dec 2020 03:56:35 +0000 (20:56 -0700)]
POSIX.pod: Document [C99] notation

This fixes GH #18404

4 weeks agoPOSIX.xs: Remove redundant #ifdef
Karl Williamson [Mon, 21 Dec 2020 03:52:12 +0000 (20:52 -0700)]
POSIX.xs: Remove redundant #ifdef

HAS_DUPLOCALE is implied by HAS_POSIX_2008_LOCALE; no need to mention it

4 weeks agoglobals.c: Fix typo in comment
Karl Williamson [Mon, 21 Dec 2020 03:51:20 +0000 (20:51 -0700)]
globals.c: Fix typo in comment

4 weeks agot/test.pl: Note 2nd spelling for fcn
Karl Williamson [Mon, 21 Dec 2020 04:04:31 +0000 (21:04 -0700)]
t/test.pl: Note 2nd spelling for fcn

This makes it easier to grep for

4 weeks agoperlapi: Note that my_strftime's result is localized
Karl Williamson [Wed, 16 Dec 2020 20:19:02 +0000 (13:19 -0700)]
perlapi: Note that my_strftime's result is localized

4 weeks agoMerge branch 'perlgov' into blead
Ricardo Signes [Mon, 21 Dec 2020 18:48:55 +0000 (13:48 -0500)]
Merge branch 'perlgov' into blead

4 weeks agoperlgov: add a missing "the" and remove a full stop 18357/head
Ricardo Signes [Fri, 27 Nov 2020 21:19:10 +0000 (16:19 -0500)]
perlgov: add a missing "the" and remove a full stop

4 weeks agoperlgov: formatting tweaks from code review
Ricardo Signes [Wed, 25 Nov 2020 03:01:25 +0000 (22:01 -0500)]
perlgov: formatting tweaks from code review

4 weeks agoperlgov: the perl governance document
Ricardo Signes [Tue, 24 Nov 2020 14:17:46 +0000 (09:17 -0500)]
perlgov: the perl governance document

4 weeks agoregexec.c: Fix failing CI 32-bit tests
Karl Williamson [Mon, 21 Dec 2020 18:04:02 +0000 (11:04 -0700)]
regexec.c: Fix failing CI 32-bit tests

This bug was introduced by bb3825626ed2b1217a2ac184eff66d0d4ed6e070, and
was the result of overflowing a 32 bit space.  The solution is to rework
the expression so that it can't overflow.

4 weeks agoregen/regcharclass.pl: Mark intermediate macros as internal
Karl Williamson [Sat, 17 Oct 2020 12:24:25 +0000 (06:24 -0600)]
regen/regcharclass.pl: Mark intermediate macros as internal

The macros generated by this script may have to be split into sub-macros
to make the overall macro fit the maximum number of characters allowed
by the compiler for a macro definition.  This commit adds a trailing
underscore to the names of such intermediate macros so as to mark them
as non-API for autodoc.

4 weeks agoCorrect one misspelled variable name
James E Keenan [Sun, 20 Dec 2020 22:14:32 +0000 (17:14 -0500)]
Correct one misspelled variable name

Correct one other typo

4 weeks agoperl5335delta grammar nit
Dan Book [Sun, 20 Dec 2020 17:24:24 +0000 (12:24 -0500)]
perl5335delta grammar nit

4 weeks agoperlapi: SvPVbyte_force() and kin: clarify.
Karl Williamson [Sun, 20 Dec 2020 16:52:10 +0000 (09:52 -0700)]
perlapi: SvPVbyte_force() and kin: clarify.

4 weeks agoperlapi: Document newSVsv_flags
Karl Williamson [Sun, 20 Dec 2020 16:43:06 +0000 (09:43 -0700)]
perlapi: Document newSVsv_flags

4 weeks agoembed.fnc: Mark several do_dump fcns as Core only
Karl Williamson [Wed, 22 Jul 2020 12:31:56 +0000 (06:31 -0600)]
embed.fnc: Mark several do_dump fcns as Core only

These appear to be helper functions for various API functions; there are
no uses of them in cpan

4 weeks agoembed.fnc: Mark sv_2uv, etc. as Core only
Karl Williamson [Wed, 22 Jul 2020 12:25:44 +0000 (06:25 -0600)]
embed.fnc: Mark sv_2uv, etc. as Core only

There are documented macros that one is supposed to use instead for this
functionality.

4 weeks agoembed.fnc: Mark stack_grow as Core only
Karl Williamson [Wed, 22 Jul 2020 12:23:16 +0000 (06:23 -0600)]
embed.fnc: Mark stack_grow as Core only

This is a helper function used by such things as SSGROW; there is no
cpan usage

4 weeks agoembed.fnc: Mark scan_num as Core only
Karl Williamson [Wed, 22 Jul 2020 12:19:36 +0000 (06:19 -0600)]
embed.fnc: Mark scan_num as Core only

This is used by the toker to scan a number; there is no cpan usage

4 weeks agoembed.fnc: Mark cx_dump as Core only
Karl Williamson [Wed, 22 Jul 2020 12:16:28 +0000 (06:16 -0600)]
embed.fnc: Mark cx_dump as Core only

This appears to be for internal debugging; there is no cpan usage

4 weeks agoembed.fnc: Mark av_arylen_p, av_iter_p as Core only
Karl Williamson [Wed, 22 Jul 2020 12:07:30 +0000 (06:07 -0600)]
embed.fnc: Mark av_arylen_p, av_iter_p as Core only

These appear to be internal functions, and there is no cpan usage

The macro GIMME_V is what one is supposed to use for this functionality.

4 weeks agoembed.fnc: Mark doing_taint as Core only
Karl Williamson [Wed, 22 Jul 2020 12:02:56 +0000 (06:02 -0600)]
embed.fnc: Mark doing_taint as Core only

This appears to be for internal use, and there are no cpan usages