[Perl/perl5] 95a251: perlapi: Stress that deb() outputs the Perl script...
[email protected] (Karl Williamson via perl5-changes)
| Newsgroups | perl.perl5.changes |
|---|---|
| Message-ID | <Perl/perl5/push/refs/heads/blead/[email protected]> |
Branch: refs/heads/blead
Home: https://github.com/Perl/perl5
Commit: 95a2513a76607c52ee2ec32ef661edd59d514aa6
https://github.com/Perl/perl5/commit/95a2513a76607c52ee2ec32ef661edd59d514aa6
Author: Karl Williamson <[email protected]>
Date: 2026-04-14 (Tue, 14 Apr 2026)
Changed paths:
M deb.c
Log Message:
-----------
perlapi: Stress that deb() outputs the Perl script info
I thought it output the C calling info.
Commit: 526012385da37a951f75d4688f251b41a959d85a
https://github.com/Perl/perl5/commit/526012385da37a951f75d4688f251b41a959d85a
Author: Karl Williamson <[email protected]>
Date: 2026-04-14 (Tue, 14 Apr 2026)
Changed paths:
M pp.c
Log Message:
-----------
Convert Perlav_fetch calls to av_fetch in core .c's
Commit: 65d423e5c7fcc1daaec1b140f4a16a143e48f7d6
https://github.com/Perl/perl5/commit/65d423e5c7fcc1daaec1b140f4a16a143e48f7d6
Author: Karl Williamson <[email protected]>
Date: 2026-04-14 (Tue, 14 Apr 2026)
Changed paths:
M regcomp_study.c
M regexec.c
Log Message:
-----------
Convert Perl_ck_warner calls to ck_warner in core .c's
Commit: c458ae87aa397d774754c769ebe6ea9df0f55a0d
https://github.com/Perl/perl5/commit/c458ae87aa397d774754c769ebe6ea9df0f55a0d
Author: Karl Williamson <[email protected]>
Date: 2026-04-14 (Tue, 14 Apr 2026)
Changed paths:
M gv.c
M regcomp.c
M toke.c
Log Message:
-----------
Convert Perl_ck_warner_d calls to ck_warner_d in core .c's
Commit: 804dd7eb2adc13fcb92b63139bf2015ce9cff7e3
https://github.com/Perl/perl5/commit/804dd7eb2adc13fcb92b63139bf2015ce9cff7e3
Author: Karl Williamson <[email protected]>
Date: 2026-04-14 (Tue, 14 Apr 2026)
Changed paths:
M pp_ctl.c
Log Message:
-----------
Convert Perl_cop_fetch_label calls to cop_fetch_label in core .c's
Commit: 87d9573837cf84709b9ea692021dafedb6deef89
https://github.com/Perl/perl5/commit/87d9573837cf84709b9ea692021dafedb6deef89
Author: Karl Williamson <[email protected]>
Date: 2026-04-14 (Tue, 14 Apr 2026)
Changed paths:
M op.c
Log Message:
-----------
Convert Perl_cop_store_label calls to cop_store_label in core .c's
Commit: bf27538bedda6b403ea880acc44b3eab96f40c69
https://github.com/Perl/perl5/commit/bf27538bedda6b403ea880acc44b3eab96f40c69
Author: Karl Williamson <[email protected]>
Date: 2026-04-14 (Tue, 14 Apr 2026)
Changed paths:
M os390/os390.c
M util.c
Log Message:
-----------
Convert Perl_croak calls to croak in core .c's
Commit: 42e6536836ac103ed30279c354fe00073b825d8f
https://github.com/Perl/perl5/commit/42e6536836ac103ed30279c354fe00073b825d8f
Author: Karl Williamson <[email protected]>
Date: 2026-04-14 (Tue, 14 Apr 2026)
Changed paths:
M cop.h
M dump.c
M gv.c
M hv.c
M inline.h
M mro_core.c
M perl.h
M pp_ctl.c
M scope.c
M sv.c
M sv_inline.h
Log Message:
-----------
Convert Perl_deb calls to deb in core .c's
Commit: 086b52c2b54adced6bd38ec6954115d81e048b7b
https://github.com/Perl/perl5/commit/086b52c2b54adced6bd38ec6954115d81e048b7b
Author: Karl Williamson <[email protected]>
Date: 2026-04-14 (Tue, 14 Apr 2026)
Changed paths:
M regcomp_debug.c
Log Message:
-----------
Convert Perl_debug_show_study_flags calls to debug_show_study_flags in core .c's
Commit: 65449c0aaf770f0c337069bee3d263d455a10bd5
https://github.com/Perl/perl5/commit/65449c0aaf770f0c337069bee3d263d455a10bd5
Author: Karl Williamson <[email protected]>
Date: 2026-04-14 (Tue, 14 Apr 2026)
Changed paths:
M dump.c
M pad.c
M regcomp_invlist.c
Log Message:
-----------
Convert Perl_dump_indent calls to dump_indent in core .c's
Commit: 19f15156ea96d3ba17280c88a0622c32df233f8e
https://github.com/Perl/perl5/commit/19f15156ea96d3ba17280c88a0622c32df233f8e
Author: Karl Williamson <[email protected]>
Date: 2026-04-14 (Tue, 14 Apr 2026)
Changed paths:
M perl.c
M sv.c
Log Message:
-----------
Convert Perl_dump_sv_child calls to dump_sv_child in core .c's
Commit: 36ff8568b3379eacd5a0eb7119a9bed04b0f5423
https://github.com/Perl/perl5/commit/36ff8568b3379eacd5a0eb7119a9bed04b0f5423
Author: Karl Williamson <[email protected]>
Date: 2026-04-14 (Tue, 14 Apr 2026)
Changed paths:
M pp_ctl.c
Log Message:
-----------
Convert Perl_find_runcv_where calls to find_runcv_where in core .c's
Commit: 878d83c5e82e634dcb5982035056fc9fa5a569d8
https://github.com/Perl/perl5/commit/878d83c5e82e634dcb5982035056fc9fa5a569d8
Author: Karl Williamson <[email protected]>
Date: 2026-04-14 (Tue, 14 Apr 2026)
Changed paths:
M utf8.c
Log Message:
-----------
Convert Perl_form calls to form in core .c's
Commit: d97693f225d5433dbbb7af3743808d58c688695b
https://github.com/Perl/perl5/commit/d97693f225d5433dbbb7af3743808d58c688695b
Author: Karl Williamson <[email protected]>
Date: 2026-04-14 (Tue, 14 Apr 2026)
Changed paths:
M util.c
Log Message:
-----------
Convert Perl_get_c_backtrace calls to get_c_backtrace in core .c's
Commit: 0df19a27b361c0c037b101325593c490d7a2faaf
https://github.com/Perl/perl5/commit/0df19a27b361c0c037b101325593c490d7a2faaf
Author: Karl Williamson <[email protected]>
Date: 2026-04-14 (Tue, 14 Apr 2026)
Changed paths:
M util.c
Log Message:
-----------
Convert Perl_get_c_backtrace_dump calls to get_c_backtrace_dump in core .c's
Commit: 4b8d56fa2656b6f768f49122b687f3373add051d
https://github.com/Perl/perl5/commit/4b8d56fa2656b6f768f49122b687f3373add051d
Author: Karl Williamson <[email protected]>
Date: 2026-04-14 (Tue, 14 Apr 2026)
Changed paths:
M util.c
Log Message:
-----------
Convert Perl_dump_c_backtrace calls to dump_c_bactrace in core .c's
Commit: f3565f74cc73c78f8d1be1e487908d418d2f4cdd
https://github.com/Perl/perl5/commit/f3565f74cc73c78f8d1be1e487908d418d2f4cdd
Author: Karl Williamson <[email protected]>
Date: 2026-04-14 (Tue, 14 Apr 2026)
Changed paths:
M perl.c
Log Message:
-----------
Convert Perl_get_hash_seed calls to get_hash_seed in core .c's
Commit: b07f154c00811e5cb6b57e3d733c44969a3b70e4
https://github.com/Perl/perl5/commit/b07f154c00811e5cb6b57e3d733c44969a3b70e4
Author: Karl Williamson <[email protected]>
Date: 2026-04-14 (Tue, 14 Apr 2026)
Changed paths:
M numeric.c
Log Message:
-----------
Convert Perl_grok_infnan calls to grok_infnan in core .c's
Commit: 39587b82502186f050818de33641778a8de8fe93
https://github.com/Perl/perl5/commit/39587b82502186f050818de33641778a8de8fe93
Author: Karl Williamson <[email protected]>
Date: 2026-04-14 (Tue, 14 Apr 2026)
Changed paths:
M gv.c
Log Message:
-----------
Convert Perl_gv_fetchmeth_pvn calls to gv_fetchmeth_pvn in core .c's
Commit: 873c303681b7e0baae40ab9d0165a6d46e61dda2
https://github.com/Perl/perl5/commit/873c303681b7e0baae40ab9d0165a6d46e61dda2
Author: Karl Williamson <[email protected]>
Date: 2026-04-14 (Tue, 14 Apr 2026)
Changed paths:
M mro_core.c
Log Message:
-----------
Convert Perl_hv_common calls to hv_common in core .c's
Commit: d8c2b6d884c448fb9c53270c8f3e8c008a338749
https://github.com/Perl/perl5/commit/d8c2b6d884c448fb9c53270c8f3e8c008a338749
Author: Karl Williamson <[email protected]>
Date: 2026-04-14 (Tue, 14 Apr 2026)
Changed paths:
M gv.c
M op.c
M perlio.c
M toke.c
Log Message:
-----------
Convert Perl_load_module calls to load_module in core .c's
Commit: b07c11c564c4d425f51243181cf7ec59adda333a
https://github.com/Perl/perl5/commit/b07c11c564c4d425f51243181cf7ec59adda333a
Author: Karl Williamson <[email protected]>
Date: 2026-04-14 (Tue, 14 Apr 2026)
Changed paths:
M sv.c
Log Message:
-----------
Convert Perl_magic_clearisa calls to magic_clearisa in core .c's
Commit: 62dff59228d52c94503292cd040104768bc14890
https://github.com/Perl/perl5/commit/62dff59228d52c94503292cd040104768bc14890
Author: Karl Williamson <[email protected]>
Date: 2026-04-14 (Tue, 14 Apr 2026)
Changed paths:
M av.c
M embed.fnc
M embed.h
M mg.c
M util.c
Log Message:
-----------
Convert Perl_magic_methcall to magic_methcall in core .c's
This entailes making the short name available. This function is not
visible outside core, so there are no worries about making this change.
Commit: a231d8e06b814c88486c9b60efb8c5a5fc3ff653
https://github.com/Perl/perl5/commit/a231d8e06b814c88486c9b60efb8c5a5fc3ff653
Author: Karl Williamson <[email protected]>
Date: 2026-04-14 (Tue, 14 Apr 2026)
Changed paths:
M gv.c
M op.c
M toke.c
Log Message:
-----------
Convert Perl_mess calls to mess in core .c's
Commit: 7a1849d068c7760eac7d794850dfbe9b6719b03b
https://github.com/Perl/perl5/commit/7a1849d068c7760eac7d794850dfbe9b6719b03b
Author: Karl Williamson <[email protected]>
Date: 2026-04-14 (Tue, 14 Apr 2026)
Changed paths:
M builtin.c
M class.c
M dump.c
M gv.c
M op.c
M perl.c
M perlio.c
M pp_ctl.c
M pp_pack.c
M pp_sys.c
M regcomp.c
M sv.c
M toke.c
M universal.c
M util.c
Log Message:
-----------
Convert Perl_newSVpvf calls to newSVpvf in core .c's
Commit: abc16ebf014d922427d6d16baf7dbc369e624116
https://github.com/Perl/perl5/commit/abc16ebf014d922427d6d16baf7dbc369e624116
Author: Karl Williamson <[email protected]>
Date: 2026-04-14 (Tue, 14 Apr 2026)
Changed paths:
M perl.c
M util.c
Log Message:
-----------
Convert Perl_newSVpvn_flags calls to newSVpvn_flags in core .c's
Commit: 33bfa6366f4f45e554c37512735a8bb619039694
https://github.com/Perl/perl5/commit/33bfa6366f4f45e554c37512735a8bb619039694
Author: Karl Williamson <[email protected]>
Date: 2026-04-14 (Tue, 14 Apr 2026)
Changed paths:
M regcomp.c
M regcomp_debug.c
Log Message:
-----------
Convert Perl_pv_pretty calls to pv_pretty in core .c's
Commit: 16c7582e74b5a6d26ae94addd58161fad2cc7d3a
https://github.com/Perl/perl5/commit/16c7582e74b5a6d26ae94addd58161fad2cc7d3a
Author: Karl Williamson <[email protected]>
Date: 2026-04-14 (Tue, 14 Apr 2026)
Changed paths:
M utf8.c
Log Message:
-----------
Convert Perl_pv_uni_display calls to pv_uni_display in core .c's
Commit: e3243f3e40f269948049ea8a8c444ae95e00821c
https://github.com/Perl/perl5/commit/e3243f3e40f269948049ea8a8c444ae95e00821c
Author: Karl Williamson <[email protected]>
Date: 2026-04-14 (Tue, 14 Apr 2026)
Changed paths:
M perl.c
Log Message:
-----------
Convert Perl_reentrant_free calls to reentrant_free in core .c's
Commit: c42a09c5b4a395ea26ea5432b683c160ff75532d
https://github.com/Perl/perl5/commit/c42a09c5b4a395ea26ea5432b683c160ff75532d
Author: Karl Williamson <[email protected]>
Date: 2026-04-14 (Tue, 14 Apr 2026)
Changed paths:
M perl.c
M sv.c
Log Message:
-----------
Convert Perl_reentrant_init calls to reentrant_init in core .c's
Commit: 0745cc2958bb157ffa2f7cc235a13a7f6b9bbd05
https://github.com/Perl/perl5/commit/0745cc2958bb157ffa2f7cc235a13a7f6b9bbd05
Author: Karl Williamson <[email protected]>
Date: 2026-04-14 (Tue, 14 Apr 2026)
Changed paths:
M regexec.c
Log Message:
-----------
Convert Perl_re_exec_indentf calls to re_exec_indentf in core .c's
Commit: f4f5555f0f877adef700e53de0c5971074bb6f9a
https://github.com/Perl/perl5/commit/f4f5555f0f877adef700e53de0c5971074bb6f9a
Author: Karl Williamson <[email protected]>
Date: 2026-04-14 (Tue, 14 Apr 2026)
Changed paths:
M regcomp_debug.c
M regcomp_study.c
M regcomp_trie.c
Log Message:
-----------
Convert Perl_re_indentf calls to re_indentf in core .c's
Commit: 5cb608ce3e4dc5aaf31de64ca7ffdfe444407d8d
https://github.com/Perl/perl5/commit/5cb608ce3e4dc5aaf31de64ca7ffdfe444407d8d
Author: Karl Williamson <[email protected]>
Date: 2026-04-14 (Tue, 14 Apr 2026)
Changed paths:
M regexec.c
Log Message:
-----------
Convert Perl_reg_numbered_buff_fetch_flags calls to reg_numbered_buff_fetch_flags in core .c's
Commit: 997b1cf83857346f3862dafdce6e2d5c3bdb6e7a
https://github.com/Perl/perl5/commit/997b1cf83857346f3862dafdce6e2d5c3bdb6e7a
Author: Karl Williamson <[email protected]>
Date: 2026-04-14 (Tue, 14 Apr 2026)
Changed paths:
M regcomp.c
M regcomp_debug.c
M regcomp_study.c
M regcomp_trie.c
M regexec.c
Log Message:
-----------
Convert Perl_re_printf calls to re_printf in core .c's
Commit: d420c341718c3a2a3f6744d1ace412364f6bdffe
https://github.com/Perl/perl5/commit/d420c341718c3a2a3f6744d1ace412364f6bdffe
Author: Karl Williamson <[email protected]>
Date: 2026-04-14 (Tue, 14 Apr 2026)
Changed paths:
M sv.c
Log Message:
-----------
Convert Perl_rvpv_dup calls to rvpv_dup in core .c's
Commit: 26e2e233eb5a38411e698e17172fc4a2e4383084
https://github.com/Perl/perl5/commit/26e2e233eb5a38411e698e17172fc4a2e4383084
Author: Karl Williamson <[email protected]>
Date: 2026-04-14 (Tue, 14 Apr 2026)
Changed paths:
M scope.c
Log Message:
-----------
Convert Perl_savestack_grow_cnt calls to savestack_grow_cnt in core .c's
Commit: 2c74da70f26ced99af3d80c46d12333fc3f8e107
https://github.com/Perl/perl5/commit/2c74da70f26ced99af3d80c46d12333fc3f8e107
Author: Karl Williamson <[email protected]>
Date: 2026-04-14 (Tue, 14 Apr 2026)
Changed paths:
M pp_sort.c
Log Message:
-----------
Convert Perl_sortsv_flags calls to sortsv_flags in core .c's
Commit: c99ac95d761d58b05859c954b7ad4f1f989c8889
https://github.com/Perl/perl5/commit/c99ac95d761d58b05859c954b7ad4f1f989c8889
Author: Karl Williamson <[email protected]>
Date: 2026-04-14 (Tue, 14 Apr 2026)
Changed paths:
M util.c
Log Message:
-----------
Convert Perl_sv_2mortal calls to sv_2mortal in core .c's
Commit: 7f2f61a6da01975f2409b1d9dcd1fddc15221442
https://github.com/Perl/perl5/commit/7f2f61a6da01975f2409b1d9dcd1fddc15221442
Author: Karl Williamson <[email protected]>
Date: 2026-04-14 (Tue, 14 Apr 2026)
Changed paths:
M toke.c
Log Message:
-----------
Convert Perl_sv_catpv calls to sv_catpv in core .c's
Commit: 5a91769274793cfc2808fe935ff0fefd2d9638f9
https://github.com/Perl/perl5/commit/5a91769274793cfc2808fe935ff0fefd2d9638f9
Author: Karl Williamson <[email protected]>
Date: 2026-04-14 (Tue, 14 Apr 2026)
Changed paths:
M sv.c
Log Message:
-----------
Convert Perl_sv_del_backref calls to sv_del_backref in core .c's
Commit: b51fc689ad9aaf5bc18fdc8301a678914422e3ac
https://github.com/Perl/perl5/commit/b51fc689ad9aaf5bc18fdc8301a678914422e3ac
Author: Karl Williamson <[email protected]>
Date: 2026-04-14 (Tue, 14 Apr 2026)
Changed paths:
M sv.c
Log Message:
-----------
Convert Perl_sv_insert_flags calls to sv_insert_flags in core .c's
Commit: 1a863c7043c1696a4754d976bbc7d1c13628d44f
https://github.com/Perl/perl5/commit/1a863c7043c1696a4754d976bbc7d1c13628d44f
Author: Karl Williamson <[email protected]>
Date: 2026-04-14 (Tue, 14 Apr 2026)
Changed paths:
M pp_sys.c
Log Message:
-----------
Convert Perl_sv_setpvf_mg calls to sv_setpvf_mg in core .c's
Commit: b624dde3187e54260ffdca4f325a4b50dc8e504c
https://github.com/Perl/perl5/commit/b624dde3187e54260ffdca4f325a4b50dc8e504c
Author: Karl Williamson <[email protected]>
Date: 2026-04-14 (Tue, 14 Apr 2026)
Changed paths:
M doop.c
Log Message:
-----------
Convert Perl_sv_utf8_downgrade_flags calls to sv_utf8_downgrade_flags in core .c's
Commit: 7a4ab824d5c5b12b179e33008a0569103f67dd1b
https://github.com/Perl/perl5/commit/7a4ab824d5c5b12b179e33008a0569103f67dd1b
Author: Karl Williamson <[email protected]>
Date: 2026-04-14 (Tue, 14 Apr 2026)
Changed paths:
M perlio.c
Log Message:
-----------
Convert Perl_sv_vcatpfv calls to sv_vcatpfv in core .c's
Commit: b5e297dc2ed5ca35cafe76fe038ca451a6937727
https://github.com/Perl/perl5/commit/b5e297dc2ed5ca35cafe76fe038ca451a6937727
Author: Karl Williamson <[email protected]>
Date: 2026-04-14 (Tue, 14 Apr 2026)
Changed paths:
M pp.c
M pp_hot.c
M pp_sys.c
Log Message:
-----------
Convert Perl_tied_method calls to tied_method in core .c's
Commit: a37f39197029d046ca54a4cb8fe05990735b8cf0
https://github.com/Perl/perl5/commit/a37f39197029d046ca54a4cb8fe05990735b8cf0
Author: Karl Williamson <[email protected]>
Date: 2026-04-14 (Tue, 14 Apr 2026)
Changed paths:
M sv.c
M toke.c
Log Message:
-----------
Convert Perl_utf8_length calls to utf8_length in core .c's
Commit: 2d322742ab03d4e8921aba3bcb69ad91393e0387
https://github.com/Perl/perl5/commit/2d322742ab03d4e8921aba3bcb69ad91393e0387
Author: Karl Williamson <[email protected]>
Date: 2026-04-14 (Tue, 14 Apr 2026)
Changed paths:
M regcomp.c
M regexec.c
M util.c
M vms/vms.c
Log Message:
-----------
Convert Perl_warner calls to warner in core .c's
Commit: 8ea03480e109d6c90e864919b81c93c3a3627496
https://github.com/Perl/perl5/commit/8ea03480e109d6c90e864919b81c93c3a3627496
Author: Karl Williamson <[email protected]>
Date: 2026-04-14 (Tue, 14 Apr 2026)
Changed paths:
M av.c
M builtin.c
M class.c
M cop.h
M deb.c
M doop.c
M dump.c
M embed.fnc
M embed.h
M gv.c
M hv.c
M inline.h
M mg.c
M mro_core.c
M numeric.c
M op.c
M os390/os390.c
M pad.c
M perl.c
M perl.h
M perlio.c
M pp.c
M pp_ctl.c
M pp_hot.c
M pp_pack.c
M pp_sort.c
M pp_sys.c
M regcomp.c
M regcomp_debug.c
M regcomp_invlist.c
M regcomp_study.c
M regcomp_trie.c
M regexec.c
M scope.c
M sv.c
M sv_inline.h
M toke.c
M universal.c
M utf8.c
M util.c
M vms/vms.c
Log Message:
-----------
Merge branch 'Convert core Perl_foo calls to plain foo ' into blead
This merge commit consists of a series of commits, each of which takes
every instance of a given function whose full name is "Perl_foo" and
converts that to plain "foo". If there was an aTHX parameter in the long
name call, that is now omitted in the short name call. It does that for
every dot c file in the base perl core.
And it adjusts white space to compensate, and where I noticed long line
wrapping and it was easy to fix that.
This should not actually change the code that gets generated.
The reason to do this is that it reduces noise in our source, and the
cognitive load to deal with that. And it adds flexibility if we decide
to change the internal API -- that is more easily done in the case of
macros that expand to the actual call.
There are instances where using the function name instead of the macro
in required, so aren't changed here. An example is when the use includes
calls to macros that have fancy C preprocessor effects, such as
STR_WITH_LEN which returns two tokens.
Most of the changed uses appear to be because we did not have C99
variadic macros available at the time the code was written. I don't know
about the others. Perhaps it was habit
There are quite a few calls that didn't have many instances each that I
ran out of energy to track down if they were convertible, given the
small gain of each.
Compare: https://github.com/Perl/perl5/compare/59403d45d361...8ea03480e109
To unsubscribe from these emails, change your notification settings at https://github.com/Perl/perl5/settings/notifications