[Perl/perl5]

2022-08-30 Thread Yves Orton via perl5-changes
  Branch: refs/heads/yves/cop_h_debug_enhance
  Home:   https://github.com/Perl/perl5


[Perl/perl5] 112f4f: cop.h - show a bit more debug out in JMPENV macros...

2022-08-30 Thread Yves Orton via perl5-changes
  Branch: refs/heads/blead
  Home:   https://github.com/Perl/perl5
  Commit: 112f4f94ee0433b46530c806e4b4dee9f06bc382
  
https://github.com/Perl/perl5/commit/112f4f94ee0433b46530c806e4b4dee9f06bc382
  Author: Yves Orton 
  Date:   2022-08-31 (Wed, 31 Aug 2022)

  Changed paths:
M cop.h

  Log Message:
  ---
  cop.h - show a bit more debug out in JMPENV macros, and minor fixes

* Show the return from JMPENV_PUSH().
* use (v) consistently.
* Line up backslashes.




[Perl/perl5] 377876: prevent a new build warning

2022-08-30 Thread Tony Cook via perl5-changes
  Branch: refs/heads/blead
  Home:   https://github.com/Perl/perl5
  Commit: 3778766ab96eb3392c2e7418760cbf4f7ad1b2c2
  
https://github.com/Perl/perl5/commit/3778766ab96eb3392c2e7418760cbf4f7ad1b2c2
  Author: Tony Cook 
  Date:   2022-08-31 (Wed, 31 Aug 2022)

  Changed paths:
M dump.c

  Log Message:
  ---
  prevent a new build warning

dump.c: In function ‘Perl_pv_escape’:
dump.c:297:21: warning: ‘qe’ may be used uninitialized in this function 
[-Wmaybe-uninitialized]
  297 | Perl_sv_catpvf( aTHX_ dsv,"%s...%s", qe, qs);
  | ^~~~
dump.c:297:21: warning: ‘qs’ may be used uninitialized in this function 
[-Wmaybe-uninitialized]




[Perl/perl5] 82196d: test dist/ modules against various older perls in CI

2022-08-30 Thread Tony Cook via perl5-changes
  Branch: refs/heads/blead
  Home:   https://github.com/Perl/perl5
  Commit: 82196dc6c4b9e7e18c1e4e41754dfb94f21ff91c
  
https://github.com/Perl/perl5/commit/82196dc6c4b9e7e18c1e4e41754dfb94f21ff91c
  Author: Tony Cook 
  Date:   2022-08-31 (Wed, 31 Aug 2022)

  Changed paths:
M .github/workflows/testsuite.yml
M MANIFEST
M Porting/README.pod
A Porting/test-dist-modules.pl

  Log Message:
  ---
  test dist/ modules against various older perls in CI

This currently has one major limitation: the perl-testers images
aren't threaded and don't have threaded alternatives, so the threads,
threads-shared and Thread-Queue dists are effectively untested on the
older perls.

The perl-testers images have a large number of test modules and their
dependencies installed, which means we're testing against the latest
versions of those dependencies (such as parent.pm) rather than against
the version of that dependency that shipped with that perl.

I tried to use the official perl images, but these only include a
small number of recent perls.  The git repository includes DockerFiles
for the older versions, but these aren't published to Docker Hub.


  Commit: 0453e438a8f332257ce7c23aa57fefbd1bc747c2
  
https://github.com/Perl/perl5/commit/0453e438a8f332257ce7c23aa57fefbd1bc747c2
  Author: Tony Cook 
  Date:   2022-08-31 (Wed, 31 Aug 2022)

  Changed paths:
M dist/PathTools/t/cwd_enoent.t

  Log Message:
  ---
  fix warning/error on 5.8 with ambiguous ?...? operator

Warning: Use of "defined" without parentheses is ambiguous at t/cwd_enoent.t 
line 32.
Search pattern not terminated at t/cwd_enoent.t line 32.


  Commit: 3b5ec3ec745c3978b2a60a12f13c860a52b1e3cd
  
