Branch: refs/heads/blead
  Home:   https://github.com/Perl/perl5
  Commit: e8cff0e82d6684452cd8572a0e748f6cc0847a13
      
https://github.com/Perl/perl5/commit/e8cff0e82d6684452cd8572a0e748f6cc0847a13
  Author: Karl Williamson <k...@cpan.org>
  Date:   2023-07-12 (Wed, 12 Jul 2023)

  Changed paths:
    M t/loc_tools.pl

  Log Message:
  -----------
  loc_tools.pl: Cache results

Some of the functions in this file are slow, because it speculatively
tries various potential somewhat commonly-encountered locales to see
which ones actually work on this platform.

On many boxes, much of the potential list can be quickly gathered from a
call to a system command, but on other platforms, including Windows, the
list comes from trying all the possibilities in the <DATA> section of
the file, including permutations.

And the determination that each locale actually works takes time.

So this commit caches the list of available locales it finds, avoiding
doing all this work again if the calling test program calls it again.


  Commit: 0ede794e89839b059a3add8bda8f9dd0db0df092
      
https://github.com/Perl/perl5/commit/0ede794e89839b059a3add8bda8f9dd0db0df092
  Author: Karl Williamson <k...@cpan.org>
  Date:   2023-07-12 (Wed, 12 Jul 2023)

  Changed paths:
    M t/loc_tools.pl

  Log Message:
  -----------
  loc_tools: White space only

Indent because the previous commit formed a new block around this code.


  Commit: 7b25dc6d0c61f2fc076af647bd27b1e89b1fc786
      
https://github.com/Perl/perl5/commit/7b25dc6d0c61f2fc076af647bd27b1e89b1fc786
  Author: Karl Williamson <k...@cpan.org>
  Date:   2023-07-12 (Wed, 12 Jul 2023)

  Changed paths:
    M t/loc_tools.pl

  Log Message:
  -----------
  loc_tools: Add input param check to external function


  Commit: 3245d1b923d7138337f1b14367456f143e972d7c
      
https://github.com/Perl/perl5/commit/3245d1b923d7138337f1b14367456f143e972d7c
  Author: Karl Williamson <k...@cpan.org>
  Date:   2023-07-12 (Wed, 12 Jul 2023)

  Changed paths:
    M t/loc_tools.pl

  Log Message:
  -----------
  loc_tools: Always check for C.UTF-8 locale

On many platforms this is a basic included locale, and there is even a
Configure probe for its existence, which we can take advantage of.


  Commit: d49bacc829bd6f69b99e244707b8321ef9b5121b
      
https://github.com/Perl/perl5/commit/d49bacc829bd6f69b99e244707b8321ef9b5121b
  Author: Karl Williamson <k...@cpan.org>
  Date:   2023-07-12 (Wed, 12 Jul 2023)

  Changed paths:
    M t/loc_tools.pl

  Log Message:
  -----------
  loc_tools: Add check for ISO-8859

Previously the dashless version was tested, leading to some missed
locales on some systems.


Compare: https://github.com/Perl/perl5/compare/8b5e02e7a3a5...d49bacc829bd

Reply via email to