[Perl/perl5] 451703: Storable: version bump

2024-08-05 Thread Graham Knop via perl5-changes
  Branch: refs/heads/haarg/storable-cleanup
  Home:   https://github.com/Perl/perl5
  Commit: 45170365e47e6ff86a260348cc136c361d77bd56
  
https://github.com/Perl/perl5/commit/45170365e47e6ff86a260348cc136c361d77bd56
  Author: Graham Knop 
  Date:   2024-08-05 (Mon, 05 Aug 2024)

  Changed paths:
M dist/Storable/Storable.pm

  Log Message:
  ---
  Storable: version bump


  Commit: 691726def4b1e9f5a60f882c086d2e895c9eb3c3
  
https://github.com/Perl/perl5/commit/691726def4b1e9f5a60f882c086d2e895c9eb3c3
  Author: Graham Knop 
  Date:   2024-08-05 (Mon, 05 Aug 2024)

  Changed paths:
M MANIFEST
R dist/Storable/MANIFEST
A dist/Storable/MANIFEST.SKIP

  Log Message:
  ---
  Storable: remove MANIFEST and add MANIFEST.SKIP


  Commit: 70bed00204bf05bd08776f7d23ef355335586583
  
https://github.com/Perl/perl5/commit/70bed00204bf05bd08776f7d23ef355335586583
  Author: Graham Knop 
  Date:   2024-08-05 (Mon, 05 Aug 2024)

  Changed paths:
M dist/Storable/Makefile.PL

  Log Message:
  ---
  Storable: clean up Makefile.PL

We don't need to have conditional handling for older versions of EUMM.
They will warn for unhandled keys, but it won't cause an errors.

We can also remove the warning relating to perl 5.6. Anyone still using
perl 5.6 isn't going to be changing their build.

Storable is maintained in core, so it doesn't have a consistent separate
repository where its tags would go. The release process can be done
manually.


  Commit: d510c5aa56852d538a86d62a0c958f3e3f1210eb
  
https://github.com/Perl/perl5/commit/d510c5aa56852d538a86d62a0c958f3e3f1210eb
  Author: Graham Knop 
  Date:   2024-08-05 (Mon, 05 Aug 2024)

  Changed paths:
M MANIFEST
M dist/Storable/Makefile.PL
R dist/Storable/Storable.pm
A dist/Storable/lib/Storable.pm

  Log Message:
  ---
  Storable: move Storable.pm to lib dir


  Commit: 89989624147199b48373bef06fa91e14309519d1
  
https://github.com/Perl/perl5/commit/89989624147199b48373bef06fa91e14309519d1
  Author: Graham Knop 
  Date:   2024-08-05 (Mon, 05 Aug 2024)

  Changed paths:
M dist/Storable/Makefile.PL
M dist/Storable/Storable.xs
M dist/Storable/hints/hpux.pl
M dist/Storable/hints/linux.pl
M dist/Storable/lib/Storable.pm
M dist/Storable/stacksize
M dist/Storable/t/CVE-2015-1592.t
M dist/Storable/t/HAS_ATTACH.pm
M dist/Storable/t/HAS_HOOK.pm
M dist/Storable/t/HAS_OVERLOAD.pm
M dist/Storable/t/attach.t
M dist/Storable/t/attach_errors.t
M dist/Storable/t/attach_singleton.t
M dist/Storable/t/blessed.t
M dist/Storable/t/boolean.t
M dist/Storable/t/canonical.t
M dist/Storable/t/circular_hook.t
M dist/Storable/t/code.t
M dist/Storable/t/compat01.t
M dist/Storable/t/compat06.t
M dist/Storable/t/croak.t
M dist/Storable/t/dclone.t
M dist/Storable/t/destroy.t
M dist/Storable/t/downgrade.t
M dist/Storable/t/file_magic.t
M dist/Storable/t/flags.t
M dist/Storable/t/forgive.t
M dist/Storable/t/freeze.t
M dist/Storable/t/huge.t
M dist/Storable/t/hugeids.t
M dist/Storable/t/integer.t
M dist/Storable/t/interwork56.t
M dist/Storable/t/just_plain_nasty.t
M dist/Storable/t/leaks.t
M dist/Storable/t/lock.t
M dist/Storable/t/make_56_interwork.pl
M dist/Storable/t/make_downgrade.pl
M dist/Storable/t/malice.t
M dist/Storable/t/overload.t
M dist/Storable/t/recurse.t
M dist/Storable/t/regexp.t
M dist/Storable/t/restrict.t
M dist/Storable/t/retrieve.t
M dist/Storable/t/st-dump.pl
M dist/Storable/t/store.t
M dist/Storable/t/testlib.pl
M dist/Storable/t/threads.t
M dist/Storable/t/tied.t
M dist/Storable/t/tied_hook.t
M dist/Storable/t/tied_items.t
M dist/Storable/t/tied_reify.t
M dist/Storable/t/tied_store.t
M dist/Storable/t/utf8.t
M dist/Storable/t/utf8hash.t
M dist/Storable/t/weak.t

  Log Message:
  ---
  Storable: Normalize whitespace as 4 space indents

The code had a mix of indents, heavily mixing tabs and spaces. Normalize
all of the indents at 4 spaces.


  Commit: fd7686a529da75d6e6d3072f1cc87ecf0edbe1b7
  
https://github.com/Perl/perl5/commit/fd7686a529da75d6e6d3072f1cc87ecf0edbe1b7
  Author: Graham Knop 
  Date:   2024-08-05 (Mon, 05 Aug 2024)

  Changed paths:
M dist/Storable/t/downgrade.t

  Log Message:
  ---
  Storable: simplify check for Hash::Util

Rather than using a custom error for when Hash::Util isn't available
(which should never happen) just require it.


  Commit: b0f205fdd7f402d1baebd85bb81b02be9b8dd958
  
https://github.com/Perl/perl5/commit/b0f205fdd7f402d1baebd85bb81b02be9b8dd958
  Author: Graham Knop 
  Date:   2024-08-05 (Mon, 05 Aug 2024)

  Changed paths:
M dist/Storable/t/attach.t
M dist/Storable/t/attach_errors.t
M dist/Storable/t/attach_singleton.t
M dist/Storable/t/blessed.t
M dist/Storable/t/boolea

[Perl/perl5] 7cc295: autodoc: No longer need certain hash fields

2024-08-04 Thread Karl Williamson via perl5-changes
  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

2024-08-04 Thread Karl Williamson via perl5-changes
  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] 24f889: Some portability fixes for Test2::Suite tests

2024-08-04 Thread Craig A. Berry
  Branch: refs/heads/blead
  Home:   https://github.com/Perl/perl5
  Commit: 24f889c19db2fedca5a322cf2dc8a47318471c30
  
https://github.com/Perl/perl5/commit/24f889c19db2fedca5a322cf2dc8a47318471c30
  Author: Craig A. Berry 
  Date:   2024-08-04 (Sun, 04 Aug 2024)

  Changed paths:
M Porting/Maintainers.pl
M cpan/Test2-Suite/t/modules/Require/AutomatedTesting.t
M cpan/Test2-Suite/t/modules/Require/ExtendedTesting.t
M cpan/Test2-Suite/t/modules/Require/NonInteractiveTesting.t
M cpan/Test2-Suite/t/modules/Require/ReleaseTesting.t
M cpan/Test2-Suite/t/regression/291-async-subtest-done-testing.t
M t/porting/customized.dat

  Log Message:
  ---
  Some portability fixes for Test2::Suite tests

Also sent upstream: https://github.com/Test-More/Test2-Suite/pull/296


  Commit: 26f46c2066e7655f18801ee8b8c60ec3b5a1184d
  
https://github.com/Perl/perl5/commit/26f46c2066e7655f18801ee8b8c60ec3b5a1184d
  Author: Craig A. Berry 
  Date:   2024-08-04 (Sun, 04 Aug 2024)

  Changed paths:
M Porting/Maintainers.pl
M cpan/Test-Harness/lib/App/Prove.pm
M cpan/Test-Harness/lib/App/Prove/State.pm
M cpan/Test-Harness/lib/App/Prove/State/Result.pm
M cpan/Test-Harness/lib/App/Prove/State/Result/Test.pm
M cpan/Test-Harness/lib/TAP/Base.pm
M cpan/Test-Harness/lib/TAP/Formatter/Base.pm
M cpan/Test-Harness/lib/TAP/Formatter/Color.pm
M cpan/Test-Harness/lib/TAP/Formatter/Console.pm
M cpan/Test-Harness/lib/TAP/Formatter/Console/ParallelSession.pm
M cpan/Test-Harness/lib/TAP/Formatter/Console/Session.pm
M cpan/Test-Harness/lib/TAP/Formatter/File.pm
M cpan/Test-Harness/lib/TAP/Formatter/File/Session.pm
M cpan/Test-Harness/lib/TAP/Formatter/Session.pm
M cpan/Test-Harness/lib/TAP/Harness.pm
M cpan/Test-Harness/lib/TAP/Harness/Env.pm
M cpan/Test-Harness/lib/TAP/Object.pm
M cpan/Test-Harness/lib/TAP/Parser.pm
M cpan/Test-Harness/lib/TAP/Parser/Aggregator.pm
M cpan/Test-Harness/lib/TAP/Parser/Grammar.pm
M cpan/Test-Harness/lib/TAP/Parser/Iterator.pm
M cpan/Test-Harness/lib/TAP/Parser/Iterator/Array.pm
M cpan/Test-Harness/lib/TAP/Parser/Iterator/Process.pm
M cpan/Test-Harness/lib/TAP/Parser/Iterator/Stream.pm
M cpan/Test-Harness/lib/TAP/Parser/IteratorFactory.pm
M cpan/Test-Harness/lib/TAP/Parser/Multiplexer.pm
M cpan/Test-Harness/lib/TAP/Parser/Result.pm
M cpan/Test-Harness/lib/TAP/Parser/Result/Bailout.pm
M cpan/Test-Harness/lib/TAP/Parser/Result/Comment.pm
M cpan/Test-Harness/lib/TAP/Parser/Result/Plan.pm
M cpan/Test-Harness/lib/TAP/Parser/Result/Pragma.pm
M cpan/Test-Harness/lib/TAP/Parser/Result/Test.pm
M cpan/Test-Harness/lib/TAP/Parser/Result/Unknown.pm
M cpan/Test-Harness/lib/TAP/Parser/Result/Version.pm
M cpan/Test-Harness/lib/TAP/Parser/Result/YAML.pm
M cpan/Test-Harness/lib/TAP/Parser/ResultFactory.pm
M cpan/Test-Harness/lib/TAP/Parser/Scheduler.pm
M cpan/Test-Harness/lib/TAP/Parser/Scheduler/Job.pm
M cpan/Test-Harness/lib/TAP/Parser/Scheduler/Spinner.pm
M cpan/Test-Harness/lib/TAP/Parser/Source.pm
M cpan/Test-Harness/lib/TAP/Parser/SourceHandler.pm
M cpan/Test-Harness/lib/TAP/Parser/SourceHandler/Executable.pm
M cpan/Test-Harness/lib/TAP/Parser/SourceHandler/File.pm
M cpan/Test-Harness/lib/TAP/Parser/SourceHandler/Handle.pm
M cpan/Test-Harness/lib/TAP/Parser/SourceHandler/Perl.pm
M cpan/Test-Harness/lib/TAP/Parser/SourceHandler/RawTAP.pm
M cpan/Test-Harness/lib/TAP/Parser/YAMLish/Reader.pm
M cpan/Test-Harness/lib/TAP/Parser/YAMLish/Writer.pm
M cpan/Test-Harness/lib/Test/Harness.pm
M t/porting/customized.dat

  Log Message:
  ---
  Portability for Test::Harness Perl handler

Also sent upstream:
https://github.com/Perl-Toolchain-Gang/Test-Harness/pull/132


Compare: https://github.com/Perl/perl5/compare/42365d00c609...26f46c2066e7

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


[Perl/perl5] 42365d: Make afs 'false' rather than 'undef' on VMS

2024-08-04 Thread Craig A. Berry
  Branch: refs/heads/blead
  Home:   https://github.com/Perl/perl5
  Commit: 42365d00c6090439914262be18912db50edbc0de
  
https://github.com/Perl/perl5/commit/42365d00c6090439914262be18912db50edbc0de
  Author: Craig A. Berry 
  Date:   2024-08-04 (Sun, 04 Aug 2024)

  Changed paths:
M configure.com

  Log Message:
  ---
  Make afs 'false' rather than 'undef' on VMS

Unlike nearly every other Configure variable, the absence of afs
is denoted by a false value rather than undef but we had this
backwards in configure.com. t/op/require_errors.t has been failing
because it checks for equal to 'true' rather than definedness.



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


[Perl/perl5]

2024-08-04 Thread mauke via perl5-changes
  Branch: refs/heads/smoke-me/tonyc/21661-no-warn-ck
  Home:   https://github.com/Perl/perl5

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


[Perl/perl5] c9e569: add tests for #21661

2024-08-04 Thread Tony Cook via perl5-changes
  Branch: refs/heads/blead
  Home:   https://github.com/Perl/perl5
  Commit: c9e5693c3bd5a506e29ece21256a1c07a6668a8e
  
https://github.com/Perl/perl5/commit/c9e5693c3bd5a506e29ece21256a1c07a6668a8e
  Author: Tony Cook 
  Date:   2024-08-04 (Sun, 04 Aug 2024)

  Changed paths:
M t/re/pat.t

  Log Message:
  ---
  add tests for #21661


  Commit: 388bf71121e682302397a8b7d9f56fef5ba2559e
  
https://github.com/Perl/perl5/commit/388bf71121e682302397a8b7d9f56fef5ba2559e
  Author: Tony Cook 
  Date:   2024-08-04 (Sun, 04 Aug 2024)

  Changed paths:
M regcomp.c
M regcomp_internal.h

  Log Message:
  ---
  safer cleanup when failing to compile regexps

Prior to this commit when producing a warning the regexp compiler
would check if the warning category was marked as FATAL, and if it was
it would add clean up to the save stack to release buffers used during
compilation and to release the working REGEXP SV.

This causes two type of problems:

- if an error was already queued, Perl_ck_warner() returns even if
  the warning is fatal, this meant that the normal clean up code
  Perl_re_op_compile() would also run, resulting in a double free
  of the buffers.

- without fatal warnings, if a $SIG{__WARN__} handler died, the
  buffers and the working REGEXP SV would leak.

Avoid this by using SAVEDESTRUCTOR_X() to release the memory and
optionally the SV at the end of scope.

Fixes #21661


  Commit: e05687f9599be2a5ba8f9ab06ad078cc8fe33d7e
  
https://github.com/Perl/perl5/commit/e05687f9599be2a5ba8f9ab06ad078cc8fe33d7e
  Author: Tony Cook 
  Date:   2024-08-04 (Sun, 04 Aug 2024)

  Changed paths:
M regcomp_internal.h

  Log Message:
  ---
  regcomp_internal.h: simplify vFAIL*() macros

These can be simpler, and since we allow use of __VA_ARGS__
we can consolidate Simple_vFAIL[1-4]() into Simple_vFAILn()


  Commit: eb62f8dc576210ca9a302f9fa6072e444077bd3d
  
https://github.com/Perl/perl5/commit/eb62f8dc576210ca9a302f9fa6072e444077bd3d
  Author: Tony Cook 
  Date:   2024-08-04 (Sun, 04 Aug 2024)

  Changed paths:
M regcomp_internal.h

  Log Message:
  ---
  regcomp_internal.h: removed unused PREPARE_TO_DIE

We are now always prepared for death.


Compare: https://github.com/Perl/perl5/compare/b1632160a5ae...eb62f8dc5762

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


[Perl/perl5] b16321: Fix void returns in dl_vms.xs

2024-08-03 Thread Craig A. Berry
  Branch: refs/heads/blead
  Home:   https://github.com/Perl/perl5
  Commit: b1632160a5aeb3ba437a035df88c4d6536556f3c
  
https://github.com/Perl/perl5/commit/b1632160a5aeb3ba437a035df88c4d6536556f3c
  Author: Craig A. Berry 
  Date:   2024-08-03 (Sat, 03 Aug 2024)

  Changed paths:
M ext/DynaLoader/dl_vms.xs

  Log Message:
  ---
  Fix void returns in dl_vms.xs

Follow-up to df8581b2ed4f95d0aee.



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


[Perl/perl5] 586de7: Fix void returns in dl_vms.xs

2024-08-03 Thread Craig A. Berry
  Branch: refs/heads/craigb/dl_vms_fixvoidreturns
  Home:   https://github.com/Perl/perl5
  Commit: 586de7b42ef126591e8c86e9824cbc4223bb4cc9
  
https://github.com/Perl/perl5/commit/586de7b42ef126591e8c86e9824cbc4223bb4cc9
  Author: Craig A. Berry 
  Date:   2024-08-03 (Sat, 03 Aug 2024)

  Changed paths:
M ext/DynaLoader/dl_vms.xs

  Log Message:
  ---
  Fix void returns in dl_vms.xs

Follow-up to df8581b2ed4f95d0aee.



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


[Perl/perl5] 7d933c: Fix void returns in dl_vms.xs

2024-08-03 Thread Craig A. Berry
  Branch: refs/heads/craigb/dl_vms_fixvoidreturns
  Home:   https://github.com/Perl/perl5
  Commit: 7d933c88f7ac5accec9fd766149b4166c8f8798c
  
https://github.com/Perl/perl5/commit/7d933c88f7ac5accec9fd766149b4166c8f8798c
  Author: Craig A. Berry 
  Date:   2024-08-03 (Sat, 03 Aug 2024)

  Changed paths:
M ext/DynaLoader/dl_vms.xs

  Log Message:
  ---
  Fix void returns in dl_vms.xs

Follow-up to df8581b2ed4f95d0aee.



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


[Perl/perl5] fee9e8: ParseXS::process_file(): balance braces

2024-08-03 Thread David Mitchell via perl5-changes
  Branch: refs/heads/blead
  Home:   https://github.com/Perl/perl5
  Commit: fee9e82c332007c8e28df7eed5fc8ef151fb6698
  
https://github.com/Perl/perl5/commit/fee9e82c332007c8e28df7eed5fc8ef151fb6698
  Author: David Mitchell 
  Date:   2024-08-03 (Sat, 03 Aug 2024)

  Changed paths:
M dist/ExtUtils-ParseXS/lib/ExtUtils/ParseXS.pm

  Log Message:
  ---
  ParseXS::process_file(): balance braces

Within the long subroutine process_file(), make '{' and '}' be balanced,
so that it's easier to bounce around between matching braces using
'%' on vim, or the equivalent on other text editors.