https://github.com/Perl/perl5/commit/3b5ec3ec745c3978b2a60a12f13c860a52b1e3cd
  Author: Tony Cook 
  Date:   2022-08-31 (Wed, 31 Aug 2022)

  Changed paths:
M dist/Safe/t/safeload.t

  Log Message:
  ---
  version loads warnings, which loads Carp in older versions

Carp calls rand().


  Commit: 1049a8cc76dcf4d16c21953ff1a47c981058faff
  
https://github.com/Perl/perl5/commit/1049a8cc76dcf4d16c21953ff1a47c981058faff
  Author: Tony Cook 
  Date:   2022-08-31 (Wed, 31 Aug 2022)

  Changed paths:
M dist/SelfLoader/t/03taint.t

  Log Message:
  ---
  SelfLoader: /r isn't available for old perls


  Commit: a635e7229b4739a8f572bc3fcfea1e931f4068e7
  
https://github.com/Perl/perl5/commit/a635e7229b4739a8f572bc3fcfea1e931f4068e7
  Author: Tony Cook 
  Date:   2022-08-31 (Wed, 31 Aug 2022)

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

  Log Message:
  ---
  XSLoader.t: fix local skip() implementation

It failed to output:

  ok N # skip 

lines for each skipped test, which meant the tests output didn't match
the test count in the plan.


  Commit: 445772e597b9e104266dc7ec971e260c3f298982
  
https://github.com/Perl/perl5/commit/445772e597b9e104266dc7ec971e260c3f298982
  Author: Tony Cook 
  Date:   2022-08-31 (Wed, 31 Aug 2022)

  Changed paths:
M Porting/test-dist-modules.pl

  Log Message:
  ---
  apply several of the suggestions from @bram-perl

- add an actual error message with `$!` for an opendir failure
- document why Devel-PPPort is treated specially when filtering
  the readdir() results
- change each system() call to list form
- add some explanation to write_testpl()

Also:
- expand die messages for system() failures


Compare: https://github.com/Perl/perl5/compare/b885e42dc207...445772e597b9


[Perl/perl5] b885e4: perldelta for 0b602161d2f4, 80c1f1e45e8e

2022-08-30 Thread Tony Cook via perl5-changes
  Branch: refs/heads/blead
  Home:   https://github.com/Perl/perl5
  Commit: b885e42dc2078e29df142cfcefaa86725199d15b
  
https://github.com/Perl/perl5/commit/b885e42dc2078e29df142cfcefaa86725199d15b
  Author: Tony Cook 
  Date:   2022-08-31 (Wed, 31 Aug 2022)

  Changed paths:
M pod/perldelta.pod

  Log Message:
  ---
  perldelta for 0b602161d2f4, 80c1f1e45e8e




[Perl/perl5] 80c1f1: only clear the stream error state in readline() fo...

2022-08-30 Thread Tony Cook via perl5-changes
  Branch: refs/heads/blead
  Home:   https://github.com/Perl/perl5
  Commit: 80c1f1e45e8ef8c27d170fae7ade41971fe20218
  
https://github.com/Perl/perl5/commit/80c1f1e45e8ef8c27d170fae7ade41971fe20218
  Author: Tony Cook 
  Date:   2022-08-31 (Wed, 31 Aug 2022)

  Changed paths:
M pp_hot.c
M t/lib/warnings/pp_hot

  Log Message:
  ---
  only clear the stream error state in readline() for glob()

This would previously clear the stream error state in any case
where sv_gets() failed and the error state was set.

This included normal files, which meant that the fact that an error
occurred was no longer reflected in the stream state.

For reads from ARGV this was a no-op, since nextargv() re-opens the
input stream by calling do_open6() which closes the old input stream
silently.

For glob() (and really only for miniperl, since File::Glob is used for
a full perl) leaving the stream in an error state could be confusing
for the error reporting done when do_close() fails, since it would
fail if the stream has an error state, but we report it as the
underlying pclose() failing due to the child process failing in some
way.

Since this now leaves the error state on the stream, the close()
calls in the test updated by this commit would fail, changing its
output.  Since the result of those closes didn't seem related
to the purpose of the test, I changed it not throw an error on
either close() failing.


  Commit: 0b602161d2f4c5e6b22144e9f8b9f8128a35f440
  
