| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
git-svn-id: svn://vcs.exim.org/pcre/code/trunk@1320 2f5784b3-3f2a-0410-8824-cb99058d5e15
|
|
|
|
| |
git-svn-id: svn://vcs.exim.org/pcre/code/trunk@1313 2f5784b3-3f2a-0410-8824-cb99058d5e15
|
|
|
|
| |
git-svn-id: svn://vcs.exim.org/pcre/code/trunk@1309 2f5784b3-3f2a-0410-8824-cb99058d5e15
|
|
|
|
| |
git-svn-id: svn://vcs.exim.org/pcre/code/trunk@1274 2f5784b3-3f2a-0410-8824-cb99058d5e15
|
|
|
|
| |
git-svn-id: svn://vcs.exim.org/pcre/code/trunk@1260 2f5784b3-3f2a-0410-8824-cb99058d5e15
|
|
|
|
|
|
|
| |
diagnose overflow when it has reverted.
git-svn-id: svn://vcs.exim.org/pcre/code/trunk@1248 2f5784b3-3f2a-0410-8824-cb99058d5e15
|
|
|
|
| |
git-svn-id: svn://vcs.exim.org/pcre/code/trunk@1221 2f5784b3-3f2a-0410-8824-cb99058d5e15
|
|
|
|
| |
git-svn-id: svn://vcs.exim.org/pcre/code/trunk@1219 2f5784b3-3f2a-0410-8824-cb99058d5e15
|
|
|
|
| |
git-svn-id: svn://vcs.exim.org/pcre/code/trunk@1216 2f5784b3-3f2a-0410-8824-cb99058d5e15
|
|
|
|
|
|
|
| |
Remove the masking via the PCRE_NO_UTF32_CHECK. It will be reintroduced as a
dedicated runtime option later, with support for JIT and non-JIT cases.
git-svn-id: svn://vcs.exim.org/pcre/code/trunk@1200 2f5784b3-3f2a-0410-8824-cb99058d5e15
|
|
|
|
|
|
|
| |
The assertion needs to test that the *public* definition of the 32-bit character
is a 32-bit integer type, not the *private* definition.
git-svn-id: svn://vcs.exim.org/pcre/code/trunk@1199 2f5784b3-3f2a-0410-8824-cb99058d5e15
|
|
|
|
|
|
|
| |
Move the high-bit masking to a dedicated macro, and use that in the GETCHAR*
and RAWUCHAR* macros.
git-svn-id: svn://vcs.exim.org/pcre/code/trunk@1198 2f5784b3-3f2a-0410-8824-cb99058d5e15
|
|
|
|
| |
git-svn-id: svn://vcs.exim.org/pcre/code/trunk@1197 2f5784b3-3f2a-0410-8824-cb99058d5e15
|
|
|
|
| |
git-svn-id: svn://vcs.exim.org/pcre/code/trunk@1187 2f5784b3-3f2a-0410-8824-cb99058d5e15
|
|
|
|
| |
git-svn-id: svn://vcs.exim.org/pcre/code/trunk@1186 2f5784b3-3f2a-0410-8824-cb99058d5e15
|
|
|
|
| |
git-svn-id: svn://vcs.exim.org/pcre/code/trunk@1185 2f5784b3-3f2a-0410-8824-cb99058d5e15
|
|
|
|
|
|
| |
Pointed out by Daniel Richard G. on the mailing list.
git-svn-id: svn://vcs.exim.org/pcre/code/trunk@1160 2f5784b3-3f2a-0410-8824-cb99058d5e15
|
|
|
|
|
|
|
|
|
| |
When --enable-valgrind is passed, PCRE will annotate some memory regions
as unaddressable, aiding in finding invalid memory accesses when running
under valgrind. This is useful mostly for debugging PCRE itself, and thus
probably should not be enabled in release builds.
git-svn-id: svn://vcs.exim.org/pcre/code/trunk@1151 2f5784b3-3f2a-0410-8824-cb99058d5e15
|
|
|
|
| |
git-svn-id: svn://vcs.exim.org/pcre/code/trunk@1145 2f5784b3-3f2a-0410-8824-cb99058d5e15
|
|
|
|
| |
git-svn-id: svn://vcs.exim.org/pcre/code/trunk@1143 2f5784b3-3f2a-0410-8824-cb99058d5e15
|
|
|
|
| |
git-svn-id: svn://vcs.exim.org/pcre/code/trunk@1141 2f5784b3-3f2a-0410-8824-cb99058d5e15
|
|
|
|
| |
git-svn-id: svn://vcs.exim.org/pcre/code/trunk@1133 2f5784b3-3f2a-0410-8824-cb99058d5e15
|
|
|
|
|
|
|
| |
It's compared against unsigned values, so change it to unsigned to quit
a few -Wsign-compare warnings.
git-svn-id: svn://vcs.exim.org/pcre/code/trunk@1128 2f5784b3-3f2a-0410-8824-cb99058d5e15
|
|
|
|
|
|
| |
Just define HAS_EXTRALEN etc to 0. This reduces the amount of #ifdef COMPILE_PCRE32.
git-svn-id: svn://vcs.exim.org/pcre/code/trunk@1114 2f5784b3-3f2a-0410-8824-cb99058d5e15
|
|
|
|
| |
git-svn-id: svn://vcs.exim.org/pcre/code/trunk@1111 2f5784b3-3f2a-0410-8824-cb99058d5e15
|
|
|
|
|
|
| |
Allow passing characters with high bits set in UTF-32 mode.
git-svn-id: svn://vcs.exim.org/pcre/code/trunk@1100 2f5784b3-3f2a-0410-8824-cb99058d5e15
|
|
|
|
|
|
|
|
|
|
|
| |
While reading the data lines, directly put them into the 8, 16 or
32 bit buffers instead of first converting them into UTF-8 and only
afterwards converting that buffer to 16/32 bit. This is necessary so
the in 32 bit mode the \x{} escapes can use the full 32-bit range
(while the non-standard 5/6 byte UTF-8 sequences can only express
characters up to 31-bits).
git-svn-id: svn://vcs.exim.org/pcre/code/trunk@1090 2f5784b3-3f2a-0410-8824-cb99058d5e15
|
|
|
|
|
|
|
|
|
|
| |
UTF-32 only uses 21 bits, so the upper bits may be used to store flags
etc. To allow passing the unmodified internal buffers to pcre32, make
pcre32 mask out those upper bits.
TODO: do the same for the JIT compiler, and add tests
git-svn-id: svn://vcs.exim.org/pcre/code/trunk@1083 2f5784b3-3f2a-0410-8824-cb99058d5e15
|
|
|
|
|
|
|
| |
This is necessary so that 32-bit characters in non-UTF-32 mode can
be from the whole 32-bit range.
git-svn-id: svn://vcs.exim.org/pcre/code/trunk@1078 2f5784b3-3f2a-0410-8824-cb99058d5e15
|
|
|
|
| |
git-svn-id: svn://vcs.exim.org/pcre/code/trunk@1075 2f5784b3-3f2a-0410-8824-cb99058d5e15
|
|
|
|
|
|
|
|
| |
Return the back reference as negative numbers from check_escape(),
instead of adding them to ESC_REF. This way, there will never be an
overflow.
git-svn-id: svn://vcs.exim.org/pcre/code/trunk@1061 2f5784b3-3f2a-0410-8824-cb99058d5e15
|
|
|
|
|
|
|
|
|
|
| |
check_escape needs to return both the escape code and possibly a data
character. Return the data character in an out param instead of mixing
it with the escape code; this is in preparation to making the character
a pcre_uint32 to enable the full 32-bit range in pcre32 in non-UTF-32
mode.
git-svn-id: svn://vcs.exim.org/pcre/code/trunk@1059 2f5784b3-3f2a-0410-8824-cb99058d5e15
|
|
|
|
|
|
| |
This fixes character classes for 32-bit in non-UTF-32 mode.
git-svn-id: svn://vcs.exim.org/pcre/code/trunk@1057 2f5784b3-3f2a-0410-8824-cb99058d5e15
|
|
|
|
|
|
|
|
|
|
| |
Create libpcre32 that operates on 32-bit characters (UTF-32).
This turned out to be surprisingly simple after the UTF-16 support
was introduced; mostly just extra ifdefs and adjusting and adding
some tests.
git-svn-id: svn://vcs.exim.org/pcre/code/trunk@1055 2f5784b3-3f2a-0410-8824-cb99058d5e15
|
|
|
|
|
|
|
| |
case.
git-svn-id: svn://vcs.exim.org/pcre/code/trunk@1046 2f5784b3-3f2a-0410-8824-cb99058d5e15
|
|
|
|
|
|
|
| |
\h, \H, \v, and \V to use the same apparatus with centrally defined lists.
git-svn-id: svn://vcs.exim.org/pcre/code/trunk@1045 2f5784b3-3f2a-0410-8824-cb99058d5e15
|
|
|
|
|
|
|
| |
tables.
git-svn-id: svn://vcs.exim.org/pcre/code/trunk@1044 2f5784b3-3f2a-0410-8824-cb99058d5e15
|
|
|
|
| |
git-svn-id: svn://vcs.exim.org/pcre/code/trunk@1043 2f5784b3-3f2a-0410-8824-cb99058d5e15
|
|
|
|
|
|
|
| |
defined only once.
git-svn-id: svn://vcs.exim.org/pcre/code/trunk@1041 2f5784b3-3f2a-0410-8824-cb99058d5e15
|
|
|
|
|
|
|
|
| |
over time. Also the documentation. Added one test that can be run in an ASCII
world to do a little testing of EBCDIC-related things.
git-svn-id: svn://vcs.exim.org/pcre/code/trunk@1033 2f5784b3-3f2a-0410-8824-cb99058d5e15
|
|
|
|
|
|
|
| |
--enable-ebcdic-nl25 (and CMake equivalent) for the alternate NL encoding.
git-svn-id: svn://vcs.exim.org/pcre/code/trunk@1028 2f5784b3-3f2a-0410-8824-cb99058d5e15
|
|
|
|
| |
git-svn-id: svn://vcs.exim.org/pcre/code/trunk@1022 2f5784b3-3f2a-0410-8824-cb99058d5e15
|
|
|
|
| |
git-svn-id: svn://vcs.exim.org/pcre/code/trunk@1015 2f5784b3-3f2a-0410-8824-cb99058d5e15
|
|
|
|
| |
git-svn-id: svn://vcs.exim.org/pcre/code/trunk@1011 2f5784b3-3f2a-0410-8824-cb99058d5e15
|
|
|
|
|
|
|
| |
atomic parentheses or when *PRUNE or *SKIP is present.
git-svn-id: svn://vcs.exim.org/pcre/code/trunk@994 2f5784b3-3f2a-0410-8824-cb99058d5e15
|
|
|
|
|
|
|
| |
with \x{....} in non-JavaScript mode.
git-svn-id: svn://vcs.exim.org/pcre/code/trunk@978 2f5784b3-3f2a-0410-8824-cb99058d5e15
|
|
|
|
| |
git-svn-id: svn://vcs.exim.org/pcre/code/trunk@975 2f5784b3-3f2a-0410-8824-cb99058d5e15
|
|
|
|
| |
git-svn-id: svn://vcs.exim.org/pcre/code/trunk@964 2f5784b3-3f2a-0410-8824-cb99058d5e15
|
|
|
|
| |
git-svn-id: svn://vcs.exim.org/pcre/code/trunk@941 2f5784b3-3f2a-0410-8824-cb99058d5e15
|
|
|
|
| |
git-svn-id: svn://vcs.exim.org/pcre/code/trunk@933 2f5784b3-3f2a-0410-8824-cb99058d5e15
|