This is achieved by fixing a couple comment typos, plus using the
'[[' and ']]' escapes in a few Q(<https://github.com/Perl/perl5/commit/643951018133882e3c72a8676a4ca4a903e057ec
  Author: David Mitchell 
  Date:   2024-08-03 (Sat, 03 Aug 2024)

  Changed paths:
M dist/ExtUtils-ParseXS/lib/ExtUtils/ParseXS.pm

  Log Message:
  ---
  ParseXS::process_file(): rename some lex vars

process_file() is a long sub of about 1600 lines. This commit is one
of a series to rename etc some of its lexical vars for greater clarity
and consistency.

Rename %args to %Options. This hash records the various switches passed
to the sub, but its name can get confused with many other vars with
'arg' in their name  used later for parsing an XSUB's signature.

At the same time, rename the minor %options var to %opts.


  Commit: 6b07631c3f059ee8a13988810b1c4dbef07a491c
  
https://github.com/Perl/perl5/commit/6b07631c3f059ee8a13988810b1c4dbef07a491c
  Author: David Mitchell 
  Date:   2024-08-03 (Sat, 03 Aug 2024)

  Changed paths:
M dist/ExtUtils-ParseXS/lib/ExtUtils/ParseXS.pm

  Log Message:
  ---
  ParseXS::process_file(): adj scope of some my vars

process_file() is a long sub of about 1600 lines. This commit is one
of a series to rename etc some of its lexical vars for greater clarity
and consistency.

This commit reduces the scope of a few lexical vars from being in the
whole scope of the big sub (or the big loop within it) to just where
they are used.


  Commit: 604e99f829eb4957371608b36544a2316eea1adc
  
https://github.com/Perl/perl5/commit/604e99f829eb4957371608b36544a2316eea1adc
  Author: David Mitchell 
  Date:   2024-08-03 (Sat, 03 Aug 2024)

  Changed paths:
M dist/ExtUtils-ParseXS/lib/ExtUtils/ParseXS.pm

  Log Message:
  ---
  ParseXS::process_file(): adjust some indents

After the previous commit which added some new { } scopes,
re-indent the code within the new scopes.

Whitespace-only change (plus wrapping one over-long comment).


  Commit: 6a7b75822016af67aef832118a17d9d697499860
  
https://github.com/Perl/perl5/commit/6a7b75822016af67aef832118a17d9d697499860
  Author: David Mitchell 
  Date:   2024-08-03 (Sat, 03 Aug 2024)

  Changed paths:
M dist/ExtUtils-ParseXS/lib/ExtUtils/ParseXS.pm

  Log Message:
  ---
  ParseXS::process_file(): rename more my vars

process_file() is a long sub of about 1600 lines. This commit is one
of a series to rename etc some of its lexical vars for greater clarity
and consistency.

Rename various boolean lexical vars to $seen_FOO, where FOO is something
in the XSUB that has been detected.

  wasnow

  $RETVAL_no_return  $seen_NO_RETURN
  $externC   $seen_extern_C
  $static$seen_static
  $ellipsis  $seen_ellipsis
  $PPCODE$seen_PPCODE
  $CODE  $seen_CODE
  $INTERFACE $seen_INTERFACE


  Commit: 1903ccbf15888174dea12e4bbff358d4f1ee179f
  
https://github.com/Perl/perl5/commit/1903ccbf15888174dea12e4bbff358d4f1ee179f
  Author: David Mitchell 
  Date:   2024-08-03 (Sat, 03 Aug 2024)

  Changed paths:
M dist/ExtUtils-ParseXS/lib/ExtUtils/ParseXS.pm

  Log Message:
  ---
  ParseXS::process_file(): rename yet more my vars

process_file() is a long sub of about 1600 lines. This commit is one
of a series to rename etc some of its lexical vars for greater clarity
and consistency.

These are miscellaneous renames for clarity:

  wasnow

  $XSS_work_idx  $XSS_top_if_idx
  $cpp_next_tmp  $cpp_next_tmp_define
  $xsreturn  $XSRETURN_count
  $len_name  $name_or_lenname
  $islength  $is_length
  $num_args  $args_count
  $min_args  $min_arg_count
  $extra_args$optional_args_count
  @args_num  @map_param_idx_to_arg_idx
  $wantRETVAL$implicit_OUTPUT_RETVAL
  $trgt  $target


  Commit: f994f0e1441aa79773c930eff098718c53d0b64e
  
https://github.com/Perl/perl5/commit/f994f0e1441aa79773c930eff098718c53d0b64e
  Author: David Mitchell 
  Date:   2024-08-03 (Sat, 03 Aug 2024)

  Changed paths:
M dist/ExtUtils-ParseXS/lib/ExtUtils/ParseXS.pm

  Log Message:
  ---
  ParseXS::process_file(): fix couple of my vars

process_file() is a long sub of about 1600 lines. This commit is o

[Perl/perl5]

2024-08-03 Thread David Mitchell via perl5-changes
  Branch: refs/heads/davem/xs_refactor
  Home:   https://github.com/Perl/perl5

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


[Perl/perl5] ad3755: ParseXS::process_file(): balance braces

2024-08-03 Thread David Mitchell via perl5-changes
  Branch: refs/heads/davem/xs_refactor
  Home:   https://github.com/Perl/perl5
  Commit: ad37558cceb54874dda19764b04e6b4584e426b2
  
https://github.com/Perl/perl5/commit/ad37558cceb54874dda19764b04e6b4584e426b2
  Author: David Mitchell 
  Date:   2024-08-03 (Sat, 03 Aug 2024)

  Changed paths:
M dist/ExtUtils-ParseXS/lib/ExtUtils/ParseXS.pm

  Log Message:
  ---
  ParseXS::process_file(): balance braces

Within the long subroutine process_file(), make '{' and '}' be balanced,
so that it's easier to bounce around between matching braces using
'%' on vim, or the equivalent on other text editors.

This is achieved by fixing a couple comment typos, plus using the
'[[' and ']]' escapes in a few Q(<https://github.com/Perl/perl5/commit/e2684e417fb17a257f583e589b0523420f9a1f8b
  Author: David Mitchell 
  Date:   2024-08-03 (Sat, 03 Aug 2024)

  Changed paths:
M dist/ExtUtils-ParseXS/lib/ExtUtils/ParseXS.pm

  Log Message:
  ---
  ParseXS::process_file(): rename some lex vars

process_file() is a long sub of about 1600 lines. This commit is one
of a series to rename etc some of its lexical vars for greater clarity
and consistency.

Rename %args to %Options. This hash records the various switches passed
to the sub, but its name can get confused with many other vars with
'arg' in their name  used later for parsing an XSUB's signature.

At the same time, rename the minor %options var to %opts.


  Commit: fbb2fb4f2b8b69856348a1c687b2de1ac08eeea0
  
https://github.com/Perl/perl5/commit/fbb2fb4f2b8b69856348a1c687b2de1ac08eeea0
  Author: David Mitchell 
  Date:   2024-08-03 (Sat, 03 Aug 2024)

  Changed paths:
M dist/ExtUtils-ParseXS/lib/ExtUtils/ParseXS.pm

  Log Message:
  ---
  ParseXS::process_file(): adj scope of some my vars

process_file() is a long sub of about 1600 lines. This commit is one
of a series to rename etc some of its lexical vars for greater clarity
and consistency.

This commit reduces the scope of a few lexical vars from being in the
whole scope of the big sub (or the big loop within it) to just where
they are used.


  Commit: fadb2e2f69e3ee378f5937458f09fbcb7b0e4242
  
https://github.com/Perl/perl5/commit/fadb2e2f69e3ee378f5937458f09fbcb7b0e4242
  Author: David Mitchell 
  Date:   2024-08-03 (Sat, 03 Aug 2024)

  Changed paths:
M dist/ExtUtils-ParseXS/lib/ExtUtils/ParseXS.pm

  Log Message:
  ---
  ParseXS::process_file(): adjust some indents

After the previous commit which added some new { } scopes,
re-indent the code within the new scopes.

Whitespace-only change (plus wrapping one over-long comment).


  Commit: 3dd51b444a929c0d2bf27730dfdadb673078a7f7
  
https://github.com/Perl/perl5/commit/3dd51b444a929c0d2bf27730dfdadb673078a7f7
  Author: David Mitchell 
  Date:   2024-08-03 (Sat, 03 Aug 2024)

  Changed paths:
M dist/ExtUtils-ParseXS/lib/ExtUtils/ParseXS.pm

  Log Message:
  ---
  ParseXS::process_file(): rename more my vars

process_file() is a long sub of about 1600 lines. This commit is one
of a series to rename etc some of its lexical vars for greater clarity
and consistency.

Rename various boolean lexical vars to $seen_FOO, where FOO is something
in the XSUB that has been detected.

  wasnow

  $RETVAL_no_return  $seen_NO_RETURN
  $externC   $seen_extern_C
  $static$seen_static
  $ellipsis  $seen_ellipsis
  $PPCODE$seen_PPCODE
  $CODE  $seen_CODE
  $INTERFACE $seen_INTERFACE


  Commit: 82f0ebf533f9a32b485d9f88cefabba77c2b3ec2
  
https://github.com/Perl/perl5/commit/82f0ebf533f9a32b485d9f88cefabba77c2b3ec2
  Author: David Mitchell 
  Date:   2024-08-03 (Sat, 03 Aug 2024)

  Changed paths:
M dist/ExtUtils-ParseXS/lib/ExtUtils/ParseXS.pm

  Log Message:
  ---
  ParseXS::process_file(): rename yet more my vars

process_file() is a long sub of about 1600 lines. This commit is one
of a series to rename etc some of its lexical vars for greater clarity
and consistency.

These are miscellaneous renames for clarity:

  wasnow

  $XSS_work_idx  $XSS_top_if_idx
  $cpp_next_tmp  $cpp_next_tmp_define
  $xsreturn  $XSRETURN_count
  $len_name  $name_or_lenname
  $islength  $is_length
  $num_args  $args_count
  $min_args  $min_arg_count
  $extra_args$optional_args_count
  @args_num  @map_param_idx_to_arg_idx
  $wantRETVAL$implicit_OUTPUT_RETVAL
  $trgt  $target


  Commit: 301797d0ef85795a3abb569bb67f1f6a81c8deb7
  
https://github.com/Perl/perl5/commit/301797d0ef85795a3abb569bb67f1f6a81c8deb7
  Author: David Mitchell 
  Date:   2024-08-03 (Sat, 03 Aug 2024)

  Changed paths:
M dist/ExtUtils-ParseXS/lib/ExtUtils/ParseXS.pm

  Log Message:
  ---
  ParseXS::process_file(): fix couple of my vars

process_file() is a long sub of about 1600 lines. 

[Perl/perl5] 1355b8: t/porting/libperl.t: add yet more diagnostics

2024-08-03 Thread David Mitchell via perl5-changes
  Branch: refs/heads/davem/libperl2
  Home:   https://github.com/Perl/perl5
  Commit: 1355b824e4963a87f5c4413f46d1f691006f5edd
  
https://github.com/Perl/perl5/commit/1355b824e4963a87f5c4413f46d1f691006f5edd
  Author: David Mitchell 
  Date:   2024-08-03 (Sat, 03 Aug 2024)

  Changed paths:
M t/porting/libperl.t

  Log Message:
  ---
  t/porting/libperl.t: add yet more diagnostics

In the diag() output for a failed test, also display whether
the -fno-common compiler flag was present, and whether the common
section was aliased to the bss section.



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


[Perl/perl5] 8a9d53: add tests for #21661

2024-08-03 Thread Tony Cook via perl5-changes
  Branch: refs/heads/smoke-me/tonyc/21661-no-warn-ck
  Home:   https://github.com/Perl/perl5
  Commit: 8a9d5369db8e9f9849f3e1d20205e8a630ae106b
  
https://github.com/Perl/perl5/commit/8a9d5369db8e9f9849f3e1d20205e8a630ae106b
  Author: Tony Cook 
  Date:   2024-08-03 (Sat, 03 Aug 2024)

  Changed paths:
M t/re/pat.t

  Log Message:
  ---
  add tests for #21661


  Commit: 4455107d0252d863b9b4dc267af94ce412eadf42
  
https://github.com/Perl/perl5/commit/4455107d0252d863b9b4dc267af94ce412eadf42
  Author: Tony Cook 
  Date:   2024-08-03 (Sat, 03 Aug 2024)

  Changed paths:
M regcomp.c
M regcomp_internal.h

  Log Message:
  ---
  safer cleanup when failing to compile regexps

Prior to this commit when producing a warning the regexp compiler
would check if the warning category was marked as FATAL, and if it was
it would add clean up to the save stack to release buffers used during
compilation and to release the working REGEXP SV.

This causes two type of problems:

- if an error was already queued, Perl_ck_warner() returns even if
  the warning is fatal, this meant that the normal clean up code
  Perl_re_op_compile() would also run, resulting in a double free
  of the buffers.

- without fatal warnings, if a $SIG{__WARN__} handler died, the
  buffers and the working REGEXP SV would leak.

Avoid this by using SAVEDESTRUCTOR_X() to release the memory and
optionally the SV at the end of scope.

Fixes #21661


  Commit: a77c059910062e1fcb84ab33a185e5de09b77b3d
  
https://github.com/Perl/perl5/commit/a77c059910062e1fcb84ab33a185e5de09b77b3d
  Author: Tony Cook 
  Date:   2024-08-03 (Sat, 03 Aug 2024)

  Changed paths:
M regcomp_internal.h

  Log Message:
  ---
  regcomp_internal.h: simplify vFAIL*() macros

These can be simpler, and since we allow use of __VA_ARGS__
we can consolidate Simple_vFAIL[1-4]() into Simple_vFAILn()


  Commit: ce34730d09ad8e6e38363d378e576205c5ed7f84
  
https://github.com/Perl/perl5/commit/ce34730d09ad8e6e38363d378e576205c5ed7f84
  Author: Tony Cook 
  Date:   2024-08-03 (Sat, 03 Aug 2024)

  Changed paths:
M regcomp_internal.h

  Log Message:
  ---
  regcomp_internal.h: removed unused PREPARE_TO_DIE

We are now always prepared for death.


Compare: https://github.com/Perl/perl5/compare/2016cd189774...ce34730d09ad

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


[Perl/perl5] 21dc39: Create a link to perlclass

2024-08-03 Thread James E Keenan via perl5-changes
  Branch: refs/heads/blead
  Home:   https://github.com/Perl/perl5
  Commit: 21dc39114827a569ae9f8ad96fd4a02eecab3e53
  
https://github.com/Perl/perl5/commit/21dc39114827a569ae9f8ad96fd4a02eecab3e53
  Author: James E Keenan 
  Date:   2024-08-03 (Sat, 03 Aug 2024)

  Changed paths:
M pod/perlfunc.pod

  Log Message:
  ---
  Create a link to perlclass

Partial response to GH #22350.



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


[Perl/perl5] e1a86c: ParseXS::process_file(): balance braces

2024-08-02 Thread David Mitchell via perl5-changes
  Branch: refs/heads/davem/xs_refactor
  Home:   https://github.com/Perl/perl5
  Commit: e1a86cb80fc94b94c272961efed387ab811c5878
  
https://github.com/Perl/perl5/commit/e1a86cb80fc94b94c272961efed387ab811c5878
  Author: David Mitchell 
  Date:   2024-08-02 (Fri, 02 Aug 2024)

  Changed paths:
M dist/ExtUtils-ParseXS/lib/ExtUtils/ParseXS.pm

  Log Message:
  ---
  ParseXS::process_file(): balance braces

Within the long subroutine process_file(), make '{' and '}' be balanced,
so that it's easier to bounce around between matching braces using
'%' on vim, or the equivalent on other text editors.

This is achieved by fixing a couple comment typos, plus using the
'[[' and ']]' escapes in a few Q(<https://github.com/Perl/perl5/commit/e10343c294260245bed5fdc7b8da4ae2513547af
  Author: David Mitchell 
  Date:   2024-08-02 (Fri, 02 Aug 2024)

  Changed paths:
M dist/ExtUtils-ParseXS/lib/ExtUtils/ParseXS.pm

  Log Message:
  ---
  ParseXS::process_file(): rename some lex vars

process_file() is a long sub of about 1600 lines. This commit is one
of a series to rename etc some of its lexical vars for greater clarity
and consistency.

Rename %args to %Options. This hash records the various switches passed
to the sub, but its name can get confused with many other vars with
'arg' in their name  used later for parsing an XSUB's signature.

At the same time, rename the minor %options var to %opts.


  Commit: 8b0e382af7e9bdd033b40cf78386c52ee6717e63
  
https://github.com/Perl/perl5/commit/8b0e382af7e9bdd033b40cf78386c52ee6717e63
  Author: David Mitchell 
  Date:   2024-08-02 (Fri, 02 Aug 2024)

  Changed paths:
M dist/ExtUtils-ParseXS/lib/ExtUtils/ParseXS.pm

  Log Message:
  ---
  ParseXS::process_file(): adj scope of some my vars

process_file() is a long sub of about 1600 lines. This commit is one
of a series to rename etc some of its lexical vars for greater clarity
and consistency.

This commit reduces the scope of a few lexical vars from being in the
whole scope of the big sub (or the big loop within it) to just where
they are used.


  Commit: 4c518ad87f5b224f0e197d631daa91eeffb23550
  
https://github.com/Perl/perl5/commit/4c518ad87f5b224f0e197d631daa91eeffb23550
  Author: David Mitchell 
  Date:   2024-08-02 (Fri, 02 Aug 2024)

  Changed paths:
M dist/ExtUtils-ParseXS/lib/ExtUtils/ParseXS.pm

  Log Message:
  ---
  ParseXS::process_file(): adjust some indents

After the previous commit which added some new { } scopes,
re-indent the code within the new scopes.

Whitespace-only change (plus wrapping one over-long comment).


  Commit: 93bad1eed9819ff1802068e1ae6410b415418d7a
  
https://github.com/Perl/perl5/commit/93bad1eed9819ff1802068e1ae6410b415418d7a
  Author: David Mitchell 
  Date:   2024-08-02 (Fri, 02 Aug 2024)

  Changed paths:
M dist/ExtUtils-ParseXS/lib/ExtUtils/ParseXS.pm

  Log Message:
  ---
  ParseXS::process_file(): rename more my vars

process_file() is a long sub of about 1600 lines. This commit is one
of a series to rename etc some of its lexical vars for greater clarity
and consistency.

Rename various boolean lexical vars to $seen_FOO, where FOO is something
in the XSUB that has been detected.

  wasnow

  $RETVAL_no_return  $seen_NO_RETURN
  $externC   $seen_extern_C
  $static$seen_static
  $ellipsis  $seen_ellipsis
  $PPCODE$seen_PPCODE
  $CODE  $seen_CODE
  $INTERFACE $seen_INTERFACE


  Commit: 1de0e00fb68739dd7c51d1caf1366b6a90d4ef49
  
https://github.com/Perl/perl5/commit/1de0e00fb68739dd7c51d1caf1366b6a90d4ef49
  Author: David Mitchell 
  Date:   2024-08-02 (Fri, 02 Aug 2024)

  Changed paths:
M dist/ExtUtils-ParseXS/lib/ExtUtils/ParseXS.pm

  Log Message:
  ---
  ParseXS::process_file(): rename yet more my vars

process_file() is a long sub of about 1600 lines. This commit is one
of a series to rename etc some of its lexical vars for greater clarity
and consistency.

These are miscellaneous renames for clarity:

  wasnow

  $XSS_work_idx  $XSS_top_if_idx
  $cpp_next_tmp  $cpp_next_tmp_define
  $xsreturn  $XSRETURN_count
  $len_name  $name_or_lenname
  $islength  $is_length
  $num_args  $args_count
  $min_args  $min_arg_count
  $extra_args$optional_args_count
  @args_num  @map_param_idx_to_arg_idx
  $wantRETVAL$implicit_OUTPUT_RETVAL
  $trgt  $target


  Commit: c5b551ee80013078b035941eaac167db5dfb5a22
  
https://github.com/Perl/perl5/commit/c5b551ee80013078b035941eaac167db5dfb5a22
  Author: David Mitchell 
  Date:   2024-08-02 (Fri, 02 Aug 2024)

  Changed paths:
M dist/ExtUtils-ParseXS/lib/ExtUtils/ParseXS.pm

  Log Message:
  ---
  ParseXS::process_file(): fix couple of my vars

process_file() is a long sub of about 1600 lines. 

[Perl/perl5]

2024-08-02 Thread David Mitchell via perl5-changes
  Branch: refs/heads/davem/xscomments
  Home:   https://github.com/Perl/perl5

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


[Perl/perl5] aaf9e1: bump ExtUtils::ParseXS versions to 3.53

2024-08-02 Thread David Mitchell via perl5-changes
  Branch: refs/heads/blead
  Home:   https://github.com/Perl/perl5
  Commit: aaf9e13db7a2bf2044b6893cd71a091d2954a517
  
https://github.com/Perl/perl5/commit/aaf9e13db7a2bf2044b6893cd71a091d2954a517
  Author: David Mitchell 
  Date:   2024-08-02 (Fri, 02 Aug 2024)

  Changed paths:
M dist/ExtUtils-ParseXS/lib/ExtUtils/ParseXS.pm
M dist/ExtUtils-ParseXS/lib/ExtUtils/ParseXS/Constants.pm
M dist/ExtUtils-ParseXS/lib/ExtUtils/ParseXS/CountLines.pm
M dist/ExtUtils-ParseXS/lib/ExtUtils/ParseXS/Eval.pm
M dist/ExtUtils-ParseXS/lib/ExtUtils/ParseXS/Utilities.pm
M dist/ExtUtils-ParseXS/lib/ExtUtils/Typemaps.pm
M dist/ExtUtils-ParseXS/lib/ExtUtils/Typemaps/Cmd.pm
M dist/ExtUtils-ParseXS/lib/ExtUtils/Typemaps/InputMap.pm
M dist/ExtUtils-ParseXS/lib/ExtUtils/Typemaps/OutputMap.pm
M dist/ExtUtils-ParseXS/lib/ExtUtils/Typemaps/Type.pm
M dist/ExtUtils-ParseXS/lib/perlxs.pod

  Log Message:
  ---
  bump ExtUtils::ParseXS versions to 3.53


  Commit: b8c2ebcae02ee0ccd48b341665ca43df1593b0a1
  
https://github.com/Perl/perl5/commit/b8c2ebcae02ee0ccd48b341665ca43df1593b0a1
  Author: David Mitchell 
  Date:   2024-08-02 (Fri, 02 Aug 2024)

  Changed paths:
M MANIFEST

  Log Message:
  ---
  MANIFEST: point out XS-Typemap isn't installed

It's easy to confuse these two:

XS::Typemap
ExtUtils::Typemaps

Update the description of the XS::Typemap files in MANIFEST to aid
in deconfusion.


  Commit: 167c63be7eba2012a100b5af2edb4e443b11e4ac
  
https://github.com/Perl/perl5/commit/167c63be7eba2012a100b5af2edb4e443b11e4ac
  Author: David Mitchell 
  Date:   2024-08-02 (Fri, 02 Aug 2024)

  Changed paths:
M lib/ExtUtils/typemap

  Log Message:
  ---
  lib/ExtUtils/typemap: add some comments

Add a few lines to the top of this file explaining what its purpose is.


  Commit: 3ccfee30b7c179f0f09fa1ccef7536a5841caa18
  
https://github.com/Perl/perl5/commit/3ccfee30b7c179f0f09fa1ccef7536a5841caa18
  Author: David Mitchell 
  Date:   2024-08-02 (Fri, 02 Aug 2024)

  Changed paths:
M MANIFEST
M Porting/exec-bit.txt
A dist/ExtUtils-ParseXS/author/mksnapshot.pl

  Log Message:
  ---
  ExtUtils-ParseXS: add author/mksnapshot.pl utility

Crude tool to collect before and after snapshots of all .c files created
by xsubpp, in order to see what (if anything) has changed in
functionality while working on ParseXS files.


  Commit: 0558aa7616f1c82f2beea3970e85ec3ad3f65d47
  
https://github.com/Perl/perl5/commit/0558aa7616f1c82f2beea3970e85ec3ad3f65d47
  Author: David Mitchell 
  Date:   2024-08-02 (Fri, 02 Aug 2024)

  Changed paths:
M dist/ExtUtils-ParseXS/lib/ExtUtils/ParseXS/Utilities.pm

  Log Message:
  ---
  ExtUtils::ParseXS: update pod for error handling

Consolidate the POD for the various warning- and error-raising methods
into a single block of text, to give a better overview of which method
should be used when (e.g. warning vs deferred errors vs die immediately)

The diff looks confusing, but its basically deleting the individual
chunk of pod directly above each method, then adding a complete new
block of pod. This contains completely new text, rather than copying
and pasting.


  Commit: 2595cc7ab653c4b755651e8a777ca3a1bfdd8087
  
https://github.com/Perl/perl5/commit/2595cc7ab653c4b755651e8a777ca3a1bfdd8087
  Author: David Mitchell 
  Date:   2024-08-02 (Fri, 02 Aug 2024)

  Changed paths:
M dist/ExtUtils-ParseXS/lib/ExtUtils/ParseXS.pm
M dist/ExtUtils-ParseXS/lib/ExtUtils/ParseXS/Constants.pm
M dist/ExtUtils-ParseXS/lib/ExtUtils/ParseXS/Utilities.pm
M dist/ExtUtils-ParseXS/lib/ExtUtils/Typemaps.pm

  Log Message:
  ---
  Extutils::ParseXS *.pm: add many code comments

To aid the understanding of this module and its sub-modules:

 - add lots of code comments
 - add blank lines
 - reformat and/or line-wrap a few long code lines

There should be no functional changes.

In particular, the line count of ParseXS.pm is increased by about 60%
with this commit.

I've tried to consistently use the word 'emit' rather than 'print' or
'output' in comments about the code that gets generated and ends up in
the .c file. At the moment most of this code code is indeed just
immediately printed to STDOUT, but in the longer term I would like to
separate out code generation and output stages.


Compare: https://github.com/Perl/perl5/compare/f35bf038bd44...2595cc7ab653

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


[Perl/perl5] 7bf8a2: bump ExtUtils::ParseXS versions to 3.53

2024-08-02 Thread David Mitchell via perl5-changes
  Branch: refs/heads/davem/xscomments
  Home:   https://github.com/Perl/perl5
  Commit: 7bf8a2d3f140fae623a98a7f9e9ec877503b8361
  
https://github.com/Perl/perl5/commit/7bf8a2d3f140fae623a98a7f9e9ec877503b8361
  Author: David Mitchell 
  Date:   2024-08-02 (Fri, 02 Aug 2024)

  Changed paths:
M dist/ExtUtils-ParseXS/lib/ExtUtils/ParseXS.pm
M dist/ExtUtils-ParseXS/lib/ExtUtils/ParseXS/Constants.pm
M dist/ExtUtils-ParseXS/lib/ExtUtils/ParseXS/CountLines.pm
M dist/ExtUtils-ParseXS/lib/ExtUtils/ParseXS/Eval.pm
M dist/ExtUtils-ParseXS/lib/ExtUtils/ParseXS/Utilities.pm
M dist/ExtUtils-ParseXS/lib/ExtUtils/Typemaps.pm
M dist/ExtUtils-ParseXS/lib/ExtUtils/Typemaps/Cmd.pm
M dist/ExtUtils-ParseXS/lib/ExtUtils/Typemaps/InputMap.pm
M dist/ExtUtils-ParseXS/lib/ExtUtils/Typemaps/OutputMap.pm
M dist/ExtUtils-ParseXS/lib/ExtUtils/Typemaps/Type.pm
M dist/ExtUtils-ParseXS/lib/perlxs.pod

  Log Message:
  ---
  bump ExtUtils::ParseXS versions to 3.53


  Commit: 8c96e6b0c00b6da70de914d7d949e21532b53e06
  
https://github.com/Perl/perl5/commit/8c96e6b0c00b6da70de914d7d949e21532b53e06
  Author: David Mitchell 
  Date:   2024-08-02 (Fri, 02 Aug 2024)

  Changed paths:
M MANIFEST

  Log Message:
  ---
  MANIFEST: point out XS-Typemap isn't installed

It's easy to confuse these two:

XS::Typemap
ExtUtils::Typemaps

Update the description of the XS::Typemap files in MANIFEST to aid
in deconfusion.


  Commit: 612db79ea80f833a9e69b165be0cba53f0092686
  
https://github.com/Perl/perl5/commit/612db79ea80f833a9e69b165be0cba53f0092686
  Author: David Mitchell 
  Date:   2024-08-02 (Fri, 02 Aug 2024)

  Changed paths:
M lib/ExtUtils/typemap

  Log Message:
  ---
  lib/ExtUtils/typemap: add some comments

Add a few lines to the top of this file explaining what its purpose is.


  Commit: 5ff8d8ccd6667275ba344d1a11b3ff635525e267
  
https://github.com/Perl/perl5/commit/5ff8d8ccd6667275ba344d1a11b3ff635525e267
  Author: David Mitchell 
  Date:   2024-08-02 (Fri, 02 Aug 2024)

  Changed paths:
M MANIFEST
M Porting/exec-bit.txt
A dist/ExtUtils-ParseXS/author/mksnapshot.pl

  Log Message:
  ---
  ExtUtils-ParseXS: add author/mksnapshot.pl utility

Crude tool to collect before and after snapshots of all .c files created
by xsubpp, in order to see what (if anything) has changed in
functionality while working on ParseXS files.


  Commit: 526eea3e0a15d98911b20ca835cb60819ed12193
  
https://github.com/Perl/perl5/commit/526eea3e0a15d98911b20ca835cb60819ed12193
  Author: David Mitchell 
  Date:   2024-08-02 (Fri, 02 Aug 2024)

  Changed paths:
M dist/ExtUtils-ParseXS/lib/ExtUtils/ParseXS/Utilities.pm

  Log Message:
  ---
  ExtUtils::ParseXS: update pod for error handling

Consolidate the POD for the various warning- and error-raising methods
into a single block of text, to give a better overview of which method
should be used when (e.g. warning vs deferred errors vs die immediately)

The diff looks confusing, but its basically deleting the individual
chunk of pod directly above each method, then adding a complete new
block of pod. This contains completely new text, rather than copying
and pasting.


  Commit: 82436f91ec2ddb591be434fe8e32774321b9f6a9
  
https://github.com/Perl/perl5/commit/82436f91ec2ddb591be434fe8e32774321b9f6a9
  Author: David Mitchell 
  Date:   2024-08-02 (Fri, 02 Aug 2024)

  Changed paths:
M dist/ExtUtils-ParseXS/lib/ExtUtils/ParseXS.pm
M dist/ExtUtils-ParseXS/lib/ExtUtils/ParseXS/Constants.pm
M dist/ExtUtils-ParseXS/lib/ExtUtils/ParseXS/Utilities.pm
M dist/ExtUtils-ParseXS/lib/ExtUtils/Typemaps.pm

  Log Message:
  ---
  Extutils::ParseXS *.pm: add many code comments

To aid the understanding of this module and its sub-modules:

 - add lots of code comments
 - add blank lines
 - reformat and/or line-wrap a few long code lines

There should be no functional changes.

In particular, the line count of ParseXS.pm is increased by about 60%
with this commit.

I've tried to consistently use the word 'emit' rather than 'print' or
'output' in comments about the code that gets generated and ends up in
the .c file. At the moment most of this code code is indeed just
immediately printed to STDOUT, but in the longer term I would like to
separate out code generation and output stages.


Compare: https://github.com/Perl/perl5/compare/ddfb8338d7d1...82436f91ec2d

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


[Perl/perl5]

2024-08-02 Thread David Mitchell via perl5-changes
  Branch: refs/heads/davem/st0_hack
  Home:   https://github.com/Perl/perl5

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


[Perl/perl5]

2024-08-02 Thread David Mitchell via perl5-changes
  Branch: refs/heads/davem/libperl
  Home:   https://github.com/Perl/perl5

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


[Perl/perl5] f35bf0: t/porting/libperl.t: add better diagnostics

2024-08-02 Thread David Mitchell via perl5-changes
  Branch: refs/heads/blead
  Home:   https://github.com/Perl/perl5
  Commit: f35bf038bd44808eca8c6504b9f490e7f8aceeed
  
https://github.com/Perl/perl5/commit/f35bf038bd44808eca8c6504b9f490e7f8aceeed
  Author: David Mitchell 
  Date:   2024-08-02 (Fri, 02 Aug 2024)

  Changed paths:
M t/porting/libperl.t

  Log Message:
  ---
  t/porting/libperl.t: add better diagnostics

If it fails to find a symbol where expected (e.g. in the text section of
the object file), then print a diagnostic message which lists all the nm
lines where the symbol *was* found (if any).

This is achieved by adding a xref hash which maps symbol names to arrays
of lines / object files.

Also document the format of the %symbols hash.



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


[Perl/perl5] df8581: Dynaloader: in XS avoid setting ST(0) in void XSUB

2024-08-02 Thread iabyn via perl5-changes
  Branch: refs/heads/blead
  Home:   https://github.com/Perl/perl5
  Commit: df8581b2ed4f95d0aeec6a25c1590ed27ed32437
  
https://github.com/Perl/perl5/commit/df8581b2ed4f95d0aeec6a25c1590ed27ed32437
  Author: David Mitchell 
  Date:   2024-08-02 (Fri, 02 Aug 2024)

  Changed paths:
M ext/DynaLoader/DynaLoader_pm.PL
M ext/DynaLoader/dl_dlopen.xs

  Log Message:
  ---
  Dynaloader: in XS avoid setting ST(0) in void XSUB

A historical quirk of XS, which was fixed in 1996, allowed code along
the lines of:

void
foo(...)
  CODE:
...
ST(0) = ...;

This is wrong, because the code is declared as returning nothing, but
still puts something on the stack.

xsubpp has hacky logic to work around this. Normally it would emit
'XSRETURN_EMPTY', but if it sees text like 'ST(n) = ' in the body of
an XSUB, it emits 'XSRETURN(1)' instead.

The docs were fixed in 1996, but this anti-pattern continues to
reproduce. Eventually I want to make xsubpp emit a warning if it has
to apply this hack, but in the meantime, this commit is the start of an
effort to eliminate this code style.

This change shouldn't affect functionality.

Note that this commit only updates the xs file which is used on my Linux
system. There are bunch of other OS-specific variant .xs files such as
dl_win32.xs, which I haven't attempted to fix up as I can't test the
result.



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


[Perl/perl5] c888db: Update email address for Sean Davis

2024-08-01 Thread James E Keenan via perl5-changes
  Branch: refs/heads/blead
  Home:   https://github.com/Perl/perl5
  Commit: c888db1a840b30f0a69fdfdd6703c08803635ebd
  
https://github.com/Perl/perl5/commit/c888db1a840b30f0a69fdfdd6703c08803635ebd
  Author: James E Keenan 
  Date:   2024-08-01 (Thu, 01 Aug 2024)

  Changed paths:
M .mailmap
M AUTHORS

  Log Message:
  ---
  Update email address for Sean Davis

Supersedes GH #22454



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


[Perl/perl5] 3d1794: perlfunc: add general description of goto

2024-08-01 Thread mauke via perl5-changes
  Branch: refs/heads/blead
  Home:   https://github.com/Perl/perl5
  Commit: 3d1794e291f6232b20828f595f37ec720fd6eea9
  
https://github.com/Perl/perl5/commit/3d1794e291f6232b20828f595f37ec720fd6eea9
  Author: Lukas Mai 
  Date:   2024-08-02 (Fri, 02 Aug 2024)

  Changed paths:
M pod/perlfunc.pod

  Log Message:
  ---
  perlfunc: add general description of goto

Fixes #21003.



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


[Perl/perl5] 454f2c: Dynaloader: in XS avoid setting ST(0) in void XSUB

2024-08-01 Thread iabyn via perl5-changes
  Branch: refs/heads/davem/st0_hack
  Home:   https://github.com/Perl/perl5
  Commit: 454f2c1975a58821824e2c137f9d4091f4ec2a1f
  
https://github.com/Perl/perl5/commit/454f2c1975a58821824e2c137f9d4091f4ec2a1f
  Author: David Mitchell 
  Date:   2024-08-01 (Thu, 01 Aug 2024)

  Changed paths:
M ext/DynaLoader/DynaLoader_pm.PL
M ext/DynaLoader/dl_dlopen.xs

  Log Message:
  ---
  Dynaloader: in XS avoid setting ST(0) in void XSUB

A historical quirk of XS, which was fixed in 1996, allowed code along
the lines of:

void
foo(...)
  CODE:
...
ST(0) = ...;

This is wrong, because the code is declared as returning nothing, but
still puts something on the stack.

xsubpp has hacky logic to work around this. Normally it would emit
'XSRETURN_EMPTY', but if it sees text like 'ST(n) = ' in the body of
an XSUB, it emits 'XSRETURN(1)' instead.

The docs were fixed in 1996, but this anti-pattern continues to
reproduce. Eventually I want to make xsubpp emit a warning if it has
to apply this hack, but in the meantime, this commit is the start of an
effort to eliminate this code style.

This change shouldn't affect functionality.

Note that this commit only updates the xs file which is used on my Linux
system. There are bunch of other OS-specific variant .xs files such as
dl_win32.xs, which I haven't attempted to fix up as I can't test the
result.



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


[Perl/perl5] fbda4a: autodoc: Fix stderr noise

2024-08-01 Thread Karl Williamson via perl5-changes
  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] 37f34a: perlipc.pod: fix the "exec from signal handler" ex...

2024-08-01 Thread stepnem via perl5-changes
  Branch: refs/heads/blead
  Home:   https://github.com/Perl/perl5
  Commit: 37f34a4f18f0b069e5274462e3cd5d5c19a78086
  
https://github.com/Perl/perl5/commit/37f34a4f18f0b069e5274462e3cd5d5c19a78086
  Author: Štěpán Němec 
  Date:   2024-08-01 (Thu, 01 Aug 2024)

  Changed paths:
M pod/perlipc.pod

  Log Message:
  ---
  perlipc.pod: fix the "exec from signal handler" example

This is a partial revert of de7ba5179657 ("Doc patch to
perlipc", 2011-09-11).

I tested both the pre-de7ba5179657 and current version of
the example program (section "Handling the SIGHUP Signal in
Daemons") on Arch Linux (perl v5.38.2 built for x86_64-linux-thread-multi)
and OpenBSD -current (perl v5.36.3 built for amd64-openbsd).
On both systems, the handler is called only once with the
current (broken) version of the example program.
With the pre-de7ba5179657 version the handler is called on
every delivery of the signal, as expected.

POSIX shell test script (perlipc-sighandler.sh):

-->8--
#!/bin/sh
check() {
  printf '\nTesting %s\n' "$*"
  "$@" &
  sleep 1
  kill -HUP $!
  sleep 1
  kill -HUP $!
  sleep 1
  kill $!
}

bad=./perlipc-sighandler-bad.perl
good=./perlipc-sighandler-good.perl

# from current perlipc.pod (perl5 commit e78caca8144e v5.39.9-35-ge78caca8144e)
cat <<\EOF >"$bad"
#!/usr/bin/perl

use v5.36;

use POSIX ();
use FindBin ();
use File::Basename ();
use File::Spec::Functions qw(catfile);

$| = 1;

# make the daemon cross-platform, so exec always calls the script
# itself with the right path, no matter how the script was invoked.
my $script = File::Basename::basename($0);
my $SELF   = catfile( $FindBin::Bin, $script );

# POSIX unmasks the sigprocmask properly
$SIG{HUP} = sub {
  print "got SIGHUP\n";
  exec( $SELF, @ARGV ) || die "$0: couldn't restart: $!";
};

code();

sub code {
  print "PID: $$\n";
  print "ARGV: @ARGV\n";
  my $count = 0;
  while (1) {
sleep 2;
print ++$count, "\n";
  }
}
EOF

# from perlipc.pod before perl5 commit de7ba5179657 v5.15.2-343-gde7ba5179657
cat <<\EOF >"$good"
#!/usr/bin/perl

use v5.36;

use POSIX ();
use FindBin ();
use File::Basename ();
use File::Spec::Functions qw(catfile);

$| = 1;

# make the daemon cross-platform, so exec always calls the script
# itself with the right path, no matter how the script was invoked.
my $script = File::Basename::basename($0);
my $SELF   = catfile( $FindBin::Bin, $script );

# POSIX unmasks the sigprocmask properly
my $sigset = POSIX::SigSet->new();
my $action = POSIX::SigAction->new("sigHUP_handler",
   $sigset,
   &POSIX::SA_NODEFER);
POSIX::sigaction(&POSIX::SIGHUP, $action);

sub sigHUP_handler {
  print "got SIGHUP\n";
  exec( $SELF, @ARGV ) || die "$0: couldn't restart: $!";
}

code();

sub code {
  print "PID: $$\n";
  print "ARGV: @ARGV\n";
  my $count = 0;
  while (1) {
sleep 2;
print ++$count, "\n";
  }
}
EOF

chmod +x "$bad" "$good"

check "$bad"
check "$good"
-->8--

Example observed output:

; ./perlipc-sighandler.sh

Testing ./perlipc-sighandler-bad.perl
PID: 19120
ARGV:
got SIGHUP
PID: 19120
ARGV:

Testing ./perlipc-sighandler-good.perl
PID: 19980
ARGV:
got SIGHUP
PID: 19980
ARGV:
got SIGHUP
PID: 19980
ARGV:

Cc: Leon Timmermans 
Fixes: de7ba5179657 ("Doc patch to perlipc")


  Commit: 37d9b9c0bb48b00900b977532e86fdd99e577df0
  
https://github.com/Perl/perl5/commit/37d9b9c0bb48b00900b977532e86fdd99e577df0
  Author: Štěpán Němec 
  Date:   2024-08-01 (Thu, 01 Aug 2024)

  Changed paths:
M pod/perlipc.pod

  Log Message:
  ---
  perlipc.pod: improve "exec from signal handler" signal mask comment

"POSIX unmasks the sigprocmask properly" seems rather opaque.
Instead, explain the SA_NODEFER motivation directly.


  Commit: 6cc5fbb9234d1f71fc32008ff15b82b4c7e80822
  
https://github.com/Perl/perl5/commit/6cc5fbb9234d1f71fc32008ff15b82b4c7e80822
  Author: Štěpán Němec 
  Date:   2024-08-01 (Thu, 01 Aug 2024)

  Changed paths:
M AUTHORS

  Log Message:
  ---
  Update AUTHORS (add stepnem)


  Commit: 9b9c0391a41918597cf73b1318bbec469b46aaa5
  
https://github.com/Perl/perl5/commit/9b9c0391a41918597cf73b1318bbec469b46aaa5
  Author: Štěpán Němec 
  Date:   2024-08-01 (Thu, 01 Aug 2024)

  Changed paths:
M pod/perlipc.pod

  Log Message:
  ---
  perlipc.pod: avoid race in "exec from signal handler" example

Instead of using SA_NODEFER, which makes the handler
function itself interruptible by another SIGHUP, use
a plain $SIG{HUP} handler and unblock SIGHUP using
sigprocmask from the main program.


Compare: https://github.com/Perl/perl5/compare/9cca022465b6...9b9c0391a419

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


[Perl/perl5] 18a602: bump ExtUtils::ParseXS versions to 3.53

2024-08-01 Thread iabyn via perl5-changes
  Branch: refs/heads/davem/xscomments
  Home:   https://github.com/Perl/perl5
  Commit: 18a602866084154d4f29f84d70a468c7b7e8fb7f
  
https://github.com/Perl/perl5/commit/18a602866084154d4f29f84d70a468c7b7e8fb7f
  Author: David Mitchell 
  Date:   2024-08-01 (Thu, 01 Aug 2024)

  Changed paths:
M dist/ExtUtils-ParseXS/lib/ExtUtils/ParseXS.pm
M dist/ExtUtils-ParseXS/lib/ExtUtils/ParseXS/Constants.pm
M dist/ExtUtils-ParseXS/lib/ExtUtils/ParseXS/CountLines.pm
M dist/ExtUtils-ParseXS/lib/ExtUtils/ParseXS/Eval.pm
M dist/ExtUtils-ParseXS/lib/ExtUtils/ParseXS/Utilities.pm
M dist/ExtUtils-ParseXS/lib/ExtUtils/Typemaps.pm
M dist/ExtUtils-ParseXS/lib/ExtUtils/Typemaps/Cmd.pm
M dist/ExtUtils-ParseXS/lib/ExtUtils/Typemaps/InputMap.pm
M dist/ExtUtils-ParseXS/lib/ExtUtils/Typemaps/OutputMap.pm
M dist/ExtUtils-ParseXS/lib/ExtUtils/Typemaps/Type.pm
M dist/ExtUtils-ParseXS/lib/perlxs.pod

  Log Message:
  ---
  bump ExtUtils::ParseXS versions to 3.53


  Commit: bd9fc9f5f769b710a53e30d089c39871abeb1e5b
  
https://github.com/Perl/perl5/commit/bd9fc9f5f769b710a53e30d089c39871abeb1e5b
  Author: David Mitchell 
  Date:   2024-08-01 (Thu, 01 Aug 2024)

  Changed paths:
M MANIFEST

  Log Message:
  ---
  MANIFEST: point out XS-Typemap isn't installed

It's easy to confuse these two:

XS::Typemap
ExtUtils::Typemaps

Update the description of the XS::Typemap files in MANIFEST to aid
in deconfusion.


  Commit: 1f63227b105f69097978fecd9dd8eb1bbfe34bde
  
https://github.com/Perl/perl5/commit/1f63227b105f69097978fecd9dd8eb1bbfe34bde
  Author: David Mitchell 
  Date:   2024-08-01 (Thu, 01 Aug 2024)

  Changed paths:
M lib/ExtUtils/typemap

  Log Message:
  ---
  lib/ExtUtils/typemap: add some comments

Add a few lines to the top of this file explaining what its purpose is.


  Commit: 42944d3208f1fd7d11c54cd8d8e6518d54256d8b
  
https://github.com/Perl/perl5/commit/42944d3208f1fd7d11c54cd8d8e6518d54256d8b
  Author: David Mitchell 
  Date:   2024-08-01 (Thu, 01 Aug 2024)

  Changed paths:
M MANIFEST
M Porting/exec-bit.txt
A dist/ExtUtils-ParseXS/author/mksnapshot.pl

  Log Message:
  ---
  ExtUtils-ParseXS: add author/mksnapshot.pl utility

Crude tool to collect before and after snapshots of all .c files created
by xsubpp, in order to see what (if anything) has changed in
functionality while working on ParseXS files.


  Commit: af7f95477403a3800e85cfecf0c968aa35fd5bd6
  
https://github.com/Perl/perl5/commit/af7f95477403a3800e85cfecf0c968aa35fd5bd6
  Author: David Mitchell 
  Date:   2024-08-01 (Thu, 01 Aug 2024)

  Changed paths:
M dist/ExtUtils-ParseXS/lib/ExtUtils/ParseXS/Utilities.pm

  Log Message:
  ---
  ExtUtils::ParseXS: update pod for error handling

Consolidate the POD for the various warning- and error-raising methods
into a single block of text, to give a better overview of which method
should be used when (e.g. warning vs deferred errors vs die immediately)

The diff looks confusing, but its basically deleting the individual
chunk of pod directly above each method, then adding a complete new
block of pod. This contains completely new text, rather than copying
and pasting.


  Commit: ddfb8338d7d16ce48721f0d9cef7fe20645c27c8
  
https://github.com/Perl/perl5/commit/ddfb8338d7d16ce48721f0d9cef7fe20645c27c8
  Author: David Mitchell 
  Date:   2024-08-01 (Thu, 01 Aug 2024)

  Changed paths:
M dist/ExtUtils-ParseXS/lib/ExtUtils/ParseXS.pm
M dist/ExtUtils-ParseXS/lib/ExtUtils/ParseXS/Constants.pm
M dist/ExtUtils-ParseXS/lib/ExtUtils/ParseXS/Utilities.pm
M dist/ExtUtils-ParseXS/lib/ExtUtils/Typemaps.pm

  Log Message:
  ---
  Extutils::ParseXS *.pm: add many code comments

To aid the understanding of this module and its sub-modules:

 - add lots of code comments
 - add blank lines
 - reformat and/or line-wrap a few long code lines

There should be no functional changes.

In particular, the line count of ParseXS.pm is increased by about 60%
with this commit.

I've tried to consistently use the word 'emit' rather than 'print' or
'output' in comments about the code that gets generated and ends up in
the .c file. At the moment most of this code code is indeed just
immediately printed to STDOUT, but in the longer term I would like to
separate out code generation and output stages.


Compare: https://github.com/Perl/perl5/compare/7244f6488fd0...ddfb8338d7d1

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


[Perl/perl5] 918f48: t/porting/libperl.t: add better diagnostics

2024-08-01 Thread iabyn via perl5-changes
  Branch: refs/heads/davem/libperl
  Home:   https://github.com/Perl/perl5
  Commit: 918f480990c5947a8e7fd42153521c347daea309
  
https://github.com/Perl/perl5/commit/918f480990c5947a8e7fd42153521c347daea309
  Author: David Mitchell 
  Date:   2024-08-01 (Thu, 01 Aug 2024)

  Changed paths:
M t/porting/libperl.t

  Log Message:
  ---
  t/porting/libperl.t: add better diagnostics

If it fails to find a symbol where expected (e.g. in the text section of
the object file), then print a diagnostic message which lists all the nm
lines where the symbol *was* found (if any).

This is achieved by adding a xref hash which maps symbol names to arrays
of lines / object files.

Also document the format of the %symbols hash.



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


[Perl/perl5] a76191: Storable: remove MANIFEST and add MANIFEST.SKIP

2024-07-31 Thread Graham Knop via perl5-changes
  Branch: refs/heads/haarg/storable-cleanup
  Home:   https://github.com/Perl/perl5
  Commit: a76191b225b4b3482721a764e062f813c3c9057f
  
https://github.com/Perl/perl5/commit/a76191b225b4b3482721a764e062f813c3c9057f
  Author: Graham Knop 
  Date:   2024-08-01 (Thu, 01 Aug 2024)

  Changed paths:
M MANIFEST
R dist/Storable/MANIFEST
A dist/Storable/MANIFEST.SKIP

  Log Message:
  ---
  Storable: remove MANIFEST and add MANIFEST.SKIP


  Commit: 79ab2008ea9a6169aaa7d0a9e6d20886799ce59d
  
https://github.com/Perl/perl5/commit/79ab2008ea9a6169aaa7d0a9e6d20886799ce59d
  Author: Graham Knop 
  Date:   2024-08-01 (Thu, 01 Aug 2024)

  Changed paths:
M dist/Storable/Makefile.PL

  Log Message:
  ---
  Storable: clean up Makefile.PL

We don't need to have conditional handling for older versions of EUMM.
They will warn for unhandled keys, but it won't cause an errors.

We can also remove the warning relating to perl 5.6. Anyone still using
perl 5.6 isn't going to be changing their build.

Storable is maintained in core, so it doesn't have a consistent separate
repository where its tags would go. The release process can be done
manually.


  Commit: bf3cf784386806ca8b2a2fe734998b15a3bc7cb6
  
https://github.com/Perl/perl5/commit/bf3cf784386806ca8b2a2fe734998b15a3bc7cb6
  Author: Graham Knop 
  Date:   2024-08-01 (Thu, 01 Aug 2024)

  Changed paths:
M MANIFEST
M dist/Storable/Makefile.PL
R dist/Storable/Storable.pm
A dist/Storable/lib/Storable.pm

  Log Message:
  ---
  Storable: move Storable.pm to lib dir


  Commit: 5d2d3e870eaffe3c81ae7644adc6d0cb9dcefc7c
  
https://github.com/Perl/perl5/commit/5d2d3e870eaffe3c81ae7644adc6d0cb9dcefc7c
  Author: Graham Knop 
  Date:   2024-08-01 (Thu, 01 Aug 2024)

  Changed paths:
M dist/Storable/Makefile.PL
M dist/Storable/Storable.xs
M dist/Storable/hints/hpux.pl
M dist/Storable/hints/linux.pl
M dist/Storable/lib/Storable.pm
M dist/Storable/stacksize
M dist/Storable/t/CVE-2015-1592.t
M dist/Storable/t/HAS_ATTACH.pm
M dist/Storable/t/HAS_HOOK.pm
M dist/Storable/t/HAS_OVERLOAD.pm
M dist/Storable/t/attach.t
M dist/Storable/t/attach_errors.t
M dist/Storable/t/attach_singleton.t
M dist/Storable/t/blessed.t
M dist/Storable/t/boolean.t
M dist/Storable/t/canonical.t
M dist/Storable/t/circular_hook.t
M dist/Storable/t/code.t
M dist/Storable/t/compat01.t
M dist/Storable/t/compat06.t
M dist/Storable/t/croak.t
M dist/Storable/t/dclone.t
M dist/Storable/t/destroy.t
M dist/Storable/t/downgrade.t
M dist/Storable/t/file_magic.t
M dist/Storable/t/flags.t
M dist/Storable/t/forgive.t
M dist/Storable/t/freeze.t
M dist/Storable/t/huge.t
M dist/Storable/t/hugeids.t
M dist/Storable/t/integer.t
M dist/Storable/t/interwork56.t
M dist/Storable/t/just_plain_nasty.t
M dist/Storable/t/leaks.t
M dist/Storable/t/lock.t
M dist/Storable/t/make_56_interwork.pl
M dist/Storable/t/make_downgrade.pl
M dist/Storable/t/malice.t
M dist/Storable/t/overload.t
M dist/Storable/t/recurse.t
M dist/Storable/t/regexp.t
M dist/Storable/t/restrict.t
M dist/Storable/t/retrieve.t
M dist/Storable/t/st-dump.pl
M dist/Storable/t/store.t
M dist/Storable/t/testlib.pl
M dist/Storable/t/threads.t
M dist/Storable/t/tied.t
M dist/Storable/t/tied_hook.t
M dist/Storable/t/tied_items.t
M dist/Storable/t/tied_reify.t
M dist/Storable/t/tied_store.t
M dist/Storable/t/utf8.t
M dist/Storable/t/utf8hash.t
M dist/Storable/t/weak.t

  Log Message:
  ---
  Storable: Normalize whitespace as 4 space indents

The code had a mix of indents, heavily mixing tabs and spaces. Normalize
all of the indents at 4 spaces.


  Commit: 9c855ffda875b175ae07921fd63ae257e93ff551
  
https://github.com/Perl/perl5/commit/9c855ffda875b175ae07921fd63ae257e93ff551
  Author: Graham Knop 
  Date:   2024-08-01 (Thu, 01 Aug 2024)

  Changed paths:
M dist/Storable/t/downgrade.t

  Log Message:
  ---
  Storable: simplify check for Hash::Util

Rather than using a custom error for when Hash::Util isn't available
(which should never happen) just require it.


  Commit: 6209f38c689869c749e9a46e1c6760f797d08776
  
https://github.com/Perl/perl5/commit/6209f38c689869c749e9a46e1c6760f797d08776
  Author: Graham Knop 
  Date:   2024-08-01 (Thu, 01 Aug 2024)

  Changed paths:
M dist/Storable/t/attach.t
M dist/Storable/t/attach_errors.t
M dist/Storable/t/attach_singleton.t
M dist/Storable/t/blessed.t
M dist/Storable/t/boolean.t
M dist/Storable/t/canonical.t
M dist/Storable/t/circular_hook.t
M dist/Storable/t/code.t
M dist/Storable/t/compat01.t
M dist/Storable/t/compat06.t
M dist/Storable/t/dclone.t
M dist/Storable/t/downgrade.t
M dist/Storable/t/file_magic.t
M dist/Storable/t/forgive.t
M dist/

[Perl/perl5] 9cca02: t/porting/cpphdrcheck.t: fix cc version fallback

2024-07-31 Thread mauke via perl5-changes
  Branch: refs/heads/blead
  Home:   https://github.com/Perl/perl5
  Commit: 9cca022465b6bee5f766cf317c150e791f105dbe
  
https://github.com/Perl/perl5/commit/9cca022465b6bee5f766cf317c150e791f105dbe
  Author: Lukas Mai 
  Date:   2024-08-01 (Thu, 01 Aug 2024)

  Changed paths:
M t/porting/cpphdrcheck.t

  Log Message:
  ---
  t/porting/cpphdrcheck.t: fix cc version fallback

The `unless ($ver)` check doesn't work as intended because
`` `$cc -V 2>&1` `` captures stderr (intentionally, for Sun C). This
means with gcc or clang `$ver` ends up containing a true-ish string,
either

gcc: error: unrecognized command-line option ‘-V’
gcc: fatal error: no input files
compilation terminated.

or

clang: error: argument to '-V' is missing (expected 1 value)
clang: error: no input files

so the `$cc --version` fallback never runs.

Checking for a non-zero exit status and the word "error" in the output
seems to work reliably, though.



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

2024-07-31 Thread Karl Williamson via perl5-changes
  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] bd8229: Storable: remove conditional define

2024-07-31 Thread Graham Knop via perl5-changes
  Branch: refs/heads/blead
  Home:   https://github.com/Perl/perl5
  Commit: bd8229e7049add6f6da46c15d55a498e9c298b76
  
https://github.com/Perl/perl5/commit/bd8229e7049add6f6da46c15d55a498e9c298b76
  Author: Graham Knop 
  Date:   2024-08-01 (Thu, 01 Aug 2024)

  Changed paths:
M dist/Storable/t/huge.t

  Log Message:
  ---
  Storable: remove conditional define



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


[Perl/perl5] 9a99c2: make tests pass when build directory name contains...

2024-07-31 Thread mauke via perl5-changes
  Branch: refs/heads/blead
  Home:   https://github.com/Perl/perl5
  Commit: 9a99c2bec339a81cc62c0d6a25c4e1343be0eaad
  
https://github.com/Perl/perl5/commit/9a99c2bec339a81cc62c0d6a25c4e1343be0eaad
  Author: Lukas Mai 
  Date:   2024-07-31 (Wed, 31 Jul 2024)

  Changed paths:
M t/io/pipe.t

  Log Message:
  ---
  make tests pass when build directory name contains @ $ \ "

If you build and test perl from a directory whose name contains an `@`
sign (such as `/tmp/hello@world/perl5`), one of the tests in
`t/io/pipe.t` fails.

This is because it takes the path to the perl binary (which is
`/tmp/hello@world/perl5/perl` in our example) and interpolates it in
double-quotes into a string that is then eval'd and run (via
`fresh_perl()`). Thus the code that the interpreter in the child process
sees is:

$Perl = "/tmp/hello@world/perl5/perl";

which of course tries to interpolate the (non-existent) `@world` array.
(Similar problems would be caused by paths containing `$` or `"`
characters).

Switching to single quotes, as in

$Perl = '/tmp/hello@world/perl5/perl';

would fix this case, but would still be vulnerable to a path containing
`'` symbols.

Sidestep the problem by using `q` (to prevent variable interpolation)
with a NUL byte delimiter (which cannot occur in path names).

Found while investigating #22446.



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


[Perl/perl5] 5f7593: autodoc: Add consistency checks

2024-07-31 Thread Karl Williamson via perl5-changes
  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

2024-07-31 Thread Karl Williamson via perl5-changes
  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] c6c03e: Storable: remove MANIFEST and add MANIFEST.SKIP

2024-07-31 Thread Graham Knop via perl5-changes
  Branch: refs/heads/haarg/storable-cleanup
  Home:   https://github.com/Perl/perl5
  Commit: c6c03e9d6086669aba2fe0dc7334bbc44f37c5e2
  
https://github.com/Perl/perl5/commit/c6c03e9d6086669aba2fe0dc7334bbc44f37c5e2
  Author: Graham Knop 
  Date:   2024-07-31 (Wed, 31 Jul 2024)

  Changed paths:
R dist/Storable/MANIFEST
A dist/Storable/MANIFEST.SKIP

  Log Message:
  ---
  Storable: remove MANIFEST and add MANIFEST.SKIP


  Commit: 00fd001ff95af949edd4ff849086951548d2c582
  
https://github.com/Perl/perl5/commit/00fd001ff95af949edd4ff849086951548d2c582
  Author: Graham Knop 
  Date:   2024-07-31 (Wed, 31 Jul 2024)

  Changed paths:
M dist/Storable/Makefile.PL

  Log Message:
  ---
  Storable: clean up Makefile.PL

We don't need to have conditional handling for older versions of EUMM.
They will warn for unhandled keys, but it won't cause an errors.

We can also remove the warning relating to perl 5.6. Anyone still using
perl 5.6 isn't going to be changing their build.

Storable is maintained in core, so it doesn't have a consistent separate
repository where its tags would go. The release process can be done
manually.


  Commit: 3009c651516e7c026fee372731e70f7b9e8625be
  
https://github.com/Perl/perl5/commit/3009c651516e7c026fee372731e70f7b9e8625be
  Author: Graham Knop 
  Date:   2024-07-31 (Wed, 31 Jul 2024)

  Changed paths:
M dist/Storable/Makefile.PL
R dist/Storable/Storable.pm
A dist/Storable/lib/Storable.pm

  Log Message:
  ---
  Storable: move Storable.pm to lib dir


  Commit: 08422cae4f90fba1616803d352117835ed5f1167
  
https://github.com/Perl/perl5/commit/08422cae4f90fba1616803d352117835ed5f1167
  Author: Graham Knop 
  Date:   2024-07-31 (Wed, 31 Jul 2024)

  Changed paths:
M dist/Storable/Makefile.PL
M dist/Storable/Storable.xs
M dist/Storable/hints/hpux.pl
M dist/Storable/hints/linux.pl
M dist/Storable/lib/Storable.pm
M dist/Storable/stacksize
M dist/Storable/t/CVE-2015-1592.t
M dist/Storable/t/HAS_ATTACH.pm
M dist/Storable/t/HAS_HOOK.pm
M dist/Storable/t/HAS_OVERLOAD.pm
M dist/Storable/t/attach.t
M dist/Storable/t/attach_errors.t
M dist/Storable/t/attach_singleton.t
M dist/Storable/t/blessed.t
M dist/Storable/t/boolean.t
M dist/Storable/t/canonical.t
M dist/Storable/t/circular_hook.t
M dist/Storable/t/code.t
M dist/Storable/t/compat01.t
M dist/Storable/t/compat06.t
M dist/Storable/t/croak.t
M dist/Storable/t/dclone.t
M dist/Storable/t/destroy.t
M dist/Storable/t/downgrade.t
M dist/Storable/t/file_magic.t
M dist/Storable/t/flags.t
M dist/Storable/t/forgive.t
M dist/Storable/t/freeze.t
M dist/Storable/t/huge.t
M dist/Storable/t/hugeids.t
M dist/Storable/t/integer.t
M dist/Storable/t/interwork56.t
M dist/Storable/t/just_plain_nasty.t
M dist/Storable/t/leaks.t
M dist/Storable/t/lock.t
M dist/Storable/t/make_56_interwork.pl
M dist/Storable/t/make_downgrade.pl
M dist/Storable/t/malice.t
M dist/Storable/t/overload.t
M dist/Storable/t/recurse.t
M dist/Storable/t/regexp.t
M dist/Storable/t/restrict.t
M dist/Storable/t/retrieve.t
M dist/Storable/t/st-dump.pl
M dist/Storable/t/store.t
M dist/Storable/t/testlib.pl
M dist/Storable/t/threads.t
M dist/Storable/t/tied.t
M dist/Storable/t/tied_hook.t
M dist/Storable/t/tied_items.t
M dist/Storable/t/tied_reify.t
M dist/Storable/t/tied_store.t
M dist/Storable/t/utf8.t
M dist/Storable/t/utf8hash.t
M dist/Storable/t/weak.t

  Log Message:
  ---
  Storable: Normalize whitespace as 4 space indents

The code had a mix of indents, heavily mixing tabs and spaces. Normalize
all of the indents at 4 spaces.


  Commit: 5528f95bed1ffd316ee778d8e1fd8e68d0600766
  
https://github.com/Perl/perl5/commit/5528f95bed1ffd316ee778d8e1fd8e68d0600766
  Author: Graham Knop 
  Date:   2024-07-31 (Wed, 31 Jul 2024)

  Changed paths:
M dist/Storable/t/huge.t

  Log Message:
  ---
  Storable: remove conditional define


  Commit: c4f3f2af42a44579109ad9514c0ebfa68c077f6c
  
https://github.com/Perl/perl5/commit/c4f3f2af42a44579109ad9514c0ebfa68c077f6c
  Author: Graham Knop 
  Date:   2024-07-31 (Wed, 31 Jul 2024)

  Changed paths:
M dist/Storable/t/downgrade.t

  Log Message:
  ---
  Storable: simplify check for Hash::Util

Rather than using a custom error for when Hash::Util isn't available
(which should never happen) just require it.


  Commit: 439b82ac55a59c7eadef31c631a3ded30ea9ad1f
  
https://github.com/Perl/perl5/commit/439b82ac55a59c7eadef31c631a3ded30ea9ad1f
  Author: Graham Knop 
  Date:   2024-07-31 (Wed, 31 Jul 2024)

  Changed paths:
M dist/Storable/t/attach.t
M dist/Storable/t/attach_errors.t
M dist/Storable/t/attach_singleton.t
M dist/Storable/t/blessed.t
M dist/Storable/t/boolean.t
M dist/Storable

[Perl/perl5] ddf056: t/porting/libperl.t: add better diagnostics

2024-07-31 Thread iabyn via perl5-changes
  Branch: refs/heads/davem/libperl
  Home:   https://github.com/Perl/perl5
  Commit: ddf056bb3b02caf1880bf71d63e8ad16f0fcebf4
  
https://github.com/Perl/perl5/commit/ddf056bb3b02caf1880bf71d63e8ad16f0fcebf4
  Author: David Mitchell 
  Date:   2024-07-31 (Wed, 31 Jul 2024)

  Changed paths:
M t/porting/libperl.t

  Log Message:
  ---
  t/porting/libperl.t: add better diagnostics

If it fails to find a symbol where expected (e.g. in the text section of
the object file), then print a diagnostic message which lists all the nm
lines where the symbol *was* found (if any).

This is achieved by adding a xref hash which maps symbol names to arrays
of lines / object files.

Also document the format of the %symbols hash.



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


[Perl/perl5] e18994: document when backwards-compatibility features bec...

2024-07-31 Thread Philippe Bruhat (BooK)
  Branch: refs/heads/book/feature-doc-patch
  Home:   https://github.com/Perl/perl5
  Commit: e1899456367312471394f6a4bf75185abd37aeee
  
https://github.com/Perl/perl5/commit/e1899456367312471394f6a4bf75185abd37aeee
  Author: Philippe Bruhat (BooK) 
  Date:   2024-07-30 (Tue, 30 Jul 2024)

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

  Log Message:
  ---
  document when backwards-compatibility features became disabled by default



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


[Perl/perl5] 01f235: Fix Gid_t_f and Uid_t_f on VMS

2024-07-30 Thread Craig A. Berry
  Branch: refs/heads/blead
  Home:   https://github.com/Perl/perl5
  Commit: 01f2355587a223218cc51ad1d87f047634b9f9cb
  
https://github.com/Perl/perl5/commit/01f2355587a223218cc51ad1d87f047634b9f9cb
  Author: Craig A. Berry 
  Date:   2024-07-30 (Tue, 30 Jul 2024)

  Changed paths:
M configure.com

  Log Message:
  ---
  Fix Gid_t_f and Uid_t_f on VMS

Give them enough quotes so one set makes it through to be seen by
the compiler.  They've been wrong for 24 years but aren't used in
core so we didn't notice until c5df4fd101, when we started checking
explicitly.



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


[Perl/perl5] 918b24: Document that U is the formatting code for u...

2024-07-30 Thread Paul Evans via perl5-changes
  Branch: refs/heads/blead
  Home:   https://github.com/Perl/perl5
  Commit: 918b24dd73958163e204cb2eaf0b0436b58195d5
  
https://github.com/Perl/perl5/commit/918b24dd73958163e204cb2eaf0b0436b58195d5
  Author: Paul "LeoNerd" Evans 
  Date:   2024-07-30 (Tue, 30 Jul 2024)

  Changed paths:
M pod/perlpod.pod
M pod/perlpodspec.pod

  Log Message:
  ---
  Document that U is the formatting code for underline



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


[Perl/perl5] 062de4: Storable: use strict and warnings in tests

2024-07-30 Thread Graham Knop via perl5-changes
  Branch: refs/heads/haarg/storable-cleanup
  Home:   https://github.com/Perl/perl5
  Commit: 062de485643b4f33b0adc05ad0ff0a7d66fecd32
  
https://github.com/Perl/perl5/commit/062de485643b4f33b0adc05ad0ff0a7d66fecd32
  Author: Graham Knop 
  Date:   2024-07-30 (Tue, 30 Jul 2024)

  Changed paths:
M dist/Storable/t/CVE-2015-1592.t
M dist/Storable/t/attach.t
M dist/Storable/t/attach_errors.t
M dist/Storable/t/attach_singleton.t
M dist/Storable/t/blessed.t
M dist/Storable/t/canonical.t
M dist/Storable/t/circular_hook.t
M dist/Storable/t/code.t
M dist/Storable/t/compat01.t
M dist/Storable/t/compat06.t
M dist/Storable/t/croak.t
M dist/Storable/t/dclone.t
M dist/Storable/t/destroy.t
M dist/Storable/t/downgrade.t
M dist/Storable/t/file_magic.t
M dist/Storable/t/flags.t
M dist/Storable/t/forgive.t
M dist/Storable/t/freeze.t
M dist/Storable/t/integer.t
M dist/Storable/t/interwork56.t
M dist/Storable/t/just_plain_nasty.t
M dist/Storable/t/leaks.t
M dist/Storable/t/lock.t
M dist/Storable/t/malice.t
M dist/Storable/t/overload.t
M dist/Storable/t/recurse.t
M dist/Storable/t/robust.t
M dist/Storable/t/sig_die.t
M dist/Storable/t/store.t
M dist/Storable/t/threads.t
M dist/Storable/t/tied.t
M dist/Storable/t/tied_hook.t
M dist/Storable/t/tied_items.t
M dist/Storable/t/tied_reify.t
M dist/Storable/t/tied_store.t
M dist/Storable/t/utf8.t
M dist/Storable/t/utf8hash.t
M dist/Storable/t/weak.t

  Log Message:
  ---
  Storable: use strict and warnings in tests


  Commit: e9804c4e31521a5b82b33e18afd8dce169b10f23
  
https://github.com/Perl/perl5/commit/e9804c4e31521a5b82b33e18afd8dce169b10f23
  Author: Graham Knop 
  Date:   2024-07-30 (Tue, 30 Jul 2024)

  Changed paths:
M MANIFEST

  Log Message:
  ---
  update MANIFEST for Storable changes


  Commit: 0372a667cd030fed7bdb7de91d3abd145f2ae6a0
  
https://github.com/Perl/perl5/commit/0372a667cd030fed7bdb7de91d3abd145f2ae6a0
  Author: Graham Knop 
  Date:   2024-07-30 (Tue, 30 Jul 2024)

  Changed paths:
M dist/Storable/ChangeLog

  Log Message:
  ---
  Storable: change log entries


  Commit: 13544cd475c82d19fbdb10f7e19a83a32d9f4aee
  
https://github.com/Perl/perl5/commit/13544cd475c82d19fbdb10f7e19a83a32d9f4aee
  Author: Graham Knop 
  Date:   2024-07-30 (Tue, 30 Jul 2024)

  Changed paths:
M dist/Storable/lib/Storable.pm

  Log Message:
  ---
  Storable: version bump


Compare: https://github.com/Perl/perl5/compare/a63ca6f84c45...13544cd475c8

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


[Perl/perl5] e5b2bc: update MANIFEST for Storable changes

2024-07-30 Thread Graham Knop via perl5-changes
  Branch: refs/heads/haarg/storable-cleanup
  Home:   https://github.com/Perl/perl5
  Commit: e5b2bcfa91ba79d785ae7d2c54ba54ee997bdb9e
  
https://github.com/Perl/perl5/commit/e5b2bcfa91ba79d785ae7d2c54ba54ee997bdb9e
  Author: Graham Knop 
  Date:   2024-07-30 (Tue, 30 Jul 2024)

  Changed paths:
M MANIFEST

  Log Message:
  ---
  update MANIFEST for Storable changes


  Commit: 1d26b69b1bf65996cc050ae9a450a782df0f8ecf
  
https://github.com/Perl/perl5/commit/1d26b69b1bf65996cc050ae9a450a782df0f8ecf
  Author: Graham Knop 
  Date:   2024-07-30 (Tue, 30 Jul 2024)

  Changed paths:
M dist/Storable/ChangeLog

  Log Message:
  ---
  Storable: change log entries


  Commit: a63ca6f84c4549f05e830f4cf41a16190152e4ae
  
https://github.com/Perl/perl5/commit/a63ca6f84c4549f05e830f4cf41a16190152e4ae
  Author: Graham Knop 
  Date:   2024-07-30 (Tue, 30 Jul 2024)

  Changed paths:
M dist/Storable/lib/Storable.pm

  Log Message:
  ---
  Storable: version bump


Compare: https://github.com/Perl/perl5/compare/fef413ed91ff...a63ca6f84c45

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


[Perl/perl5] 68a291: Storable: normalize test utility scripts

2024-07-30 Thread Graham Knop via perl5-changes
  Branch: refs/heads/haarg/storable-cleanup
  Home:   https://github.com/Perl/perl5
  Commit: 68a2918a22fd507ac19e32bac4c5ad407f61f99a
  
https://github.com/Perl/perl5/commit/68a2918a22fd507ac19e32bac4c5ad407f61f99a
  Author: Graham Knop 
  Date:   2024-07-30 (Tue, 30 Jul 2024)

  Changed paths:
M Porting/exec-bit.txt
M dist/Storable/t/make_56_interwork.pl
M dist/Storable/t/make_downgrade.pl
M dist/Storable/t/make_overload.pl

  Log Message:
  ---
  Storable: normalize test utility scripts


  Commit: 27ad0e0d69bc1da9d4a4bdfdcd0c467ae59e74f8
  
https://github.com/Perl/perl5/commit/27ad0e0d69bc1da9d4a4bdfdcd0c467ae59e74f8
  Author: Graham Knop 
  Date:   2024-07-30 (Tue, 30 Jul 2024)

  Changed paths:
R dist/Storable/t/HAS_HOOK.pm
R dist/Storable/t/HAS_OVERLOAD.pm
M dist/Storable/t/blessed.t
M dist/Storable/t/dclone.t
M dist/Storable/t/freeze.t
M dist/Storable/t/interwork56.t
A dist/Storable/t/lib/HAS_HOOK.pm
A dist/Storable/t/lib/HAS_OVERLOAD.pm
A dist/Storable/t/lib/st-dump.pl
A dist/Storable/t/lib/testlib.pl
M dist/Storable/t/lock.t
M dist/Storable/t/malice.t
M dist/Storable/t/overload.t
M dist/Storable/t/retrieve.t
R dist/Storable/t/st-dump.pl
M dist/Storable/t/store.t
R dist/Storable/t/testlib.pl
M dist/Storable/t/tied.t
M dist/Storable/t/tied_hook.t
M dist/Storable/t/weak.t

  Log Message:
  ---
  Storable: move test libs to t/lib


  Commit: 274193e4282537d2c9a21ff2295925f053ae9831
  
https://github.com/Perl/perl5/commit/274193e4282537d2c9a21ff2295925f053ae9831
  Author: Graham Knop 
  Date:   2024-07-30 (Tue, 30 Jul 2024)

  Changed paths:
M dist/Storable/Makefile.PL
M dist/Storable/t/blessed.t
M dist/Storable/t/dclone.t
M dist/Storable/t/freeze.t
A dist/Storable/t/lib/STDump.pm
A dist/Storable/t/lib/STTestLib.pm
R dist/Storable/t/lib/st-dump.pl
R dist/Storable/t/lib/testlib.pl
M dist/Storable/t/lock.t
M dist/Storable/t/malice.t
M dist/Storable/t/retrieve.t
M dist/Storable/t/store.t
M dist/Storable/t/tied.t
M dist/Storable/t/tied_hook.t
M dist/Storable/t/weak.t

  Log Message:
  ---
  Storable: convert test libraries into normal modules


  Commit: 28420f070500c35c2c9b669283c261f8cdb55cb7
  
https://github.com/Perl/perl5/commit/28420f070500c35c2c9b669283c261f8cdb55cb7
  Author: Graham Knop 
  Date:   2024-07-30 (Tue, 30 Jul 2024)

  Changed paths:
M dist/Storable/.gitignore

  Log Message:
  ---
  Storable: gitignore release tarballs


  Commit: 814b7d2250d6de64101ddb9df5e587efeffe9ddb
  
https://github.com/Perl/perl5/commit/814b7d2250d6de64101ddb9df5e587efeffe9ddb
  Author: Graham Knop 
  Date:   2024-07-30 (Tue, 30 Jul 2024)

  Changed paths:
M dist/Storable/lib/Storable.pm

  Log Message:
  ---
  Storable: enable strict


  Commit: ae0b8ce5995bb0a15db6e5edfaee9541fafb2805
  
https://github.com/Perl/perl5/commit/ae0b8ce5995bb0a15db6e5edfaee9541fafb2805
  Author: Graham Knop 
  Date:   2024-07-30 (Tue, 30 Jul 2024)

  Changed paths:
M dist/Storable/lib/Storable.pm
M dist/Storable/t/code.t
M dist/Storable/t/recurse.t

  Log Message:
  ---
  Storable: stop using indirect object syntax in docs and tests


  Commit: 790fc9d88b7f9ebf80ca71586fe1c25777c301dd
  
https://github.com/Perl/perl5/commit/790fc9d88b7f9ebf80ca71586fe1c25777c301dd
  Author: Graham Knop 
  Date:   2024-07-30 (Tue, 30 Jul 2024)

  Changed paths:
M dist/Storable/t/downgrade.t
M dist/Storable/t/integer.t
M dist/Storable/t/interwork56.t
M dist/Storable/t/malice.t

  Log Message:
  ---
  Storable: remove notes about long gone 5.004 compatibility


  Commit: 5139ed89ba3c109b3eb4b8845552ebc37ed92047
  
https://github.com/Perl/perl5/commit/5139ed89ba3c109b3eb4b8845552ebc37ed92047
  Author: Graham Knop 
  Date:   2024-07-30 (Tue, 30 Jul 2024)

  Changed paths:
M dist/Storable/t/CVE-2015-1592.t
M dist/Storable/t/attach.t
M dist/Storable/t/attach_errors.t
M dist/Storable/t/attach_singleton.t
M dist/Storable/t/blessed.t
M dist/Storable/t/canonical.t
M dist/Storable/t/circular_hook.t
M dist/Storable/t/code.t
M dist/Storable/t/compat01.t
M dist/Storable/t/compat06.t
M dist/Storable/t/croak.t
M dist/Storable/t/dclone.t
M dist/Storable/t/destroy.t
M dist/Storable/t/downgrade.t
M dist/Storable/t/file_magic.t
M dist/Storable/t/flags.t
M dist/Storable/t/forgive.t
M dist/Storable/t/freeze.t
M dist/Storable/t/integer.t
M dist/Storable/t/interwork56.t
M dist/Storable/t/just_plain_nasty.t
M dist/Storable/t/leaks.t
M dist/Storable/t/lock.t
M dist/Storable/t/malice.t
M dist/Storable/t/overload.t
M dist/Storable/t/recurse.t
M dist/Storable/t/robust.t
M dist/Storable/t/sig_die.t
M dist/Storable/t/store.t
M dist/Storable/t/threads.t
M dist/Storable/t/tied.t

[Perl/perl5] aeaa40: asdadsasd

2024-07-30 Thread Graham Knop via perl5-changes
  Branch: refs/heads/haarg/storable-cleanup
  Home:   https://github.com/Perl/perl5
  Commit: aeaa40c70cf650420b6da129d6f8a5f400f14270
  
https://github.com/Perl/perl5/commit/aeaa40c70cf650420b6da129d6f8a5f400f14270
  Author: Graham Knop 
  Date:   2024-07-30 (Tue, 30 Jul 2024)

  Changed paths:
M MANIFEST

  Log Message:
  ---
  asdadsasd



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


[Perl/perl5] 2625c9: update MANIFEST for Storable changes

2024-07-30 Thread Graham Knop via perl5-changes
  Branch: refs/heads/haarg/storable-cleanup
  Home:   https://github.com/Perl/perl5
  Commit: 2625c9f2ed1080ebf0d92109f865c7a88d3aec69
  
https://github.com/Perl/perl5/commit/2625c9f2ed1080ebf0d92109f865c7a88d3aec69
  Author: Graham Knop 
  Date:   2024-07-30 (Tue, 30 Jul 2024)

  Changed paths:
M MANIFEST

  Log Message:
  ---
  update MANIFEST for Storable changes


  Commit: 8c3fb0b8d27bc8caa0757184a4ecbcf2ef1caa6f
  
https://github.com/Perl/perl5/commit/8c3fb0b8d27bc8caa0757184a4ecbcf2ef1caa6f
  Author: Graham Knop 
  Date:   2024-07-30 (Tue, 30 Jul 2024)

  Changed paths:
M dist/Storable/ChangeLog

  Log Message:
  ---
  Storable: change log entries


  Commit: 7674911fa4320ce7bccdaa8b88fe80d903baefd8
  
https://github.com/Perl/perl5/commit/7674911fa4320ce7bccdaa8b88fe80d903baefd8
  Author: Graham Knop 
  Date:   2024-07-30 (Tue, 30 Jul 2024)

  Changed paths:
M dist/Storable/lib/Storable.pm

  Log Message:
  ---
  Storable: version bump


Compare: https://github.com/Perl/perl5/compare/405c7363be6c...7674911fa432

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


[Perl/perl5] 7bcf85: Storable: remove test skips when extension not ena...

2024-07-30 Thread Graham Knop via perl5-changes
  Branch: refs/heads/haarg/storable-cleanup
  Home:   https://github.com/Perl/perl5
  Commit: 7bcf857328e963155c3ffcf08948459f749d10ba
  
https://github.com/Perl/perl5/commit/7bcf857328e963155c3ffcf08948459f749d10ba
  Author: Graham Knop 
  Date:   2024-07-30 (Tue, 30 Jul 2024)

  Changed paths:
M dist/Storable/t/attach.t
M dist/Storable/t/attach_errors.t
M dist/Storable/t/attach_singleton.t
M dist/Storable/t/blessed.t
M dist/Storable/t/boolean.t
M dist/Storable/t/canonical.t
M dist/Storable/t/circular_hook.t
M dist/Storable/t/code.t
M dist/Storable/t/compat01.t
M dist/Storable/t/compat06.t
M dist/Storable/t/croak.t
M dist/Storable/t/dclone.t
M dist/Storable/t/downgrade.t
M dist/Storable/t/forgive.t
M dist/Storable/t/freeze.t
M dist/Storable/t/huge.t
M dist/Storable/t/hugeids.t
M dist/Storable/t/integer.t
M dist/Storable/t/interwork56.t
M dist/Storable/t/just_plain_nasty.t
M dist/Storable/t/lock.t
M dist/Storable/t/malice.t
M dist/Storable/t/overload.t
M dist/Storable/t/recurse.t
M dist/Storable/t/restrict.t
M dist/Storable/t/retrieve.t
M dist/Storable/t/sig_die.t
M dist/Storable/t/store.t
M dist/Storable/t/threads.t
M dist/Storable/t/tied.t
M dist/Storable/t/tied_hook.t
M dist/Storable/t/tied_items.t
M dist/Storable/t/tied_store.t
M dist/Storable/t/utf8.t
M dist/Storable/t/utf8hash.t
M dist/Storable/t/weak.t

  Log Message:
  ---
  Storable: remove test skips when extension not enabled

The tests for the dist are already skipped in core if building the
extension is disabled. There is no need to do a check in the tests
themselves.


  Commit: 51182b1bedf780a1042163fcd084848de109e6d3
  
https://github.com/Perl/perl5/commit/51182b1bedf780a1042163fcd084848de109e6d3
  Author: Graham Knop 
  Date:   2024-07-30 (Tue, 30 Jul 2024)

  Changed paths:
M dist/Storable/t/HAS_HOOK.pm
M dist/Storable/t/HAS_OVERLOAD.pm

  Log Message:
  ---
  Storable: enable strict and warnings in test modules


  Commit: 924c2d8a54dc26b1eb73a2f5c219fb8a4feebb4e
  
https://github.com/Perl/perl5/commit/924c2d8a54dc26b1eb73a2f5c219fb8a4feebb4e
  Author: Graham Knop 
  Date:   2024-07-30 (Tue, 30 Jul 2024)

  Changed paths:
M dist/Storable/t/make_56_interwork.pl
M dist/Storable/t/make_downgrade.pl
M dist/Storable/t/make_overload.pl

  Log Message:
  ---
  Storable: normalize test utility scripts


  Commit: 6777dc04aba0a6f4279bad1492a13cc307ca5291
  
https://github.com/Perl/perl5/commit/6777dc04aba0a6f4279bad1492a13cc307ca5291
  Author: Graham Knop 
  Date:   2024-07-30 (Tue, 30 Jul 2024)

  Changed paths:
R dist/Storable/t/HAS_HOOK.pm
R dist/Storable/t/HAS_OVERLOAD.pm
M dist/Storable/t/blessed.t
M dist/Storable/t/dclone.t
M dist/Storable/t/freeze.t
M dist/Storable/t/interwork56.t
A dist/Storable/t/lib/HAS_HOOK.pm
A dist/Storable/t/lib/HAS_OVERLOAD.pm
A dist/Storable/t/lib/st-dump.pl
A dist/Storable/t/lib/testlib.pl
M dist/Storable/t/lock.t
M dist/Storable/t/malice.t
M dist/Storable/t/overload.t
M dist/Storable/t/retrieve.t
R dist/Storable/t/st-dump.pl
M dist/Storable/t/store.t
R dist/Storable/t/testlib.pl
M dist/Storable/t/tied.t
M dist/Storable/t/tied_hook.t
M dist/Storable/t/weak.t

  Log Message:
  ---
  Storable: move test libs to t/lib


  Commit: ceac4c56167b837df7231c2f63bf152325418e42
  
https://github.com/Perl/perl5/commit/ceac4c56167b837df7231c2f63bf152325418e42
  Author: Graham Knop 
  Date:   2024-07-30 (Tue, 30 Jul 2024)

  Changed paths:
M dist/Storable/Makefile.PL
M dist/Storable/t/blessed.t
M dist/Storable/t/dclone.t
M dist/Storable/t/freeze.t
A dist/Storable/t/lib/STDump.pm
A dist/Storable/t/lib/STTestLib.pm
R dist/Storable/t/lib/st-dump.pl
R dist/Storable/t/lib/testlib.pl
M dist/Storable/t/lock.t
M dist/Storable/t/malice.t
M dist/Storable/t/retrieve.t
M dist/Storable/t/store.t
M dist/Storable/t/tied.t
M dist/Storable/t/tied_hook.t
M dist/Storable/t/weak.t

  Log Message:
  ---
  Storable: convert test libraries into normal modules


  Commit: 642d0c7aa6312866675c61666f225e82cddfa50c
  
https://github.com/Perl/perl5/commit/642d0c7aa6312866675c61666f225e82cddfa50c
  Author: Graham Knop 
  Date:   2024-07-30 (Tue, 30 Jul 2024)

  Changed paths:
M dist/Storable/.gitignore

  Log Message:
  ---
  Storable: gitignore release tarballs


  Commit: 1277f89190c168e99c662fa642227fb06725ba3c
  
https://github.com/Perl/perl5/commit/1277f89190c168e99c662fa642227fb06725ba3c
  Author: Graham Knop 
  Date:   2024-07-30 (Tue, 30 Jul 2024)

  Changed paths:
M dist/Storable/lib/Storable.pm

  Log Message:
  ---
  Storable: enable strict


  Commit: 6c4c561922a9d254927bbf6e748d1b3514a74235
  
https://github.com/Perl/perl5/commit

[Perl/perl5] a27863: Storable: remove MANIFEST and add MANIFEST.SKIP

2024-07-30 Thread Graham Knop via perl5-changes
  Branch: refs/heads/haarg/storable-cleanup
  Home:   https://github.com/Perl/perl5
  Commit: a27863754e618479676f6aea6b7d58113731863b
  
https://github.com/Perl/perl5/commit/a27863754e618479676f6aea6b7d58113731863b
  Author: Graham Knop 
  Date:   2024-07-30 (Tue, 30 Jul 2024)

  Changed paths:
R dist/Storable/MANIFEST
A dist/Storable/MANIFEST.SKIP

  Log Message:
  ---
  Storable: remove MANIFEST and add MANIFEST.SKIP


  Commit: 9601240eccfc3acddbba115a2bb4964b903a9a98
  
https://github.com/Perl/perl5/commit/9601240eccfc3acddbba115a2bb4964b903a9a98
  Author: Graham Knop 
  Date:   2024-07-30 (Tue, 30 Jul 2024)

  Changed paths:
M dist/Storable/Makefile.PL

  Log Message:
  ---
  Storable: clean up Makefile.PL

We don't need to have conditional handling for older versions of EUMM.
They will warn for unhandled keys, but it won't cause an errors.

We can also remove the warning relating to perl 5.6. Anyone still using
perl 5.6 isn't going to be changing their build.

Storable is maintained in core, so it doesn't have a consistent separate
repository where its tags would go. The release process can be done
manually.


  Commit: d84cea188ead2407f234667f6593878ca81b7c7f
  
https://github.com/Perl/perl5/commit/d84cea188ead2407f234667f6593878ca81b7c7f
  Author: Graham Knop 
  Date:   2024-07-30 (Tue, 30 Jul 2024)

  Changed paths:
M dist/Storable/Makefile.PL
R dist/Storable/Storable.pm
A dist/Storable/lib/Storable.pm

  Log Message:
  ---
  Storable: move Storable.pm to lib dir


  Commit: fc6723418d149e5d96efd3499645966316314b4d
  
https://github.com/Perl/perl5/commit/fc6723418d149e5d96efd3499645966316314b4d
  Author: Graham Knop 
  Date:   2024-07-30 (Tue, 30 Jul 2024)

  Changed paths:
M dist/Storable/Makefile.PL
M dist/Storable/Storable.xs
M dist/Storable/hints/hpux.pl
M dist/Storable/hints/linux.pl
M dist/Storable/lib/Storable.pm
M dist/Storable/stacksize
M dist/Storable/t/CVE-2015-1592.t
M dist/Storable/t/HAS_ATTACH.pm
M dist/Storable/t/HAS_HOOK.pm
M dist/Storable/t/HAS_OVERLOAD.pm
M dist/Storable/t/attach.t
M dist/Storable/t/attach_errors.t
M dist/Storable/t/attach_singleton.t
M dist/Storable/t/blessed.t
M dist/Storable/t/boolean.t
M dist/Storable/t/canonical.t
M dist/Storable/t/circular_hook.t
M dist/Storable/t/code.t
M dist/Storable/t/compat01.t
M dist/Storable/t/compat06.t
M dist/Storable/t/croak.t
M dist/Storable/t/dclone.t
M dist/Storable/t/destroy.t
M dist/Storable/t/downgrade.t
M dist/Storable/t/file_magic.t
M dist/Storable/t/flags.t
M dist/Storable/t/forgive.t
M dist/Storable/t/freeze.t
M dist/Storable/t/huge.t
M dist/Storable/t/hugeids.t
M dist/Storable/t/integer.t
M dist/Storable/t/interwork56.t
M dist/Storable/t/just_plain_nasty.t
M dist/Storable/t/leaks.t
M dist/Storable/t/lock.t
M dist/Storable/t/make_56_interwork.pl
M dist/Storable/t/make_downgrade.pl
M dist/Storable/t/malice.t
M dist/Storable/t/overload.t
M dist/Storable/t/recurse.t
M dist/Storable/t/regexp.t
M dist/Storable/t/restrict.t
M dist/Storable/t/retrieve.t
M dist/Storable/t/st-dump.pl
M dist/Storable/t/store.t
M dist/Storable/t/testlib.pl
M dist/Storable/t/threads.t
M dist/Storable/t/tied.t
M dist/Storable/t/tied_hook.t
M dist/Storable/t/tied_items.t
M dist/Storable/t/tied_reify.t
M dist/Storable/t/tied_store.t
M dist/Storable/t/utf8.t
M dist/Storable/t/utf8hash.t
M dist/Storable/t/weak.t

  Log Message:
  ---
  Storable: Normalize whitespace as 4 space indents

The code had a mix of indents, heavily mixing tabs and spaces. Normalize
all of the indents at 4 spaces.


  Commit: 5a7bd34dec8edfd3d4820be66845aefb2067223e
  
https://github.com/Perl/perl5/commit/5a7bd34dec8edfd3d4820be66845aefb2067223e
  Author: Graham Knop 
  Date:   2024-07-30 (Tue, 30 Jul 2024)

  Changed paths:
M dist/Storable/t/huge.t

  Log Message:
  ---
  Storable: remove conditional define


  Commit: edebd65b540c913a490e0fc29503d6058bcd9702
  
https://github.com/Perl/perl5/commit/edebd65b540c913a490e0fc29503d6058bcd9702
  Author: Graham Knop 
  Date:   2024-07-30 (Tue, 30 Jul 2024)

  Changed paths:
M dist/Storable/t/downgrade.t

  Log Message:
  ---
  Storable: simplify check for Hash::Util

Rather than using a custom error for when Hash::Util isn't available
(which should never happen) just require it.


  Commit: e72f4fc863030cd97dd2393936f22bf263b5
  
https://github.com/Perl/perl5/commit/e72f4fc863030cd97dd2393936f22bf263b5
  Author: Graham Knop 
  Date:   2024-07-30 (Tue, 30 Jul 2024)

  Changed paths:
M dist/Storable/t/attach.t
M dist/Storable/t/attach_errors.t
M dist/Storable/t/attach_singleton.t
M dist/Storable/t/blessed.t
M dist/Storable/t/boolean.t
M dist/Storable

[Perl/perl5] dce9f5: document when backwards-compatibility features bec...

2024-07-30 Thread Philippe Bruhat (BooK)
  Branch: refs/heads/book/feature-doc-patch
  Home:   https://github.com/Perl/perl5
  Commit: dce9f542bbb4c8b2b4d24e6bcb74c881140114d7
  
https://github.com/Perl/perl5/commit/dce9f542bbb4c8b2b4d24e6bcb74c881140114d7
  Author: Philippe Bruhat (BooK) 
  Date:   2024-07-30 (Tue, 30 Jul 2024)

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

  Log Message:
  ---
  document when backwards-compatibility features became disabled by default



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


[Perl/perl5] c98bed: document when backwards-compatibility features are...

2024-07-30 Thread Philippe Bruhat (BooK)
  Branch: refs/heads/book/feature-doc-patch
  Home:   https://github.com/Perl/perl5
  Commit: c98bed004ce12f2b2bcb48535d2b52dad0008f29
  
https://github.com/Perl/perl5/commit/c98bed004ce12f2b2bcb48535d2b52dad0008f29
  Author: Philippe Bruhat (BooK) 
  Date:   2024-07-30 (Tue, 30 Jul 2024)

  Changed paths:
M lib/feature.pm

  Log Message:
  ---
  document when backwards-compatibility features are disabled by default



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


[Perl/perl5] c1936b: document when the backwards-compatibility features...

2024-07-30 Thread Philippe Bruhat (BooK)
  Branch: refs/heads/book/feature-doc-patch
  Home:   https://github.com/Perl/perl5
  Commit: c1936b8a22ed759b7c07f4747325f0625384f601
  
https://github.com/Perl/perl5/commit/c1936b8a22ed759b7c07f4747325f0625384f601
  Author: Philippe Bruhat (BooK) 
  Date:   2024-07-30 (Tue, 30 Jul 2024)

  Changed paths:
M lib/feature.pm

  Log Message:
  ---
  document when the backwards-compatibility features are disabled by default



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


[Perl/perl5]

2024-07-30 Thread Philippe Bruhat (BooK)
  Branch: refs/heads/book/feature-doc-patch
  Home:   https://github.com/Perl/perl5

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


[Perl/perl5] 70a7d0: t/porting/libperl.t: add better diagnostics

2024-07-30 Thread iabyn via perl5-changes
  Branch: refs/heads/davem/libperl
  Home:   https://github.com/Perl/perl5
  Commit: 70a7d0c5ab4a33fccf3ffb7d45ca80de06a40aed
  
https://github.com/Perl/perl5/commit/70a7d0c5ab4a33fccf3ffb7d45ca80de06a40aed
  Author: David Mitchell 
  Date:   2024-07-30 (Tue, 30 Jul 2024)

  Changed paths:
M t/porting/libperl.t

  Log Message:
  ---
  t/porting/libperl.t: add better diagnostics

If it fails to find a symbol where expected (e.g. in the text section of
the object file), then print a diagnostic message which lists all the nm
lines where the symbol *was* found (if any).

This is achieved by adding a xref hash which maps symbol names to arrays
of lines / object files.

Also document the format of the %symbols hash.



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


[Perl/perl5] c75226: bump ExtUtils::ParseXS versions to 3.53

2024-07-30 Thread iabyn via perl5-changes
  Branch: refs/heads/davem/xscomments
  Home:   https://github.com/Perl/perl5
  Commit: c752269e22e4a9b897c9c64f83cf6e28f26e3e37
  
https://github.com/Perl/perl5/commit/c752269e22e4a9b897c9c64f83cf6e28f26e3e37
  Author: David Mitchell 
  Date:   2024-07-29 (Mon, 29 Jul 2024)

  Changed paths:
M dist/ExtUtils-ParseXS/lib/ExtUtils/ParseXS.pm
M dist/ExtUtils-ParseXS/lib/ExtUtils/ParseXS/Constants.pm
M dist/ExtUtils-ParseXS/lib/ExtUtils/ParseXS/CountLines.pm
M dist/ExtUtils-ParseXS/lib/ExtUtils/ParseXS/Eval.pm
M dist/ExtUtils-ParseXS/lib/ExtUtils/ParseXS/Utilities.pm
M dist/ExtUtils-ParseXS/lib/ExtUtils/Typemaps.pm
M dist/ExtUtils-ParseXS/lib/ExtUtils/Typemaps/Cmd.pm
M dist/ExtUtils-ParseXS/lib/ExtUtils/Typemaps/InputMap.pm
M dist/ExtUtils-ParseXS/lib/ExtUtils/Typemaps/OutputMap.pm
M dist/ExtUtils-ParseXS/lib/ExtUtils/Typemaps/Type.pm
M dist/ExtUtils-ParseXS/lib/perlxs.pod

  Log Message:
  ---
  bump ExtUtils::ParseXS versions to 3.53


  Commit: ec1b011f41a093a579b266b2b65d810b7e59d336
  
https://github.com/Perl/perl5/commit/ec1b011f41a093a579b266b2b65d810b7e59d336
  Author: David Mitchell 
  Date:   2024-07-29 (Mon, 29 Jul 2024)

  Changed paths:
M MANIFEST

  Log Message:
  ---
  MANIFEST: point out XS-Typemap isn't installed

It's easy to confuse these two:

XS::Typemap
ExtUtils::Typemaps

Update the description of the XS::Typemap files in MANIFEST to aid
in deconfusion.


  Commit: 24382a39ec2f9d9028f50ff4780e1726eab0d94c
  
https://github.com/Perl/perl5/commit/24382a39ec2f9d9028f50ff4780e1726eab0d94c
  Author: David Mitchell 
  Date:   2024-07-29 (Mon, 29 Jul 2024)

  Changed paths:
M lib/ExtUtils/typemap

  Log Message:
  ---
  lib/ExtUtils/typemap: add some comments

Add a few lines to the top of this file explaining what its purpose is.


  Commit: fee5e5b933aa4792bf576f1657f015df25bf4cc7
  
https://github.com/Perl/perl5/commit/fee5e5b933aa4792bf576f1657f015df25bf4cc7
  Author: David Mitchell 
  Date:   2024-07-29 (Mon, 29 Jul 2024)

  Changed paths:
M MANIFEST
M Porting/exec-bit.txt
A dist/ExtUtils-ParseXS/author/mksnapshot.pl

  Log Message:
  ---
  ExtUtils-ParseXS: add author/mksnapshot.pl utility

Crude tool to collect before and after snapshots of all .c files created
by xsubpp, in order to see what (if anything) has changed in
functionality while working on ParseXS files.


  Commit: 339e005a3a31e47da916b678dbca0a2949ae9ed2
  
https://github.com/Perl/perl5/commit/339e005a3a31e47da916b678dbca0a2949ae9ed2
  Author: David Mitchell 
  Date:   2024-07-29 (Mon, 29 Jul 2024)

  Changed paths:
M dist/ExtUtils-ParseXS/lib/ExtUtils/ParseXS/Utilities.pm

  Log Message:
  ---
  ExtUtils::ParseXS: update pod for error handling

Consolidate the POD for the various warning- and error-raising methods
into a single block of text, to give a better overview of which method
should be used when (e.g. warning vs deferred errors vs die immediately)

The diff looks confusing, but its basically deleting the individual
chunk of pod directly above each method, then adding a complete new
block of pod. This contains completely new text, rather than copying
and pasting.


  Commit: 7244f6488fd013b68fa490990ed15515c8a64289
  
https://github.com/Perl/perl5/commit/7244f6488fd013b68fa490990ed15515c8a64289
  Author: David Mitchell 
  Date:   2024-07-30 (Tue, 30 Jul 2024)

  Changed paths:
M dist/ExtUtils-ParseXS/lib/ExtUtils/ParseXS.pm
M dist/ExtUtils-ParseXS/lib/ExtUtils/ParseXS/Constants.pm
M dist/ExtUtils-ParseXS/lib/ExtUtils/ParseXS/Utilities.pm
M dist/ExtUtils-ParseXS/lib/ExtUtils/Typemaps.pm

  Log Message:
  ---
  Extutils::ParseXS *.pm: add many code comments

To aid the understanding of this module and its sub-modules:

 - add lots of code comments
 - add blank lines
 - reformat and/or line-wrap a few long code lines

There should be no functional changes.

In particular, the line count of ParseXS.pm is increased by about 60%
with this commit.

I've tried to consistently use the word 'emit' rather than 'print' or
'output' in comments about the code that gets generated and ends up in
the .c file. At the moment most of this code code is indeed just
immediately printed to STDOUT, but in the longer term I would like to
separate out code generation and output stages.


Compare: https://github.com/Perl/perl5/compare/c752269e22e4%5E...7244f6488fd0

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...

2024-07-28 Thread Karl Williamson via perl5-changes
  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

2024-07-28 Thread Karl Williamson via perl5-changes
  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

2024-07-28 Thread Karl Williamson via perl5-changes
  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

2024-07-28 Thread Karl Williamson via perl5-changes
  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] ba648d: perldelta for 300daee11

