summaryrefslogtreecommitdiff
path: root/dist
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* dist/threads - bump version to make cmp_version happyYves Orton2023-02-221-2/+2
| | | | | | | Its the usual issue, that an old PR that bumps a modules version may look fine in CI as it does not look like a conflict as another patch has bumped the version to the same number, but cmp_version.t notices and complains
* Use ppport.h when building dist/ modules in coreLeon Timmermans2023-02-2216-57/+36
| | | | By always including `ppport.h`, this simplifies both XS code and tooling around it.
* Prepare Module::CoreList for 5.37.10Karen Etheridge2023-02-203-2/+31
|
* Update Module::CoreList for 5.37.9Karen Etheridge2023-02-201-0/+131
|
* Update dist/Tie-File to match CPAN 1.07 release.Todd Rinaldo2023-02-201-0/+9
| | | | Changelog updated.
* Update Trig.pm積丹尼 Dan Jacobson2023-02-191-1/+2
| | | | Document $way default. Fix for #20721.
* Devel-PPPort - silence maybe-uninitialized warnings on gcc-12Yves Orton2023-02-192-5/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | GCC-12 seems to have a propensity to warning about maybe-uninitialized variables a lot more than it should. Most of the cases I have looked into it turns out to be a false positive, but at the same time, it is pretty simple to fix this kind of thing, so just fix it so the darn thing will shut up. This one just initializes some variables to NULL at the start of a test function. Fixes the following (slightly elided) warning. gcc-12 -c ... -Og -g ... -W -Wall RealPPPort.c In file included from ../../perl.h:6197, from RealPPPort.xs:31: ../../embed.h: In function ‘XS_Devel__PPPort_OpSIBLING_tests’: ../../embed.h:461:49: warning: ‘lastkid’ may be used uninitialized [-Wmaybe-uninitialized] 461 | # define op_free(a) Perl_op_free(aTHX_ a) ^~~~~~~~~~~~ RealPPPort.xs:1741:21: note: ‘lastkid’ was declared here 1741 | OP *lastkid; | ^~~~~~~ Fixes Github Issue #20816
* Update Changes and bump version in Maintainers for IO,FindBin,ExporterTodd Rinaldo2023-02-062-0/+18
| | | | Fixes sync discrepancies with CPAN
* Correct code-like snippet in documentationJames E Keenan2023-02-032-3/+3
| | | | | | Make it a close-bracket to pair with open-bracket. Bump $VERSION in Math-Complex .pm files to keep porting tests happy.
* t/29a_upcopy.t - under parallel builds allow more time for testYves Orton2023-02-014-11/+14
| | | | | | | | | | | | | | | | Karl has reported that he has issues with t/29a_upcopy.t under parallel builds. I can not see any file based race conditions, but I can see code using alarm around a test I can easily imagine would be too short for a loaded box running many tests in parallel. This patch allows the test to use 20 seconds instead of 10 if TEST_JOBS or HARNESS_OPTIONS are defined in the environment. Hopefully this fixes tests on Karls box. In a previous commit Dave M raised this from 5 to 10 seconds, so lets double it again and see if Karls errors go away. In an abundance of caution I also adjusted the other two cases of using alarm() in this file to use the same logic and produce similar style error messages.
* Prepare Module::CoreList for 5.37.9reneeb2023-01-213-2/+31
|
* Update Module::CoreList for 5.37.8reneeb2023-01-201-6/+59
|