[Perl/perl5] 71d1d4: turn croak("%s", "foo") into croak("foo")

2025-03-17 Thread mauke via perl5-changes
  Branch: refs/heads/blead
  Home:   https://github.com/Perl/perl5
  Commit: 71d1d453e7b85f281b5063d31f92e417bda72779
  
https://github.com/Perl/perl5/commit/71d1d453e7b85f281b5063d31f92e417bda72779
  Author: Lukas Mai 
  Date:   2025-03-17 (Mon, 17 Mar 2025)

  Changed paths:
M malloc.c
M perl.c
M pod/perldiag.pod
M pp.c
M pp_pack.c

  Log Message:
  ---
  turn croak("%s", "foo") into croak("foo")

There is no point in using a separate format string if the whole error
message is written right next to it. Not only does this change lead to
simpler code (passing one argument instead of two), it also exposes more
error messages to t/porting/diag.t, which relies on croak's first
argument to supply the message template.

Also make an equivalent change to S_open_script, which passes a constant
string in the form of an err variable that is not used anywhere else.
(It used to be, but that code was deleted in commit 5bc7d00e3e.)



To unsubscribe from these emails, change your notification settings at 
https://github.com/Perl/perl5/settings/notifications


[Perl/perl5] 7e8cf4: Avoid calling Perl_croak_nocontext from core

2025-03-17 Thread Leon Timmermans via perl5-changes
  Branch: refs/heads/leont/croak-varargs
  Home:   https://github.com/Perl/perl5
  Commit: 7e8cf4e3b19f5d22b5794a19f0d4f8c60c8cfd62
  
https://github.com/Perl/perl5/commit/7e8cf4e3b19f5d22b5794a19f0d4f8c60c8cfd62
  Author: Leon Timmermans 
  Date:   2025-03-17 (Mon, 17 Mar 2025)

  Changed paths:
M doio.c
M doop.c
M dump.c
M embed.fnc
M embed.h
M hv.c
M locale.c
M op.c
M pad.c
M perl.c
M perlio.c
M pp_ctl.c
M pp_hot.c
M proto.h
M regcomp.c
M regexec.c
M sv.c
M universal.c
M util.c

  Log Message:
  ---
  Avoid calling Perl_croak_nocontext from core

In core we almost always have a context, or we can easily get one.


  Commit: 3e3d3aaa6f0c6ffbb26706ac066a85899c6dc6c8
  
https://github.com/Perl/perl5/commit/3e3d3aaa6f0c6ffbb26706ac066a85899c6dc6c8
  Author: Leon Timmermans 
  Date:   2025-03-17 (Mon, 17 Mar 2025)

  Changed paths:
M class.c
M dump.c
M op.c
M pad.c
M perl.c
M perlio.c
M pp_ctl.c
M pp_sys.c
M scope.c
M sv.c
M util.c
M vms/vms.c
M win32/win32.c

  Log Message:
  ---
  Dont call Perl_warn manually in core

Just call warn instead, we've been able to do that for vararg functions
since d933027ef0a56c99aee8cc3c88ff4f9981ac9fc2


  Commit: 5719404a41091730cb5e58572acc811315b8a1d8
  
https://github.com/Perl/perl5/commit/5719404a41091730cb5e58572acc811315b8a1d8
  Author: Leon Timmermans 
  Date:   2025-03-17 (Mon, 17 Mar 2025)

  Changed paths:
M class.c
M dquote.c
M dump.c
M locale.c
M mg.c
M op.c
M perl.c
M regcomp.c
M regcomp_debug.c
M sv.c
M toke.c
M utf8.c
M util.c
M vutil.c

  Log Message:
  ---
  Stop calling Perl_sv_catpvf manually

Call sv_catpvf instead


  Commit: 8eaf27368685f59d849acac496c4c11e4f3f8ec9
  
https://github.com/Perl/perl5/commit/8eaf27368685f59d849acac496c4c11e4f3f8ec9
  Author: Leon Timmermans 
  Date:   2025-03-17 (Mon, 17 Mar 2025)

  Changed paths:
M dquote.c
M hv.c
M locale.c
M op.c
M pp_ctl.c
M regcomp.c
M sv.c

  Log Message:
  ---
  Stop calling Perl_sv_setpvf manually

Call sv_setpvf instead.


  Commit: d315932d1254be1c3a7ac6a2f36bd35e3070411b
  
https://github.com/Perl/perl5/commit/d315932d1254be1c3a7ac6a2f36bd35e3070411b
  Author: Leon Timmermans 
  Date:   2025-03-17 (Mon, 17 Mar 2025)

  Changed paths:
M dquote.c
M gv.c
M locale.c
M op.c
M perl.c
M pp.c
M regcomp.c
M toke.c
M utf8.c
M util.c

  Log Message:
  ---
  Stop calling Perl_form manually

Call form() instead.


  Commit: 86604b17ce5b61bc485e0142f8141da76876e39d
  
https://github.com/Perl/perl5/commit/86604b17ce5b61bc485e0142f8141da76876e39d
  Author: Leon Timmermans 
  Date:   2025-03-17 (Mon, 17 Mar 2025)

  Changed paths:
M builtin.c
M doio.c
M gv.c
M hv.c
M mg.c
M pp.c
M pp_ctl.c
M pp_hot.c
M sv.c
M toke.c

  Log Message:
  ---
  Stop calling Perl_die manually

Call die() instead.


Compare: https://github.com/Perl/perl5/compare/73526f142c0b...86604b17ce5b

To unsubscribe from these emails, change your notification settings at 
https://github.com/Perl/perl5/settings/notifications


[Perl/perl5] 7b3314: utf8.c: Fill in commit number in comment

2025-03-17 Thread Karl Williamson via perl5-changes
  Branch: refs/heads/blead
  Home:   https://github.com/Perl/perl5
  Commit: 7b3314d0a287468682ebbbc46befd16da81e4804
  
https://github.com/Perl/perl5/commit/7b3314d0a287468682ebbbc46befd16da81e4804
  Author: Karl Williamson 
  Date:   2025-03-17 (Mon, 17 Mar 2025)

  Changed paths:
M utf8.c

  Log Message:
  ---
  utf8.c: Fill in commit number in comment

These comments left the commit number vacant until we actually had one



To unsubscribe from these emails, change your notification settings at 
https://github.com/Perl/perl5/settings/notifications


[Perl/perl5] fda991: APItest: Skip some utf8n_to_utf8_msgs tests

2025-03-17 Thread Karl Williamson via perl5-changes
  Branch: refs/heads/blead
  Home:   https://github.com/Perl/perl5
  Commit: fda991d326d6b70c7882251a4c756096d18f9dac
  
https://github.com/Perl/perl5/commit/fda991d326d6b70c7882251a4c756096d18f9dac
  Author: Karl Williamson 
  Date:   2025-03-17 (Mon, 17 Mar 2025)

  Changed paths:
M ext/XS-APItest/t/utf8_warn_base.pl

  Log Message:
  ---
  APItest: Skip some utf8n_to_utf8_msgs tests

