[Perl/perl5] bfeb4e: perlclass: improve wording

2024-02-14 Thread mauke via perl5-changes
  Branch: refs/heads/blead
  Home:   https://github.com/Perl/perl5
  Commit: bfeb4ec8e48d429edf21c8f6ece3aa3c02912667
  
https://github.com/Perl/perl5/commit/bfeb4ec8e48d429edf21c8f6ece3aa3c02912667
  Author: Lukas Mai 
  Date:   2024-02-15 (Thu, 15 Feb 2024)

  Changed paths:
M pod/perlclass.pod

  Log Message:
  ---
  perlclass: improve wording


  Commit: e41e5af8f5ae8e6055aea1e43f73267de99dbfe1
  
https://github.com/Perl/perl5/commit/e41e5af8f5ae8e6055aea1e43f73267de99dbfe1
  Author: Lukas Mai 
  Date:   2024-02-15 (Thu, 15 Feb 2024)

  Changed paths:
M pod/perlclass.pod

  Log Message:
  ---
  perlclass: link to perlmod, perlobj, perlfunc/bless


  Commit: 83cd917a0a070181ded1d3a927c1deec9c34d7f8
  
https://github.com/Perl/perl5/commit/83cd917a0a070181ded1d3a927c1deec9c34d7f8
  Author: Lukas Mai 
  Date:   2024-02-15 (Thu, 15 Feb 2024)

  Changed paths:
M pod/perlclass.pod

  Log Message:
  ---
  perlclass: link to perlmod/Packages in description of 'class'


Compare: https://github.com/Perl/perl5/compare/3680036caeb9...83cd917a0a07


[Perl/perl5] 29b0cc: Allow using varargs when explicitly asking for it

2024-02-14 Thread Leon Timmermans via perl5-changes
  Branch: refs/heads/blead
  Home:   https://github.com/Perl/perl5
  Commit: 29b0ccbf86239e4f179d573e3465722f9c023e08
  
https://github.com/Perl/perl5/commit/29b0ccbf86239e4f179d573e3465722f9c023e08
  Author: Leon Timmermans 
  Date:   2024-02-15 (Thu, 15 Feb 2024)

  Changed paths:
M regen/embed.pl

  Log Message:
  ---
  Allow using varargs when explicitly asking for it

It may be dangerous to enable this by default, because that could break
code that assumes the interpreter pointer will be fetched automatically,
it is actually desirable for code that is written with this in mind.


  Commit: 3680036caeb96623846557a7f48078901e4f598b
  
https://github.com/Perl/perl5/commit/3680036caeb96623846557a7f48078901e4f598b
  Author: Leon Timmermans 
  Date:   2024-02-15 (Thu, 15 Feb 2024)

  Changed paths:
M embed.h

  Log Message:
  ---
  Run make regen with PERL_WANT_VARARGS check


Compare: https://github.com/Perl/perl5/compare/b1b37a9c9acb...3680036caeb9


[Perl/perl5] b1b37a: perlfunc: document relationship between wait() and...

2024-02-14 Thread Tony Cook via perl5-changes
  Branch: refs/heads/blead
  Home:   https://github.com/Perl/perl5
  Commit: b1b37a9c9acbf977eaca8b5dcf6a4ccfa257b503
  
https://github.com/Perl/perl5/commit/b1b37a9c9acbf977eaca8b5dcf6a4ccfa257b503
  Author: Tony Cook 
  Date:   2024-02-15 (Thu, 15 Feb 2024)

  Changed paths:
M pod/perlfunc.pod

  Log Message:
  ---
  perlfunc: document relationship between wait() and waitpid()

Finally fixes #15108, which was mostly fixed by mauke in a6b6b8e
and 237516c.




[Perl/perl5] e6b735: Warn about shadowing names when importing a lexica...

2024-02-14 Thread Paul Evans via perl5-changes
  Branch: refs/heads/blead
  Home:   https://github.com/Perl/perl5
  Commit: e6b735631fbc3c8187978e2e651decf4f6f63f0e
  
https://github.com/Perl/perl5/commit/e6b735631fbc3c8187978e2e651decf4f6f63f0e
  Author: Paul "LeoNerd" Evans 
  Date:   2024-02-14 (Wed, 14 Feb 2024)

  Changed paths:
M lib/builtin.t
M pad.c
M pod/perldiag.pod
M t/lib/warnings/builtin
M t/lib/warnings/pad
M t/op/attrproto.t
M t/op/lexsub.t

  Log Message:
  ---
  Warn about shadowing names when importing a lexical sub whose name matches a 
package one


  Commit: aa0ba9a3994c6ef612b25456ab865b651e0ae1fa
  
https://github.com/Perl/perl5/commit/aa0ba9a3994c6ef612b25456ab865b651e0ae1fa
  Author: Paul "LeoNerd" Evans 
  Date:   2024-02-14 (Wed, 14 Feb 2024)

  Changed paths:
M pod/perldelta.pod

  Log Message:
  ---
  perldelta for new lexical sub warning


