Commit Graph

592 Commits

Author SHA1 Message Date
zherczeg
50c78ab698 Fix unaligned accesses on x86. Patch by Marc Mutz. 2016-07-15 10:02:19 +00:00
ph10
c8ccfdeaef Fix new tests when newline is not LF. 2016-07-06 17:39:15 +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
ph10
3b74d3bcf8 Fix typo again - hopefully correctly this time. 2016-07-03 15:21:01 +00:00
ph10
87c91d511e Fix typos and add clarification to documentation. 2016-07-02 16:34:01 +00:00
ph10
5a12fc39c8 Fix incorrect SONAME for pcre2posix wrapper library. 2016-07-02 16:03:06 +00:00
ph10
102cded91e Additional test for recent JIT bugfix. 2016-07-02 15:52:30 +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
e25878b20f Correct valgrind settings for JIT regression testing; more minor selector
tweaks.
2016-06-29 16:43:02 +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
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
e6bb053fa1 Documentation clarification. 2016-06-19 16:07:56 +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
29cd834a15 Fix typo in pcre2grep documentation. 2016-06-05 16:04:38 +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
zherczeg
5b382eb2f0 Style updates in JIT. 2016-04-12 11:27:41 +00:00
ph10
49b185f6e5 Tidy up patch for Windows binary stdout in pcre2grep. 2016-04-06 08:26:24 +00:00
ph10
bd7747bfbd Add comment about binary zeros. 2016-04-06 08:19:45 +00:00
zherczeg
1c2aaad0c8 Support Android ARM64 cacheflush in JIT. Patch by Tavian Barnes. 2016-04-06 07:18:42 +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
zherczeg
9ceeedb670 JIT compiler update. 2016-03-04 08:51:53 +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
7db6bbb219 Avoid "const-correct" warning from MSVC. 2016-02-29 17:43:01 +00:00
zherczeg
16b6bfbac5 JIT compiler update. 2016-02-29 09:09:40 +00:00
ph10
936e62bbcb Fix typo in pcre2_study(). 2016-02-28 14:56:50 +00:00
ph10
56fa24335d Further small fix to regerror() overflow handling, to ensure identical output
whether or not there is a zero at the end of the buffer.
2016-02-28 13:33:55 +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