Commit Graph

49 Commits

Author SHA1 Message Date
ph10
c6d7f9deae Add additional compile options and PCRE2_EXTRA_ALLOW_SURROGATE_ESCAPES. 2017-05-17 17:55:11 +00:00
ph10
7ef8d6c0e2 Refactor to avoid sanitize warnings when accessing the variable size ovector in
the backtracking frame. Fixes oss-fuzz issue 1465. Also make -bigstack in 
RunTest allocate a 64Mb stack for use with clang sanitizing.
2017-05-10 18:21:03 +00:00
ph10
a4d981cac5 Experimental pattern conversion code (no public documentation yet). 2017-05-06 16:19:39 +00:00
ph10
9d7cf25ee9 Add explicit heap limiting options to pcre2_match(), with associated features
for listing, configuring, etc.
2017-04-11 11:47:25 +00:00
ph10
1da5c1d5aa Add "framesize" to pcre2test to display pcre2_match() frame size, using the new
PCRE2_INFO_FRAMESIZE option for pcre2_pattern_info().
2017-03-16 17:55:55 +00:00
ph10
911099b645 Remove special stack handling for test 2 - no longer needed. 2017-03-10 17:48:48 +00:00
ph10
f79f23474a File tidies for 10.23-RC1 2017-01-16 17:40:47 +00:00
ph10
ace2993a31 Fix bad behaviour for subroutine call in lookbehind when the called subroutine
contained an option setting such as (?s) and PCRE2_ANCHORED was set.
2016-11-23 17:17:57 +00:00
ph10
33f4845d6c Major refactoring of pcre2_compile.c; see ChangeLog and HACKING. 2016-10-02 16:01:01 +00:00
ph10
55101bc2d4 Documentation detrail and make HTML for 10.22-RC1. 2016-06-29 16:52:05 +00:00
ph10
ba2e7d6069 Upgrade RunTest to try test 2 with a large stack if it fails with a smaller one
when running the interpreter.
2016-06-22 19:23:33 +00:00
ph10
61c6782bd0 Return an error code when pcre2_get_error_message() does not recognize an error
code, and add a pcre2test facility for testing this.
2016-06-17 11:30:27 +00:00
ph10
9224b3bddb Implemented pcre2_code_copy(). 2016-02-26 18:26:17 +00:00
ph10
40d06d3bdf Update valgrind parameters. 2016-01-30 15:19:48 +00:00
ph10
f9c08cb6d8 File tidies, version updates, etc. for 10.21-RC1 2015-12-17 18:44:06 +00:00
ph10
6007bf351a Run test 8 (sizes and offsets and mode-specific things) for link size 3 and 4
as well as for link size 2, with different output files in each case.
2015-11-14 13:22:34 +00:00
ph10
866778623c Fix bug: test 22 not skipped when Unicode not configured. 2015-10-17 18:27:38 +00:00
ph10
57a8611a13 Implement --never-backslash-C 2015-10-17 13:50:56 +00:00
ph10
b72808da39 Create a suppressions file for valgrind with JIT. 2015-09-11 16:56:47 +00:00
ph10
60dd91d2eb Implement #newline_default and adjust testdata and scripts to use it. 2015-09-08 17:01:17 +00:00
ph10
d3b16b84c2 Fix typo in new test. 2015-08-18 10:39:59 +00:00
ph10
db81c6b5e6 Runtime UTF checks now take not of the starting offset. 2015-08-18 10:34:05 +00:00
ph10
98b389e1fd Fix pedantic infelicities shown up by clang and a UTF-8 checking overflow bug. 2015-07-24 13:30:50 +00:00
ph10
cbb3fd26ad Source and document file tidies for 10.20-RC1. 2015-06-18 16:39:25 +00:00
ph10
76f7b10d83 Allow '-' before "nojit" and other arguments for RunTest because I keep
forgetting.
2015-04-24 15:23:15 +00:00
ph10
827f1138df Add teststderr to list of files to clean up. 2015-04-18 16:00:35 +00:00
ph10
d40b515466 Final source file tidies for 10.10-RC1 2015-02-20 11:20:40 +00:00
ph10
ec5cc00674 Update RunTest to handle locales better. 2015-02-07 17:45:55 +00:00
ph10
f16fa66e2a Add serialization functions and tests with updated pcre2test. Fix
PCRE2_INFO_SIZE issues.
2015-01-23 16:51:47 +00:00
ph10
62992d3543 More documentation and file tidies. 2014-11-21 16:45:06 +00:00
ph10
efe1752d53 Add additional tests and fix some compiler warnings; update stack information. 2014-11-21 12:19:37 +00:00
ph10
9b3d0814fc Finish off changes of JIT stack assignment 2014-11-08 16:07:30 +00:00
ph10
70f376de32 Improve test coverage; minor typo in JIT test and other minor buglets fixed. 2014-10-31 12:34:34 +00:00
ph10
e155c46c85 Update clean up of RunTest and RunGrepTest working files. 2014-10-28 10:19:50 +00:00
ph10
8af601505d Tidy a lot of files (remove trailing spaces) 2014-10-20 17:28:49 +00:00
ph10
323a12fd52 Change --enable-pcre8 etc to --enable-pcre2-8 etc and consequent changes;
change "pcre" to "pcre2" in a number of files.
2014-10-17 15:52:57 +00:00
ph10
21f1ffffa9 Make scripts Solaris-compatible. 2014-10-16 16:22:44 +00:00
ph10
2ec08d47e9 Fix several bugs concerned with different configurations. 2014-10-15 15:57:49 +00:00
ph10
b07da3c597 Refactoring some of the code in RunTest 2014-10-12 16:55:21 +00:00
ph10
11760edd91 Remove leftchar/rightchar from the public API. 2014-10-10 11:55:28 +00:00
ph10
b45ad67e96 Work on the tests for JIT. 2014-10-06 17:28:42 +00:00
ph10
ad496af8a1 API documentation and a lot of little related changes to the code. 2014-09-19 07:43:39 +00:00
ph10
1b7cf50df6 Multi-config tests (without JIT) now work. 2014-08-10 16:09:24 +00:00
ph10
db66b2b89a Preparatory work for JIT. 2014-08-08 18:18:18 +00:00
ph10
55349aade7 All tests except JIT and save/reload are implemented. 2014-08-05 16:51:32 +00:00
ph10
17a8e5a0f3 Add more tests. 2014-08-03 17:50:08 +00:00
ph10
e8a11f17e4 Test 4 installed (combines old tests 4 and 6) 2014-07-25 16:35:51 +00:00
ph10
c872f83d9c Test 3 (locale test) converted. 2014-07-24 18:01:11 +00:00
ph10
ed57ee6028 Tests 1 and 2 are converted (but without save/restore). 2014-07-24 16:32:38 +00:00