[Perl/perl5] 4f6ecd: Make PerlIO::get_layers accept IO references
Branch: refs/heads/leont/getlayers-io Home: https://github.com/Perl/perl5 Commit: 4f6ecdc75aa41a753ba99761dab66d79d1755ff2 https://github.com/Perl/perl5/commit/4f6ecdc75aa41a753ba99761dab66d79d1755ff2 Author: Leon Timmermans Date: 2022-08-10 (Wed, 10 Aug 2022) Changed paths: M pod/perldelta.pod M t/io/layers.t M universal.c Log Message: --- Make PerlIO::get_layers accept IO references
[Perl/perl5] c52f54: run/locale.t: Skip localeconv test if not on system
Branch: refs/heads/blead Home: https://github.com/Perl/perl5 Commit: c52f54c8521c6155984dba0a0675d3220170468b https://github.com/Perl/perl5/commit/c52f54c8521c6155984dba0a0675d3220170468b Author: Karl Williamson Date: 2022-08-10 (Wed, 10 Aug 2022) Changed paths: M t/run/locale.t Log Message: --- run/locale.t: Skip localeconv test if not on system
[Perl/perl5] 72c16d: loc_tools: Create function, refactor
Branch: refs/heads/smoke-me/khw-locale4 Home: https://github.com/Perl/perl5 Commit: 72c16d3b9bb9a8652c46e9386cb64ae60d94378b https://github.com/Perl/perl5/commit/72c16d3b9bb9a8652c46e9386cb64ae60d94378b Author: Karl Williamson Date: 2022-08-10 (Wed, 10 Aug 2022) Changed paths: M t/loc_tools.pl Log Message: --- loc_tools: Create function, refactor category_excluded() is a better name for what the current name 'is_category_valid" does. And it turns out that we need to use this function on (those few) systems that don't have LC_CTYPE to avoid executing code that depends on LC_CTYPE. And we do need an improved is_category_valid() for other checks. Commit: 61896cbde456b6b22cf8491bbc58bb71a761da2f https://github.com/Perl/perl5/commit/61896cbde456b6b22cf8491bbc58bb71a761da2f Author: Karl Williamson Date: 2022-08-10 (Wed, 10 Aug 2022) Changed paths: M t/loc_tools.pl Log Message: --- loc_tools.pl: Move code in file This is for future commits to call after it is defined Commit: 2beaee1b8a9711e347046c46b43c5f91df063616 https://github.com/Perl/perl5/commit/2beaee1b8a9711e347046c46b43c5f91df063616 Author: Karl Williamson Date: 2022-08-10 (Wed, 10 Aug 2022) Changed paths: M t/loc_tools.pl Log Message: --- t/loc_tools.pl: Print better failing test numbers This test module is 'required' from other perl test files. If it encounters an error, it doesn't know how to report it. What it does is call fail() if available, and a home-grown one otherwise. Prior to this commit the home-grown version just made all tests number 0. This commit changes that to make them sequentially numbered from a very high starting one, so as not to interfere with the outer calls. Commit: 9ff37908fe83f8016a783f3a600559822ce2d35a https://github.com/Perl/perl5/commit/9ff37908fe83f8016a783f3a600559822ce2d35a Author: Karl Williamson Date: 2022-08-10 (Wed, 10 Aug 2022) Changed paths: M t/loc_tools.pl Log Message: --- t/loc_tools.pl: Refactor _trylocale() This function is used to see if a locale actually works on the current platform. I was not fully aware of the glitches if a category is in one locale, and LC_CTYPE is in another. This makes sure they are both the same; and this results in some simplification. Commit: 547c2c43c1aeb98cc80dc55eadd87b645900cf41 https://github.com/Perl/perl5/commit/547c2c43c1aeb98cc80dc55eadd87b645900cf41 Author: Karl Williamson Date: 2022-08-10 (Wed, 10 Aug 2022) Changed paths: M t/loc_tools.pl Log Message: --- t/loc_tools.pl: Fail earlier Move the code that returns failure into the loop, so won't keep iterating if failure is going to happen anyway. Commit: bb921aa31788dfd0dbc3c19cea5e4ce8295d6bb5 https://github.com/Perl/perl5/commit/bb921aa31788dfd0dbc3c19cea5e4ce8295d6bb5 Author: Karl Williamson Date: 2022-08-10 (Wed, 10 Aug 2022) Changed paths: M t/loc_tools.pl Log Message: --- t/loc_tools.pl: Add checks This verifies that we can restore a locale that we were previously in, and makes sure that we don't stay in a locale that doesn't work well. Doing so has led to crashes. Commit: 4e85aea22a49b640080e685aabd1d8a2fc0cd6d6 https://github.com/Perl/perl5/commit/4e85aea22a49b640080e685aabd1d8a2fc0cd6d6 Author: Karl Williamson Date: 2022-08-10 (Wed, 10 Aug 2022) Changed paths: M t/loc_tools.pl Log Message: --- t/loc_tools.pl: Don't allow commas in locale names This was a problem in some buggy Windows versions. This addition keeps locales with this bug from being tested. Commit: 9da158cf26266ddc9fcdbd5c47c98260afb291aa https://github.com/Perl/perl5/commit/9da158cf26266ddc9fcdbd5c47c98260afb291aa Author: Karl Williamson Date: 2022-08-10 (Wed, 10 Aug 2022) Changed paths: M t/loc_tools.pl Log Message: --- t/loc_tools.pl: Check for unsupported locales This commit causes us not to view unsupported locales as legitimate for testing. Core dumps occurred on some platforms without this. It looks for a diagnostic that the next commit in this series will generate. Commit: 18e0d2a534d231259ed5a6f1f15bafaa72b10a12 https://github.com/Perl/perl5/commit/18e0d2a534d231259ed5a6f1f15bafaa72b10a12 Author: Karl Williamson Date: 2022-08-10 (Wed, 10 Aug 2022) Changed paths: M t/loc_tools.pl Log Message: --- t/loc_tools.pl: White-space only Commit: 3105d23e598fc5fae4c4583cf0501423e2d065a4 https://github.com/Perl/perl5/commit/3105d23e598fc5fae4c4583cf0501423e2d065a4 Author: Karl Williamson Date: 2022-08-10 (Wed, 10 Aug 2022) Changed paths: M t/loc_tools.pl Log Message: --- t/loc_tools.pl: Turn off warnings in a timely manner It doesn't matter much, but some warnings might be output by doing the 'use locale' before turning off warnings.
[Perl/perl5] 544171: Add missing merge message for 5a04f3b4c9..58236863a5
Branch: refs/heads/blead Home: https://github.com/Perl/perl5 Commit: 544171f79ec3e50bb5003007e9f4ebb9a7e9fe84 https://github.com/Perl/perl5/commit/544171f79ec3e50bb5003007e9f4ebb9a7e9fe84 Author: Karl Williamson Date: 2022-08-10 (Wed, 10 Aug 2022) Changed paths: Log Message: --- Add missing merge message for 5a04f3b4c9..58236863a5 This series of commits was supposed to be added as a single merge commit of the entire series, with the message below, but it didn't work out. So this is an attempt to semi-rectify things by at least giving the message in the vicinity of the commits (this empty commit is three commits after the final one of the series): The message was "Merge branch from pull request #19945 into blead "This is the third set of commits (of eventually 250) dealing with locale handling. "This set fixes bugs involved in POSIX 2008 locale handling, and they make the code for it cleaner, fixing the bug reported in http://nntp.perl.org/group/perl.perl5.porters/264263 "There are fixes to rarely encountered initialization problems. "These also fix some bugs and failures to compile on various lesser-used Configurations, as well as improving the debugging and making the debugging statements less intrusive in the source code." Also here is the short log of those commits, in order: 5a04f3b4c9 sv.c: Move some initialization inside #ifdef sv.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) fcbef0e88b intrpvar.h: Fix when certain locale symbols get defined intrpvar.h | 12 1 file changed, 4 insertions(+), 8 deletions(-) 7b5ca0e3b0 Temporarily skip on Windows ext/I18N-Langinfo/t/Langinfo.t | 2 ++ 1 file changed, 2 insertions(+) f3e902221c Make two locale PL_ strings const char* embed.fnc | 2 +- intrpvar.h | 2 +- locale.c | 25 - proto.h| 2 +- 4 files changed, 19 insertions(+), 12 deletions(-) 82e2ef2746 Reorder some locale functions in embed.fnc embed.fnc | 45 + embed.h | 14 +++--- proto.h | 22 +++--- 3 files changed, 39 insertions(+), 42 deletions(-) 32899cfbfb locale.c: Generalize stdize_locale() embed.fnc | 6 +- embed.h| 2 +- embedvar.h | 2 + intrpvar.h | 2 + locale.c | 185 +++-- perl.c | 5 ++ proto.h| 5 +- sv.c | 3 + 8 files changed, 164 insertions(+), 46 deletions(-) 50ffb02bd2 locale.c: Refactor some derived #defines locale.c | 14 +++--- 1 file changed, 7 insertions(+), 7 deletions(-) a7ff7aca38 locale.c: Use setlocale() for init, not P2008 locale.c | 18 ++ 1 file changed, 14 insertions(+), 4 deletions(-) 57eeab0b3f setlocale_failure_panic_i now used more generally embed.fnc | 2 -- embed.h | 8 +--- locale.c | 14 ++ proto.h | 16 +--- 4 files changed, 12 insertions(+), 28 deletions(-) f2780a3f41 locale.c: Split aggregate LC_ALL from emulate_setlocale embed.fnc | 2 + embed.h | 1 + locale.c | 241 ++ proto.h | 3 + 4 files changed, 140 insertions(+), 107 deletions(-) 0998f1fdef locale.c: Avoid loop; panic on unexpected condition. locale.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) 2ee51ed736 locale.c: Comments; move declarations to use point locale.c | 85 1 file changed, 48 insertions(+), 37 deletions(-) 9ec822ee8e locale.c: Change internal variable name embed.fnc | 2 +- locale.c | 42 +- proto.h | 2 +- 3 files changed, 23 insertions(+), 23 deletions(-) 74a90e54e0 locale.c: Clean up handling of a glibc bug locale.c | 45 + 1 file changed, 29 insertions(+), 16 deletions(-) 11d8dd19b4 locale.c: Split ancillary from S_emulate_setlocale embed.fnc | 6 ++- embed.h | 3 +- locale.c | 144 +++--- proto.h | 5 ++- 4 files changed, 101 insertions(+), 57 deletions(-) c61e7ca793 locale.c: locale "" can be disparate locale.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 9444acab0f Split off setting locale to "" from S_emulate_setlocale embed.fnc | 1 + embed.h | 1 + locale.c | 183 +++--- proto.h | 2 + 4 files changed, 82 insertions(+), 105 deletions(-) c6efbad02a sv.c: Duplicate more variables during cloning sv.c | 8 ++-- 1 file changed, 6 insertions(+), 2 deletions(-) 827a4a051a locale.c: Add fcn to hide edge case undefined behavior embed.fnc | 1 + embed.h| 1 + embedvar.h | 1 + intrpvar.h | 3 +++ locale.c | 50 -- makedef.pl | 8 +++- perl.c | 4 proto.h| 2 ++ sv.c | 3 +++ 9
[Perl/perl5] 4d4eaa: Document C as an alternative to C
Branch: refs/heads/blead Home: https://github.com/Perl/perl5 Commit: 4d4eaa2cb3eb05793dc301178e47fe89488a88f0 https://github.com/Perl/perl5/commit/4d4eaa2cb3eb05793dc301178e47fe89488a88f0 Author: James E Keenan Date: 2022-08-10 (Wed, 10 Aug 2022) Changed paths: M pod/perlfunc.pod Log Message: --- Document C as an alternative to C If one needs to temporarily "capture" the output of C, for example as part of a unit test, the classic "obvious" approach has been to use C before and afterwards, to set a different default output handle and the restore the previous handle. If one is already in the mindset of C, it might not be obvious that C is alternative way to achieve the underlying goal, and might be clearer and more robust. Hence add it as a suggestion in the C documentation. For: https://github.com/Perl/perl5/pull/19225; reconciling different approaches developed by @nwc10 and @leonerd.
[Perl/perl5] 3fd12c: Digest-SHA: Sync with CPAN version 6.03
Branch: refs/heads/blead Home: https://github.com/Perl/perl5 Commit: 3fd12c9d6f086a9b0c50794a78d1c078fcb5498d https://github.com/Perl/perl5/commit/3fd12c9d6f086a9b0c50794a78d1c078fcb5498d Author: Mark Shelor Date: 2022-08-10 (Wed, 10 Aug 2022) Changed paths: M AUTHORS M Porting/Maintainers.pl M cpan/Digest-SHA/lib/Digest/SHA.pm M cpan/Digest-SHA/shasum M cpan/Digest-SHA/src/sha.c M cpan/Digest-SHA/src/sha.h M cpan/Digest-SHA/src/sha64bit.c M cpan/Digest-SHA/src/sha64bit.h Log Message: --- Digest-SHA: Sync with CPAN version 6.03 >From Changes: 6.03 - corrected addfile to report error when stdin is a directory -- ref. rt.cpan.org #143899 -- thanks to Gregor Herrmann for pointing this out 6.02 - silenced compiler warnings from VS2017 -- ref. rt.cpan.org #124477 -- thanks to Sergey Aleynikov for diagnostics - modified addfile to return error when given a directory name -- makes behavior consistent with GNU coreutils shaXsum -- thanks to Scott Baker for pointing this out Committer: Add new upstream maintainer to AUTHORS
[Perl/perl5] db4f96: pod tweaks, squash this
Branch: refs/heads/yves/exclude_contrib Home: https://github.com/Perl/perl5 Commit: db4f96f2465814252532253a2c28b30a40e0984b https://github.com/Perl/perl5/commit/db4f96f2465814252532253a2c28b30a40e0984b Author: Yves Orton Date: 2022-08-10 (Wed, 10 Aug 2022) Changed paths: M Porting/updateAUTHORS.pl Log Message: --- pod tweaks, squash this
[Perl/perl5] 232178: Make PerlIO::get_layers accept IO references
Branch: refs/heads/leont/getlayers-io Home: https://github.com/Perl/perl5 Commit: 23217824e86d7f99e7704a62e702abdec96c3511 https://github.com/Perl/perl5/commit/23217824e86d7f99e7704a62e702abdec96c3511 Author: Leon Timmermans Date: 2022-08-10 (Wed, 10 Aug 2022) Changed paths: M pod/perldelta.pod M t/io/layers.t M universal.c Log Message: --- Make PerlIO::get_layers accept IO references
[Perl/perl5] 874967: Make PerlIO::get_layers accept IO references
Branch: refs/heads/leont/getlayers-io Home: https://github.com/Perl/perl5 Commit: 874967884d3e6ef1cc4fc1f6209f547b3e31b503 https://github.com/Perl/perl5/commit/874967884d3e6ef1cc4fc1f6209f547b3e31b503 Author: Leon Timmermans Date: 2022-08-10 (Wed, 10 Aug 2022) Changed paths: M pod/perldelta.pod M t/io/layers.t M universal.c Log Message: --- Make PerlIO::get_layers accept IO references
[Perl/perl5] dcb9b8: updateAUTHORS.pl - add support for excluding users...
Branch: refs/heads/yves/exclude_contrib Home: https://github.com/Perl/perl5 Commit: dcb9b839c0b64c3f20523cebaac83f72191d0b4d https://github.com/Perl/perl5/commit/dcb9b839c0b64c3f20523cebaac83f72191d0b4d Author: Yves Orton Date: 2022-08-10 (Wed, 10 Aug 2022) Changed paths: M Porting/updateAUTHORS.pl M Porting/updateAUTHORS.pm Log Message: --- updateAUTHORS.pl - add support for excluding users from the cmd line Adds --exclude-contrib=NAME_AND_EMAIL and --exclude-me option which uses the current git credentials.
[Perl/perl5] 283d40: see if this makes cygwin happy
Branch: refs/heads/yves/exclude_contrib Home: https://github.com/Perl/perl5 Commit: 283d4027f10d3c559a52847aa4249df37e753b2a https://github.com/Perl/perl5/commit/283d4027f10d3c559a52847aa4249df37e753b2a Author: Yves Orton Date: 2022-08-10 (Wed, 10 Aug 2022) Changed paths: M perl.h Log Message: --- see if this makes cygwin happy this PR should cause any C issues, but there are artifacts from cygwin, i think this is the fix, lets see.
[Perl/perl5] fc10a7: improve comments about XORSHIFT macros
Branch: refs/heads/yves/consistent_srand Home: https://github.com/Perl/perl5 Commit: fc10a7da4fd28e60fd52d92d4c3d816928b67e33 https://github.com/Perl/perl5/commit/fc10a7da4fd28e60fd52d92d4c3d816928b67e33 Author: Yves Orton Date: 2022-08-10 (Wed, 10 Aug 2022) Changed paths: M handy.h Log Message: --- improve comments about XORSHIFT macros
[Perl/perl5] bfcfa7: squash me, dont diag when parallel testing
Branch: refs/heads/yves/exclude_contrib Home: https://github.com/Perl/perl5 Commit: bfcfa784ef3c37e38c34ea4a662255a5f6eac0d5 https://github.com/Perl/perl5/commit/bfcfa784ef3c37e38c34ea4a662255a5f6eac0d5 Author: Yves Orton Date: 2022-08-10 (Wed, 10 Aug 2022) Changed paths: M Porting/updateAUTHORS.pl Log Message: --- squash me, dont diag when parallel testing