Commit Graph

941 Commits

Author SHA1 Message Date
ph10
89ac0b7010 Documentation update to clarify what PCRE2 serialization is. 2018-06-27 17:20:58 +00:00
ph10
a915362f5b Increase stack size when linking pcre2test with MSVC. 2018-06-27 16:34:06 +00:00
ph10
67804a9d8a Fix bug when \K is used in a lookbehind in a substitute pattern. 2018-06-22 16:29:56 +00:00
ph10
4f23d3f7e5 Remove previous patch, as it did not take account of read-only source
directories.
2018-06-22 15:04:01 +00:00
ph10
35957ece30 Fix typo in previous. 2018-06-22 14:58:09 +00:00
ph10
c8112a9f37 Property list update. 2018-06-22 14:54:59 +00:00
ph10
8361d76f3a Remove src/pcre2.h because it can cause trouble when building in a different
directory. Why was it there anyway?
2018-06-22 14:50:43 +00:00
ph10
53042dc167 Both make systems now delete src/{pcre2.h,config.h} before starting. The
existence of these files can confuse if building is happening in another 
directory.
2018-06-21 16:13:15 +00:00
ph10
fcec91f6d7 Ensure PCRE2_HAVE_STDINT_H is defined to 0 when no header, not unset. Same for
PCRE2_HAVE_INTTYPES_H.
2018-06-21 15:20:39 +00:00
ph10
8c8f9f2b77 Patches for portability. 2018-06-20 17:05:31 +00:00
ph10
4c0df0ad31 Make stdint.h an optional inclusion, in case it's not present in some systems.
Use inttypes.h instead if it exists.
2018-06-19 17:41:01 +00:00
ph10
c9937ef4f5 Undefine WIN32 for pcre2grep under Cygwin. 2018-06-19 16:27:42 +00:00
ph10
9cec6bc395 Documentation update. 2018-06-18 16:49:12 +00:00
ph10
8c2c547183 More typos and changes to "Kibibytes" for "Kilobytes". 2018-06-18 14:03:33 +00:00
ph10
2d9da6c896 Typos in documentation and comments noted by Jason Hood. 2018-06-17 14:13:28 +00:00
ph10
e76e105004 Fix typos. 2018-05-30 15:42:23 +00:00
ph10
2bf7dbba82 Ensure all match limit tests set a limit, don't rely on the default. 2018-04-29 15:07:44 +00:00
ph10
1c5e1560b6 Remove ctrl/Z from the input for test 6. 2018-04-28 16:05:48 +00:00
ph10
d9184094b4 Re-factor pcre2_dfa_match() to use the heap instead of the stack for workspace
vectors when doing recursive function calls.
2018-04-27 16:48:35 +00:00
ph10
153170b59d Minor code tidy. 2018-04-21 16:43:49 +00:00
ph10
b62b6516a6 Apply some of Daniel Richard G's Windows patches. 2018-04-19 16:52:57 +00:00
zherczeg
2dd38ba9af MIPS-JIT compiler fix: flags were not preserved for fast return. 2018-03-19 08:15:52 +00:00
zherczeg
54fd548043 JIT compiler update. 2018-03-13 12:05:48 +00:00
ph10
57d8334646 Documentation update. 2018-03-04 15:30:46 +00:00
ph10
5404bf3db4 Set error offset zero for early errors in pcre2_pattern_convert(). 2018-03-04 15:13:37 +00:00
ph10
a7bd0e6feb Minor tweak to the m68k patch. 2018-02-28 09:03:12 +00:00
ph10
9c82a2af0f Add alignment patch for m68k. 2018-02-27 17:19:51 +00:00
ph10
fb18c811ca Update HTML and derived documentation. 2018-02-25 18:00:56 +00:00
ph10
b4212ed31c Add --enable-jit=auto support. 2018-02-25 18:00:29 +00:00
ph10
d9ba233d73 A small fix to pcre2grep to avoid compiler warnings for -Wformat-overflow=2. 2018-02-25 12:12:48 +00:00
ph10
ef624f64b2 Add support to pcre2grep for binary zeros in -f files. 2018-02-24 17:09:19 +00:00
ph10
78190be4f1 Add another test. 2018-02-20 15:37:49 +00:00
ph10
3d534407ff Fix \C bug with repeated character classes in UTF-8 mode. 2018-02-19 17:26:33 +00:00
ph10
046527f90c Oops, forgot about "-C bsr" in previous patch. 2018-02-19 17:00:45 +00:00
ph10
c9bec6d0eb Fix pcre2test -C to correctly show what \R matches. 2018-02-19 16:55:47 +00:00
ph10
97ead62f64 Fix the value passed back for POSIX unset groups when REG_STARTEND has a
non-zero starting offset, and make pcre2test show relevant POSIX unset groups.
2018-02-19 14:49:42 +00:00
ph10
95348f719d Final file tidies for 10.31 2018-02-12 11:33:56 +00:00
ph10
52291406c9 Fix auto-possessification bug at the end of a capturing group that is called
recursively.
2018-01-31 17:53:56 +00:00
ph10
0cf324c4dc Increment dummy ovector size in internal structures to avoid spurious array
bound checker warnings. This fixes oss-fuzz 5415.
2018-01-16 16:50:40 +00:00
ph10
0aa7a0a276 Source tidies and version etc. updates for 10.31-RC1. 2018-01-13 16:53:02 +00:00
ph10
aaba4ba7de Avoid pointer overflow for unset captures in pcre2_substring_list_get(), though
it could never have caused a problem.
2018-01-12 18:48:27 +00:00
ph10
6ad7ab5904 Fix problem when compiling without Unicode support. 2018-01-12 17:55:47 +00:00
zherczeg
6b6630fc34 Fix a typo in JIT and add a test. 2018-01-10 09:28:03 +00:00
zherczeg
0554b42fea Update some register assignments and the JIT compiler. 2018-01-09 08:38:32 +00:00
zherczeg
f45ea0dafd Support the new EXTUNI in JIT. 2018-01-06 08:48:11 +00:00
zherczeg
863b5b8e00 JIT compiler update. 2018-01-05 09:30:45 +00:00
ph10
8e62158cf1 Documentation update. 2018-01-01 17:27:55 +00:00
ph10
435e896a14 Tidy ACROSSCHAR macro to take same form as FORWARDCHAR and BACKCHAR. 2018-01-01 15:13:24 +00:00
ph10
3a18bdb690 Small tidy to start of match optimizations. 2018-01-01 15:05:27 +00:00
ph10
ed8d9a2229 Previous FIRSTLINE patch was broken. Fix it. 2018-01-01 14:54:06 +00:00