Branch: refs/heads/yves/deprecation_subcategories
  Home:   https://github.com/Perl/perl5
  Commit: 17b50ffebc725e853410693652a3512bdfa81ea5
      
https://github.com/Perl/perl5/commit/17b50ffebc725e853410693652a3512bdfa81ea5
  Author: Yves Orton <[email protected]>
  Date:   2023-03-11 (Sat, 11 Mar 2023)

  Changed paths:
    M regcomp_internal.h

  Log Message:
  -----------
  regcomp_internal.h - make unused macros for deprecation warnings take 
category as parameter

we should have a deprecation category per type of deprecation


  Commit: 58736b9bdaa6e226673072bd42289ec0f8cc46d1
      
https://github.com/Perl/perl5/commit/58736b9bdaa6e226673072bd42289ec0f8cc46d1
  Author: Yves Orton <[email protected]>
  Date:   2023-03-11 (Sat, 11 Mar 2023)

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

  Log Message:
  -----------
  utf8.c - add category parameter to unused warn_on_first_deprecated_use 
function


  Commit: d1ba06b56de9cdca69a028b32e7e2e70870f2fff
      
https://github.com/Perl/perl5/commit/d1ba06b56de9cdca69a028b32e7e2e70870f2fff
  Author: Yves Orton <[email protected]>
  Date:   2023-03-11 (Sat, 11 Mar 2023)

  Changed paths:
    M lib/warnings.pm
    M pod/perldiag.pod
    M regen/warnings.pl
    M toke.c
    M warnings.h

  Log Message:
  -----------
  warnings.pm - support deprecated::smartmatch category

Currently we seem to lack a way to have a subcategory under deprecated.
It seems reasonable to me that people might want to disable a specific
subcategory warning while leaving the rest in place. This patch allows
that. Note that both

    no warnings "deprecated";

and

    no warnings "deprecated::smartmatch";

work to disable the warning. Deprecated warnings shouldn't be "all or
nothing", they should be specific and targetted.


  Commit: e047b2bd802bce7ef8389fd396831e583d2d369d
      
https://github.com/Perl/perl5/commit/e047b2bd802bce7ef8389fd396831e583d2d369d
  Author: Yves Orton <[email protected]>
  Date:   2023-03-11 (Sat, 11 Mar 2023)

  Changed paths:
    M lib/warnings.pm
    M pod/perldiag.pod
    M pp_ctl.c
    M regen/warnings.pl
    M warnings.h

  Log Message:
  -----------
  warnings.pm - add deprecated::dot_in_inc warings category

Instead of using a generic warnings category switch to fine grained
control.


  Commit: 9debfc210a9037da6a95620a09df39511db95cf7
      
https://github.com/Perl/perl5/commit/9debfc210a9037da6a95620a09df39511db95cf7
  Author: Yves Orton <[email protected]>
  Date:   2023-03-11 (Sat, 11 Mar 2023)

  Changed paths:
    M lib/warnings.pm
    M pod/perldiag.pod
    M regcomp.c
    M regen/warnings.pl
    M warnings.h

  Log Message:
  -----------
  warnings.pm - support deprecated::unicode_property_name category

This category is only used in the regex engine, we should be able
to disable it specifically, as it seems like we will never actually
remove demove support for the things it warns about.


  Commit: e00cfa051744346bc23a7d67b6d64c28fdb612ba
      
https://github.com/Perl/perl5/commit/e00cfa051744346bc23a7d67b6d64c28fdb612ba
  Author: Yves Orton <[email protected]>
  Date:   2023-03-11 (Sat, 11 Mar 2023)

  Changed paths:
    M lib/warnings.pm
    M pod/perldiag.pod
    M regen/warnings.pl
    M toke.c
    M warnings.h

  Log Message:
  -----------
  warnings.pm - add deprecated::apostrophe_as_package_separator as new 
deprecation category

This category is about use of apostrophe as a package separator, eg
for things like "Test::More::isn't()".


  Commit: 21e672064eb8c10e6e2305d06b7adf2d129110e4
      
https://github.com/Perl/perl5/commit/21e672064eb8c10e6e2305d06b7adf2d129110e4
  Author: Yves Orton <[email protected]>
  Date:   2023-03-11 (Sat, 11 Mar 2023)

  Changed paths:
    M lib/warnings.pm
    M pod/perldiag.pod
    M regen/warnings.pl
    M toke.c
    M warnings.h

  Log Message:
  -----------
  warnings.pm - add deprecated::delimiter_will_be_paired category

Some delimiters are considered deprecated because in the future they
will be used as part of a paired delimiter. This adds a new category
for these cases.


  Commit: 9ac796e0a2a8608ad3644a324d7a15993dccb858
      
https://github.com/Perl/perl5/commit/9ac796e0a2a8608ad3644a324d7a15993dccb858
  Author: Yves Orton <[email protected]>
  Date:   2023-03-11 (Sat, 11 Mar 2023)

  Changed paths:
    M handy.h
    M lib/warnings.pm
    M pod/perldiag.pod
    M pp_ctl.c
    M regen/warnings.pl
    M warnings.h

  Log Message:
  -----------
  warnings.pm - add deprecated::goto_construct category

This category applies to attempts to goto the internals of a block
construct.


  Commit: f64f6e824cddb22ce6c163184903b3d618a79752
      
