Commit Graph

1163 Commits

Author SHA1 Message Date
zherczeg
106a4f47f3 Better description for jit-sealloc option and early check for executable memory. 2019-10-01 13:46:41 +00:00
ph10
2f7d303fe4 Fix typo. 2019-09-26 16:10:30 +00:00
zherczeg
2288475398 Support NEON based fast forward character search in ARM64. Patch by Sebastian Pop. 2019-09-17 06:59:45 +00:00
ph10
131f75bafd Optimize certain starting code unit bit maps into a single starting code unit. 2019-09-13 17:02:06 +00:00
ph10
5314e962ae Improve starting-byte bit map for UTF-8 patterns with wide characters in
classes.
2019-09-10 15:38:42 +00:00
ph10
734e484057 Mend bug introduced in previous patch. Fixes crash detected by ClusterFuzz
17101.
2019-09-10 13:22:08 +00:00
ph10
ff953b4f20 Optimize classes such as [Aa] to be a single caseless character. 2019-09-09 17:00:19 +00:00
zherczeg
c9e6293f49 Add underflow check in JIT. 2019-09-09 07:12:00 +00:00
ph10
0e0e9315c4 Install .gitignore file to help those using svn via git. 2019-09-07 15:27:05 +00:00
ph10
01b4082ec6 When computing minimum length, don't scan subsequent branches if any branch in
a group has zero minimum length.
2019-09-07 15:16:10 +00:00
ph10
d16a3a3c8a Fix pessimizing optimization of start-of-match code units in the interpreters. 2019-09-06 16:08:45 +00:00
ph10
964fd5f142 Back off failed attempt to handle nested lookbehinds for estimating how much of
a partial match to retain for multi-segment matching. Document the current 
difficulty if the whole first segment cannot be retained.
2019-09-04 18:14:54 +00:00
ph10
c0d45d1865 Cut out maketables_free when included in freestanding program. 2019-09-04 07:23:01 +00:00
ph10
6f74eeca4d Add the pcre2_maketables_free() function. 2019-09-03 14:16:07 +00:00
ph10
d82479245a Fix bug introduced in commit 1133. Lookbehinds that follow a condition were not
always properly handled.
2019-08-26 16:28:26 +00:00
ph10
9807ba2ec2 Update Makefile.am to add src/pcre2_jit_simd_inc.h to distribution. 2019-08-26 15:10:31 +00:00
zherczeg
e237aa7cc0 Move JIT simd into a separate header file. 2019-08-26 12:02:03 +00:00
ph10
7df8394d62 Fix allusedtext bug, rightmost consulted character incorrect in negative
lookaheads.
2019-08-10 11:34:50 +00:00
ph10
45c721324c Partial match documentation rewritten. 2019-08-07 17:21:02 +00:00
ph10
f2fa9d8b14 Fix incorrect computation of group length when one branch exceeded 65535. 2019-08-03 08:30:40 +00:00
ph10
ade6ed0f2b Comments updates. 2019-08-01 16:59:50 +00:00
ph10
c8bf4999d4 Documentation update and ensure current pcre2.h.generic. 2019-08-01 16:49:09 +00:00
ph10
82771b4fb6 Fix typo in test data comment. 2019-08-01 16:42:36 +00:00
ph10
9020e977ea Minor upgrade to pcre2test and comment in ucptest. 2019-07-30 17:59:42 +00:00
ph10
2e50144a50 Documentation update. 2019-07-29 16:19:58 +00:00
ph10
710676119d Avoid compiler warnings for this maintenance test program. 2019-07-29 16:10:31 +00:00
ph10
ff1cf824e4 Remove incorrect comment. 2019-07-29 16:03:25 +00:00
ph10
d5702f9917 Upgrade to Unicode 12.1.0 2019-07-29 15:32:36 +00:00
ph10
d2334db3e4 Correct tables argument data type for pcre2_set_character_tables() and fix
documentation for pcre2_maketables().
2019-07-28 15:58:24 +00:00
ph10
f5914f28c6 Documentation and test update. 2019-07-28 15:32:11 +00:00
ph10
3dce3f0dbb (*ACCEPT) at start of branch was not recording "may match empty string". 2019-07-23 16:58:57 +00:00
zherczeg
b1fb07001d Follow the partial matching changes in JIT. 2019-07-23 12:34:58 +00:00
ph10
f1174f1f79 More partial match tweaks. 2019-07-22 16:30:44 +00:00
ph10
2f19f2ed8d Documentation typo fixes. 2019-07-22 11:05:19 +00:00
ph10
523758cea2 Update definition of partial match and fix \z and \Z (as documented). 2019-07-21 16:48:13 +00:00
ph10
704b76bc3f Update pcre2demo with match_data block size information. 2019-07-19 15:31:54 +00:00
ph10
587d25b5a8 Fix bug in recent patch for lookbehinds within lookaheads. Fixes ClusterFuzz
15933.
2019-07-18 17:20:29 +00:00
zherczeg
fd6fe92ac3 Rework alternative matching in JIT. 2019-07-18 06:11:04 +00:00
zherczeg
19af2ff87d JIT compiler update. 2019-07-17 07:05:48 +00:00
ph10
585e5fdc2d Check start code unit bit map for setting minimum length. 2019-07-16 16:16:45 +00:00
ph10
03e7f4b837 Implemented pcre2_get_match_data_size(). 2019-07-16 15:50:09 +00:00
ph10
49d86ff772 Fix lookbehind within lookahead within lookbehind misbehaviour bug. 2019-07-16 15:06:21 +00:00
ph10
a8da5bbe37 Fix oversights in recent non-atomic assertions patch. Fixes ClusterFuzz 15837. 2019-07-15 16:04:13 +00:00
ph10
830d7a3ee7 Tidy partial matching code; prepare for possible future change. 2019-07-14 16:44:46 +00:00
ph10
98226a5dd2 Implement non-atomic positive assertions. 2019-07-13 11:12:03 +00:00
zherczeg
a6865a111b Improve non-virtual register usage in JIT. 2019-07-10 14:57:43 +00:00
ph10
9d4101e8e9 In perltest.sh, show Perl version in current conventional format. 2019-07-09 14:20:45 +00:00
ph10
e00172d8d8 Additional overflow test. 2019-07-05 15:49:37 +00:00
ph10
f6611018d0 Check for integer overflow when computing lookbehind lengths. Fixes Clusterfuzz
issue 13656.
2019-07-04 17:01:53 +00:00
ph10
8d22c2be34 Give error for zero timing argument to pcre2test. 2019-07-03 17:15:37 +00:00