Commit Graph

455 Commits

Author SHA1 Message Date
ph10
eb06f66ae7 Make idempotency guards more standards compliant. 2016-11-20 12:46:11 +00:00
ph10
e26cec42ec Add PCRE2_CALL_CONVENTION into prototypes. 2016-11-19 12:46:24 +00:00
ph10
12220c8b72 Fix overrun bug caused by conditional with assertion using too much memory. 2016-11-18 18:59:37 +00:00
ph10
e86513c76f Fix global overflow bug for get/copy names in pcre2test. 2016-11-10 17:08:27 +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
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
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
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
92fae4204a Correct a couple of size_t that should be PCRE2_SIZE. 2016-10-15 09:21:12 +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
a96905b68a Implement buffer expansion in pcre2grep. 2016-10-11 16:40:09 +00:00
ph10
a9abef90e3 Insert missing casts to reduce compiler warnings. 2016-10-06 16:47:56 +00:00
ph10
2fe6229033 Fix callout display bug in pcre2test. 2016-10-05 16:53:34 +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
zherczeg
50c78ab698 Fix unaligned accesses on x86. Patch by Marc Mutz. 2016-07-15 10:02:19 +00:00
ph10
67342de8a9 Ignore "allcaptures" after DFA matching. 2016-07-06 15:02:24 +00:00
ph10
c8e722b99d Detect overflow in pcre2test pattern and subject repetition counts. 2016-07-06 08:42:50 +00:00
zherczeg
978b6281f7 Fix register overwite in JIT when SSE2 acceleration is enabled. 2016-07-01 08:56:59 +00:00
ph10
55101bc2d4 Documentation detrail and make HTML for 10.22-RC1. 2016-06-29 16:52:05 +00:00
ph10
698d86fafd File tidies for 10.22-RC1 2016-06-29 16:43:32 +00:00
ph10
8c31be582d Add missing #ifdef SUPPORT_UNICODE to avoid "unused variable" warning. 2016-06-28 16:19:47 +00:00
ph10
263f9b3605 Add MSVC snprintf fix to pcre2posix.c, which no longer includes
pcre2_internal.h.
2016-06-26 16:21:23 +00:00
ph10
839dfb2e10 Fix two compiler warnings from clang when only one code unit width is
supported.
2016-06-22 10:41:05 +00:00
ph10
838adf332a Support \C in lookbehinds and DFA matching in UTF-32 mode. 2016-06-20 18:14:51 +00:00
ph10
2e31095370 Fix bad interaction between -o and -M in pcre2grep. 2016-06-17 17:37:26 +00:00