Compare: https://github.com/Perl/perl5/compare/ebec9c595662...aa0ba9a3994c


[Perl/perl5] ebec9c: makedef.pl: PL_cur_locale_obj is only POSIX 2008 m...

2024-02-14 Thread Karl Williamson via perl5-changes
  Branch: refs/heads/blead
  Home:   https://github.com/Perl/perl5
  Commit: ebec9c595662482d4bd6aafd655125e25b061d44
  
https://github.com/Perl/perl5/commit/ebec9c595662482d4bd6aafd655125e25b061d44
  Author: Karl Williamson 
  Date:   2024-02-14 (Wed, 14 Feb 2024)

  Changed paths:
M makedef.pl

  Log Message:
  ---
  makedef.pl: PL_cur_locale_obj is only POSIX 2008 multiplicity




[Perl/perl5] a9ab5e: pad.h: remove pad_peg (was part of MAD)

2024-02-14 Thread mauke via perl5-changes
  Branch: refs/heads/blead
  Home:   https://github.com/Perl/perl5
  Commit: a9ab5eec7b2f8da87868ba19dcc8838a2db182f0
  
https://github.com/Perl/perl5/commit/a9ab5eec7b2f8da87868ba19dcc8838a2db182f0
  Author: Lukas Mai 
  Date:   2024-02-14 (Wed, 14 Feb 2024)

  Changed paths:
M pad.c
M pad.h

  Log Message:
  ---
  pad.h: remove pad_peg (was part of MAD)

This was missed in b5bbe64ad2ec5141 when most of MAD was removed.
pad_peg() has been a no-op macro ever since.




[Perl/perl5] d35fff: locale.c: Remove unnecessary assertions

2024-02-14 Thread Karl Williamson via perl5-changes
  Branch: refs/heads/blead
  Home:   https://github.com/Perl/perl5
  Commit: d35fffc19e9fcc44e479e3e3ce83778620d537ff
  
https://github.com/Perl/perl5/commit/d35fffc19e9fcc44e479e3e3ce83778620d537ff
  Author: Karl Williamson 
  Date:   2024-02-14 (Wed, 14 Feb 2024)

  Changed paths:
M locale.c

  Log Message:
  ---
  locale.c: Remove unnecessary assertions

These assertions come from a time that the parameter they each check was
an 'unsigned', even though the legal values were actually between 0 and
at most about 12, depending on the platform.   The check just validated
that the value was in the platform's proper range.  Later, an enum was
created to represent this information, and the parameter's type was
changed to be this enum.  So the compiler ensures that the value is in
range, and there's no need for us to explicitly check it as well.




[Perl/perl5] 14ace7: perlfunc: %j format is no long unportable

2024-02-14 Thread Karl Williamson via perl5-changes
  Branch: refs/heads/blead
  Home:   https://github.com/Perl/perl5
  Commit: 14ace789037370b25dd0d513dcc251e70290d72f
  
https://github.com/Perl/perl5/commit/14ace789037370b25dd0d513dcc251e70290d72f
  Author: Karl Williamson 
  Date:   2024-02-14 (Wed, 14 Feb 2024)

  Changed paths:
M pod/perlfunc.pod

  Log Message:
  ---
  perlfunc: %j format is no long unportable

Clarify its pod




[Perl/perl5] 36ed4b: locale.c: Use widest int type for parameter

2024-02-14 Thread Karl Williamson via perl5-changes
  Branch: refs/heads/blead
  Home:   https://github.com/Perl/perl5
  Commit: 36ed4b5cddb7a210db757ace5bdad96b1776ea08
  
https://github.com/Perl/perl5/commit/36ed4b5cddb7a210db757ace5bdad96b1776ea08
  Author: Karl Williamson 
  Date:   2024-02-14 (Wed, 14 Feb 2024)

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

  Log Message:
  ---
  locale.c: Use widest int type for parameter

nl_langinfo() is a libc function, specified by POSIX, that returns
information about some particular element of a locale.  Which element is
desired is passed to nl_langinfo() via a parameter with a typedef of
'nl_item'.  What that typedef actually is is opaque to perl.  On my
Linux glibc, it is an 'int', but it could just as easily be an enum.
POSIX lists all the elements that nl_langinfo() should handle, but some
platforms have extensions beyond those.  Perl aims to handle any
somewhat prominent such extension, which means it needs fallbacks if the
particular item isn't available on a given platform.

emulate_langinfo() is used to handle such fallbacks.  If an element
isn't available on a platform, perl has to create an element number that
doesn't clash with any nl_item one.  perl also has to cope with
platforms that don't have nl_langinfo() at all (Win32 is one).  In this
case it has to create an 'nl_item' typedef.  We use 'int'.

So emulate_langinfo() has to be able to handle an 'int' or whatever the
system specifies an nl_item may be.  This could be a 'long' or a
'long long'.  The only way to do that is to make the parameter as wide
as the the platform permits.  That is what this commit does.

This commit also casts the item to the widest possible value with
corresponding %j format for display in a Debug statement in the
sv_langinfo_i() function.