[Perl/perl5] 40e77b: .github/workflows/testsuite.yml - switch from secr...

2023-02-22 Thread Yves Orton via perl5-changes
  Branch: refs/heads/yves/github_stop_using_secrets_for_switches
  Home:   https://github.com/Perl/perl5
  Commit: 40e77bf1bf6d155b15b34b80aaa843a1cf267ea2
  
https://github.com/Perl/perl5/commit/40e77bf1bf6d155b15b34b80aaa843a1cf267ea2
  Author: Yves Orton 
  Date:   2023-02-23 (Thu, 23 Feb 2023)

  Changed paths:
M .github/workflows/testsuite.yml

  Log Message:
  ---
  .github/workflows/testsuite.yml - switch from secrets to vars

We have been using secrets to store boolean variables. This results
in our CI output being annoyingly corrupted by the security eliding.

Github now supports "variables" as well as secrets, which are not
elided in CI output. So switch our test framework controls to use
the variable. Note the EXTENDED_TESTING variable was switched from
to DO_EXTENDED_TESTING so that we can have both the EXTENDED_TESTING
/secret/ and the new DO_EXTENDED_TESTING variable available at the
same time as this commit is processed.

Fixes #20843




[Perl/perl5] f86e19: Benchmark.t - sanity check for a broken times()

2023-02-22 Thread Yves Orton via perl5-changes
  Branch: refs/heads/blead
  Home:   https://github.com/Perl/perl5
  Commit: f86e19f127f6ba48cda430a719f10e177a4c31a1
  
https://github.com/Perl/perl5/commit/f86e19f127f6ba48cda430a719f10e177a4c31a1
  Author: Yves Orton 
  Date:   2023-02-23 (Thu, 23 Feb 2023)

  Changed paths:
M lib/Benchmark.t

  Log Message:
  ---
  Benchmark.t - sanity check for a broken times()

If time() or times() is broken then Benchmark can infinite loop.
This adds a sanity check that will die early if it appears that
either are broken.

This fixes the infinite loop part of GH Issue #20839




[Perl/perl5]

2023-02-22 Thread Yves Orton via perl5-changes
  Branch: refs/heads/yves/benchmark_times_sanity_check
  Home:   https://github.com/Perl/perl5


[Perl/perl5] cf62ed: Benchmark.t - sanity check for a broken times()

2023-02-22 Thread Yves Orton via perl5-changes
  Branch: refs/heads/yves/benchmark_times_sanity_check
  Home:   https://github.com/Perl/perl5
  Commit: cf62ed0e8941a038e86abfb9882df75a9fe5a590
  
https://github.com/Perl/perl5/commit/cf62ed0e8941a038e86abfb9882df75a9fe5a590
  Author: Yves Orton 
  Date:   2023-02-23 (Thu, 23 Feb 2023)

  Changed paths:
M lib/Benchmark.t

  Log Message:
  ---
  Benchmark.t - sanity check for a broken times()

If time() or times() is broken then Benchmark can infinite loop.
This adds a sanity check that will die early if it appears that
either are broken.

This fixes the infinite loop part of GH Issue #20839




[Perl/perl5] 42aa2d: Benchmark.t - sanity check for a broken times()

2023-02-22 Thread Yves Orton via perl5-changes
  Branch: refs/heads/yves/benchmark_times_sanity_check
  Home:   https://github.com/Perl/perl5
  Commit: 42aa2d9c2035ea7f7c603fb903d85b67b8a487b0
  
https://github.com/Perl/perl5/commit/42aa2d9c2035ea7f7c603fb903d85b67b8a487b0
  Author: Yves Orton 
  Date:   2023-02-23 (Thu, 23 Feb 2023)

  Changed paths:
M lib/Benchmark.t

  Log Message:
  ---
  Benchmark.t - sanity check for a broken times()

If time() or times() is broken then Benchmark can infinite loop.
This adds a sanity check that will die early if it appears that
either are broken.

This fixes the infinite loop part of GH Issue #20839




[Perl/perl5] bc462b: Benchmark.t - sanity check for a broken times()

2023-02-22 Thread Yves Orton via perl5-changes
  Branch: refs/heads/yves/benchmark_times_sanity_check
  Home:   https://github.com/Perl/perl5
  Commit: bc462b987fb47cfcfd4faa573600be9745772399
  