This function returns values in an AV instead of raising warnings.  It
turns out that this test file gets some of it wrong.  And this test file
turns out to be inadequate in other ways.  I have rewritten the test
file, but there isn't time to get it in before the code-complete
deadline.  Fixes here will end up being discarded.

In order to get the code that is actually part of the perl interpreter
into this release, I've skipped the test that would fail here, and made
sure it all passes the rewritten test.


  Commit: c2d3dc14ba2d42fcddcc2f115719f5e91dce8838
  
https://github.com/Perl/perl5/commit/c2d3dc14ba2d42fcddcc2f115719f5e91dce8838
  Author: Karl Williamson 
  Date:   2025-03-17 (Mon, 17 Mar 2025)

  Changed paths:
M inline.h

  Log Message:
  ---
  utf8_to_uvchr_buf: Remove assertion

This variable is no longer accessed directly by this function.  Any
assertion about it should come from the function this passes it to.


  Commit: 4c68b3773524a11538d9988c528fc50f75e5376e
  
https://github.com/Perl/perl5/commit/4c68b3773524a11538d9988c528fc50f75e5376e
  Author: Karl Williamson 
  Date:   2025-03-17 (Mon, 17 Mar 2025)

  Changed paths:
M utf8.c

  Log Message:
  ---
  utf8_to_uv_msgs: Extract redundant code to common

This case: has two occurrences of the same statement, within two
different conditionals.  But the case: doesn't get executed unless at
least one of those conditionals is known to be true.  Therefore the
statement is guaranteed to be executed at least once; no need to have
two copies.


  Commit: ff7238915cd406becedc725df021d41d6107c725
  
https://github.com/Perl/perl5/commit/ff7238915cd406becedc725df021d41d6107c725
  Author: Karl Williamson 
  Date:   2025-03-17 (Mon, 17 Mar 2025)

  Changed paths:
M utf8.c

  Log Message:
  ---
  utf8_to_uv_msgs: Make code less brittle

Processing the overlong malformation needed to be last because it likely
would overwrite the calculated UV.  Other cases also overwrote that.
This is unnecessarily brittle, as we can simply store the UV before
processing any cases, and then refer to that copy.


  Commit: fa3575aa7c635692e71590ace9b9ab1a9472a082
  
https://github.com/Perl/perl5/commit/fa3575aa7c635692e71590ace9b9ab1a9472a082
  Author: Karl Williamson 
  Date:   2025-03-17 (Mon, 17 Mar 2025)

  Changed paths:
M utf8.c

  Log Message:
  ---
  utf8_to_uv_msgs: Add safety assignment

This sets the accumulated code point to UV_MAX when overflow is
detected.  Much further below the REPLACEMENT CHARACTER is returned
instead; but this makes sure that code in between doesn't get confused
by an intermediate value


  Commit: 8d314759431def20744589a722028fad3936db06
  
https://github.com/Perl/perl5/commit/8d314759431def20744589a722028fad3936db06
  Author: Karl Williamson 
  Date:   2025-03-17 (Mon, 17 Mar 2025)

  Changed paths:
M utf8.c

  Log Message:
  ---
  utf8_to_uv_msgs: Simplfiy checking for overlong

Prior to this commit, there were two different methods for doing this
check; one if no malformations have been found so far, and the other if
some had been found.  The latter method is valid in both cases, and is
just as fast or faster than the first method.  So change to always use
it


  Commit: 7c94d7394063bf8af825fa5e6e86f66d73530aff
  
https://github.com/Perl/perl5/commit/7c94d7394063bf8af825fa5e6e86f66d73530aff
  Author: Karl Williamson 
  Date:   2025-03-17 (Mon, 17 Mar 2025)

  Changed paths:
M utf8.c
M utf8.h

  Log Message:
  ---
  utf8_to_uv_msgs: Revise assert

More extensive testing revealed that more conditions than this assert
previously contained are legitimate.  This requireb defining the name
for a flag


  Commit: 71c5788cff7cf77f6418cd2f8da423a17c0d54ec
  
https://github.com/Perl/perl5/commit/71c5788cff7cf77f6418cd2f8da423a17c0d54ec
  Author: Karl Williamson 
  Date:   2025-03-17 (Mon, 17 Mar 2025)

  Changed paths:
M utf8.c

  Log Message:
  ---
  utf8_to_uv_msgs: Swap order of switch() cases

The overlong cases more logically belong with the other conditions that
are rejected by default.

Future commits will simplify this to look much more like those other
conditions.


  Commit: c4df0807ee70540989f027889680087ddc64fd41
  
https://github.com/Perl/perl5/commit/c4df0807ee70540989f027889680087ddc64fd41
  Author: Karl Williamson 
  Date:   2025-03-17 (Mon, 17 Mar 2025)

  Changed paths:
M utf8.c

  Log Message:
  ---
  utf8_to_uv_msgs: Move conditional to earlier to avoid work

By checking before we go to the troubl

[Perl/perl5] d864fd: Avoid calling Perl_croak_nocontext from core

2025-03-17 Thread Leon Timmermans via perl5-changes
  Branch: refs/heads/leont/croak-varargs
  Home:   https://github.com/Perl/perl5
  Commit: d864fdbf6f724af3920fefd4f10b4a5d09e157bc
  
https://github.com/Perl/perl5/commit/d864fdbf6f724af3920fefd4f10b4a5d09e157bc
  Author: Leon Timmermans 
  Date:   2025-03-17 (Mon, 17 Mar 2025)

  Changed paths:
M doio.c
M doop.c
M dump.c
M embed.fnc
M embed.h
M hv.c
M locale.c
M malloc.c
M op.c
M pad.c
M perl.c
M perlio.c
M pp_ctl.c
M pp_hot.c
M proto.h
M regcomp.c
M regexec.c
M sv.c
M universal.c
M util.c

  Log Message:
  ---
  Avoid calling Perl_croak_nocontext from core

In core we almost always have a context, or we can easily get one.


  Commit: 8b861f6253e15f96c607f044287c7c86761385cf
  
https://github.com/Perl/perl5/commit/8b861f6253e15f96c607f044287c7c86761385cf
  Author: Leon Timmermans 
  Date:   2025-03-17 (Mon, 17 Mar 2025)

  Changed paths:
M class.c
M dump.c
M op.c
M pad.c
M perl.c
M perlio.c
M pp_ctl.c
M pp_sys.c
M scope.c
M sv.c
M util.c
M vms/vms.c
M win32/win32.c

  Log Message:
  ---
  Dont call Perl_warn manually in core

Just call warn instead, we've been able to do that for vararg functions
since d933027ef0a56c99aee8cc3c88ff4f9981ac9fc2


  Commit: ed7d619bd3017f7a7883a1ea8414f8a29216a8f1
  
https://github.com/Perl/perl5/commit/ed7d619bd3017f7a7883a1ea8414f8a29216a8f1
  Author: Leon Timmermans 
  Date:   2025-03-17 (Mon, 17 Mar 2025)

  Changed paths:
M class.c
M dquote.c
M dump.c
M locale.c
M mg.c
M op.c
M perl.c
M regcomp.c
M regcomp_debug.c
M sv.c
M toke.c
M utf8.c
M util.c
M vutil.c

  Log Message:
  ---
  Stop calling Perl_sv_catpvf manually

Call sv_catpvf instead


  Commit: 076d6b3c35f1bb107a4829211edae893cdffa0ad
  
https://github.com/Perl/perl5/commit/076d6b3c35f1bb107a4829211edae893cdffa0ad
  Author: Leon Timmermans 
  Date:   2025-03-17 (Mon, 17 Mar 2025)

  Changed paths:
M dquote.c
M hv.c
M locale.c
M op.c
M pp_ctl.c
M regcomp.c
M sv.c

  Log Message:
  ---
  Stop calling Perl_sv_setpvf manually

Call sv_setpvf instead.


  Commit: b85afb2140e6ac1bc698a8c0026f012b90929945
  
https://github.com/Perl/perl5/commit/b85afb2140e6ac1bc698a8c0026f012b90929945
  Author: Leon Timmermans 
  Date:   2025-03-17 (Mon, 17 Mar 2025)

  Changed paths:
M dquote.c
M gv.c
M locale.c
M op.c
M perl.c
M pp.c
M regcomp.c
M toke.c
M utf8.c
M util.c

  Log Message:
  ---
  Stop calling Perl_form manually

Call form() instead.


  Commit: fca2a11e1263ffefb2e3bcec050987a9357a30eb
  
https://github.com/Perl/perl5/commit/fca2a11e1263ffefb2e3bcec050987a9357a30eb
  Author: Leon Timmermans 
  Date:   2025-03-17 (Mon, 17 Mar 2025)

  Changed paths:
M builtin.c
M doio.c
M gv.c
M hv.c
M mg.c
M pp.c
M pp_ctl.c
M pp_hot.c
M sv.c
M toke.c

  Log Message:
  ---
  Stop calling Perl_die manually

Call die() instead.


Compare: https://github.com/Perl/perl5/compare/49acc09f523d...fca2a11e1263

To unsubscribe from these emails, change your notification settings at 
https://github.com/Perl/perl5/settings/notifications


[Perl/perl5] 6c351a: Avoid calling Perl_croak_nocontext from core

2025-03-17 Thread Leon Timmermans via perl5-changes
  Branch: refs/heads/leont/croak-varargs
  Home:   https://github.com/Perl/perl5
  Commit: 6c351a9428737db4a5e60f9718b3651bd138e0f7
  
https://github.com/Perl/perl5/commit/6c351a9428737db4a5e60f9718b3651bd138e0f7
  Author: Leon Timmermans 
  Date:   2025-03-17 (Mon, 17 Mar 2025)

  Changed paths:
M doio.c
M doop.c
M dump.c
M embed.fnc
M embed.h
M hv.c
M locale.c
M op.c
M pad.c
M perl.c
M perlio.c
M pp_ctl.c
M pp_hot.c
M proto.h
M regcomp.c
M sv.c
M universal.c
M util.c

  Log Message:
  ---
  Avoid calling Perl_croak_nocontext from core

In core we almost always have a context, or we can easily get one.


  Commit: 2486fecba3c2780d8e1fbf305a2a5df77950582a
  
https://github.com/Perl/perl5/commit/2486fecba3c2780d8e1fbf305a2a5df77950582a
  Author: Leon Timmermans 
  Date:   2025-03-17 (Mon, 17 Mar 2025)

  Changed paths:
M class.c
M dump.c
M op.c
M pad.c
M perl.c
M perlio.c
M pp_ctl.c
M pp_sys.c
M scope.c
M sv.c
M util.c
M vms/vms.c
M win32/win32.c

  Log Message:
  ---
  Dont call Perl_warn manually in core

Just call warn instead, we've been able to do that for vararg functions
since d933027ef0a56c99aee8cc3c88ff4f9981ac9fc2


  Commit: 2318effd3dd2cc37c548b2442c12e7e09ff09254
  
https://github.com/Perl/perl5/commit/2318effd3dd2cc37c548b2442c12e7e09ff09254
  Author: Leon Timmermans 
  Date:   2025-03-17 (Mon, 17 Mar 2025)

  Changed paths:
M class.c
M dquote.c
M dump.c
M locale.c
M mg.c
M op.c
M perl.c
M regcomp.c
M regcomp_debug.c
M sv.c
M toke.c
M utf8.c
M util.c
M vutil.c

  Log Message:
  ---
  Stop calling Perl_sv_catpvf manually

Call sv_catpvf instead


  Commit: ff89c1cccfc46348657cac5786be5c6f38e3d298
  
https://github.com/Perl/perl5/commit/ff89c1cccfc46348657cac5786be5c6f38e3d298
  Author: Leon Timmermans 
  Date:   2025-03-17 (Mon, 17 Mar 2025)

  Changed paths:
M dquote.c
M hv.c
M locale.c
M op.c
M pp_ctl.c
M regcomp.c
M sv.c

  Log Message:
  ---
  Stop calling Perl_sv_setpvf manually

Call sv_setpvf instead.


  Commit: a6b383a473a4234cda5eeb6fc3ffbf3bc3116c01
  
https://github.com/Perl/perl5/commit/a6b383a473a4234cda5eeb6fc3ffbf3bc3116c01
  Author: Leon Timmermans 
  Date:   2025-03-17 (Mon, 17 Mar 2025)

  Changed paths:
M dquote.c
M gv.c
M locale.c
M op.c
M perl.c
M pp.c
M regcomp.c
M toke.c
M utf8.c
M util.c

  Log Message:
  ---
  Stop calling Perl_form manually

Call form() instead.


  Commit: 96c4361e6aa209f1a65c7febcdc2b0649c7f43b8
  
https://github.com/Perl/perl5/commit/96c4361e6aa209f1a65c7febcdc2b0649c7f43b8
  Author: Leon Timmermans 
  Date:   2025-03-17 (Mon, 17 Mar 2025)

  Changed paths:
M builtin.c
M doio.c
M gv.c
M hv.c
M mg.c
M pp.c
M pp_ctl.c
M pp_hot.c
M sv.c
M toke.c

  Log Message:
  ---
  Stop calling Perl_die manually

Call die() instead.


Compare: https://github.com/Perl/perl5/compare/86604b17ce5b...96c4361e6aa2

To unsubscribe from these emails, change your notification settings at 
https://github.com/Perl/perl5/settings/notifications


[Perl/perl5] 6d9512: Avoid calling Perl_croak_nocontext from core

2025-03-17 Thread Leon Timmermans via perl5-changes
  Branch: refs/heads/leont/croak-varargs
  Home:   https://github.com/Perl/perl5
  Commit: 6d95120934cb969251e24ff2cb6dc1104363ac00
  
https://github.com/Perl/perl5/commit/6d95120934cb969251e24ff2cb6dc1104363ac00
  Author: Leon Timmermans 
  Date:   2025-03-17 (Mon, 17 Mar 2025)

  Changed paths:
