In perl.git, the branch smoke-me/khw-5.21 has been created
<http://perl5.git.perl.org/perl.git/commitdiff/4881e684ee6af3f3bf5fface571ea3e480f35084?hp=0000000000000000000000000000000000000000>
at 4881e684ee6af3f3bf5fface571ea3e480f35084 (commit)
- Log -----------------------------------------------------------------
commit 4881e684ee6af3f3bf5fface571ea3e480f35084
Author: Karl Williamson <[email protected]>
Date: Mon Sep 1 20:00:01 2014 -0600
PATCH: [perl #122671] Many warnings in regcomp.c can occur twice
This solves the problem by moving the warnings to be output only in
pass2 of compilation. The problem arises because almost all of pass1
can be repeated under certain circumstances described in the ticket and
the added comments of this patch.
M regcomp.c
M t/re/reg_mesg.t
commit a8eec8c8a638ba165c8adc7ce20d459effcdc1e1
Author: Karl Williamson <[email protected]>
Date: Mon Sep 1 18:54:03 2014 -0600
recomp.c: Don't output same warning twice
This warning was untested for as well.
M regcomp.c
M t/re/reg_mesg.t
commit 07d17249a69ae7328020c8be8eae83e50618ba6e
Author: Karl Williamson <[email protected]>
Date: Mon Sep 1 16:44:38 2014 -0600
regcomp.c: Vertically stack ternary
for legibility
M regcomp.c
commit c18e75ef2365afae0145d3ecfa831c8cefad31cb
Author: Karl Williamson <[email protected]>
Date: Mon Sep 1 14:57:49 2014 -0600
regcomp.c: Don't prematurely skip error checking
The assertion in the comment changed by this commit was true only for
pass1 of the regex compilation; not pass2. This makes it true in both
passes by moving it, and the code it was about past some error checking.
This error checking was executed in pass1, but not pass2. It also
changes the warning to only be done in the second pass, part of
[perl #122671]. A future commit will fix the others
M regcomp.c
commit 70ecac486b2cc1ce7d10465f5ed93219202e0c79
Author: Karl Williamson <[email protected]>
Date: Mon Sep 1 14:48:02 2014 -0600
regcomp.c: Move comment closer to code it applies to
M regcomp.c
commit d10ecb10ddf020ae15d811451b3fe9af73afcb1c
Author: Karl Williamson <[email protected]>
Date: Thu Aug 28 21:12:39 2014 -0600
regcomp.c: Remove unnecessary cast
The macro does the appropriate cast, and this is slightly more legible.
M regcomp.c
commit 76a1946d4d3bccbfaef8523bc5fe2e86daef9ff8
Author: Karl Williamson <[email protected]>
Date: Tue Aug 26 15:34:25 2014 -0600
regcomp.c: Make macro a lookup
The recently introduced macro isMNEMONIC_CNTRL has a look-up and several
tests in it, which occupy time and space. Since it was only used for
debugging, that did not matter much, but future commits will use it in
more mainline code. This commit changes it to be a single look-up,
using up one of the spare bits available for that purpose in
PL_charclass. There are enough available bits that we aren't likely to
run out, really ever. (We can always add a 2nd word of bits if
necessary.)
M handy.h
M l1_char_class_tab.h
M regcomp.c
M regen/mk_PL_charclass.pl
commit d9aada820fe532afc8cfecfd461f6428d76854fe
Author: Karl Williamson <[email protected]>
Date: Tue Aug 26 17:29:31 2014 -0600
regcomp.c: Extract functionality into a static function
This is in preparation for it being used in more than one place in a
future commit.
M embed.fnc
M embed.h
M proto.h
M regcomp.c
commit d0e3e9c14b6ca4ea2d8701356c6154dcdd1593ce
Author: Karl Williamson <[email protected]>
Date: Thu Aug 28 13:59:01 2014 -0600
XXXcharbits
M regcomp.h
commit c718c8e979b4625235f2bdb438a33d0fcea82487
Author: Karl Williamson <[email protected]>
Date: Tue Jun 17 18:49:53 2014 -0600
XXX partial perlapi text
M perlvars.h
commit a62564a861785665377545c10e1b2ebe7871e9b7
Author: Karl Williamson <[email protected]>
Date: Sat May 17 19:37:06 2014 -0600
XXX Don't push. attempt to tell tries everything at compile time
But, it appears this is thrown away, have to consult with Yves to see if
is worth pursuing
M embed.fnc
M embed.h
M perl.h
M proto.h
M regcomp.c
M regcomp.h
M regcomp.sym
commit ea24d991d99d3cb5ab29e9be6e345ef855a10579
Author: Karl Williamson <[email protected]>
Date: Wed Sep 3 12:42:07 2014 -0600
regcomp.h: Comment nits
M regcomp.h
commit 0551aeb20bf75afbb9241de7ab3f009fca413331
Author: Karl Williamson <[email protected]>
Date: Thu Aug 28 14:22:14 2014 -0600
Allow for changing size of bracketed regex char class
This commit allows Perl to be compiled with a bitmap size that is larger
than 256. This bitmap is used to directly look up whether a character
matches or not, without having to do a binary search or hash lookup. It
might improve the performance for some installations that have a lot of
use of scripts that are above the Latin1 range.
M embedvar.h
M intrpvar.h
M perl.c
M regcomp.c
M regcomp.h
M regexec.c
M sv.c
commit c68c204fa6084678a11eb27e92f1c1e6b901b221
Author: Karl Williamson <[email protected]>
Date: Thu Aug 28 20:07:30 2014 -0600
Fix -Dr output to work for larger ANYOF node size
This generalizes the code for -Dr output to work to dump the contents of
ANYOF nodes (bracketed character classes) which have bitmaps for more
than code points 0-255.
M embed.fnc
M embed.h
M proto.h
M regcomp.c
commit 9844219375bca32a2f6f5d936ddf6a9caaa77142
Author: Karl Williamson <[email protected]>
Date: Tue Aug 26 08:36:31 2014 -0600
regcomp.c: Swap if/else clauses
This makes it slightly easier to understand as there is no explicit
complement, but is mostly for a future commit.
M regcomp.c
commit 6cabb570cd7850fb27b32959760bd8db658e5d7d
Author: Karl Williamson <[email protected]>
Date: Thu Aug 28 14:05:40 2014 -0600
Rename some internal regex #defines
These are renamed to be more clear as to their actual meanings. I know
other people have been confused by their former names.
Some of the name changes will become more important as future commits
will allow the bitmap in a bracketed character class to be a different
size.
M regcomp.c
M regcomp.h
M regexec.c
commit 244c6d369dc3e27f2013f11efe8c6d4af41dceae
Author: Karl Williamson <[email protected]>
Date: Thu Aug 28 18:19:56 2014 -0600
regcomp.h: Remove some no-longer used #defines
This is an internal header, so can change names within it.
M regcomp.h
commit 863d58b3203a1819c8e53081c34c505b0fc80b87
Author: Karl Williamson <[email protected]>
Date: Thu Aug 28 14:36:15 2014 -0600
regcomp.h: Use unsigned 1 in left shift
This prevents a signed result if this macro ever gets used in a U8.
The ANYOF_BITMAP_TEST macro must now be cast or it would generate warnings
when compiled with -DPERL_BOOL_AS_CHAR
M regcomp.h
commit 492129b231e318510250042cebb3fa0a23ed8c12
Author: Karl Williamson <[email protected]>
Date: Thu Aug 28 18:50:22 2014 -0600
regcomp.h: Fix comment that said the opposite of the truth
Too many negations led to this.
M regcomp.h
commit 0a94851868e2869c7d3b018f3a5883f017c334fb
Author: Karl Williamson <[email protected]>
Date: Thu Aug 28 18:13:47 2014 -0600
regcomp.c: Remove unnecessary test
The 'while' makes the 'if' unnecessary here.
M regcomp.c
commit fbfb29b9a88bbaf4dcfcbf2ea87c15983d206d4e
Author: Karl Williamson <[email protected]>
Date: Wed Aug 27 22:12:02 2014 -0600
regexec.c: Simplify a short code section
Two "if"s can be combined, leading to one fewer (unoptimized) tests
M regexec.c
-----------------------------------------------------------------------
--
Perl5 Master Repository