https://github.com/Perl/perl5/commit/bc462b987fb47cfcfd4faa573600be9745772399
  Author: Yves Orton 
  Date:   2023-02-22 (Wed, 22 Feb 2023)

  Changed paths:
M lib/Benchmark.t

  Log Message:
  ---
  Benchmark.t - sanity check for a broken times()

If time() or times() is broken then Benchmark can infinite loop.
This adds a sanity check that will die early if it appears that
either are broken.

This fixes the infinite loop part of GH Issue #20839




[Perl/perl5] b62502: Prefer scalar assignment to get caller's first ret...

2023-02-22 Thread Richard Leach via perl5-changes
  Branch: refs/heads/blead
  Home:   https://github.com/Perl/perl5
  Commit: b625025e93c87eab6565ea086e7d9c60245d6bd3
  
https://github.com/Perl/perl5/commit/b625025e93c87eab6565ea086e7d9c60245d6bd3
  Author: Richard Leach 
  Date:   2023-02-22 (Wed, 22 Feb 2023)

  Changed paths:
M dist/Env/lib/Env.pm
M lib/Benchmark.pm
M lib/Class/Struct.pm
M lib/overload.pm
M lib/overload.t
M lib/warnings.pm
M regen/warnings.pl

  Log Message:
  ---
  Prefer scalar assignment to get caller's first return value

Multiple forms of syntax can be used to obtain a package name from
`caller`, which emits this as its first return value, and assign
that name to a lexical scalar.

The following each achieve the same result, but with varying efficiency:
* `sub callme { my $package = caller(2); ...}`
* `sub callme { my ($package) = caller(2); ...}`
* `sub callme { my $package = (caller(2))[0]; ...}`

In the first example, `pp_caller` determines only the package name
and pushes it to the stack. In the other two examples, the other 10 of
`caller`'s return values are calculated and pushed onto the stack,
before being discarded.

This commit changes non-CPAN-first instances of the latter two forms
in core to the first form.

Note: There is a special exception to the equivalence described above,
when caller is use in list context within the DB package. Such a
usage instance in regen/warnings.pl therefore remains unchanged.




[Perl/perl5] c19e3e: dist/threads - bump version to make cmp_version happy

2023-02-22 Thread Yves Orton via perl5-changes
  Branch: refs/heads/blead
  Home:   https://github.com/Perl/perl5
  Commit: c19e3e4e83b25cf2c13581094e9c56bca2f44e1e
  
https://github.com/Perl/perl5/commit/c19e3e4e83b25cf2c13581094e9c56bca2f44e1e
  Author: Yves Orton 
  Date:   2023-02-22 (Wed, 22 Feb 2023)

  Changed paths:
M dist/threads/lib/threads.pm

  Log Message:
  ---
  dist/threads - bump version to make cmp_version happy

Its the usual issue, that an old PR that bumps a modules
version may look fine in CI as it does not look like a conflict
as another patch has bumped the version to the same number,
but cmp_version.t notices and complains




[Perl/perl5]

2023-02-22 Thread Yves Orton via perl5-changes
  Branch: refs/heads/leont/ppport-simple
  Home:   https://github.com/Perl/perl5


[Perl/perl5] 3b6c1c: Use ppport.h when building dist/ modules in core

2023-02-22 Thread Leon Timmermans via perl5-changes
  Branch: refs/heads/blead
  Home:   https://github.com/Perl/perl5
  Commit: 3b6c1c937e8a68fba0239b18e2f5f8b91b9c3294
  
https://github.com/Perl/perl5/commit/3b6c1c937e8a68fba0239b18e2f5f8b91b9c3294
  Author: Leon Timmermans 
  Date:   2023-02-22 (Wed, 22 Feb 2023)

  Changed paths:
M MANIFEST
M Porting/Maintainers.pl
M dist/Data-Dumper/Dumper.pm
M dist/Data-Dumper/Dumper.xs
M dist/Data-Dumper/Makefile.PL
M dist/PathTools/Cwd.pm
M dist/PathTools/Cwd.xs
M dist/PathTools/Makefile.PL
M dist/Storable/Makefile.PL
M dist/Storable/Storable.pm
M dist/Storable/Storable.xs
M dist/Time-HiRes/HiRes.pm
M dist/Time-HiRes/HiRes.xs
M dist/Time-HiRes/Makefile.PL
M dist/threads-shared/lib/threads/shared.pm
M dist/threads-shared/shared.xs
A dist/threads/threads.h
M dist/threads/threads.xs

  Log Message:
  ---
  Use ppport.h when building dist/ modules in core