M doop.c
M dump.c
M embed.fnc
M embed.h
M hv.c
M locale.c
M op.c
M pad.c
M perl.c
M perlio.c
M pp_ctl.c
M pp_hot.c
M proto.h
M regcomp.c
M sv.c
M universal.c
M util.c

  Log Message:
  ---
  Avoid calling Perl_croak_nocontext from core

In core we almost always have a context, or we can easily get one.


  Commit: ba2b7fe56c75709ed43950e3d0c4da9c50a19028
  
https://github.com/Perl/perl5/commit/ba2b7fe56c75709ed43950e3d0c4da9c50a19028
  Author: Leon Timmermans 
  Date:   2025-03-17 (Mon, 17 Mar 2025)

  Changed paths:
M class.c
M dump.c
M op.c
M pad.c
M perl.c
M perlio.c
M pp_ctl.c
M pp_sys.c
M scope.c
M sv.c
M util.c
M vms/vms.c
M win32/win32.c

  Log Message:
  ---
  Dont call Perl_warn manually in core

Just call warn instead, we've been able to do that for vararg functions
since d933027ef0a56c99aee8cc3c88ff4f9981ac9fc2


  Commit: a7c8f3e1bc1f00b6133c04115cf86923969c75c5
  
https://github.com/Perl/perl5/commit/a7c8f3e1bc1f00b6133c04115cf86923969c75c5
  Author: Leon Timmermans 
  Date:   2025-03-17 (Mon, 17 Mar 2025)

  Changed paths:
M class.c
M dquote.c
M dump.c
M locale.c
M mg.c
M op.c
M perl.c
M regcomp.c
M regcomp_debug.c
M sv.c
M toke.c
M utf8.c
M util.c
M vutil.c

  Log Message:
  ---
  Stop calling Perl_sv_catpvf manually

Call sv_catpvf instead


  Commit: c975e78333cd7c4dd2ef8d6f7f148e28c6da1d6c
  
https://github.com/Perl/perl5/commit/c975e78333cd7c4dd2ef8d6f7f148e28c6da1d6c
  Author: Leon Timmermans 
  Date:   2025-03-17 (Mon, 17 Mar 2025)

  Changed paths:
M dquote.c
M hv.c
M locale.c
M op.c
M pp_ctl.c
M regcomp.c
M sv.c

  Log Message:
  ---
  Stop calling Perl_sv_setpvf manually

Call sv_setpvf instead.


  Commit: d5ea212e76ab457bbe05e6ea2ff20fedc949ffc1
  
https://github.com/Perl/perl5/commit/d5ea212e76ab457bbe05e6ea2ff20fedc949ffc1
  Author: Leon Timmermans 
  Date:   2025-03-17 (Mon, 17 Mar 2025)

  Changed paths:
M dquote.c
M gv.c
M locale.c
M op.c
M perl.c
M pp.c
M regcomp.c
M toke.c
M utf8.c
M util.c

  Log Message:
  ---
  Stop calling Perl_form manually

Call form() instead.


  Commit: 5ba065723b845b185cee98f6db6223a661911e9c
  
https://github.com/Perl/perl5/commit/5ba065723b845b185cee98f6db6223a661911e9c
  Author: Leon Timmermans 
  Date:   2025-03-17 (Mon, 17 Mar 2025)

  Changed paths:
M builtin.c
M doio.c
M gv.c
M hv.c
M mg.c
M pp.c
M pp_ctl.c
M pp_hot.c
M sv.c
M toke.c

  Log Message:
  ---
  Stop calling Perl_die manually

Call die() instead.


Compare: https://github.com/Perl/perl5/compare/96c4361e6aa2...5ba065723b84

To unsubscribe from these emails, change your notification settings at 
https://github.com/Perl/perl5/settings/notifications


[Perl/perl5] 3af31f: check_utf8_print: Use utf8_to_uv_flags.

2025-03-17 Thread Karl Williamson via perl5-changes
  Branch: refs/heads/blead
  Home:   https://github.com/Perl/perl5
  Commit: 3af31f14108d2f84b390293828f2370fd2a639b0
  
https://github.com/Perl/perl5/commit/3af31f14108d2f84b390293828f2370fd2a639b0
  Author: Karl Williamson 
  Date:   2025-03-17 (Mon, 17 Mar 2025)

  Changed paths:
M utf8.c

  Log Message:
  ---
  check_utf8_print: Use utf8_to_uv_flags.

This replaces the old-style utf8n_to_uvchr()



To unsubscribe from these emails, change your notification settings at 
https://github.com/Perl/perl5/settings/notifications


[Perl/perl5] dd0471: Turn is_utf8_common() into a macro

2025-03-17 Thread Karl Williamson via perl5-changes
  Branch: refs/heads/blead
  Home:   https://github.com/Perl/perl5
  Commit: dd0471ca548cd399aedcefaa2018bd8a9463e95c
  
https://github.com/Perl/perl5/commit/dd0471ca548cd399aedcefaa2018bd8a9463e95c
  Author: Karl Williamson 
  Date:   2025-03-17 (Mon, 17 Mar 2025)

  Changed paths:
M embed.fnc
M embed.h
M proto.h
M utf8.c

  Log Message:
  ---
  Turn is_utf8_common() into a macro

This function is now trivial; no need to have it a function



To unsubscribe from these emails, change your notification settings at 
https://github.com/Perl/perl5/settings/notifications


[Perl/perl5] 4c15e2: _generic_GET_BREAK_VAL_UTF8: Use utf8_to-uv_or_die...

2025-03-17 Thread Karl Williamson via perl5-changes
  Branch: refs/heads/blead
  Home:   https://github.com/Perl/perl5
  Commit: 4c15e2931d04a5a3a271d243933c1c0a26e6d3a9
  
https://github.com/Perl/perl5/commit/4c15e2931d04a5a3a271d243933c1c0a26e6d3a9
  Author: Karl Williamson 
  Date:   2025-03-17 (Mon, 17 Mar 2025)

  Changed paths:
M regexec.c

  Log Message:
  ---
  _generic_GET_BREAK_VAL_UTF8: Use utf8_to-uv_or_die not utf8_to_uvchr_buf


  Commit: d22f3fb956eb2805550290893d723427ba0d7a81
  
https://github.com/Perl/perl5/commit/d22f3fb956eb2805550290893d723427ba0d7a81
  Author: Karl Williamson 
  Date:   2025-03-17 (Mon, 17 Mar 2025)

  Changed paths:
M regexec.c

  Log Message:
  ---
  find_by_class: Use utf8_to-uv_or_die not utf8_to_uvchr_buf


  Commit: 7097dec4d804fc6d96d73b2e5a74a1ea7b66c766
  
https://github.com/Perl/perl5/commit/7097dec4d804fc6d96d73b2e5a74a1ea7b66c766
  Author: Karl Williamson 
  Date:   2025-03-17 (Mon, 17 Mar 2025)

  Changed paths:
M regexec.c

  Log Message:
  ---
  regmatch: Use utf8_to-uv_or_die not utf8_to_uvchr_buf


  Commit: a307b4d27da3ee68ee88b4c9026a0ce505c14ffa
  
