[Perl/perl5] 27e7aa: perlapi: there is no utf8_uvchr

2025-03-16 Thread Tony Cook via perl5-changes
  Branch: refs/heads/blead
  Home:   https://github.com/Perl/perl5
  Commit: 27e7aaa9d0cc16ae5413e08b6dd5ab61cc839652
  
https://github.com/Perl/perl5/commit/27e7aaa9d0cc16ae5413e08b6dd5ab61cc839652
  Author: Tony Cook 
  Date:   2025-03-16 (Sun, 16 Mar 2025)

  Changed paths:
M utf8.c

  Log Message:
  ---
  perlapi: there is no utf8_uvchr



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


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

2025-03-16 Thread Leon Timmermans via perl5-changes
  Branch: refs/heads/leont/croak-varargs
  Home:   https://github.com/Perl/perl5
  Commit: 893541f825e1c2a17ef2450a7dd3f73d5ab29429
  
https://github.com/Perl/perl5/commit/893541f825e1c2a17ef2450a7dd3f73d5ab29429
  Author: Leon Timmermans 
  Date:   2025-03-16 (Sun, 16 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: 7c639f01f74ad305b9f8d829d86f18a94606bef8
  
https://github.com/Perl/perl5/commit/7c639f01f74ad305b9f8d829d86f18a94606bef8
  Author: Leon Timmermans 
  Date:   2025-03-16 (Sun, 16 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: 5be7023c7d44bfdda56dfcb518b1ce25e3fce494
  
https://github.com/Perl/perl5/commit/5be7023c7d44bfdda56dfcb518b1ce25e3fce494
  Author: Leon Timmermans 
  Date:   2025-03-16 (Sun, 16 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: 083a43b86e8720b509d242d863246ddb3763fe1c
  
https://github.com/Perl/perl5/commit/083a43b86e8720b509d242d863246ddb3763fe1c
  Author: Leon Timmermans 
  Date:   2025-03-16 (Sun, 16 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: e72658618df8838cfe1cf038aba27b94a8696ec4
  
https://github.com/Perl/perl5/commit/e72658618df8838cfe1cf038aba27b94a8696ec4
  Author: Leon Timmermans 
  Date:   2025-03-16 (Sun, 16 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: 9b5daaeeb9eedf4cebf22c750ae9b38ce81b617d
  
https://github.com/Perl/perl5/commit/9b5daaeeb9eedf4cebf22c750ae9b38ce81b617d
  Author: Leon Timmermans 
  Date:   2025-03-16 (Sun, 16 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: c8010d906e1ef254889dcbdeadcb77fa2137513e
  
https://github.com/Perl/perl5/commit/c8010d906e1ef254889dcbdeadcb77fa2137513e
  Author: Leon Timmermans 
  Date:   2025-03-16 (Sun, 16 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: e7dcd0cf0ccd2afc1ab23f4eb36e485677bd4df9
  
https://github.com/Perl/perl5/commit/e7dcd0cf0ccd2afc1ab23f4eb36e485677bd4df9
  Author: Leon Timmermans 
  Date:   2025-03-16 (Sun, 16 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 t/porting/diag.t
M toke.c
M utf8.c
M util.c

  Log Message:
  ---
  Stop calling Perl_form manually

Call form() instead.


  Commit: 61bbf8bcbc2362ce9d24ef51393f9a605620e315
  
https://github.com/Perl/perl5/commit/61bbf8bcbc2362ce9d24ef51393f9a605620e315
  Author: Leon Timmermans 
  Date:   2025-03-16 (Sun, 16 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

[Perl/perl5] c17d19: Search::Dict: clean up code

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

  Changed paths:
M dist/Search-Dict/lib/Search/Dict.pm

  Log Message:
  ---
  Search::Dict: clean up code

- Remove 'require 5.000'. In theory, this would give a nice runtime
  error message when run under perl4; in practice, this file doesn't
  even parse as perl4 due to 'use strict', 'our', and '->' method calls.
- Use numeric comparison with $], not string comparison. (In practice,
  this would probably only start failing once we reach perl 10, but
  still.)
- Don't repeatedly check $fc_available at runtime. Just define a
  fallback fc() in terms of lc() if CORE::fc is not available.
- Add missing $key argument to sample code in SYNOPSIS. This fixes
  .


  Commit: 6d84e5da2352f13375ba0c0c7ed80c878e1a220e
  
https://github.com/Perl/perl5/commit/6d84e5da2352f13375ba0c0c7ed80c878e1a220e
  Author: Lukas Mai 
  Date:   2025-03-16 (Sun, 16 Mar 2025)

  Changed paths:
M pod/perldelta.pod

  Log Message:
  ---
  perldelta for visible Search::Dict changes


Compare: https://github.com/Perl/perl5/compare/68944d4edf97...6d84e5da2352

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


[Perl/perl5] 8c0616: Thread::Semaphore: clean up some tests

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

  Changed paths:
M dist/Thread-Semaphore/t/01_basic.t
M dist/Thread-Semaphore/t/04_nonblocking.t
M dist/Thread-Semaphore/t/05_force.t
M dist/Thread-Semaphore/t/06_timed.t

  Log Message:
  ---
  Thread::Semaphore: clean up some tests

Some of the tests (02_errs.t, 03_nothreads.t) already use Test::More
unconditionally, so remove the conditional loading code from the other
tests.



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


[Perl/perl5] ec66b5: win32/config_h.PL: remove old debugging code

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

  Changed paths:
M win32/config_h.PL

  Log Message:
  ---
  win32/config_h.PL: remove old debugging code

... originally added in commit 1018e26f1c.



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


[Perl/perl5] 4f3cda: t/perf/speed.t: clean up code

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

  Changed paths:
M t/perf/speed.t

  Log Message:
  ---
  t/perf/speed.t: clean up code

- set @INC before loading any modules
- don't enable strict/warnings twice
- 'use Config' instead of 'require Config; Config->import'
- don't declare non-existent sub run_tests
- mention github issue number in comment in addition to RT



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


[Perl/perl5] 68944d: Benchmark: don't import Time::HiRes::time; we don'...

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

  Changed paths:
M lib/Benchmark.pm

  Log Message:
  ---
  Benchmark: don't import Time::HiRes::time; we don't use it

Also:

- use block eval, not string eval
- BEGIN, not sub BEGIN



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