Commit Graph

592 Commits

Author SHA1 Message Date
ph10
e86513c76f Fix global overflow bug for get/copy names in pcre2test. 2016-11-10 17:08:27 +00:00
ph10
70f5077974 Test update. 2016-11-04 16:40:08 +00:00
ph10
98b7a61606 Fix bad working space size calculation when PCRE2_AUTO_CALLOUT is set. 2016-11-04 16:35:47 +00:00
ph10
68b57e736a Fix overrun for unterminated number after \g' 2016-11-04 11:05:21 +00:00
ph10
bb33ec330b Add use_length to pcre2test. 2016-11-04 10:53:43 +00:00
ph10
de19b85886 List valgrind support when it is enabled. 2016-11-03 18:25:51 +00:00
ph10
2bb76aaab2 Add strerror() to pcre2test for failed file opening. 2016-11-03 18:18:53 +00:00
ph10
8957fc7c87 Remove all "register" declarations. 2016-11-03 17:35:59 +00:00
ph10
d37abff343 Update the pcre2grep patch for colouring on Windows so that "auto" is the same
as "always".
2016-11-03 17:01:17 +00:00
ph10
d31b808908 Correct out-of-date comments in the code. 2016-11-02 09:56:27 +00:00
ph10
102c1f386f Fix callout string read overrun; do better with catching these when using
zero-terminated patterns under valgrind.
2016-11-01 17:45:54 +00:00
ph10
d9df3ee14b Fix auto-anchor bug when .* is inside an assertion. 2016-11-01 15:58:28 +00:00
ph10
7bfc994cf8 Fix read beyond unterminated quantifier at end of pattern. 2016-11-01 12:12:45 +00:00
ph10
5d5f74529b Documentation update for fuzz support. 2016-11-01 11:56:07 +00:00
ph10
606e4c3303 Documentation update. 2016-10-31 19:04:22 +00:00
ph10
5bc0bdf46f Fix pattern overrun in utf extended mode for a # comment that hit the end. 2016-10-31 17:46:56 +00:00
ph10
dedc03f8b9 Add fuzzer support features. 2016-10-31 17:19:00 +00:00
ph10
0b95c1b47c Fix bad memory calculation when the first branch of a lookbehind is of zero
length.
2016-10-28 16:09:08 +00:00
ph10
cc3a8ad246 Fix error in documentation. 2016-10-28 16:08:44 +00:00
ph10
f9bba1c615 Fix bad lookup in global table for wide characters in extended mode and in
*VERB names.
2016-10-27 17:42:14 +00:00
ph10
17d07985cc Fix *MARK length check in UTF mode (it was checking characters, not code
units).
2016-10-26 16:59:22 +00:00
ph10
1d5d04b5e4 Diagnose an overall recursion (?0) inside a lookbehind as an error. 2016-10-23 17:05:09 +00:00
ph10
d399997578 The "offset" modifier in pcre2test was not being ignored (as documented) for
POSIX.
2016-10-23 16:18:15 +00:00
ph10
8bc6a94975 Document current assert capture limitation. 2016-10-23 15:43:42 +00:00
ph10
e81fb7cd73 Fix typo. 2016-10-18 15:37:31 +00:00
ph10
20d0109ed3 Fix optimization bugs when pattern starts with lookahead. 2016-10-18 11:22:40 +00:00
ph10
d709d81905 Add -t to pcre2grep. 2016-10-16 16:48:14 +00:00
ph10
47e13f12c6 Fix typo. 2016-10-15 10:28:27 +00:00
ph10
92fae4204a Correct a couple of size_t that should be PCRE2_SIZE. 2016-10-15 09:21:12 +00:00
ph10
fb67d3fe52 Fix documentation error. 2016-10-14 17:06:34 +00:00
ph10
5aea226401 Dmitry Cherniachenko's patch for colouring pcre2grep output in Windows. 2016-10-14 16:17:48 +00:00
ph10
e5e97f7c74 Added some "const" qualifiers to variables in pcre2grep. 2016-10-14 15:47:27 +00:00
ph10
7ddb87d1fc Note in config.h that SUPPORT_PCRE2GREP_JIT needs SUPPORT_JIT in order to be
effective.
2016-10-14 15:16:39 +00:00
ph10
a73c06ec9c Make pcre2grep work (using the interpreter) if compiled with JIT support when
the main library does not have it.
2016-10-13 17:20:08 +00:00
ph10
6703953f9f Add test for bug already fixed by the refactoring. 2016-10-13 16:08:08 +00:00
ph10
a96905b68a Implement buffer expansion in pcre2grep. 2016-10-11 16:40:09 +00:00
ph10
e96c117d56 Fix new test in testinput5 when LF is not a default newline. 2016-10-07 15:50:39 +00:00
ph10
a78ff564ea Missed typo fixed. 2016-10-06 17:48:24 +00:00
ph10
56dced804c Fix typos in documentation. 2016-10-06 17:44:39 +00:00
ph10
a9abef90e3 Insert missing casts to reduce compiler warnings. 2016-10-06 16:47:56 +00:00
ph10
1c3311e510 Fix typo in CMakeLists.txt. 2016-10-05 17:03:52 +00:00
ph10
2fe6229033 Fix callout display bug in pcre2test. 2016-10-05 16:53:34 +00:00
ph10
7010fc1fa0 Documentation clarification 2016-10-05 16:06:10 +00:00
ph10
33f4845d6c Major refactoring of pcre2_compile.c; see ChangeLog and HACKING. 2016-10-02 16:01:01 +00:00
ph10
a5b5d3f2dc Fix bug that caused chars > 255 not to be matched by classes like [\W\pL] when
PCRE2_UCP was not set.
2016-08-03 17:22:59 +00:00
ph10
b860064c6b Update pcre2test with the /utf8_input option, for generating wide characters in
non-UTF 16-bit and 32-bit modes.
2016-08-03 09:01:02 +00:00
ph10
fd7e9ae28f Final file tidies for 10.22. 2016-07-29 08:47:39 +00:00
ph10
843f4703f0 Tidy code to get rid of compiler warnings. 2016-07-27 18:00:12 +00:00
ph10
2b7b893664 Update comments and correct name of memmove substitute function. 2016-07-27 17:58:38 +00:00
zherczeg
8ed2c1b3de Minor JIT compiler update. 2016-07-17 04:39:51 +00:00