[Perl/perl5] e07cc6: perlsec: minor taint edit

2023-11-06 Thread Hugo van der Sanden via perl5-changes
  Branch: refs/heads/blead
  Home:   https://github.com/Perl/perl5
  Commit: e07cc68f8a7ef64c28e2cf0e1c6626cd26b9a877
  
https://github.com/Perl/perl5/commit/e07cc68f8a7ef64c28e2cf0e1c6626cd26b9a877
  Author: Hugo van der Sanden 
  Date:   2023-11-07 (Tue, 07 Nov 2023)

  Changed paths:
M pod/perlsec.pod

  Log Message:
  ---
  perlsec: minor taint edit

Paragraph signalling option to disable taint landed in the middle
of another sentence, breaking it.


  Commit: 6f40c0a02d0948dbb9de137db69fff2b1453
  
https://github.com/Perl/perl5/commit/6f40c0a02d0948dbb9de137db69fff2b1453
  Author: Hugo van der Sanden 
  Date:   2023-11-07 (Tue, 07 Nov 2023)

  Changed paths:
M pod/perlsec.pod

  Log Message:
  ---
  perlsec: clarify when preprocessor symbols are used

Readers of this document should not be required to know this.


Compare: https://github.com/Perl/perl5/compare/a23e475982a0...6f40c0a02d09


[Perl/perl5] 35589c: perlsec: clarify when preprocessor symbols are used

2023-10-25 Thread Hugo van der Sanden via perl5-changes
  Branch: refs/heads/hv/taintpod
  Home:   https://github.com/Perl/perl5
  Commit: 35589cd4f9160aa43abbaf5ddc0b329a41887c3e
  
https://github.com/Perl/perl5/commit/35589cd4f9160aa43abbaf5ddc0b329a41887c3e
  Author: Hugo van der Sanden 
  Date:   2023-10-25 (Wed, 25 Oct 2023)

  Changed paths:
M pod/perlsec.pod

  Log Message:
  ---
  perlsec: clarify when preprocessor symbols are used

Readers of this document should not be required to know this.




[Perl/perl5] a56111: perlsec: minor taint edit

2023-10-25 Thread Hugo van der Sanden via perl5-changes
  Branch: refs/heads/hv/taintpod
  Home:   https://github.com/Perl/perl5
  Commit: a5611131c5cca8870eb58539e37499562b412f51
  
https://github.com/Perl/perl5/commit/a5611131c5cca8870eb58539e37499562b412f51
  Author: Hugo van der Sanden 
  Date:   2023-10-25 (Wed, 25 Oct 2023)

  Changed paths:
M pod/perlsec.pod

  Log Message:
  ---
  perlsec: minor taint edit

Paragraph signalling option to disable taint landed in the middle
of another sentence, breaking it.




[Perl/perl5] 78d7b3: warnings doc improvements

2023-07-03 Thread Hugo van der Sanden via perl5-changes
  Branch: refs/heads/blead
  Home:   https://github.com/Perl/perl5
  Commit: 78d7b3d6aa9dda85efde54c4da2627be766ea344
  
https://github.com/Perl/perl5/commit/78d7b3d6aa9dda85efde54c4da2627be766ea344
  Author: Hugo van der Sanden 
  Date:   2023-07-03 (Mon, 03 Jul 2023)

  Changed paths:
M lib/warnings.pm
M lib/warnings/register.pm
M regen/warnings.pl

  Log Message:
  ---
  warnings doc improvements

- fix a couple of typos;
- clarify that 'use warnings' enables even warnings that have not yet
  been registered;
- rename function name in an example, since a later reference relates
  to the same function from a previous example;
- link to a more specific point from warnings::register


  Commit: 0a05fa50a7215b7bb4becae955a348f6d7f62738
  
https://github.com/Perl/perl5/commit/0a05fa50a7215b7bb4becae955a348f6d7f62738
  Author: Hugo van der Sanden 
  Date:   2023-07-03 (Mon, 03 Jul 2023)

  Changed paths:
M lib/warnings/register.pm

  Log Message:
  ---
  bump versions for warnings and warnings::register


  Commit: 0a92f3412d7cbd93b6246712b7339d41c6a00a21
  
https://github.com/Perl/perl5/commit/0a92f3412d7cbd93b6246712b7339d41c6a00a21
  Author: Hugo van der Sanden 
  Date:   2023-07-03 (Mon, 03 Jul 2023)

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

  Log Message:
  ---
  squashme: rename stub new to open

Keep things consistent.


Compare: https://github.com/Perl/perl5/compare/69b6a7188928...0a92f3412d7c


[Perl/perl5] d49d6d: squashme: rename stub new to open

2023-06-08 Thread Hugo van der Sanden via perl5-changes
  Branch: refs/heads/hv/warndoc
  Home:   https://github.com/Perl/perl5
  Commit: d49d6d971a6ee5624c6e29aa730a9da28a54cc48
  
https://github.com/Perl/perl5/commit/d49d6d971a6ee5624c6e29aa730a9da28a54cc48
  Author: Hugo van der Sanden 
  Date:   2023-06-08 (Thu, 08 Jun 2023)

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

  Log Message:
  ---
  squashme: rename stub new to open

Keep things consistent.




[Perl/perl5] 9e116d: squashme: rename stub new to open

2023-06-07 Thread Hugo van der Sanden via perl5-changes
  Branch: refs/heads/hv/warndoc
  Home:   https://github.com/Perl/perl5
  Commit: 9e116d313be53349798a7b1700191714b8778282
  
https://github.com/Perl/perl5/commit/9e116d313be53349798a7b1700191714b8778282
  Author: Hugo van der Sanden 
  Date:   2023-06-08 (Thu, 08 Jun 2023)

  Changed paths:
M regen/warnings.pl

  Log Message:
  ---
  squashme: rename stub new to open

Keep things consistent.




[Perl/perl5] cb4dd6: bump versions for warnings and warnings::register

2023-06-01 Thread Hugo van der Sanden via perl5-changes
  Branch: refs/heads/hv/warndoc
  Home:   https://github.com/Perl/perl5
  Commit: cb4dd6f4310c060e24f74d0207b1d3d20b91ef67
  
https://github.com/Perl/perl5/commit/cb4dd6f4310c060e24f74d0207b1d3d20b91ef67
  Author: Hugo van der Sanden 
  Date:   2023-06-01 (Thu, 01 Jun 2023)

  Changed paths:
M lib/warnings.pm
M lib/warnings/register.pm
M regen/warnings.pl

  Log Message:
  ---
  bump versions for warnings and warnings::register




[Perl/perl5] 953baa: warnings doc improvements

2023-06-01 Thread Hugo van der Sanden via perl5-changes
  Branch: refs/heads/hv/warndoc
  Home:   https://github.com/Perl/perl5
  Commit: 953baababeffd9df782a9724fb7315f883ad435f
  
https://github.com/Perl/perl5/commit/953baababeffd9df782a9724fb7315f883ad435f
  Author: Hugo van der Sanden 
  Date:   2023-06-01 (Thu, 01 Jun 2023)

  Changed paths:
M lib/warnings.pm
M lib/warnings/register.pm
M regen/warnings.pl

  Log Message:
  ---
  warnings doc improvements

- fix a couple of typos;
- clarify that 'use warnings' enables even warnings that have not yet
  been registered;
- rename function name in an example, since a later reference relates
  to the same function from a previous example;
- link to a more specific point from warnings::register




[Perl/perl5]

2023-01-20 Thread Hugo van der Sanden via perl5-changes
  Branch: refs/heads/gh20724
  Home:   https://github.com/Perl/perl5


[Perl/perl5] 12fb3f: bisect-runner docs: modify example to use 'expect-...

2023-01-20 Thread Hugo van der Sanden via perl5-changes
  Branch: refs/heads/blead
  Home:   https://github.com/Perl/perl5
  Commit: 12fb3ffd42aee3e4e8e8812a763d1dda401f2835
  
https://github.com/Perl/perl5/commit/12fb3ffd42aee3e4e8e8812a763d1dda401f2835
  Author: Hugo van der Sanden 
  Date:   2023-01-20 (Fri, 20 Jan 2023)

  Changed paths:
M Porting/bisect-runner.pl

  Log Message:
  ---
  bisect-runner docs: modify example to use 'expect-fail'


  Commit: d08266be578acc8495e41f0a0ed1833f909f573d
  
https://github.com/Perl/perl5/commit/d08266be578acc8495e41f0a0ed1833f909f573d
  Author: Hugo van der Sanden 
  Date:   2023-01-20 (Fri, 20 Jan 2023)

  Changed paths:
M Porting/bisect-runner.pl

  Log Message:
  ---
  bisect-runner docs: explain more about bisection


Compare: https://github.com/Perl/perl5/compare/81d293c2ade1...d08266be578a


[Perl/perl5] 943f7e: bisect-runner docs: wording and pod fixups

2023-01-18 Thread Hugo van der Sanden via perl5-changes
  Branch: refs/heads/gh20724
  Home:   https://github.com/Perl/perl5
  Commit: 943f7e554a81aed564f801e94c0af01fafda54b6
  
https://github.com/Perl/perl5/commit/943f7e554a81aed564f801e94c0af01fafda54b6
  Author: Hugo van der Sanden 
  Date:   2023-01-19 (Thu, 19 Jan 2023)

  Changed paths:
M Porting/bisect-runner.pl

  Log Message:
  ---
  bisect-runner docs: wording and pod fixups




[Perl/perl5] 1a9750: bisect-runner docs: modify example to use 'expect-...

2023-01-18 Thread Hugo van der Sanden via perl5-changes
  Branch: refs/heads/gh20724
  Home:   https://github.com/Perl/perl5
  Commit: 1a9750d4de213f0731b064de4f4bf054877227df
  
https://github.com/Perl/perl5/commit/1a9750d4de213f0731b064de4f4bf054877227df
  Author: Hugo van der Sanden 
  Date:   2023-01-18 (Wed, 18 Jan 2023)

  Changed paths:
M Porting/bisect-runner.pl

  Log Message:
  ---
  bisect-runner docs: modify example to use 'expect-fail'


  Commit: de5ceda9ecdd59d44ed4e9a8c14411261d31f61b
  
https://github.com/Perl/perl5/commit/de5ceda9ecdd59d44ed4e9a8c14411261d31f61b
  Author: Hugo van der Sanden 
  Date:   2023-01-19 (Thu, 19 Jan 2023)

  Changed paths:
M Porting/bisect-runner.pl

  Log Message:
  ---
  bisect-runner docs: explain more about bisection


Compare: https://github.com/Perl/perl5/compare/1a9750d4de21%5E...de5ceda9ecdd


[Perl/perl5] f75787: GH19478: applying taint is no reason to mess with pos

2022-06-16 Thread Hugo van der Sanden via perl5-changes
  Branch: refs/heads/blead
  Home:   https://github.com/Perl/perl5
  Commit: f757874dac95bb608303f02ed7a2eeeaf1ec116b
  
https://github.com/Perl/perl5/commit/f757874dac95bb608303f02ed7a2eeeaf1ec116b
  Author: Hugo van der Sanden 
  Date:   2022-06-16 (Thu, 16 Jun 2022)

  Changed paths:
M sv.c
M t/op/taint.t

  Log Message:
  ---
  GH19478: applying taint is no reason to mess with pos

25fdce4a16 introduced a chunk in sv_magic() to "force pos to be stored
as characters, not bytes" whenever any magic was applied to a string
marked UTF8.

It is not clear why a random call to sv_magic(), eg to mark a string as
tainted, needs to do this - it would seem more logical for the check to
happen either earlier (when the string first qualifies as SvMAGICAL(sv)
&& DO_UTF8(sv)) or later (eg on mg_find).

Experimentally remove this block - it appears to cause no test failures,
and allows the new test cases to pass.




[Perl/perl5]

