[Perl/perl5] 486aff: perldelta for 412d75ef55

2023-12-06 Thread Tony Cook via perl5-changes
  Branch: refs/heads/blead
  Home:   https://github.com/Perl/perl5
  Commit: 486affe730619decbdffd7b87161c117f57c8b11
  
https://github.com/Perl/perl5/commit/486affe730619decbdffd7b87161c117f57c8b11
  Author: Tony Cook 
  Date:   2023-12-07 (Thu, 07 Dec 2023)

  Changed paths:
M pod/perldelta.pod

  Log Message:
  ---
  perldelta for 412d75ef55




[Perl/perl5] 412d75: skip porting/libperl.t on maint releases

2023-12-06 Thread Tony Cook via perl5-changes
  Branch: refs/heads/blead
  Home:   https://github.com/Perl/perl5
  Commit: 412d75ef55319856182b7e20ce0079362dfce41e
  
https://github.com/Perl/perl5/commit/412d75ef55319856182b7e20ce0079362dfce41e
  Author: Tony Cook 
  Date:   2023-12-07 (Thu, 07 Dec 2023)

  Changed paths:
M t/porting/libperl.t

  Log Message:
  ---
  skip porting/libperl.t on maint releases

maint-* branches, whether supported or not, may not be updated to
handle changes to nm's output due to updates to the operating system
or toolchain.

The same applies doubly to release tarballs.

So skip this test for maint/version numbers.

Keep the test for devel releases, since they have limited support
windows anyway, and we want this test to be done where possible.

Fixes #21677




[Perl/perl5] 8b9c80: mktables more verbose

2023-12-06 Thread Karl Williamson via perl5-changes
  Branch: refs/heads/smoke-me/khw-env
  Home:   https://github.com/Perl/perl5
  Commit: 8b9c80e9392f640d69c4f3c2b5eb2c47060140ed
  
https://github.com/Perl/perl5/commit/8b9c80e9392f640d69c4f3c2b5eb2c47060140ed
  Author: Karl Williamson 
  Date:   2023-12-06 (Wed, 06 Dec 2023)

  Changed paths:
M charclass_invlists.h
M lib/unicore/Makefile
M lib/unicore/mktables
M lib/unicore/uni_keywords.pl
M regcharclass.h
M uni_keywords.h

  Log Message:
  ---
  mktables more verbose


  Commit: fbead68eff1cd65483ef0f902d4c2a379882ee25
  
https://github.com/Perl/perl5/commit/fbead68eff1cd65483ef0f902d4c2a379882ee25
  Author: Karl Williamson 
  Date:   2023-12-06 (Wed, 06 Dec 2023)

  Changed paths:
M cpan/Pod-Simple/lib/Pod/Simple/BlackBox.pm

  Log Message:
  ---
  BlackBox dont use rare scripts


  Commit: 589b0d3ab5b650f27bcaa11cc178f154019cf214
  
https://github.com/Perl/perl5/commit/589b0d3ab5b650f27bcaa11cc178f154019cf214
  Author: Karl Williamson 
  Date:   2023-12-06 (Wed, 06 Dec 2023)

  Changed paths:
M t/harness

  Log Message:
  ---
  XXX t/harness temp tweaks


  Commit: ac6391f9b8ac006895715a940b2813f017f6fa2b
  
https://github.com/Perl/perl5/commit/ac6391f9b8ac006895715a940b2813f017f6fa2b
  Author: Karl Williamson 
  Date:   2023-12-06 (Wed, 06 Dec 2023)

  Changed paths:
M t/harness

  Log Message:
  ---
  XXX skip croak.t under sanitizer


  Commit: 2fe8d0b907a91d348a2638ffd79f23a10a5abe64
  
https://github.com/Perl/perl5/commit/2fe8d0b907a91d348a2638ffd79f23a10a5abe64
  Author: Karl Williamson 
  Date:   2023-12-06 (Wed, 06 Dec 2023)

  Changed paths:
M t/porting/bincompat.t

  Log Message:
  ---
  skip bincompat.t


  Commit: 0f521a71bfa712f92430c5b5f8ba30a329082c74
  
https://github.com/Perl/perl5/commit/0f521a71bfa712f92430c5b5f8ba30a329082c74
  Author: Karl Williamson 
  Date:   2023-12-06 (Wed, 06 Dec 2023)

  Changed paths:
M t/TEST

  Log Message:
  ---
  XXX skip cpan testing


  Commit: 572550b90cd7c279b4ac906c186b38b0b1a0fe1a
  
https://github.com/Perl/perl5/commit/572550b90cd7c279b4ac906c186b38b0b1a0fe1a
  Author: Karl Williamson 
  Date:   2023-12-06 (Wed, 06 Dec 2023)

  Changed paths:
