47 Commits

Author SHA1 Message Date
Carlo Marcelo Arenas Belón
5a6b32c379 fixes for 10.47 (#819)
* update required autoconf version

Since abc2ae68 (Update AX_PTHREAD (#694), 2025-02-12), when using
autoconf 2.60 with autogen, shows:

  error: possibly undefined macro: AS_ECHO

Use 2.62 instead, which include that macro, as the new required version.

* jit: enable x86 SIMD helper if SSE2 is available

The current implementation needs SSE2 support (which is part of the
base amd64 specification and available in most CPUs from this century).

Without this change, SIMD will be only enabled if SSE4.1 is detected
which is not true for older AMD cpus, even if 64bit capable.

While at it, update related documentation and other minor tweaks.
2025-10-17 19:54:59 +01:00
Nicholas Wilson
cbfe089624 Automatic update of doc files #noupdate 2025-08-28 10:39:03 +00:00
Nicholas Wilson
ce42cfac5c Fix two typos in pcre2api, plus some other minor issues (#703) 2025-02-19 19:15:38 +00:00
Nicholas Wilson
0d0ac3aa0f Update EBCDIC support to support testing on normal ASCII systems (#656)
The pcre2test utility needs quite a few changes to accommodate this.
It is simpler to add a new mode to it, than to make it fully
EBCDIC-native. On an ASCII system, pcre2test performs ASCII I/O, but
tranlates the input when passing it to the fully-EBCDIC-supporting
library.
2025-02-12 22:31:00 +00:00
Nicholas Wilson
e02e52804c Update release number to 10.46-DEV #noupdate (#667) 2025-01-12 15:28:37 +00:00
Nicholas Wilson
f15bdd334d Update all man page dates #noupdate (#634) 2024-12-18 14:12:58 +00:00
Philip Hazel
cbff6bbb1b Install OpenVMS support files 2024-04-16 12:11:06 +01:00
Thomas Voss
68852219e6 Fix various typos in documentation (#372)
Most of these typos were found with the following command:

    find doc -type f -name '*.3' -exec aspell -c {} \;
2024-01-19 16:24:58 +00:00
Philip Hazel
630b1cd68f Update docs to point out LDFLAGS=--static for making fully statically linked binaries 2023-11-24 14:11:55 +00:00
Carlo Marcelo Arenas Belón
14e0c41be1 admin: update ChangeLog and config.h for recent changes (#286) 2023-08-16 16:56:34 +01:00
Philip Hazel
5974a84364 Update documentation for variable-length lookbehinds 2023-08-11 18:38:20 +01:00
Philip Hazel
d90fb23878 Refactor match_data() to always use the heap instead of having an initial frames vector on the stack; some consequential adjustmentsneeded. 2022-07-27 17:44:55 +01:00
Adam
111cd470b5 Fix typo with-match-limit_depth -> with-match-limit-depth (#83) 2022-01-26 12:15:11 +00:00
Philip Hazel
30abd0ac8d Documentation for Bidi_Control and Bidi_Class 2021-12-08 16:37:34 +00:00
Carlo Marcelo Arenas Belón
d46f1863be improve on 'auto' mode for DISABLE_PERCENT_ZT (#28)
Visual Studio 2013 includes support for %zu and %td, so let newer
versions of it avoid the fallback, and while at it, make sure that
the first check is for DISABLE_PERCENT_ZT so it will be always
honoured if chosen.

prtdiff_t is signed, so use a signed type instead, and make sure
that an appropiate width is chosen if pointers are 64bit wide.

Remove the need for the size_t cast and instead change the size
of the equivalent format identifier to avoid truncations.
2021-10-29 14:29:47 +01:00
Philip.Hazel
d4e4533240 Fix documentation typos and upgrade documentation checking script. 2020-04-24 16:05:36 +00:00
Philip.Hazel
8b3f8af535 File tidies for 10.35-RC1 release candidate. 2020-04-15 16:34:36 +00:00
Philip.Hazel
8057c3c8b9 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
Philip.Hazel
02ff543f9c Final file tidies for 10.33-RC1 2019-03-04 18:04:44 +00:00
Philip.Hazel
149af0e21b Implement --disable-percent-zt to avoid %zu and %td even if the environment
claims to be C99 or greater.
2018-11-15 18:09:02 +00:00
Philip.Hazel
392974a0cb File tidies and documentation update for 10.32-RC1 Release Candidate. 2018-08-13 11:57:09 +00:00
Philip.Hazel
e75410a5d8 More typos and changes to "Kibibytes" for "Kilobytes". 2018-06-18 14:03:33 +00:00
Philip.Hazel
fabea723cf Typos in documentation and comments noted by Jason Hood. 2018-06-17 14:13:28 +00:00
Philip.Hazel
75747ebb11 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
Philip.Hazel
e5b34b3555 Add --enable-jit=auto support. 2018-02-25 18:00:29 +00:00
Philip.Hazel
810d9b6da5 Code tidies for 10.30-RC1 release candidate. 2017-07-19 16:04:15 +00:00
Philip.Hazel
4f37764ece Document configuration for SELinux execmem allocator and fix CMake usage. 2017-06-17 15:36:22 +00:00
Philip.Hazel
c0902e176f Make pcre2_dfa_match() take notice of the match limit, to catch patterns that
use too much resource. This should fix oss-fuzz 1761.
2017-05-30 10:42:57 +00:00
Philip.Hazel
14989bd454 Add explicit heap limiting options to pcre2_match(), with associated features
for listing, configuring, etc.
2017-04-11 11:47:25 +00:00
Philip.Hazel
7afe4e4110 Documentation tidies and code tidies for Windows. 2017-04-08 15:21:39 +00:00
Philip.Hazel
0c929b63ad Documentation update. 2017-03-31 17:06:43 +00:00
Philip.Hazel
7fe5e441ff Documentation update. 2017-03-29 17:18:08 +00:00
Philip.Hazel
ca1ecd41a1 File tidies for 10.23-RC1 2017-01-16 17:40:47 +00:00
Philip.Hazel
d3b60a9b7d Documentation update for fuzz support. 2016-11-01 11:56:07 +00:00
Philip.Hazel
bf6f0bb335 Implement buffer expansion in pcre2grep. 2016-10-11 16:40:09 +00:00
Philip.Hazel
921636f6fc Documentation detrail and make HTML for 10.22-RC1. 2016-06-29 16:52:05 +00:00
Philip.Hazel
c332eaf4f2 Add callout support to pcre2grep 2016-04-01 15:52:08 +00:00
Philip.Hazel
3263d44b97 Implement --never-backslash-C 2015-10-17 13:50:56 +00:00
Philip.Hazel
07a8fdce25 Source and document file tidies for 10.20-RC1. 2015-06-18 16:39:25 +00:00
Philip.Hazel
2966b067cb Implement --enable-debug. 2015-04-24 11:14:47 +00:00
Philip.Hazel
e47a6ebe87 Implement PCRE2_NEVER_BACKSLASH_C. 2015-04-13 17:29:05 +00:00
Philip.Hazel
221cf10975 Documentation clarifications. 2015-01-26 14:21:45 +00:00
Philip.Hazel
91f2e97474 More documentation and test updates. 2014-11-23 18:38:38 +00:00
Philip.Hazel
78b9e3d078 More documentation edits. 2014-11-17 16:59:02 +00:00
Philip.Hazel
44ef2c3401 Make --enable-unicode the default. 2014-11-03 18:27:56 +00:00
Philip.Hazel
c3799e750f Tidy a lot of files (remove trailing spaces) 2014-10-20 17:28:49 +00:00
Philip.Hazel
e15b64ef03 More draft documentation. 2014-09-28 17:39:28 +00:00