In perl.git, the branch smoke-me/khw-regcomp has been created
<http://perl5.git.perl.org/perl.git/commitdiff/86906c645e1db90632b187ac73c1c532bdfd6a28?hp=0000000000000000000000000000000000000000>
at 86906c645e1db90632b187ac73c1c532bdfd6a28 (commit)
- Log -----------------------------------------------------------------
commit 86906c645e1db90632b187ac73c1c532bdfd6a28
Author: Karl Williamson <[email protected]>
Date: Thu Feb 18 14:51:01 2016 -0700
regcomp.c: Use colors for -Dr metanotation
Use a different color for the metanotation than the code points being
output under Debugcolor. The default is to have stand out mode for the
code points, and not for the meta.
M regcomp.c
commit e9be841cff435cea8bbeb9e97873412d577dddca
Author: Karl Williamson <[email protected]>
Date: Thu Feb 18 14:44:02 2016 -0700
regcomp.c: Backlslash {} in -Dr output
This is because it could otherwise be confused with the meta notation
used there.
M regcomp.c
commit 9f4fe91653a3862dd03b60d58a1f13acf2637141
Author: Karl Williamson <[email protected]>
Date: Thu Feb 18 14:43:14 2016 -0700
Revamp -Dr
M embed.fnc
M embed.h
M proto.h
M regcomp.c
commit 1d4aa48532dfdc2925be36f5f5b348a021042262
Author: Karl Williamson <[email protected]>
Date: Thu Feb 18 21:47:15 2016 -0700
Add environment variable for -Dr: PERL_DUMP_RE_MAX_LEN
The regex engine when displaying debugging info, say under -Dr, will elide
data in order to keep the output from getting too long. For example,
the number of code points in all of Unicode matched by \w is quite
large, and so when displaying a pattern that matches this, only the
first some number of them are printed, and the rest are truncated,
represented by "...".
Sometimes, one wants to see more than what the
compiled-into-the-engine-max shows. This commit creates code to read
this environment variable to override the default max lengths. This
changes the lengths for everything to the input number, even if they
have different compiled maximums in the absence of this variable.
I'm not currently documenting this variable, as I don't think it works
properly under threads, and we may want to alter the behavior in various
ways as a result of gaining experience with using it.
M embedvar.h
M intrpvar.h
M makedef.pl
M regcomp.c
M regcomp.h
commit 1226ec36c4fb86fcd1770a164156401b8e217860
Author: Karl Williamson <[email protected]>
Date: Mon Feb 15 16:27:20 2016 -0700
regcomp.c: Save a branch test
This branch will only be true if the answer to the previous branch was
also true, so can just move it to within that to avoid an unnecessary
test.
M regcomp.c
commit 85c9578313c8eae86650b5aaee6ccdc811ff2cac
Author: Karl Williamson <[email protected]>
Date: Mon Feb 15 16:20:43 2016 -0700
regcomp.c: Clarify -Dr output under /l
It is now redundant to indicate that an ANYOF node is for locale, as the
regnode type ANYOFL now clearly indicates that. But also sometimes the
node is only vaid if the runtime locale is a UTF-8 one. That was not
clearly indicated.
M regcomp.c
commit 38df53bf8eb6f15769656dad814050a1f596a8e0
Author: Karl Williamson <[email protected]>
Date: Sat Feb 13 18:00:36 2016 -0700
regcomp.c: Comments, white-space, add grouping () for clarity
M regcomp.c
commit f8722ced4fb267af8bc3796d617006c3b95fc43e
Author: Karl Williamson <[email protected]>
Date: Thu Feb 18 21:43:14 2016 -0700
Add a parameter to a static function
This parameter will be used in a future commit, it changes the output
format of this function that displays the contents of an inversion list
so that it won't have to be parsed later, simplifying the code at that
time.
M embed.fnc
M embed.h
M proto.h
M regcomp.c
commit 7ddeb32149db8db574a4d4f0272389b6c2cf6af3
Author: Karl Williamson <[email protected]>
Date: Thu Feb 18 21:36:04 2016 -0700
Change private function to static
This function was used outside the file it contains, but was only
defined (by #ifdef's) for those few internal core files for which it was
needed. Now all those uses have gone, save for the one file. Better to
make it static so no one can circumvent those #ifdef's.
M embed.fnc
M embed.h
M proto.h
M regcomp.c
commit 74d6dd4c4b93471f0dc6b749d9e2877e23bf1bd1
Author: Karl Williamson <[email protected]>
Date: Thu Feb 18 21:08:24 2016 -0700
regcomp.c: Change structure element size and loc
The 'strict' field is only a bool, but was declared I32, which led to
warnings on some compilers when it was passed to a function expecting a
bool. It is moved to the end of the structure, since it doesn't pack
well with the rest.
M regcomp.c
commit 87f7cdf2ec23a68cb0a6a9fe6e0b61fa25f53bde
Author: Karl Williamson <[email protected]>
Date: Mon Feb 15 11:25:35 2016 -0700
XXX need tests, comments Fix /\p{User-defined}/i
M regcomp.c
M t/re/pat_advanced.t
commit e39ef1d0eafd1cf0fb5844d55f22faabd0804ccb
Author: Karl Williamson <[email protected]>
Date: Wed Feb 10 14:29:15 2016 -0700
XXX partial don't push regex: Add ASCII/NASCII regnodes
These are a little more efficient than using the POSIXA(:ascii:)
mechanism.
M pod/perldebguts.pod
M regcomp.sym
M regexec.c
M regnodes.h
commit e425e351a530b6a77f9add24a7295f95a5e42faa
Author: Karl Williamson <[email protected]>
Date: Wed Feb 3 13:41:11 2016 -0700
constant.pm lower memory use
M dist/constant/lib/constant.pm
-----------------------------------------------------------------------
--
Perl5 Master Repository