Branch: refs/heads/blead
  Home:   https://github.com/Perl/perl5
  Commit: 880fb5d0fef86206e1a80b084b3f9bd385f496b4
      
https://github.com/Perl/perl5/commit/880fb5d0fef86206e1a80b084b3f9bd385f496b4
  Author: Karl Williamson <k...@cpan.org>
  Date:   2023-08-13 (Sun, 13 Aug 2023)

  Changed paths:
    M locale.c

  Log Message:
  -----------
  Perl_sync_locale(): Best to change to global locale

This didn't actually cause a bug AFAIK, but prior to this commit, the
comment was wrong.  The comment makes sense, so bring the code into
compliance.

The reason it was not a bug is that even though the thread remained in
the per-thread locale, it uses the global locale API to set things.


  Commit: 943e7d68735c5309a7813b75805d819fa3e4332a
      
https://github.com/Perl/perl5/commit/943e7d68735c5309a7813b75805d819fa3e4332a
  Author: Karl Williamson <k...@cpan.org>
  Date:   2023-08-13 (Sun, 13 Aug 2023)

  Changed paths:
    M locale.c

  Log Message:
  -----------
  locale.c(): Use LC_ALL if available

Now that we have code that works on platforms with differing ways of
representing LC_ALL, we can use it instead of looping through all the
subcomponents.


  Commit: 22a00d7e56c86c42c8adc23415f09d82ef1e78f2
      
https://github.com/Perl/perl5/commit/22a00d7e56c86c42c8adc23415f09d82ef1e78f2
  Author: Karl Williamson <k...@cpan.org>
  Date:   2023-08-13 (Sun, 13 Aug 2023)

  Changed paths:
    M embed.fnc
    M embed.h
    M locale.c
    M proto.h

  Log Message:
  -----------
  locale.c: Extract code into a function

This is in preparation for a future commit where it will be called from
more than one place.


  Commit: f00067d75aebd7b04668c2f5c81d4e6a6e13ea33
      
https://github.com/Perl/perl5/commit/f00067d75aebd7b04668c2f5c81d4e6a6e13ea33
  Author: Karl Williamson <k...@cpan.org>
  Date:   2023-08-13 (Sun, 13 Aug 2023)

  Changed paths:
    M locale.c

  Log Message:
  -----------
  locale.c: Complement initialization of boolean

This was my attempt to make the difference listing in the next commit
smaller, but it didn't help much.


  Commit: f0578dea2221b23824ec44cb18f024cffc2f9069
      
https://github.com/Perl/perl5/commit/f0578dea2221b23824ec44cb18f024cffc2f9069
  Author: Karl Williamson <k...@cpan.org>
  Date:   2023-08-13 (Sun, 13 Aug 2023)

  Changed paths:
    M locale.c

  Log Message:
  -----------
  locale.c: Rework locale initialization loop

The previous code was always hard to understand, with a self-modifying
loop.  I finally figured out a clearer way to do it, by using an enum
with all the possibilities, and a switch statement that sets up the loop
for each, or decides this possibility isn't valid on this platform.  The
first possibility that works exits the loop.


  Commit: 9d4fc752d13aaa56b702ba02a24c98f7cd7b9ebb
      
https://github.com/Perl/perl5/commit/9d4fc752d13aaa56b702ba02a24c98f7cd7b9ebb
  Author: Karl Williamson <k...@cpan.org>
  Date:   2023-08-13 (Sun, 13 Aug 2023)

  Changed paths:
    M locale.c

  Log Message:
  -----------
  locale.c: Rmv redundant sanity check

This was done only on Windows, to verify that the perl was operating on
a system that has a working _configthreadlocale(), when our Configure
expects it to.  But the previous commit now executes this function
anyway at the end of initialization, so that is soon enough to fail if
something is wrong, making this redundant.


  Commit: cfecf45fbc339cd5bed863522d9c9bec79ee891c
      
https://github.com/Perl/perl5/commit/cfecf45fbc339cd5bed863522d9c9bec79ee891c
  Author: Karl Williamson <k...@cpan.org>
  Date:   2023-08-13 (Sun, 13 Aug 2023)

  Changed paths:
    M locale.c

  Log Message:
  -----------
  locale.c: Extract code into a macro