M MANIFEST
M charclass_invlists.h
M dist/Tie-File/t/29a_upcopy.t
M lib/unicore/mktables
M lib/unicore/uni_keywords.pl
M regcharclass.h
A t/re/uniprops11.t
A t/re/uniprops12.t
A t/re/uniprops13.t
A t/re/uniprops14.t
A t/re/uniprops15.t
A t/re/uniprops16.t
A t/re/uniprops17.t
A t/re/uniprops18.t
A t/re/uniprops19.t
A t/re/uniprops20.t
A t/re/uniprops21.t
A t/re/uniprops22.t
A t/re/uniprops23.t
A t/re/uniprops24.t
M uni_keywords.h

  Log Message:
  ---
  XXX temp: dist/Tie-File/t/29a_upcopy.t: Up alarm


  Commit: ae8b1347e5903a1c0a30b12c5c37d2ea307423a8
  
https://github.com/Perl/perl5/commit/ae8b1347e5903a1c0a30b12c5c37d2ea307423a8
  Author: Karl Williamson 
  Date:   2023-12-06 (Wed, 06 Dec 2023)

  Changed paths:
M MANIFEST
A t/uni/idstart.pl
A t/uni/idstart00.t
A t/uni/idstart01.t
A t/uni/idstart02.t
A t/uni/idstart03.t
A t/uni/idstart04.t
A t/uni/idstart05.t
A t/uni/idstart06.t
A t/uni/idstart07.t
A t/uni/idstart08.t
A t/uni/idstart09.t
A t/uni/idstart10.t
A t/uni/idstart11.t
A t/uni/idstart12.t
A t/uni/idstart13.t
A t/uni/idstart14.t
A t/uni/idstart15.t
A t/uni/idstart16.t
A t/uni/idstart17.t
A t/uni/idstart18.t
A t/uni/idstart19.t
A t/uni/idstart20.t
A t/uni/idstart21.t
A t/uni/idstart22.t
A t/uni/idstart23.t
M t/uni/variables.t

  Log Message:
  ---
  Split t/uni/variables.t into multiple tests

These can be done in parallel; otherwise this is often the test that
finishes last, holding up the test suite completion.


  Commit: db420f7095315f5fd7adab4205a23ae0d3238cfd
  
https://github.com/Perl/perl5/commit/db420f7095315f5fd7adab4205a23ae0d3238cfd
  Author: Karl Williamson 
  Date:   2023-12-06 (Wed, 06 Dec 2023)

  Changed paths:
M t/test.pl

  Log Message:
  ---
  XXX test.pl: dont unlink temps


  Commit: b24b65351f14f15b1ee1374ce0700d1fc00f0d67
  
https://github.com/Perl/perl5/commit/b24b65351f14f15b1ee1374ce0700d1fc00f0d67
  Author: Karl Williamson 
  Date:   2023-12-06 (Wed, 06 Dec 2023)

  Changed paths:
M t/test.pl

  Log Message:
  ---
  Revert "XXX test.pl: dont unlink temps"

This reverts commit 1579ce0dbce549cb594214ba27d4e2fa389f891b.


  Commit: db7c2ab4639d42aa1079f55f61c6ad57ce214363
  
https://github.com/Perl/perl5/commit/db7c2ab4639d42aa1079f55f61c6ad57ce214363
  Author: Karl Williamson 
  Date:   2023-12-06 (Wed, 06 Dec 2023)

  Changed paths:
M t/run/locale.t

  Log Message:
  ---
  run/locale.t: more debug


  Commit: a83221027de7a6655808af22f37b52f5fe0ce3cc
  

[Perl/perl5] 403534: Mention the version defer and try features were in...

2023-12-06 Thread Paul Evans via perl5-changes
  Branch: refs/heads/blead
  Home:   https://github.com/Perl/perl5
  Commit: 4035348a96178ca9afedd57d4c2fc824907a0451
  
https://github.com/Perl/perl5/commit/4035348a96178ca9afedd57d4c2fc824907a0451
  Author: E. Choroba 
  Date:   2023-12-06 (Wed, 06 Dec 2023)

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

  Log Message:
  ---
  Mention the version defer and try features were introduced in

All other features (including the experimental ones) mention it.




[Perl/perl5]

2023-12-06 Thread iabyn via perl5-changes
  Branch: refs/heads/davem/rc5
  Home:   https://github.com/Perl/perl5


[Perl/perl5] 594c45: make RC-stack-aware: unwrap pp_index()

2023-12-06 Thread iabyn via perl5-changes
  Branch: refs/heads/blead
  Home:   https://github.com/Perl/perl5
  Commit: 594c45d643751f7afe1092bf6b2bec22a912f135
  
https://github.com/Perl/perl5/commit/594c45d643751f7afe1092bf6b2bec22a912f135
  Author: David Mitchell 
  Date:   2023-12-06 (Wed, 06 Dec 2023)

  Changed paths:
M pp.c

  Log Message:
  ---
  make RC-stack-aware: unwrap pp_index()

