Commit Graph

1231 Commits

Author SHA1 Message Date
zherczeg
ad006ad9e5 JIT compiler update. 2020-04-14 05:04:32 +00:00
ph10
8b1adaba6e Check for secure_getenv() and strerror() in CMake build. 2020-04-09 15:25:14 +00:00
ph10
ae1bc84dd4 Tidies and updates to maintenance programs utf8 and ucptest. 2020-04-01 17:00:33 +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
909006faf9 Fix resource leak in pcre2test introduced by recent patch. 2020-03-24 17:25:58 +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
zherczeg
896297151a Minor improvements for single character iterators in JIT. 2020-03-10 14:42:41 +00:00
zherczeg
13540207b0 Fix issues in the early fail optimization. 2020-03-06 09:23:10 +00:00
zherczeg
9be006c8a3 Rework early fail optimization in JIT. 2020-03-05 07:58:49 +00:00
zherczeg
dd97b3fae8 Improve memory clearing in JIT. 2020-03-02 08:52:01 +00:00
zherczeg
dc260b15d1 Support more accelerated repeat cases in JIT. 2020-02-27 08:35:14 +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
zherczeg
52d180048e Follow ucp changes in JIT. 2020-02-26 10:18:43 +00:00
ph10
92b9a699ac Fix bug introduced in recent UCP changes (writing outside starting code unit
bitmap for non-UTF caseless character U+00DF).
2020-02-25 16:47:36 +00:00
ph10
9c83f0f8c3 Fix bad lookbehind compilation when preceded by a DEFINE group. 2020-02-24 17:29:00 +00:00
ph10
f8e8663552 Documentation for PCRE2_UCP handling of upper/lower casing. 2020-02-24 16:35:15 +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
zherczeg
f8ab1564cf Implement simd support for requested character in JIT. 2020-02-24 05:26:15 +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
5697ce8f29 JIT compiler update. 2020-02-21 07:44:04 +00:00
zherczeg
79f79d39eb Remove hackings in JIT. 2020-02-20 08:57:39 +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
ph10
3bc3363bcd Documentation update. 2020-02-16 17:47:14 +00:00
ph10
690d2e3ff3 Fix problems with new PCRE2_SUBSTITUTE_MATCHED code. 2020-02-16 17:46:40 +00:00
ph10
126137b96c Documentation update. 2020-02-11 16:37:08 +00:00
zherczeg
7ebb4af588 Fix control verb chain restoration issue in JIT. 2020-02-10 10:18:01 +00:00
zherczeg
343f4b2960 Fix compiler warning on ARM64 with JIT. 2020-01-31 10:09:38 +00:00
zherczeg
be3d8be5e6 JIT compiler update. 2020-01-28 14:13:06 +00:00
ph10
a2b93e7b28 Documentation update. 2020-01-27 15:36:29 +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
ph10
c663d333bd Documentation update. 2020-01-24 15:26:44 +00:00
ph10
3f0cbe05cc Avoid compiler "fall through" warning. 2020-01-24 15:17:15 +00:00
zherczeg
653b24f970 Support napla and naplb in JIT when no control verbs are in the assertion. 2020-01-24 12:40:07 +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
ph10
d5aadd3df8 Update Windows-specific test output (overlooked wording change). 2020-01-15 16:50:45 +00:00
zherczeg
46f3237502 Fix *THEN verbs in lookahead assertions in JIT. 2020-01-11 15:28:15 +00:00
ph10
b0001c826f Documentation update and another cunning test pattern. 2020-01-05 12:32:29 +00:00
ph10
7ce7d95137 Allow real repetition of assertions. 2020-01-01 12:07:02 +00:00
ph10
5cc6fd70ee Some test files needed updating for link sizes 3 and 4. 2019-12-29 11:56:45 +00:00
ph10
309fca286b Fix typo! 2019-12-29 11:50:37 +00:00
ph10
bb1e50aa3c Documentation update. 2019-12-29 11:44:51 +00:00
ph10
e8386662ba Documentation update. 2019-12-28 14:09:09 +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