https://github.com/Perl/perl5/commit/f64f6e824cddb22ce6c163184903b3d618a79752
  Author: Yves Orton <[email protected]>
  Date:   2023-03-11 (Sat, 11 Mar 2023)

  Changed paths:
    M handy.h
    M lib/warnings.pm
    M op.c
    M pod/perldiag.pod
    M regen/warnings.pl
    M warnings.h

  Log Message:
  -----------
  warnings.pm - add deprecated::version_downgrade category

This also fixes the version_downgrade to show the correct version that
version downgrades will be removed in.


  Commit: 617170d8fd39cea88b7e990098ec4b601c61d363
      
https://github.com/Perl/perl5/commit/617170d8fd39cea88b7e990098ec4b601c61d363
  Author: Yves Orton <[email protected]>
  Date:   2023-03-11 (Sat, 11 Mar 2023)

  Changed paths:
    M regen/warnings.pl

  Log Message:
  -----------
  regen/warnings.pl - line up categories, put them in date order

This makes it easier to see the order the categories were added in.


  Commit: 94368e2019af36a6627c556f903edf2185fe64c5
      
https://github.com/Perl/perl5/commit/94368e2019af36a6627c556f903edf2185fe64c5
  Author: Yves Orton <[email protected]>
  Date:   2023-03-11 (Sat, 11 Mar 2023)

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

  Log Message:
  -----------
  embed.fnc - document deprecate_xxx() macros and add them to handy.h

Also do not generate PERL_ARGS style macros for macros.


  Commit: 5b8881c1a8fe2c738d02d95debf3c7f355ed8521
      
https://github.com/Perl/perl5/commit/5b8881c1a8fe2c738d02d95debf3c7f355ed8521
  Author: Yves Orton <[email protected]>
  Date:   2023-03-11 (Sat, 11 Mar 2023)

  Changed paths:
    M handy.h

  Log Message:
  -----------
  handy.h - fixup for deprecated warnings and docs


  Commit: 48d14d9aae7d57e2e0af12f39eba0dcfb8518c42
      
https://github.com/Perl/perl5/commit/48d14d9aae7d57e2e0af12f39eba0dcfb8518c42
  Author: Yves Orton <[email protected]>
  Date:   2023-03-11 (Sat, 11 Mar 2023)

  Changed paths:
    M pp_ctl.c
    M t/porting/diag.t

  Log Message:
  -----------
  diag.t - detect use of "deprecate_xxx()" style functions


  Commit: ae67d7568a2ada25e0d1cdc5165ae3944278a476
      
https://github.com/Perl/perl5/commit/ae67d7568a2ada25e0d1cdc5165ae3944278a476
  Author: Yves Orton <[email protected]>
  Date:   2023-03-11 (Sat, 11 Mar 2023)

  Changed paths:
    M t/porting/diag.t

  Log Message:
  -----------
  diag.t - parse and validate "when" parameter from deprecated_xxx() macros

the "when" parameter is expected to be a version string of the form "5.\d+",
with no minor version.


  Commit: d2486d72e5fbb519d6a17ed678a22adc70c64c01
      
https://github.com/Perl/perl5/commit/d2486d72e5fbb519d6a17ed678a22adc70c64c01
  Author: Yves Orton <[email protected]>
  Date:   2023-03-11 (Sat, 11 Mar 2023)

  Changed paths:
    M pod/perldeprecation.pod

  Log Message:
  -----------
  perldeprecation.pod - add smartmatch deprecation

This was missed when smartmatch was deprecated.


  Commit: ac76abe9818df81d17e3f18ef59cf5243545bf83
      
https://github.com/Perl/perl5/commit/ac76abe9818df81d17e3f18ef59cf5243545bf83
  Author: Yves Orton <[email protected]>
  Date:   2023-03-11 (Sat, 11 Mar 2023)

  Changed paths:
    M pod/perldeprecation.pod

  Log Message:
  -----------
  perldeprecation.pod - apostrophe as package separator goes away in 5.42

It was incorrectly documented as going away in 5.40


  Commit: 229ef0acb594efc5237fa78ea5b36be31075ad01
      
https://github.com/Perl/perl5/commit/229ef0acb594efc5237fa78ea5b36be31075ad01
  Author: Yves Orton <[email protected]>
  Date:   2023-03-11 (Sat, 11 Mar 2023)

  Changed paths:
    M pod/perldeprecation.pod

  Log Message:
  -----------
  perldeprecation.pod - add unscheduled deprecations and add category info

Multiple deprecation types that are not scheduled for removal in a
specific version were not listed. Also now that we have deprecation
subcategories we should specify them in the docs.


  Commit: 0b2570f1238805d9b892c9cf4c704071e7ad7d6a
      
https://github.com/Perl/perl5/commit/0b2570f1238805d9b892c9cf4c704071e7ad7d6a
  Author: Yves Orton <[email protected]>
  Date:   2023-03-11 (Sat, 11 Mar 2023)

  Changed paths:
    M MANIFEST
    M regen/warnings.pl
    A t/porting/deprecation.t

  Log Message:
  -----------
  t/porting/deprecation.t - add tests for deprecation documentation and 
categories


Compare: https://github.com/Perl/perl5/compare/70c1072e0db1...0b2570f12388

Reply via email to