[Perl/perl5] 0fa334: perl.h: Clarify comments, fix typo
Branch: refs/heads/blead Home: https://github.com/Perl/perl5 Commit: 0fa334ad069406cde41c1eef6ff9b1393bfc6180 https://github.com/Perl/perl5/commit/0fa334ad069406cde41c1eef6ff9b1393bfc6180 Author: Karl Williamson Date: 2024-10-02 (Wed, 02 Oct 2024) Changed paths: M perl.h Log Message: --- perl.h: Clarify comments, fix typo Use column headings Commit: 6b6e7ebddc5b626b819f9d45e1e5086d573526c0 https://github.com/Perl/perl5/commit/6b6e7ebddc5b626b819f9d45e1e5086d573526c0 Author: Karl Williamson Date: 2024-10-02 (Wed, 02 Oct 2024) Changed paths: M inline.h Log Message: --- utf8n_to_uv_msgs: Move code to earlier in function This enables simplifications in the next commits. Commit: 1910ef24f7144afc490fe8ea59d7e8a68ccd2b2d https://github.com/Perl/perl5/commit/1910ef24f7144afc490fe8ea59d7e8a68ccd2b2d Author: Karl Williamson Date: 2024-10-02 (Wed, 02 Oct 2024) Changed paths: M inline.h Log Message: --- inline.h: White space only This changes the indent of some code that will make sense in a few commits. Commit: d4e276590cad697e8a374a34d8371921330ec60e https://github.com/Perl/perl5/commit/d4e276590cad697e8a374a34d8371921330ec60e Author: Karl Williamson Date: 2024-10-02 (Wed, 02 Oct 2024) Changed paths: M inline.h Log Message: --- utf8n_to_uvchr_msgs: Hoist conditional outside loop This slight refactoring speeds this important loop up a bit. Commit: 88c138765b9829e586cf20b9563fb0698e75f02e https://github.com/Perl/perl5/commit/88c138765b9829e586cf20b9563fb0698e75f02e Author: Karl Williamson Date: 2024-10-02 (Wed, 02 Oct 2024) Changed paths: M inline.h Log Message: --- utf8n_to_uvchr_msgs: Add branch prediction Most calls to this function will have it succeed Commit: 4921e06474769f4cdfab9a8bd06a54afb7215fcd https://github.com/Perl/perl5/commit/4921e06474769f4cdfab9a8bd06a54afb7215fcd Author: Karl Williamson Date: 2024-10-02 (Wed, 02 Oct 2024) Changed paths: M inline.h Log Message: --- utf8n_to_uvchr_msgs: Remove an #ifdef A previous commit removed this spot from having to deal with UTF-8 invariants that don't want to be translated to EBCDIC, leaving only cases that do, so we can move the code to deal with it to here, and remove the #ifdef. The macro call is a no-op on ASCII machines. Commit: c11db1049124709789043158a62664cadeca4160 https://github.com/Perl/perl5/commit/c11db1049124709789043158a62664cadeca4160 Author: Karl Williamson Date: 2024-10-02 (Wed, 02 Oct 2024) Changed paths: M inline.h Log Message: --- utf8n_to_uvchr_msgs: More shortcut of UTF-8 invariants This avoids the dfa table altogether by adding a test for UTF-8 invariants (ASCII-range characters), and not doing the table lookup at all for them. This removes the table lookup for these, and removes calculations in the return length value, and a potential jump. But the extra conditional is wasted for non-ASCII range. I consider this trade-off to be a wash, but it enables future simplifications Commit: 25b3bcb00f5e7c6ee856224201fcbe9f485ef2fe https://github.com/Perl/perl5/commit/25b3bcb00f5e7c6ee856224201fcbe9f485ef2fe Author: Karl Williamson Date: 2024-10-02 (Wed, 02 Oct 2024) Changed paths: M inline.h Log Message: --- utf8n_to_uvchr_msgs: Move code to only remaining branch Replace the goto by the code it jumped to, as there is no longer any other code that jumps to it. Commit: 7c1ecced478d17b08bbc0c80f25b8ae294bf729b https://github.com/Perl/perl5/commit/7c1ecced478d17b08bbc0c80f25b8ae294bf729b Author: Karl Williamson Date: 2024-10-02 (Wed, 02 Oct 2024) Changed paths: M inline.h Log Message: --- utf8n_to_uvchr_msgs: Change declaration type and move Move closer to its first use. This variable only needs to be 8 bits, but tell the compiler to prioritize speed over size. Commit: 2318eaa5d905313fd6c0278b5dea51ee65d7d6e0 https://github.com/Perl/perl5/commit/2318eaa5d905313fd6c0278b5dea51ee65d7d6e0 Author: Karl Williamson Date: 2024-10-02 (Wed, 02 Oct 2024) Changed paths: M inline.h Log Message: --- utf8n_to_uvchr_msgs: Comment why variable not named 'class' Commit: 09c4dfa8d081810730342ef56c21defd1f69f1db https://github.com/Perl/perl5/commit/09c4dfa8d081810730342ef56c21defd1f69f1db Author: Karl Williamson Date: 2024-10-02 (Wed, 02 Oct 2024) Changed paths: M inline.h Log Message: --- utf8n_to_uvchr_msgs: Variable can be narrower It only needs 8 bits, but tell compiler to prioritize speed Commit: ef862b546d427c5878835d58d25a6a8ca663f757 https://github.com/Perl/perl5/commit/ef862b546d427c5878835d58d25a6a8ca663f757 Author: Karl Williamson Date: 2024-10-02 (Wed, 02 Oct 2024) Changed paths: M in
[Perl/perl5] d29571: op.c: Silence compiler warning
Branch: refs/heads/blead Home: https://github.com/Perl/perl5 Commit: d29571779421178e2d6c9c193ce7068290640693 https://github.com/Perl/perl5/commit/d29571779421178e2d6c9c193ce7068290640693 Author: Karl Williamson Date: 2024-10-01 (Tue, 01 Oct 2024) Changed paths: M op.c Log Message: --- op.c: Silence compiler warning This fixes GH #22614 Not all compilers warned on this. Make both operands unsigned. The one that had been declared signed is always non-negative anyway. In this case, the multiple evaluations MAX gives is ok. To unsubscribe from these emails, change your notification settings at https://github.com/Perl/perl5/settings/notifications
[Perl/perl5] e2de21: Add new email for Karl Williamson
Branch: refs/heads/blead Home: https://github.com/Perl/perl5 Commit: e2de21dad4a580cdeeaea5c80166087492b7fa9e https://github.com/Perl/perl5/commit/e2de21dad4a580cdeeaea5c80166087492b7fa9e Author: Karl Williamson Date: 2024-10-01 (Tue, 01 Oct 2024) Changed paths: M .mailmap Log Message: --- Add new email for Karl Williamson To unsubscribe from these emails, change your notification settings at https://github.com/Perl/perl5/settings/notifications
[Perl/perl5] 228adb: inline.h: Remove relict comments
Branch: refs/heads/blead Home: https://github.com/Perl/perl5 Commit: 228adb84ec0f14d7a9b46367fa3563b7e3e6 https://github.com/Perl/perl5/commit/228adb84ec0f14d7a9b46367fa3563b7e3e6 Author: Karl Williamson Date: 2024-10-01 (Tue, 01 Oct 2024) Changed paths: M inline.h Log Message: --- inline.h: Remove relict comments We changed the bit ops before 5.30 to work sanely on UTF-8 encoded strings. To unsubscribe from these emails, change your notification settings at https://github.com/Perl/perl5/settings/notifications
[Perl/perl5] 24a0fd: pp_pack.c: Replace rolled-own with hop()
Branch: refs/heads/blead Home: https://github.com/Perl/perl5 Commit: 24a0fdde2cd278bc9186febf915d0270c2fc1c44 https://github.com/Perl/perl5/commit/24a0fdde2cd278bc9186febf915d0270c2fc1c44 Author: Karl Williamson Date: 2024-10-01 (Tue, 01 Oct 2024) Changed paths: M pp_pack.c Log Message: --- pp_pack.c: Replace rolled-own with hop() To unsubscribe from these emails, change your notification settings at https://github.com/Perl/perl5/settings/notifications
[Perl/perl5] 045b0d: [Win32] Remove obsolete code from perl.h.
Branch: refs/heads/blead Home: https://github.com/Perl/perl5 Commit: 045b0df33c23dcafec502dc689b7a6ccb25c02bf https://github.com/Perl/perl5/commit/045b0df33c23dcafec502dc689b7a6ccb25c02bf Author: sisyphus Date: 2024-09-30 (Mon, 30 Sep 2024) Changed paths: M perl.h M win32/vmem.h Log Message: --- [Win32] Remove obsolete code from perl.h. Remove a Win32-specific memory alignment instruction as discussed in https://github.com/Perl/perl5/issues/22577. To unsubscribe from these emails, change your notification settings at https://github.com/Perl/perl5/settings/notifications
[Perl/perl5] 5613dc: utf8_hop_forward: Don't go over edge of buffer
Branch: refs/heads/blead Home: https://github.com/Perl/perl5 Commit: 5613dc601d4eef5cf98fe5261d06dc30fb5b900d https://github.com/Perl/perl5/commit/5613dc601d4eef5cf98fe5261d06dc30fb5b900d Author: Karl Williamson Date: 2024-09-30 (Mon, 30 Sep 2024) Changed paths: M inline.h Log Message: --- utf8_hop_forward: Don't go over edge of buffer even in the presence of malformed UTF-8. This preserves previous behavior of if you start at one byte past the edge of the buffer, it returns that position. To unsubscribe from these emails, change your notification settings at https://github.com/Perl/perl5/settings/notifications
[Perl/perl5] ff973b: Request patch for malformed UTF-8 detection
Branch: refs/heads/my_maint_votes Home: https://github.com/Perl/perl5 Commit: ff973bb0fa1e05ecdf8286ee855e9f9636c90bf2 https://github.com/Perl/perl5/commit/ff973bb0fa1e05ecdf8286ee855e9f9636c90bf2 Author: Karl Williamson Date: 2024-09-29 (Sun, 29 Sep 2024) Changed paths: M votes-5.38.xml M votes-5.40.xml Log Message: --- Request patch for malformed UTF-8 detection This can cause panics, and worse. To unsubscribe from these emails, change your notification settings at https://github.com/Perl/perl5/settings/notifications
[Perl/perl5] c47e04: Request patch for malformed UTF-8 detection
Branch: refs/heads/my_maint_votes Home: https://github.com/Perl/perl5 Commit: c47e040a0c34b726d9d84e164a364e2b4ebc6e0f https://github.com/Perl/perl5/commit/c47e040a0c34b726d9d84e164a364e2b4ebc6e0f Author: Karl Williamson Date: 2024-09-29 (Sun, 29 Sep 2024) Changed paths: M votes-5.38.xml M votes-5.40.xml Log Message: --- Request patch for malformed UTF-8 detection This can cause panics, and worse. To unsubscribe from these emails, change your notification settings at https://github.com/Perl/perl5/settings/notifications
[Perl/perl5] c9cfa5: perlapi: Fix typo: 1 should have been -1
Branch: refs/heads/blead Home: https://github.com/Perl/perl5 Commit: c9cfa58c3dbecb570115bcbdba8360891a45366c https://github.com/Perl/perl5/commit/c9cfa58c3dbecb570115bcbdba8360891a45366c Author: Karl Williamson Date: 2024-09-28 (Sat, 28 Sep 2024) Changed paths: M utf8.c Log Message: --- perlapi: Fix typo: 1 should have been -1 To unsubscribe from these emails, change your notification settings at https://github.com/Perl/perl5/settings/notifications
[Perl/perl5] dfad42: perlapi: Combine the UTF8SKIP entries into a singl...
Branch: refs/heads/blead Home: https://github.com/Perl/perl5 Commit: dfad42ddbc611eeda82cf592785bead4369aa76d https://github.com/Perl/perl5/commit/dfad42ddbc611eeda82cf592785bead4369aa76d Author: Karl Williamson Date: 2024-09-15 (Sun, 15 Sep 2024) Changed paths: M utf8.h Log Message: --- perlapi: Combine the UTF8SKIP entries into a single one To unsubscribe from these emails, change your notification settings at https://github.com/Perl/perl5/settings/notifications
[Perl/perl5] 3f1812: perlapi: Combine foldEQ and foldEQ_locale entries
Branch: refs/heads/blead Home: https://github.com/Perl/perl5 Commit: 3f18121e99fd9536b365866727dd660db780fdc7 https://github.com/Perl/perl5/commit/3f18121e99fd9536b365866727dd660db780fdc7 Author: Karl Williamson Date: 2024-09-15 (Sun, 15 Sep 2024) Changed paths: M inline.h Log Message: --- perlapi: Combine foldEQ and foldEQ_locale entries To unsubscribe from these emails, change your notification settings at https://github.com/Perl/perl5/settings/notifications
[Perl/perl5] 28f0e7: perlapi: Fold hv_delete_ent entry with similar ones
Branch: refs/heads/blead Home: https://github.com/Perl/perl5 Commit: 28f0e7727993c7a8b947d5ae1529f412724bf730 https://github.com/Perl/perl5/commit/28f0e7727993c7a8b947d5ae1529f412724bf730 Author: Karl Williamson Date: 2024-09-15 (Sun, 15 Sep 2024) Changed paths: M hv.c Log Message: --- perlapi: Fold hv_delete_ent entry with similar ones hv_delete and hv_deletes already share a single perlapi entry. This adds hv_delete_ent to that. To unsubscribe from these emails, change your notification settings at https://github.com/Perl/perl5/settings/notifications
[Perl/perl5] 220b54: handy.h: Use apidoc_defn lines
Branch: refs/heads/blead Home: https://github.com/Perl/perl5 Commit: 220b54abb52c925edc5038578893435d3c2b44e8 https://github.com/Perl/perl5/commit/220b54abb52c925edc5038578893435d3c2b44e8 Author: Karl Williamson Date: 2024-09-15 (Sun, 15 Sep 2024) Changed paths: M handy.h Log Message: --- handy.h: Use apidoc_defn lines These entries were a kludge, whose necessity has been eliminated by the new apidoc_defn construct To unsubscribe from these emails, change your notification settings at https://github.com/Perl/perl5/settings/notifications
[Perl/perl5] 110200: perlapi: Combine vmess with mess/mess_nocontext entry
Branch: refs/heads/blead Home: https://github.com/Perl/perl5 Commit: 1102001679545202761831c7dd2b240fe5d54549 https://github.com/Perl/perl5/commit/1102001679545202761831c7dd2b240fe5d54549 Author: Karl Williamson Date: 2024-09-15 (Sun, 15 Sep 2024) Changed paths: M util.c Log Message: --- perlapi: Combine vmess with mess/mess_nocontext entry To unsubscribe from these emails, change your notification settings at https://github.com/Perl/perl5/settings/notifications
[Perl/perl5] f1cd4b: perlapi: Combine vform with form/form_nocontext entry
Branch: refs/heads/blead Home: https://github.com/Perl/perl5 Commit: f1cd4b4fff00f0b49950c7d557a5a9f2c9bdccad https://github.com/Perl/perl5/commit/f1cd4b4fff00f0b49950c7d557a5a9f2c9bdccad Author: Karl Williamson Date: 2024-09-15 (Sun, 15 Sep 2024) Changed paths: M util.c Log Message: --- perlapi: Combine vform with form/form_nocontext entry To unsubscribe from these emails, change your notification settings at https://github.com/Perl/perl5/settings/notifications
[Perl/perl5] 698a4c: perlapi: Combine vdeb entry with the deb/no_contex...
Branch: refs/heads/blead Home: https://github.com/Perl/perl5 Commit: 698a4c0ba0e389910a4b72e3f56956a721e3a9a4 https://github.com/Perl/perl5/commit/698a4c0ba0e389910a4b72e3f56956a721e3a9a4 Author: Karl Williamson Date: 2024-09-15 (Sun, 15 Sep 2024) Changed paths: M deb.c Log Message: --- perlapi: Combine vdeb entry with the deb/no_context one To unsubscribe from these emails, change your notification settings at https://github.com/Perl/perl5/settings/notifications
[Perl/perl5] 23bd7e: perlapi: TAINT has no args; TAINT_ENV does
Branch: refs/heads/blead Home: https://github.com/Perl/perl5 Commit: 23bd7e32e5e8b12cd471e262d67eaf8a9ae24782 https://github.com/Perl/perl5/commit/23bd7e32e5e8b12cd471e262d67eaf8a9ae24782 Author: Karl Williamson Date: 2024-09-14 (Sat, 14 Sep 2024) Changed paths: M perl.h Log Message: --- perlapi: TAINT has no args; TAINT_ENV does To unsubscribe from these emails, change your notification settings at https://github.com/Perl/perl5/settings/notifications
[Perl/perl5] 2eb40e: autodoc: Fix up comments
Branch: refs/heads/blead Home: https://github.com/Perl/perl5 Commit: 2eb40ee29d736085e63b59883070e31f291b2c4f https://github.com/Perl/perl5/commit/2eb40ee29d736085e63b59883070e31f291b2c4f Author: Karl Williamson Date: 2024-09-14 (Sat, 14 Sep 2024) Changed paths: M autodoc.pl Log Message: --- autodoc: Fix up comments Commit: 9eda6b5b8544ec4cf7f418a5470723dab2a1639f https://github.com/Perl/perl5/commit/9eda6b5b8544ec4cf7f418a5470723dab2a1639f Author: Karl Williamson Date: 2024-09-14 (Sat, 14 Sep 2024) Changed paths: M autodoc.pl Log Message: --- autodoc: Change loop variable name The new name is more accurate Commit: 9954e3cc8272ff383e19bae5b8b073c693278eaa https://github.com/Perl/perl5/commit/9954e3cc8272ff383e19bae5b8b073c693278eaa Author: Karl Williamson Date: 2024-09-14 (Sat, 14 Sep 2024) Changed paths: M autodoc.pl Log Message: --- autodoc: Swap the order of conditionals Get the easier case out of the way first Commit: eb0c13af382f0b4c2f6393cfede2bc4d3093b0f4 https://github.com/Perl/perl5/commit/eb0c13af382f0b4c2f6393cfede2bc4d3093b0f4 Author: Karl Williamson Date: 2024-09-14 (Sat, 14 Sep 2024) Changed paths: M autodoc.pl Log Message: --- autodoc.pl: Make a header mor complete This now describes the dictionary ordering of the pod Commit: d8645bfd2904ba22c078b7d0b786956858ec7333 https://github.com/Perl/perl5/commit/d8645bfd2904ba22c078b7d0b786956858ec7333 Author: Karl Williamson Date: 2024-09-14 (Sat, 14 Sep 2024) Changed paths: M autodoc.pl Log Message: --- autodoc.pl: Add parameter to function This will be used in the next commit Commit: ee948d4b72ec1ec8932e8fadd50ffa9abaa1f655 https://github.com/Perl/perl5/commit/ee948d4b72ec1ec8932e8fadd50ffa9abaa1f655 Author: Karl Williamson Date: 2024-09-14 (Sat, 14 Sep 2024) Changed paths: M autodoc.pl Log Message: --- autodoc: Skip outputting an empty list This is for future extensions, where the list may be empty. Commit: a3f1028e12393ecae324d64f4894a5f614788f3e https://github.com/Perl/perl5/commit/a3f1028e12393ecae324d64f4894a5f614788f3e Author: Karl Williamson Date: 2024-09-14 (Sat, 14 Sep 2024) Changed paths: M autodoc.pl Log Message: --- perlapi/perlintern: Allow alphabetical browsing It is a lot easier for a user to choose which function to use out of multiple similar ones when all such are combined into a single group and the pod compares and contrasts them, highlighting the nuances. The alternative is individual functions documented as silos, and the user has to jump back and and forth between them; the nuances are lost. The problem is that this grouping can leave the document out of alphabetical order when the names of related functions don't start with the same letters. Someone who is browsing it alphabetically can easily miss things. This commit remedies that by creating placeholder entries that are inserted in alphabetical order and point to the real documentation for the functions that aren't in alphabetical order. It turns out that there aren't very many of these. Though that in part is because I have avoided combining some alphabetically far-away functions with their brethern for the very reason that it would make them hard to find. Examples include the functions that differ from others only in that they take an encapsulated argument list and their names begin with 'v'. vform() has not been combined with form() and its kin, but they all really belong together. This commit means that perlapi/perlintern maintainers no longer have to consider the sorting effect of their changes. Compare: https://github.com/Perl/perl5/compare/9c61068521fb...a3f1028e1239 To unsubscribe from these emails, change your notification settings at https://github.com/Perl/perl5/settings/notifications
[Perl/perl5] 7944a6: perlguts: Update info about creating and setting SV
Branch: refs/heads/blead Home: https://github.com/Perl/perl5 Commit: 7944a6b1b6c7c1ab0d6c8f4beb11bd0d9ddd0de4 https://github.com/Perl/perl5/commit/7944a6b1b6c7c1ab0d6c8f4beb11bd0d9ddd0de4 Author: Karl Williamson Date: 2024-09-11 (Wed, 11 Sep 2024) Changed paths: M pod/perlguts.pod Log Message: --- perlguts: Update info about creating and setting SV New SV functions have been added since this was last updated. Change the wording to also point where the definitive current list is located. Commit: e37eca75679e02e4d08f203175bc73192530cd5f https://github.com/Perl/perl5/commit/e37eca75679e02e4d08f203175bc73192530cd5f Author: Karl Williamson Date: 2024-09-11 (Wed, 11 Sep 2024) Changed paths: M pod/perlguts.pod Log Message: --- perlguts: Add a paragraph about newSVpvz Commit: 77d0916afe58115bb9418d7b6db79c8a66e621a4 https://github.com/Perl/perl5/commit/77d0916afe58115bb9418d7b6db79c8a66e621a4 Author: Karl Williamson Date: 2024-09-11 (Wed, 11 Sep 2024) Changed paths: M sv.c Log Message: --- perlapi: Distinguish between newSVpvz and newSV Compare: https://github.com/Perl/perl5/compare/681242b5612d...77d0916afe58 To unsubscribe from these emails, change your notification settings at https://github.com/Perl/perl5/settings/notifications
[Perl/perl5] 681242: locale.c: Call newSVpvz()
Branch: refs/heads/blead Home: https://github.com/Perl/perl5 Commit: 681242b5612dc5020b24bbad7bf5e5fe810048c3 https://github.com/Perl/perl5/commit/681242b5612dc5020b24bbad7bf5e5fe810048c3 Author: Karl Williamson Date: 2024-09-11 (Wed, 11 Sep 2024) Changed paths: M locale.c Log Message: --- locale.c: Call newSVpvz() To unsubscribe from these emails, change your notification settings at https://github.com/Perl/perl5/settings/notifications
[Perl/perl5] cb3aa1: embed.fnc: Fix wrong comment
Branch: refs/heads/blead Home: https://github.com/Perl/perl5 Commit: cb3aa1ef618c1f12d2547f61dbae773eb48e5b0e https://github.com/Perl/perl5/commit/cb3aa1ef618c1f12d2547f61dbae773eb48e5b0e Author: Karl Williamson Date: 2024-09-09 (Mon, 09 Sep 2024) Changed paths: M embed.fnc Log Message: --- embed.fnc: Fix wrong comment This comment was added in commit dcd299b49cf3c7bd7b362706a5696b4eac4fadb7 Author: Karl Williamson Date: Sat Aug 31 14:30:29 2019 -0600 embed.fnc: Clarify comments, and note 'u' flag exceptions and was wrong at the time. The i flag has always implied the S flag by default. To unsubscribe from these emails, change your notification settings at https://github.com/Perl/perl5/settings/notifications
[Perl/perl5] ccc51b: embed.fnc: Fix resume_compcv entry
Branch: refs/heads/blead Home: https://github.com/Perl/perl5 Commit: ccc51b76bad07e4bcfeef5b750e33de84db08b4d https://github.com/Perl/perl5/commit/ccc51b76bad07e4bcfeef5b750e33de84db08b4d Author: Karl Williamson Date: 2024-09-09 (Mon, 09 Sep 2024) Changed paths: M embed.fnc Log Message: --- embed.fnc: Fix resume_compcv entry The flags indicate that there is a Perl_resume_compcv(), that it is intended to be public API, though undocumented, and that there is a macro defining its short name 'resume_compcv'. But there is no such macro. Instead, there are two macros that call this through its long form, and are documented: 'resume_compcv_and_save' and 'resume_compcv_final'. They should be marked as public api. Change the flags to indicate resume_compcv() is internal without a short name, but needs to be publicly accessible, so those macros (now marked public api) can use it. To unsubscribe from these emails, change your notification settings at https://github.com/Perl/perl5/settings/notifications
[Perl/perl5] d58a71: [Win32] Set $Config{installsitescript} to a sane v...
Branch: refs/heads/blead Home: https://github.com/Perl/perl5 Commit: d58a71b49371279d3c6fb417f885143af921f73b https://github.com/Perl/perl5/commit/d58a71b49371279d3c6fb417f885143af921f73b Author: sisyphus Date: 2024-09-08 (Sun, 08 Sep 2024) Changed paths: M win32/config.gc M win32/config.vc Log Message: --- [Win32] Set $Config{installsitescript} to a sane value. Also set $Config{installscript} to match $Config{installsitescript} Fixes the failing test in: https://github.com/Perl-Toolchain-Gang/module-build-tiny/issues/35 To unsubscribe from these emails, change your notification settings at https://github.com/Perl/perl5/settings/notifications
[Perl/perl5] 10577f: S_bool_setlocale_i: Add entry assertion
Branch: refs/heads/blead Home: https://github.com/Perl/perl5 Commit: 10577f822d7720438529894a8f0da18826f8da58 https://github.com/Perl/perl5/commit/10577f822d7720438529894a8f0da18826f8da58 Author: Karl Williamson Date: 2024-09-05 (Thu, 05 Sep 2024) Changed paths: M locale.c Log Message: --- S_bool_setlocale_i: Add entry assertion Commit: 49a113755e9a95204e08025e276962e8b9bc5dc0 https://github.com/Perl/perl5/commit/49a113755e9a95204e08025e276962e8b9bc5dc0 Author: Karl Williamson Date: 2024-09-05 (Thu, 05 Sep 2024) Changed paths: M locale.c Log Message: --- S_querylocale_2008_i: Add entry assertion Compare: https://github.com/Perl/perl5/compare/3a769e864b47...49a113755e9a To unsubscribe from these emails, change your notification settings at https://github.com/Perl/perl5/settings/notifications
[Perl/perl5] 3a769e: Add newSVpvz() to create a sized SvPV.
Branch: refs/heads/blead Home: https://github.com/Perl/perl5 Commit: 3a769e864b479894fcc1245b38738679bc1a6935 https://github.com/Perl/perl5/commit/3a769e864b479894fcc1245b38738679bc1a6935 Author: Karl Williamson Date: 2024-09-05 (Thu, 05 Sep 2024) Changed paths: M embed.fnc M embed.h M proto.h M sv.c Log Message: --- Add newSVpvz() to create a sized SvPV. There's no current trivial method to create a non-zero length SV that will hold a PV. To unsubscribe from these emails, change your notification settings at https://github.com/Perl/perl5/settings/notifications
[Perl/perl5] b9b8d8: Mention that int('Inf') produces Inf which isn't a...
Branch: refs/heads/blead Home: https://github.com/Perl/perl5 Commit: b9b8d81ba6805aec56f0f3b6e95722b12327b271 https://github.com/Perl/perl5/commit/b9b8d81ba6805aec56f0f3b6e95722b12327b271 Author: E. Choroba Date: 2024-09-05 (Thu, 05 Sep 2024) Changed paths: M pod/perlfunc.pod Log Message: --- Mention that int('Inf') produces Inf which isn't an integer There are still people surprised by it, e.g. https://www.perlmonks.org/?node_id=11159579 To unsubscribe from these emails, change your notification settings at https://github.com/Perl/perl5/settings/notifications
[Perl/perl5] 0aa33f: Add const to parameter to sv_catpv_flags
Branch: refs/heads/blead Home: https://github.com/Perl/perl5 Commit: 0aa33fc350d54d82967dd6eaa11aa498b2dca88e https://github.com/Perl/perl5/commit/0aa33fc350d54d82967dd6eaa11aa498b2dca88e Author: Karl Williamson Date: 2024-09-02 (Mon, 02 Sep 2024) Changed paths: M embed.fnc M proto.h M sv.c Log Message: --- Add const to parameter to sv_catpv_flags The function it merely wraps is const, so this causes the actual declaration in the code to match the prototype forward declaration Commit: 196b78287fd3cdcb9bcb14f3b8ee72b9f76f4452 https://github.com/Perl/perl5/commit/196b78287fd3cdcb9bcb14f3b8ee72b9f76f4452 Author: Karl Williamson Date: 2024-09-02 (Mon, 02 Sep 2024) Changed paths: M embed.fnc M mathoms.c M proto.h M sv.h Log Message: --- Make perlapi args consistent wrt const for sv_catsv These all end up calling the same base level function whose arguments include const. This changes the other functions so that everything matches. Compare: https://github.com/Perl/perl5/compare/a091427ee8a2...196b78287fd3 To unsubscribe from these emails, change your notification settings at https://github.com/Perl/perl5/settings/notifications
[Perl/perl5] a09142: Fix \d script run with unusual Unicode data layout
Branch: refs/heads/blead Home: https://github.com/Perl/perl5 Commit: a091427ee8a210221dc488b4d263632edc72e29c https://github.com/Perl/perl5/commit/a091427ee8a210221dc488b4d263632edc72e29c Author: Karl Williamson Date: 2024-09-02 (Mon, 02 Sep 2024) Changed paths: M regexec.c M t/re/script_run.t Log Message: --- Fix \d script run with unusual Unicode data layout This fixes GH #22535 Unicode guarantees that \d code points occur in groups of 10 consecutive ones, with the lowest having a numeric value of 0 and the highest having a value of 9. A script run in a regular expression pattern matches only characters in a single script. Further, if more than a single digit is matched, all must come from the same group of 10 consecutive code points. The 'Common' script has many such groups, not just 0-9. Perl's implementation assumed that all groups were isolated from each other in the Unicode ordering of code points. This is true in all but one case where there are 5 groups which adjoin each other. This commit changes the implementation to be cognizant of this possibility. To unsubscribe from these emails, change your notification settings at https://github.com/Perl/perl5/settings/notifications
[Perl/perl5] 8038d0: op.c: Improve invmap_dump output
Branch: refs/heads/blead Home: https://github.com/Perl/perl5 Commit: 8038d05097cbe358d957e77fa7fb1c96cdf0a900 https://github.com/Perl/perl5/commit/8038d05097cbe358d957e77fa7fb1c96cdf0a900 Author: Karl Williamson Date: 2024-09-02 (Mon, 02 Sep 2024) Changed paths: M op.c Log Message: --- op.c: Improve invmap_dump output An inversion map is a basic data structure for handling Unicode. Currently the only place where it is output from C is in op.c. This code had problems with keeping columns vertically aligned. This commit fixes that, and makes the output look more generally harmonious Here's an example before this commit: [0] 0x .. 0x0060TR_UNLISTED [1] 0x0061 .. 0x007A0x0061 [2] 0x007B .. 0x007FTR_UNLISTED [3] 0x0080 .. 0x07FFTR_UNLISTED [4] 0x0800 .. 0xTR_UNLISTED [5] 0x1 .. 0x1F TR_UNLISTED [6] 0x20 .. 0x3FF TR_UNLISTED [7] 0x400 .. 0x7FFF TR_UNLISTED [8] 0x8000 .. 0xF TR_UNLISTED [9] 0x10 .. INFTY TR_UNLISTED and after: [0]0 .. 0x60 TR_UNLISTED [1] 0x61 .. 0x7A 0x61 [2] 0x7B .. 0x7F TR_UNLISTED [3] 0x80 .. 0x7FFTR_UNLISTED [4]0x800 .. 0x TR_UNLISTED [5] 0x1 .. 0x1F TR_UNLISTED [6] 0x20 .. 0x3FFTR_UNLISTED [7]0x400 .. 0x7FFF TR_UNLISTED [8] 0x8000 .. 0xF TR_UNLISTED [9] 0x10 .. INFINITY TR_UNLISTED To unsubscribe from these emails, change your notification settings at https://github.com/Perl/perl5/settings/notifications
[Perl/perl5] 39bc95: autodoc: Handle pTHX on no-long name functions
Branch: refs/heads/blead Home: https://github.com/Perl/perl5 Commit: 39bc95211a3a54cf32644d2847ca4c635ee2eceb https://github.com/Perl/perl5/commit/39bc95211a3a54cf32644d2847ca4c635ee2eceb Author: Karl Williamson Date: 2024-09-01 (Sun, 01 Sep 2024) Changed paths: M autodoc.pl Log Message: --- autodoc: Handle pTHX on no-long name functions There are currently three functions that have an implicit thread context parameter that don't have long names. (A long name is prefixed with 'Perl_' or 'S_'.) Prior to this commit they were displayed in perlapi without that parameter. The three are Perl_localeconv, PerlIO_apply_layers, and PerlIO_binmode. To unsubscribe from these emails, change your notification settings at https://github.com/Perl/perl5/settings/notifications
[Perl/perl5] 6e151f: perlapi: TAINT_(NOT|(WARN_)?get) have no args
Branch: refs/heads/blead Home: https://github.com/Perl/perl5 Commit: 6e151f3a57a4407a9eff7cefdca007635b902567 https://github.com/Perl/perl5/commit/6e151f3a57a4407a9eff7cefdca007635b902567 Author: Karl Williamson Date: 2024-08-31 (Sat, 31 Aug 2024) Changed paths: M perl.h Log Message: --- perlapi: TAINT_(NOT|(WARN_)?get) have no args Commit: ba7a409cbb92c13079cc1a43e22e3e81b55fd248 https://github.com/Perl/perl5/commit/ba7a409cbb92c13079cc1a43e22e3e81b55fd248 Author: Karl Williamson Date: 2024-08-31 (Sat, 31 Aug 2024) Changed paths: M perlio.h Log Message: --- perlapi: PERLIO_FUNCS_CAST is not a typedef Compare: https://github.com/Perl/perl5/compare/5f10dce910f1...ba7a409cbb92 To unsubscribe from these emails, change your notification settings at https://github.com/Perl/perl5/settings/notifications
[Perl/perl5] 5f10dc: perlapi: NUM2PTR is not a typedef
Branch: refs/heads/blead Home: https://github.com/Perl/perl5 Commit: 5f10dce910f1bffa2eda1a71c741e07fb28dd43c https://github.com/Perl/perl5/commit/5f10dce910f1bffa2eda1a71c741e07fb28dd43c Author: Karl Williamson Date: 2024-08-31 (Sat, 31 Aug 2024) Changed paths: M perl.h Log Message: --- perlapi: NUM2PTR is not a typedef To unsubscribe from these emails, change your notification settings at https://github.com/Perl/perl5/settings/notifications
[Perl/perl5] 630f57: locale.c: Add note about unapplied patch, just in ...
Branch: refs/heads/blead Home: https://github.com/Perl/perl5 Commit: 630f576b597456e9e6c5ea5419ca136207b7df05 https://github.com/Perl/perl5/commit/630f576b597456e9e6c5ea5419ca136207b7df05 Author: Karl Williamson Date: 2024-08-31 (Sat, 31 Aug 2024) Changed paths: M locale.c Log Message: --- locale.c: Add note about unapplied patch, just in case To unsubscribe from these emails, change your notification settings at https://github.com/Perl/perl5/settings/notifications
[Perl/perl5] ebd220: perlapi: lex_stuff_pvs is a macro
Branch: refs/heads/blead Home: https://github.com/Perl/perl5 Commit: ebd220d1ce6c7987620e7e04b92a7238f05fd47c https://github.com/Perl/perl5/commit/ebd220d1ce6c7987620e7e04b92a7238f05fd47c Author: Karl Williamson Date: 2024-08-31 (Sat, 31 Aug 2024) Changed paths: M handy.h Log Message: --- perlapi: lex_stuff_pvs is a macro Commit: 9ee620f9ae8fdeff69c690e2e8ca2af1d94c152d https://github.com/Perl/perl5/commit/9ee620f9ae8fdeff69c690e2e8ca2af1d94c152d Author: Karl Williamson Date: 2024-08-31 (Sat, 31 Aug 2024) Changed paths: M hv.h Log Message: --- perlapi: hv_existss is a macro Commit: 9a4d08ba0a464f5a318cdbfe78bfe145ec0b470a https://github.com/Perl/perl5/commit/9a4d08ba0a464f5a318cdbfe78bfe145ec0b470a Author: Karl Williamson Date: 2024-08-31 (Sat, 31 Aug 2024) Changed paths: M pod/perlapio.pod Log Message: --- perlapi: The API elements are functions, not macros Compare: https://github.com/Perl/perl5/compare/ebf6b88163d9...9a4d08ba0a46 To unsubscribe from these emails, change your notification settings at https://github.com/Perl/perl5/settings/notifications
[Perl/perl5] acf02c: Remove docs of broken SAVELONG and SAVEt_LONG
Branch: refs/heads/blead Home: https://github.com/Perl/perl5 Commit: acf02c631c6e86be601706a865c38244cf44d346 https://github.com/Perl/perl5/commit/acf02c631c6e86be601706a865c38244cf44d346 Author: Karl Williamson Date: 2024-08-28 (Wed, 28 Aug 2024) Changed paths: M pod/perlguts.pod M regen/scope_types.pl M scope.c M scope_types.h M sv.c Log Message: --- Remove docs of broken SAVELONG and SAVEt_LONG This macro can't work, because it calls a non-existent function: save_long(); The accomanying SAVEt_LONG is useless as a result. To unsubscribe from these emails, change your notification settings at https://github.com/Perl/perl5/settings/notifications
[Perl/perl5] 6de3b5: Perl_is_in_locale_category(): return false if no l...
Branch: refs/heads/blead Home: https://github.com/Perl/perl5 Commit: 6de3b519ecbf4f779932bcfca9f75b4115b2b25a https://github.com/Perl/perl5/commit/6de3b519ecbf4f779932bcfca9f75b4115b2b25a Author: Karl Williamson Date: 2024-08-28 (Wed, 28 Aug 2024) Changed paths: M locale.c Log Message: --- Perl_is_in_locale_category(): return false if no locales To unsubscribe from these emails, change your notification settings at https://github.com/Perl/perl5/settings/notifications
[Perl/perl5] f801d6: Clarify pod for utf8n_to_uvchr()
Branch: refs/heads/blead Home: https://github.com/Perl/perl5 Commit: f801d6126cac3d4f1edfc13ea4c4ea85f1763098 https://github.com/Perl/perl5/commit/f801d6126cac3d4f1edfc13ea4c4ea85f1763098 Author: Karl Williamson Date: 2024-08-28 (Wed, 28 Aug 2024) Changed paths: M utf8.c Log Message: --- Clarify pod for utf8n_to_uvchr() To unsubscribe from these emails, change your notification settings at https://github.com/Perl/perl5/settings/notifications
[Perl/perl5] f8647d: toke.c: Use clearer synonyms
Branch: refs/heads/blead Home: https://github.com/Perl/perl5 Commit: f8647d3280614d4c72a4ce4e0ee3c20535be74ca https://github.com/Perl/perl5/commit/f8647d3280614d4c72a4ce4e0ee3c20535be74ca Author: Karl Williamson Date: 2024-08-27 (Tue, 27 Aug 2024) Changed paths: M toke.c M utf8.h Log Message: --- toke.c: Use clearer synonyms MARK here is very internal to UTF-8 guts. This creates a clearer synonym for it and uses that in a macro defintion instead of the older, less clear name. Two of the toke.c uses of MARK are replaced by the macro, and the third and final one by the new synonym. To unsubscribe from these emails, change your notification settings at https://github.com/Perl/perl5/settings/notifications
[Perl/perl5] 745e42: Upstream Cygwin hints patches
Branch: refs/heads/blead Home: https://github.com/Perl/perl5 Commit: 745e4276bef9c9c70cfb6ac3dc30311fe20a359a https://github.com/Perl/perl5/commit/745e4276bef9c9c70cfb6ac3dc30311fe20a359a Author: Max Maischein Date: 2024-08-26 (Mon, 26 Aug 2024) Changed paths: M hints/cygwin.sh Log Message: --- Upstream Cygwin hints patches From https://cygwin.com/git-cygwin-packages/?p=git/cygwin-packages/perl.git;a=blob_plain;f=perl.cygwin-hints.patch;hb=de363db36fa754fcee9e07d13aec1eed571cf0dc # Conflicts: # hints/cygwin.sh Commit: 44c2a9a864064ac3ca9f2359bc756394621bad7d https://github.com/Perl/perl5/commit/44c2a9a864064ac3ca9f2359bc756394621bad7d Author: Max Maischein Date: 2024-08-26 (Mon, 26 Aug 2024) Changed paths: M hints/cygwin.sh Log Message: --- Fix typo Compare: https://github.com/Perl/perl5/compare/1393a70a4fd3...44c2a9a86406 To unsubscribe from these emails, change your notification settings at https://github.com/Perl/perl5/settings/notifications
[Perl/perl5] f863a1: Handle module extension/suffix earlier in corelist...
Branch: refs/heads/blead Home: https://github.com/Perl/perl5 Commit: f863a123fcf1fdff2257577fb7ab92fbabc69bd5 https://github.com/Perl/perl5/commit/f863a123fcf1fdff2257577fb7ab92fbabc69bd5 Author: E. Choroba Date: 2024-08-26 (Mon, 26 Aug 2024) Changed paths: M Porting/corelist.pl Log Message: --- Handle module extension/suffix earlier in corelist update This makes Devel::PPPort less special and handles Pod-Functions/Functions_pm.PL correctly. Commit: 1393a70a4fd3a18721b73666ca0929d26402c79a https://github.com/Perl/perl5/commit/1393a70a4fd3a18721b73666ca0929d26402c79a Author: E. Choroba Date: 2024-08-26 (Mon, 26 Aug 2024) Changed paths: M dist/Module-CoreList/lib/Module/CoreList.pm Log Message: --- Remove Pod::Functions::Functions from CoreList There's no such module and there never has been. Compare: https://github.com/Perl/perl5/compare/5e9f734a7d12...1393a70a4fd3 To unsubscribe from these emails, change your notification settings at https://github.com/Perl/perl5/settings/notifications
[Perl/perl5] 5e9f73: regen/embed.pl: Set flag to avoid rematching pattern
Branch: refs/heads/blead Home: https://github.com/Perl/perl5 Commit: 5e9f734a7d127f38340a649580b5931e5212ebbc https://github.com/Perl/perl5/commit/5e9f734a7d127f38340a649580b5931e5212ebbc Author: Karl Williamson Date: 2024-08-26 (Mon, 26 Aug 2024) Changed paths: M regen/embed.pl Log Message: --- regen/embed.pl: Set flag to avoid rematching pattern To unsubscribe from these emails, change your notification settings at https://github.com/Perl/perl5/settings/notifications
[Perl/perl5] 319f5a: malformed utf8 message: use symbol instead of magi...
Branch: refs/heads/blead Home: https://github.com/Perl/perl5 Commit: 319f5a3f97321d046129e17a6891f37b12847979 https://github.com/Perl/perl5/commit/319f5a3f97321d046129e17a6891f37b12847979 Author: Branislav ZahradnÃk Date: 2024-08-26 (Mon, 26 Aug 2024) Changed paths: M doop.c M handy.h M pp_pack.c M regexec.c M toke.c M utf8.c M utf8.h Log Message: --- malformed utf8 message: use symbol instead of magic number with comment symbols expressing meaning are easier to understand, easier to grep, as well as resistant to change value without changing comment To unsubscribe from these emails, change your notification settings at https://github.com/Perl/perl5/settings/notifications
[Perl/perl5] 518c37: perl.c: Add locks around a *environ access
Branch: refs/heads/blead Home: https://github.com/Perl/perl5 Commit: 518c3703337833367ac41bf2e225d51b3d033aad https://github.com/Perl/perl5/commit/518c3703337833367ac41bf2e225d51b3d033aad Author: Karl Williamson Date: 2024-08-26 (Mon, 26 Aug 2024) Changed paths: M perl.c Log Message: --- perl.c: Add locks around a *environ access When reading the environment, a read lock is needed; when writing, a write lock. To unsubscribe from these emails, change your notification settings at https://github.com/Perl/perl5/settings/notifications
[Perl/perl5] 137b03: porting/diag.t: Fix grammar in comment
Branch: refs/heads/blead Home: https://github.com/Perl/perl5 Commit: 137b03f3c865b2b5b9389b82bb915fd26e503010 https://github.com/Perl/perl5/commit/137b03f3c865b2b5b9389b82bb915fd26e503010 Author: Karl Williamson Date: 2024-08-26 (Mon, 26 Aug 2024) Changed paths: M t/porting/diag.t Log Message: --- porting/diag.t: Fix grammar in comment Commit: de47acdded3b5250735c103b8699723f64965c99 https://github.com/Perl/perl5/commit/de47acdded3b5250735c103b8699723f64965c99 Author: Karl Williamson Date: 2024-08-26 (Mon, 26 Aug 2024) Changed paths: M regexec.c Log Message: --- regexec.c: Fix typo in comment Compare: https://github.com/Perl/perl5/compare/f37395a6f0c9...de47acdded3b To unsubscribe from these emails, change your notification settings at https://github.com/Perl/perl5/settings/notifications
[Perl/perl5] 34d969: t/tr.t: Add test case
Branch: refs/heads/blead Home: https://github.com/Perl/perl5 Commit: 34d9693e57b11b0ee7c74c4981facac0091db166 https://github.com/Perl/perl5/commit/34d9693e57b11b0ee7c74c4981facac0091db166 Author: Karl Williamson Date: 2024-08-24 (Sat, 24 Aug 2024) Changed paths: M t/op/tr.t Log Message: --- t/tr.t: Add test case While debugging, I noticed that some code in doop.c:S_trans_simple() was not getting called by anything in our test suite; this new test does so. To unsubscribe from these emails, change your notification settings at https://github.com/Perl/perl5/settings/notifications
[Perl/perl5] 3b554f: podcheck db: Add link to Test::Smoke
Branch: refs/heads/blead Home: https://github.com/Perl/perl5 Commit: 3b554fd1dc1392731b72492bb5e72f7b0440c94a https://github.com/Perl/perl5/commit/3b554fd1dc1392731b72492bb5e72f7b0440c94a Author: Karl Williamson Date: 2024-08-23 (Fri, 23 Aug 2024) Changed paths: M t/porting/known_pod_issues.dat Log Message: --- podcheck db: Add link to Test::Smoke To unsubscribe from these emails, change your notification settings at https://github.com/Perl/perl5/settings/notifications
[Perl/perl5] ce566b: perlcall: Note that plain GIMME is deprecated
Branch: refs/heads/blead Home: https://github.com/Perl/perl5 Commit: ce566bba8c421067e7b5a4d6e1ed39e549b4bc13 https://github.com/Perl/perl5/commit/ce566bba8c421067e7b5a4d6e1ed39e549b4bc13 Author: Karl Williamson Date: 2024-08-23 (Fri, 23 Aug 2024) Changed paths: M pod/perlcall.pod Log Message: --- perlcall: Note that plain GIMME is deprecated Don't mention it without also mentioning that it is deprecated to use. To unsubscribe from these emails, change your notification settings at https://github.com/Perl/perl5/settings/notifications
[Perl/perl5] 31da15: op.c: Move comments to earlier in the file
Branch: refs/heads/blead Home: https://github.com/Perl/perl5 Commit: 31da15a9060df7af55ac441fcfe9069da219a600 https://github.com/Perl/perl5/commit/31da15a9060df7af55ac441fcfe9069da219a600 Author: Karl Williamson Date: 2024-08-21 (Wed, 21 Aug 2024) Changed paths: M op.c Log Message: --- op.c: Move comments to earlier in the file A future commit will want this explanation earlier than it now is. Commit: ef8cf18d335978f11320e3617527067f1f8aab31 https://github.com/Perl/perl5/commit/ef8cf18d335978f11320e3617527067f1f8aab31 Author: Karl Williamson Date: 2024-08-21 (Wed, 21 Aug 2024) Changed paths: M op.c Log Message: --- op.c: Outdent and reflow comments Commit: bef12f496e53bc3f5e2ce74d0c81af299b53795a https://github.com/Perl/perl5/commit/bef12f496e53bc3f5e2ce74d0c81af299b53795a Author: Karl Williamson Date: 2024-08-21 (Wed, 21 Aug 2024) Changed paths: M op.c Log Message: --- op.c: Add extensive comments I was looking at this code recently, after some years away from it, and wanted to add/clarify some comments that were obvious to me back then, but not so much now. Commit: f237dbfc9c35dce40cfa6ce86fa9eef98b0308df https://github.com/Perl/perl5/commit/f237dbfc9c35dce40cfa6ce86fa9eef98b0308df Author: Karl Williamson Date: 2024-08-21 (Wed, 21 Aug 2024) Changed paths: M op.c Log Message: --- op.c: Refactor a table initialization This refactors the initialization of PL_partition_by_byte_length[]. This does not change any of the values in it, but its derivation is clearer. Commit: 803ddf6f76207ec154ca89beb64bacb16df033ad https://github.com/Perl/perl5/commit/803ddf6f76207ec154ca89beb64bacb16df033ad Author: Karl Williamson Date: 2024-08-21 (Wed, 21 Aug 2024) Changed paths: M op.c Log Message: --- op.c: Move code to within DEBUG A DEBUG_y statement can have actual code blocks in it rather than an expression. This moves two such blocks to within an overarching DEBUG, rather than having multiple DEBUG statements. Commit: 04b908067c369a03778133087324714ba0aa1d3b https://github.com/Perl/perl5/commit/04b908067c369a03778133087324714ba0aa1d3b Author: Karl Williamson Date: 2024-08-21 (Wed, 21 Aug 2024) Changed paths: M op.c Log Message: --- op.c: Add information to a DEBUG statement Commit: f3f63e259047aff551ce1bcd59226833825d7655 https://github.com/Perl/perl5/commit/f3f63e259047aff551ce1bcd59226833825d7655 Author: Karl Williamson Date: 2024-08-21 (Wed, 21 Aug 2024) Changed paths: M op.c Log Message: --- op.c: Add DEBUG statement Compare: https://github.com/Perl/perl5/compare/3e9966655bfa...f3f63e259047 To unsubscribe from these emails, change your notification settings at https://github.com/Perl/perl5/settings/notifications
[Perl/perl5] 3e9966: my_strnlen() Do assert() before the op it protects...
Branch: refs/heads/blead Home: https://github.com/Perl/perl5 Commit: 3e9966655bfaa2abd81100473235baddd01f91c9 https://github.com/Perl/perl5/commit/3e9966655bfaa2abd81100473235baddd01f91c9 Author: Karl Williamson Date: 2024-08-21 (Wed, 21 Aug 2024) Changed paths: M inline.h Log Message: --- my_strnlen() Do assert() before the op it protects against The initialization of this variable should always have been split off from the declaration and done after the assert() that PERL_ARGS_ASSERT macro expands to. But in C99 we can just swap the lines and leave the declaration and initialization joined. To unsubscribe from these emails, change your notification settings at https://github.com/Perl/perl5/settings/notifications
[Perl/perl5] 56bb21: perldelta for tr/// optimization
Branch: refs/heads/blead Home: https://github.com/Perl/perl5 Commit: 56bb21d19812a24699b3ecc0d9dd30bc7fc63f4e https://github.com/Perl/perl5/commit/56bb21d19812a24699b3ecc0d9dd30bc7fc63f4e Author: Karl Williamson Date: 2024-08-21 (Wed, 21 Aug 2024) Changed paths: M pod/perldelta.pod Log Message: --- perldelta for tr/// optimization To unsubscribe from these emails, change your notification settings at https://github.com/Perl/perl5/settings/notifications
[Perl/perl5] d67896: perlfunc: Clarify tr entry return
Branch: refs/heads/blead Home: https://github.com/Perl/perl5 Commit: d67896a03348d3896e30ec98828570b66bafb89a https://github.com/Perl/perl5/commit/d67896a03348d3896e30ec98828570b66bafb89a Author: Karl Williamson Date: 2024-08-19 (Mon, 19 Aug 2024) Changed paths: M pod/perlop.pod Log Message: --- perlfunc: Clarify tr entry return /r changes the return from a count to the transliterated result. This was not very clearly indicated in the pod. To unsubscribe from these emails, change your notification settings at https://github.com/Perl/perl5/settings/notifications
[Perl/perl5] 10910b: regen/op_private: Swap two flag bit positions
Branch: refs/heads/blead Home: https://github.com/Perl/perl5 Commit: 10910b4a25d43c670f4d7bdb5dc171da279efc85 https://github.com/Perl/perl5/commit/10910b4a25d43c670f4d7bdb5dc171da279efc85 Author: Karl Williamson Date: 2024-08-19 (Mon, 19 Aug 2024) Changed paths: M lib/B/Op_private.pm M opcode.h M regen/op_private Log Message: --- regen/op_private: Swap two flag bit positions This makes two flags adjacent so that the next commit can make them into a bitfield Commit: eb41bcda6274894ee8303a3a6cb2424babdad6c4 https://github.com/Perl/perl5/commit/eb41bcda6274894ee8303a3a6cb2424babdad6c4 Author: Karl Williamson Date: 2024-08-19 (Mon, 19 Aug 2024) Changed paths: M doop.c M lib/B/Op_private.pm M op.c M opcode.h M regen/op_private Log Message: --- op_private: Combine two bits into a bitfield One of these two bits is a proper subset of the other, so there is no loss of generality in making them part of essentially an enum. This will allow the next commit to add a third possibility without needing an extra bit (which we don't have available). Commit: 5e25aa6c24ba9daae8871071d4273a940c7a4714 https://github.com/Perl/perl5/commit/5e25aa6c24ba9daae8871071d4273a940c7a4714 Author: Karl Williamson Date: 2024-08-19 (Mon, 19 Aug 2024) Changed paths: M doop.c M lib/B/Op_private.pm M op.c M opcode.h M regen/op_private Log Message: --- Add an optimization to tr/// operating on UTF-8 strings It is frequently the case that the operands of tr are only ASCII-range characters, such as tr/A-Z/a-z/. In that case, it doesn't matter if the SV they are transliterating is encoded as UTF-8 and contains lots of non-ASCII characters. Those don't get touched by the tr. That means we can treat all SVs passed to this as non-UTF-8, skipping the more expensive code that deals with UTF-8. Compare: https://github.com/Perl/perl5/compare/8905a602946e...5e25aa6c24ba To unsubscribe from these emails, change your notification settings at https://github.com/Perl/perl5/settings/notifications
[Perl/perl5] db77fa: autodoc: Use function signatures feature
Branch: refs/heads/blead Home: https://github.com/Perl/perl5 Commit: db77faf9d2be1d9f6366127eae85598a62792b2d https://github.com/Perl/perl5/commit/db77faf9d2be1d9f6366127eae85598a62792b2d Author: Karl Williamson Date: 2024-08-18 (Sun, 18 Aug 2024) Changed paths: M autodoc.pl Log Message: --- autodoc: Use function signatures feature To unsubscribe from these emails, change your notification settings at https://github.com/Perl/perl5/settings/notifications
[Perl/perl5] 05465e: [toke.c] Move duplicated code into function `S_sca...
Branch: refs/heads/blead Home: https://github.com/Perl/perl5 Commit: 05465e2998a527c00d67b3dce6a3c34e757942f7 https://github.com/Perl/perl5/commit/05465e2998a527c00d67b3dce6a3c34e757942f7 Author: Branislav ZahradnÃk Date: 2024-08-14 (Wed, 14 Aug 2024) Changed paths: M toke.c Log Message: --- [toke.c] Move duplicated code into function `S_scan_terminated` Commit: 44be42422f8084fa7881700f7bc4e7c43d61a00a https://github.com/Perl/perl5/commit/44be42422f8084fa7881700f7bc4e7c43d61a00a Author: Branislav ZahradnÃk Date: 2024-08-14 (Wed, 14 Aug 2024) Changed paths: M toke.c Log Message: --- [toke.c] Move population of ival into scan_terminated Commit: 3a889e4a54158bd1e8fe97ca0253021a26caa5a0 https://github.com/Perl/perl5/commit/3a889e4a54158bd1e8fe97ca0253021a26caa5a0 Author: Branislav ZahradnÃk Date: 2024-08-14 (Wed, 14 Aug 2024) Changed paths: M toke.c Log Message: --- [toke.c] Use 'scan_terminated' in double quote and backtick consistently with single quote Commit: 07c320a027484cd5878d5e3ed0aa064a35107d18 https://github.com/Perl/perl5/commit/07c320a027484cd5878d5e3ed0aa064a35107d18 Author: Branislav ZahradnÃk Date: 2024-08-14 (Wed, 14 Aug 2024) Changed paths: M embed.fnc M embed.h M proto.h M toke.c Log Message: --- [toke.c] Move duplicated code into function `S_warn_expect_operator` Commit: 043234b8da116422308bb5665fa6ba12785f7c46 https://github.com/Perl/perl5/commit/043234b8da116422308bb5665fa6ba12785f7c46 Author: Branislav ZahradnÃk Date: 2024-08-14 (Wed, 14 Aug 2024) Changed paths: M t/porting/diag.t Log Message: --- [test] Extend `porting/diag.t` to exclude some functions Excluded functions should not output their parameter(s) via printf-like format but only as argument(s) of such format. Compare: https://github.com/Perl/perl5/compare/df0dd34cc72f...043234b8da11 To unsubscribe from these emails, change your notification settings at https://github.com/Perl/perl5/settings/notifications
[Perl/perl5] dd0944: locale.c: Add debugging, work around for Darwin bug
Branch: refs/heads/blead Home: https://github.com/Perl/perl5 Commit: dd09442b4f520b407d294bebae3aa3d5b4025cc6 https://github.com/Perl/perl5/commit/dd09442b4f520b407d294bebae3aa3d5b4025cc6 Author: Karl Williamson Date: 2024-08-14 (Wed, 14 Aug 2024) Changed paths: M locale.c Log Message: --- locale.c: Add debugging, work around for Darwin bug I just discovered that the libc function nl_langinfo() can unexpectedly return an empty string on z/OS. I added a panic when this happens to help debug the issue, and found out that an empty string is returnable on Darwin as well, and who knows on what other platforms. This is not supposed to happen when the function is given legal inputs, as it is here. The behavior is different between the two platforms. So far, Darwin has only done this for the CODESET query. Doing some debugging on that platform seems to indicate that the bug is that the OS is only looking at the locale name to find the codeset, whereas that name can be a simplified alias for the real locale. The actual codeset requires actually opening the definition file and reading it. This is something that glibc, for example, seems to be doing. I have found many instances on various platforms where the locale name clearly is the wrong codeset, whereas the one returned by nl_langinfo() is. A major use internally of nl_langinfo() is to determine if the LC_CTYPE locale is UTF-8 or not. But there are other methods to determine this that we already turn to when nl_langinfo() is not available. This is the first indication I've seen of buggy implementations of this function. The other methods are reliable. This commit allows a hints file to indicate that the CODESET part of nl_langinfo() is buggy, and to use those other methods for UTF8ness determination. I expect that a non-empty nl_langinfo() return is the correct codeset on Darwin; it really isn't feasible for perl to bypass the system call designed to return the desired information and try to get at it ourselves. Much code doesn't need the actual codeset; just its UTF8ness is the typical need, so this commit fixes that. It remains to be seen what else is going on, and on which platforms. This commit makes the panic display enough information, should it happen, to indicate a path for debugging. Commit: df0dd34cc72f566dbf32f671128e0744211cae4d https://github.com/Perl/perl5/commit/df0dd34cc72f566dbf32f671128e0744211cae4d Author: Karl Williamson Date: 2024-08-14 (Wed, 14 Aug 2024) Changed paths: M hints/darwin.sh Log Message: --- hints/darwin.sh: Enable darwin bug workaround This workaround was added in the previous commit Compare: https://github.com/Perl/perl5/compare/a64758401645...df0dd34cc72f To unsubscribe from these emails, change your notification settings at https://github.com/Perl/perl5/settings/notifications
[Perl/perl5] a64758: makedef.pl: Export character xlation symbols if no...
Branch: refs/heads/blead Home: https://github.com/Perl/perl5 Commit: a64758401645c5fbc4a2f5994838ef58221eb8dd https://github.com/Perl/perl5/commit/a64758401645c5fbc4a2f5994838ef58221eb8dd Author: Karl Williamson Date: 2024-08-14 (Wed, 14 Aug 2024) Changed paths: M makedef.pl Log Message: --- makedef.pl: Export character xlation symbols if non-ASCII Otherwise porting/globvar.t fails when run on a non-ASCII box To unsubscribe from these emails, change your notification settings at https://github.com/Perl/perl5/settings/notifications
[Perl/perl5] 62f839: f
Branch: refs/heads/smoke-me/khw-locale_panic Home: https://github.com/Perl/perl5 Commit: 62f839ad479c54a5bbd6fa0c391474d85153aa49 https://github.com/Perl/perl5/commit/62f839ad479c54a5bbd6fa0c391474d85153aa49 Author: Karl Williamson Date: 2024-08-07 (Wed, 07 Aug 2024) Changed paths: M hints/darwin.sh M locale.c Log Message: --- f To unsubscribe from these emails, change your notification settings at https://github.com/Perl/perl5/settings/notifications
[Perl/perl5] 75e6a6: POSIX/t/time.t: OS390 also doesn't know %s in strf...
Branch: refs/heads/blead Home: https://github.com/Perl/perl5 Commit: 75e6a6c5c88cae04bee26f907d9797ceac9d3afd https://github.com/Perl/perl5/commit/75e6a6c5c88cae04bee26f907d9797ceac9d3afd Author: Karl Williamson Date: 2024-08-07 (Wed, 07 Aug 2024) Changed paths: M ext/POSIX/t/time.t Log Message: --- POSIX/t/time.t: OS390 also doesn't know %s in strftime To unsubscribe from these emails, change your notification settings at https://github.com/Perl/perl5/settings/notifications
[Perl/perl5] ae64b1: uni/package.t: Extend to work on EBCDIC
Branch: refs/heads/blead Home: https://github.com/Perl/perl5 Commit: ae64b1786999f3ce38de0a53a08789594ca9903a https://github.com/Perl/perl5/commit/ae64b1786999f3ce38de0a53a08789594ca9903a Author: Karl Williamson Date: 2024-08-07 (Wed, 07 Aug 2024) Changed paths: M t/uni/package.t Log Message: --- uni/package.t: Extend to work on EBCDIC To unsubscribe from these emails, change your notification settings at https://github.com/Perl/perl5/settings/notifications
[Perl/perl5] 50f131: t/op/tr.t: Extend to work with EBCDIC
Branch: refs/heads/blead Home: https://github.com/Perl/perl5 Commit: 50f131584214d654bb79c86dc6e3a5612483c620 https://github.com/Perl/perl5/commit/50f131584214d654bb79c86dc6e3a5612483c620 Author: Karl Williamson Date: 2024-08-07 (Wed, 07 Aug 2024) Changed paths: M t/op/tr.t Log Message: --- t/op/tr.t: Extend to work with EBCDIC To unsubscribe from these emails, change your notification settings at https://github.com/Perl/perl5/settings/notifications
[Perl/perl5] db224a: toke.c: Fix to compile under EBCDIC
Branch: refs/heads/blead Home: https://github.com/Perl/perl5 Commit: db224a87b67e15e4046731c490077d32c7011830 https://github.com/Perl/perl5/commit/db224a87b67e15e4046731c490077d32c7011830 Author: Karl Williamson Date: 2024-08-07 (Wed, 07 Aug 2024) Changed paths: M toke.c Log Message: --- toke.c: Fix to compile under EBCDIC On a non-ASCII platform this would not compile because it was incrementing a const. To unsubscribe from these emails, change your notification settings at https://github.com/Perl/perl5/settings/notifications
[Perl/perl5] 1bc1c9: utf8.h: Add UTF8_MIN_CONTINUATION_BYTE
Branch: refs/heads/blead Home: https://github.com/Perl/perl5 Commit: 1bc1c9a059fe9fcc7549b99f3528ed4237f75cd6 https://github.com/Perl/perl5/commit/1bc1c9a059fe9fcc7549b99f3528ed4237f75cd6 Author: Karl Williamson Date: 2024-08-07 (Wed, 07 Aug 2024) Changed paths: M utf8.h Log Message: --- utf8.h: Add UTF8_MIN_CONTINUATION_BYTE Commit: 17beddaeb47eeb683256b1281ed1f0640e450e0f https://github.com/Perl/perl5/commit/17beddaeb47eeb683256b1281ed1f0640e450e0f Author: Karl Williamson Date: 2024-08-07 (Wed, 07 Aug 2024) Changed paths: M regcomp.c Log Message: --- regcomp: regnode ANYOFHbbm was broken on EBCDIC It needs the new constant created in the previous commit Compare: https://github.com/Perl/perl5/compare/2f41666252e1...17beddaeb47e To unsubscribe from these emails, change your notification settings at https://github.com/Perl/perl5/settings/notifications
[Perl/perl5] 2f4166: Extend newAV.t to work on EBCDIC
Branch: refs/heads/blead Home: https://github.com/Perl/perl5 Commit: 2f41666252e18ccf7c72a6a8b5a654ec04db8bc9 https://github.com/Perl/perl5/commit/2f41666252e18ccf7c72a6a8b5a654ec04db8bc9 Author: Karl Williamson Date: 2024-08-07 (Wed, 07 Aug 2024) Changed paths: M ext/XS-APItest/t/newAV.t Log Message: --- Extend newAV.t to work on EBCDIC To unsubscribe from these emails, change your notification settings at https://github.com/Perl/perl5/settings/notifications
[Perl/perl5] f42fcb: Data::Dumper: skip ASCII-centric tests on EBCDIC
Branch: refs/heads/blead Home: https://github.com/Perl/perl5 Commit: f42fcbb31aee3c14e5106b0947af64939832f77a https://github.com/Perl/perl5/commit/f42fcbb31aee3c14e5106b0947af64939832f77a Author: Karl Williamson Date: 2024-08-07 (Wed, 07 Aug 2024) Changed paths: M dist/Data-Dumper/t/qquote.t Log Message: --- Data::Dumper: skip ASCII-centric tests on EBCDIC To unsubscribe from these emails, change your notification settings at https://github.com/Perl/perl5/settings/notifications
[Perl/perl5] a480a6: Langinfo.t: Fix broken pattern
Branch: refs/heads/blead Home: https://github.com/Perl/perl5 Commit: a480a6ef1674131d48609c3398119f3aaa16fe0a https://github.com/Perl/perl5/commit/a480a6ef1674131d48609c3398119f3aaa16fe0a Author: Karl Williamson Date: 2024-08-07 (Wed, 07 Aug 2024) Changed paths: M ext/I18N-Langinfo/t/Langinfo.t Log Message: --- Langinfo.t: Fix broken pattern /[+-.]/ was supposed to match the three characters listed in it, but the minus is in the middle, meaning it matched a range, which turns out to be those three characters plus a comma (on ASCII platforms). On EBCDIC platforms, this is an error since the range would go backwards. To unsubscribe from these emails, change your notification settings at https://github.com/Perl/perl5/settings/notifications
[Perl/perl5] e52ee9: locale.c: panic on empty langinfo return
Branch: refs/heads/smoke-me/khw-locale_panic Home: https://github.com/Perl/perl5 Commit: e52ee91e4e044bc299d9326412af4edec4424848 https://github.com/Perl/perl5/commit/e52ee91e4e044bc299d9326412af4edec4424848 Author: Karl Williamson Date: 2024-08-06 (Tue, 06 Aug 2024) Changed paths: M locale.c Log Message: --- locale.c: panic on empty langinfo return Something is seriously wrong if nl_langinfo can't find the codeset of the current locale, or the decimal point string, or any of several other things. Don't try to continue if this happens. Commit: 21c3e4e1cc794b7ac730179a4afa43803cdd61e5 https://github.com/Perl/perl5/commit/21c3e4e1cc794b7ac730179a4afa43803cdd61e5 Author: Karl Williamson Date: 2024-08-06 (Tue, 06 Aug 2024) Changed paths: M ext/I18N-Langinfo/t/Langinfo.t Log Message: --- Langinfo.t: Fix broken pattern /[+-.]/ was supposed to match the three characters listed in it, but the minus is in the middle, meaning it matched a range, which turns out to be those three characters plus a comma (on ASCII platforms). On EBCDIC platforms, this is an error since the range would go backwards. Compare: https://github.com/Perl/perl5/compare/e52ee91e4e04%5E...21c3e4e1cc79 To unsubscribe from these emails, change your notification settings at https://github.com/Perl/perl5/settings/notifications
[Perl/perl5] 2f84f7: runenv_randseed.t: Extend to work on EBCDIC
Branch: refs/heads/blead Home: https://github.com/Perl/perl5 Commit: 2f84f768054d8ff3d821e3ee52c4733b9d0f7e89 https://github.com/Perl/perl5/commit/2f84f768054d8ff3d821e3ee52c4733b9d0f7e89 Author: Karl Williamson Date: 2024-08-06 (Tue, 06 Aug 2024) Changed paths: M t/run/runenv_randseed.t Log Message: --- runenv_randseed.t: Extend to work on EBCDIC To unsubscribe from these emails, change your notification settings at https://github.com/Perl/perl5/settings/notifications
[Perl/perl5] b7d68b: ext/POSIX/t/math.t - fix for #22463
Branch: refs/heads/blead Home: https://github.com/Perl/perl5 Commit: b7d68bf9a011de5028cf9af288b607378a697dbf https://github.com/Perl/perl5/commit/b7d68bf9a011de5028cf9af288b607378a697dbf Author: sisyphus Date: 2024-08-06 (Tue, 06 Aug 2024) Changed paths: M ext/POSIX/t/math.t Log Message: --- ext/POSIX/t/math.t - fix for #22463 To unsubscribe from these emails, change your notification settings at https://github.com/Perl/perl5/settings/notifications
[Perl/perl5] 19d057: handy, move comment adjacent to #define
Branch: refs/heads/blead Home: https://github.com/Perl/perl5 Commit: 19d057c2776270f73f6e7aa3c2dd3e197dc91483 https://github.com/Perl/perl5/commit/19d057c2776270f73f6e7aa3c2dd3e197dc91483 Author: Karl Williamson Date: 2024-08-06 (Tue, 06 Aug 2024) Changed paths: M handy.h Log Message: --- handy, move comment adjacent to #define To unsubscribe from these emails, change your notification settings at https://github.com/Perl/perl5/settings/notifications
[Perl/perl5] 716d8c: autodoc: Change dictionary sort order
Branch: refs/heads/blead Home: https://github.com/Perl/perl5 Commit: 716d8cae13ac8dcd3810c3bfd4c027f65d8a5c8d https://github.com/Perl/perl5/commit/716d8cae13ac8dcd3810c3bfd4c027f65d8a5c8d Author: Karl Williamson Date: 2024-08-05 (Mon, 05 Aug 2024) Changed paths: M autodoc.pl Log Message: --- autodoc: Change dictionary sort order This makes this more in line with Data::Dumper sorting. upper/lower case continues to not matter, and numbers continue to come after letters, so that ckWARN2() comes after plain ckWARN(). It changes non-leading underscores to come before letters, so that ck_warner comes before ckWARN. And it changes so leading underscores come after non-leading, so that aMY_CXT and aMY_CXT_ come before _aMY_CXT. To unsubscribe from these emails, change your notification settings at https://github.com/Perl/perl5/settings/notifications
[Perl/perl5] 653284: autodoc: Use $variable instead of literal strings
Branch: refs/heads/blead Home: https://github.com/Perl/perl5 Commit: 6532840837ae5ca328f9fcb39367bf0f25d89b5b https://github.com/Perl/perl5/commit/6532840837ae5ca328f9fcb39367bf0f25d89b5b Author: Karl Williamson Date: 2024-08-05 (Mon, 05 Aug 2024) Changed paths: M autodoc.pl Log Message: --- autodoc: Use $variable instead of literal strings Consolidate these slightly different strings into one. This makes the maze of twisty little passages all the same. To unsubscribe from these emails, change your notification settings at https://github.com/Perl/perl5/settings/notifications
[Perl/perl5] 7cc295: autodoc: No longer need certain hash fields
Branch: refs/heads/blead Home: https://github.com/Perl/perl5 Commit: 7cc2957820110635c6919aeb3be993108b9ed7bd https://github.com/Perl/perl5/commit/7cc2957820110635c6919aeb3be993108b9ed7bd Author: Karl Williamson Date: 2024-08-04 (Sun, 04 Aug 2024) Changed paths: M autodoc.pl Log Message: --- autodoc: No longer need certain hash fields Previous commits have removed all references to these To unsubscribe from these emails, change your notification settings at https://github.com/Perl/perl5/settings/notifications
[Perl/perl5] 3c591f: autodoc: Combine two variables that have same value
Branch: refs/heads/blead Home: https://github.com/Perl/perl5 Commit: 3c591f27edde8d73a784888da58ab12b3f2d6124 https://github.com/Perl/perl5/commit/3c591f27edde8d73a784888da58ab12b3f2d6124 Author: Karl Williamson Date: 2024-08-04 (Sun, 04 Aug 2024) Changed paths: M autodoc.pl Log Message: --- autodoc: Combine two variables that have same value And use this for yet another instance, instead of repeating the string To unsubscribe from these emails, change your notification settings at https://github.com/Perl/perl5/settings/notifications
[Perl/perl5] fbda4a: autodoc: Fix stderr noise
Branch: refs/heads/blead Home: https://github.com/Perl/perl5 Commit: fbda4addbdf1bf5ebd34bb7de659b3e6c0685fa4 https://github.com/Perl/perl5/commit/fbda4addbdf1bf5ebd34bb7de659b3e6c0685fa4 Author: Karl Williamson Date: 2024-08-01 (Thu, 01 Aug 2024) Changed paths: M autodoc.pl Log Message: --- autodoc: Fix stderr noise The order of two patterns got reversed, destroying $1 and $2 before their values were used. To unsubscribe from these emails, change your notification settings at https://github.com/Perl/perl5/settings/notifications
[Perl/perl5] 3bcea5: locale.c: Change %p to 0x%p
Branch: refs/heads/blead Home: https://github.com/Perl/perl5 Commit: 3bcea52bbcfba89484bbb3e8d7e0c5ec08acfe9d https://github.com/Perl/perl5/commit/3bcea52bbcfba89484bbb3e8d7e0c5ec08acfe9d Author: Karl Williamson Date: 2024-07-31 (Wed, 31 Jul 2024) Changed paths: M locale.c Log Message: --- locale.c: Change %p to 0x%p It makes it clearer in these messages that the output is hex To unsubscribe from these emails, change your notification settings at https://github.com/Perl/perl5/settings/notifications
[Perl/perl5] 5f7593: autodoc: Add consistency checks
Branch: refs/heads/blead Home: https://github.com/Perl/perl5 Commit: 5f75937de2b7345e1092cf4b92ceff9d6aa32995 https://github.com/Perl/perl5/commit/5f75937de2b7345e1092cf4b92ceff9d6aa32995 Author: Karl Williamson Date: 2024-07-31 (Wed, 31 Jul 2024) Changed paths: M autodoc.pl Log Message: --- autodoc: Add consistency checks These verify that if we are outputting a Perl_FOO() function signature, that there actually is one defined, as well as the few perl_FOO() ones. This commit, while still a WIP on my local box, was the impetus behind a dozen or so of the most recent autodoc-related commits that fixed issues it catches. To unsubscribe from these emails, change your notification settings at https://github.com/Perl/perl5/settings/notifications
[Perl/perl5] de9762: autodoc: Fixup signature arglist indentation
Branch: refs/heads/blead Home: https://github.com/Perl/perl5 Commit: de9762b11e8cf050382a1279c1e7c04efbec1339 https://github.com/Perl/perl5/commit/de9762b11e8cf050382a1279c1e7c04efbec1339 Author: Karl Williamson Date: 2024-07-31 (Wed, 31 Jul 2024) Changed paths: M autodoc.pl Log Message: --- autodoc: Fixup signature arglist indentation Somehow this got removed from eabcc813bd321e2c9973f985fa28ab67657e78e2. It affects only a few edge cases. For example, before this, perlapi had these lines, void sv_vcatpvfn (SV * const sv, const char * const pat, const STRLEN patlen, ... where the first argument to the function was misaligned with the others. This patch produces instead: void sv_vcatpvfn (SV * const sv, const char * const pat, const STRLEN patlen, ... To unsubscribe from these emails, change your notification settings at https://github.com/Perl/perl5/settings/notifications
[Perl/perl5] 0a0ecf: mv get_cvs() API definition to where defined in so...
Branch: refs/heads/blead Home: https://github.com/Perl/perl5 Commit: 0a0ecf570361807f17e905a312cc8730e82a79dd https://github.com/Perl/perl5/commit/0a0ecf570361807f17e905a312cc8730e82a79dd Author: Karl Williamson Date: 2024-07-28 (Sun, 28 Jul 2024) Changed paths: M handy.h M perl.c Log Message: --- mv get_cvs() API definition to where defined in source and change the formal parameter name to match the one used by the other group members in perlapi Commit: 34e470dfa222e617443b03d9f5bd4f9209088330 https://github.com/Perl/perl5/commit/34e470dfa222e617443b03d9f5bd4f9209088330 Author: Karl Williamson Date: 2024-07-28 (Sun, 28 Jul 2024) Changed paths: M handy.h M sv.c Log Message: --- mv setpvs...() API definition to where defined in source This also changes the formal parameter names in the macros to match the names of the function they call Commit: 1858fba0538a25af3973caf587b3312c761e https://github.com/Perl/perl5/commit/1858fba0538a25af3973caf587b3312c761e Author: Karl Williamson Date: 2024-07-28 (Sun, 28 Jul 2024) Changed paths: M gv.c M gv.h M handy.h Log Message: --- mv gv_fetchpv...() API definition to where defined in source And changes the formal parameter name of one of the macros to make more sense Commit: 03ae35606b831c36d7c4d1129962686637785412 https://github.com/Perl/perl5/commit/03ae35606b831c36d7c4d1129962686637785412 Author: Karl Williamson Date: 2024-07-28 (Sun, 28 Jul 2024) Changed paths: M hv.c M hv.h Log Message: --- mv hv_deletes() API definition to where defined in source Commit: d5a4665fd3f4c19f0eaa2ea062a943473e3edcfd https://github.com/Perl/perl5/commit/d5a4665fd3f4c19f0eaa2ea062a943473e3edcfd Author: Karl Williamson Date: 2024-07-28 (Sun, 28 Jul 2024) Changed paths: M sv.h Log Message: --- mv SvREFCNT_inc...() API definition to where defined in source Commit: 50a0ecedd348125293e0fa4825e759d514a0f716 https://github.com/Perl/perl5/commit/50a0ecedd348125293e0fa4825e759d514a0f716 Author: Karl Williamson Date: 2024-07-28 (Sun, 28 Jul 2024) Changed paths: M sv_inline.h Log Message: --- Sv[INU]Vx() are macros Commit: 1844b08644f06d5e84e7d5bb80db1cdcc066a8da https://github.com/Perl/perl5/commit/1844b08644f06d5e84e7d5bb80db1cdcc066a8da Author: Karl Williamson Date: 2024-07-28 (Sun, 28 Jul 2024) Changed paths: M sv.h Log Message: --- mv SvTRUE...() API definitions to where defined in source Commit: 52c8322aa6ec473d7df822691bdb4c3c6b080c35 https://github.com/Perl/perl5/commit/52c8322aa6ec473d7df822691bdb4c3c6b080c35 Author: Karl Williamson Date: 2024-07-28 (Sun, 28 Jul 2024) Changed paths: M hv.c M hv.h Log Message: --- mv hv_name_sets() API definition to where defined in source Commit: c0f8d9182e0755d9f2ac52bc7a949e9a0fc24f65 https://github.com/Perl/perl5/commit/c0f8d9182e0755d9f2ac52bc7a949e9a0fc24f65 Author: Karl Williamson Date: 2024-07-28 (Sun, 28 Jul 2024) Changed paths: M sv.h Log Message: --- mv sv_setsv_nomg() API definition to where defined in source Commit: 96724313e393f7df78cb94b0a8ea1862ca3028b0 https://github.com/Perl/perl5/commit/96724313e393f7df78cb94b0a8ea1862ca3028b0 Author: Karl Williamson Date: 2024-07-28 (Sun, 28 Jul 2024) Changed paths: M sv.h Log Message: --- mv sv_catsv_nomg() API definition to where defined in source Commit: 963e0b1995573435ca571773f0104f792f9f695e https://github.com/Perl/perl5/commit/963e0b1995573435ca571773f0104f792f9f695e Author: Karl Williamson Date: 2024-07-28 (Sun, 28 Jul 2024) Changed paths: M sv.h Log Message: --- perlapi: newRV_inc() is a macro Compare: https://github.com/Perl/perl5/compare/3d8c3264c063...963e0b199557 To unsubscribe from these emails, change your notification settings at https://github.com/Perl/perl5/settings/notifications
[Perl/perl5] 3d8c32: perlapi: gv_autoload4 is a macro not a Perl_ function
Branch: refs/heads/blead Home: https://github.com/Perl/perl5 Commit: 3d8c3264c0634c375e184df5f881cbd54ef92b5f https://github.com/Perl/perl5/commit/3d8c3264c0634c375e184df5f881cbd54ef92b5f Author: Karl Williamson Date: 2024-07-28 (Sun, 28 Jul 2024) Changed paths: M gv.h Log Message: --- perlapi: gv_autoload4 is a macro not a Perl_ function This also used the new ability to continue apidoc lines to avoid a long line To unsubscribe from these emails, change your notification settings at https://github.com/Perl/perl5/settings/notifications
[Perl/perl5] f39893: perlapi: Combine all sv_catpv() forms into one group
Branch: refs/heads/blead Home: https://github.com/Perl/perl5 Commit: f39893a6ac2f8f63a02b0b6817485635a6280af6 https://github.com/Perl/perl5/commit/f39893a6ac2f8f63a02b0b6817485635a6280af6 Author: Karl Williamson Date: 2024-07-28 (Sun, 28 Jul 2024) Changed paths: M handy.h M sv.c M sv.h Log Message: --- perlapi: Combine all sv_catpv() forms into one group This also changes the formal parameter name of some of the macros so that all forms in the group have consistent parameter names. To unsubscribe from these emails, change your notification settings at https://github.com/Perl/perl5/settings/notifications
[Perl/perl5] 668769: regen_lib.pl: Dont repeat constant
Branch: refs/heads/blead Home: https://github.com/Perl/perl5 Commit: 6687698f2adc620996a8840a7e01139a05e528a7 https://github.com/Perl/perl5/commit/6687698f2adc620996a8840a7e01139a05e528a7 Author: Karl Williamson Date: 2024-07-28 (Sun, 28 Jul 2024) Changed paths: M regen/regen_lib.pl Log Message: --- regen_lib.pl: Dont repeat constant There is a variable designed to be used for this purpose, so do so. To unsubscribe from these emails, change your notification settings at https://github.com/Perl/perl5/settings/notifications
[Perl/perl5] d6b3d8: autodoc: Combine adjacent elements with identical pod
Branch: refs/heads/blead Home: https://github.com/Perl/perl5 Commit: d6b3d8320c4c753b4497562b83777886df70c039 https://github.com/Perl/perl5/commit/d6b3d8320c4c753b4497562b83777886df70c039 Author: Karl Williamson Date: 2024-07-28 (Sun, 28 Jul 2024) Changed paths: M autodoc.pl Log Message: --- autodoc: Combine adjacent elements with identical pod If adjacent items share the same pod, it makes things more compact and easier to read if they are combined into a single group. Most instances of this actually happening are when the items all point to the same external pod for their detailed descriptions. This saves about 300 lines in the current pod. To unsubscribe from these emails, change your notification settings at https://github.com/Perl/perl5/settings/notifications
[Perl/perl5] 2c1358: autodoc: Add info to =for hackers lines in perlapi...
Branch: refs/heads/blead Home: https://github.com/Perl/perl5 Commit: 2c1358d210bfc283a8d74b7be2a4086c6c5e3b04 https://github.com/Perl/perl5/commit/2c1358d210bfc283a8d74b7be2a4086c6c5e3b04 Author: Karl Williamson Date: 2024-07-28 (Sun, 28 Jul 2024) Changed paths: M autodoc.pl Log Message: --- autodoc: Add info to =for hackers lines in perlapi,intern These lines have always given a file name for where an API element can be found. Now, it includes a line number; and, if different, where the prototype definition is as well as the documentation. Further, if multiple API elements are grouped together, each now has its own information given there. Note this information is not displayed to the user; it helps people hacking on the core. To unsubscribe from these emails, change your notification settings at https://github.com/Perl/perl5/settings/notifications
[Perl/perl5] e12cf1: perlapi, perlintern: Show all function signatures
Branch: refs/heads/blead Home: https://github.com/Perl/perl5 Commit: e12cf12d26bfbc17c621a16584a237864ac6d813 https://github.com/Perl/perl5/commit/e12cf12d26bfbc17c621a16584a237864ac6d813 Author: Karl Williamson Date: 2024-07-25 (Thu, 25 Jul 2024) Changed paths: M autodoc.pl M embed.fnc Log Message: --- perlapi, perlintern: Show all function signatures Suppose someone wants to use the long name of an element in these pods. I realized that there was no way to know its signature, or even if such a name exists without also looking through the source code. For example, macros don't have long names, and that an item is is a macro or not was not shown. Some long names take a pTHX, and some don't. This also wasn't shown. This commit simply shows all legal signatures, eliminating all ambiguity. It enables not having to output the warning messages that certain forms aren't available; as that fact is immediately known. Commit: eabcc813bd321e2c9973f985fa28ab67657e78e2 https://github.com/Perl/perl5/commit/eabcc813bd321e2c9973f985fa28ab67657e78e2 Author: Karl Williamson Date: 2024-07-25 (Thu, 25 Jul 2024) Changed paths: M autodoc.pl Log Message: --- autodoc: Vertically align long/short usage names perlapi and perlintern now output both the short and long name prototypes for every API element that has them. This commit adds code so that every element in a group is nicely vertically aligned, so that any 'Perl_' prefix is outdented, and the basenames are vertically aligned, along with the arguments. Compare: https://github.com/Perl/perl5/compare/154b3020f113...eabcc813bd32 To unsubscribe from these emails, change your notification settings at https://github.com/Perl/perl5/settings/notifications
[Perl/perl5] ad459f: autodoc: Add forgotten fix-up
Branch: refs/heads/blead Home: https://github.com/Perl/perl5 Commit: ad459fb8e2fe98c74f54da64a333f8bf7c49ebb7 https://github.com/Perl/perl5/commit/ad459fb8e2fe98c74f54da64a333f8bf7c49ebb7 Author: Karl Williamson Date: 2024-07-25 (Thu, 25 Jul 2024) Changed paths: M autodoc.pl Log Message: --- autodoc: Add forgotten fix-up When we discover that a function claimed to have no arg list, actually does have one, we warn and change a boolean to reflect the discovery. But, prior to this commit, the flag remained (incorrectly) set that indicates there was no such list. That doesn't matter with the code as structured now, but it could trip up future code changes. It's best to keep things in a consistent state. Since this function is the final use of this data, and that is unlikely to change, we don't need to change the underlying hash containing the flag value; just the local variable. Commit: ecf9477caa63bff6b6c44c2780e64c7b17175577 https://github.com/Perl/perl5/commit/ecf9477caa63bff6b6c44c2780e64c7b17175577 Author: Karl Williamson Date: 2024-07-25 (Thu, 25 Jul 2024) Changed paths: M autodoc.pl Log Message: --- autodoc: Check that exists before dereferencing Commit: 078564ac8cd6feaaec8e24af98abddde9bf1ee0d https://github.com/Perl/perl5/commit/078564ac8cd6feaaec8e24af98abddde9bf1ee0d Author: Karl Williamson Date: 2024-07-25 (Thu, 25 Jul 2024) Changed paths: M autodoc.pl Log Message: --- autodoc.pl: Move code from one loop to another This is in preparation for the first loop to be removed in a later commit, but also makes other future commits simpler. Commit: ad0ac7c1ea35cb50d661cc5dc256d5edf7cb7393 https://github.com/Perl/perl5/commit/ad0ac7c1ea35cb50d661cc5dc256d5edf7cb7393 Author: Karl Williamson Date: 2024-07-25 (Thu, 25 Jul 2024) Changed paths: M autodoc.pl Log Message: --- autodoc.pl: Eliminate a loop Instead the check is done as we go along in another loop. Commit: f9db87516a3ccba006c054b59815837973260516 https://github.com/Perl/perl5/commit/f9db87516a3ccba006c054b59815837973260516 Author: Karl Williamson Date: 2024-07-25 (Thu, 25 Jul 2024) Changed paths: M autodoc.pl Log Message: --- autodoc: Change variable name The use of this hash has outgrown its name Commit: ae26bc0f83c717ead7859ef84683d1ce3014a468 https://github.com/Perl/perl5/commit/ae26bc0f83c717ead7859ef84683d1ce3014a468 Author: Karl Williamson Date: 2024-07-25 (Thu, 25 Jul 2024) Changed paths: M autodoc.pl Log Message: --- autodoc: Revise sub calling sequence This puts all the data for the function that outputs the generated files into a single structure to be passed to it. This will facilitate future commits not having to have duplicate code for perlapi and perlintern. Commit: 32ba4a5b98ce2f246b75b02fdcc4abc3dc45c8b8 https://github.com/Perl/perl5/commit/32ba4a5b98ce2f246b75b02fdcc4abc3dc45c8b8 Author: Karl Williamson Date: 2024-07-25 (Thu, 25 Jul 2024) Changed paths: M autodoc.pl Log Message: --- autodoc: Fix loop terminator The loop should end for any line besides 'apidoc_item', as the comments say. Prior to this commit, only apidoc_section ended it. This hasn't caused problems so far, just an extra trip around the loop typically with no action taken. But future commits will rely on this behaving as documented. Commit: 2f16d4cc4a0855872deb4f127eb9b267a8c77db9 https://github.com/Perl/perl5/commit/2f16d4cc4a0855872deb4f127eb9b267a8c77db9 Author: Karl Williamson Date: 2024-07-25 (Thu, 25 Jul 2024) Changed paths: M autodoc.pl Log Message: --- autodoc: Pass in file name, line number to functions These specify where in the source code a line we are processing is found. In one function, the file is already passed in, but the function uses $. for the line number. Future commits will change things so that value won't always be accurate. The other function uses these values to add to the data structure associated with the line. This will enable future commits to give better warnings. Commit: a9b0db65eb34f638aa83e81345e76e73dd7a86a9 https://github.com/Perl/perl5/commit/a9b0db65eb34f638aa83e81345e76e73dd7a86a9 Author: Karl Williamson Date: 2024-07-25 (Thu, 25 Jul 2024) Changed paths: M autodoc.pl Log Message: --- autodoc: Use enum-like values instead of strings This commit creates some constants to be used as == instead of eq. Commit: 588d7fd3e7d538153fb88637e3476ec883ccb702 https://github.com/Perl/perl5/commit/588d7fd3e7d538153fb88637e3476ec883ccb702 Author: Karl Williamson Date: 2024-07-25 (Thu, 25 Jul 2024) Changed paths: M autodoc.pl Log Message: --- autodoc: Consolidate duplicate code By passing more arguments to a function, a duplicate c
[Perl/perl5] 043614: perlhacktips: Nits
Branch: refs/heads/blead Home: https://github.com/Perl/perl5 Commit: 0436145ad24501908ac845fcc7b2dcb422de825a https://github.com/Perl/perl5/commit/0436145ad24501908ac845fcc7b2dcb422de825a Author: Karl Williamson Date: 2024-07-24 (Wed, 24 Jul 2024) Changed paths: M pod/perlhacktips.pod Log Message: --- perlhacktips: Nits Restore missing phrase, add missing example, better wording Commit: 0032084db718d6b475b8e394df9c6225bc81efdd https://github.com/Perl/perl5/commit/0032084db718d6b475b8e394df9c6225bc81efdd Author: Karl Williamson Date: 2024-07-24 (Wed, 24 Jul 2024) Changed paths: M pod/perlclib.pod Log Message: --- perlclib: White-space, fix typo Commit: 7cd5f69e20b07f545535181eac98e1c10f6d6503 https://github.com/Perl/perl5/commit/7cd5f69e20b07f545535181eac98e1c10f6d6503 Author: Karl Williamson Date: 2024-07-24 (Wed, 24 Jul 2024) Changed paths: M pod/perlclib.pod Log Message: --- perlclib: Move some pod closer to relevant areas Commit: 6483534c5e139d544b5fb0b9c18c065a6cf32cd1 https://github.com/Perl/perl5/commit/6483534c5e139d544b5fb0b9c18c065a6cf32cd1 Author: Karl Williamson Date: 2024-07-24 (Wed, 24 Jul 2024) Changed paths: M pod/perlclib.pod M pod/perlhacktips.pod Log Message: --- mv hacktips text to clib perlclib is the place where the the libc and perl interfaces are most extensively documented. This commit removes redundant text from perlhacktips, and moves the non-redundant parts to perlclib. Compare: https://github.com/Perl/perl5/compare/14c6cf250f94...6483534c5e13 To unsubscribe from these emails, change your notification settings at https://github.com/Perl/perl5/settings/notifications
[Perl/perl5] 8c299c: perlhacktips: Clarify variable naming rules
Branch: refs/heads/blead Home: https://github.com/Perl/perl5 Commit: 8c299c38076a6fea5fbee214b69812963953b9e7 https://github.com/Perl/perl5/commit/8c299c38076a6fea5fbee214b69812963953b9e7 Author: Karl Williamson Date: 2024-07-23 (Tue, 23 Jul 2024) Changed paths: M pod/perlhacktips.pod Log Message: --- perlhacktips: Clarify variable naming rules A symbol's name not at file-level scope may begin with a single underscore. Spotted by Lukas Mai. To unsubscribe from these emails, change your notification settings at https://github.com/Perl/perl5/settings/notifications
[Perl/perl5] a07529: regexp apidoc was misspelled
Branch: refs/heads/blead Home: https://github.com/Perl/perl5 Commit: a0752950df1e0d8602bf374035fe52ceca3bfb82 https://github.com/Perl/perl5/commit/a0752950df1e0d8602bf374035fe52ceca3bfb82 Author: Karl Williamson Date: 2024-07-17 (Wed, 17 Jul 2024) Changed paths: M regexp.h Log Message: --- regexp apidoc was misspelled To unsubscribe from these emails, change your notification settings at https://github.com/Perl/perl5/settings/notifications
[Perl/perl5] 9ade21: Fix typo in comment in sv.c for perlapi
Branch: refs/heads/blead Home: https://github.com/Perl/perl5 Commit: 9ade213675268107c9ba13383a2112ba6da71fe9 https://github.com/Perl/perl5/commit/9ade213675268107c9ba13383a2112ba6da71fe9 Author: Karl Williamson Date: 2024-07-16 (Tue, 16 Jul 2024) Changed paths: M sv.c Log Message: --- Fix typo in comment in sv.c for perlapi Though this fix doesn't change the output To unsubscribe from these emails, change your notification settings at https://github.com/Perl/perl5/settings/notifications
[Perl/perl5] a400cf: mathoms.c: Remove obsolete perlapi comments
Branch: refs/heads/blead Home: https://github.com/Perl/perl5 Commit: a400cf7642eb3bfae2a43023faef6711f0603d7b https://github.com/Perl/perl5/commit/a400cf7642eb3bfae2a43023faef6711f0603d7b Author: Karl Williamson Date: 2024-07-16 (Tue, 16 Jul 2024) Changed paths: M mathoms.c Log Message: --- mathoms.c: Remove obsolete perlapi comments These comments were meant to be used in perlapi, but ended up being ignored. To unsubscribe from these emails, change your notification settings at https://github.com/Perl/perl5/settings/notifications
[Perl/perl5] fb1568: embed.fnc: Clarify comment
Branch: refs/heads/blead Home: https://github.com/Perl/perl5 Commit: fb1568f4de7d406406b58e624bfe1e1be339bdd2 https://github.com/Perl/perl5/commit/fb1568f4de7d406406b58e624bfe1e1be339bdd2 Author: Karl Williamson Date: 2024-07-15 (Mon, 15 Jul 2024) Changed paths: M embed.fnc Log Message: --- embed.fnc: Clarify comment Commit: 1f92987284f574458c07a915bbf134a74d6d762e https://github.com/Perl/perl5/commit/1f92987284f574458c07a915bbf134a74d6d762e Author: Karl Williamson Date: 2024-07-15 (Mon, 15 Jul 2024) Changed paths: M pod/perlguts.pod Log Message: --- perlguts: Remove relic perlapi-like line This line was added by me in 6ef63541071 by mistake. This was left over from some arrested development. Compare: https://github.com/Perl/perl5/compare/3c9d78c0eb15...1f92987284f5 To unsubscribe from these emails, change your notification settings at https://github.com/Perl/perl5/settings/notifications
[Perl/perl5] f651c0: perlapi: Fold in gv_autoload4 to gv_autoload_pv group
Branch: refs/heads/blead Home: https://github.com/Perl/perl5 Commit: f651c04aa9df4e58f4a76f30dafe4023e6fe0940 https://github.com/Perl/perl5/commit/f651c04aa9df4e58f4a76f30dafe4023e6fe0940 Author: Karl Williamson Date: 2024-07-10 (Wed, 10 Jul 2024) Changed paths: M embed.fnc M gv.c M gv.h M proto.h Log Message: --- perlapi: Fold in gv_autoload4 to gv_autoload_pv group And correct some of the misleading documentation previously there To unsubscribe from these emails, change your notification settings at https://github.com/Perl/perl5/settings/notifications
[Perl/perl5] 1b7e05: perlapi: Combine all forms of gv_fetchmeth()
Branch: refs/heads/blead Home: https://github.com/Perl/perl5 Commit: 1b7e058fb9770a4e4c4baec52baff0b509fc9dbb https://github.com/Perl/perl5/commit/1b7e058fb9770a4e4c4baec52baff0b509fc9dbb Author: Karl Williamson Date: 2024-07-09 (Tue, 09 Jul 2024) Changed paths: M gv.c Log Message: --- perlapi: Combine all forms of gv_fetchmeth() To unsubscribe from these emails, change your notification settings at https://github.com/Perl/perl5/settings/notifications
[Perl/perl5] 335f06: autodoc: Remove useless loop
Branch: refs/heads/blead Home: https://github.com/Perl/perl5 Commit: 335f06f02664d527781d431ef81828253fc64624 https://github.com/Perl/perl5/commit/335f06f02664d527781d431ef81828253fc64624 Author: Karl Williamson Date: 2024-07-04 (Thu, 04 Jul 2024) Changed paths: M autodoc.pl Log Message: --- autodoc: Remove useless loop Commit ef302588bff6e9cead3506a3d6117d3edd1ca9e0 added this loop, but there was a logic error. It also added a loop above it that completely empties the hash this loop is iterating over. Hence there is never anything there by the time this loop is encountered. To unsubscribe from these emails, change your notification settings at https://github.com/Perl/perl5/settings/notifications
[Perl/perl5] 4b23ea: Change name of non-public function
Branch: refs/heads/blead Home: https://github.com/Perl/perl5 Commit: 4b23eaca7572439b0486ed665f7b6274129788c4 https://github.com/Perl/perl5/commit/4b23eaca7572439b0486ed665f7b6274129788c4 Author: Karl Williamson Date: 2024-07-03 (Wed, 03 Jul 2024) Changed paths: M embed.fnc M embed.h M locale.c M perl.h M proto.h M utf8.h Log Message: --- Change name of non-public function Any name beginning with an underscore is reserved for the C implementation itself. It is undefined behavior to use one, though the only practical consequences are a possible naming conflict, which is very unlikely to happen. But we are gradually fixing these when they otherwise get touched, as this series of commits does with "_is_in_locale_category". This is the short name defined in embed.h. This commit changes the leading underscore to a trailing, which is legal for us to use. Commit: 25363c821b94cc735cd8d82251fe4b1a40fe10e4 https://github.com/Perl/perl5/commit/25363c821b94cc735cd8d82251fe4b1a40fe10e4 Author: Karl Williamson Date: 2024-07-03 (Wed, 03 Jul 2024) Changed paths: M lib/locale.pm M locale.c M perl.h M utf8.h Log Message: --- Free up HINT bit There are two locale-related hint bits. This commit combines them into one. There is no slowdown in checking if one of the forms is in effect, but distinguishing a plain 'use locale' from the other form is slightly slower. This works because $H{locale} already is 0 for one form; non-zero for the other. Commit: cfd5dc6c2af765d24b51d0865435a31fd229167b https://github.com/Perl/perl5/commit/cfd5dc6c2af765d24b51d0865435a31fd229167b Author: Karl Williamson Date: 2024-07-03 (Wed, 03 Jul 2024) Changed paths: M embed.fnc M embed.h M mg.c M parser.h M proto.h M sv.c M toke.c Log Message: --- Rename static fcn and PL_parser field The use of these is being expanded beyond just UTF-8 or not; so change the names to reflect the more general new purpose Commit: 4a50587ee10580c4f74385259e5eb824ddae6d0c https://github.com/Perl/perl5/commit/4a50587ee10580c4f74385259e5eb824ddae6d0c Author: Karl Williamson Date: 2024-07-03 (Wed, 03 Jul 2024) Changed paths: M toke.c Log Message: --- toke.c: White-space only Commit: 45e4dedf45dc1e6efde728ff2bab272e53ddccf3 https://github.com/Perl/perl5/commit/45e4dedf45dc1e6efde728ff2bab272e53ddccf3 Author: Karl Williamson Date: 2024-07-03 (Wed, 03 Jul 2024) Changed paths: M MANIFEST M Porting/Maintainers.pl M embed.fnc M embed.h M lib/locale.pm A lib/source/encoding.pm A lib/source/source_encoding.t M lib/utf8.pm M mg.c M op.c M perl.h M pod/perldelta.pod M pod/perldiag.pod M proto.h M toke.c Log Message: --- Implement source::encoding This implements https://github.com/Perl/RFCs/pull/5/commits/2c5e4698d3aaf9114c631c819323e5b 719eaa328 Commit: c8bdd2bcc860b5375f117cb623ecc4c1df2513fd https://github.com/Perl/perl5/commit/c8bdd2bcc860b5375f117cb623ecc4c1df2513fd Author: Karl Williamson Date: 2024-07-03 (Wed, 03 Jul 2024) Changed paths: M lib/source/source_encoding.t M pod/perldelta.pod Log Message: --- Automatically enable source::encoding in v5.41 Compare: https://github.com/Perl/perl5/compare/d9bb62c3a221...c8bdd2bcc860 To unsubscribe from these emails, change your notification settings at https://github.com/Perl/perl5/settings/notifications
[Perl/perl5] 4c9924: Fix POSIX::strftime()
Branch: refs/heads/blead Home: https://github.com/Perl/perl5 Commit: 4c992435a2d3e98bba859d251e8869ac1f14a364 https://github.com/Perl/perl5/commit/4c992435a2d3e98bba859d251e8869ac1f14a364 Author: Karl Williamson Date: 2024-07-01 (Mon, 01 Jul 2024) Changed paths: M ext/POSIX/POSIX.xs M ext/POSIX/lib/POSIX.pod M ext/POSIX/t/time.t M locale.c Log Message: --- Fix POSIX::strftime() This fixes GH #22351 The new sv_strftime_ints() API function acts consistently with regards to daylight savings time, with POSIX-mandated behavior, which takes the current locale into account. POSIX::strftime() is problematic in regard to this. This commit adds a backwards compatibility mode to preserve its behavior that inadvertently was changed by 86a9c18b6fab1949a26de790418b8b897a71e4ac. These functions are intended to wrap libc strftime(), including normalizing the input values. For example, if you pass 63 seconds as a value, they will typically change that to be 3 seconds into the next minute up. In C, the mktime() function is typically called first to do that normalization. (I don't know what happens if plain strftime() is called with unnormalized values.). mktime() looks at the current locale, determines if daylight savings time is in effect, and adjusts accordingly. Perl calls its own mktime-equivalent for you, eliminating the need for explicitly calling something that would need to always be called anyway, hence saving an extra step. mini_mktime() is the Perl mktime-equivalent. It is unaffected by locales, and does not consider the possibility of there being daylight savings time. The problem is that libc strftime() is affected by locale, and does consider dst. Perl uses these two functions together, and this inconsistency between them is bound to cause problems. The 'isdst' parameter to POSIX::strftime() is used to indicate if daylight savings is in effect for the time and date given by the other parameters. If perl used mktime() to normalize those values, it would calculate this for itself, using the passed-in value only as a hint. But since it uses mini_mktime(), it has to take that value as-is. Thus, daylight savings alone, out of all the input values, is not normalized. This is contrary to the documentation, and I didn't know this when I wrote the blamed commit. It turns out that typical uses of this function, like POSIX::strftime('%s', localtime) POSIX::strftime('%s', gmtime) cause the correct 'isdst' to be passed. But this is a defect in the interface that can bite you; changing it would cause cpan breakage. I wrote the API function sv_strftime_ints() to not have these issues. And, to workaround a defect in the POSIX definition of mktime(). It turns out you can't tell it you don't want to adjust for dayight time, except by changing the locale to one that doesn't have dst, such as the "C" locale. But this isn't a Perl-level function. To unsubscribe from these emails, change your notification settings at https://github.com/Perl/perl5/settings/notifications
[Perl/perl5] f3d3dc: perlapi: Move macro defns to where defined
Branch: refs/heads/blead Home: https://github.com/Perl/perl5 Commit: f3d3dcc0f68761c2cdfc2698abf542c5db017039 https://github.com/Perl/perl5/commit/f3d3dcc0f68761c2cdfc2698abf542c5db017039 Author: Karl Williamson Date: 2024-07-01 (Mon, 01 Jul 2024) Changed paths: M embed.fnc M inline.h M proto.h M utf8.h Log Message: --- perlapi: Move macro defns to where defined This moves the API definitions of is_ascii_string, is_invariant_string, and is_utf8_invariant_string to the spots in the source code where each is #defined, thus making it easier to maintain To unsubscribe from these emails, change your notification settings at https://github.com/Perl/perl5/settings/notifications
[Perl/perl5] a2104c: Move api declaration of hv_fetchs()
Branch: refs/heads/blead Home: https://github.com/Perl/perl5 Commit: a2104cb9a1fa2575cb74f80ba54eda22e680214d https://github.com/Perl/perl5/commit/a2104cb9a1fa2575cb74f80ba54eda22e680214d Author: Karl Williamson Date: 2024-06-30 (Sun, 30 Jun 2024) Changed paths: M handy.h M hv.c M hv.h Log Message: --- Move api declaration of hv_fetchs() This moves it adjacent to where the macro is defined. It did not belong in handy.h at all. It also adds a bit of clarification to the actual pod To unsubscribe from these emails, change your notification settings at https://github.com/Perl/perl5/settings/notifications
[Perl/perl5] 3f0626: perlapi: Combine sv_pos_u2b, _flags
Branch: refs/heads/blead Home: https://github.com/Perl/perl5 Commit: 3f0626dd74e36ebdb33ed1582a262581f1c5e3c1 https://github.com/Perl/perl5/commit/3f0626dd74e36ebdb33ed1582a262581f1c5e3c1 Author: Karl Williamson Date: 2024-06-30 (Sun, 30 Jun 2024) Changed paths: M sv.c Log Message: --- perlapi: Combine sv_pos_u2b, _flags To unsubscribe from these emails, change your notification settings at https://github.com/Perl/perl5/settings/notifications