2024-07-28 Thread Tony Cook via perl5-changes
  Branch: refs/heads/blead
  Home:   https://github.com/Perl/perl5
  Commit: ba648dfb0f2ec6aec5ada06872a0d4459d462613
  
https://github.com/Perl/perl5/commit/ba648dfb0f2ec6aec5ada06872a0d4459d462613
  Author: Tony Cook 
  Date:   2024-07-29 (Mon, 29 Jul 2024)

  Changed paths:
M pod/perldelta.pod

  Log Message:
  ---
  perldelta for 300daee11



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


[Perl/perl5] 300dae: readdir() etc: better warning if called on handle ...

2024-07-28 Thread Tony Cook via perl5-changes
  Branch: refs/heads/blead
  Home:   https://github.com/Perl/perl5
  Commit: 300daee115d7db34046e449a893aafc0e34b368c
  
https://github.com/Perl/perl5/commit/300daee115d7db34046e449a893aafc0e34b368c
  Author: Tony Cook 
  Date:   2024-07-29 (Mon, 29 Jul 2024)

  Changed paths:
M embed.fnc
M embed.h
M pod/perldiag.pod
M pp_sys.c
M proto.h
M t/op/readdir.t

  Log Message:
  ---
  readdir() etc: better warning if called on handle open()ed as file

