summaryrefslogtreecommitdiff
path: root/dist
Commit message (Collapse)AuthorAgeFilesLines
* Add missing ccflags on VMS to dist/Time-HiRes/Makefile.PLCraig A. Berry2023-05-161-1/+1
| | | | | | | | | | | The absence of these flags has never previously caused a problem for running the probes, but on OpenVMS x86, warnings about long symbols cause the probes to fail, probably because those symbols are not getting optimized out as early in the new compiler. This in turn causes the build to fail due to defining a homegrown clockid_t which conflicts with the system version. So add the flags that specify symbol handling (as well as everything else being used to build Perl).
* bump $ExtUtils::ParseXS.*::VERSIONTony Cook2023-05-0911-11/+11
| | | | | | | | | # Conflicts: # dist/ExtUtils-ParseXS/lib/ExtUtils/Typemaps.pm # dist/ExtUtils-ParseXS/lib/ExtUtils/Typemaps/Cmd.pm # dist/ExtUtils-ParseXS/lib/ExtUtils/Typemaps/InputMap.pm # dist/ExtUtils-ParseXS/lib/ExtUtils/Typemaps/OutputMap.pm # dist/ExtUtils-ParseXS/lib/ExtUtils/Typemaps/Type.pm
* EU::PXS: initialize $self correctly in EU::PXS::Utilities::death()Tony Cook2023-05-093-2/+36
| | | | | Encountered as an attempt to reference "2" from mis-typed parameter type.
* Make versions in ExtUtils-ParseXS consistentLeon Timmermans2023-05-085-5/+5
|
* dist/IO: replace "define\t" with "define "Yves Orton2023-04-2913-22/+25
| | | | | | | | This cleans up the defines in dist/IO/poll.h. "#define\t" is annoying as it is it 8 spaces wide, so it looks like "#define ", yet will not be found in a grep for "define foo" as the space is actually a tab.
* Update Module-CoreList with data for 5.36.1Steve Hay2023-04-233-0/+29
|
* Prepare Module-CoreList for 5.37.12Steve Hay2023-04-203-2/+31
|
* Update Module::CoreList for 5.37.11Steve Hay2023-04-201-0/+45
|
* Module::CoreList - complete post-5.37.10 preparation for 5.37.11Steve Hay2023-04-203-2/+7
|
* .PHONY not portable in dist/Locale-Maketext/Makefile.PLCraig A. Berry2023-04-152-3/+10
| | | | | | | | | It breaks the build on VMS because .PHONY is a syntax error in the native make-like utilities. It probably also breaks nmake builds on Windows. The solution here is to exclude the .PHONY directive unless running under gmake or bsdmake.
* Devel::PPPort: Fix broken pod linkKarl Williamson2023-04-131-1/+1
| | | | | | | | | ppport.h is pod, but the link to it, removed by this commit, is broken, resulting in a 404 "Raptor not found" from https://perldoc.perl.org/Devel::PPPort#SEE-ALSO This commit changes the mention of the file from a link to a F<>.
* threads.xs: Set non thread context in ithread_set()Karl Williamson2023-04-041-0/+3
| | | | | This generally was getting set anyway, but a test yet to be committed found a case where it wasn't.
* ParseXS: Correct colon translation of $type in OUTPUT sectionLeon Timmermans2023-03-301-1/+2
| | | | | | The $type variable in typemaps is documented as in perlxstypemap as "any : replaced with _", however currently it only does so in INPUT sections. This will also make it do the same in OUTPUT sections.
* dist/Net-Ping - remove HPUX from the exclusions list in 450_service.tYves Orton2023-03-292-3/+3
| | | | We pass these tests just fine on HPUX 11.31.
* threads-shared - use pure pragma version of CLANG_DIAG_IGNOREYves Orton2023-03-292-4/+4
| | | | | | | | | | | Otherwise HPUX complains about unreachable statements. "shared.xs", line 707: warning #2111-D: statement is unreachable CLANG_DIAG_RESTORE_STMT; ^ This version should do the same thing, the only difference being it doesnt allow a semicolon on the macro call.
* dist/threads - use pure pragma form of CLANG_DIAG_IGNORE in threads.xsYves Orton2023-03-292-4/+4
| | | | | | | Otherwise on HPUX we get warnings "threads.xs", line 1057: warning #2111-D: statement is unreachable CLANG_DIAG_IGNORE_STMT(-Wthread-safety);
* Devel-PPPort - deal with signed klen in check_HeUTF8Yves Orton2023-03-292-3/+3
| | | | | | Some of the HV logic uses a negative key length to indicate utf8 keys, and this logic was using an unsigned keylength, which obviously does not work
* ExtUtils-ParseXS - silence warnings about unreached code in generated XS codeYves Orton2023-03-297-6/+24
| | | | | | | | | | On HPUX we get a lot of: "APItest.c", line 4004: warning #2111-D: statement is unreachable: PUTBACK because people have used something like XSRETURN(1); and we generate code that does PUTBACK; return; Adding a pragma to silence it makes the builds happier;
* Bump version to 5.37.11, update Module-CoreListYves Orton2023-03-212-0/+24
| | | | | | | | | | Module-CoreList was synced with CPAN and had its version in Porting/Maintainers.pl updated. Module-CoreList was also updated by running: ./perl -Ilib Porting/corelist.pl cpan With some manual fixups afterwards to make it pass test.
* Update Module::CoreList for 5.37.10Yves Orton2023-03-201-0/+103
|
* regen/embed.pl - change _aDEPTH and _pDEPTH to not have a leading underbarYves Orton2023-03-191-1/+1
| | | | | | | | | | | | | | The leading underbar is reserved by C. These defines are debugging only "recursion" depth related counters injected into the function macro wrappers when a function is marked as 'W', much the same way that aTHX_ and pTHX_ are when building under threaded builds. The functions are expected to incremented the depth parameter themselves. Note that "recursion" is quoted above because in practice currently they are only used by the regex engine when recursing virtually, and they do not relate to true C stack related recursion. (But they could be used for tracking C level recursion under debugging if someone needed it.)
* Mark vtbl argument in sv_unmagicext const in PPPort as wellLeon Timmermans2023-03-182-2/+2
|
* threads-shared - fixup typo in commentYves Orton2023-03-182-3/+3
|
* dist/if: clean up Makefile.PLGraham Knop2023-03-141-9/+13
| | | | | | Fix INSTALLDIRS for perls after 5.10. Add and update resource links.
* dist/if: add Makefile.PL from CPAN releaseGraham Knop2023-03-142-0/+24
| | | | Makefile.PL taken from if 0.0608
* dist/encoding-warnings: update changelogGraham Knop2023-03-141-0/+12
|
* dist/encoding-warnings: convert Changes to a format parsable by ↵Graham Knop2023-03-141-18/+20
| | | | CPAN::Changes or metacpan
* dist/encoding-warnings: add Makefile.PL and ChangesGraham Knop2023-03-143-0/+50
| | | | | The CPAN dist uses Module::Install, so the Makefile.PL is rewritten to use standard ExtUtils::MakeMaker.
* Time::HiRes: allow not checking atime between stat and lstatTony Cook2023-03-082-1/+8
| | | | | | | | | | | On a system with some sort of filesystem monitor such as a virus scanner the atime of the file can be modified by that monitor causing the test to fail. Testers can set PERL_FILE_ATIME_CHANGES to a true value to avoid comparing atime between the stat() and lstat() calls. Fixes #19321
* Trig.pm: Don't negatively judge Siberia in podKarl Williamson2023-03-041-1/+1
| | | | | | | | | | | | | | | | | | | | The pod referred to a point as being in "frozen wastes". But that judgement is a distraction from the point of the text, and not actually true. I looked at the spot in Google Maps. This area in the summer is verdant, with many rivers and lakes. It is part of the https://en.wikipedia.org/wiki/Putorana_Plateau. The closest place I could (without expending much effort) find a non-satellite photograph of is 60km away: https://en.wikipedia.org/wiki/File:Putorana2._Lama_lake..jpg Doesn't seem like a wasteland to me. And for history buffs, the plateau contains part of the Siberian Traps, remnants of volanic eruptions generally implicated as a cause of the largest known extinction event, terminating the Permian.
* dist/constant - synchronize Changes and Makefile.PL into coreYves Orton2023-03-043-0/+159
| | | | | Minor changes to the Makefile.PL to point at the github repo for perl, and cleaned trailing whitespace from Changes file.
* dist/Filter-Simple - synchronize Makefile.PL and Changes from CPANYves Orton2023-03-033-0/+175
| | | | | | | Minor changes to Makefile.PL: whitespace, INSTALLDIRS, and added a require 5.006 as the module uses 'our', and removed some logic that is thus redundant for building on perl versions earlier than 5.006. Also changed license from 'perl' to 'perl_5'
* dist/Exporter - Synchronize Changes and Makefile.PL from CPAN releaseYves Orton2023-03-033-0/+135
| | | | | | | | Minor tweaks to Makefile.PL to reflect that the file require 5.006, so no need to do anything special for 5.005. Also fixed the LICENSE field to be 'perl_5' and not 'perl'. I did whitespace cleanup on Changes at the same time.
* dist/FindBin - synchronize Makefile.PL from cpan releaseYves Orton2023-03-032-0/+42
| | | | Tweaked license to be 'perl_5' and not 'perl'.
* dist/Locale-Maketext - synch Makefile.PL from CPANYves Orton2023-03-032-0/+46
|
* dist/Thread-Queue - add missing build artifactsYves Orton2023-03-025-0/+300
| | | | | | Add Changes, Makefile.PL and examples directory. Fixes this module for https://github.com/Perl/perl5/issues/20874
* dist/Thread-Semaphore - add missing build artifactsYves Orton2023-03-024-0/+121
| | | | | | Adds Changes, Makefile.PL, and examples/semaphore.pl Fixes this module for https://github.com/Perl/perl5/issues/20874
* dist/SelfLoader - Update missing build artifactsYves Orton2023-03-023-0/+63
| | | | | | Fixes https://github.com/Perl/perl5/issues/20874 for this module Tweaked Makefile.PL to set the license to 'perl_5' and not 'perl'
* dist/Math-Complex - add missing files from CPAN distYves Orton2023-03-024-0/+545
| | | | | | This fixes this module for https://github.com/Perl/perl5/issues/20874 Tweaked Makefile.PL to set the LICENSE to 'perl_5' and not 'perl'
* Attribute-Handlers: add Makefile.PLGraham Knop2023-03-022-0/+25
| | | | | | | | | | | | | Add a Makefile.PL for Attribute-Handlers in core so that it can be maintained properly. This avoids the need for an external repo to maintain these extra files. Taken from Attribute-Handlers-0.99, with the following modifications: - install in site, not perl - Fix license, and don't try to handle ancient perl or EUMM versions - update metadata URLs - no indexing demo directory
* dist/Test - add missing build artifactsYves Orton2023-03-023-0/+192
| | | | | | | | Fixes this module for https://github.com/Perl/perl5/issues/20874 Note the Makefile.PL was tweaked a bit to install into the right place depending on version, and with an added comment. There are some very old perls listed here.
* dist/I18N-LangTags - Add Makefile.PL from CPANYves Orton2023-03-022-0/+28
| | | | | | | For some reason the CPAN module is not properly indexed. It is https://metacpan.org/release/SBURKE/I18N-LangTags-0.35. This fixes this module for https://github.com/Perl/perl5/issues/20874
* dist/Net-Ping - add missing build artifactsYves Orton2023-03-023-0/+110
| | | | | | | | Files copied from https://github.com/rurban/Net-Ping with minor changes made to point at the perl5 repo as we are upstream, also changed the INSTALLDIRS rule to make the other files. This fixes the module for https://github.com/Perl/perl5/issues/20874
* dist/Tie-File - add missing build artifactsYves Orton2023-03-022-0/+34
| | | | Fixes https://github.com/Perl/perl5/issues/20874 for this module
* bump $Math::{Complex,Trig}::VERSIONTony Cook2023-03-012-2/+2
|
* Math::Trig: make the great_circle_midpoint() example more complete積丹尼 Dan Jacobson2023-03-011-1/+3
| | | | | Yes, "or about 69 N 89 E, in the frozen wastes of Siberia." but must reveal the crucial missing step involved!
* dist/Time-HiRes - silence ppport warningYves Orton2023-02-262-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | Silences the following warning: In file included from HiRes.xs:23: ./ppport.h:14832:1: warning: unused function 'DPPP_my_ck_warner' [-Wunused-function] DPPP_(my_ck_warner)(pTHX_ U32 err, const char *pat, ...) ^ ./ppport.h:11568:21: note: expanded from macro 'DPPP_' #define DPPP_(name) DPPP_CAT2(DPPP_NAMESPACE, name) ^ ./ppport.h:11567:24: note: expanded from macro 'DPPP_CAT2' #define DPPP_CAT2(x,y) CAT2(x,y) ^ ../../config.h:1387:19: note: expanded from macro 'CAT2' #define CAT2(a,b) PeRl_CaTiFy(a,b) ^ ../../config.h:1385:27: note: expanded from macro 'PeRl_CaTiFy' #define PeRl_CaTiFy(a, b) a ## b ^ <scratch space>:34:1: note: expanded from here DPPP_my_ck_warner ^ 1 warning generated.
* dist/Storable - fix build warning from ppport.h inclusionYves Orton2023-02-262-2/+1
| | | | | | | | | | | | | | | | | | | | | | | | | Silence warning about PL_parser. As far as I can tell we do not use it. In file included from ../../perl.h:28, from Storable.xs:16: ppport.h:11564:26: warning: ‘DPPP_dummy_PL_parser’ defined but not used [-Wunused-variable] 11564 | # define DPPP_NAMESPACE DPPP_ | ^~~~~ ../../config.h:1385:27: note: in definition of macro ‘PeRl_CaTiFy’ 1385 | #define PeRl_CaTiFy(a, b) a ## b | ^ ppport.h:11567:24: note: in expansion of macro ‘CAT2’ 11567 | #define DPPP_CAT2(x,y) CAT2(x,y) | ^~~~ ppport.h:11568:21: note: in expansion of macro ‘DPPP_CAT2’ 11568 | #define DPPP_(name) DPPP_CAT2(DPPP_NAMESPACE, name) | ^~~~~~~~~ ppport.h:11568:31: note: in expansion of macro ‘DPPP_NAMESPACE’ 11568 | #define DPPP_(name) DPPP_CAT2(DPPP_NAMESPACE, name) | ^~~~~~~~~~~~~~ ppport.h:12222:18: note: in expansion of macro ‘DPPP_’ 12222 | static yy_parser DPPP_(dummy_PL_parser); | ^~~~~
* Replace 'experimental::smartmatch' by 'deprecated' in testsPhilippe Bruhat (BooK)2023-02-251-1/+1
|
* Prefer scalar assignment to get caller's first return valueRichard Leach2023-02-221-2/+2
| | | | | | | | | | | | | | | | | | | | | | | Multiple forms of syntax can be used to obtain a package name from `caller`, which emits this as its first return value, and assign that name to a lexical scalar. The following each achieve the same result, but with varying efficiency: * `sub callme { my $package = caller(2); ...}` * `sub callme { my ($package) = caller(2); ...}` * `sub callme { my $package = (caller(2))[0]; ...}` In the first example, `pp_caller` determines only the package name and pushes it to the stack. In the other two examples, the other 10 of `caller`'s return values are calculated and pushed onto the stack, before being discarded. This commit changes non-CPAN-first instances of the latter two forms in core to the first form. Note: There is a special exception to the equivalence described above, when caller is use in list context within the DB package. Such a usage instance in regen/warnings.pl therefore remains unchanged.