[Perl/perl5] 0bf91c: Porting/release_schedule.pod: Fix verbatim line len

2022-06-14 Thread Karl Williamson via perl5-changes
  Branch: refs/heads/blead
  Home:   https://github.com/Perl/perl5
  Commit: 0bf91cc9654c61052c0c525b894604f08b8d3069
  
https://github.com/Perl/perl5/commit/0bf91cc9654c61052c0c525b894604f08b8d3069
  Author: Karl Williamson 
  Date:   2022-06-14 (Tue, 14 Jun 2022)

  Changed paths:
M Porting/release_schedule.pod

  Log Message:
  ---
  Porting/release_schedule.pod: Fix verbatim line len




[Perl/perl5] b15d21: Added release managers through January 2023

2022-06-14 Thread Neil Bowers via perl5-changes
  Branch: refs/heads/blead
  Home:   https://github.com/Perl/perl5
  Commit: b15d219e387df23e2b242fa9e723118f75833905
  
https://github.com/Perl/perl5/commit/b15d219e387df23e2b242fa9e723118f75833905
  Author: Neil Bowers 
  Date:   2022-06-14 (Tue, 14 Jun 2022)

  Changed paths:
M Porting/release_schedule.pod

  Log Message:
  ---
  Added release managers through January 2023




[Perl/perl5] 478004: smoke

2022-06-14 Thread Karl Williamson via perl5-changes
  Branch: refs/heads/smoke-me/khw-printf
  Home:   https://github.com/Perl/perl5
  Commit: 4780041d9c5d068c5db80935527fc4de0109e2d4
  
https://github.com/Perl/perl5/commit/4780041d9c5d068c5db80935527fc4de0109e2d4
  Author: Karl Williamson 
  Date:   2022-06-14 (Tue, 14 Jun 2022)

  Changed paths:
M perl.h
M regcomp.c

  Log Message:
  ---
  smoke




[Perl/perl5] 34e735: Use auto-image-base on cygwin

2022-06-14 Thread Leon Timmermans via perl5-changes
  Branch: refs/heads/blead
  Home:   https://github.com/Perl/perl5
  Commit: 34e7352bb23c64795967cb3142a26807f11ea70b
  
https://github.com/Perl/perl5/commit/34e7352bb23c64795967cb3142a26807f11ea70b
  Author: Leon Timmermans 
  Date:   2022-06-14 (Tue, 14 Jun 2022)

  Changed paths:
M Makefile.SH

  Log Message:
  ---
  Use auto-image-base on cygwin


  Commit: 1ecb5180fc3382074c309f589c602ea082d9b2fd
  
https://github.com/Perl/perl5/commit/1ecb5180fc3382074c309f589c602ea082d9b2fd
  Author: Leon Timmermans 
  Date:   2022-06-14 (Tue, 14 Jun 2022)

  Changed paths:
M hints/cygwin.sh

  Log Message:
  ---
  Use cygwin's own hints/cygwin.sh


  Commit: f15e478c60445e7053811660fb7e10b6c857569e
  
https://github.com/Perl/perl5/commit/f15e478c60445e7053811660fb7e10b6c857569e
  Author: Leon Timmermans 
  Date:   2022-06-14 (Tue, 14 Jun 2022)

  Changed paths:
M Configure

  Log Message:
  ---
  Update libsearch paths for cygwin


  Commit: eceace59944a0229db874069b8a802d58a7880c9
  
https://github.com/Perl/perl5/commit/eceace59944a0229db874069b8a802d58a7880c9
  Author: Leon Timmermans 
  Date:   2022-06-14 (Tue, 14 Jun 2022)

  Changed paths:
M README.cygwin

  Log Message:
  ---
  Update cygwin README file from downstream


Compare: https://github.com/Perl/perl5/compare/9f4248c91978...eceace59944a


[Perl/perl5] 9f4248: Revert "Do per-word hop back"

2022-06-14 Thread Karl Williamson via perl5-changes
  Branch: refs/heads/blead
  Home:   https://github.com/Perl/perl5
  Commit: 9f4248c91978a6485a7856bc094d868d40054553
  
https://github.com/Perl/perl5/commit/9f4248c91978a6485a7856bc094d868d40054553
  Author: Karl Williamson 
  Date:   2022-06-14 (Tue, 14 Jun 2022)

  Changed paths:
M ext/XS-APItest/t/utf8.t
M inline.h

  Log Message:
  ---
  Revert "Do per-word hop back"

This reverts commit d6ad3b72778369a84a215b498d8d60d5b03aa1af
and adds comments that it existed.  This is so that this work which
isn't really needed based on current usage in core isn't lost, and can
be used in the future.




[Perl/perl5] d6ad3b: Do per-word hop back

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

  Changed paths:
M ext/XS-APItest/t/utf8.t
M inline.h

  Log Message:
  ---
  Do per-word hop back

This should speed up backing up a large distance in a UTF-8 string.  But
we don't actually do that in core.  I did this work 5 years ago before I
realized this.  Rather than throw it away, this commit gets it into the
history, and the next commit will revert it.




[Perl/perl5] 88dfbb: Add comment to inline.h noting perlstatic.h

2022-06-14 Thread Karl Williamson via perl5-changes
  Branch: refs/heads/blead
  Home:   https://github.com/Perl/perl5
  Commit: 88dfbb199b42341334937beee09c498e0b586089
  
https://github.com/Perl/perl5/commit/88dfbb199b42341334937beee09c498e0b586089
  Author: Karl Williamson 
  Date:   2022-06-14 (Tue, 14 Jun 2022)

  Changed paths:
M inline.h

  Log Message:
  ---
  Add comment to inline.h noting perlstatic.h




