[Perl/perl5] ff3480: perldelta for 0944cd73758

2023-09-04 Thread Tony Cook via perl5-changes
  Branch: refs/heads/blead
  Home:   https://github.com/Perl/perl5
  Commit: ff34800aa6dd2ec689e0ea53f5c010dee827f371
  
https://github.com/Perl/perl5/commit/ff34800aa6dd2ec689e0ea53f5c010dee827f371
  Author: Tony Cook 
  Date:   2023-09-05 (Tue, 05 Sep 2023)

  Changed paths:
M pod/perldelta.pod

  Log Message:
  ---
  perldelta for 0944cd73758




[Perl/perl5] 0944cd: Configure: ensure LC_ALL test code doesn't have es...

2023-09-04 Thread Tony Cook via perl5-changes
  Branch: refs/heads/blead
  Home:   https://github.com/Perl/perl5
  Commit: 0944cd7375842c8de7127f6ad0e4cbbb88a2b015
  
https://github.com/Perl/perl5/commit/0944cd7375842c8de7127f6ad0e4cbbb88a2b015
  Author: Tony Cook 
  Date:   2023-09-05 (Tue, 05 Sep 2023)

  Changed paths:
M Configure

  Log Message:
  ---
  Configure: ensure LC_ALL test code doesn't have escapes escaped

Some \" was being converted to " with ksh on AIX, causing the
program to fail to build and failing the entire build.

Example report: https://perl5.test-smoke.org/report/5039146

Errors:
"config.h", line 3640.3: 1506-218 (E) Unknown preprocessing directive 
#PERL_LC_ALL_USES_NAME_VALUE_PAIRS.
"config.h", line 3641.4: 1506-218 (E) Unknown preprocessing directive 
#PERL_LC_ALL_SEPARATOR.
"config.h", line 3642.4: 1506-218 (E) Unknown preprocessing directive 
#PERL_LC_ALL_CATEGORY_POSITIONS_INIT.
"locale.c", line 6865.43: 1506-168 (S) Initializer must be enclosed in braces.
"locale.c", line 6866.31: 1506-043 (S) The operand of the sizeof operator is 
not valid.
"locale.c", line 6866.9: 1506-044 (S) Expression must be a non-negative integer 
constant.
"locale.c", line 6870.18: 1506-043 (S) The operand of the sizeof operator is 
not valid.




[Perl/perl5] e32531: [doc] FindBin.pm: Improve Formatting and Documenta...

2023-09-04 Thread Elvin Aslanov via perl5-changes
  Branch: refs/heads/blead
  Home:   https://github.com/Perl/perl5
  Commit: e3253165ff661f494e226cc7da57c7df8c7dbfab
  
https://github.com/Perl/perl5/commit/e3253165ff661f494e226cc7da57c7df8c7dbfab
  Author: Elvin Aslanov 
  Date:   2023-09-04 (Mon, 04 Sep 2023)

  Changed paths:
M dist/FindBin/Changes
M dist/FindBin/lib/FindBin.pm

  Log Message:
  ---
  [doc] FindBin.pm: Improve Formatting and Documentation

Improve formatting and document the undocumented
variable aliases such as `$Dir` and `$RealDir`, and the `ALL` tag
that I think some would prefer to use due to a greater readability




[Perl/perl5] abf0a3: File::Compare: Formatting and Styling

2023-09-04 Thread Elvin Aslanov via perl5-changes
  Branch: refs/heads/blead
  Home:   https://github.com/Perl/perl5
  Commit: abf0a31fe8f1dbf8a505d163f4f64adb6894940e
  
https://github.com/Perl/perl5/commit/abf0a31fe8f1dbf8a505d163f4f64adb6894940e
  Author: Elvin Aslanov 
  Date:   2023-09-04 (Mon, 04 Sep 2023)

  Changed paths:
M lib/File/Compare.pm

  Log Message:
  ---
  File::Compare: Formatting and Styling

Bump the version as well




[Perl/perl5] 718c63: perl.pod: make "SEE ALSO" links clickable

2023-09-04 Thread mauke via perl5-changes
  Branch: refs/heads/blead
  Home:   https://github.com/Perl/perl5
  Commit: 718c634c78afe222329ce1ff83a55d9d0d9dd6a9
  
https://github.com/Perl/perl5/commit/718c634c78afe222329ce1ff83a55d9d0d9dd6a9
  Author: Lukas Mai 
  Date:   2023-09-04 (Mon, 04 Sep 2023)

  Changed paths:
M pod/perl.pod

  Log Message:
  ---
  perl.pod: make "SEE ALSO" links clickable




[Perl/perl5] 1b2f9f: perlop, perlsyn: make abstract more verbose/precise

2023-09-04 Thread mauke via perl5-changes
  Branch: refs/heads/blead
  Home:   https://github.com/Perl/perl5
  Commit: 1b2f9fc32edcecb73698f195b0330f1eb09759d4
  
