This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Tomasz Konojacki [Thu, 29 Oct 2020 17:58:10 +0000 (18:58 +0100)]
win32: remove support for disabling USE_LARGE_FILES
It was enabled by default on all compilers. I don't think it ever
makes sense to disable it.
Karl Williamson [Sat, 17 Oct 2020 12:55:50 +0000 (06:55 -0600)]
Restrict scope/Shorten some very long macro names
The names were intended to force people to not use them outside their
intended scopes. But by restricting those scopes in the first place, we
don't need such unwieldy names
Karl Williamson [Wed, 22 Jul 2020 22:16:41 +0000 (16:16 -0600)]
embed.fnc: Mark reginitcolors as Core only
This is used for internal initialization, and there are no uses on cpan
Karl Williamson [Sun, 6 Sep 2020 16:17:42 +0000 (10:17 -0600)]
perlapi: Consolidate Sv{INU]VX-ish entries
Tony Cook [Sun, 22 Nov 2020 23:57:25 +0000 (10:57 +1100)]
Update gitignore files to reflect files in repo
Graham Knop [Thu, 19 Nov 2020 11:09:55 +0000 (12:09 +0100)]
fix splittree.pl ignore to only apply to root
There is a real splittree.pl in NetWare/, which may be copied to the
root. Ignore the file in the root, but not the file in NetWare/.
Graham Knop [Thu, 19 Nov 2020 11:08:48 +0000 (12:08 +0100)]
remove ignore for perlvms.pod, which is a real file now
Graham Knop [Thu, 19 Nov 2020 11:08:19 +0000 (12:08 +0100)]
move ignore for re into its own dists gitignore
Graham Knop [Thu, 19 Nov 2020 11:07:50 +0000 (12:07 +0100)]
move ignore for XS-APItest into dists own gitignore
Graham Knop [Thu, 19 Nov 2020 11:06:20 +0000 (12:06 +0100)]
remove ignore for Test-Harness directory which no longer exists
Graham Knop [Thu, 19 Nov 2020 11:05:27 +0000 (12:05 +0100)]
remove ignore for dl_win32.xs, since it is a real file now
Graham Knop [Thu, 19 Nov 2020 11:02:15 +0000 (12:02 +0100)]
add gitignore exclusions for files in git
There are a number of files excluded using gitignore rules that are
included in the repository. This can lead to confusion if something
other than git tries to read the ignore files.
Add rules to the gitignore files so that these files won't be ignored.
Karl Williamson [Sun, 6 Sep 2020 16:08:14 +0000 (10:08 -0600)]
sv.h: Add comments
Karl Williamson [Sun, 22 Nov 2020 22:45:05 +0000 (15:45 -0700)]
regcharclass.h: Simplify some expressions
The regen script was improperyly collapsing two-element ranges into two
separate elements, which caused extraneous code to be generated.
Karl Williamson [Sun, 22 Nov 2020 16:36:20 +0000 (09:36 -0700)]
Slience compiler warnings for NV, [IU]V compare
These were occurring on FreeBSD smokes.
warning: implicit conversion from 'IV' (aka 'long') to 'double' changes value from
9223372036854775807 to
9223372036854775808 [-Wimplicit-int-float-conversion]
9223372036854775807 is IV_MAX. What needed to be done here was to use
the NV containing IV_MAX+1, a value that already exists in perl.h
In other instances, simply casting to an NV before doing the comparison
with the NV was what was needed.
This fixes #18328
Karl Williamson [Sun, 6 Sep 2020 04:04:22 +0000 (22:04 -0600)]
perlapi: Consolidate sv_vsetpvf-ish entries
Karl Williamson [Sun, 6 Sep 2020 03:50:10 +0000 (21:50 -0600)]
perlapi: Consolidate sv_catpv-ish entries
Karl Williamson [Sat, 14 Nov 2020 23:22:28 +0000 (16:22 -0700)]
Document dTHXa, dTHXoa
Karl Williamson [Wed, 22 Jul 2020 23:02:37 +0000 (17:02 -0600)]
Document isGV_with_GP
Karl Williamson [Thu, 27 Aug 2020 12:59:49 +0000 (06:59 -0600)]
Document NUM2PTR
or at least lead people to use something better
Karl Williamson [Sat, 7 Nov 2020 20:17:05 +0000 (13:17 -0700)]
Mark despatch_signals as core only
Karl Williamson [Sat, 21 Nov 2020 19:24:53 +0000 (12:24 -0700)]
sv.c: Add missing pod markup
The item referred to in a L<> is in perlapi, so should be marked as
internal to the same pod.
Karl Williamson [Sun, 6 Sep 2020 04:12:01 +0000 (22:12 -0600)]
perlapi: Consolidate sv_vcatpvf-ish entries
Karl Williamson [Sun, 6 Sep 2020 04:08:38 +0000 (22:08 -0600)]
perlapi: Consolidate sv_catpvf-ish entries
Karl Williamson [Sun, 6 Sep 2020 04:03:24 +0000 (22:03 -0600)]
perlapi: Consolidate sv_setpvf-ish entries
Karl Williamson [Sun, 6 Sep 2020 03:55:34 +0000 (21:55 -0600)]
perlapi: Consolidate sv_setpviv-ish entries
Sawyer X [Sat, 21 Nov 2020 12:00:58 +0000 (14:00 +0200)]
Note down all future releasers for this cycle
Karl Williamson [Tue, 22 Sep 2020 13:20:52 +0000 (07:20 -0600)]
Various COPHH macros have a non-const parameter
The pod says these are const, but they won't compile if actually called
with one.
Karl Williamson [Sun, 6 Sep 2020 03:54:15 +0000 (21:54 -0600)]
perlapi: Consolidate newSVsv-ish entries
Karl Williamson [Sun, 6 Sep 2020 03:51:18 +0000 (21:51 -0600)]
perlapi: Consolidate sv_inc-ish entries
Karen Etheridge [Fri, 20 Nov 2020 17:43:31 +0000 (09:43 -0800)]
fix perlfaq version in perldelta
Tom Hukins [Fri, 20 Nov 2020 17:27:45 +0000 (17:27 +0000)]
Fix documentation grammar
Replace "Frees the all the" with "Frees all the". The original wording
was introduced in
c2217cd33590ef654 and
a4395ebabc8655115.
Tom Hukins [Fri, 20 Nov 2020 17:20:05 +0000 (17:20 +0000)]
Prepare Module::CoreList for 5.33.5
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