Fixes #22394



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

2024-07-28 Thread Karl Williamson via perl5-changes
  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...

2024-07-28 Thread Karl Williamson via perl5-changes
  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] 6e7a08: perldata: $# is a sigil, too

2024-07-27 Thread mauke via perl5-changes
  Branch: refs/heads/blead
  Home:   https://github.com/Perl/perl5
  Commit: 6e7a08ee6592de6672127b25e6905d02c265fd4a
  
https://github.com/Perl/perl5/commit/6e7a08ee6592de6672127b25e6905d02c265fd4a
  Author: Lukas Mai 
  Date:   2024-07-27 (Sat, 27 Jul 2024)

  Changed paths:
M pod/perldata.pod

  Log Message:
  ---
  perldata: $# is a sigil, too



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


[Perl/perl5] a1f85d: perldelta: Document the new SvTYPE() checks added ...

2024-07-26 Thread Paul Evans via perl5-changes
  Branch: refs/heads/blead
  Home:   https://github.com/Perl/perl5
  Commit: a1f85d995e8797503b4272d0177e662c998792a2
  
https://github.com/Perl/perl5/commit/a1f85d995e8797503b4272d0177e662c998792a2
  Author: Paul "LeoNerd" Evans 
  Date:   2024-07-26 (Fri, 26 Jul 2024)

  Changed paths:
M pod/perldelta.pod

  Log Message:
  ---
  perldelta: Document the new SvTYPE() checks added by 2463f19365 and related 
work



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


[Perl/perl5] 0209f7: perldelta for GH #22412 / d8935409c9

2024-07-26 Thread mauke via perl5-changes
  Branch: refs/heads/blead
  Home:   https://github.com/Perl/perl5
  Commit: 0209f740cae39cb59b1996012f94696982bef45c
  
https://github.com/Perl/perl5/commit/0209f740cae39cb59b1996012f94696982bef45c
  Author: Lukas Mai 
  Date:   2024-07-26 (Fri, 26 Jul 2024)

  Changed paths:
M pod/perldelta.pod

  Log Message:
  ---
  perldelta for GH #22412 / d8935409c9



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


[Perl/perl5] 5a099d: t/op/bop.t: consistently use 4-space indentation

2024-07-25 Thread mauke via perl5-changes
  Branch: refs/heads/blead
  Home:   https://github.com/Perl/perl5
  Commit: 5a099d9e732823639742396273e296862d7643df
  
https://github.com/Perl/perl5/commit/5a099d9e732823639742396273e296862d7643df
  Author: Lukas Mai 
  Date:   2024-07-26 (Fri, 26 Jul 2024)

  Changed paths:
M t/op/bop.t

  Log Message:
  ---
  t/op/bop.t: consistently use 4-space indentation

Previously, this block used 2- and even 1-space indents unlike the rest
of the file.


  Commit: d8935409c94992d3e665cdaa1c5411eb55a0e9e2
  
https://github.com/Perl/perl5/commit/d8935409c94992d3e665cdaa1c5411eb55a0e9e2
  Author: Lukas Mai 
  Date:   2024-07-26 (Fri, 26 Jul 2024)

  Changed paths:
M op.c
M t/op/bop.t

  Log Message:
  ---
  op.c: treat bitwise-{and,xor,or} assignment as lvalue

Previously, `($x &= $y) += $z` was fine (since `&=` returns an lvalue),
but not under feature "bitwise":

Can't modify numeric bitwise and (&) in addition (+) at ...

Similar for `^=` and `|=`.

Extend the lvalue behavior of the old number/string mixed bitwise
assignment operators (`&= ^= |=`) to the new separate bitwise assignment
operators available under feature "bitwise" (`&= ^= |= &.= ^.= |.=`).

Fixes #22412.


Compare: https://github.com/Perl/perl5/compare/eabcc813bd32...d8935409c949

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

2024-07-25 Thread Karl Williamson via perl5-changes
  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

2024-07-25 Thread Karl Williamson via perl5-changes
  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 a