https://github.com/Perl/perl5/commit/1b2f9fc32edcecb73698f195b0330f1eb09759d4
  Author: Lukas Mai 
  Date:   2023-09-04 (Mon, 04 Sep 2023)

  Changed paths:
M MANIFEST
M pod/perl.pod
M pod/perlop.pod
M pod/perlsyn.pod
M t/porting/known_pod_issues.dat

  Log Message:
  ---
  perlop, perlsyn: make abstract more verbose/precise

If you're looking for the syntax of Perl expressions or strings, you
might think that "perlsyn - Perl syntax" is the document you need. But
perlsyn is mostly about syntax at the statement level. Expressions
(including how string literals are parsed, available escape sequences,
etc) are documented in perlop instead.

Hopefully, making the abstract slightly more verbose will make it easier
for people to find the documentation they're looking for.




[Perl/perl5] aa5929: [doc] `File::Spec::Functions`: Add missing `my` to...

2023-09-04 Thread Elvin Aslanov via perl5-changes
  Branch: refs/heads/blead
  Home:   https://github.com/Perl/perl5
  Commit: aa5929628d05619ad1fbbdc7ef61a71cebf0e310
  
https://github.com/Perl/perl5/commit/aa5929628d05619ad1fbbdc7ef61a71cebf0e310
  Author: Elvin Aslanov 
  Date:   2023-09-04 (Mon, 04 Sep 2023)

  Changed paths:
M dist/PathTools/lib/File/Spec/AmigaOS.pm
M dist/PathTools/lib/File/Spec/Cygwin.pm
M dist/PathTools/lib/File/Spec/Epoc.pm
M dist/PathTools/lib/File/Spec/Functions.pm
M dist/PathTools/lib/File/Spec/Mac.pm
M dist/PathTools/lib/File/Spec/OS2.pm
M dist/PathTools/lib/File/Spec/Unix.pm
M dist/PathTools/lib/File/Spec/VMS.pm
M dist/PathTools/lib/File/Spec/Win32.pm

  Log Message:
  ---
  [doc] `File::Spec::Functions`: Add missing `my` to SYNOPSIS

Seems like this particular module was missing the `my` keyword in its synopsis 
added previously distribution-wise.

Bump distribution version.




[Perl/perl5] ffd848: Revert "Skip C++ test on Windows"

2023-09-04 Thread Leon Timmermans via perl5-changes
  Branch: refs/heads/leont/eucb-windows-simple
  Home:   https://github.com/Perl/perl5
  Commit: ffd8485df4eb0bfa9f05fc4f1ada55182fa7d3cd
  
https://github.com/Perl/perl5/commit/ffd8485df4eb0bfa9f05fc4f1ada55182fa7d3cd
  Author: Leon Timmermans 
  Date:   2023-09-04 (Mon, 04 Sep 2023)

  Changed paths:
M dist/ExtUtils-CBuilder/t/00-have-compiler.t

  Log Message:
  ---
  Revert "Skip C++ test on Windows"

This reverts commit 6f19f5076484a7aeabd1eb501aa94addd4733613.

Now that linking on windows has been fixed this is no longer necessary




[Perl/perl5]

2023-09-04 Thread iabyn via perl5-changes
  Branch: refs/heads/davem/rc_stack2
  Home:   https://github.com/Perl/perl5


[Perl/perl5]

2023-09-04 Thread iabyn via perl5-changes
  Branch: refs/heads/davem/rc_stack2
  Home:   https://github.com/Perl/perl5


[Perl/perl5] da2d8d: make RC-stack-aware: unwrap nullary pp() fns

2023-09-04 Thread iabyn via perl5-changes
  Branch: refs/heads/blead
  Home:   https://github.com/Perl/perl5
  Commit: da2d8d051bc3afdfa7c968e22cb6bbee697f36e5
  
https://github.com/Perl/perl5/commit/da2d8d051bc3afdfa7c968e22cb6bbee697f36e5
  Author: David Mitchell 
  Date:   2023-09-04 (Mon, 04 Sep 2023)

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

  Log Message:
  ---
  make RC-stack-aware: unwrap nullary pp() fns

Remove the temporary wrappers from most of the pp() functions which
take zero arguments from the stack (but which may well return
arguments).

Only the simple nullary OPs have been unwrapped in this commit; more
complex ones will have their own commit.


  Commit: c1771c7a7fd86bac2159e1d65c8037dd70228099
  
https://github.com/Perl/perl5/commit/c1771c7a7fd86bac2159e1d65c8037dd70228099
  Author: David Mitchell 
  Date:   2023-09-04 (Mon, 04 Sep 2023)

  Changed paths:
M doop.c
M embed.fnc
M hv.c
M pp.c
M pp_hot.c
M proto.h

  Log Message:
  ---
  make RC-stack-aware: unwrap rv2av etc pp fns

Remove the temporary wrappers from a set of pp() functions which
handle retrieving the whole contents of an array or hash. These needed
to be done as one commit because there's a lot of shared static
functions etc that all need to be changed at the same time.

