Commit Graph

602 Commits

Author SHA1 Message Date
ph10
fdc64483e7 Fix Windows debug builds (Bugzilla #2600) using CMake. 2020-06-22 15:51:19 +00:00
ph10
4ddd284477 Add cast to prevent a compiler warning. 2020-06-05 16:11:01 +00:00
ph10
2257656017 Change CMakeLists.txt to use CHECK_SYMBOL_EXISTS instead of
CHECK_FUNCTION_EXISTS.
2020-06-05 16:06:05 +00:00
ph10
519643e0c2 Allow spaces in directory name in CMake build (fixes #2588). 2020-06-05 15:58:28 +00:00
ph10
eec6530879 Patch for CMakeLists.txt by Wolfgang Stoeggl fixes several things; see Bugzilla
#2584/
2020-06-01 16:36:00 +00:00
zherczeg
6a19a68b29 Fix inifinite loop when a single byte newline is searched in JIT. 2020-05-29 14:20:23 +00:00
ph10
04d043ff43 Apply H.J. Lu's patch to pass -mshstk to the compiler when Intel CET is
enabled. CMake version invented by PH, but only tested on non-CET system.
2020-05-25 16:03:24 +00:00
ph10
06ee7f58f2 Final file tidies for 10.35. 2020-05-09 15:47:41 +00:00
ph10
accac2c613 Restrict configuration of the JIT SELinux compatible memory allocator to Linux
and NetBSD.
2020-04-28 15:29:18 +00:00
ph10
2ce7e40148 Check for memfd_create in configuration files. 2020-04-28 15:03:58 +00:00
ph10
9d1b82ba09 Patch CMakeLists.txt to properly test for mkostemp. 2020-04-28 14:26:24 +00:00
ph10
f0eb80db2a Add support for pkgconfig etc and versioning to CMake builds. 2020-04-25 16:04:15 +00:00
ph10
9e5c54ebe6 Added tests for __attribute__((uninitialized)) to both the configure and
CMake build files. Used to disable initialization of the match stack frames
vector (clang has an automatic initialization feature).
2020-04-23 16:50:45 +00:00
ph10
865a68b4d1 Avoid using [-1] as a suffix in pcre2test as it can provoke a compiler warning. 2020-04-23 15:41:23 +00:00
ph10
32186e6bd0 File tidies for 10.35-RC1 release candidate. 2020-04-15 16:34:36 +00:00
ph10
8b1adaba6e Check for secure_getenv() and strerror() in CMake build. 2020-04-09 15:25:14 +00:00
ph10
960f237a78 Update to Unicode 13.0.0. 2020-03-25 17:18:33 +00:00
ph10
041c6f082b Change setting of CMAKE_MODULE_PATH from SET to LIST(APPEND...) to allow a
setting from the command line to be included.
2020-03-24 17:45:28 +00:00
ph10
cccad42153 Renamed dftables as pcre2_dftables and enable it to write the tables in binary.
Update documentation about character tables.
2020-03-20 18:09:59 +00:00
ph10
d30d9af89f Fix bugs in new UCP casing code for back references and characters with more
than 2 cases.
2020-02-26 16:53:39 +00:00
ph10
9c83f0f8c3 Fix bad lookbehind compilation when preceded by a DEFINE group. 2020-02-24 17:29:00 +00:00
ph10
daba874129 Fix bug in UTF-16 checker returning wrong offset for missing low surrogate. 2020-02-24 15:39:56 +00:00
ph10
a7e0a521c5 Unicode upper/lower casing is now used when UCP is set, even if UTF is not set.
This is not yet documented, and it not yet implemented in JIT.
2020-02-23 16:40:05 +00:00
zherczeg
efcbcf8325 Fix a crash which occurs when the character type of an invalid UTF character is decoded in JIT. 2020-02-20 07:42:47 +00:00
zherczeg
7ebb4af588 Fix control verb chain restoration issue in JIT. 2020-02-10 10:18:01 +00:00
ph10
c9d228afb3 Limit function recursion in pcre2_study to avoid stack overflow issues. 2020-01-27 10:28:19 +00:00
ph10
b384020170 Fix bug in processing (?(DEFINE)...) within lookbehind assertions. 2020-01-26 15:31:27 +00:00
ph10
8df4984cf6 Ensure a newline after the final line in a file is output by pcre2grep. 2020-01-25 15:50:44 +00:00
zherczeg
378a01dfbb The JIT stack should be freed when the low-level stack allocation fails. 2020-01-24 08:28:23 +00:00
ph10
88bdbf39df Implement PCRE2_SUBSTITUTE_REPLACEMENT_ONLY. 2020-01-22 17:50:12 +00:00
zherczeg
46f3237502 Fix *THEN verbs in lookahead assertions in JIT. 2020-01-11 15:28:15 +00:00
ph10
7ce7d95137 Allow real repetition of assertions. 2020-01-01 12:07:02 +00:00
ph10
00e81b4a53 Add (?* and (?<* synonyms for non-atomic lookarounds. 2019-12-28 13:53:59 +00:00
ph10
a8d32f9c02 Implement PCRE2_SUBSTITUTE_MATCHED. 2019-12-27 13:35:17 +00:00
ph10
ecffaeebd7 Avoid some VS compiler warnings. 2019-12-26 15:10:26 +00:00
ph10
c5fb61b37d Implement PCRE2_SUBSTITUTE_LITERAL. 2019-12-26 14:53:24 +00:00
ph10
240e5d6e83 Remove atomic restriction on capture groups containing recursive back
references, as since 10.30 it has been unnecessary.
2019-12-18 16:16:12 +00:00
zherczeg
01653df312 Fix the too early access of the fields of a compiled pattern in JIT. 2019-12-07 16:00:53 +00:00
zherczeg
1b1c5f8f86 Fix ARMv5 JIT improper handling of labels right after a constant pool. 2019-11-29 11:03:10 +00:00
zherczeg
30e7a803f5 Use PCRE2_MATCH_EMPTY flag to detect empty matches in JIT. 2019-11-28 11:35:08 +00:00
ph10
aa210712dc Final file tidies for 10.34 2019-11-21 16:31:08 +00:00
zherczeg
2d9aabd6b1 Fixed the incorrect computation of jump sizes on x86 CPUs in JIT. 2019-11-19 12:25:32 +00:00
ph10
ccd16426b5 Fix sometimes failing caseless non-ASCII matching in assertion. 2019-11-16 17:30:07 +00:00
ph10
160f6da85b Documentation update 2019-11-08 16:04:43 +00:00
ph10
bc876fd379 File tidies for 10.34-RC2. 2019-11-06 16:51:31 +00:00
ph10
4c00e57983 Source tidies (trailing spaces) etc. for 10.34-RC1. 2019-10-17 16:39:38 +00:00
ph10
aad727c420 Fix minor test issues and tidies/updates for 10.34-RC1 testing release. 2019-10-15 15:23:31 +00:00
ph10
7d9f2966d7 Ensure regexec is thread safe to avoid sanitizer warnings. 2019-10-15 10:46:36 +00:00
ph10
131f75bafd Optimize certain starting code unit bit maps into a single starting code unit. 2019-09-13 17:02:06 +00:00
ph10
5314e962ae Improve starting-byte bit map for UTF-8 patterns with wide characters in
classes.
2019-09-10 15:38:42 +00:00