By always including `ppport.h`, this simplifies both XS code and tooling around 
it.




[Perl/perl5] 16a5e2: .github/workflows/testsuite.yml - switch from secr...

2023-02-22 Thread Yves Orton via perl5-changes
  Branch: refs/heads/yves/github_stop_using_secrets_for_switches
  Home:   https://github.com/Perl/perl5
  Commit: 16a5e2e91348aebcb0c81f59d85bde48614a0be5
  
https://github.com/Perl/perl5/commit/16a5e2e91348aebcb0c81f59d85bde48614a0be5
  Author: Yves Orton 
  Date:   2023-02-22 (Wed, 22 Feb 2023)

  Changed paths:
M .github/workflows/testsuite.yml

  Log Message:
  ---
  .github/workflows/testsuite.yml - switch from secrets to vars

We have been using secrets to store boolean variables. This results
in our CI output being annoyingly corrupted by the security eliding.

Github now supports "variables" as well as secrets, which are not
elided in CI output. So switch our test framework controls to use
the variable. Note the EXTENDED_TESTING variable was switched from
to DO_EXTENDED_TESTING so that we can have both the EXTENDED_TESTING
/secret/ and the new DO_EXTENDED_TESTING variable available at the
same time as this commit is processed.

Fixes #20843




[Perl/perl5] d6959f: warnings::register - simplify use of caller

2023-02-22 Thread James Raspass via perl5-changes
  Branch: refs/heads/blead
  Home:   https://github.com/Perl/perl5
  Commit: d6959f5c125a4785f0831f4c927cdf44069beb31
  
https://github.com/Perl/perl5/commit/d6959f5c125a4785f0831f4c927cdf44069beb31
  Author: James Raspass 
  Date:   2023-02-22 (Wed, 22 Feb 2023)

  Changed paths:
M lib/warnings/register.pm

  Log Message:
  ---
  warnings::register - simplify use of caller

caller in scalar context does much less work so not only is this easier to 
read, it should be a tad faster.

And for good measure, switch to the modern version declaration while bumping.




[Perl/perl5] db08a4: Correct equivelent in two more places

2023-02-22 Thread Elvin Aslanov via perl5-changes
  Branch: refs/heads/blead
  Home:   https://github.com/Perl/perl5
  Commit: db08a4ed89072d8064cfac0ffc7b9f6cc7497a5d
  
https://github.com/Perl/perl5/commit/db08a4ed89072d8064cfac0ffc7b9f6cc7497a5d
  Author: Elvin Aslanov 
  Date:   2023-02-22 (Wed, 22 Feb 2023)

  Changed paths:
M win32/GNUmakefile
M win32/Makefile

  Log Message:
  ---
  Correct equivelent in two more places

This follows dab4006c92d70a54e7909d0e670b71bfd3fb8221

and ends the misspelling distribution-wide

remained in two Windows-related files




[Perl/perl5] c3b3e5: .github/workflows/testsuite.yml - switch from secr...

2023-02-22 Thread Yves Orton via perl5-changes
  Branch: refs/heads/yves/github_stop_using_secrets_for_switches
  Home:   https://github.com/Perl/perl5
  Commit: c3b3e571bd23dfca8d6b4ef4428b521fb817320d
  
https://github.com/Perl/perl5/commit/c3b3e571bd23dfca8d6b4ef4428b521fb817320d
  Author: Yves Orton 
  Date:   2023-02-22 (Wed, 22 Feb 2023)

  Changed paths:
M .github/workflows/testsuite.yml

  Log Message:
  ---
  .github/workflows/testsuite.yml - switch from secrets to vars

We have been using secrets to store boolean variables. This results
in our CI output being annoyingly corrupted by the security eliding.

Github now supports "variables" as well as secrets, which are not
elided in CI output. So switch our test framework controls to use
the variable. Note the EXTENDED_TESTING variable was switched from
to DO_EXTENDED_TESTING so that we can have both the EXTENDED_TESTING
/secret/ and the new DO_EXTENDED_TESTING variable available at the
same time as this commit is processed.

Fixes #20843