In perl.git, the branch smoke-me/khw-core has been created <https://perl5.git.perl.org/perl.git/commitdiff/5082682a8055862f4f3c8c03af8e3c43e94c01c3?hp=0000000000000000000000000000000000000000>
at 5082682a8055862f4f3c8c03af8e3c43e94c01c3 (commit) - Log ----------------------------------------------------------------- commit 5082682a8055862f4f3c8c03af8e3c43e94c01c3 Author: Karl Williamson <k...@cpan.org> Date: Tue Aug 21 22:27:19 2018 -0600 Remove relics of regex swash use This removes the most obvious and easy things that are no longer needed since regexes no longer use swashes at all. tr/// continues, for the time being, to use swashes, so not all swash handling is removable now. But tr/// doesn't use inversion lists, and so a bunch of code is ripped out here. Other code could have been, but I did only the relatively easy stuff. The rest can be ripped out all at once when tr/// is stops using swashes. commit 613288a954419f70d46f64d2c1d4ad497fccba94 Author: Karl Williamson <k...@cpan.org> Date: Thu Feb 14 12:34:49 2019 -0700 Use mnemonics for array indices The element at say, [0] is a particular thing. This commit changes to use a mnemonic instead of [0], for clarity commit 2784fab40df49514bb2e6b72331c3e48357e82aa Author: Karl Williamson <k...@cpan.org> Date: Thu Aug 23 13:54:48 2018 -0600 regcomp.c: Arrays no longer need PL_sv_undef placeholders An empty entry is now just NULL. commit 54a7d5f058f83a8ba356fd69749f6d2bfd31176c Author: Karl Williamson <k...@cpan.org> Date: Tue Aug 21 20:12:00 2018 -0600 regcomp.c: Simplify args passing for ANYOF nodes A swash is no longer used, so we can remove some elements from the array of data that gets stored with the compiled pattern for use in runtime matching. This is the first step in more simplifications. Since a swash isn't used, this change also requires regexec.c to change to use a straight inversion list lookup. This has the salutary effect of eliminating a conversion between code point and UTF-8. commit 47b2b7117b6413cead51d6b8f747a0f9157408ac Author: Karl Williamson <k...@cpan.org> Date: Thu Feb 14 12:16:13 2019 -0700 Add .t for testing user-defined \p{} races commit feee152581426706154514f1f0048cf105a23e74 Author: Karl Williamson <k...@cpan.org> Date: Mon Aug 6 17:00:40 2018 -0600 t/re/regexp_unicode_prop.t: Make sure sub called only once User-defined properties are supposed to be called just once for /i and once for non-/i. This adds tests for that. It turns out that this was broken in blead. commit 030544e7026adec06f4670f2135dde85d3f3d450 Author: Karl Williamson <k...@cpan.org> Date: Fri Aug 24 12:34:18 2018 -0600 t/re/regexp_unicode_prop.t: Add tests Add some tests. These test various error conditions that haven't been tested before. commit 7c0ece9b5cf6fae6374c7c2eec811b7a24ff6b1d Author: Karl Williamson <k...@cpan.org> Date: Wed Aug 15 17:11:15 2018 -0600 t/re/regexp_unicode_prop.t: Test that can have nested pkgs That is, in \p{user-defined} commit 6ed1745c29f794067dd73b46a13831b3342b3a18 Author: Karl Williamson <k...@cpan.org> Date: Wed Aug 15 17:09:45 2018 -0600 t/re/regexp_unicode_prop.t: Add some stress This adds some trailing spaces and comments in expansion of \p{user-defined}/ to verify things work. commit dc17228b5992e093dd5494209824dddcc350c45a Author: Karl Williamson <k...@cpan.org> Date: Wed Aug 15 17:07:51 2018 -0600 t/op/taint.t: Add test commit c95e3e04ba5c628b965fc3412fcdddcc5b9ee1f9 Author: Karl Williamson <k...@cpan.org> Date: Thu Aug 23 14:05:29 2018 -0600 regcomp.c: Add some potential code that's #ifdef'd out This is in case we ever need it. This checks for portability in the code points specified in user-defined properties. Previously there was a check, but I couldn't get a warning to trigger unless there was also overflow. So that means the pattern compile failed due to the overflow, and the portability warning was superfluous. But, one can have non-portable code points without overflow; just the old method didn't properly detect them. If we do ever need to detect and report on them, the code is mostly written and in this commit. commit e3e6732d76e61d6ece7e402367abeabce7e93ea6 Author: Karl Williamson <k...@cpan.org> Date: Mon Aug 20 18:31:04 2018 -0600 Move \p{user-defined} to core from utf8_heavy.pl This large commit moves the handling of user-defined properties to C code. This should speed it up, but the main reason to do this is to stop using swashes in this case, leaving only tr/// using them. Once that too is converted, all swash handling can be ripped out of perl. Doing this in perl has caused some nasty interactions that will now be fixed automatically. The change is not entirely transparent, however (besides speed and the possibility of removing these interactions). perldelta in this commit details these. commit f9d6d0bebaccb62358f70feef7229d5905733f51 Author: Karl Williamson <k...@cpan.org> Date: Wed Aug 15 16:11:04 2018 -0600 Add global hash to handle \p{user-defined} A global hash has to be specially handled. The keys can't be shared, and all the SVs stored into it must be in its thread. This commit adds the hash, and initialization, and macros for context change, but doesn't use them. The code to deal with this is entirely confined to regcomp.c. commit 584d39e27bcc51472a3439eeaefd3b250d2fa2db Author: Karl Williamson <k...@cpan.org> Date: Wed Aug 15 15:45:14 2018 -0600 Add mutex for dealing with qr/\p{user-defined}/ This will be used in future commits commit 2d19d6df76d35f13836ddd14fde4d59c3bc9f0d5 Author: Karl Williamson <k...@cpan.org> Date: Mon Aug 6 17:39:35 2018 -0600 regcomp.c: Add/reword some comments/white-space commit ce4e7ff47e1de0f9f3ec505e79fcccdbaac5ac48 Author: Karl Williamson <k...@cpan.org> Date: Fri Aug 3 14:12:49 2018 -0600 regcomp.c: Change variable name The new name more closely corresponds with its use. commit 61a285f4b98c234642be9446af391e8b7d16d7f7 Author: Karl Williamson <k...@cpan.org> Date: Fri Aug 10 12:02:44 2018 -0600 Revert "Filter::Util::Call no longer needs '.' in @INC" This reverts commit 689a548b61aa50701877f25ab005f5a57a2c2185. commit 5766ae3fc7c6daf117a0ea76a85f22f5969e982a Author: Karl Williamson <k...@cpan.org> Date: Thu Aug 9 18:49:54 2018 -0600 Filter::Util::Call no longer needs '.' in @INC since 1.59 commit cf622e095eac4580fbe4f253002ea09e673da286 Author: Karl Williamson <k...@cpan.org> Date: Wed Jul 18 14:53:27 2018 -0600 Revert "experimental ucd" This reverts commit 514bc69adaed614fc6634bc4c6d5a55aae16e1e8. commit b259c67a7bb3c0bc192bfb731d5f8bbb59bd419f Author: Karl Williamson <k...@cpan.org> Date: Wed Jul 18 14:53:13 2018 -0600 experimental ucd ----------------------------------------------------------------------- -- Perl5 Master Repository