https://github.com/Perl/perl5/commit/0b602161d2f4c5e6b22144e9f8b9f8128a35f440
  Author: Tony Cook 
  Date:   2022-08-31 (Wed, 31 Aug 2022)

  Changed paths:
M t/op/readline.t

  Log Message:
  ---
  test that <> doesn't clear the stream error state


Compare: https://github.com/Perl/perl5/compare/02cf5fb76fa9...0b602161d2f4


[Perl/perl5] 02cf5f: Promote v5.36 usage and feature bundles doc

2022-08-30 Thread ℕicolas ℝ . via perl5-changes
  Branch: refs/heads/blead
  Home:   https://github.com/Perl/perl5
  Commit: 02cf5fb76fa9ca5db8d1b04f9087dd6d0f81848e
  
https://github.com/Perl/perl5/commit/02cf5fb76fa9ca5db8d1b04f9087dd6d0f81848e
  Author: Nicolas R 
  Date:   2022-08-30 (Tue, 30 Aug 2022)

  Changed paths:
M lib/feature.pm
M regen/feature.pl

  Log Message:
  ---
  Promote v5.36 usage and feature bundles doc

Promote the use of 'v5.36' instead of 'v5.10'.
Also point to the existing Cheat Sheet for the
feature bundle.

For consistency also removed the final dot in several
'head2' feature title.




[Perl/perl5] a808d7: [doc] Update File::Basename synopsis

2022-08-30 Thread Elvin Aslanov via perl5-changes
  Branch: refs/heads/blead
  Home:   https://github.com/Perl/perl5
  Commit: a808d73686a9dab311eeb27f981eb4a61c43a108
  
https://github.com/Perl/perl5/commit/a808d73686a9dab311eeb27f981eb4a61c43a108
  Author: Elvin Aslanov 
  Date:   2022-08-30 (Tue, 30 Aug 2022)

  Changed paths:
M lib/File/Basename.pm

  Log Message:
  ---
  [doc] Update File::Basename synopsis

Add `my` on examples.




[Perl/perl5] 7b88a3: Update File::Spec synopsis

2022-08-30 Thread Elvin Aslanov via perl5-changes
  Branch: refs/heads/blead
  Home:   https://github.com/Perl/perl5
  Commit: 7b88a34f3abd2662f6c449391320ac1f582b4043
  
https://github.com/Perl/perl5/commit/7b88a34f3abd2662f6c449391320ac1f582b4043
  Author: Elvin Aslanov 
  Date:   2022-08-30 (Tue, 30 Aug 2022)

  Changed paths:
M dist/PathTools/lib/File/Spec.pm

  Log Message:
  ---
  Update File::Spec synopsis

Add `my` to examples for better practice.




[Perl/perl5] 047c4f: [doc] Update FileHandle synopsis

2022-08-30 Thread Elvin Aslanov via perl5-changes
  Branch: refs/heads/blead
  Home:   https://github.com/Perl/perl5
  Commit: 047c4f33756612ef7efae41cb4efca52f800787a
  
https://github.com/Perl/perl5/commit/047c4f33756612ef7efae41cb4efca52f800787a
  Author: Elvin Aslanov 
  Date:   2022-08-30 (Tue, 30 Aug 2022)

  Changed paths:
M lib/FileHandle.pm

  Log Message:
  ---
  [doc] Update FileHandle synopsis

Add `my` to examples for better practice.




[Perl/perl5] ce7890: [doc] Update File::Copy synopsis

2022-08-30 Thread Elvin Aslanov via perl5-changes
  Branch: refs/heads/blead
  Home:   https://github.com/Perl/perl5
  Commit: ce789034b8334f0287b20cd30ee2b8859ec79ca9
  
https://github.com/Perl/perl5/commit/ce789034b8334f0287b20cd30ee2b8859ec79ca9
  Author: Elvin Aslanov 
  Date:   2022-08-30 (Tue, 30 Aug 2022)

  Changed paths:
