{"push_id":1166790400,"size":8,"distinct_size":7,"ref":"refs/heads/feature/gh9-warnings-xs","head":"09e6114080bd3ee883a06a42d7110716ea85d1cd","before":"adea5707d837ed1b632d9aab5273eb86cf578186","commits":[{"sha":"5463f5b43884944ead456e33f9c66a33d70cabd3","author":{"name":"Reini Urban","email":"124d4de0b2391c49441429d4e282b8f880187ae3@cpanel.net"},"message":"move .git-rr-cache to a submodule\n\nthis is not needed for cperl itself, just for easier\ncperl rebasing, using the helper scripts cp-rb and friends\nto keep feature, bugfixes and smoke branches uptodate,\nand help in resolving merge conflicts with upstream.\n\ninit from a perl5 git dir:\n    git remote add cp ssh://git@github.com/perl11/cperl.git\n    git fetch cp\n    git checkout -t cp master\n\nfor rerere:\n    git config rerere enable\n    git config rerere.autoupdate true\n    git submodule update --init\n    ln -s ../.git-rr-cache .git/rr-cache\n\n    git branch -r | grep cp/","distinct":false,"url":"https://api.github.com/repos/perl11/cperl/commits/5463f5b43884944ead456e33f9c66a33d70cabd3"},{"sha":"6addadbbf00a1a1cdba915e379ee768891e96af5","author":{"name":"Reini Urban","email":"124d4de0b2391c49441429d4e282b8f880187ae3@cpanel.net"},"message":"warnings: move to ext/warnings as shared lib\n\nuse gperf, with post-processing as in parrot\nbut remove the #line directives. they are just wrong.\n\nadd rules to the main Makefile, not a dyn_ext, but a boot_ext.\nadd CCCDLFLAGS to Makefile needed to compile a shared lib\n\nregen_lib.pl: defer load of Text::Wrap to run-time.\nNote: xsubpp cannot deal with paths. need to chdir into it\n\nPerl_warnings_lookup now calls the new perfect hash lookup\nand falls back to the dynamic %warnings::_Bits lookup\nwhich consists of SVt_PVIV with offset as IV\nand bits + deadbits as PV, allocated to max 32 byte (255 bits).\nregister_categories adds to %warnings::_Bits.\n\nBy allocating the max size we don't need to extend the values\nwhen a new category is added.\ndynamic var $LAST_BIT holds the global (const size + dynamic size) *2,\nas before.\nMost other previous globals are discontinued.\n\nadd a static ws struct for an intermediate lookup result from the\ndynamic hash.\nadd a writable struct Perl_warnings_dyn to be able to change the \"all\" key.\n\nuse a special newWSV() to zero all bits.\nfix the no warnings; case pushing \"all\" as arg\nadd -Dv to import and unimport\ncopy over the string with the following lengths:\npvs for static compile-time length\npvh for static length from header constants (just WARNsize, the rest is zeroed)\npv for the full dynamic hash lengths (WARN_MAX_BYTES)\n\nin XS caller(0) is PL_curcop, because XS does not track caller.\n\nwe error now on the new limitation: the size is hardcoded to max 255 warnings.\nwe could fix this when needed by growing all %Bits entries.\n\nxs does not save a callstack, so the short_error_loc is always wrong.\nso disable the XS calls to the callstack using warnings functions, add new PP versions.\nrewrite Carp Perl_short_error_loc to use the PP variant Carp::short_error_loc.\n\nTODO: USE_PP_CARP all over, no Carp as xs\n\nfix some clients:\ndeprecate needs to use warnings::warnif, not the internal %Offset.\n\nadd keys and exist API:\n\nseveral CPAN modules need the keys and exists on %Offsets, just to get\nthe list and to see if it exists. Export that.\n\nA full backwards compat API, with tie magic to Bits, Offset and DeadBits not yet\n\nto be rewritten:\n  warnings::everywhere, warnings::pedantic\n  warnings::DynamicScope\n  Test::Warn\n  qbit\n\nsimple fixes:\n  strictures, Object::Previous, Scalar::Random::PP::OO\n  Scope::Upper, Mousse, Test::Vars, sanity\n\ndisable one more feature warnings:\n\ndisable experimental::const_attr as default also.\nrefactor to list to turn warn lexicals warnings off.\n\nPL_curcop/PL_compiling mixup:\n\nsee mg.c: only set the global PL_compiling, not any lexical curcop.\nAt runtime, it's not safe to manipulate PL_curcop: it may be\nan op shared between threads. Use a non-shared COP.\n\nfixes at least the failing op test, but not 9enabled yet.\n\nalso optimize on DEBUGGING builds\n\nfix more 9enabled test\n\nprovide Usage arity error for warn/warnif with 0 args.\nremaining fails: 24, 30, 32, 34, 36, 40, 46, 51-52, 54-56\n\nfix stack underflow:\n\ncperl -Dlotsv -Mwarnings=misc -e0\nwhen importing one argument, in the call to _bits\n\nSTACK 0: MAIN\nSTACK 1: REQUIRE\n  CX 0: EVAL   =>  [STACK UNDERFLOW!!!]\n\nmake _do_bits a static function, and do not call it via\ncall_pv. adjust the FATAL logic.\nuntested with carp-xs, for ax.","distinct":true,"url":"https://api.github.com/repos/perl11/cperl/commits/6addadbbf00a1a1cdba915e379ee768891e96af5"},{"sha":"f50f9b2d5ef6d9edeabe0d977dd2ff99f4125ccd","author":{"name":"Reini Urban","email":"124d4de0b2391c49441429d4e282b8f880187ae3@cpanel.net"},"message":"warnings: fix porting tests\n\nwarnings is not on CPAN. we could put it out there though for older versions\nto benefit from XS though.","distinct":true,"url":"https://api.github.com/repos/perl11/cperl/commits/f50f9b2d5ef6d9edeabe0d977dd2ff99f4125ccd"},{"sha":"a453d24674014554dd47d52735b0ab439dc7860e","author":{"name":"Reini Urban","email":"124d4de0b2391c49441429d4e282b8f880187ae3@cpanel.net"},"message":"Carp: add -Dv support, print stack traces\n\nin shortmess_heavy","distinct":true,"url":"https://api.github.com/repos/perl11/cperl/commits/a453d24674014554dd47d52735b0ab439dc7860e"},{"sha":"c391fe92bc38f5233dacd1d7a79c8693add1030d","author":{"name":"Reini Urban","email":"124d4de0b2391c49441429d4e282b8f880187ae3@cpanel.net"},"message":"warnings: convert to regular XS extension\n\nsame as Config.","distinct":true,"url":"https://api.github.com/repos/perl11/cperl/commits/c391fe92bc38f5233dacd1d7a79c8693add1030d"},{"sha":"3788d69a5061ba3e22a83a3179fd1aa11b7d9ad9","author":{"name":"Reini Urban","email":"124d4de0b2391c49441429d4e282b8f880187ae3@cpanel.net"},"message":"feature: rework WIP","distinct":true,"url":"https://api.github.com/repos/perl11/cperl/commits/3788d69a5061ba3e22a83a3179fd1aa11b7d9ad9"},{"sha":"b8dd9594eff1efe7ef4761a9d0042b14138b364b","author":{"name":"Reini Urban","email":"124d4de0b2391c49441429d4e282b8f880187ae3@cpanel.net"},"message":"warnings.boot: &enabled, &_chk now also required\n\nby lib/buildcustomize.pl and miniperl building B-C","distinct":true,"url":"https://api.github.com/repos/perl11/cperl/commits/b8dd9594eff1efe7ef4761a9d0042b14138b364b"},{"sha":"09e6114080bd3ee883a06a42d7110716ea85d1cd","author":{"name":"Reini Urban","email":"124d4de0b2391c49441429d4e282b8f880187ae3@cpanel.net"},"message":"warnings: add types for 5.24","distinct":true,"url":"https://api.github.com/repos/perl11/cperl/commits/09e6114080bd3ee883a06a42d7110716ea85d1cd"}]}
{"actor":{"display_login":"rurban"}}