Remove the temporary wrapper from pp_index()


  Commit: 591200f6f0f3257838efb8d5103b955e84db6ffd
  
https://github.com/Perl/perl5/commit/591200f6f0f3257838efb8d5103b955e84db6ffd
  Author: David Mitchell 
  Date:   2023-12-06 (Wed, 06 Dec 2023)

  Changed paths:
M dist/IO/IO.xs

  Log Message:
  ---
  IO::getline(): use CALLRUNOPS

This XS function calls Perl_pp_readline() directly. Instead, invoke the
op via CALLRUNOPS(): the run loop (that will just run a single op) can
handle the case of the caller having a non-reference-counted stack,
but when the ops it calls are expecting a reference-counted stack.

Perl_pp_readline() will (in a few commits' time) indeed be expecting a
reference-counted stack.


  Commit: d25231bc219ffc858cb4291da9ca933e958dcf41
  
https://github.com/Perl/perl5/commit/d25231bc219ffc858cb4291da9ca933e958dcf41
  Author: David Mitchell 
  Date:   2023-12-06 (Wed, 06 Dec 2023)

  Changed paths:
M dist/IO/IO.xs

  Log Message:
  ---
  IO::getline() handle OPf_STACKED better

When calling Perl_pp_readline(), only set OPf_STACKED, and only create a
dummy stacked target, when in scalar context. getline() had been sort of
getting away with always setting it, but the next commit but one will
make pp_readline() more strict about its flag handling (basically adding
lots of asserts and only processing the target when OPf_STACKED is set).

This change has been wrapped in a version #ifdef, as on older perls
pp_readline() will unconditionally try to retrieve the targ from the pad
if OPf_STACKED isn't set, and probably crash.

Note that until the next commit but one, this commit will probably fail
t/io_getline.t.


  Commit: 14c47929512aa30191dca1f037cc3584580023c8
  
https://github.com/Perl/perl5/commit/14c47929512aa30191dca1f037cc3584580023c8
  Author: David Mitchell 
  Date:   2023-12-06 (Wed, 06 Dec 2023)

  Changed paths:
M pp.h
M pp_hot.c
M pp_sys.c

  Log Message:
  ---
  expand tryAMAGICunTARGETlist() macro

This long macro is only used in two places (pp_readline and pp_glob).
Expand the contents of this macro directly in those two functions.

This will make it easier to individually unwrap (i.e. remove
PP_wrapped()) those two functions.

Shouldn't be any functional change.


  Commit: 651f4b6c76d59d6258fe672000c6ce9a23c993a1
  
https://github.com/Perl/perl5/commit/651f4b6c76d59d6258fe672000c6ce9a23c993a1
  Author: David Mitchell 
  Date:   2023-12-06 (Wed, 06 Dec 2023)

  Changed paths:
M gv.c
M pp.c
M pp_hot.c
M pp_sys.c

  Log Message:
  ---
  make RC-stack-aware: pp_readline(), pp_glob() etc

Remove the temporary wrappers from:

pp_readline()
pp_rcatline()
pp_glob()
pp_rv2gv()

and dependent functions.

This started out as an attempt to unwrap the simple pp_rv2gv() function.
But pp_readline() calls pp_rv2gv() too, so that had to be unwrapped too.
Then the bulk of pp_readline()'s implementation is done by
do_readline(), so that had to be updated too. But pp_rcatline() and
pp_glob() also call out to do_readline(), so they had to be fixed too.
And pp_glob() outsources most of its work to the XS module File::Glob,
so calling that had to be wrapped to handle a non-refcounted stack in
the XS code. Then it turns out that code in IO.xs calls pp_readline()
directly and needed tweaking.

So now its a large commit that updates nearly everything in one big go.

While fixing up everything, I took the opportunity to add many code
comments and asserts to better document what these various functions do,
and what args they expect on the stack under what flag conditions.

The op_flag processing is now more strict, so potentially other code
which directly fakes up an op with sloppy flag settings and calls one of
these pp functions directly might now trigger an assert failure. (See
the fix-up to IO.xs a couple of commits ago for an example.)


  Commit: 99e4f4b1c4bc11fc21660d3dcd3c6eb584361c54
  
https://github.com/Perl/perl5/commit/99e4f4b1c4bc11fc21660d3dcd3c6eb584361c54
  Author: David Mitchell 
  Date:   2023-12-06 (Wed, 06 Dec 2023)

  Changed paths:
M pp.h

  Log Message:
  ---
  remove unused tryAMAGICunTARGETlist macro

This macro was originally only used in two places in core (pp_readline
and pp_glob), and nowhere on CPAN.

The last few commits inlined those only two usages, then modified the
functions using that code to be PERL_RC_STACK-aware.

Since the macro is now unused, and is the old obsolete non-PERL_RC_STACK
code, this commit just deletes it.


  Commit: 49e6c78e46b366d68f0bef59674dc9dfaed3d131