Commit Graph

1231 Commits

Author SHA1 Message Date
ph10
a6be1b3e5a Forgot this file in previous commit. Fixes JIT non-UTF bug. 2019-05-13 16:38:18 +00:00
ph10
a5fd29b912 Fix crash when \X is used without UTF in JIT. 2019-05-13 16:26:17 +00:00
ph10
570c2ac872 Fix typo. 2019-05-11 11:43:39 +00:00
zherczeg
f49e12c148 Improved the invalid utf32 support of the JIT compiler. 2019-05-10 13:15:20 +00:00
ph10
ac5f127ddb Implement a check on the number of capturing parentheses, which for some reason
has never existed. This fixes ClusterFuzz issue 14376.
2019-04-22 12:39:38 +00:00
ph10
fae3cecf44 Final file tidies for 10.33. 2019-04-16 15:34:27 +00:00
ph10
d535a186bb Casts and rewrites to avoid clang sanitize warnings. 2019-04-16 14:49:07 +00:00
zherczeg
1c7a2906e6 Negate signed shift warnings. 2019-04-16 08:57:10 +00:00
ph10
3e3c428b5a Change a number of expressions like 1<<10 to 1u<<10. 2019-04-12 14:40:27 +00:00
zherczeg
7baa23b364 Disable SSE2 JIT optimizations in x86 CPUs when SSE2 is not available. 2019-03-25 14:10:24 +00:00
ph10
673daf6692 Fix crash in pcre2_substitute() with NULL match context. 2019-03-11 17:29:08 +00:00
ph10
bdf761a7bf Documentation update re PCRE2_JIT_INVALID_UTF 2019-03-06 17:38:20 +00:00
ph10
56473cd6c4 More file tidies for 10.33-RC1 2019-03-04 18:07:04 +00:00
ph10
29bdf92c1c Final file tidies for 10.33-RC1 2019-03-04 18:04:44 +00:00
ph10
6d6d52f3d0 Fix --enable-jit=auto for out-of-tree builds. 2019-03-01 16:19:49 +00:00
ph10
04c757f472 Try to fix CMake old policy warning issue. 2019-02-16 11:58:37 +00:00
ph10
60c32b3416 Fix two identical documentation typos. 2019-02-14 16:07:14 +00:00
zherczeg
b82224d1d9 JIT compiler update. 2019-02-14 07:49:03 +00:00
zherczeg
5d8a73204d Compile invalid UTF check in JIT test when only pcre32 is enabled. 2019-02-14 07:33:57 +00:00
ph10
b3438faeaf Compile \p{Any} the same as . in DOTALL mode, to benefit from auto-anchoring. 2019-02-13 17:30:24 +00:00
ph10
f9d98633e9 Fix overflow bug in new /u code. Fixes ClusterFuzz 13073. 2019-02-13 16:48:30 +00:00
ph10
04b65d864e Implement PCRE2_EXTRA_ALT_BSUX to support ECMAscript 6's \u{hhh..} syntax. 2019-02-12 17:50:19 +00:00
ph10
528c8c2363 Previout bug-fix was bad. This properly fixes an overrun while reading a
Unicode group name.
2019-02-07 17:59:37 +00:00
ph10
082ef91037 Fix small bug in new Unicode group name logic. 2019-02-07 17:29:50 +00:00
ph10
f1201f5043 JIT tests for script runs must only run when Unicode is supported. 2019-02-06 19:02:23 +00:00
ph10
e5959e493e Allow non-ASCII in group names when UTF is set; revise group naming terminology
in documentation to use "capture group", as Perl does.
2019-02-06 18:11:36 +00:00
ph10
35b6283329 Fix warning when compiled without Unicode support. 2019-02-03 14:49:39 +00:00
ph10
5136cbb9d0 Update POSIX wrapper to use macros in the .h file, but also have the POSIX
function names in the library.
2019-01-30 16:11:16 +00:00
ph10
8b3d384ad5 Update copyright date 2019-01-30 16:10:38 +00:00
ph10
be7d18b10d Fix bug in VERSION conditional test in DFA matching. 2019-01-29 14:34:59 +00:00
zherczeg
7320aa676b JIT compiler update. 2019-01-22 08:51:48 +00:00
zherczeg
dbf3737467 Add preliminary script run support to JIT. 2019-01-18 14:14:19 +00:00
zherczeg
54c873764a Fix word boundary in JIT compiler. Patch by Mike Munday. 2019-01-17 11:47:59 +00:00
ph10
0f27a7553f Fix issues with BAD_ESCAPE_IS_LITERAL in character classes. 2019-01-04 16:41:32 +00:00
zherczeg
3cb8b6888e JIT compiler update. 2019-01-03 09:34:42 +00:00
ph10
346df7abf9 Documentation typo. 2018-12-14 16:10:57 +00:00
ph10
aa67d1cabe Cast to get rid of compiler warning. 2018-12-14 16:02:29 +00:00
zherczeg
e9eabedd18 Use TARGET_OS_MAC macro in the executable allocator. 2018-12-14 08:00:49 +00:00
zherczeg
3af757952d Fix MAP_JIT issues on Mac. Patch by Carlo Arenas. 2018-12-13 13:23:59 +00:00
ph10
a476f6342e Make RunTest check stack settablility using the -bigstack value. 2018-12-07 16:32:05 +00:00
ph10
667491b025 Redirect stderr in RunGrepTest instead of appending to testtrygrep from two
different file descriptors, because the latter doesn't always work as expected.
2018-12-06 17:13:41 +00:00
ph10
1d04bb3372 Cut out test of NUL characters in RunGrepTest for all OS except Linux, as it
doesn't work for *BSD as well as for Solaris and MacOS (which were already cut 
out).
2018-12-06 17:05:06 +00:00
ph10
a71c724fc3 Documentation update. 2018-11-27 16:41:20 +00:00
ph10
72542e3c19 Fix non-recognition of anchoring when preceded by (*MARK) etc. 2018-11-27 16:00:58 +00:00
ph10
78a3e55220 Update explanatory comment. 2018-11-27 10:42:59 +00:00
zherczeg
59a449d6b9 Improve MAP_JIT flag usage on MacOS. Patch by Rich Siegel. 2018-11-25 17:11:52 +00:00
ph10
1b9f34cfdd Add VMS support for pcre2grep callout of an external program. 2018-11-24 16:31:10 +00:00
ph10
7ff9b0382f Fix two instances of <= 0 being applied to unsigned integers. 2018-11-17 16:59:39 +00:00
ph10
01211f9f5c Oversight; forgot to update this for the previous patch. 2018-11-17 16:49:28 +00:00
ph10
b3f69214be Add --disable-pcre2grep-callout-fork configuration setting. 2018-11-17 16:45:57 +00:00