head 1.8; access; symbols pkgsrc-2023Q4:1.8.0.2 pkgsrc-2023Q4-base:1.8 pkgsrc-2023Q3:1.7.0.16 pkgsrc-2023Q3-base:1.7 pkgsrc-2023Q2:1.7.0.14 pkgsrc-2023Q2-base:1.7 pkgsrc-2023Q1:1.7.0.12 pkgsrc-2023Q1-base:1.7 pkgsrc-2022Q4:1.7.0.10 pkgsrc-2022Q4-base:1.7 pkgsrc-2022Q3:1.7.0.8 pkgsrc-2022Q3-base:1.7 pkgsrc-2022Q2:1.7.0.6 pkgsrc-2022Q2-base:1.7 pkgsrc-2022Q1:1.7.0.4 pkgsrc-2022Q1-base:1.7 pkgsrc-2021Q4:1.7.0.2 pkgsrc-2021Q4-base:1.7 pkgsrc-2021Q3:1.5.0.32 pkgsrc-2021Q3-base:1.5 pkgsrc-2021Q2:1.5.0.30 pkgsrc-2021Q2-base:1.5 pkgsrc-2021Q1:1.5.0.28 pkgsrc-2021Q1-base:1.5 pkgsrc-2020Q4:1.5.0.26 pkgsrc-2020Q4-base:1.5 pkgsrc-2020Q3:1.5.0.24 pkgsrc-2020Q3-base:1.5 pkgsrc-2020Q2:1.5.0.22 pkgsrc-2020Q2-base:1.5 pkgsrc-2020Q1:1.5.0.18 pkgsrc-2020Q1-base:1.5 pkgsrc-2019Q4:1.5.0.20 pkgsrc-2019Q4-base:1.5 pkgsrc-2019Q3:1.5.0.16 pkgsrc-2019Q3-base:1.5 pkgsrc-2019Q2:1.5.0.14 pkgsrc-2019Q2-base:1.5 pkgsrc-2019Q1:1.5.0.12 pkgsrc-2019Q1-base:1.5 pkgsrc-2018Q4:1.5.0.10 pkgsrc-2018Q4-base:1.5 pkgsrc-2018Q3:1.5.0.8 pkgsrc-2018Q3-base:1.5 pkgsrc-2018Q2:1.5.0.6 pkgsrc-2018Q2-base:1.5 pkgsrc-2018Q1:1.5.0.4 pkgsrc-2018Q1-base:1.5 pkgsrc-2017Q4:1.5.0.2 pkgsrc-2017Q4-base:1.5 pkgsrc-2017Q3:1.4.0.4 pkgsrc-2017Q3-base:1.4 pkgsrc-2017Q2:1.3.0.2 pkgsrc-2017Q2-base:1.3 pkgsrc-2017Q1:1.2.0.2 pkgsrc-2017Q1-base:1.2 pkgsrc-2016Q4:1.1.0.6 pkgsrc-2016Q4-base:1.1 pkgsrc-2016Q3:1.1.0.4 pkgsrc-2016Q3-base:1.1 pkgsrc-2016Q2:1.1.0.2 pkgsrc-2016Q2-base:1.1; locks; strict; comment @# @; 1.8 date 2023.12.16.11.40.33; author mef; state Exp; branches; next 1.7; commitid s2jz8ZgvrT99qGQE; 1.7 date 2021.10.26.10.16.40; author nia; state Exp; branches; next 1.6; commitid XMBRkrafc79x2jeD; 1.6 date 2021.10.07.13.41.33; author nia; state Exp; branches; next 1.5; commitid TK9Y8OXA04EYMSbD; 1.5 date 2017.11.13.15.10.33; author wiz; state Exp; branches; next 1.4; commitid SNGxmmAmKTMp4TeA; 1.4 date 2017.09.17.10.35.15; author wiz; state Exp; branches; next 1.3; commitid 3k5mvO1E8KhAnx7A; 1.3 date 2017.04.19.12.01.43; author mef; state Exp; branches; next 1.2; commitid KmiwJ9U9ie02I8Oz; 1.2 date 2017.03.20.09.12.26; author mef; state Exp; branches; next 1.1; commitid 1173FNj4kyXfJgKz; 1.1 date 2016.06.11.12.44.27; author kamil; state Exp; branches; next ; commitid 7CvUQT0cTM14Y2az; desc @@ 1.8 log @(devel/p5-Function-Parameters) Updated 2.001003 to 2.002004 2.002004 2023-07-15 - Remove 'perl -T' from tests. This way we can run on perls compiled without support for taint mode. The test didn't actually care about taint anyway. 2.002003 2023-04-19 - Fix line numbers after inlined type checks (gh #42). Previously, the code for type checks was inlined literally, so if a particular check took 5 lines of code, all the following line numbers in the source file would be off by 5 (they would be "pushed down" by the interpolated code). These bad line numbers would show up in error messages from Perl (including warn and die) as well as __LINE__ and caller (and thus stack traces). 2.002002 2023-04-01 - Work around old versions of ExtUtils::MakeMaker not providing is_make_type(), whose version dependency is undocumented (sigh). - Restrict GNU syntax for exporting variables to type 'gmake'; should fix building on BSD, Solaris, etc. - Declare dependency on ExtUtils::MakeMaker 7+ and remove compatibility code for older versions. 2.002001 2023-04-01 - Fix (hopefully) Windows builds using nmake.exe. 2.002 2023-04-01 - Provide //= for default arguments that are also used when the caller passes in undef. - Provide more type combinators in parameter declarations: In addition to | (union types), now ~ & / are also supported (for complement types, intersection types, and alternative types, respectively). - Enable type coercions. If a parameter has a declared type and that type supports coercions ($type->has_coercion returns true), call its ->coerce($value) method to transform arguments before type checking. - Enable inline type checks. If a parameter has a declared type and that type supports inlining ($type->can_be_inlined returns true), its inline code (as provided by ->inline_check('$value')) is baked into the function definition instead of a call to ->check($value). This may speed up type checks. - Move a big chunk of tests to xt/ (author testing only). - Remove xt/ from the distribution. - Enable parallel testing by default (with -j4). 2.001006 2023-03-27 - Work around perl core issue GH#20950 (use re "eval" doesn't capture lexical %^H environment like eval() does and stringifies it instead) by downgrading the previous hard error to a warning (in the new category 'Function::Parameters') and switching Function::Parameters off in the affected scope. 2.001005 2023-01-27 - Fix failures with perl 5.37.5 .. 5.37.6 caused by new internal opcode structure for anonymous subs. 2.001004 2023-01-20 - Drop Dir::Self test dependency (use FindBin instead). @ text @$NetBSD: distinfo,v 1.7 2021/10/26 10:16:40 nia Exp $ BLAKE2s (Function-Parameters-2.002004.tar.gz) = 33b4aae7fbf58c23c9d935bb99c55445d90cb465a98a7a5162e109247b6cd2f2 SHA512 (Function-Parameters-2.002004.tar.gz) = 2df10b3e7ad87c26a0bfec88a88602b5960f1c59a494d480eb24cee96be89d1b89036d3ad7f6f2f4bda25531cb5693c139578a3b2efaca1b38b3cea9f050fa9e Size (Function-Parameters-2.002004.tar.gz) = 72690 bytes @ 1.7 log @archivers: Replace RMD160 checksums with BLAKE2s checksums All checksums have been double-checked against existing RMD160 and SHA512 hashes Could not be committed due to merge conflict: devel/py-traitlets/distinfo The following distfiles were unfetchable (note: some may be only fetched conditionally): ./devel/pvs/distinfo pvs-3.2-solaris.tgz ./devel/eclipse/distinfo eclipse-sourceBuild-srcIncluded-3.0.1.zip @ text @d1 1 a1 1 $NetBSD: distinfo,v 1.6 2021/10/07 13:41:33 nia Exp $ d3 3 a5 3 BLAKE2s (Function-Parameters-2.001003.tar.gz) = 927a48df99e6d19ad010101d3a43b9553da3b2f07e007e0b8b1c6353a0ffbaf2 SHA512 (Function-Parameters-2.001003.tar.gz) = 47fd5e1e4b4d62b4576cc7439ba6f2636cef96f851e668bbd2274f79f2c4ee11fd9aa2e5739bbdfdf3ed0b3c373dc1c8d63920fd390a1d56592fbdc9be90db59 Size (Function-Parameters-2.001003.tar.gz) = 91273 bytes @ 1.6 log @devel: Remove SHA1 hashes for distfiles @ text @d1 1 a1 1 $NetBSD: distinfo,v 1.5 2017/11/13 15:10:33 wiz Exp $ d3 1 a3 1 RMD160 (Function-Parameters-2.001003.tar.gz) = 89f1bcbf86609774dc5f85c2e323509bc3a318ba @ 1.5 log @p5-Function-Parameters: update to 2.001003. 2.001003 2017-11-11 - Fix threaded initialization issue better. This is the same issue that was fixed in 2.001002, but now we use PL_op_mutex instead of PL_check_mutex. This has the advantage of also being thread-safe on v5.14. 2.001002 2017-11-09 - Fix crash when Function::Parameters is loaded at runtime by multiple threads (a stack overflow due to infinite recursion). This is arguably a core bug (#132413). The current workaround employed by Function::Parameters slightly abuses an internal perl mutex meant for something else (protecting op checkers), but it fixes the issue on perls v5.16 .. v5.26. v5.14 doesn't have this API yet, so the workaround is not thread safe there. It is technically possible to still run into this issue if two threads initialize Function::Parameters at the exact same moment (I haven't managed to reproduce this yet, so hopefully it's unlikely in practice). It is possible to completely avoid the problem on all versions of perl and Function::Parameters by making sure the module is loaded before the first thread is created. @ text @d1 1 a1 1 $NetBSD: distinfo,v 1.4 2017/09/17 10:35:15 wiz Exp $ a2 1 SHA1 (Function-Parameters-2.001003.tar.gz) = 26b6f19da98298f7973088563006cae9d85d5489 @ 1.4 log @p5-Function-Parameters: update to 2.001001. 2.001001 2017-07-12 - fix duplicate type check on invocant: method foo(T $self: $x) { ... } # every call to foo() performs T->check($self) twice - clean up how type errors refer to parameters (now it's "parameter $N" for non-invocant parameters and "invocant $N" for invocants (or just "invocant" if there is exactly one)) - rewrite pragma implementation and the way %^H is used - remove several internal package variables 2.000007 2017-05-15 - no real code changes - extend bug #129090 workaround to perl 5.25.5 - try to detect broken Moose installs earlier - fix declaration of developer dependencies @ text @d1 1 a1 1 $NetBSD: distinfo,v 1.3 2017/04/19 12:01:43 mef Exp $ d3 4 a6 4 SHA1 (Function-Parameters-2.001001.tar.gz) = 6bc23af44697bf5da3c80e88a876909a175c8ee6 RMD160 (Function-Parameters-2.001001.tar.gz) = c5b9f010f5b7f95eddda002b86dee5b86e51b385 SHA512 (Function-Parameters-2.001001.tar.gz) = 19cb7b4f7b9cf12e4ea00c8b2e91273775c1399873b3db75317030adbcf8877830cc08991982e9bb2c695c09f7f2bec5b34894257cc8a5c8b12b75901062f417 Size (Function-Parameters-2.001001.tar.gz) = 89760 bytes @ 1.3 log @Updated devel/p5-Function-Parameters to 2.000006 ------------------------------------------------ 2.000006 2017-04-16 - work around core bug #129090 / #131146 in perl 5.22 and 5.24: perl -e 'use Function::Parameters; \&f; fun f() { eval "" }' hangs in the compiler (also happens with perl -d or Devel::Cover instead of eval) (gh #29) 2.000003 2017-03-31 - fix a bug where method modifiers would inadvertently declare subs (e.g. 'before foo() {}' acting like 'sub foo; BEGIN { &before('foo', sub {}) }'), breaking Pkg->can($method) and thus Class::Method::Modifiers (RT #120804) - make method modifiers take effect at runtime because otherwise you'd have to wrap every with()/extends() in a BEGIN block to make consumed/inherited methods visible to modifiers (RT #120804) - make method modifiers require a name (what would an anonymous modifier modify?) - (hopefully) improve the error message you get for trying to add any parameters after a slurpy 2.000002 2017-03-27 - default to strict mode - allow types with multiple arguments (e.g. 'Tuple[Int, String]') - implement new 'auto' type reifier and use it by default - allow multiple invocants - support custom installers - implement Moo/Moose-style method modifiers - rework and extend import syntax - make implicit $self available in default arguments - call type reifiers from correct package and remove 2nd arg workaround - remove :(...) prototype syntax - remove undocumented 'attrs' option - drop internal Moo dependency @ text @d1 1 a1 1 $NetBSD: distinfo,v 1.2 2017/03/20 09:12:26 mef Exp $ d3 4 a6 4 SHA1 (Function-Parameters-2.000006.tar.gz) = 97309bd0ff60dfd2508c86873c294e01b7689b86 RMD160 (Function-Parameters-2.000006.tar.gz) = ba380830ffaa3c74041826a5750a6f60abdf9ac6 SHA512 (Function-Parameters-2.000006.tar.gz) = bcdd459df279200e2b1a14d5b83cb2d89895e12ff51a9459a0d49c5d3359e3e26b3f19d6f2b21bcdcdfa0a59767c90bc18afd4119b3f3094735136ecc924e0f5 Size (Function-Parameters-2.000006.tar.gz) = 87585 bytes @ 1.2 log @Update devel/p5-Function-Parameters to 1.0706 --------------------------------------------- 1.0706 2017-03-17 - don't require . in @@INC during install - improve internal code generation functions used on perls before 5.22 (pkgsrc note) make test fails at t/foreign/Fun/name.t, but the previous version also fails at the same point, thus update, thank you. @ text @d1 1 a1 1 $NetBSD: distinfo,v 1.1 2016/06/11 12:44:27 kamil Exp $ d3 4 a6 4 SHA1 (Function-Parameters-1.0706.tar.gz) = 55ea10614f96e4ff4c3f93d7e6014a5dfb899572 RMD160 (Function-Parameters-1.0706.tar.gz) = d4c650fe7f71afa34ee459db96dc5ff72b65a00e SHA512 (Function-Parameters-1.0706.tar.gz) = 76130de0a41f94e62e657dae33c5fce5517e8c617e60107093abb5214c3f16f43e996035e5ffc324acd8bc895ee2722c2bb8919aa69d6eb97720521bc6f54a87 Size (Function-Parameters-1.0706.tar.gz) = 76889 bytes @ 1.1 log @Import p5-Function-Parameters-1.0705 as devel/p5-Function-Parameters This module extends Perl with keywords that let you define functions with parameter lists. It uses Perl's perlapi/PL_keyword_plugin API, so it works reliably and doesn't require a source filter. Originally packaged in pkgsrc-wip by myself. Reviewed by . @ text @d1 1 a1 1 $NetBSD$ d3 4 a6 4 SHA1 (Function-Parameters-1.0705.tar.gz) = c6d03d5edcac7a420f7f392590c0f7310b1d70fe RMD160 (Function-Parameters-1.0705.tar.gz) = 6d1da9952927a883c856f45da7d585700bd30448 SHA512 (Function-Parameters-1.0705.tar.gz) = b58905730b2fa81bf607249d86c68a47d71b810aaca91a497974211bfe094b84c8cc6841eeee0a44e925cb8d632c8f7850365ac0bd194f37c1add081f19fa772 Size (Function-Parameters-1.0705.tar.gz) = 76703 bytes @