2022-06-06 Thread Hugo van der Sanden via perl5-changes
  Branch: refs/heads/hv/macrovar
  Home:   https://github.com/Perl/perl5


[Perl/perl5] c31ae9: Rename variable in EXTEND_HWM_SET

2022-06-06 Thread Hugo van der Sanden via perl5-changes
  Branch: refs/heads/blead
  Home:   https://github.com/Perl/perl5
  Commit: c31ae9a243a483ee972d34e51cfaca9525f50d05
  
https://github.com/Perl/perl5/commit/c31ae9a243a483ee972d34e51cfaca9525f50d05
  Author: Hugo van der Sanden 
  Date:   2022-06-06 (Mon, 06 Jun 2022)

  Changed paths:
M pp.h

  Log Message:
  ---
  Rename variable in EXTEND_HWM_SET

"ix" is a common variable name in XS code, and may be passed in as
part of a parameter.




[Perl/perl5] e53a5c: GH19478: applying taint is no reason to mess with pos

2022-06-03 Thread Hugo van der Sanden via perl5-changes
  Branch: refs/heads/hv/gh19478
  Home:   https://github.com/Perl/perl5
  Commit: e53a5c72549ac3eeb71349f4912abe90a5bf1588
  
https://github.com/Perl/perl5/commit/e53a5c72549ac3eeb71349f4912abe90a5bf1588
  Author: Hugo van der Sanden 
  Date:   2022-06-03 (Fri, 03 Jun 2022)

  Changed paths:
M sv.c
M t/op/taint.t

  Log Message:
  ---
  GH19478: applying taint is no reason to mess with pos

25fdce4a16 introduced a chunk in sv_magic() to "force pos to be stored
as characters, not bytes" whenever any magic was applied to a string
marked UTF8.

It is not clear why a random call to sv_magic(), eg to mark a string as
tainted, needs to do this - it would seem more logical for the check to
happen either earlier (when the string first qualifies as SvMAGICAL(sv)
&& DO_UTF8(sv)) or later (eg on mg_find).

Experimentally remove this block - it appears to cause no test failures,
and allows the new test cases to pass.




[Perl/perl5] 927b93: Rename variable in EXTEND_HWM_SET

2022-06-03 Thread Hugo van der Sanden via perl5-changes
  Branch: refs/heads/hv/macrovar
  Home:   https://github.com/Perl/perl5
  Commit: 927b93753247a7ecc7775a53e6aef5d027ed8d6b
  
https://github.com/Perl/perl5/commit/927b93753247a7ecc7775a53e6aef5d027ed8d6b
  Author: Hugo van der Sanden 
  Date:   2022-06-03 (Fri, 03 Jun 2022)

  Changed paths:
M pp.h

  Log Message:
  ---
  Rename variable in EXTEND_HWM_SET

"ix" is a common variable name in XS code, and may be passed in as
part of a parameter.




[Perl/perl5] f24623: GH16319: avoid recursion parsing 'pack' template

2022-05-28 Thread Hugo van der Sanden via perl5-changes
  Branch: refs/heads/blead
  Home:   https://github.com/Perl/perl5
  Commit: f24623d674e0b493bbafe0d87eb3e5d047815a63
  
https://github.com/Perl/perl5/commit/f24623d674e0b493bbafe0d87eb3e5d047815a63
  Author: Hugo van der Sanden 
  Date:   2022-05-28 (Sat, 28 May 2022)

  Changed paths:
M pod/perldiag.pod
M pp_pack.c
M t/op/pack.t

  Log Message:
  ---
  GH16319: avoid recursion parsing 'pack' template

A template with many open brackets or open parentheses could
overflow the stack, modify the parsing loop to avoid that.




[Perl/perl5]

2022-05-03 Thread Hugo van der Sanden via perl5-changes
  Branch: refs/heads/smoke-me/hv/sync-bignum-20220412
  Home:   https://github.com/Perl/perl5


[Perl/perl5] fe10c8: GH16319: avoid recursion parsing 'pack' template

2022-04-19 Thread Hugo van der Sanden via perl5-changes
  Branch: refs/heads/gh16319
  Home:   https://github.com/Perl/perl5
  Commit: fe10c85f189ea2cd4d999dd63498c349213d9db5
  
https://github.com/Perl/perl5/commit/fe10c85f189ea2cd4d999dd63498c349213d9db5
  Author: Hugo van der Sanden 
  Date:   2022-04-19 (Tue, 19 Apr 2022)

  Changed paths:
M pod/perldiag.pod
M pp_pack.c
M t/op/pack.t

  Log Message:
  ---
  GH16319: avoid recursion parsing 'pack' template

A template with many open brackets or open parentheses could
overflow the stack, modify the parsing loop to avoid that.




[Perl/perl5] 8dec64: Update Math-BigInt to CPAN version 1.999830

2022-04-17 Thread Hugo van der Sanden via perl5-changes
  Branch: refs/heads/smoke-me/hv/sync-bignum-20220412
  Home:   https://github.com/Perl/perl5
  Commit: 8dec64698880d15d36aa3ca539b11827e014b51e
  
https://github.com/Perl/perl5/commit/8dec64698880d15d36aa3ca539b11827e014b51e
  Author: Hugo van der Sanden 
  Date:   2022-04-17 (Sun, 17 Apr 2022)

  Changed paths:
M Porting/Maintainers.pl
M cpan/Math-BigInt/lib/Math/BigFloat.pm
M cpan/Math-BigInt/lib/Math/BigInt.pm
M cpan/Math-BigInt/lib/Math/BigInt/Calc.pm
M cpan/Math-BigInt/lib/Math/BigInt/Lib.pm
M cpan/Math-BigInt/t/downgrade.t
M cpan/Math-BigInt/t/upgrade.t

  Log Message:
  ---
  Update Math-BigInt to CPAN version 1.999830

[DELTA]

 * Improve upgrading and downgrading. This work is not complete. Some
   methods still don't downgrade when they should.


  Commit: e59cb199fea7032f0535b1a68c961674a477a99f
  
https://github.com/Perl/perl5/commit/e59cb199fea7032f0535b1a68c961674a477a99f
  Author: Hugo van der Sanden 
  Date:   2022-04-17 (Sun, 17 Apr 2022)

  Changed paths:
M MANIFEST
M Porting/Maintainers.pl
M cpan/Math-BigRat/lib/Math/BigRat.pm
M cpan/Math-BigRat/t/bigrat.t
A cpan/Math-BigRat/t/downgrade.t
A cpan/Math-BigRat/t/fparts-mbr.t

  Log Message:
  ---
  Update Math-BigRat to CPAN version 0.2621

[DELTA]

 * Improve downgrading and upgrading.


  Commit: ca3af6c0082fbe7928ee529f3a1741c2ac0559ff
  
https://github.com/Perl/perl5/commit/ca3af6c0082fbe7928ee529f3a1741c2ac0559ff
  Author: Hugo van der Sanden 
  Date:   2022-04-17 (Sun, 17 Apr 2022)

  Changed paths:
M MANIFEST
M Porting/Maintainers.pl
M cpan/bignum/gentest/backend.sh
M cpan/bignum/gentest/scope-nested-const.sh
M cpan/bignum/gentest/scope-nested-hex-oct.sh
M cpan/bignum/lib/Math/BigFloat/Trace.pm
M cpan/bignum/lib/Math/BigInt/Trace.pm
M cpan/bignum/lib/Math/BigRat/Trace.pm
A cpan/bignum/lib/bigfloat.pm
M cpan/bignum/lib/bigint.pm
M cpan/bignum/lib/bignum.pm
M cpan/bignum/lib/bigrat.pm
A cpan/bignum/t/backend-gmp-bigfloat.t
A cpan/bignum/t/backend-pari-bigfloat.t
M cpan/bignum/t/bigexp.t
A cpan/bignum/t/bigfloat.t
M cpan/bignum/t/bigint.t
M cpan/bignum/t/bignum.t
M cpan/bignum/t/bigrat.t
A cpan/bignum/t/const-bigfloat.t
M cpan/bignum/t/const-bignum.t
A cpan/bignum/t/down-mbi-up-mbf.t
A cpan/bignum/t/down-mbi-up-mbr.t
A cpan/bignum/t/down-mbi-up-undef.t
A cpan/bignum/t/down-undef-up-mbf.t
A cpan/bignum/t/e_pi-bigfloat.t
A cpan/bignum/t/import-bigfloat.t
M cpan/bignum/t/in_effect.t
A cpan/bignum/t/infnan-bigfloat.t
M cpan/bignum/t/infnan-bignum.t
A cpan/bignum/t/option_a-bignum.t
M cpan/bignum/t/option_a.t
A cpan/bignum/t/option_l-bigfloat.t
A cpan/bignum/t/option_l-bigint.t
A cpan/bignum/t/option_l-bignum.t
A cpan/bignum/t/option_l-bigrat.t
R cpan/bignum/t/option_l.t
A cpan/bignum/t/option_p-bignum.t
M cpan/bignum/t/option_p.t
M cpan/bignum/t/overrides.t
A cpan/bignum/t/scope-bigfloat.t
M cpan/bignum/t/scope-bignum.t
M cpan/bignum/t/scope-nested-const.t
M cpan/bignum/t/scope-nested-hex-oct.t
M lib/.gitignore

  Log Message:
  ---
  Update bignum to CPAN version 0.65

[DELTA]

 * Restore the upgrading and downgrading in "bignum", with the exception
   of upgrading from Math::BigFloat to Math::BigRat, which I couldn't make
   sense of. Now, both integer literals and integers (and Infs and NaNs)
   that are the result of a computation become Math::BigInt objects, and
   both non-integer literals and non-integers that are as a result of a
   computation become Math::BigFloat objects. The classes used for literal
   integers and non-integers during compile-time are configurable, as well
   as the classes used for downgrading and upgrading during runtime.

 * Add the "bigfloat" pragma, which converts all numeric literals to
   Math::BigFloat objects. This is consistent with the "bigint" pragma,
   which converts all numeric literals to Math::BigInt objects, and the
   "bigrat" pragma which converts all numeric literals to Math::BigRat
   objects.


Compare: https://github.com/Perl/perl5/compare/db04e5442882...ca3af6c0082f


[Perl/perl5] 370b67: Update Math-BigInt to CPAN version 1.999830

2022-04-12 Thread Hugo van der Sanden via perl5-changes
  Branch: refs/heads/smoke-me/hv/sync-bignum-20220412
  Home:   https://github.com/Perl/perl5
  Commit: 370b67509db01d9530e821196d3e2304cb155dab
  
https://github.com/Perl/perl5/commit/370b67509db01d9530e821196d3e2304cb155dab
  Author: Hugo van der Sanden 
  Date:   2022-04-12 (Tue, 12 Apr 2022)

  Changed paths:
M Porting/Maintainers.pl
M cpan/Math-BigInt/lib/Math/BigFloat.pm
M cpan/Math-BigInt/lib/Math/BigInt.pm
M cpan/Math-BigInt/lib/Math/BigInt/Calc.pm
M cpan/Math-BigInt/lib/Math/BigInt/Lib.pm
M cpan/Math-BigInt/t/downgrade.t
M cpan/Math-BigInt/t/upgrade.t

  Log Message:
  ---
  Update Math-BigInt to CPAN version 1.999830

[DELTA]

 * Improve upgrading and downgrading. This work is not complete. Some
   methods still don't downgrade when they should.


  Commit: 2845fdaeaac8da9a3cc738ab457a11ff8de90de3
  
https://github.com/Perl/perl5/commit/2845fdaeaac8da9a3cc738ab457a11ff8de90de3
  Author: Hugo van der Sanden 
  Date:   2022-04-12 (Tue, 12 Apr 2022)

  Changed paths:
M MANIFEST
M Porting/Maintainers.pl
M cpan/Math-BigRat/lib/Math/BigRat.pm
M cpan/Math-BigRat/t/bigrat.t
A cpan/Math-BigRat/t/downgrade.t
A cpan/Math-BigRat/t/fparts-mbr.t

  Log Message:
  ---
  Update Math-BigRat to CPAN version 0.2621

[DELTA]

 * Improve downgrading and upgrading.


  Commit: db04e5442882397dc3a98d38ba333d9c3160ba08
  
https://github.com/Perl/perl5/commit/db04e5442882397dc3a98d38ba333d9c3160ba08
  Author: Hugo van der Sanden 
  Date:   2022-04-12 (Tue, 12 Apr 2022)

  Changed paths:
M MANIFEST
M Porting/Maintainers.pl
M cpan/bignum/gentest/backend.sh
M cpan/bignum/gentest/scope-nested-const.sh
M cpan/bignum/gentest/scope-nested-hex-oct.sh
M cpan/bignum/lib/Math/BigFloat/Trace.pm
M cpan/bignum/lib/Math/BigInt/Trace.pm
M cpan/bignum/lib/Math/BigRat/Trace.pm
A cpan/bignum/lib/bigfloat.pm
M cpan/bignum/lib/bigint.pm
M cpan/bignum/lib/bignum.pm
M cpan/bignum/lib/bigrat.pm
A cpan/bignum/t/backend-gmp-bigfloat.t
A cpan/bignum/t/backend-pari-bigfloat.t
M cpan/bignum/t/bigexp.t
A cpan/bignum/t/bigfloat.t
M cpan/bignum/t/bigint.t
M cpan/bignum/t/bignum.t
M cpan/bignum/t/bigrat.t
A cpan/bignum/t/const-bigfloat.t
M cpan/bignum/t/const-bignum.t
A cpan/bignum/t/down-mbi-up-mbf.t
A cpan/bignum/t/down-mbi-up-mbr.t
A cpan/bignum/t/down-mbi-up-undef.t
A cpan/bignum/t/down-undef-up-mbf.t
A cpan/bignum/t/e_pi-bigfloat.t
A cpan/bignum/t/import-bigfloat.t
M cpan/bignum/t/in_effect.t
A cpan/bignum/t/infnan-bigfloat.t
M cpan/bignum/t/infnan-bignum.t
A cpan/bignum/t/option_a-bignum.t
M cpan/bignum/t/option_a.t
A cpan/bignum/t/option_l-bigfloat.t
A cpan/bignum/t/option_l-bigint.t
A cpan/bignum/t/option_l-bignum.t
A cpan/bignum/t/option_l-bigrat.t
R cpan/bignum/t/option_l.t
A cpan/bignum/t/option_p-bignum.t
M cpan/bignum/t/option_p.t
M cpan/bignum/t/overrides.t
A cpan/bignum/t/scope-bigfloat.t
M cpan/bignum/t/scope-bignum.t
M cpan/bignum/t/scope-nested-const.t
M cpan/bignum/t/scope-nested-hex-oct.t
M lib/.gitignore

  Log Message:
  ---
  Update bignum to CPAN version 0.65

[DELTA]

 * Restore the upgrading and downgrading in "bignum", with the exception
   of upgrading from Math::BigFloat to Math::BigRat, which I couldn't make
   sense of. Now, both integer literals and integers (and Infs and NaNs)
   that are the result of a computation become Math::BigInt objects, and
   both non-integer literals and non-integers that are as a result of a
   computation become Math::BigFloat objects. The classes used for literal
   integers and non-integers during compile-time are configurable, as well
   as the classes used for downgrading and upgrading during runtime.

 * Add the "bigfloat" pragma, which converts all numeric literals to
   Math::BigFloat objects. This is consistent with the "bigint" pragma,
   which converts all numeric literals to Math::BigInt objects, and the
   "bigrat" pragma which converts all numeric literals to Math::BigRat
   objects.


Compare: https://github.com/Perl/perl5/compare/370b67509db0%5E...db04e5442882


[Perl/perl5]

2022-04-12 Thread Hugo van der Sanden via perl5-changes
  Branch: refs/heads/hv/rewarn
  Home:   https://github.com/Perl/perl5


[Perl/perl5] 0e169c: fix printf format warning in regexp debug output

2022-04-12 Thread Hugo van der Sanden via perl5-changes
  Branch: refs/heads/blead
  Home:   https://github.com/Perl/perl5
  Commit: 0e169c4752dcc3ea611a9d60bfe48ac8c5a82d5b
  
https://github.com/Perl/perl5/commit/0e169c4752dcc3ea611a9d60bfe48ac8c5a82d5b
  Author: Hugo van der Sanden 
  Date:   2022-04-12 (Tue, 12 Apr 2022)

  Changed paths:
M regexec.c

  Log Message:
  ---
  fix printf format warning in regexp debug output




[Perl/perl5] 21ea53: Tests for *ACCEPT optimizations

2022-04-10 Thread Hugo van der Sanden via perl5-changes
  Branch: refs/heads/hv/minaccept
  Home:   https://github.com/Perl/perl5
  Commit: 21ea5392495043eba4736f1ba8ddaa5a79c4db3b
  
https://github.com/Perl/perl5/commit/21ea5392495043eba4736f1ba8ddaa5a79c4db3b
  Author: Hugo van der Sanden 
  Date:   2022-04-10 (Sun, 10 Apr 2022)

  Changed paths:
M t/re/opt.t

  Log Message:
  ---
  Tests for *ACCEPT optimizations

Add some TODO tests for cases where the newly-working /(*ACCEPT)/
support sets minlen more conservatively than it needs to.




[Perl/perl5] d18980: fixup: cast U32 to UV

2022-04-10 Thread Hugo van der Sanden via perl5-changes
  Branch: refs/heads/hv/rewarn
  Home:   https://github.com/Perl/perl5
  Commit: d1898047ffd31b9c76e3045b84fbaa675e3badc3
  
https://github.com/Perl/perl5/commit/d1898047ffd31b9c76e3045b84fbaa675e3badc3
  Author: Hugo van der Sanden 
  Date:   2022-04-10 (Sun, 10 Apr 2022)

  Changed paths:
M regexec.c

  Log Message:
  ---
  fixup: cast U32 to UV




[Perl/perl5] cd0ad6: fix printf format warning in regexp debug output

2022-04-10 Thread Hugo van der Sanden via perl5-changes
  Branch: refs/heads/hv/rewarn
  Home:   https://github.com/Perl/perl5
  Commit: cd0ad640ac05209f074081b0d1db264e7d52eccb
  
https://github.com/Perl/perl5/commit/cd0ad640ac05209f074081b0d1db264e7d52eccb
  Author: Hugo van der Sanden 
  Date:   2022-04-10 (Sun, 10 Apr 2022)

  Changed paths:
M regexec.c

  Log Message:
  ---
  fix printf format warning in regexp debug output




[Perl/perl5] 9e3e28: gh19557: restore match_end on early bailout

2022-03-25 Thread Hugo van der Sanden via perl5-changes
  Branch: refs/heads/blead
  Home:   https://github.com/Perl/perl5
  Commit: 9e3e2820c0b1a62da54172be27a025f57e691166
  
https://github.com/Perl/perl5/commit/9e3e2820c0b1a62da54172be27a025f57e691166
  Author: Hugo van der Sanden 
  Date:   2022-03-25 (Fri, 25 Mar 2022)

  Changed paths:
M regexec.c
M t/re/re_tests

  Log Message:
  ---
  gh19557: restore match_end on early bailout

After 271c3af797, early bailout from the inner one of a pair of nested
lookbehinds would leave the desired match_end pointing at the wrong
place, so the outer lookbehind could give the wrong answer.




[Perl/perl5] 6b54b2: gh19557: restore match_end on early bailout

2022-03-23 Thread Hugo van der Sanden via perl5-changes
  Branch: refs/heads/gh19557
  Home:   https://github.com/Perl/perl5
  Commit: 6b54b206180f9764e681b88412c6c9fde9f778d7
  
https://github.com/Perl/perl5/commit/6b54b206180f9764e681b88412c6c9fde9f778d7
  Author: Hugo van der Sanden 
  Date:   2022-03-23 (Wed, 23 Mar 2022)

  Changed paths:
M regexec.c
M t/re/re_tests

  Log Message:
  ---
  gh19557: restore match_end on early bailout

After 271c3af797, early bailout from the inner one of a pair of nested
lookbehinds would leave the desired match_end pointing at the wrong
place, so the outer lookbehind could give the wrong answer.




[Perl/perl5]

2022-03-21 Thread Hugo van der Sanden via perl5-changes
  Branch: refs/heads/gh17746
  Home:   https://github.com/Perl/perl5


[Perl/perl5] c50e79: gh17746: add missing check on hardcount

2022-03-21 Thread Hugo van der Sanden via perl5-changes
  Branch: refs/heads/blead
  Home:   https://github.com/Perl/perl5
  Commit: c50e79de5d7380bf4269155ab659ec3f66d5aa35
  
https://github.com/Perl/perl5/commit/c50e79de5d7380bf4269155ab659ec3f66d5aa35
  Author: Hugo van der Sanden 
  Date:   2022-03-21 (Mon, 21 Mar 2022)

  Changed paths:
M regexec.c
M t/re/re_tests

  Log Message:
  ---
  gh17746: add missing check on hardcount

Failing to check for max iterations caused an assertion failure.




[Perl/perl5] 2a7003: gh17746: add missing check on hardcount

2022-03-21 Thread Hugo van der Sanden via perl5-changes
  Branch: refs/heads/gh17746
  Home:   https://github.com/Perl/perl5
  Commit: 2a70037d3a810eea2c0ae87cc0b2fb3f70e2c8e8
  
https://github.com/Perl/perl5/commit/2a70037d3a810eea2c0ae87cc0b2fb3f70e2c8e8
  Author: Hugo van der Sanden 
  Date:   2022-03-21 (Mon, 21 Mar 2022)

  Changed paths:
M regexec.c
M t/re/re_tests

  Log Message:
  ---
  gh17746: add missing check on hardcount

Failing to check for max iterations caused an assertion failure.




[Perl/perl5]

2022-03-13 Thread Hugo van der Sanden via perl5-changes
  Branch: refs/heads/hv/sortdelta
  Home:   https://github.com/Perl/perl5


[Perl/perl5] 579161: perldelta for removal of empty sort

2022-03-13 Thread Hugo van der Sanden via perl5-changes
  Branch: refs/heads/hv/sortdelta
  Home:   https://github.com/Perl/perl5
  Commit: 579161cc12f53d5ce75ab04fac3d37fdfbaba508
  
https://github.com/Perl/perl5/commit/579161cc12f53d5ce75ab04fac3d37fdfbaba508
  Author: Hugo van der Sanden 
  Date:   2022-03-13 (Sun, 13 Mar 2022)

  Changed paths:
M pod/perldelta.pod

  Log Message:
  ---
  perldelta for removal of empty sort

This reflects the change in 78cc98885f, "make a sort with zero args
a compile-time err".




[Perl/perl5]

2022-03-04 Thread Hugo van der Sanden via perl5-changes
  Branch: refs/heads/hv/gh19010-rebase
  Home:   https://github.com/Perl/perl5


[Perl/perl5]

2022-03-04 Thread Hugo van der Sanden via perl5-changes
  Branch: refs/heads/hv/gh19010
  Home:   https://github.com/Perl/perl5


[Perl/perl5] 7294e9: gh19010: fix returns for Perl_grok_infnan

2022-03-04 Thread Hugo van der Sanden via perl5-changes
  Branch: refs/heads/blead
  Home:   https://github.com/Perl/perl5
  Commit: 7294e9f9f09f98d7bff4bfdae266a8f8121f907c
  
https://github.com/Perl/perl5/commit/7294e9f9f09f98d7bff4bfdae266a8f8121f907c
  Author: Hugo van der Sanden 
  Date:   2022-03-04 (Fri, 04 Mar 2022)

  Changed paths:
M ext/XS-APItest/t/grok.t
M numeric.c

  Log Message:
  ---
  gh19010: fix returns for Perl_grok_infnan

Consistently honour what the docs have always promised:
  If an infinity or a not-a-number is recognized, C<*sp> will point to
  one byte past the end of the recognized string.  If the recognition fails,
  zero is returned, and C<*sp> will not move.

Additionally, restore Perl_grok_number_flags to allowing inf/nan with
trailing garbage only when called with PERL_SCAN_TRAILING; add notes
to the other two core callers to clarify that they always accept such
trailing garbage.

A small number of XS-APItest tests were modified to reflect the stricter
behaviour: "Infin" and "nanx" are now invalid without PERL_SCAN_TRAILING.


  Commit: 6e5a616fb95344835944fb3cab56c5c69a3b9848
  
https://github.com/Perl/perl5/commit/6e5a616fb95344835944fb3cab56c5c69a3b9848
  Author: Hugo van der Sanden 
  Date:   2022-03-04 (Fri, 04 Mar 2022)

  Changed paths:
M numeric.c

  Log Message:
  ---
  gh19010: regularize handling of trailing whitespace on inf/nan

Always accept trailing whitespace when parsing Inf/NaN constructs, even
inside parens, without flagging as "trailing garbage".

Also fix off-by-one checking whether we reached the close-paren of
'nan(123)'.


  Commit: 46da8a0d99e5820fe6ceeeb483a44ebf547bbff0
  
https://github.com/Perl/perl5/commit/46da8a0d99e5820fe6ceeeb483a44ebf547bbff0
  Author: Hugo van der Sanden 
  Date:   2022-03-04 (Fri, 04 Mar 2022)

  Changed paths:
M ext/XS-APItest/t/grok.t

  Log Message:
  ---
  gh19010: simplify and expand inf/nan tests

We know how grok results should vary with and without PERL_SCAN_TRAILING
both for inputs with trailing garbage and those without, so abstract
that out and test both cases for each input.


  Commit: 1bd2ffc2ed1dd21ac38de7e081c97ef241eebf5b
  
https://github.com/Perl/perl5/commit/1bd2ffc2ed1dd21ac38de7e081c97ef241eebf5b
  Author: Hugo van der Sanden 
  Date:   2022-03-04 (Fri, 04 Mar 2022)

  Changed paths:
M numeric.c

  Log Message:
  ---
  gh19010: add NOT_REACHED


Compare: https://github.com/Perl/perl5/compare/98656496a12e...1bd2ffc2ed1d


[Perl/perl5] f8312f: gh19010: add NOT_REACHED

2022-03-04 Thread Hugo van der Sanden via perl5-changes
  Branch: refs/heads/hv/gh19010
  Home:   https://github.com/Perl/perl5
  Commit: f8312f207e8c5c01f7a74e6f4adab0ee95c1a336
  
https://github.com/Perl/perl5/commit/f8312f207e8c5c01f7a74e6f4adab0ee95c1a336
  Author: Hugo van der Sanden 
  Date:   2022-03-04 (Fri, 04 Mar 2022)

  Changed paths:
M numeric.c

  Log Message:
  ---
  gh19010: add NOT_REACHED




[Perl/perl5] 09a2c5: gh19010: fix returns for Perl_grok_infnan

2022-03-04 Thread Hugo van der Sanden via perl5-changes
  Branch: refs/heads/hv/gh19010-rebase
  Home:   https://github.com/Perl/perl5
  Commit: 09a2c5b3ff14532fb65623bb460b1c5659e942e9
  
https://github.com/Perl/perl5/commit/09a2c5b3ff14532fb65623bb460b1c5659e942e9
  Author: Hugo van der Sanden 
  Date:   2022-03-04 (Fri, 04 Mar 2022)

  Changed paths:
M ext/XS-APItest/t/grok.t
M numeric.c

  Log Message:
  ---
  gh19010: fix returns for Perl_grok_infnan

Consistently honour what the docs have always promised:
  If an infinity or a not-a-number is recognized, C<*sp> will point to
  one byte past the end of the recognized string.  If the recognition fails,
  zero is returned, and C<*sp> will not move.

Additionally, restore Perl_grok_number_flags to allowing inf/nan with
trailing garbage only when called with PERL_SCAN_TRAILING; add notes
to the other two core callers to clarify that they always accept such
trailing garbage.

Whitespace handling is regularized: trailing whitespace after anything
successfully parsed is always accepted, and does not trigger setting
IS_NUMBER_TRAILING.

A small number of XS-APItest tests were modified to reflect the stricter
behaviour: "Infin" and "nanx" are now invalid without PERL_SCAN_TRAILING.