[Perl/perl5] 8e916e: pad.c: Ensure SvTYPE(cvbody) == SVt_PVCV during de...

2024-07-24 Thread Paul Evans via perl5-changes
  Branch: refs/heads/blead
  Home:   https://github.com/Perl/perl5
  Commit: 8e916e2da49b0112fbf2629de82d28f1106d116a
  
https://github.com/Perl/perl5/commit/8e916e2da49b0112fbf2629de82d28f1106d116a
  Author: Paul "LeoNerd" Evans 
  Date:   2024-07-24 (Wed, 24 Jul 2024)

  Changed paths:
M pad.c

  Log Message:
  ---
  pad.c: Ensure SvTYPE(cvbody) == SVt_PVCV during destruction to keep asserts 
happy


  Commit: 6951448cba147cb7162bdb65373828f5745b1b45
  
https://github.com/Perl/perl5/commit/6951448cba147cb7162bdb65373828f5745b1b45
  Author: Paul "LeoNerd" Evans 
  Date:   2024-07-24 (Wed, 24 Jul 2024)

  Changed paths:
M regen/embed.pl

  Log Message:
  ---
  regen/embed.pl: minor refactor of code that generates args assert macros


  Commit: 8a3f7de4fca3ce5f371b0ce9da80430697b68840
  
https://github.com/Perl/perl5/commit/8a3f7de4fca3ce5f371b0ce9da80430697b68840
  Author: Paul "LeoNerd" Evans 
  Date:   2024-07-24 (Wed, 24 Jul 2024)

  Changed paths:
M proto.h
M regen/embed.pl

  Log Message:
  ---
  regen/embed.pl: better line-wrapping of args assert macros


  Commit: 2463f19365f941f68e9d5eed2f787341df8ccdef
  
https://github.com/Perl/perl5/commit/2463f19365f941f68e9d5eed2f787341df8ccdef
  Author: Paul "LeoNerd" Evans 
  Date:   2024-07-24 (Wed, 24 Jul 2024)

  Changed paths:
M embed.fnc
M proto.h
M regen/embed.pl

  Log Message:
  ---
  Put SvTYPE() asserts in args check macros

By default, any argument to a function whose type is AV *, CV * or HV *
will have an SvTYPE() check added to its PERL_ARGS_ASSERT_... macro.
This helps catch errors of mismatched structure types being passed to
API functions.

AV and HV checks are simple. CV checks must check for both SVt_PVCV and
SVt_PVFM, because of forms.

Currently we do not implement checks on GVs because so many of the
GV-related functions are sometimes used when the "gv" pointer does not
in fact point at a valid GV instance.

Arguments to a number of the functions have been marked with a "NOCHECK"
tag, which disables the type checking on that argument. These are for
similar reasons to GVs; functions which permit pointers to be passed
that don't in fact point at the type of structure the pointer argument
would suggest.

It may be an ongoing task to tidy up some of these usecases (if
internal), or to either change the external-facing APIs, or define new
"union types" of pointer to better indicate the nature of allowed values
for the remaining functions.


Compare: https://github.com/Perl/perl5/compare/6483534c5e13...2463f19365f9

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


[Perl/perl5] 043614: perlhacktips: Nits

2024-07-24 Thread Karl Williamson via perl5-changes
  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] 882351: t/op/sub_lval.t: Add tests for lvalue subs returni...

2024-07-23 Thread TAKAI Kousuke via perl5-changes
  Branch: refs/heads/blead
  Home:   https://github.com/Perl/perl5
  Commit: 882351cd85e35e54eda68d31eacab1f9e389c692
  
https://github.com/Perl/perl5/commit/882351cd85e35e54eda68d31eacab1f9e389c692
  Author: TAKAI Kousuke <62541129+t-...@users.noreply.github.com>
  Date:   2024-07-23 (Tue, 23 Jul 2024)

  Changed paths:
M t/op/sub_lval.t

  Log Message:
  ---
  t/op/sub_lval.t: Add tests for lvalue subs returning vec() or substr() and 
called twice in one expression

Perl prior to v5.20 (at least v5.16.3, v5.18.4) fail to return correct
value from subroutine returning vec() and substr() as lvalue but called
multiple times in rvalue context of one expression:

$ perl -wle 'my $x = "\002"; sub myvec1 :lvalue { vec($x, $_[0], 1) }' \
-e 'print myvec1(0); print myvec1(1); print myvec1(0) + myvec1(1)'
0
1
2
$

This apparently had been fixed in the commit
169504d53dbeb12d5171b2b44e7db3c2b81af314 (in 2013), but testcases
for these symptoms doesn't seem to exist.


  Commit: 14c6cf250f94c71721a13c5ecf226384afed3235
  
https://github.com/Perl/perl5/commit/14c6cf250f94c71721a13c5ecf226384afed3235
  Author: TAKAI Kousuke <62541129+t-...@users.noreply.github.com>
  Date:   2024-07-23 (Tue, 23 Jul 2024)

  Changed paths:
M t/op/sub_lval.t

  Log Message:
  ---
  t/op/sub_lval.t: Fix grammar in comment

Thanks to @jkeenan for pointing this out.


Compare: https://github.com/Perl/perl5/compare/8c299c38076a...14c6cf250f94

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

2024-07-23 Thread Karl Williamson via perl5-changes
  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] eba70b: fix embed.fnc argnames for do_trans_count_invmap/d...

2024-07-23 Thread Paul Evans via perl5-changes
  Branch: refs/heads/blead
  Home:   https://github.com/Perl/perl5
  Commit: eba70b4712b50ee9794fb0d0d8b31828b34d62e6
  
https://github.com/Perl/perl5/commit/eba70b4712b50ee9794fb0d0d8b31828b34d62e6
  Author: Paul "LeoNerd" Evans 
  Date:   2024-07-23 (Tue, 23 Jul 2024)

  Changed paths:
M embed.fnc
M proto.h

  Log Message:
  ---
  fix embed.fnc argnames for do_trans_count_invmap/do_trans_invmap


  Commit: c9d48c1703835a0743f9b1128c271fb9aa3116c1
  
https://github.com/Perl/perl5/commit/c9d48c1703835a0743f9b1128c271fb9aa3116c1
  Author: Paul "LeoNerd" Evans 
  Date:   2024-07-23 (Tue, 23 Jul 2024)

  Changed paths:
M gv.c

  Log Message:
  ---
  gv.c: make Perl_cvstash_set()'s argument names match its embed.fnc entry


Compare: https://github.com/Perl/perl5/compare/cb7053107d31...c9d48c170383

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


[Perl/perl5]

2024-07-23 Thread Graham Knop via perl5-changes
  Branch: refs/heads/haarg/makerel-ustar
  Home:   https://github.com/Perl/perl5

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


[Perl/perl5] cb7053: makerel: always use ustar format

2024-07-23 Thread Graham Knop via perl5-changes
  Branch: refs/heads/blead
  Home:   https://github.com/Perl/perl5
  Commit: cb7053107d319696177f9ee39e872a959797ccad
  
https://github.com/Perl/perl5/commit/cb7053107d319696177f9ee39e872a959797ccad
  Author: Graham Knop 
  Date:   2024-07-23 (Tue, 23 Jul 2024)

  Changed paths:
M Porting/makerel

  Log Message:
  ---
  makerel: always use ustar format

When generating release tarballs, always use ustar format. The ustar
format is one of the POSIX standard formats, and is the basis for future
tar formats. It supports all of the features we need to create a release
tarball. The newer formats support extended attributes that can produce
warnings when extracting on some systems. This includes attributes like
LIBARCHIVE.xattr.com.apple.quarantine, set on macOS systems on files
downloaded from the internet. Using the ustar format prevents those
attributes from being stored in the tarball and avoids the warnings.



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


[Perl/perl5] cdc26f: perldelta for de5c773a8f0b

2024-07-22 Thread Tony Cook via perl5-changes
  Branch: refs/heads/blead
  Home:   https://github.com/Perl/perl5
  Commit: cdc26f786ed336e8d9234b8b03ea02061aea71ce
  
https://github.com/Perl/perl5/commit/cdc26f786ed336e8d9234b8b03ea02061aea71ce
  Author: Tony Cook 
  Date:   2024-07-23 (Tue, 23 Jul 2024)

  Changed paths:
M pod/perldelta.pod

  Log Message:
  ---
  perldelta for de5c773a8f0b



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


[Perl/perl5] 0fbaa6: hints/cygwin.sh: don't touch system symbol __STRIC...

2024-07-22 Thread Tony Cook via perl5-changes
  Branch: refs/heads/blead
  Home:   https://github.com/Perl/perl5
  Commit: 0fbaa61cadd4107aa1e9737266b985742949004c
  
https://github.com/Perl/perl5/commit/0fbaa61cadd4107aa1e9737266b985742949004c
  Author: Tony Cook 
  Date:   2024-07-23 (Tue, 23 Jul 2024)

  Changed paths:
M hints/cygwin.sh

  Log Message:
  ---
  hints/cygwin.sh: don't touch system symbol __STRICT_ANSI__

Adding _GNU_SOURCE, which was done much later, should give us the
GNU-ish symbols (though POSIX_C_SOURCE would be more general.)

I couldn't find the reason for this being added, but the C++
headers react badly to it:

In file included from /usr/lib/gcc/x86_64-pc-cygwin/11/include/c++/iostream:38,
 from source.cpp:1:
/usr/lib/gcc/x86_64-pc-cygwin/11/include/c++/x86_64-pc-cygwin/bits/c++config.h:573:2:
 warning: #warning "__STRICT_ANSI__ seems to have been undefined; this is not 
supported" [-Wcpp]
  573 | #warning "__STRICT_ANSI__ seems to have been undefined; this is not 
supported"
  |  ^~~
In file included from 
/usr/lib/gcc/x86_64-pc-cygwin/11/include/c++/bits/max_size_type.h:37,
 from 
/usr/lib/gcc/x86_64-pc-cygwin/11/include/c++/bits/ranges_base.h:38,
 from 
/usr/lib/gcc/x86_64-pc-cygwin/11/include/c++/string_view:48,
 from 
/usr/lib/gcc/x86_64-pc-cygwin/11/include/c++/bits/basic_string.h:48,
 from /usr/lib/gcc/x86_64-pc-cygwin/11/include/c++/string:55,
 from 
/usr/lib/gcc/x86_64-pc-cygwin/11/include/c++/bits/locale_classes.h:40,
 from 
/usr/lib/gcc/x86_64-pc-cygwin/11/include/c++/bits/ios_base.h:41,
 from /usr/lib/gcc/x86_64-pc-cygwin/11/include/c++/ios:42,
 from /usr/lib/gcc/x86_64-pc-cygwin/11/include/c++/ostream:38,
 from /usr/lib/gcc/x86_64-pc-cygwin/11/include/c++/iostream:39,
 from source.cpp:1:
/usr/lib/gcc/x86_64-pc-cygwin/11/include/c++/numbers:139:9: error: unable to 
find numeric literal operator 'operator""Q'
  139 |   = 2.718281828459045235360287471352662498Q;
  | ^~~
...


  Commit: de5c773a8f0b6ad68db300ffd18117f078bbdb5a
  
https://github.com/Perl/perl5/commit/de5c773a8f0b6ad68db300ffd18117f078bbdb5a
  Author: Tony Cook 
  Date:   2024-07-23 (Tue, 23 Jul 2024)

  Changed paths:
M MANIFEST
A t/porting/cpphdrcheck.t

  Log Message:
  ---
  porting/cpphdrcheck.t: test perl's headers with C++ compilers

This searches for a C++ compiler based on the supplied C compiler, and
checks that compiler for any options controlling the C++ standard
requested, including simple checks that the compiler supports that
standard.

If a C++ compiler is found, test compilation of the same simple code
as above but with the perl headers included after any C++ headers.

Ideally we'd also test runtime, but would require more complex test
code, which I leave to later contributors (which may still be me).

Tested at various times with:

 - MSVC
 - gcc
 - clang
 - Oracle/Sun Development Workshop cc (CC is the C++ compiler), on
   Oracle Linux
 - Intel oneAPI compiler (llvm based apparently, and now free to use)
 - Intel classic compiler (discontinued)

Currently this probes the compiler for C++ sanity with the perl
ccflags, since icc (Intel classic) would successfully build the sample
without perl's ccflags, but then fail with both the headers and perl's
ccflags.  It turned out to fail with just the ccflags, and since the
primary intent is to test the headers, I probe *with* ccflags.

The Sun Workshop compiler failed to build the C++11 or 14 sample at
all in my testing, which may have been due to an installation problem.


Compare: https://github.com/Perl/perl5/compare/27fb3da4282f...de5c773a8f0b

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


[Perl/perl5] 27fb3d: perldelta for 6507a1d24b, 0b035daf24666

2024-07-22 Thread Tony Cook via perl5-changes
  Branch: refs/heads/blead
  Home:   https://github.com/Perl/perl5
  Commit: 27fb3da4282fb1e71f7b7cd08eb5687db6a714ef
  
https://github.com/Perl/perl5/commit/27fb3da4282fb1e71f7b7cd08eb5687db6a714ef
  Author: Tony Cook 
  Date:   2024-07-23 (Tue, 23 Jul 2024)

  Changed paths:
M pod/perldelta.pod

  Log Message:
  ---
  perldelta for 6507a1d24b, 0b035daf24666



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


[Perl/perl5] 27974f: perl5db.pl: it fiddles with %sub, not @sub

2024-07-22 Thread Tony Cook via perl5-changes
  Branch: refs/heads/blead
  Home:   https://github.com/Perl/perl5
  Commit: 27974fe813200d3d61d223418d942f70ba772563
  
https://github.com/Perl/perl5/commit/27974fe813200d3d61d223418d942f70ba772563
  Author: Tony Cook 
  Date:   2024-07-23 (Tue, 23 Jul 2024)

  Changed paths:
M lib/perl5db.pl

  Log Message:
  ---
  perl5db.pl: it fiddles with %sub, not @sub


  Commit: 6507a1d24b17b1807ae1bb8ddec26f7ee2778a48
  
https://github.com/Perl/perl5/commit/6507a1d24b17b1807ae1bb8ddec26f7ee2778a48
  Author: Tony Cook 
  Date:   2024-07-23 (Tue, 23 Jul 2024)

  Changed paths:
M lib/perl5db.pl
M lib/perl5db.t

  Log Message:
  ---
  perl5db.pl: b subname and c subname break on first executable line

This currently doesn't try to handle "b postpone subname" since that
internally has an offset function that doesn't really work
with this implementation.

This is a partial fix for #799


  Commit: 0b035daf2466608dcac4f5051711e1708d9e5db4
  
https://github.com/Perl/perl5/commit/0b035daf2466608dcac4f5051711e1708d9e5db4
  Author: Tony Cook 
  Date:   2024-07-23 (Tue, 23 Jul 2024)

  Changed paths:
M lib/perl5db.pl
M lib/perl5db.t

  Log Message:
  ---
  perl5db.pl: apply the "break on first line" fix to b postpone subname

and just plain fix "b postpone subname", which didn't stop at all
on my postponed sub test code at all as far back at 5.10.

Fixes #799


  Commit: fd9c3b24b97c29cdc2ebbc5d7467a61a7b8c6b25
  
https://github.com/Perl/perl5/commit/fd9c3b24b97c29cdc2ebbc5d7467a61a7b8c6b25
  Author: Tony Cook 
  Date:   2024-07-23 (Tue, 23 Jul 2024)

  Changed paths:
M lib/perl5db.t

  Log Message:
  ---
  perl5db.t: add a test for "b compile subname"

I've just been looking at the implementation, and there's no
test, so add one.


Compare: https://github.com/Perl/perl5/compare/352ca4bc58b6...fd9c3b24b97c

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


[Perl/perl5] 6a5261: handy.h: Use 'ref_' as a macro-local temporary as ...

2024-07-22 Thread Paul Evans via perl5-changes
  Branch: refs/heads/blead
  Home:   https://github.com/Perl/perl5
  Commit: 6a526154191fcb68dcb7cd97ccb6171c77e9b72f
  
https://github.com/Perl/perl5/commit/6a526154191fcb68dcb7cd97ccb6171c77e9b72f
  Author: Paul "LeoNerd" Evans 
  Date:   2024-07-22 (Mon, 22 Jul 2024)

  Changed paths:
M handy.h

  Log Message:
  ---
  handy.h: Use 'ref_' as a macro-local temporary as '_ref' might be reserved by 
C


  Commit: 7ce5a41b882b12286a3f310385ad5e565679d4a8
  
https://github.com/Perl/perl5/commit/7ce5a41b882b12286a3f310385ad5e565679d4a8
  Author: Paul "LeoNerd" Evans 
  Date:   2024-07-22 (Mon, 22 Jul 2024)

  Changed paths:
M handy.h

  Log Message:
  ---
  handy.h: Add GV_FROM_REF()


  Commit: 352ca4bc58b68e6be2951711d9a1c660286e4508
  
https://github.com/Perl/perl5/commit/352ca4bc58b68e6be2951711d9a1c660286e4508
  Author: Paul "LeoNerd" Evans 
  Date:   2024-07-22 (Mon, 22 Jul 2024)

  Changed paths:
M mg.c
M op.c
M perlio.c
M pp.c
M pp_ctl.c
M pp_hot.c
M regcomp.c
M regcomp_study.c
M regexec.c
M sv.c
M universal.c
M vutil.c

  Log Message:
  ---
  Replace most calls of MUTABLE_xV(SvRV()) with xV_FROM_REF()

This results in shorter neater code, and additional debugging assertions
that the dereferenced SVs really are the requested type when built under
`-DDEBUGGING`.

When I added the xV_FROM_REF() macros, I searched for `(TYPE)SvRV` style
cast expressions, but forgot to additionally look for `MUTABLE_xV()`
calls.

There are additionally two spots in pp_hot.c that cannot be modified,
because despite casting the result to a CV pointer, the SV isn't
actually a CV. I've added a comment on these lines as to why they're not
altered.


Compare: https://github.com/Perl/perl5/compare/de762f931176...352ca4bc58b6

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


[Perl/perl5] de762f: Define and use macro families for typed refcount i...

2024-07-22 Thread Paul Evans via perl5-changes
  Branch: refs/heads/blead
  Home:   https://github.com/Perl/perl5
  Commit: de762f931176aff45a21bfc3ab7854cd229602ad
  
https://github.com/Perl/perl5/commit/de762f931176aff45a21bfc3ab7854cd229602ad
  Author: Paul "LeoNerd" Evans 
  Date:   2024-07-22 (Mon, 22 Jul 2024)

  Changed paths:
