Commit Graph

260 Commits

Author SHA1 Message Date
ph10
d709d81905 Add -t to pcre2grep. 2016-10-16 16:48:14 +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
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
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
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
843f4703f0 Tidy code to get rid of compiler warnings. 2016-07-27 18:00:12 +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
263f9b3605 Add MSVC snprintf fix to pcre2posix.c, which no longer includes
pcre2_internal.h.
2016-06-26 16:21:23 +00:00
ph10
f5ed2a36aa Update patch for MSVC static compilation (see Bugzilla #1681). 2016-06-24 09:07:15 +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
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
ph10
5c4d8ec341 Exclude __INTEL_COMPILER in the test for __GNUC__. 2016-06-17 11:45:16 +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
8b1c421eba Fix possible negative index possibility in pcre2test. 2016-06-14 16:14:52 +00:00
ph10
40edd4316a Fix comment describing returns from find_fixedlength(). 2016-06-14 15:12:07 +00:00
ph10
1f4aec7f43 Fix typo that gave compiler error when JIT not supported. 2016-06-14 09:19:24 +00:00
ph10
be26792758 Implement PCRE2_NO_JIT, update HTML docs as well. 2016-06-05 16:05:34 +00:00
ph10
b16e6f7e23 Update valgrind parameters in RunGrepTest and arrange for the suppressions file
to be used when JIT is supported.
2016-05-31 11:36:10 +00:00
ph10
cb69d69678 Make pcre2grep use JIT (it was omitted by mistake). 2016-05-31 11:06:53 +00:00
ph10
e80c6d8184 Fix typo in test program. 2016-05-25 08:42:31 +00:00
ph10
6cee2c5384 Add a bit more sanity checking to pcre2_serialize_decode(), and document. 2016-05-24 16:37:13 +00:00
ph10
7b8c5b9d12 Minor refactor to avoid "left shift of negative number" warning. 2016-05-21 13:41:24 +00:00
ph10
00b6cf55dd Minor code refactor to avoid compiler warning. 2016-05-20 10:47:42 +00:00
zherczeg
d265017dad A racing condition is fixed in JIT reported by Mozilla. 2016-05-19 18:09:07 +00:00
ph10
0e2e059f63 Refactor pcre2posix.c so as not to #include pcre2_internal.h. 2016-05-14 16:35:20 +00:00
ph10
c9054f62de Fix bug for test 22. 2016-04-22 14:10:51 +00:00
ph10
25944059bc Add callout support to pcre2grep 2016-04-01 15:52:08 +00:00
ph10
980f8247f9 pcre2grep: fix \r\r\n problem for Windows, and give buffer size in error
message.
2016-04-01 09:15:38 +00:00
ph10
9f77d43148 Apply supplied patch for MSVC static compilation. 2016-03-01 12:02:58 +00:00
ph10
c9766ed38e Define snprintf as _snprintf for older MSVC compilers. 2016-02-29 18:31:30 +00:00
ph10
936e62bbcb Fix typo in pcre2_study(). 2016-02-28 14:56:50 +00:00
ph10
7d3fb8e69d Fix pcre2test bug when snprintf() in regerror() does not insert a binary zero. 2016-02-27 12:49:00 +00:00
ph10
9224b3bddb Implemented pcre2_code_copy(). 2016-02-26 18:26:17 +00:00
ph10
24bf834393 Fix some picky compiler warnings 2016-02-16 10:23:06 +00:00
ph10
c3b2163321 Detect missing closing parentheses during the pre-pass. 2016-02-13 15:30:29 +00:00
ph10
cd0085ed22 Fix workspace overflow for deep nested parentheses with (*ACCEPT). 2016-02-10 18:24:02 +00:00
ph10
0c70759be9 Fix pcre2test loop when a callout is in an initial lookbehind. 2016-02-06 16:40:59 +00:00