This is in preparation for a simplification in future commits.


  Commit: 2be22a462159b353cdc73adf6e835d1c907ff497
      
https://github.com/Perl/perl5/commit/2be22a462159b353cdc73adf6e835d1c907ff497
  Author: Karl Williamson <k...@cpan.org>
  Date:   2023-08-13 (Sun, 13 Aug 2023)

  Changed paths:
    M locale.c

  Log Message:
  -----------
  locale.c: Extend macro from previous commit

Actually this creates a macro of the same name that accomplishes the
same thing, but specifically for Windows.


  Commit: ae9b121147c8cdb1c8f13f8fe8082e5fd3f8be6a
      
https://github.com/Perl/perl5/commit/ae9b121147c8cdb1c8f13f8fe8082e5fd3f8be6a
  Author: Karl Williamson <k...@cpan.org>
  Date:   2023-08-13 (Sun, 13 Aug 2023)

  Changed paths:
    M locale.c

  Log Message:
  -----------
  locale.c: Don't over allocate array

This previously added an extraneous unused element.


  Commit: 8f93193ec08d59523a1f29dcd9ae2629077388af
      
https://github.com/Perl/perl5/commit/8f93193ec08d59523a1f29dcd9ae2629077388af
  Author: Karl Williamson <k...@cpan.org>
  Date:   2023-08-13 (Sun, 13 Aug 2023)

  Changed paths:
    M locale.c

  Log Message:
  -----------
  locale.c: Bring declaration inside #if's

This would now cause a compilation error if the code gets screwed up.


  Commit: 43957f3fc3d72b85b084f270433f608619443081
      
https://github.com/Perl/perl5/commit/43957f3fc3d72b85b084f270433f608619443081
  Author: Karl Williamson <k...@cpan.org>
  Date:   2023-08-13 (Sun, 13 Aug 2023)

  Changed paths:
    M locale.c

  Log Message:
  -----------
  locale.c: Slight refactor of switch_to_global_locale()

Now that we can better handle any legal LC_ALL string, we can just use
LC_ALL when available.


  Commit: 357bfb0e0ae9b0426f38934fdcd90fe30137a287
      
https://github.com/Perl/perl5/commit/357bfb0e0ae9b0426f38934fdcd90fe30137a287
  Author: Karl Williamson <k...@cpan.org>
  Date:   2023-08-13 (Sun, 13 Aug 2023)

  Changed paths:
    M locale.c

  Log Message:
  -----------
  locale.c: Combine two condiionals to rm special case

The case removed is handled transparently below.


  Commit: 0950a6794759a0332643c4117c1bb4b6444a1370
      
https://github.com/Perl/perl5/commit/0950a6794759a0332643c4117c1bb4b6444a1370
  Author: Karl Williamson <k...@cpan.org>
  Date:   2023-08-13 (Sun, 13 Aug 2023)

  Changed paths:
    M locale.c

  Log Message:
  -----------
  Revise warnings when locale init has issues

Previously, we didn't know the possible locale categories on this
system, so grepped through the environment outputting anything that
begins with 'LC_'.  But now we do know all of them, and can just use
those.


  Commit: d0c3477f90079a29753654d6a5461375280e231d
      
https://github.com/Perl/perl5/commit/d0c3477f90079a29753654d6a5461375280e231d
  Author: Karl Williamson <k...@cpan.org>
  Date:   2023-08-13 (Sun, 13 Aug 2023)

  Changed paths:
    M locale.c

  Log Message:
  -----------
  locale.c: Use function already designed for the purpose

Instead of several initialization calls, call the overarching one that
includes them all.


  Commit: bb4b8d54cb35c5c60bce292303a11314a96dacb5
      
https://github.com/Perl/perl5/commit/bb4b8d54cb35c5c60bce292303a11314a96dacb5
  Author: Karl Williamson <k...@cpan.org>
  Date:   2023-08-13 (Sun, 13 Aug 2023)

  Changed paths:
    M locale.c

  Log Message:
  -----------
  locale.c: Avoid a duplicate conditional


Compare: https://github.com/Perl/perl5/compare/96c520ef45c3...bb4b8d54cb35

Reply via email to