https://github.com/Perl/perl5/commit/a307b4d27da3ee68ee88b4c9026a0ce505c14ffa
  Author: Karl Williamson 
  Date:   2025-03-17 (Mon, 17 Mar 2025)

  Changed paths:
M regexec.c

  Log Message:
  ---
  isFOO_utf8_lc: Use utf8_to-uv_or_die not utf8_to_uvchr_buf


Compare: https://github.com/Perl/perl5/compare/c469b4e35c7c...a307b4d27da3

To unsubscribe from these emails, change your notification settings at 
https://github.com/Perl/perl5/settings/notifications


[Perl/perl5] c469b4: Convert leading underscore to trailing in internal...

2025-03-17 Thread Karl Williamson via perl5-changes
  Branch: refs/heads/blead
  Home:   https://github.com/Perl/perl5
  Commit: c469b4e35c7cbba9ab7a873191851f374395b307
  
https://github.com/Perl/perl5/commit/c469b4e35c7cbba9ab7a873191851f374395b307
  Author: Karl Williamson 
  Date:   2025-03-17 (Mon, 17 Mar 2025)

  Changed paths:
M perl.h
M regexec.c
M utf8.c

  Log Message:
  ---
  Convert leading underscore to trailing in internal global macro

Leading underscores of global names are reserved for the C implmentation
itself. We are gradually fixing ours to conform.



To unsubscribe from these emails, change your notification settings at 
https://github.com/Perl/perl5/settings/notifications


[Perl/perl5] 24ec8e: pv_escape: Use utf8_to_uv, preferred to utf8_to_uv...

2025-03-17 Thread Karl Williamson via perl5-changes
  Branch: refs/heads/blead
  Home:   https://github.com/Perl/perl5
  Commit: 24ec8e7f78d0add1f58f08cd5e5ddb042d45f3b9
  
https://github.com/Perl/perl5/commit/24ec8e7f78d0add1f58f08cd5e5ddb042d45f3b9
  Author: Karl Williamson 
  Date:   2025-03-17 (Mon, 17 Mar 2025)

  Changed paths:
M dump.c

  Log Message:
  ---
  pv_escape: Use utf8_to_uv, preferred to utf8_to_uvchr_buf



To unsubscribe from these emails, change your notification settings at 
https://github.com/Perl/perl5/settings/notifications


[Perl/perl5] 06c3a6: Dont call Perl_croak manually in core

2025-03-17 Thread Leon Timmermans via perl5-changes
  Branch: refs/heads/blead
  Home:   https://github.com/Perl/perl5
  Commit: 06c3a62f12c80b3037aa9cc72e5e35f9c5ee47c6
  
https://github.com/Perl/perl5/commit/06c3a62f12c80b3037aa9cc72e5e35f9c5ee47c6
  Author: Leon Timmermans 
  Date:   2025-03-18 (Tue, 18 Mar 2025)

  Changed paths:
M av.c
M builtin.c
M class.c
M cygwin/cygwin.c
M doio.c
M doop.c
M gv.c
M hv.c
M locale.c
M mg.c
M mro_core.c
M op.c
M os2/os2.c
M pad.c
M perl.c
M perlio.c
M perly.act
M perly.h
M perly.tab
M perly.y
M pod/perldiag.pod
M pp.c
M pp_ctl.c
M pp_hot.c
M pp_pack.c
M pp_sys.c
M regcomp.c
M regcomp_debug.c
M regcomp_internal.h
M regcomp_invlist.c
M regcomp_study.c
M regcomp_trie.c
M regexec.c
M reginline.h
M scope.c
M sv.c
M taint.c
M toke.c
M universal.c
M utf8.c
M util.c
M vms/vms.c
M win32/win32.c

  Log Message:
  ---
  Dont call Perl_croak manually in core

Just call croak instead, we've been able to do that for vararg functions
since d933027ef0a56c99aee8cc3c88ff4f9981ac9fc2


  Commit: 453b1c0d2bbe8100ccab79dad9f2f5d7f5228632
  
https://github.com/Perl/perl5/commit/453b1c0d2bbe8100ccab79dad9f2f5d7f5228632
  Author: Leon Timmermans 
  Date:   2025-03-18 (Tue, 18 Mar 2025)

  Changed paths:
M av.c
M doop.c
M mg.c
M pp.c
M pp_ctl.c
M pp_hot.c
M pp_sort.c
M pp_sys.c
M regexec.c
M sv.c
M universal.c

  Log Message:
  ---
  Use croak_no_modify directly

There never was any good reason to call it by its long name.


  Commit: dbd0f2f14facd3758777f45e175b66a74db09dc9
  
https://github.com/Perl/perl5/commit/dbd0f2f14facd3758777f45e175b66a74db09dc9
  Author: Leon Timmermans 
  Date:   2025-03-18 (Tue, 18 Mar 2025)

  Changed paths:
M doop.c
M dump.c
M embed.fnc
M embed.h
M hv.c
M locale.c
M op.c
M pad.c
M perl.c
M perlio.c
M pp_ctl.c
M pp_hot.c
M proto.h
M regcomp.c
M sv.c
M universal.c
M util.c

  Log Message:
  ---
  Avoid calling Perl_croak_nocontext from core

In core we almost always have a context, or we can easily get one.


  Commit: 410115a66cf3bfe5886711d49c946dfb62bbe2da
  
https://github.com/Perl/perl5/commit/410115a66cf3bfe5886711d49c946dfb62bbe2da
  Author: Leon Timmermans 
  Date:   2025-03-18 (Tue, 18 Mar 2025)

  Changed paths:
M class.c
M dump.c
M op.c
M pad.c
M perl.c
M perlio.c
M pp_ctl.c
M pp_sys.c
M scope.c
M sv.c
M util.c
M vms/vms.c
M win32/win32.c

  Log Message:
  ---
  Dont call Perl_warn manually in core

Just call warn instead, we've been able to do that for vararg functions
since d933027ef0a56c99aee8cc3c88ff4f9981ac9fc2


  Commit: ba04a9040af061424b6d6f0b1e888cd3ce4b3d9f
  
https://github.com/Perl/perl5/commit/ba04a9040af061424b6d6f0b1e888cd3ce4b3d9f
  Author: Leon Timmermans 
  Date:   2025-03-18 (Tue, 18 Mar 2025)

  Changed paths:
M class.c
M dquote.c
M dump.c
M locale.c
M mg.c
M op.c
M perl.c
M regcomp.c
M regcomp_debug.c
M sv.c
M toke.c
M utf8.c
M util.c
M vutil.c

  Log Message:
  ---
  Stop calling Perl_sv_catpvf manually

Call sv_catpvf instead


  Commit: b7e4f70a21617cabc12294b2664b6ca35c16fa4e
  
https://github.com/Perl/perl5/commit/b7e4f70a21617cabc12294b2664b6ca35c16fa4e
  Author: Leon Timmermans 
  Date:   2025-03-18 (Tue, 18 Mar 2025)

  Changed paths:
M dquote.c
M hv.c
M locale.c
M op.c
M pp_ctl.c
M regcomp.c
M sv.c

  Log Message:
  ---
  Stop calling Perl_sv_setpvf manually

Call sv_setpvf instead.


  Commit: 153ebd6587362c4681266536cd21fbe0c3a0d833
  
https://github.com/Perl/perl5/commit/153ebd6587362c4681266536cd21fbe0c3a0d833
  Author: Leon Timmermans 
  Date:   2025-03-18 (Tue, 18 Mar 2025)

  Changed paths:
M dquote.c
M gv.c
M locale.c
M op.c
M perl.c
M pp.c
M regcomp.c
M toke.c
M utf8.c
M util.c

  Log Message:
  ---
  Stop calling Perl_form manually

Call form() instead.


  Commit: 79ae12aeb4e6b7da1ea1a3e17be9fc02b32ecc6d
  
https://github.com/Perl/perl5/commit/79ae12aeb4e6b7da1ea1a3e17be9fc02b32ecc6d
  Author: Leon Timmermans 
  Date:   2025-03-18 (Tue, 18 Mar 2025)

  Changed paths:
M builtin.c
M doio.c
M gv.c
M hv.c
M mg.c
M pp.c
M pp_ctl.c
M pp_hot.c
M sv.c
M toke.c

  Log Message:
  ---
  Stop calling Perl_die manually

Call die() instead.


Compare: https://github.com/Perl/perl5/compare/24ec8e7f78d0...79ae12aeb4e6

To unsubscribe from these emails, change your notification settings at 
https://github.com/Perl/perl5/settings/notifications


[Perl/perl5] a45380: fields: use block eval instead of string eval

2025-03-17 Thread mauke via perl5-changes
  Branch: refs/heads/blead
  Home:   https://github.com/Perl/perl5
  Commit: a453807506c3b533a9fb3981dccd91e572be5e90
  
https://github.com/Perl/perl5/commit/a453807506c3b533a9fb3981dccd91e572be5e90
  Author: Lukas Mai 
  Date:   2025-03-17 (Mon, 17 Mar 2025)

  Changed paths:
M dist/base/lib/fields.pm

  Log Message:
  ---
  fields: use block eval instead of string eval

... and delete pointless 'require 5.005' as we already have 'use 5.008'
three lines up.



To unsubscribe from these emails, change your notification settings at 
https://github.com/Perl/perl5/settings/notifications


[Perl/perl5] 6a4f62: t/porting/diag.t: fix oversights in message extrac...

2025-03-17 Thread mauke via perl5-changes
  Branch: refs/heads/blead
  Home:   https://github.com/Perl/perl5
  Commit: 6a4f62c873462f8ef28a274bf807898fea203813
  
https://github.com/Perl/perl5/commit/6a4f62c873462f8ef28a274bf807898fea203813
  Author: Lukas Mai 
  Date:   2025-03-17 (Mon, 17 Mar 2025)

  Changed paths:
M pod/perldiag.pod
M t/porting/diag.t

  Log Message:
  ---
  t/porting/diag.t: fix oversights in message extraction regex

- recognize the short form() as well as Perl_form()
- accept/ignore spaces between `Perl_croak(` and `aTHX_`

With this change, diag.t now recognizes several diagnostic messages that
went undetected previously (note the space before `aTHX_`):

- perlio.c

