Branch: refs/heads/blead Home: https://github.com/Perl/perl5 Commit: b27367cd9b0173682dfe824a2d1d8d70c6f538c0 https://github.com/Perl/perl5/commit/b27367cd9b0173682dfe824a2d1d8d70c6f538c0 Author: Yves Orton <demer...@gmail.com> Date: 2023-03-18 (Sat, 18 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: 905584a6fe44cfcb198cc15af5e082ceb57ccf85 https://github.com/Perl/perl5/commit/905584a6fe44cfcb198cc15af5e082ceb57ccf85 Author: Yves Orton <demer...@gmail.com> Date: 2023-03-18 (Sat, 18 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: d81b4f9331172ed96e5382fe1e1091e9d4b85495 https://github.com/Perl/perl5/commit/d81b4f9331172ed96e5382fe1e1091e9d4b85495 Author: Yves Orton <demer...@gmail.com> Date: 2023-03-18 (Sat, 18 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: 21b005c93f9d47fdacd6d19b6e4bd297b891ab41 https://github.com/Perl/perl5/commit/21b005c93f9d47fdacd6d19b6e4bd297b891ab41 Author: Yves Orton <demer...@gmail.com> Date: 2023-03-18 (Sat, 18 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: 25991c51d4866aeef3eeef13c1dc562fff82d7e4 https://github.com/Perl/perl5/commit/25991c51d4866aeef3eeef13c1dc562fff82d7e4 Author: Yves Orton <demer...@gmail.com> Date: 2023-03-18 (Sat, 18 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: 25676a74796a9afdbb6efe609bbfc7e223921fae https://github.com/Perl/perl5/commit/25676a74796a9afdbb6efe609bbfc7e223921fae Author: Yves Orton <demer...@gmail.com> Date: 2023-03-18 (Sat, 18 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: 71e49ade7b75dfc7d9e1cd013ddd9558a739e722 https://github.com/Perl/perl5/commit/71e49ade7b75dfc7d9e1cd013ddd9558a739e722 Author: Yves Orton <demer...@gmail.com> Date: 2023-03-18 (Sat, 18 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: 2d8fceed5417cb8fcc169f35f36ea58b7bb9cded https://github.com/Perl/perl5/commit/2d8fceed5417cb8fcc169f35f36ea58b7bb9cded Author: Yves Orton <demer...@gmail.com> Date: 2023-03-18 (Sat, 18 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: b689ed93d1ae924a59738611b98517cbe071b1ab https://github.com/Perl/perl5/commit/b689ed93d1ae924a59738611b98517cbe071b1ab Author: Yves Orton <demer...@gmail.com> Date: 2023-03-18 (Sat, 18 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: 2be0f9ab18210566a04d5ca25e01585d8d2e3104 https://github.com/Perl/perl5/commit/2be0f9ab18210566a04d5ca25e01585d8d2e3104 Author: Yves Orton <demer...@gmail.com> Date: 2023-03-18 (Sat, 18 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: 4771d6c6f808a4463c6f54900d985c3bfc43355e https://github.com/Perl/perl5/commit/4771d6c6f808a4463c6f54900d985c3bfc43355e Author: Yves Orton <demer...@gmail.com> Date: 2023-03-18 (Sat, 18 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: 40d8c63c1a036a0231588c08ec51757b36000cea https://github.com/Perl/perl5/commit/40d8c63c1a036a0231588c08ec51757b36000cea Author: Yves Orton <demer...@gmail.com> Date: 2023-03-18 (Sat, 18 Mar 2023) Changed paths: M handy.h Log Message: ----------- handy.h - fixup for deprecated warnings and docs Commit: 1b4420e8995b35fc17ded852d068fa1ab53ddf19 https://github.com/Perl/perl5/commit/1b4420e8995b35fc17ded852d068fa1ab53ddf19 Author: Yves Orton <demer...@gmail.com> Date: 2023-03-18 (Sat, 18 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: a455a55aaa6c566ab7a987ed4cf2806329380151 https://github.com/Perl/perl5/commit/a455a55aaa6c566ab7a987ed4cf2806329380151 Author: Yves Orton <demer...@gmail.com> Date: 2023-03-18 (Sat, 18 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: 53226a9d9ec68b876970175e28c0d0ba9b7e3280 https://github.com/Perl/perl5/commit/53226a9d9ec68b876970175e28c0d0ba9b7e3280 Author: Yves Orton <demer...@gmail.com> Date: 2023-03-18 (Sat, 18 Mar 2023) Changed paths: M pod/perldeprecation.pod Log Message: ----------- perldeprecation.pod - add smartmatch deprecation This was missed when smartmatch was deprecated. Commit: e50498cea0a192dac2c4674e6bf8fffa082d78a8 https://github.com/Perl/perl5/commit/e50498cea0a192dac2c4674e6bf8fffa082d78a8 Author: Yves Orton <demer...@gmail.com> Date: 2023-03-18 (Sat, 18 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: b3adc681f4ed86f8c921ec9d0dce3456c4c15301 https://github.com/Perl/perl5/commit/b3adc681f4ed86f8c921ec9d0dce3456c4c15301 Author: Yves Orton <demer...@gmail.com> Date: 2023-03-18 (Sat, 18 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: 0144c00009c239ba048250dbe197d198453adc06 https://github.com/Perl/perl5/commit/0144c00009c239ba048250dbe197d198453adc06 Author: Yves Orton <demer...@gmail.com> Date: 2023-03-18 (Sat, 18 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/93f6f9654a81...0144c00009c2