[Perl/perl5] 8b710b: Capitalize Perl

2022-06-09 Thread Elvin Aslanov via perl5-changes
  Branch: refs/heads/blead
  Home:   https://github.com/Perl/perl5
  Commit: 8b710bfebf042f93a1048920ce9b0710d86cd46c
  
https://github.com/Perl/perl5/commit/8b710bfebf042f93a1048920ce9b0710d86cd46c
  Author: Elvin Aslanov 
  Date:   2022-06-09 (Thu, 09 Jun 2022)

  Changed paths:
M pod/perlsub.pod

  Log Message:
  ---
  Capitalize Perl

Capitalize Perl when referring to the language (rather than the interpreter).

Also pluralize "built-ins" and format "CORE" package.




[Perl/perl5] 00dc99: POSIX.xs: Use macro to reduce complexity

2022-06-09 Thread Karl Williamson via perl5-changes
  Branch: refs/heads/blead
  Home:   https://github.com/Perl/perl5
  Commit: 00dc999f17f11a0e1f11b9bfcba8e0e544d85b0e
  
https://github.com/Perl/perl5/commit/00dc999f17f11a0e1f11b9bfcba8e0e544d85b0e
  Author: Karl Williamson 
  Date:   2022-06-09 (Thu, 09 Jun 2022)

  Changed paths:
M ext/POSIX/POSIX.xs
M ext/POSIX/lib/POSIX.pm

  Log Message:
  ---
  POSIX.xs: Use macro to reduce complexity

This #defines a macro and uses it to populate a structure, so that
strings don't have to be typed twice.


  Commit: d79c60097aa66b97e9ca10a0eddf545f4b22bd21
  
https://github.com/Perl/perl5/commit/d79c60097aa66b97e9ca10a0eddf545f4b22bd21
  Author: Karl Williamson 
  Date:   2022-06-09 (Thu, 09 Jun 2022)

  Changed paths:
M ext/POSIX/POSIX.xs

  Log Message:
  ---
  POSIX.xs: White-space only

Properly indent some nested preprocessor directives


Compare: https://github.com/Perl/perl5/compare/26df2752a1a3...d79c60097aa6


[Perl/perl5] 26df27: regexec.c: Handle Turkish locale if large ANYOF bi...

2022-06-09 Thread Karl Williamson via perl5-changes
  Branch: refs/heads/blead
  Home:   https://github.com/Perl/perl5
  Commit: 26df2752a1a36626b649abf5e637c9566e53a143
  
https://github.com/Perl/perl5/commit/26df2752a1a36626b649abf5e637c9566e53a143
  Author: Karl Williamson 
  Date:   2022-06-09 (Thu, 09 Jun 2022)

  Changed paths:
M regcomp.c
M regexec.c

  Log Message:
  ---
  regexec.c: Handle Turkish locale if large ANYOF bitmap

Perl defaults to the bitmap for ANYOF nodes being for the lowest 256
characters, but it is possible to compile the bitmap to be up to size
2**16.  Doing so, prior to this commit, broke Turkish locale handling.




[Perl/perl5] 6a4fc0: regexec.c: Avoid using a more general fcn

2022-06-09 Thread Karl Williamson via perl5-changes
  Branch: refs/heads/blead
  Home:   https://github.com/Perl/perl5
  Commit: 6a4fc003e5b726738d0652fd745146ae267c9f4f
  
https://github.com/Perl/perl5/commit/6a4fc003e5b726738d0652fd745146ae267c9f4f
  Author: Karl Williamson 
  Date:   2022-06-09 (Thu, 09 Jun 2022)

  Changed paths:
M regexec.c

  Log Message:
  ---
  regexec.c: Avoid using a more general fcn

The regnodes in the ANYOFH series by definition don't have a bitmap used
in the other ANYOF-type nodes.  Instead they have an inversion list.  We
can avoid the overhead of calling the general function that looks first
in the bitmap.




[Perl/perl5] 476748: DEBUG_L now also looks at environment variable

2022-06-09 Thread Karl Williamson via perl5-changes
  Branch: refs/heads/blead
  Home:   https://github.com/Perl/perl5
  Commit: 4767484d073fcbb1529a50e99fef7fd00886e899
  
https://github.com/Perl/perl5/commit/4767484d073fcbb1529a50e99fef7fd00886e899
  Author: Karl Williamson 
  Date:   2022-06-09 (Thu, 09 Jun 2022)

  Changed paths:
M locale.c
M perl.h

  Log Message:
  ---
  DEBUG_L now also looks at environment variable

Because locale initialization happens before command line processing,
one can't pass a -DL argument to enable debugging of locale
initialization.  Instead, an environment variable is read then, and is
used to enable debugging or not.  In the past, code specifically had to
test for this being set.  This commit changes that so that debugging can
automatically be enabled without having to write special code.  Future
commits will strip out those special checks.


  Commit: 94d521c01847bc76f0b0f87cdc214aa73f4bc391
  
https://github.com/Perl/perl5/commit/94d521c01847bc76f0b0f87cdc214aa73f4bc391
  Author: Karl Williamson 
  Date:   2022-06-09 (Thu, 09 Jun 2022)

  Changed paths:
M locale.c

  Log Message:
  ---
  locale.c: Replace most #ifdef DEBUGGING lines

THe previous commit enhanced the DEBUG macros so that they contain the
logic that previously had to be done with conditional compilation
statements.  Removing them makes the code easier to read.


Compare: https://github.com/Perl/perl5/compare/c9e4532004f5...94d521c01847


[Perl/perl5] c9e453: XSLoader: convert from Test::More to internal test...

2022-06-09 Thread Graham Knop via perl5-changes
  Branch: refs/heads/blead
  Home:   https://github.com/Perl/perl5
  Commit: c9e4532004f523b84aadea8cc49f4b5ee20488cd
  
https://github.com/Perl/perl5/commit/c9e4532004f523b84aadea8cc49f4b5ee20488cd
  Author: Graham Knop 
  Date:   2022-06-09 (Thu, 09 Jun 2022)

  Changed paths:
M dist/XSLoader/t/XSLoader.t

  Log Message:
  ---
  XSLoader: convert from Test::More to internal test helpers

The XSLoader tests need to play with the XS bits of various modules,
which can interfere with testing modules like Test::More. For example,
Test::More now loads Time::HiRes. This results in redefinition warnings,
and could lead to more serious problems.

Avoid this by creating some test helpers inside the XSLoader test, and
using those rather than Test::More.

The helpers implemented include roughly the same features used by the
test itself, so that the impact on the rest of the test code is minimal.