[Perl/perl5] 5fa230: XXX temp win32 debugging

2022-08-11 Thread Karl Williamson via perl5-changes
  Branch: refs/heads/smoke-me/khw-locale4
  Home:   https://github.com/Perl/perl5
  Commit: 5fa2303c9cc3819ff9fe3f34537745a484be3e97
  
https://github.com/Perl/perl5/commit/5fa2303c9cc3819ff9fe3f34537745a484be3e97
  Author: Karl Williamson 
  Date:   2022-08-11 (Thu, 11 Aug 2022)

  Changed paths:
M locale.c

  Log Message:
  ---
  XXX temp win32 debugging




[Perl/perl5] d53dc4: Make PerlIO::get_layers accept IO references

2022-08-11 Thread Leon Timmermans via perl5-changes
  Branch: refs/heads/blead
  Home:   https://github.com/Perl/perl5
  Commit: d53dc4aa35a10c04e5bac7bce337ae1784663381
  
https://github.com/Perl/perl5/commit/d53dc4aa35a10c04e5bac7bce337ae1784663381
  Author: Leon Timmermans 
  Date:   2022-08-12 (Fri, 12 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] 8edcd2: XXX temp win32 debugging

2022-08-11 Thread Karl Williamson via perl5-changes
  Branch: refs/heads/smoke-me/khw-locale4
  Home:   https://github.com/Perl/perl5
  Commit: 8edcd225a64bba208601430ad4ba6d64ebef43a7
  
https://github.com/Perl/perl5/commit/8edcd225a64bba208601430ad4ba6d64ebef43a7
  Author: Karl Williamson 
  Date:   2022-08-11 (Thu, 11 Aug 2022)

  Changed paths:
M locale.c

  Log Message:
  ---
  XXX temp win32 debugging




[Perl/perl5] 1bfc4c: XXX temp win32 debugging

2022-08-11 Thread Karl Williamson via perl5-changes
  Branch: refs/heads/smoke-me/khw-locale4
  Home:   https://github.com/Perl/perl5
  Commit: 1bfc4cd62ad406ba5197f4a4918a92b52407955f
  
https://github.com/Perl/perl5/commit/1bfc4cd62ad406ba5197f4a4918a92b52407955f
  Author: Karl Williamson 
  Date:   2022-08-11 (Thu, 11 Aug 2022)

  Changed paths:
M locale.c

  Log Message:
  ---
  XXX temp win32 debugging




[Perl/perl5]

2022-08-11 Thread Karl Williamson via perl5-changes
  Branch: refs/heads/smoke-me/khw-printf
  Home:   https://github.com/Perl/perl5


[Perl/perl5]

2022-08-11 Thread Karl Williamson via perl5-changes
  Branch: refs/heads/smoke-me/khw-locale_bug
  Home:   https://github.com/Perl/perl5


[Perl/perl5]

2022-08-11 Thread Karl Williamson via perl5-changes
  Branch: refs/heads/smoke-me/khw-comparison
  Home:   https://github.com/Perl/perl5


[Perl/perl5]

2022-08-11 Thread Karl Williamson via perl5-changes
  Branch: refs/heads/smoke-me/khw-bitmap
  Home:   https://github.com/Perl/perl5


[Perl/perl5]

2022-08-11 Thread Karl Williamson via perl5-changes
  Branch: refs/heads/smoke-me/khw-anyof
  Home:   https://github.com/Perl/perl5


[Perl/perl5]

2022-08-11 Thread Karl Williamson via perl5-changes
  Branch: refs/heads/smoke-me/khw-locale3
  Home:   https://github.com/Perl/perl5


[Perl/perl5] b59baa: loc_tools: Create function, refactor

2022-08-11 Thread Karl Williamson via perl5-changes
  Branch: refs/heads/smoke-me/khw-locale4
  Home:   https://github.com/Perl/perl5
  Commit: b59baa305c866e17b153044171a14d05a6b9bbb7
  