[Perl/perl5] 3734d2: Change autodoc flag

2022-06-14 Thread Karl Williamson via perl5-changes
  Branch: refs/heads/blead
  Home:   https://github.com/Perl/perl5
  Commit: 3734d2f5d38a7779376358fb891b3d3a38e6c0d8
  
https://github.com/Perl/perl5/commit/3734d2f5d38a7779376358fb891b3d3a38e6c0d8
  Author: Karl Williamson 
  Date:   2022-06-14 (Tue, 14 Jun 2022)

  Changed paths:
M XSUB.h
M autodoc.pl
M cop.h
M embed.fnc
M perl.h
M pp.h
M regen/embed.pl
M scope.h

  Log Message:
  ---
  Change autodoc flag

This should be being used only in core, as its only use is for autodoc.
Change the flag name to be more mnemonic, freeing up its current name
for another use.


  Commit: 07b6261fb1bd833cdc1794d2de7fc09ce103c952
  
https://github.com/Perl/perl5/commit/07b6261fb1bd833cdc1794d2de7fc09ce103c952
  Author: Karl Williamson 
  Date:   2022-06-14 (Tue, 14 Jun 2022)

  Changed paths:
M regen/embed.pl

  Log Message:
  ---
  regen/embed.pl: Use $var to avoid duplicate string


  Commit: c43e2db585193d859602960fa5f4a826b76f0f1e
  
https://github.com/Perl/perl5/commit/c43e2db585193d859602960fa5f4a826b76f0f1e
  Author: Karl Williamson 
  Date:   2022-06-14 (Tue, 14 Jun 2022)

  Changed paths:
M embed.fnc
M makedef.pl
M regen/embed.pl

  Log Message:
  ---
  regen/embed.pl: Add static Perl_ not_inlined capability

This will be used in the next commit


  Commit: d86d1780364a7b87972ea3af2b0d98ce8123ec7b
  
https://github.com/Perl/perl5/commit/d86d1780364a7b87972ea3af2b0d98ce8123ec7b
  Author: Karl Williamson 
  Date:   2022-06-14 (Tue, 14 Jun 2022)

  Changed paths:
M MANIFEST
M embed.fnc
M perl.h
A perlstatic.h
M proto.h
M util.c

  Log Message:
  ---
  Create perlstatic.h

This is used for functions that we don't suggest should be inlined, but
we think the compiler will generate better code if it has full knowledge
about them.

At the moment, it only contains a single function which can be tail-call
optimized.

The Lord of the Rings quote for this file was suggested by Leon
Timmermans.

The proximal cause of this commit can be gleaned from this email:

>From - Mon Nov 16 09:20:50 2020
X-Mozilla-Status: 0001
X-Mozilla-Status2: 0080
X-Mozilla-Keys:
Subject: Re: about commit "Revert "croak_memory_wrap is an inline function.""
 (khw)
To: bulk88 , perl5-port...@perl.org
References: <20200429011948.14287.qm...@lists-nntp.develooper.com>
From: Karl Williamson 
Message-ID: <6f38382c-8fb5-ba1a-51c6-409fa5b56...@khwilliamson.com>
Date: Mon, 16 Nov 2020 09:20:41 -0700
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101
 Thunderbird/78.4.3
MIME-Version: 1.0
In-Reply-To: <20200429011948.14287.qm...@lists-nntp.develooper.com>
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Language: en-US
Content-Transfer-Encoding: 7bit

On 4/28/20 7:19 PM, bulk88 wrote:
> https://perl5.git.perl.org/perl5.git/commitdiff/d68c938a1e6c6b4bfe907decbb4929780ee06eae
>
>
> Why was this done? Perl_croak_memory_wrap is supposed to be a static
> linkage, not globally visible C function, in every perl .o file that the
> CC/linker should toss the static func if its not used. I wanted to avoid
> the PLT/GOT runtime C symbol substitution/LDPRELOAD mechanism and let
> the CC turn Perl_croak_memory_wrap into a single conditional jump
> (offset from current instruction pointer), with no return and no C stack
> entry, jump instruction instead of
>
> call get_EIP //x86 32 only
> mov eax, *(eax_aka_eip+offset into PLT)
> call eax

I reverted this because, first of all, gcc with the appropriate -W
options raised warnings that it was disregarding the request and was not
inlining this function, and 2nd of all, there was no indication in the
comments as to why this function had been inlined.


Compare: https://github.com/Perl/perl5/compare/82943faa9f6f...d86d1780364a


[Perl/perl5] 82943f: Convert '!!' to cBOOL()

2022-06-14 Thread Karl Williamson via perl5-changes
  Branch: refs/heads/blead
  Home:   https://github.com/Perl/perl5
  Commit: 82943faa9f6f51aebb7960cc8eee73dd44c024e4
  
https://github.com/Perl/perl5/commit/82943faa9f6f51aebb7960cc8eee73dd44c024e4
  Author: Karl Williamson 
  Date:   2022-06-14 (Tue, 14 Jun 2022)

  Changed paths:
M gv.c
M gv.h
M hv.c
M op.c
M pad.c
M pad.h
M pp.c
M pp_ctl.c
M pp_sys.c
M regcomp.c
M regexec.c
M scope.c

  Log Message:
  ---
  Convert '!!' to cBOOL()

I believe the '!!' is somewhat obscure; I for one didn't know about it
for years of programming C, and it was buggy in one compiler, which is why
cBOOL was created, I believe.  And it is graphically dense, and
generally harder to read than the cBOOL() construct.

This commit dates from before we moved to C99 where we can simply cast
to (bool), and cBOOL() has been rewritten to do that.  But the vast
majority of code uses cBOOL(), and this commit brings the remainder of
the core .[ch] files into uniformity.