Commit Graph

1030 Commits

Author SHA1 Message Date
ph10
14aaf5e8c6 Unconditionally use inttypes.h instead of trying for stdint.h (simplification)
and remove the now unnecessary inclusion in pcre2_internal.h.
2018-11-14 16:59:19 +00:00
ph10
064a85f5de Upgrade the as yet unreleased substitute callout facility. 2018-11-12 16:02:01 +00:00
ph10
648dbc9708 Update VMS-specific code in pcre2test, on the advice of a VMS user. 2018-11-09 18:10:25 +00:00
ph10
c202dd697e Add pcre2_jit_free_unused_memory() to pcre2grep, for tidiness. 2018-10-28 17:27:48 +00:00
ph10
e139fdf95f Fix teeny typo. 2018-10-28 17:24:24 +00:00
ph10
3e3b226ebd Add "kibibytes" to the output of pcre2test -C to show the units of the heap
limit.
2018-10-22 16:56:11 +00:00
ph10
f458930309 Fix heap limit checking overflow bug in pcre2_dfa_match(). 2018-10-22 16:47:55 +00:00
ph10
ec8744e655 Fix typos and obsolescences in comments. 2018-10-21 15:06:43 +00:00
ph10
894a82db17 Fix zero-repeated subroutine call at start of pattern bug, which recorded an
incorrect first code unit.
2018-10-20 09:28:02 +00:00
ph10
990a58464f Set subject field in match data to NULL after failed match. 2018-10-19 15:31:16 +00:00
ph10
8e8385489d Add script_run.c to CMakeLists.txt (oversight). 2018-10-18 07:58:47 +00:00
ph10
7f2d84cd9c Fix typo. 2018-10-17 16:44:22 +00:00
ph10
5e94fcc35a Implement PCRE2_COPY_MATCHED_SUBJECT. 2018-10-17 08:33:38 +00:00
ph10
75b90b66eb Fix typos in code for alphabetic ranges in EBCDIC environments. 2018-10-15 11:01:24 +00:00
ph10
44306c4fe9 Update Makefile.am for compiling with gcov. Add Script Run tests to improve
coverage.
2018-10-14 15:56:36 +00:00
ph10
baf6848e3e Upgrade the ucptest program (used only by maintainer) and script run tests. 2018-10-14 14:27:16 +00:00
ph10
385a905e3f Documentation and tests update for script runs. 2018-10-12 17:02:34 +00:00
ph10
08469ee67b Update Script Run code to use the Script Extension property instead of the
Script property.
2018-10-09 16:42:21 +00:00
ph10
a0c94a313c Documentation update for Script Extensions property coding. 2018-10-07 16:29:51 +00:00
ph10
4cdcd57030 Unicode properties data records extended to 12-bytes to include a
ScriptExtensions property.
2018-10-06 17:39:52 +00:00
ph10
7f72517d38 Fix bugs of omission in new script run code. 2018-10-03 15:41:47 +00:00
ph10
c6c2308c01 Basic "script run" implementation. Not yet complete, and not yet documented. 2018-10-02 15:25:58 +00:00
ph10
202311b568 Implement Perl 5.28's alphabetic lookaround syntax, e.g. (*pla:...) and also
(*atomic:...).
2018-09-24 16:23:53 +00:00
ph10
3f42c5f14d Implement PCRE2_EXTRA_ESCAPED_CR_IS_LF 2018-09-21 16:59:48 +00:00
zherczeg
2fb36bd048 Fix an xclass matching issue in JIT. 2018-09-21 07:24:34 +00:00
zherczeg
81efacc44c Optimize invalid character reading functions. 2018-09-20 13:38:13 +00:00
ph10
9ea54a2b91 Documentation update. 2018-09-19 16:37:59 +00:00
ph10
56332e7ac3 Provide alternative POSIX names. 2018-09-19 16:33:09 +00:00
ph10
1a030c42df Implement callouts from pcre2_substitute(). 2018-09-18 16:31:30 +00:00
zherczeg
6f14339397 Fix subject buffer overread in JIT. Found by Yunho Kim. 2018-09-18 10:19:14 +00:00
zherczeg
6087e72e2c Implement next subject character in JIT with invalid utf enabled. 2018-09-17 13:43:31 +00:00
zherczeg
0125483622 Fix more invalid UTF issues revealed by new tests in the JIT compiler. 2018-09-17 08:09:51 +00:00
zherczeg
083ada78ae Improve invalid UTF character reading in JIT. 2018-09-16 10:35:00 +00:00
ph10
6fea58392e Add "allvector" to pcre2test. 2018-09-15 17:10:39 +00:00
zherczeg
32a002ef7c Add option bits for read_char in JIT. 2018-09-15 12:35:56 +00:00
ph10
163e6b066d Avoid compiler warning 2018-09-14 15:15:51 +00:00
zherczeg
fa9df97ef6 Generate code for caseless utf backreferences in JIT instead of using a callback. 2018-09-14 11:30:13 +00:00
zherczeg
326ea0bd1b Start working on invalid utf subject support in JIT. 2018-09-12 19:06:29 +00:00
ph10
ebc9edb2bf Final file tidies for 10.32 2018-09-11 14:27:39 +00:00
ph10
e1215b2f5c Fix small bug in pcre2grep (no effect other than a sanitizer warning). 2018-09-10 17:34:19 +00:00
ph10
d1106b3ae9 Documentation update. 2018-09-07 15:56:36 +00:00
ph10
7ce165bc09 Minor code fix to avoid static analyzer complaint. 2018-09-06 15:59:11 +00:00
ph10
8271a7dafc Documentation update 2018-09-04 17:01:28 +00:00
ph10
2f383e6e0f Treat empty-string-matching repeated conditionals the same as ordinary ones
when checking for an anchored pattern.
2018-09-03 15:20:40 +00:00
ph10
a4498fca10 Fix anchoring bug in conditionals with only one branch. 2018-09-02 16:53:29 +00:00
ph10
8b9f137eb1 Lock out \N{U+hhhh} in non-UTF (non-Unicode) modes. 2018-09-02 16:03:27 +00:00
ph10
8c98fc130e Update to bring list of errors into line with RunTest. 2018-09-01 16:14:16 +00:00
ph10
acf6058869 Fix typo in Makefile.am, which caused testoutput8-16-4 to be omitted from
tarballs.
2018-08-29 08:26:29 +00:00
ph10
289c100055 Documentation update. 2018-08-23 16:53:45 +00:00
ph10
3dcc3301fa Minor code fix to get rid of Coverity warning (I hope). 2018-08-21 11:27:35 +00:00