https://github.com/Perl/perl5/commit/b59baa305c866e17b153044171a14d05a6b9bbb7
  Author: Karl Williamson 
  Date:   2022-08-11 (Thu, 11 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: 94342c09bc8a13e55ca0ac2f82d181bfe101526a
  
https://github.com/Perl/perl5/commit/94342c09bc8a13e55ca0ac2f82d181bfe101526a
  Author: Karl Williamson 
  Date:   2022-08-11 (Thu, 11 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: 307a037f89d837d40ff33dd94917481a6d7021c6
  
https://github.com/Perl/perl5/commit/307a037f89d837d40ff33dd94917481a6d7021c6
  Author: Karl Williamson 
  Date:   2022-08-11 (Thu, 11 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: 31bfa140e95a4917ac8c1562da7b47d97749d599
  
https://github.com/Perl/perl5/commit/31bfa140e95a4917ac8c1562da7b47d97749d599
  Author: Karl Williamson 
  Date:   2022-08-11 (Thu, 11 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: fc975970f38fff8b4578978a08515fe40d29533b
  
https://github.com/Perl/perl5/commit/fc975970f38fff8b4578978a08515fe40d29533b
  Author: Karl Williamson 
  Date:   2022-08-11 (Thu, 11 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: 54a0e37a4041163b87ea86334e637d713e826c9d
  
https://github.com/Perl/perl5/commit/54a0e37a4041163b87ea86334e637d713e826c9d
  Author: Karl Williamson 
  Date:   2022-08-11 (Thu, 11 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: 36489ca8235805675864dbaef1f4c470106b4577
  
https://github.com/Perl/perl5/commit/36489ca8235805675864dbaef1f4c470106b4577
  Author: Karl Williamson 
  Date:   2022-08-11 (Thu, 11 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: 4201e77ac2ed0f97eabef1b2c80b11cdec17d4c0
  
https://github.com/Perl/perl5/commit/4201e77ac2ed0f97eabef1b2c80b11cdec17d4c0
  Author: Karl Williamson 
  Date:   2022-08-11 (Thu, 11 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: e3584473310db81dbec8ef16618335d042036a1e
  
https://github.com/Perl/perl5/commit/e3584473310db81dbec8ef16618335d042036a1e
  Author: Karl Williamson 
  Date:   2022-08-11 (Thu, 11 Aug 2022)

  Changed paths:
M t/loc_tools.pl

  Log Message:
  ---
  t/loc_tools.pl: White-space only


  Commit: 8ff394686973620ddd42815c70ab7e38d6ae8bb2
  
https://github.com/Perl/perl5/commit/8ff394686973620ddd42815c70ab7e38d6ae8bb2
  Author: Karl Williamson 
  Date:   2022-08-11 (Thu, 11 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] 5ee777: Don't use POSIX 2008 locales on cygwin

2022-08-11 Thread Karl Williamson via perl5-changes
  Branch: refs/heads/blead
  Home:   https://github.com/Perl/perl5
  Commit: 5ee7770b70fd48652f905014e47b07eb031ed5bc
  
https://github.com/Perl/perl5/commit/5ee7770b70fd48652f905014e47b07eb031ed5bc
  Author: Karl Williamson 
  Date:   2022-08-11 (Thu, 11 Aug 2022)

  Changed paths:
M cygwin/cygwin.c
M hints/cygwin.sh

  Log Message:
  ---
  Don't use POSIX 2008 locales on cygwin

newlocale(), required for this, is buggy. See
https://sourceware.org/pipermail/cygwin/2022-August/252043.html




[Perl/perl5] 07a333: Add what-to-do when push after merge fails

2022-08-11 Thread Karl Williamson via perl5-changes
  Branch: refs/heads/blead
  Home:   https://github.com/Perl/perl5
  Commit: 07a33394e5cc78cd37dc463e956c693aa331b1b1
  
https://github.com/Perl/perl5/commit/07a33394e5cc78cd37dc463e956c693aa331b1b1
  Author: Bram 
  Date:   2022-08-11 (Thu, 11 Aug 2022)

  Changed paths:
M pod/perlgit.pod

  Log Message:
  ---
  Add what-to-do when push after merge fails

After merging a branch with a merge-commit (i.e. `git merge --no-ff`) then
one must be careful when using `git rebase` (or `git pull --rebase`).

The rebase (by default) will throw away the merge commit which is not
what you wanted if the merge-commit was intentional.

For those cases `git rebase --rebase-merges` can/should be used.
(Or `git rebase --preserve-merges` for older git versions.)




[Perl/perl5] 09da49: improve comment as requested. squash me

2022-08-11 Thread Yves Orton via perl5-changes
  Branch: refs/heads/yves/consistent_srand
  Home:   https://github.com/Perl/perl5
  Commit: 09da499791126886f4368c0f8c530a4971ce3abc
  
https://github.com/Perl/perl5/commit/09da499791126886f4368c0f8c530a4971ce3abc
  Author: Yves Orton 
  Date:   2022-08-11 (Thu, 11 Aug 2022)

  Changed paths:
M pod/perlfunc.pod

  Log Message:
  ---
  improve comment as requested. squash me

note that PERL_RAND_SEED is non-negative, and some rewording to eliminate
the use of the word "var" or "env" in the perldoc.