M av.h
M class.c
M cv.h
M gv.c
M gv.h
M hv.h
M pad.c
M perl.c
M pp_ctl.c
M pp_hot.c
M pp_sort.c
M regcomp.c
M sv.c
M toke.c

  Log Message:
  ---
  Define and use macro families for typed refcount increment

Create specific macros for incrementing the refcount of an AV, CV, GV or
HV, returning a typed pointer to avoid the caller needing to cast the
result. This yields neater easier-to-read code.

While not implemented here, this gives an opportunity to add an
`assert()` check on the SvTYPE of the structure being adjusted, for
extra debug checking during debugging builds.



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


[Perl/perl5] 1c8b66: Update perlcheat.pod removing inconsistency

2024-07-21 Thread 積丹尼 Dan Jacobson via perl5-changes
  Branch: refs/heads/blead
  Home:   https://github.com/Perl/perl5
  Commit: 1c8b66f3dcebedb963116eabf0b583223fe8ee70
  
https://github.com/Perl/perl5/commit/1c8b66f3dcebedb963116eabf0b583223fe8ee70
  Author: 積丹尼 Dan Jacobson 
  Date:   2024-07-21 (Sun, 21 Jul 2024)

  Changed paths:
M pod/perlcheat.pod

  Log Message:
  ---
  Update perlcheat.pod removing inconsistency

P.S., "p" and "t" are never explained.



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


[Perl/perl5] 709453: bump here too

2024-07-20 Thread Karen Etheridge via perl5-changes
  Branch: refs/heads/blead
  Home:   https://github.com/Perl/perl5
  Commit: 70945362941220de536dd8b3ee92494669ec4dcc
  
https://github.com/Perl/perl5/commit/70945362941220de536dd8b3ee92494669ec4dcc
  Author: Karen Etheridge 
  Date:   2024-07-20 (Sat, 20 Jul 2024)

  Changed paths:
M lib/B/Op_private.pm

  Log Message:
  ---
  bump here too



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


[Perl/perl5] 7da67d: Module-CoreList-5.20240720 is released

2024-07-20 Thread Karen Etheridge via perl5-changes
  Branch: refs/heads/blead
  Home:   https://github.com/Perl/perl5
  Commit: 7da67db2b4409c4e11d5a0e485e665d58a9a3021
  
https://github.com/Perl/perl5/commit/7da67db2b4409c4e11d5a0e485e665d58a9a3021
  Author: Karen Etheridge 
  Date:   2024-07-20 (Sat, 20 Jul 2024)

  Changed paths:
M Porting/Maintainers.pl

  Log Message:
  ---
  Module-CoreList-5.20240720 is released


  Commit: e0f9f015bd380689891ccca86b1c44e96a9ea089
  
https://github.com/Perl/perl5/commit/e0f9f015bd380689891ccca86b1c44e96a9ea089
  Author: Karen Etheridge 
  Date:   2024-07-20 (Sat, 20 Jul 2024)

  Changed paths:
M dist/Module-CoreList/Changes
M dist/Module-CoreList/lib/Module/CoreList.pm
M dist/Module-CoreList/lib/Module/CoreList/Utils.pm

  Log Message:
  ---
  Prepare Module::Corelist for 5.41.3


Compare: https://github.com/Perl/perl5/compare/c59d397c9cff...e0f9f015bd38

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


[Perl/perl5] c59d39: add epigraph for 5.41.2

2024-07-20 Thread Karen Etheridge via perl5-changes
  Branch: refs/heads/blead
  Home:   https://github.com/Perl/perl5
  Commit: c59d397c9cff51ee88ea2f5a4d7b76eef694d1e6
  
https://github.com/Perl/perl5/commit/c59d397c9cff51ee88ea2f5a4d7b76eef694d1e6
  Author: Karen Etheridge 
  Date:   2024-07-20 (Sat, 20 Jul 2024)

  Changed paths:
M Porting/epigraphs.pod

  Log Message:
  ---
  add epigraph for 5.41.2



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


[Perl/perl5] 71e85a: fix placeholder

2024-07-20 Thread Karen Etheridge via perl5-changes
  Branch: refs/heads/blead
  Home:   https://github.com/Perl/perl5
  Commit: 71e85a12884a16abcbd915fe825fdca37d1463a7
  
https://github.com/Perl/perl5/commit/71e85a12884a16abcbd915fe825fdca37d1463a7
  Author: Karen Etheridge 
  Date:   2024-07-20 (Sat, 20 Jul 2024)

  Changed paths:
M Porting/release_announcement_template.txt

  Log Message:
  ---
  fix placeholder


  Commit: 475136c4d0e4f9abead1f936becd98c2cd89200d
  
https://github.com/Perl/perl5/commit/475136c4d0e4f9abead1f936becd98c2cd89200d
  Author: Karen Etheridge 
  Date:   2024-07-20 (Sat, 20 Jul 2024)

  Changed paths:
M Porting/release_schedule.pod

  Log Message:
  ---
  tick off releases 5.41.[012]


  Commit: 29e697c9cdce6da1a44ddce9d4096be1ec5a6751
  
https://github.com/Perl/perl5/commit/29e697c9cdce6da1a44ddce9d4096be1ec5a6751
  Author: Karen Etheridge 
  Date:   2024-07-20 (Sat, 20 Jul 2024)

  Changed paths:
M MANIFEST
M Makefile.SH
M pod/.gitignore
M pod/perl.pod
A pod/perl5412delta.pod
M pod/perldelta.pod
M vms/descrip_mms.template
M win32/GNUmakefile
M win32/Makefile
M win32/pod.mak

  Log Message:
  ---
  New perldelta for 5.41.2


  Commit: 2063be14c28f0fcb5e82b4905c486dca6ea79c7f
  
https://github.com/Perl/perl5/commit/2063be14c28f0fcb5e82b4905c486dca6ea79c7f
  Author: Karen Etheridge 
  Date:   2024-07-20 (Sat, 20 Jul 2024)

  Changed paths:
M Cross/config.sh-arm-linux
M Cross/config.sh-arm-linux-n770
M INSTALL
M META.json
M META.yml
M Porting/config.sh
M Porting/config_H
M Porting/perldelta_template.pod
M Porting/todo.pod
M README.haiku
M README.macosx
M README.os2
M README.vms
M hints/catamount.sh
M patchlevel.h
M plan9/config_sh.sample
M win32/GNUmakefile
M win32/Makefile

  Log Message:
  ---
  Bump the perl version in various places for 5.41.3


Compare: https://github.com/Perl/perl5/compare/bcb5884b9b0a...2063be14c28f

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


[Perl/perl5] c846a1: bump POSIX version (for change 6d28b2f81a)

2024-07-20 Thread Karen Etheridge via perl5-changes
  Branch: refs/heads/blead
  Home:   https://github.com/Perl/perl5
  Commit: c846a1499facd087b62b5fb01fcf3dbdfdd9d15a
  
https://github.com/Perl/perl5/commit/c846a1499facd087b62b5fb01fcf3dbdfdd9d15a
  Author: Karen Etheridge 
  Date:   2024-07-20 (Sat, 20 Jul 2024)

  Changed paths:
M ext/POSIX/lib/POSIX.pm

  Log Message:
  ---
  bump POSIX version (for change 6d28b2f81a)


  Commit: 6dc9313944f1234c07ee592d1cc02f70275f3faa
  
https://github.com/Perl/perl5/commit/6dc9313944f1234c07ee592d1cc02f70275f3faa
  Author: Karen Etheridge 
  Date:   2024-07-20 (Sat, 20 Jul 2024)

  Changed paths:
M dist/Module-CoreList/lib/Module/CoreList.pm

  Log Message:
  ---
  Update Module::CoreList for 5.41.2


  Commit: 3aa065a617e196ecf08a94c5f4a2f65f0da5beab
  
https://github.com/Perl/perl5/commit/3aa065a617e196ecf08a94c5f4a2f65f0da5beab
  Author: Karen Etheridge 
  Date:   2024-07-20 (Sat, 20 Jul 2024)

  Changed paths:
M pod/perldelta.pod

  Log Message:
  ---
  finalize perldelta for 5.41.2

- remove template content and unused sections
- add missing content for documentation and utility changes
- insert list of changed modules
- turn github references into links
- add acknowledgements


  Commit: b7bc753c3a3f431a570fe81fe1380cb685b223b9
  
https://github.com/Perl/perl5/commit/b7bc753c3a3f431a570fe81fe1380cb685b223b9
  Author: Karen Etheridge 
  Date:   2024-07-20 (Sat, 20 Jul 2024)

  Changed paths:
M Porting/perldelta_template.pod

  Log Message:
  ---
  amend delta template: pod markup, whitespace


  Commit: bcb5884b9b0ae1345ac74420bacb865ba11baab3
  
https://github.com/Perl/perl5/commit/bcb5884b9b0ae1345ac74420bacb865ba11baab3
  Author: Karen Etheridge 
  Date:   2024-07-20 (Sat, 20 Jul 2024)

  Changed paths:
M pod/perlhist.pod

  Log Message:
  ---
  Add new release to perlhist


Compare: https://github.com/Perl/perl5/compare/e5303a25e4ae...bcb5884b9b0a

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


[Perl/perl5] c846a1: bump POSIX version (for change 6d28b2f81a)

2024-07-20 Thread Karen Etheridge via perl5-changes
  Branch: refs/tags/v5.41.2
  Home:   https://github.com/Perl/perl5
  Commit: c846a1499facd087b62b5fb01fcf3dbdfdd9d15a
  
https://github.com/Perl/perl5/commit/c846a1499facd087b62b5fb01fcf3dbdfdd9d15a
  Author: Karen Etheridge 
  Date:   2024-07-20 (Sat, 20 Jul 2024)

  Changed paths:
M ext/POSIX/lib/POSIX.pm

  Log Message:
  ---
  bump POSIX version (for change 6d28b2f81a)


  Commit: 6dc9313944f1234c07ee592d1cc02f70275f3faa
  
https://github.com/Perl/perl5/commit/6dc9313944f1234c07ee592d1cc02f70275f3faa
  Author: Karen Etheridge 
  Date:   2024-07-20 (Sat, 20 Jul 2024)

  Changed paths:
M dist/Module-CoreList/lib/Module/CoreList.pm

  Log Message:
  ---
  Update Module::CoreList for 5.41.2


  Commit: 3aa065a617e196ecf08a94c5f4a2f65f0da5beab
  
https://github.com/Perl/perl5/commit/3aa065a617e196ecf08a94c5f4a2f65f0da5beab
  Author: Karen Etheridge 
  Date:   2024-07-20 (Sat, 20 Jul 2024)

  Changed paths:
M pod/perldelta.pod

  Log Message:
  ---
  finalize perldelta for 5.41.2

- remove template content and unused sections
- add missing content for documentation and utility changes
- insert list of changed modules
- turn github references into links
- add acknowledgements


  Commit: b7bc753c3a3f431a570fe81fe1380cb685b223b9
  
https://github.com/Perl/perl5/commit/b7bc753c3a3f431a570fe81fe1380cb685b223b9
  Author: Karen Etheridge 
  Date:   2024-07-20 (Sat, 20 Jul 2024)

  Changed paths:
M Porting/perldelta_template.pod

  Log Message:
  ---
  amend delta template: pod markup, whitespace


  Commit: bcb5884b9b0ae1345ac74420bacb865ba11baab3
  
https://github.com/Perl/perl5/commit/bcb5884b9b0ae1345ac74420bacb865ba11baab3
  Author: Karen Etheridge 
  Date:   2024-07-20 (Sat, 20 Jul 2024)

  Changed paths:
M pod/perlhist.pod

  Log Message:
  ---
  Add new release to perlhist


Compare: https://github.com/Perl/perl5/compare/c846a1499fac%5E...bcb5884b9b0a

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


[Perl/perl5] e5303a: fix typos in old entries

2024-07-19 Thread Karen Etheridge via perl5-changes
  Branch: refs/heads/blead
  Home:   https://github.com/Perl/perl5
  Commit: e5303a25e4aed228e89e4db6ce3391829b7f9382
  
https://github.com/Perl/perl5/commit/e5303a25e4aed228e89e4db6ce3391829b7f9382
  Author: Karen Etheridge 
  Date:   2024-07-19 (Fri, 19 Jul 2024)

  Changed paths:
M Porting/epigraphs.pod

  Log Message:
  ---
  fix typos in old entries



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


[Perl/perl5]

2024-07-17 Thread Tony Cook via perl5-changes
  Branch: refs/heads/smartmatch-removal
  Home:   https://github.com/Perl/perl5

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


[Perl/perl5] 995f06: switch removal: remove given/when/break/continue

2024-07-17 Thread Tony Cook via perl5-changes
  Branch: refs/heads/smartmatch-removal
  Home:   https://github.com/Perl/perl5
  Commit: 995f0662f4f3f5e0ba82ccba6a9c8948c01d4b6c
  
https://github.com/Perl/perl5/commit/995f0662f4f3f5e0ba82ccba6a9c8948c01d4b6c
  Author: Tony Cook 
  Date:   2024-07-18 (Thu, 18 Jul 2024)

  Changed paths:
M MANIFEST
M cop.h
M dump.c
M embed.fnc
M embed.h
M ext/Opcode/Opcode.pm
M gv.c
M inline.h
M keywords.c
M keywords.h
M lib/B/Deparse-core.t
M lib/B/Deparse.pm
M lib/B/Deparse.t
M lib/B/Op_private.pm
M op.c
M opcode.h
M opnames.h
M perl.h
M perly.act
M perly.h
M perly.tab
M perly.y
M pod/perldiag.pod
M pod/perlguts.pod
M pod/perlsyn.pod
M pp_ctl.c
M pp_proto.h
M proto.h
M regen/keywords.pl
M regen/opcodes
M sv.c
M t/lib/croak/pp_ctl
R t/lib/feature/switch
M t/op/coreamp.t
M t/op/coresubs.t
M t/op/cproto.t
M t/op/state.t
R t/op/switch.t
M t/op/taint.t
M toke.c

  Log Message:
  ---
  switch removal: remove given/when/break/continue

continue blocks are not removed


  Commit: fb7c6d762195075209f099bcef6261b2ab6ffd67
  
https://github.com/Perl/perl5/commit/fb7c6d762195075209f099bcef6261b2ab6ffd67
  Author: Tony Cook 
  Date:   2024-07-18 (Thu, 18 Jul 2024)

  Changed paths:
M MANIFEST
M embed.fnc
M embed.h
M ext/Opcode/Opcode.pm
M lib/B/Deparse.pm
M lib/B/Op_private.pm
M lib/overload.pm
M lib/overload.t
M lib/overload/numbers.pm
M op.c
M opcode.h
M opnames.h
M overload.h
M overload.inc
M pod/perlcheat.pod
M pod/perldiag.pod
M pod/perlop.pod
M pp_ctl.c
M pp_proto.h
M proto.h
M regen/opcodes
M regen/overload.pl
M sv.c
M t/lib/warnings/9uninit
M t/lib/warnings/op
M t/lib/warnings/utf8
R t/op/smartmatch.t
M t/op/svleak.t
M t/op/taint.t
M t/op/tie_fetch_count.t
M toke.c

  Log Message:
  ---
  switch removal: remove smartmatch


  Commit: c88bef28cad881fb3b6b2dea0e84a53326158979
  
https://github.com/Perl/perl5/commit/c88bef28cad881fb3b6b2dea0e84a53326158979
  Author: Tony Cook 
  Date:   2024-07-18 (Thu, 18 Jul 2024)

  Changed paths:
M feature.h
M lib/B/Deparse.t
M lib/feature.pm
M regen/feature.pl
M t/lib/feature/api
M t/lib/feature/removed

  Log Message:
  ---
  smartmatch removal: remove the feature from feature.pm


Compare: https://github.com/Perl/perl5/compare/995f0662f4f3%5E...c88bef28cad8

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


[Perl/perl5] c43f2f: Update PSC after 2024 elections

2024-07-17 Thread James E Keenan via perl5-changes
  Branch: refs/heads/blead
  Home:   https://github.com/Perl/perl5
  Commit: c43f2fd16a6517cc5028fffb8e6e474df98faf52
  
https://github.com/Perl/perl5/commit/c43f2fd16a6517cc5028fffb8e6e474df98faf52
  Author: James E Keenan 
  Date:   2024-07-17 (Wed, 17 Jul 2024)

  Changed paths:
M .mailmap
M Porting/core-team.json
M pod/perlgov.pod

  Log Message:
  ---
  Update PSC after 2024 elections

One more entry for atoomic.



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


[Perl/perl5] a07529: regexp apidoc was misspelled

2024-07-17 Thread Karl Williamson via perl5-changes
  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] d5130c: perldelta for 3c9d78c0eb

2024-07-17 Thread James E Keenan via perl5-changes
  Branch: refs/heads/blead
  Home:   https://github.com/Perl/perl5
  Commit: d5130c9e6f6b97c6bbb6bfa9db18b88bb3412383
  
https://github.com/Perl/perl5/commit/d5130c9e6f6b97c6bbb6bfa9db18b88bb3412383
  Author: James E Keenan 
  Date:   2024-07-17 (Wed, 17 Jul 2024)

  Changed paths:
M pod/perldelta.pod

  Log Message:
  ---
  perldelta for 3c9d78c0eb

Revised per feedback in GH #22410.



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


[Perl/perl5] 66788e: Update metadata

2024-07-17 Thread Erik Huelsmann via perl5-changes
  Branch: refs/heads/blead
  Home:   https://github.com/Perl/perl5
  Commit: 66788e856e366dac035ca73842d2101af21d79b8
  
https://github.com/Perl/perl5/commit/66788e856e366dac035ca73842d2101af21d79b8
  Author: Erik Huelsmann 
  Date:   2024-07-17 (Wed, 17 Jul 2024)

  Changed paths:
M dist/Safe/Makefile.PL

  Log Message:
  ---
  Update metadata



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


[Perl/perl5] 4b7eff: File::Spec::Unix->path(): Keep trailing empty PATH...

2024-07-16 Thread Aaron Dill via perl5-changes
  Branch: refs/heads/blead
  Home:   https://github.com/Perl/perl5
  Commit: 4b7eff31fe162cee932440362b8d110ebc6f4377
  
https://github.com/Perl/perl5/commit/4b7eff31fe162cee932440362b8d110ebc6f4377
  Author: Aaron Dill 
  Date:   2024-07-16 (Tue, 16 Jul 2024)

  Changed paths:
M AUTHORS
M dist/PathTools/Cwd.pm
M dist/PathTools/lib/File/Spec.pm
M dist/PathTools/lib/File/Spec/AmigaOS.pm
M dist/PathTools/lib/File/Spec/Cygwin.pm
M dist/PathTools/lib/File/Spec/Epoc.pm
M dist/PathTools/lib/File/Spec/Functions.pm
M dist/PathTools/lib/File/Spec/Mac.pm
M dist/PathTools/lib/File/Spec/OS2.pm
M dist/PathTools/lib/File/Spec/Unix.pm
M dist/PathTools/lib/File/Spec/VMS.pm
M dist/PathTools/lib/File/Spec/Win32.pm
M dist/PathTools/t/Spec.t

  Log Message:
  ---
  File::Spec::Unix->path(): Keep trailing empty PATH elements

Fixes #22346 by ensuring that trailing PATH elements are maintained *on
Unix*


  Commit: 9d1d951ba93af016e2d2da4ba4477fc44b3b5498
  
https://github.com/Perl/perl5/commit/9d1d951ba93af016e2d2da4ba4477fc44b3b5498
  Author: Aaron Dill 
  Date:   2024-07-16 (Tue, 16 Jul 2024)

  Changed paths:
M dist/PathTools/lib/File/Spec/OS2.pm
M dist/PathTools/t/Spec.t

  Log Message:
  ---
  File::Spec::OS2->path(): Keep trailing empty PATH elements

keeps empty trailing PATH segments on OS2.
I'm unsure of the OS2 semantics regarding PATH, so this is in a seperate
commit in case it needs to be reverted.


Compare: https://github.com/Perl/perl5/compare/9ade21367526...9d1d951ba93a

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

2024-07-16 Thread Karl Williamson via perl5-changes
  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] 411ade: perldelta for 08962c5467e2a7e

2024-07-16 Thread Tony Cook via perl5-changes
  Branch: refs/heads/blead
  Home:   https://github.com/Perl/perl5
  Commit: 411ade5162317467d6c4142737a77f65b68620e8
  
https://github.com/Perl/perl5/commit/411ade5162317467d6c4142737a77f65b68620e8
  Author: Tony Cook 
  Date:   2024-07-17 (Wed, 17 Jul 2024)

  Changed paths:
M pod/perldelta.pod

  Log Message:
  ---
  perldelta for 08962c5467e2a7e



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


<    2   3   4   5   6   7   8   9   10   11   >