Perl_croak( aTHX_
"%s (%" UVuf ") does not match %s (%" UVuf ")",

Perl_croak( aTHX_
"%s (%" UVuf ") smaller than %s (%" UVuf ")",

- regcomp_trie.c

Perl_croak( aTHX_ "error creating/fetching widecharmap 
entry for 0x%" UVXf, uvc );

default: Perl_croak( aTHX_ "panic! In trie construction, unknown 
node type %u %s", (unsigned) flags, REGNODE_NAME(flags) );

Perl_croak( aTHX_ "panic! In trie construction, no 
char mapping for %" IVdf, uvc );

This PR partially overlaps with #23017. Merging either will cause
conflicts in the other that will have to be resolved manually.

(In particular, if this PR is merged first, the diag.t changes from
#23017 can be dropped, as can some of the perldiag.pod additions. But
that PR also modifies the perlio.c messages, so their old forms added
here ("%s (%d) does not match %s (%d)", "%s (%d) smaller than %s (%d)")
will have to be deleted.)



To unsubscribe from these emails, change your notification settings at 
https://github.com/Perl/perl5/settings/notifications


[Perl/perl5] 944ce9: Dont call Perl_croak manually in core

2025-03-17 Thread Leon Timmermans via perl5-changes
  Branch: refs/heads/leont/croak-varargs
  Home:   https://github.com/Perl/perl5
  Commit: 944ce9b2087ef2f2f3b9c5540c1949f788d87798
  
https://github.com/Perl/perl5/commit/944ce9b2087ef2f2f3b9c5540c1949f788d87798
  Author: Leon Timmermans 
  Date:   2025-03-17 (Mon, 17 Mar 2025)

  Changed paths:
M av.c
M builtin.c
M class.c
M cygwin/cygwin.c
M doio.c
M doop.c
M gv.c
M hv.c
M locale.c
M mg.c
M mro_core.c
M op.c
M os2/os2.c
M pad.c
M perl.c
M perlio.c
M perly.act
M perly.h
M perly.tab
M perly.y
M pod/perldiag.pod
M pp.c
M pp_ctl.c
M pp_hot.c
M pp_pack.c
M pp_sys.c
M regcomp.c
M regcomp_debug.c
M regcomp_internal.h
M regcomp_invlist.c
M regcomp_study.c
M regcomp_trie.c
M regexec.c
M reginline.h
M scope.c
M sv.c
M taint.c
M toke.c
M universal.c
M utf8.c
M util.c
M vms/vms.c
M win32/win32.c

  Log Message:
  ---
  Dont call Perl_croak manually in core

Just call croak instead, we've been able to do that for vararg functions
since d933027ef0a56c99aee8cc3c88ff4f9981ac9fc2


  Commit: a986d672d4bdd78212c9409a4a09c617e81e18f9
  
https://github.com/Perl/perl5/commit/a986d672d4bdd78212c9409a4a09c617e81e18f9
  Author: Leon Timmermans 
  Date:   2025-03-17 (Mon, 17 Mar 2025)

  Changed paths:
M av.c
M doop.c
M mg.c
M pp.c
M pp_ctl.c
M pp_hot.c
M pp_sort.c
M pp_sys.c
M regexec.c
M sv.c
M universal.c

  Log Message:
  ---
  Use croak_no_modify directly

There never was any good reason to call it by its long name.


  Commit: 4841bdbabf6f9539055f405c95727469c7da9e28
  
https://github.com/Perl/perl5/commit/4841bdbabf6f9539055f405c95727469c7da9e28
  Author: Leon Timmermans 
  Date:   2025-03-17 (Mon, 17 Mar 2025)

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

  Log Message:
  ---
  Pass a context to croak_no_modify


  Commit: 27bdebf4c17551019910808c434ed88756b63fdb
  
https://github.com/Perl/perl5/commit/27bdebf4c17551019910808c434ed88756b63fdb
  Author: Leon Timmermans 
  Date:   2025-03-17 (Mon, 17 Mar 2025)

  Changed paths:
M doio.c
M doop.c
M dump.c
M embed.fnc
M embed.h
M hv.c
M locale.c
M malloc.c
M op.c
M pad.c
M perl.c
M perlio.c
M pp_ctl.c
M pp_hot.c
M proto.h
M regcomp.c
M regexec.c
M sv.c
M universal.c
M util.c

  Log Message:
  ---
  Avoid calling Perl_croak_nocontext from core

In core we almost always have a context, or we can easily get one.


  Commit: 3e16cac5f2dd5f211c824edb0100949ed0652997
  
https://github.com/Perl/perl5/commit/3e16cac5f2dd5f211c824edb0100949ed0652997
  Author: Leon Timmermans 
  Date:   2025-03-17 (Mon, 17 Mar 2025)

  Changed paths:
M class.c
M dump.c
M op.c
M pad.c
M perl.c
M perlio.c
M pp_ctl.c
M pp_sys.c
M scope.c
M sv.c
M util.c
M vms/vms.c
M win32/win32.c

  Log Message:
  ---
  Dont call Perl_warn manually in core

Just call warn instead, we've been able to do that for vararg functions
since d933027ef0a56c99aee8cc3c88ff4f9981ac9fc2


  Commit: c5b3829310f44d7462e7c6ed25f621d36f9f5911
  
https://github.com/Perl/perl5/commit/c5b3829310f44d7462e7c6ed25f621d36f9f5911
  Author: Leon Timmermans 
  Date:   2025-03-17 (Mon, 17 Mar 2025)

  Changed paths:
M class.c
M dquote.c
M dump.c
M locale.c
M mg.c
M op.c
M perl.c
M regcomp.c
M regcomp_debug.c
M sv.c
M toke.c
M utf8.c
M util.c
M vutil.c

  Log Message:
  ---
  Stop calling Perl_sv_catpvf manually

Call sv_catpvf instead


  Commit: e6fce32da34a50584347d42e890f65d051e75899
  
https://github.com/Perl/perl5/commit/e6fce32da34a50584347d42e890f65d051e75899
  Author: Leon Timmermans 
  Date:   2025-03-17 (Mon, 17 Mar 2025)

  Changed paths:
M dquote.c
M hv.c
M locale.c
M op.c
M pp_ctl.c
M regcomp.c
M sv.c

  Log Message:
  ---
  Stop calling Perl_sv_setpvf manually

Call sv_setpvf instead.


  Commit: df51d7787b65c2eb653a559d47c47ee27f432a16
  
https://github.com/Perl/perl5/commit/df51d7787b65c2eb653a559d47c47ee27f432a16
  Author: Leon Timmermans 
  Date:   2025-03-17 (Mon, 17 Mar 2025)

  Changed paths:
M dquote.c
M gv.c
M locale.c
M op.c
M perl.c
M pp.c
M regcomp.c
M toke.c
M utf8.c
M util.c

  Log Message:
  ---
  Stop calling Perl_form manually

Call form() instead.


  Commit: 49acc09f523d20d5de97f676727afb8d44e6a7b5
  
https://github.com/Perl/perl5/commit/49acc09f523d20d5de97f676727afb8d44e6a7b5
  Author: Leon Timmermans 
  Date:   2025-03-17 (Mon, 17 Mar 2025)

  Changed paths:
M builtin.c
M doio.c
M gv.c
M hv.c
M mg.c
M pp.c
M pp_ctl.c
M pp_hot.c
M sv.c
M toke.c

  Log Message:
  

[Perl/perl5] 743d81: Avoid calling Perl_croak_nocontext from core

2025-03-17 Thread Leon Timmermans via perl5-changes
  Branch: refs/heads/leont/croak-varargs
  Home:   https://github.com/Perl/perl5
  Commit: 743d81a061070250471cf5db398421559e31b342
  
https://github.com/Perl/perl5/commit/743d81a061070250471cf5db398421559e31b342
  Author: Leon Timmermans 
  Date:   2025-03-17 (Mon, 17 Mar 2025)

  Changed paths:
M doio.c
M doop.c
M dump.c
M embed.fnc
M embed.h
M hv.c
M locale.c
M op.c
M pad.c
M perl.c
M perlio.c
M pp_ctl.c
M pp_hot.c
M proto.h
M regcomp.c
M regexec.c
M sv.c
M universal.c
M util.c

  Log Message:
  ---
  Avoid calling Perl_croak_nocontext from core

In core we almost always have a context, or we can easily get one.


  Commit: c3a04ee58d54781cc5f92816224abda092ba7402
  
https://github.com/Perl/perl5/commit/c3a04ee58d54781cc5f92816224abda092ba7402
  Author: Leon Timmermans 
  Date:   2025-03-17 (Mon, 17 Mar 2025)

  Changed paths:
M class.c
M dump.c
M op.c
M pad.c
M perl.c
M perlio.c
M pp_ctl.c
M pp_sys.c
M scope.c
M sv.c
M util.c
M vms/vms.c
M win32/win32.c

  Log Message:
  ---
  Dont call Perl_warn manually in core

Just call warn instead, we've been able to do that for vararg functions
since d933027ef0a56c99aee8cc3c88ff4f9981ac9fc2


  Commit: b47393fd5e22cbf2d7226e68afd35a6a1d4be16f
  
https://github.com/Perl/perl5/commit/b47393fd5e22cbf2d7226e68afd35a6a1d4be16f
  Author: Leon Timmermans 
  Date:   2025-03-17 (Mon, 17 Mar 2025)

  Changed paths:
M class.c
M dquote.c
M dump.c
M locale.c
M mg.c
M op.c
M perl.c
M regcomp.c
M regcomp_debug.c
M sv.c
M toke.c
M utf8.c
M util.c
M vutil.c

  Log Message:
  ---
  Stop calling Perl_sv_catpvf manually

Call sv_catpvf instead


  Commit: 0d5be486936d49517b75776f90353e28dcb6f86d
  
https://github.com/Perl/perl5/commit/0d5be486936d49517b75776f90353e28dcb6f86d
  Author: Leon Timmermans 
  Date:   2025-03-17 (Mon, 17 Mar 2025)

  Changed paths:
M dquote.c
M hv.c
M locale.c
M op.c
M pp_ctl.c
M regcomp.c
M sv.c

  Log Message:
  ---
  Stop calling Perl_sv_setpvf manually

Call sv_setpvf instead.


  Commit: c1e22b9d55d96f4ad7c2b29f27853a05295689e3
  
https://github.com/Perl/perl5/commit/c1e22b9d55d96f4ad7c2b29f27853a05295689e3
  Author: Leon Timmermans 
  Date:   2025-03-17 (Mon, 17 Mar 2025)

  Changed paths:
M dquote.c
M gv.c
M locale.c
M op.c
M perl.c
M pp.c
M regcomp.c
M toke.c
M utf8.c
M util.c

  Log Message:
  ---
  Stop calling Perl_form manually

Call form() instead.


  Commit: 73526f142c0b51c73168ece29518885ea7c55b01
  
https://github.com/Perl/perl5/commit/73526f142c0b51c73168ece29518885ea7c55b01
  Author: Leon Timmermans 
  Date:   2025-03-17 (Mon, 17 Mar 2025)

  Changed paths:
M builtin.c
M doio.c
M gv.c
M hv.c
M mg.c
M pp.c
M pp_ctl.c
M pp_hot.c
M sv.c
M toke.c

  Log Message:
  ---
  Stop calling Perl_die manually

Call die() instead.


Compare: https://github.com/Perl/perl5/compare/1abdb55c874f...73526f142c0b

To unsubscribe from these emails, change your notification settings at 
https://github.com/Perl/perl5/settings/notifications


[Perl/perl5] 64e9d3: Dont call Perl_croak manually in core

2025-03-17 Thread Leon Timmermans via perl5-changes
  Branch: refs/heads/leont/croak-varargs
  Home:   https://github.com/Perl/perl5
  Commit: 64e9d37487eb6cd3ed8c50cf066ba4f463733f13
  
https://github.com/Perl/perl5/commit/64e9d37487eb6cd3ed8c50cf066ba4f463733f13
  Author: Leon Timmermans 
  Date:   2025-03-17 (Mon, 17 Mar 2025)

  Changed paths:
M av.c
M builtin.c
M class.c
M cygwin/cygwin.c
M doio.c
M doop.c
M gv.c
M hv.c
M locale.c
M mg.c
M mro_core.c
M op.c
M os2/os2.c
M pad.c
M perl.c
M perlio.c
M perly.act
M perly.h
M perly.tab
M perly.y
M pod/perldiag.pod
M pp.c
M pp_ctl.c
M pp_hot.c
M pp_pack.c
M pp_sys.c
M regcomp.c
M regcomp_debug.c
M regcomp_internal.h
M regcomp_invlist.c
M regcomp_study.c
M regcomp_trie.c
M regexec.c
M reginline.h
M scope.c
M sv.c
M taint.c
M toke.c
M universal.c
M utf8.c
M util.c
M vms/vms.c
M win32/win32.c

  Log Message:
  ---
  Dont call Perl_croak manually in core

Just call croak instead, we've been able to do that for vararg functions
since d933027ef0a56c99aee8cc3c88ff4f9981ac9fc2


  Commit: 07ce5e510c04dd218a28ea5dd3c152060c9ebbdd
  
https://github.com/Perl/perl5/commit/07ce5e510c04dd218a28ea5dd3c152060c9ebbdd
  Author: Leon Timmermans 
  Date:   2025-03-17 (Mon, 17 Mar 2025)

  Changed paths:
M av.c
M doop.c
M mg.c
M pp.c
M pp_ctl.c
M pp_hot.c
M pp_sort.c
M pp_sys.c
M regexec.c
M sv.c
M universal.c

  Log Message:
  ---
  Use croak_no_modify directly

There never was any good reason to call it by its long name.


  Commit: bdc844b3e6f1085b696ed09da2cd24b222526d40
  
https://github.com/Perl/perl5/commit/bdc844b3e6f1085b696ed09da2cd24b222526d40
  Author: Leon Timmermans 
  Date:   2025-03-17 (Mon, 17 Mar 2025)

  Changed paths:
M doio.c
M doop.c
M dump.c
M embed.fnc
M embed.h
M hv.c
M locale.c
M malloc.c
M op.c
M pad.c
M perl.c
M perlio.c
M pp_ctl.c
M pp_hot.c
M proto.h
M regcomp.c
M regexec.c
M sv.c
M universal.c
M util.c

  Log Message:
  ---
  Avoid calling Perl_croak_nocontext from core

In core we almost always have a context, or we can easily get one.


  Commit: 641f3f1abad8ac7ffeaf103a5cabd6a009309fdf
  
https://github.com/Perl/perl5/commit/641f3f1abad8ac7ffeaf103a5cabd6a009309fdf
  Author: Leon Timmermans 
  Date:   2025-03-17 (Mon, 17 Mar 2025)

  Changed paths:
M class.c
M dump.c
M op.c
M pad.c
M perl.c
M perlio.c
M pp_ctl.c
M pp_sys.c
M scope.c
M sv.c
M util.c
M vms/vms.c
M win32/win32.c

  Log Message:
  ---
  Dont call Perl_warn manually in core

Just call warn instead, we've been able to do that for vararg functions
since d933027ef0a56c99aee8cc3c88ff4f9981ac9fc2


  Commit: e6898401dd36aea8d881a58c085fee9e7770feae
  
https://github.com/Perl/perl5/commit/e6898401dd36aea8d881a58c085fee9e7770feae
  Author: Leon Timmermans 
  Date:   2025-03-17 (Mon, 17 Mar 2025)

  Changed paths:
M class.c
M dquote.c
M dump.c
M locale.c
M mg.c
M op.c
M perl.c
M regcomp.c
M regcomp_debug.c
M sv.c
M toke.c
M utf8.c
M util.c
M vutil.c

  Log Message:
  ---
  Stop calling Perl_sv_catpvf manually

Call sv_catpvf instead


  Commit: 338cc4a9a20f74ce5aa3c0ab9b7bc99da68a8b21
  
https://github.com/Perl/perl5/commit/338cc4a9a20f74ce5aa3c0ab9b7bc99da68a8b21
  Author: Leon Timmermans 
  Date:   2025-03-17 (Mon, 17 Mar 2025)

  Changed paths:
M dquote.c
M hv.c
M locale.c
M op.c
M pp_ctl.c
M regcomp.c
M sv.c

  Log Message:
  ---
  Stop calling Perl_sv_setpvf manually

Call sv_setpvf instead.


  Commit: a6a7fb979180086a7192aa50ec636a266ea09541
  
https://github.com/Perl/perl5/commit/a6a7fb979180086a7192aa50ec636a266ea09541
  Author: Leon Timmermans 
  Date:   2025-03-17 (Mon, 17 Mar 2025)

  Changed paths:
M dquote.c
M gv.c
M locale.c
M op.c
M perl.c
M pp.c
M regcomp.c
M toke.c
M utf8.c
M util.c

  Log Message:
  ---
  Stop calling Perl_form manually

Call form() instead.


  Commit: 1abdb55c874fee3ee4d2bf9e1a5bc74dbaf63b84
  
https://github.com/Perl/perl5/commit/1abdb55c874fee3ee4d2bf9e1a5bc74dbaf63b84
  Author: Leon Timmermans 
  Date:   2025-03-17 (Mon, 17 Mar 2025)

  Changed paths:
M builtin.c
M doio.c
M gv.c
M hv.c
M mg.c
M pp.c
M pp_ctl.c
M pp_hot.c
M sv.c
M toke.c

  Log Message:
  ---
  Stop calling Perl_die manually

Call die() instead.


Compare: https://github.com/Perl/perl5/compare/fca2a11e1263...1abdb55c874f

To unsubscribe from these emails, change your notification settings at 
https://github.com/Perl/perl5/settings/notifications