The unwrapped pp() functions are:

do_kv(a.k.a. pp_keys, pp_values)
pp_rv2sv
pp_padrange
pp_padav
pp_padhv
pp_rv2av (a.k.a. pp_rv2hv)
pp_lvavref

In addition the following static or non-public functions were fixed and
changed:

Perl_hv_pushkv
S_padhv_rv2hv_common  - it's now responsible for popping arg
Perl_softref2xv   - its signature has changed.


  Commit: a71e78fa8d19d16a867e214b1c331a4922fe7bda
  
https://github.com/Perl/perl5/commit/a71e78fa8d19d16a867e214b1c331a4922fe7bda
  Author: David Mitchell 
  Date:   2023-09-04 (Mon, 04 Sep 2023)

  Changed paths:
M pp.c
M pp_hot.c

  Log Message:
  ---
  make RC-stack-aware: unwrap unary pp() fns

Remove the temporary wrappers from many of the pp() functions which
take a single argument from the stack.

Only the simple unary OPs have been unwrapped in this commit; more
complex ones will come later.


  Commit: a5773895bac3a078fc5f832bde2b9c7abc5bfb03
  
https://github.com/Perl/perl5/commit/a5773895bac3a078fc5f832bde2b9c7abc5bfb03
  Author: David Mitchell 
  Date:   2023-09-04 (Mon, 04 Sep 2023)

  Changed paths:
M builtin.c
M pp.c

  Log Message:
  ---
  make RC-stack-aware: unwrap builtin pp() fns

Remove the temporary wrappers from the pp() functions which
implement some of the functionality of the builtin:: namespace.

All of these had to be done as a single commit, because a couple
of XS functions which implement many of the builtin subs need to be made
RC-stack-aware at the same time as all the associated pp() functions,
since those pp() functions are tail-called by the XS functions.


  Commit: cee987b6dcd3c1ff1e5b6247f0ae50e8f5a3ae54
  
https://github.com/Perl/perl5/commit/cee987b6dcd3c1ff1e5b6247f0ae50e8f5a3ae54
  Author: David Mitchell 
  Date:   2023-09-04 (Mon, 04 Sep 2023)

  Changed paths:
M pp.c
M pp_ctl.c
M pp_hot.c

  Log Message:
  ---
  make RC-stack-aware: unwrap binary pp() fns

Remove the temporary wrappers from many of the pp() functions which
take two arguments from the stack.

Only the simpler binary OPs have been unwrapped in this commit; more
complex ones will come later.


  Commit: 27b89dfb1aff866a35ee442e225fe6c97631acbf
  
https://github.com/Perl/perl5/commit/27b89dfb1aff866a35ee442e225fe6c97631acbf
  Author: David Mitchell 
  Date:   2023-09-04 (Mon, 04 Sep 2023)

  Changed paths:
M builtin.c
M doop.c
M embed.fnc
M hv.c
M pp.c
M pp_ctl.c
M pp_hot.c
M pp_sys.c
M proto.h

  Log Message:
  ---
  [MERGE] make most null/un/binary pp() fns RC-ware

This series of commits "unwraps" most of the common nullary, unary and
binary pp() functions so that, under PERL_RC_STACK builds, the pp()
functions run directly rather than being called via a slow wrapper.

I've gone for the low-hanging fruit, which gives the greatest speed-up
from the least effort, so far. I've generally avoided functions in
pp_sys.c - they are typically complex in terms of ifdefs to run on
different platforms, and the I/O they trigger make the slowdown from the
wrapper less noticeable.

I've skipped pp_eq, pp_i_eq, pp_seq and pp_match for now as they have a
dependency on the smartmatch op.

I haven't looked at list ops yet.

On non-PERL_RC_STACK builds, there should be no noticeable change in
behaviour or performance.


Compare: https://github.com/Perl/perl5/compare/e78b109c9815...27b89dfb1aff


[Perl/perl5] 7ed874: Make OP_STRINGIFY a UNOP

2023-09-04 Thread Dagfinn Ilmari Mannsåker via perl5-changes
  Branch: refs/heads/stringify-unop
  Home:   https://github.com/Perl/perl5
  Commit: 7ed874541abc17d294294d5ead9f89dc9b2b3f0f
  
https://github.com/Perl/perl5/commit/7ed874541abc17d294294d5ead9f89dc9b2b3f0f
  Author: Dagfinn Ilmari Mannsåker 
  Date:   2023-09-04 (Mon, 04 Sep 2023)

  Changed paths:
M lib/B/Op_private.pm
M opcode.h
M peep.c
M regen/opcodes

  Log Message:
  ---
  Make OP_STRINGIFY a UNOP

It only operates on a single value, the op_targ, so it should
logically be a UNOP, not a LISTOP like it's been since seemingly the
beginning.

The op is not directly exposed to Perl, so this makes no user-visible
difference.