M lib/File/Copy.pm

  Log Message:
  ---
  [doc] Update File::Copy synopsis

Add `my` to examples for better practice.




[Perl/perl5] 4622e1: [doc] Update IO::Handle synopsis

2022-08-30 Thread Elvin Aslanov via perl5-changes
  Branch: refs/heads/blead
  Home:   https://github.com/Perl/perl5
  Commit: 4622e102066ac6c21fa38a6622b883eed7e7ed9e
  
https://github.com/Perl/perl5/commit/4622e102066ac6c21fa38a6622b883eed7e7ed9e
  Author: Elvin Aslanov 
  Date:   2022-08-30 (Tue, 30 Aug 2022)

  Changed paths:
M dist/IO/lib/IO/Handle.pm

  Log Message:
  ---
  [doc] Update IO::Handle synopsis

Add `my` to examples for better practice.




[Perl/perl5]

2022-08-30 Thread Karl Williamson via perl5-changes
  Branch: refs/heads/yves/perlinterp_fixups
  Home:   https://github.com/Perl/perl5


[Perl/perl5] 1b6cb4: perlinterp.pod - minor enhancements of the docs ab...

2022-08-30 Thread Yves Orton via perl5-changes
  Branch: refs/heads/blead
  Home:   https://github.com/Perl/perl5
  Commit: 1b6cb4fd1fd2aa3611fc3707b763076950831863
  
https://github.com/Perl/perl5/commit/1b6cb4fd1fd2aa3611fc3707b763076950831863
  Author: Yves Orton 
  Date:   2022-08-30 (Tue, 30 Aug 2022)

  Changed paths:
M pod/perlinterp.pod

  Log Message:
  ---
  perlinterp.pod - minor enhancements of the docs about JMPENV_ macros

Added a bit more on the levels and return codes. 1 is actually used
in the outmost call, or at least there is code to support it. Also
added "level" info, since that is used in -Dl.




[Perl/perl5] 80f9dd: Update IO::File synopsis

2022-08-30 Thread Elvin Aslanov via perl5-changes
  Branch: refs/heads/blead
  Home:   https://github.com/Perl/perl5
  Commit: 80f9dd66d1498f4eb40bcec77888c00955ed7527
  
https://github.com/Perl/perl5/commit/80f9dd66d1498f4eb40bcec77888c00955ed7527
  Author: Elvin Aslanov 
  Date:   2022-08-30 (Tue, 30 Aug 2022)

  Changed paths:
M dist/IO/lib/IO/File.pm

  Log Message:
  ---
  Update IO::File synopsis

Add `my` to examples for better practice.




[Perl/perl5] 93f2ab: Update IO::Dir synopsis

2022-08-30 Thread Elvin Aslanov via perl5-changes
  Branch: refs/heads/blead
  Home:   https://github.com/Perl/perl5
  Commit: 93f2abd3f113ccb9e074668c0dacb7c9fa47acd4
  
https://github.com/Perl/perl5/commit/93f2abd3f113ccb9e074668c0dacb7c9fa47acd4
  Author: Elvin Aslanov 
  Date:   2022-08-30 (Tue, 30 Aug 2022)

  Changed paths:
M dist/IO/lib/IO/Dir.pm

  Log Message:
  ---
  Update IO::Dir synopsis

Add `my` to examples for better practice.




[Perl/perl5] c1a488: cop.h - show a bit more debug out in JMPENV macros...

2022-08-30 Thread Yves Orton via perl5-changes
  Branch: refs/heads/yves/cop_h_debug_enhance
  Home:   https://github.com/Perl/perl5
  Commit: c1a488931239428a394114a67bb004f1bc8aad35
  
https://github.com/Perl/perl5/commit/c1a488931239428a394114a67bb004f1bc8aad35
  Author: Yves Orton 
  Date:   2022-08-30 (Tue, 30 Aug 2022)

  Changed paths:
M cop.h

  Log Message:
  ---
  cop.h - show a bit more debug out in JMPENV macros, and minor fixes

* Show the return from JMPENV_PUSH().
* use (v) consistently.
* Line up backslashes.