An additional inconsistency (GH #19464) is commented in the tests but
not addressed here.




[Perl/perl5] be7b00: gh19010: fix returns for Perl_grok_infnan

2022-02-26 Thread Hugo van der Sanden via perl5-changes
  Branch: refs/heads/hv/gh19010-rebase
  Home:   https://github.com/Perl/perl5
  Commit: be7b004b1e3e6a1a160534714ed801c37d0dbf60
  
https://github.com/Perl/perl5/commit/be7b004b1e3e6a1a160534714ed801c37d0dbf60
  Author: Hugo van der Sanden 
  Date:   2022-02-26 (Sat, 26 Feb 2022)

  Changed paths:
M ext/XS-APItest/t/grok.t
M numeric.c

  Log Message:
  ---
  gh19010: fix returns for Perl_grok_infnan

Consistently honour what the docs have always promised:
  If an infinity or a not-a-number is recognized, C<*sp> will point to
  one byte past the end of the recognized string.  If the recognition fails,
  zero is returned, and C<*sp> will not move.

Additionally, restore Perl_grok_number_flags to allowing inf/nan with
trailing garbage only when called with PERL_SCAN_TRAILING; add notes
to the other two core callers to clarify that they always accept such
trailing garbage.

Whitespace handling is regularized: trailing whitespace after anything
successfully parsed is always accepted, and does not trigger setting
IS_NUMBER_TRAILING.

A small number of XS-APItest tests were modified to reflect the stricter
behaviour: "Infin" and "nanx" are now invalid without PERL_SCAN_TRAILING.

An additional inconsistency (GH #19464) is commented in the tests but
not addressed here.




[Perl/perl5] c5a8cf: gh19010: regularize handling of trailing whitespac...

2022-02-26 Thread Hugo van der Sanden via perl5-changes
  Branch: refs/heads/hv/gh19010
  Home:   https://github.com/Perl/perl5
  Commit: c5a8cf5b3d200f37d5b2d076ea42aa8644c4ad75
  
https://github.com/Perl/perl5/commit/c5a8cf5b3d200f37d5b2d076ea42aa8644c4ad75
  Author: Hugo van der Sanden 
  Date:   2022-02-26 (Sat, 26 Feb 2022)

  Changed paths:
M numeric.c

  Log Message:
  ---
  gh19010: regularize handling of trailing whitespace on inf/nan

Always accept trailing whitespace when parsing Inf/NaN constructs, even
inside parens, without flagging as "trailing garbage".

Also fix off-by-one checking whether we reached the close-paren of
'nan(123)'.


  Commit: 294a724ad6d63c0b384849ce25860b2c78aeda91
  
https://github.com/Perl/perl5/commit/294a724ad6d63c0b384849ce25860b2c78aeda91
  Author: Hugo van der Sanden 
  Date:   2022-02-26 (Sat, 26 Feb 2022)

  Changed paths:
M ext/XS-APItest/t/grok.t

  Log Message:
  ---
  gh19010: simplify and expand inf/nan tests

We know how grok results should vary with and without PERL_SCAN_TRAILING
both for inputs with trailing garbage and those without, so abstract
that out and test both cases for each input.


Compare: https://github.com/Perl/perl5/compare/adeb727a4f24...294a724ad6d6


[Perl/perl5] 7eba3e: Add hv votes

2022-02-20 Thread Hugo van der Sanden via perl5-changes
  Branch: refs/heads/maint-votes
  Home:   https://github.com/Perl/perl5
  Commit: 7eba3e9d8acf838731502b422c0a3ab39e58205e
  
https://github.com/Perl/perl5/commit/7eba3e9d8acf838731502b422c0a3ab39e58205e
  Author: Hugo van der Sanden 
  Date:   2022-02-20 (Sun, 20 Feb 2022)

  Changed paths:
M votes-5.34.xml

  Log Message:
  ---
  Add hv votes




[Perl/perl5] 212e06: Sort tests in t/porting/dual-life.t

2022-02-13 Thread Hugo van der Sanden via perl5-changes
  Branch: refs/heads/blead
  Home:   https://github.com/Perl/perl5
  Commit: 212e06a685d29b993f82ff26541245a56d56d182
  
https://github.com/Perl/perl5/commit/212e06a685d29b993f82ff26541245a56d56d182
  Author: Hugo van der Sanden 
  Date:   2022-02-13 (Sun, 13 Feb 2022)

  Changed paths:
M t/porting/dual-life.t

  Log Message:
  ---
  Sort tests in t/porting/dual-life.t

This give a non-obvious order, since we're sorting on the location of the
distribution rather than the installation location mentioned in the test
legend, but at least it will be consistent (at a given commit) rather
than dependent on directory order.




[Perl/perl5] ab2560: Sort tests in t/porting/dual-life.t

2022-02-13 Thread Hugo van der Sanden via perl5-changes
  Branch: refs/heads/hv/dual_life_sorted
  Home:   https://github.com/Perl/perl5
  Commit: ab2560fc68f7f6a71a162f9d78ab0cc90d9f5f01
  
https://github.com/Perl/perl5/commit/ab2560fc68f7f6a71a162f9d78ab0cc90d9f5f01
  Author: Hugo van der Sanden 
  Date:   2022-02-13 (Sun, 13 Feb 2022)

  Changed paths:
M t/porting/dual-life.t

  Log Message:
  ---
  Sort tests in t/porting/dual-life.t

This give a non-obvious order, since we're sorting on the location of the
distribution rather than the installation location mentioned in the test
legend, but at least it will be consistent (at a given commit) rather
than dependent on directory order.




[Perl/perl5]

2022-02-03 Thread Hugo van der Sanden via perl5-changes
  Branch: refs/heads/overload_Method
  Home:   https://github.com/Perl/perl5


[Perl/perl5] de9d66: Augment overload::Method docs

2022-02-03 Thread Hugo van der Sanden via perl5-changes
  Branch: refs/heads/blead
  Home:   https://github.com/Perl/perl5
  Commit: de9d66aedb166fc1230874f793d152b082e262b5
  
https://github.com/Perl/perl5/commit/de9d66aedb166fc1230874f793d152b082e262b5
  Author: Hugo van der Sanden 
  Date:   2022-02-03 (Thu, 03 Feb 2022)

  Changed paths:
M lib/overload.pm

  Log Message:
  ---
  Augment overload::Method docs




[Perl/perl5] 7bc2bd: Augment overload::Method docs

2022-02-02 Thread Hugo van der Sanden via perl5-changes
  Branch: refs/heads/overload_Method
  Home:   https://github.com/Perl/perl5
  Commit: 7bc2bd0fb680788ae36d56035f977993cd13dd58
  
https://github.com/Perl/perl5/commit/7bc2bd0fb680788ae36d56035f977993cd13dd58
  Author: Hugo van der Sanden 
  Date:   2022-02-03 (Thu, 03 Feb 2022)

  Changed paths:
M lib/overload.pm

  Log Message:
  ---
  Augment overload::Method docs




[Perl/perl5]

2021-10-13 Thread Hugo van der Sanden via perl5-changes
  Branch: refs/heads/smoke-me/hv/gh17594
  Home:   https://github.com/Perl/perl5


[Perl/perl5]

2021-10-13 Thread Hugo van der Sanden via perl5-changes
  Branch: refs/heads/hv/khwpr
  Home:   https://github.com/Perl/perl5


[Perl/perl5]

2021-10-13 Thread Hugo van der Sanden via perl5-changes
  Branch: refs/heads/hv/init_myperl
  Home:   https://github.com/Perl/perl5


[Perl/perl5]

2021-10-13 Thread Hugo van der Sanden via perl5-changes
  Branch: refs/heads/gh19081
  Home:   https://github.com/Perl/perl5


[Perl/perl5]

2021-10-13 Thread Hugo van der Sanden via perl5-changes
  Branch: refs/heads/gh18770
  Home:   https://github.com/Perl/perl5


[Perl/perl5] e441c7: Whitespace only: reindent #if 0 block

2021-10-10 Thread Hugo van der Sanden via perl5-changes
  Branch: refs/heads/blead
  Home:   https://github.com/Perl/perl5
  Commit: e441c712e2da2bfc433b488adc4efa9b0d515aef
  
https://github.com/Perl/perl5/commit/e441c712e2da2bfc433b488adc4efa9b0d515aef
  Author: Hugo van der Sanden 
  Date:   2021-10-10 (Sun, 10 Oct 2021)

  Changed paths:
M regcomp.c

  Log Message:
  ---
  Whitespace only: reindent #if 0 block

Allow diff to spot that changes below here are in S_study_chunk rather
than in 'Perl_re_printf( aTHX_  "LHS=%" UVuf " RHS=%" UVuf "\n",'




[Perl/perl5] adeb72: gh19010: fix returns for Perl_grok_infnan

2021-09-17 Thread Hugo van der Sanden via perl5-changes
  Branch: refs/heads/hv/gh19010
  Home:   https://github.com/Perl/perl5
  Commit: adeb727a4f245360db73194de368ebe30ec748a5
  
https://github.com/Perl/perl5/commit/adeb727a4f245360db73194de368ebe30ec748a5
  Author: Hugo van der Sanden 
  Date:   2021-09-17 (Fri, 17 Sep 2021)

  Changed paths:
M ext/XS-APItest/t/grok.t
M numeric.c

  Log Message:
  ---
  gh19010: fix returns for Perl_grok_infnan

Consistently honour what the docs have always promised:
  If an infinity or a not-a-number is recognized, C<*sp> will point to
  one byte past the end of the recognized string.  If the recognition fails,
  zero is returned, and C<*sp> will not move.

Additionally, restore Perl_grok_number_flags to allowing inf/nan with
trailing garbage only when called with PERL_SCAN_TRAILING; add notes
to the other two core callers to clarify that they always accept such
trailing garbage.

A small number of XS-APItest tests were modified to reflect the stricter
behaviour: "Infin" and "nanx" are now invalid without PERL_SCAN_TRAILING.




[Perl/perl5] 0ce638: gh19100: avoid buggy "maybe used uninitialized" wa...

2021-09-17 Thread Hugo van der Sanden via perl5-changes
  Branch: refs/heads/hv/init_myperl
  Home:   https://github.com/Perl/perl5
  Commit: 0ce638951b075ffaf34d8c4d68ca876625503563
  
https://github.com/Perl/perl5/commit/0ce638951b075ffaf34d8c4d68ca876625503563
  Author: Hugo van der Sanden 
  Date:   2021-09-17 (Fri, 17 Sep 2021)

  Changed paths:
M perl.c

  Log Message:
  ---
  gh19100: avoid buggy "maybe used uninitialized" warning

New warnings introduced around gcc-10 or -11 assume that the call to
pthread_getspecific() in S_init_tls_and_interp may read through the
my_perl pointer provided; writing to any element of the structure
is enough to shut it up.




[Perl/perl5] e0f952: Check for NULL locale in S_emulate_setlocale

2021-09-12 Thread Hugo van der Sanden via perl5-changes
  Branch: refs/heads/blead
  Home:   https://github.com/Perl/perl5
  Commit: e0f95237e410dc356b393fde2beec8ec83d476ef
  
https://github.com/Perl/perl5/commit/e0f95237e410dc356b393fde2beec8ec83d476ef
  Author: Hugo van der Sanden 
  Date:   2021-09-12 (Sun, 12 Sep 2021)

  Changed paths:
M locale.c

  Log Message:
  ---
  Check for NULL locale in S_emulate_setlocale

gcc-11.2.0 correctly warns that it is called with NULL from
Perl_switch_to_global_locale().




[Perl/perl5] bb1dc6: Check for NULL locale in S_emulate_setlocale

2021-09-12 Thread Hugo van der Sanden via perl5-changes
  Branch: refs/heads/hv/safelocale
  Home:   https://github.com/Perl/perl5
  Commit: bb1dc64425cb8e81a2e70127ba3bbd2f3cd02a91
  
https://github.com/Perl/perl5/commit/bb1dc64425cb8e81a2e70127ba3bbd2f3cd02a91
  Author: Hugo van der Sanden 
  Date:   2021-09-12 (Sun, 12 Sep 2021)

  Changed paths:
M locale.c

  Log Message:
  ---
  Check for NULL locale in S_emulate_setlocale

gcc-11.2.0 correctly warns that it is called with NULL from
Perl_switch_to_global_locale().




[Perl/perl5] 170944: Indentation fix in sv_gets() (whitespace only)

2021-09-10 Thread Hugo van der Sanden via perl5-changes
  Branch: refs/heads/blead
  Home:   https://github.com/Perl/perl5
  Commit: 170944218d18492ce2141ac45166c62ec99ba1a7
  
https://github.com/Perl/perl5/commit/170944218d18492ce2141ac45166c62ec99ba1a7
  Author: Hugo van der Sanden 
  Date:   2021-09-10 (Fri, 10 Sep 2021)

  Changed paths:
M sv.c

  Log Message:
  ---
  Indentation fix in sv_gets() (whitespace only)

gcc-11.2 correctly complains about this. [-Wmisleading-indentation]




[Perl/perl5] 7ea095: Set my_perl to 0 after perl_destruct

2021-09-08 Thread Hugo van der Sanden via perl5-changes
  Branch: refs/heads/hv/safe-croak
  Home:   https://github.com/Perl/perl5
  Commit: 7ea0959092cbaf277c280ae8ea5d72dd9936348e
  
https://github.com/Perl/perl5/commit/7ea0959092cbaf277c280ae8ea5d72dd9936348e
  Author: Hugo van der Sanden 
  Date:   2021-09-08 (Wed, 08 Sep 2021)

  Changed paths:
M ext/ExtUtils-Miniperl/lib/ExtUtils/Miniperl.pm
M miniperlmain.c

  Log Message:
  ---
  Set my_perl to 0 after perl_destruct

It's useful to be able to check if there's a valid interpreter available.

This could be improved further by setting it _before_ we start to tear
it down, but that's likely to be a lot trickier.


  Commit: 92439015e03422c6ca37b9db0dc28823ca61ea78
  
https://github.com/Perl/perl5/commit/92439015e03422c6ca37b9db0dc28823ca61ea78
  Author: Hugo van der Sanden 
  Date:   2021-09-08 (Wed, 08 Sep 2021)

  Changed paths:
M embed.fnc
M embed.h
M proto.h
M thread.h
M util.c

  Log Message:
  ---
  Add Perl_choke_nocontext

This is an analogue of Perl_croak_nocontext, for use specifically in
situations where we cannot be sure the perl interpreter has been fully
set up (or may already have been torn down).

Use this instead of croak within the MUTEX_INIT macro, which is expected
to be invoked during interpreter setup.


Compare: https://github.com/Perl/perl5/compare/7ea0959092cb%5E...92439015e034


[Perl/perl5] 5892d8: gh19081: also deliver SIGFPE in an "unsafe" manner

2021-09-07 Thread Hugo van der Sanden via perl5-changes
  Branch: refs/heads/blead
  Home:   https://github.com/Perl/perl5
  Commit: 5892d8f56e8e77736b6332cb50e4d86139963498
  
https://github.com/Perl/perl5/commit/5892d8f56e8e77736b6332cb50e4d86139963498
  Author: Hugo van der Sanden 
  Date:   2021-09-08 (Wed, 08 Sep 2021)

  Changed paths:
M mg.c
M pod/perlipc.pod

  Log Message:
  ---
  gh19081: also deliver SIGFPE in an "unsafe" manner

Bring it in line with the other "fault"-like signals SEGV, ILL and BUS.


  Commit: 49a2027b118dc6a90f441e61e90419db25ad40eb
  
https://github.com/Perl/perl5/commit/49a2027b118dc6a90f441e61e90419db25ad40eb
  Author: Hugo van der Sanden 
  Date:   2021-09-08 (Wed, 08 Sep 2021)

  Changed paths:
M pod/perlipc.pod

  Log Message:
  ---
  gh19081: add perlipc caveats for "fault"-type signal handlers


  Commit: 0ae3a5cd82ef1c87a47925be64da85d49c7a79f7
  
https://github.com/Perl/perl5/commit/0ae3a5cd82ef1c87a47925be64da85d49c7a79f7
  Author: Hugo van der Sanden 
  Date:   2021-09-08 (Wed, 08 Sep 2021)

  Changed paths:
M pod/perldelta.pod

  Log Message:
  ---
  gh19081: perldelta for SIGFPE changes


Compare: https://github.com/Perl/perl5/compare/231a6d1601b9...0ae3a5cd82ef


[Perl/perl5] 3b0889: gh19081: also deliver SIGFPE in an "unsafe" manner

2021-08-30 Thread Hugo van der Sanden via perl5-changes
  Branch: refs/heads/gh19081
  Home:   https://github.com/Perl/perl5
  Commit: 3b08890b9d1f06dfc718d9f8db165005cb302451
  
https://github.com/Perl/perl5/commit/3b08890b9d1f06dfc718d9f8db165005cb302451
  Author: Hugo van der Sanden 
  Date:   2021-08-31 (Tue, 31 Aug 2021)

  Changed paths:
M mg.c
M pod/perlipc.pod

  Log Message:
  ---
  gh19081: also deliver SIGFPE in an "unsafe" manner

Bring it in line with the other "fault"-like signals SEGV, ILL and BUS.


  Commit: 38e1e74c56c767a21c6bb3ed07b6946afde9bbf1
  
https://github.com/Perl/perl5/commit/38e1e74c56c767a21c6bb3ed07b6946afde9bbf1
  Author: Hugo van der Sanden 
  Date:   2021-08-31 (Tue, 31 Aug 2021)

  Changed paths:
M pod/perlipc.pod

  Log Message:
  ---
  gh19081: add perlipc caveats for "fault"-type signal handlers


  Commit: 311c9341d75245d1e721b5f1c2df3744d1e0bea5
  
https://github.com/Perl/perl5/commit/311c9341d75245d1e721b5f1c2df3744d1e0bea5
  Author: Hugo van der Sanden 
  Date:   2021-08-31 (Tue, 31 Aug 2021)

  Changed paths:
M pod/perldelta.pod

  Log Message:
  ---
  gh19081: perldelta for SIGFPE changes


Compare: https://github.com/Perl/perl5/compare/be4d610abee4...311c9341d752


[Perl/perl5] 468433: Also deliver SIGFPE in an "unsafe" manner

2021-08-30 Thread Hugo van der Sanden via perl5-changes
  Branch: refs/heads/gh19081
  Home:   https://github.com/Perl/perl5
  Commit: 468433cfa52075e5163349f50c63b6758c9a8df9
  
https://github.com/Perl/perl5/commit/468433cfa52075e5163349f50c63b6758c9a8df9
  Author: Hugo van der Sanden 
  Date:   2021-08-30 (Mon, 30 Aug 2021)

  Changed paths:
M mg.c
M pod/perlipc.pod

  Log Message:
  ---
  Also deliver SIGFPE in an "unsafe" manner

Bring it in line with the other "fault"-like signals SEGV, ILL and BUS.


  Commit: 8cc3a801d9923ceb03bc42eaaf086a7a99aaa7cd
  
https://github.com/Perl/perl5/commit/8cc3a801d9923ceb03bc42eaaf086a7a99aaa7cd
  Author: Hugo van der Sanden 
  Date:   2021-08-31 (Tue, 31 Aug 2021)

  Changed paths:
M pod/perlipc.pod

  Log Message:
  ---
  perlipc: add caveats for "fault"-type signal handlers


  Commit: be4d610abee4379d2e7d3093c727a424f6e330cd
  
https://github.com/Perl/perl5/commit/be4d610abee4379d2e7d3093c727a424f6e330cd
  Author: Hugo van der Sanden 
  Date:   2021-08-31 (Tue, 31 Aug 2021)

  Changed paths:
M pod/perldelta.pod

  Log Message:
  ---
  perldelta for SIGFPE changes


Compare: https://github.com/Perl/perl5/compare/468433cfa520%5E...be4d610abee4


[Perl/perl5] a9475d: gh19010: fix returns for Perl_grok_infnan

2021-08-15 Thread Hugo van der Sanden via perl5-changes
  Branch: refs/heads/hv/gh19010
  Home:   https://github.com/Perl/perl5
  Commit: a9475d1841f2673647c5ced6957dd637f9518979
  
https://github.com/Perl/perl5/commit/a9475d1841f2673647c5ced6957dd637f9518979
  Author: Hugo van der Sanden 
  Date:   2021-08-15 (Sun, 15 Aug 2021)

  Changed paths:
M ext/XS-APItest/t/grok.t
M numeric.c

  Log Message:
  ---
  gh19010: fix returns for Perl_grok_infnan

Consistently honour what the docs have always promised:
  If an infinity or a not-a-number is recognized, C<*sp> will point to
  one byte past the end of the recognized string.  If the recognition fails,
  zero is returned, and C<*sp> will not move.

Additionally, restore Perl_grok_number_flags to allowing inf/nan with
trailing garbage only when called with PERL_SCAN_TRAILING; add notes
to the other two core callers to clarify that they always accept such
trailing garbage.

A small number of XS-APItest tests were modified to reflect the stricter
behaviour: "Infin" and "nanx" are now invalid without PERL_SCAN_TRAILING.




[Perl/perl5] 291b2a: regcomp.c: White-space only

2021-06-14 Thread Hugo van der Sanden via perl5-changes
  Branch: refs/heads/blead
  Home:   https://github.com/Perl/perl5
  Commit: 291b2a970a1a3a8571cae4b8a1f414e7966399ef
  
https://github.com/Perl/perl5/commit/291b2a970a1a3a8571cae4b8a1f414e7966399ef
  Author: Karl Williamson 
  Date:   2021-06-14 (Mon, 14 Jun 2021)

  Changed paths:
M regcomp.c

  Log Message:
  ---
  regcomp.c: White-space only

My attempt to insulate from the leading tab removal the year-old commits
finally pushed as 77a6d54c0deb1165b37dcf11c21cd334ae2579bb and
403d7eb3e4320188571cf61b9dab62ff10799f49 failed miserably.

I spent a bunch of time sorting it all out, and this is the result.


  Commit: c58a04b5e969bf8a46bd194709138679b0510728
  
https://github.com/Perl/perl5/commit/c58a04b5e969bf8a46bd194709138679b0510728
  Author: Hugo van der Sanden 
  Date:   2021-06-14 (Mon, 14 Jun 2021)

  Changed paths:
M regcomp.c

  Log Message:
  ---
  regcomp.c: comments

Comment change suggestions from @hvds in PR #18835.


Compare: https://github.com/Perl/perl5/compare/d6491d6b79de...c58a04b5e969


[Perl/perl5] 499aa1: gh18770: stop scanning for substrs after *COMMIT

2021-06-01 Thread Hugo van der Sanden via perl5-changes
  Branch: refs/heads/blead
  Home:   https://github.com/Perl/perl5
  Commit: 499aa13271ff03425a8258615a0702c5b830be8b
  
https://github.com/Perl/perl5/commit/499aa13271ff03425a8258615a0702c5b830be8b
  Author: Hugo van der Sanden 
  Date:   2021-06-01 (Tue, 01 Jun 2021)

  Changed paths:
M regcomp.c
M t/re/opt.t

  Log Message:
  ---
  gh18770: stop scanning for substrs after *COMMIT

*ACCEPT already avoids this (because it is "ENDLIKE"), but gets a
related fix to stop scanning for start class.




[Perl/perl5]

2021-05-31 Thread Hugo van der Sanden via perl5-changes
  Branch: refs/heads/gh17847
  Home:   https://github.com/Perl/perl5


[Perl/perl5]

2021-05-31 Thread Hugo van der Sanden via perl5-changes
  Branch: refs/heads/hv/av-zero
  Home:   https://github.com/Perl/perl5


[Perl/perl5]

2021-05-31 Thread Hugo van der Sanden via perl5-changes
  Branch: refs/heads/gh18842
  Home:   https://github.com/Perl/perl5


[Perl/perl5]

2021-05-31 Thread Hugo van der Sanden via perl5-changes
  Branch: refs/heads/gh17824
  Home:   https://github.com/Perl/perl5


[Perl/perl5] 756cf5: [gh 17847] Include data->pos_delta in #if'd-out di...

2021-05-31 Thread Hugo van der Sanden via perl5-changes
  Branch: refs/heads/blead
  Home:   https://github.com/Perl/perl5
  Commit: 756cf5b8e3f0e9bf26a32dd9207ba46999b12d8f
  
https://github.com/Perl/perl5/commit/756cf5b8e3f0e9bf26a32dd9207ba46999b12d8f
  Author: Hugo van der Sanden 
  Date:   2021-05-31 (Mon, 31 May 2021)

  Changed paths:
M regcomp.c

  Log Message:
  ---
  [gh 17847] Include data->pos_delta in #if'd-out diagnostic


  Commit: e096e509321e540009a195ee8530c7dd07c62125
  
https://github.com/Perl/perl5/commit/e096e509321e540009a195ee8530c7dd07c62125
  Author: Hugo van der Sanden 
  Date:   2021-05-31 (Mon, 31 May 2021)

  Changed paths:
M regcomp.c

  Log Message:
  ---
  [gh 17847] avoid overflow on delta in study_chunk

delta and pos_delta may hold OPTIMIZE_INFTY to represent infinity.


  Commit: 8227b2b69230eaeea8f88d757b20021608518279
  
https://github.com/Perl/perl5/commit/8227b2b69230eaeea8f88d757b20021608518279
  Author: Hugo van der Sanden 
  Date:   2021-05-31 (Mon, 31 May 2021)

  Changed paths:
M regcomp.c

  Log Message:
  ---
  [gh 17847] data->pos_delta should stick at infinity

The expression we're about to add to data->pos_delta in this part of
study_chunk() can be both positive or negative; however while we apply
an overflow check to avoid exceeding OPTIMIZE_INFTY, we were happily
subtracting from it when the expression was negative, making it no longer
infinite.


Compare: https://github.com/Perl/perl5/compare/f72873660d1d...8227b2b69230


[Perl/perl5] f72873: gh18842: fix a pair of sprintf format warnings

2021-05-31 Thread Hugo van der Sanden via perl5-changes
  Branch: refs/heads/blead
  Home:   https://github.com/Perl/perl5
  Commit: f72873660d1db9867dbdc98bbfc9e52b63387937
  
https://github.com/Perl/perl5/commit/f72873660d1db9867dbdc98bbfc9e52b63387937
  Author: Hugo van der Sanden 
  Date:   2021-05-31 (Mon, 31 May 2021)

  Changed paths:
M perl.c

  Log Message:
  ---
  gh18842: fix a pair of sprintf format warnings

The format is '%s', so it is not appropriate to wrap the char * arguments
in SVfARG().




[Perl/perl5] 004e62: gh18842: fix a pair of sprintf format warnings

2021-05-31 Thread Hugo van der Sanden via perl5-changes
  Branch: refs/heads/gh18842
  Home:   https://github.com/Perl/perl5
  Commit: 004e62a75471a5f81bf9a48931079fb043c145ab
  
https://github.com/Perl/perl5/commit/004e62a75471a5f81bf9a48931079fb043c145ab
  Author: Hugo van der Sanden 
  Date:   2021-05-31 (Mon, 31 May 2021)

  Changed paths:
M perl.c

  Log Message:
  ---
  gh18842: fix a pair of sprintf format warnings

The format is '%s', so it is not appropriate to wrap the char * arguments
in SVfARG().




[Perl/perl5] 8a2e41: gh17824: zero curlocales[]

2021-05-31 Thread Hugo van der Sanden via perl5-changes
  Branch: refs/heads/blead
  Home:   https://github.com/Perl/perl5
  Commit: 8a2e41ffbc376a86586e2b42daa43293299622c5
  
https://github.com/Perl/perl5/commit/8a2e41ffbc376a86586e2b42daa43293299622c5
  Author: Hugo van der Sanden 
  Date:   2021-05-31 (Mon, 31 May 2021)

  Changed paths:
M locale.c

  Log Message:
  ---
  gh17824: zero curlocales[]

Static analysis tools such as Coverity and clang report that we can
otherwise end up reading uninitialized data, and inspection agrees.




[Perl/perl5] 543a84: gh17824: zero curlocales[]

2021-05-22 Thread Hugo van der Sanden via perl5-changes
  Branch: refs/heads/gh17824
  Home:   https://github.com/Perl/perl5
  Commit: 543a843b5a5feefefae2cae19d5432101b05d235
  
https://github.com/Perl/perl5/commit/543a843b5a5feefefae2cae19d5432101b05d235
  Author: Hugo van der Sanden 
  Date:   2021-05-22 (Sat, 22 May 2021)

  Changed paths:
M locale.c

  Log Message:
  ---
  gh17824: zero curlocales[]

Static analysis tools such as Coverity and clang report that we can
otherwise end up reading uninitialized data, and inspection agrees.




[Perl/perl5] abf01f: [gh 17847] Include data->pos_delta in #if'd-out di...

2021-05-22 Thread Hugo van der Sanden via perl5-changes
  Branch: refs/heads/gh17847
  Home:   https://github.com/Perl/perl5
  Commit: abf01f972927b3a562672d63a470eeab172cbf1d
  
https://github.com/Perl/perl5/commit/abf01f972927b3a562672d63a470eeab172cbf1d
  Author: Hugo van der Sanden 
  Date:   2021-05-22 (Sat, 22 May 2021)

  Changed paths:
M regcomp.c

  Log Message:
  ---
  [gh 17847] Include data->pos_delta in #if'd-out diagnostic


  Commit: 2f2ea8a9b81f6637fbefd8e4e9fc5e1bfdf425b8
  
https://github.com/Perl/perl5/commit/2f2ea8a9b81f6637fbefd8e4e9fc5e1bfdf425b8
  Author: Hugo van der Sanden 
  Date:   2021-05-22 (Sat, 22 May 2021)

  Changed paths:
M regcomp.c

  Log Message:
  ---
  [gh 17847] avoid overflow on delta in study_chunk

delta and pos_delta may hold OPTIMIZE_INFTY to represent infinity.


  Commit: b9eed087b329a1048a42f7c4d9f5a13799114a98
  
https://github.com/Perl/perl5/commit/b9eed087b329a1048a42f7c4d9f5a13799114a98
  Author: Hugo van der Sanden 
  Date:   2021-05-22 (Sat, 22 May 2021)

  Changed paths:
M regcomp.c

  Log Message:
  ---
  [gh 17847] data->pos_delta should stick at infinity

The expression we're about to add to data->pos_delta in this part of
study_chunk() can be both positive or negative; however while we apply
an overflow check to avoid exceeding OPTIMIZE_INFTY, we were happily
subtracting from it when the expression was negative, making it no longer
infinite.


Compare: https://github.com/Perl/perl5/compare/c14c117a739a...b9eed087b329


[Perl/perl5] e44cff: gh18770: stop scanning for substrs after *COMMIT

2021-05-22 Thread Hugo van der Sanden via perl5-changes
  Branch: refs/heads/gh18770
  Home:   https://github.com/Perl/perl5
  Commit: e44cffb922cb8cac201ba5c1e415722875620da6
  
https://github.com/Perl/perl5/commit/e44cffb922cb8cac201ba5c1e415722875620da6
  Author: Hugo van der Sanden 
  Date:   2021-05-22 (Sat, 22 May 2021)

  Changed paths:
M regcomp.c
M t/re/opt.t

  Log Message:
  ---
  gh18770: stop scanning for substrs after *COMMIT

*ACCEPT already avoids this (because it is "ENDLIKE"), but gets a
related fix to stop scanning for start class.




[Perl/perl5] d163af: gh18770: stop scanning for substrs after *COMMIT

2021-05-07 Thread Hugo van der Sanden via perl5-changes
  Branch: refs/heads/gh18770
  Home:   https://github.com/Perl/perl5
  Commit: d163af820d6a0c507a18e8ea4d3d2cc86ab6bebf
  
https://github.com/Perl/perl5/commit/d163af820d6a0c507a18e8ea4d3d2cc86ab6bebf
  Author: Hugo van der Sanden 
  Date:   2021-05-07 (Fri, 07 May 2021)

  Changed paths:
M regcomp.c
M t/re/opt.t

  Log Message:
  ---
  gh18770: stop scanning for substrs after *COMMIT

*ACCEPT already avoids this (because it is "ENDLIKE"), but gets a
related fix to stop scanning for start class.




[Perl/perl5] 61b45b: gh18770: stop scanning for substrs after *COMMIT

2021-05-06 Thread Hugo van der Sanden via perl5-changes
  Branch: refs/heads/gh18770
  Home:   https://github.com/Perl/perl5
  Commit: 61b45b5fe13d7162c1f6205cf144826b462e1c0c
  
https://github.com/Perl/perl5/commit/61b45b5fe13d7162c1f6205cf144826b462e1c0c
  Author: Hugo van der Sanden 
  Date:   2021-05-07 (Fri, 07 May 2021)

  Changed paths:
M regcomp.c
M t/re/opt.t

  Log Message:
  ---
  gh18770: stop scanning for substrs after *COMMIT




[Perl/perl5] 0cca55: gh18770: stop scanning for substrs after *COMMIT

2021-05-06 Thread Hugo van der Sanden via perl5-changes
  Branch: refs/heads/gh18770
  Home:   https://github.com/Perl/perl5
  Commit: 0cca55291a50cbe3c42098930c8ad09dd021cdf8
  
https://github.com/Perl/perl5/commit/0cca55291a50cbe3c42098930c8ad09dd021cdf8
  Author: Hugo van der Sanden 
  Date:   2021-05-07 (Fri, 07 May 2021)

  Changed paths:
M regcomp.c

  Log Message:
  ---
  gh18770: stop scanning for substrs after *COMMIT




[Perl/perl5] 4e5335: Nonsense commit

2021-05-04 Thread Hugo van der Sanden via perl5-changes
  Branch: refs/heads/hv/study_chunk
  Home:   https://github.com/Perl/perl5
  Commit: 4e53357c107200b06c4191b4b220e39c036c9f86
  
https://github.com/Perl/perl5/commit/4e53357c107200b06c4191b4b220e39c036c9f86
  Author: Hugo van der Sanden 
  Date:   2021-05-04 (Tue, 04 May 2021)

  Changed paths:

  Log Message:
  ---
  Nonsense commit

Empty commit to avoid branch deletion




[Perl/perl5]

2021-05-04 Thread Hugo van der Sanden via perl5-changes
  Branch: refs/heads/gh18515
  Home:   https://github.com/Perl/perl5


[Perl/perl5]

2021-05-04 Thread Hugo van der Sanden via perl5-changes
  Branch: refs/heads/hv/topt
  Home:   https://github.com/Perl/perl5


[Perl/perl5]

2021-05-04 Thread Hugo van der Sanden via perl5-changes
  Branch: refs/heads/hv/curly
  Home:   https://github.com/Perl/perl5


[Perl/perl5] b2b856: [gh 17847] Include data->pos_delta in #if'd-out di...

2021-05-04 Thread Hugo van der Sanden via perl5-changes
  Branch: refs/heads/gh17847
  Home:   https://github.com/Perl/perl5
  Commit: b2b85681b42f13c8a70b583166364cd7f86df65b
  
https://github.com/Perl/perl5/commit/b2b85681b42f13c8a70b583166364cd7f86df65b
  Author: Hugo van der Sanden 
  Date:   2021-05-04 (Tue, 04 May 2021)

  Changed paths:
M regcomp.c

  Log Message:
  ---
  [gh 17847] Include data->pos_delta in #if'd-out diagnostic


  Commit: 0a065f31b54c06779b680b01adaf1346bc012e77
  
https://github.com/Perl/perl5/commit/0a065f31b54c06779b680b01adaf1346bc012e77
  Author: Hugo van der Sanden 
  Date:   2021-05-04 (Tue, 04 May 2021)

  Changed paths:
M regcomp.c

  Log Message:
  ---
  [gh 17847] avoid overflow on delta in study_chunk

delta and pos_delta may hold OPTIMIZE_INFTY to represent infinity.


  Commit: c14c117a739a744dbf5ed6f0c5dc4d0ede1f876c
  
https://github.com/Perl/perl5/commit/c14c117a739a744dbf5ed6f0c5dc4d0ede1f876c
  Author: Hugo van der Sanden 
  Date:   2021-05-04 (Tue, 04 May 2021)

  Changed paths:
M regcomp.c

  Log Message:
  ---
  [gh 17847] data->pos_delta should stick at infinity

The expression we're about to add to data->pos_delta in this part of
study_chunk() can be both positive or negative; however while we apply
an overflow check to avoid exceeding OPTIMIZE_INFTY, we were happily
subtracting from it when the expression was negative, making it no longer
infinite.


Compare: https://github.com/Perl/perl5/compare/1b08fea2be93...c14c117a739a


[Perl/perl5] c730b3: gh 15836: simplify the runloop

2021-05-04 Thread Hugo van der Sanden via perl5-changes
  Branch: refs/heads/hv/runloop
  Home:   https://github.com/Perl/perl5
  Commit: c730b363c77152592fda30fbf7edc98155f931c7
  
https://github.com/Perl/perl5/commit/c730b363c77152592fda30fbf7edc98155f931c7
  Author: Hugo van der Sanden 
  Date:   2021-05-04 (Tue, 04 May 2021)

  Changed paths:
M run.c

  Log Message:
  ---
  gh 15836: simplify the runloop




[Perl/perl5] 7fe8e9: gh15835: Allow for bracket-stack annotations in to...

2021-05-04 Thread Hugo van der Sanden via perl5-changes
  Branch: refs/heads/hv/brackets
  Home:   https://github.com/Perl/perl5
  Commit: 7fe8e930fcc71852cd6302fa11898bc45eeca235
  
https://github.com/Perl/perl5/commit/7fe8e930fcc71852cd6302fa11898bc45eeca235
  Author: Hugo van der Sanden 
  Date:   2021-05-04 (Tue, 04 May 2021)

  Changed paths:
M toke.c

  Log Message:
  ---
  gh15835: Allow for bracket-stack annotations in tokereport()

Proof of concept to name the flags applied to tokens to modify the
bracket stack, and use them to report better with -DT; see for example
the output of: perl -DT -e 'qq{@{[0]}}' 2>&1 | grep -B1 '??\|BRACK'




[Perl/perl5]

2021-05-04 Thread Hugo van der Sanden via perl5-changes
  Branch: refs/heads/hv/braceless-property
  Home:   https://github.com/Perl/perl5


[Perl/perl5] 60eec7: Add reference to av_extend_guts zeroing discussion

2021-04-05 Thread Hugo van der Sanden via perl5-changes
  Branch: refs/heads/blead
  Home:   https://github.com/Perl/perl5
  Commit: 60eec70fe60786331e604b80d5a319b3b625a2b2
  
https://github.com/Perl/perl5/commit/60eec70fe60786331e604b80d5a319b3b625a2b2
  Author: Hugo van der Sanden 
  Date:   2021-04-06 (Tue, 06 Apr 2021)

  Changed paths:
M av.c

  Log Message:
  ---
  Add reference to av_extend_guts zeroing discussion

.. via withdrawn PR 18690.




[Perl/perl5] 56705e: Don't zero non-real arrays

2021-04-05 Thread Hugo van der Sanden via perl5-changes
  Branch: refs/heads/hv/av-zero
  Home:   https://github.com/Perl/perl5
  Commit: 56705edc1d3c8061fd2ac478582efde9a98a3852
  
https://github.com/Perl/perl5/commit/56705edc1d3c8061fd2ac478582efde9a98a3852
  Author: Hugo van der Sanden 
  Date:   2021-04-05 (Mon, 05 Apr 2021)

  Changed paths:
M av.c

  Log Message:
  ---
  Don't zero non-real arrays

A minor difference in behaviour introduced by the rewrite of av_extend_guts
in 440c1856 and 399fef93 is that when the SV* array is first acquired, we
now zero its contents regardless of whether that is needed - and add an
extra label and 'goto' to do so.

This commit restores the original behavious: for non-refcounted arrays such
as @_ and pad arrays this is not needed, and for pads in particular we may
hit this path many times during the course of a program.




[Perl/perl5] 712715: gh18515: extend dumping of PM objects

2021-02-09 Thread Hugo van der Sanden via perl5-changes
  Branch: refs/heads/blead
  Home:   https://github.com/Perl/perl5
  Commit: 7127153a0aa372b27a6d28ba8fbbd332ec8e0eab
  
https://github.com/Perl/perl5/commit/7127153a0aa372b27a6d28ba8fbbd332ec8e0eab
  Author: Hugo van der Sanden 
  Date:   2021-02-09 (Tue, 09 Feb 2021)

  Changed paths:
M dump.c

  Log Message:
  ---
  gh18515: extend dumping of PM objects

Include RXf_ flags START_ONLY, WHITE and NULL along with the essentially
similar SKIPWHITE; dump the flags whenever GETRE(pm) succeeds, not only
if there is a check substring.

This allows eg `perl -Dx -e 'split /\s+/'` to show whether the intended
flags have been set.


  Commit: 3c7beb8da4692313468432f7e66606e56360d79c
  
https://github.com/Perl/perl5/commit/3c7beb8da4692313468432f7e66606e56360d79c
  Author: Hugo van der Sanden 
  Date:   2021-02-09 (Tue, 09 Feb 2021)

  Changed paths:
M t/op/split.t

  Log Message:
  ---
  gh18515: tests for special-cased patterns


  Commit: 459be019bda14de383329366de4cdec161526c3f
  
https://github.com/Perl/perl5/commit/459be019bda14de383329366de4cdec161526c3f
  Author: Hugo van der Sanden 
  Date:   2021-02-09 (Tue, 09 Feb 2021)

  Changed paths:
M regcomp.c

  Log Message:
  ---
  gh18515: fix special handling of specific split() patterns

Commit 122af31004 acted on the wrong assumption that NEXTOPER() and
regnext() were equivalent, and in fixing a valgrind complaint tried
to simplify code for detecting specific patterns for split() that
merited special-case handling by making them all use regnext().

As a result, the special case /\s+/ was no longer correctly detected,
resulting in a degree of pessimisation.

This commit fixes that, and avoids reading via the calculated 'next'
pointer except for the ops we need (in which cases we know it'll point
to another regop) - for the EXACT case (which we don't need), valgrind
was correctly pointing out that it points to potentially uninitialized
data.


Compare: https://github.com/Perl/perl5/compare/07b740f3e298...459be019bda1


[Perl/perl5] 5fa8d5: [gh18540] Don't read before start of context stack...

2021-02-08 Thread Hugo van der Sanden via perl5-changes
  Branch: refs/heads/blead
  Home:   https://github.com/Perl/perl5
  Commit: 5fa8d5db906c2b647f6651b061de02e805d898a1
  
https://github.com/Perl/perl5/commit/5fa8d5db906c2b647f6651b061de02e805d898a1
  Author: Hugo van der Sanden 
  Date:   2021-02-08 (Mon, 08 Feb 2021)

  Changed paths:
M pp_ctl.c

  Log Message:
  ---
  [gh18540] Don't read before start of context stack in pp_return()

Add a guard to the chunk introduced by a1325b902d for "try" support.




[Perl/perl5] 21934c: hugo patch

2021-02-07 Thread Hugo van der Sanden via perl5-changes
  Branch: refs/heads/smoke-me/jkeenan/hv/pp_ctl-20210207
  Home:   https://github.com/Perl/perl5
  Commit: 21934c3b100828430460ea4bc2d1563060560d64
  
https://github.com/Perl/perl5/commit/21934c3b100828430460ea4bc2d1563060560d64
  Author: Hugo van der Sanden 
  Date:   2021-02-07 (Sun, 07 Feb 2021)

  Changed paths:
M pp_ctl.c

  Log Message:
  ---
  hugo patch




[Perl/perl5] 7f00c2: gh18515: extend dumping of PM objects

2021-02-03 Thread Hugo van der Sanden via perl5-changes
  Branch: refs/heads/gh18515
  Home:   https://github.com/Perl/perl5
  Commit: 7f00c2e068e58549116015dcbca75a26b812df7f
  
https://github.com/Perl/perl5/commit/7f00c2e068e58549116015dcbca75a26b812df7f
  Author: Hugo van der Sanden 
  Date:   2021-02-03 (Wed, 03 Feb 2021)

  Changed paths:
M dump.c

  Log Message:
  ---
  gh18515: extend dumping of PM objects

Include RXf_ flags START_ONLY, WHITE and NULL along with the essentially
similar SKIPWHITE; dump the flags whenever GETRE(pm) succeeds, not only
if there is a check substring.

This allows eg `perl -Dx -e 'split /\s+/'` to show whether the intended
flags have been set.


  Commit: 7042511892e9289ab85c009cbadc35cd04655f2f
  
https://github.com/Perl/perl5/commit/7042511892e9289ab85c009cbadc35cd04655f2f
  Author: Hugo van der Sanden 
  Date:   2021-02-03 (Wed, 03 Feb 2021)

  Changed paths:
M t/op/split.t

  Log Message:
  ---
  gh18515: tests for special-cased patterns


  Commit: cc56dd239856ef74fb7bb848dc4364fbae00c792
  
https://github.com/Perl/perl5/commit/cc56dd239856ef74fb7bb848dc4364fbae00c792
  Author: Hugo van der Sanden 
  Date:   2021-02-03 (Wed, 03 Feb 2021)

  Changed paths:
M regcomp.c

  Log Message:
  ---
  gh18515: fix special handling of specific split() patterns

Commit 122af31004 acted on the wrong assumption that NEXTOPER() and
regnext() were equivalent, and in fixing a valgrind complaint tried
to simplify code for detecting specific patterns for split() that
merited special-case handling by making them all use regnext().

As a result, the special case /\s+/ was no longer correctly detected,
resulting in a degree of pessimisation.

This commit fixes that, and avoids reading via the calculated 'next'
pointer except for the ops we need (in which cases we know it'll point
to another regop) - for the EXACT case (which we don't need), valgrind
was correctly pointing out that it points to potentially uninitialized
data.


Compare: https://github.com/Perl/perl5/compare/666b743a52d6...cc56dd239856


[Perl/perl5] 31883a: gh18515: extend dumping of PM objects

2021-01-31 Thread Hugo van der Sanden via perl5-changes
  Branch: refs/heads/gh18515
  Home:   https://github.com/Perl/perl5
  Commit: 31883ad00b5345af7be05e260a4b6834ba86a2b0
  
https://github.com/Perl/perl5/commit/31883ad00b5345af7be05e260a4b6834ba86a2b0
  Author: Hugo van der Sanden 
  Date:   2021-01-31 (Sun, 31 Jan 2021)

  Changed paths:
M dump.c

  Log Message:
  ---
  gh18515: extend dumping of PM objects

Include RXf_ flags START_ONLY, WHITE and NULL along with the essentially
similar SKIPWHITE; dump the flags whenever GETRE(pm) succeeds, not only
if there is a check substring.

This allows eg `perl -Dx -e 'split /\s+/'` to show whether the intended
flags have been set.


  Commit: 666b743a52d6aa9dcb6f6a9b879ccee62a7383d0
  
https://github.com/Perl/perl5/commit/666b743a52d6aa9dcb6f6a9b879ccee62a7383d0
  Author: Hugo van der Sanden 
  Date:   2021-01-31 (Sun, 31 Jan 2021)

  Changed paths:
M regcomp.c

  Log Message:
  ---
  gh18515: fix special handling of specific split() patterns

Commit 122af31004 acted on the wrong assumption that NEXTOPER() and
regnext() were equivalent, and in fixing a valgrind complaint tried
to simplify code for detecting specific patterns for split() that
merited special-case handling by making them all use regnext().

As a result, the special case /\s+/ was no longer correctly detected,
resulting in a degree of pessimisation.

This commit fixes that, and avoids reading via the calculated 'next'
pointer except for the ops we need (in which cases we know it'll point
to another regop) - for the EXACT case (which we don't need), valgrind
was correctly pointing out that it points to potentially uninitialized
data.


Compare: https://github.com/Perl/perl5/compare/31883ad00b53%5E...666b743a52d6


[Perl/perl5] 86e67e: Add vote on d296ead167

2021-01-05 Thread Hugo van der Sanden via perl5-changes
  Branch: refs/heads/maint-votes
  Home:   https://github.com/Perl/perl5
  Commit: 86e67e739a4e9263117cdcec6e85e4e84ddf9eab
  
https://github.com/Perl/perl5/commit/86e67e739a4e9263117cdcec6e85e4e84ddf9eab
  Author: Hugo van der Sanden 
  Date:   2021-01-05 (Tue, 05 Jan 2021)

  Changed paths:
M votes-5.32.xml

  Log Message:
  ---
  Add vote on d296ead167

Discussion on the commit suggests it isn't perfect, but should do no
worse than give undef warnings in certain circumstances.




[Perl/perl5] 749008: Add more hv votes

2021-01-05 Thread Hugo van der Sanden via perl5-changes
  Branch: refs/heads/maint-votes
  Home:   https://github.com/Perl/perl5
  Commit: 7490088edc3d4a1dc371cce4f3e9512400272181
  
https://github.com/Perl/perl5/commit/7490088edc3d4a1dc371cce4f3e9512400272181
  Author: Hugo van der Sanden 
  Date:   2021-01-05 (Tue, 05 Jan 2021)

  Changed paths:
M votes-5.32.xml

  Log Message:
  ---
  Add more hv votes




[Perl/perl5] 77242f: fix issue references in tests from 282d9dfeb4

2021-01-05 Thread Hugo van der Sanden via perl5-changes
  Branch: refs/heads/blead
  Home:   https://github.com/Perl/perl5
  Commit: 77242fe8e71200b51aaf77de4056c274e22d8805
  
https://github.com/Perl/perl5/commit/77242fe8e71200b51aaf77de4056c274e22d8805
  Author: Hugo van der Sanden 
  Date:   2021-01-05 (Tue, 05 Jan 2021)

  Changed paths:
M t/op/aassign.t

  Log Message:
  ---
  fix issue references in tests from 282d9dfeb4

Some cut-n-paste errors.




[Perl/perl5] d4bd51: Update comment after 5b354d2a8a

2021-01-05 Thread Hugo van der Sanden via perl5-changes
  Branch: refs/heads/blead
  Home:   https://github.com/Perl/perl5
  Commit: d4bd519965a4229109edf9d24771d94f929c7c70
  
https://github.com/Perl/perl5/commit/d4bd519965a4229109edf9d24771d94f929c7c70
  Author: Hugo van der Sanden 
  Date:   2021-01-05 (Tue, 05 Jan 2021)

  Changed paths:
M op.c

  Log Message:
  ---
  Update comment after 5b354d2a8a

The specified commit fixed a bug by treating ($x, undef) on the LHS
as 2 scalars; this comment should have been updated to match.




[Perl/perl5] 961cdb: Add test harness for regexp optimization

2020-12-23 Thread Hugo van der Sanden via perl5-changes
  Branch: refs/heads/blead
  Home:   https://github.com/Perl/perl5
  Commit: 961cdb3cdc9172ffa7b739123059cfb43034e6a8
  
https://github.com/Perl/perl5/commit/961cdb3cdc9172ffa7b739123059cfb43034e6a8
  Author: Hugo van der Sanden 
  Date:   2020-12-23 (Wed, 23 Dec 2020)

  Changed paths:
M MANIFEST
A t/re/opt.t

  Log Message:
  ---
  Add test harness for regexp optimization


  Commit: fb67667549e18bb42e118c2d07aa4607e926cd6d
  
https://github.com/Perl/perl5/commit/fb67667549e18bb42e118c2d07aa4607e926cd6d
  Author: Hugo van der Sanden 
  Date:   2020-12-23 (Wed, 23 Dec 2020)

  Changed paths:
M t/re/opt.t

  Log Message:
  ---
  Allow comments in regexp optimization tests


  Commit: 2c6e5439c9a9b5286c617de96af39e5fd3fc3ea5
  
https://github.com/Perl/perl5/commit/2c6e5439c9a9b5286c617de96af39e5fd3fc3ea5
  Author: Hugo van der Sanden 
  Date:   2020-12-23 (Wed, 23 Dec 2020)

  Changed paths:
M t/re/opt.t

  Log Message:
  ---
  No plan for regexp optimization tests

With a varying number of tests per data line, the plan is too much work
to maintain.


  Commit: e1b0ee053aef77aaae7ebd435aaece3cdfd08e6c
  
https://github.com/Perl/perl5/commit/e1b0ee053aef77aaae7ebd435aaece3cdfd08e6c
  Author: Hugo van der Sanden 
  Date:   2020-12-23 (Wed, 23 Dec 2020)

  Changed paths:
M t/re/opt.t

  Log Message:
  ---
  Better skipping for regexp optimization tests

Say why we're skipping; skip min/max tests for substrings if we didn't
get the substring; skip checking test for substrings if we didn't get
the substring we expect to be checked.


  Commit: 36ff5b942287220554d8420d38416c4a7b06c17d
  
https://github.com/Perl/perl5/commit/36ff5b942287220554d8420d38416c4a7b06c17d
  Author: Hugo van der Sanden 
  Date:   2020-12-23 (Wed, 23 Dec 2020)

  Changed paths:
M t/re/opt.t

  Log Message:
  ---
  Test regexp optimizations for substrings


Compare: https://github.com/Perl/perl5/compare/76f5a288f2bc...36ff5b942287


[Perl/perl5] d43e49: Add hv votes

2020-12-18 Thread Hugo van der Sanden via perl5-changes
  Branch: refs/heads/maint-votes
  Home:   https://github.com/Perl/perl5
  Commit: d43e493ec3660a91b076551a216bd63cff6d8669
  
https://github.com/Perl/perl5/commit/d43e493ec3660a91b076551a216bd63cff6d8669
  Author: Hugo van der Sanden 
  Date:   2020-12-18 (Fri, 18 Dec 2020)

  Changed paths:
M votes-5.32.xml

  Log Message:
  ---
  Add hv votes

I note that the Safe.pm doc change has conflict because we skip a version;
however the skipped change also looks worth considering.


  1   2   3   >