From 02ff543f9c1459270fdbdecd7fb08d98345c594c Mon Sep 17 00:00:00 2001 From: "Philip.Hazel" Date: Mon, 4 Mar 2019 18:04:44 +0000 Subject: [PATCH] Final file tidies for 10.33-RC1 --- AUTHORS | 6 +++--- ChangeLog | 4 ++-- LICENCE | 6 +++--- NEWS | 48 ++++++++++++++++++++++++++++++++++++++++++++++++ README | 10 +++++++--- configure.ac | 10 +++++----- doc/pcre2build.3 | 29 ++++++++++++++++------------- 7 files changed, 84 insertions(+), 29 deletions(-) diff --git a/AUTHORS b/AUTHORS index d5592bb..8d4e15a 100644 --- a/AUTHORS +++ b/AUTHORS @@ -8,7 +8,7 @@ Email domain: cam.ac.uk University of Cambridge Computing Service, Cambridge, England. -Copyright (c) 1997-2018 University of Cambridge +Copyright (c) 1997-2019 University of Cambridge All rights reserved @@ -19,7 +19,7 @@ Written by: Zoltan Herczeg Email local part: hzmester Emain domain: freemail.hu -Copyright(c) 2010-2018 Zoltan Herczeg +Copyright(c) 2010-2019 Zoltan Herczeg All rights reserved. @@ -30,7 +30,7 @@ Written by: Zoltan Herczeg Email local part: hzmester Emain domain: freemail.hu -Copyright(c) 2009-2018 Zoltan Herczeg +Copyright(c) 2009-2019 Zoltan Herczeg All rights reserved. #### diff --git a/ChangeLog b/ChangeLog index ce80636..9537dec 100644 --- a/ChangeLog +++ b/ChangeLog @@ -2,8 +2,8 @@ Change Log for PCRE2 -------------------- -Version 10.33-RC1 15-September-2018 ------------------------------------ +Version 10.33-RC1 03-March-2019 +------------------------------- 1. Added "allvector" to pcre2test to make it easy to check the part of the ovector that shouldn't be changed, in particular after substitute and failed or diff --git a/LICENCE b/LICENCE index b0f8804..142b3b3 100644 --- a/LICENCE +++ b/LICENCE @@ -26,7 +26,7 @@ Email domain: cam.ac.uk University of Cambridge Computing Service, Cambridge, England. -Copyright (c) 1997-2018 University of Cambridge +Copyright (c) 1997-2019 University of Cambridge All rights reserved. @@ -37,7 +37,7 @@ Written by: Zoltan Herczeg Email local part: hzmester Email domain: freemail.hu -Copyright(c) 2010-2018 Zoltan Herczeg +Copyright(c) 2010-2019 Zoltan Herczeg All rights reserved. @@ -48,7 +48,7 @@ Written by: Zoltan Herczeg Email local part: hzmester Email domain: freemail.hu -Copyright(c) 2009-2018 Zoltan Herczeg +Copyright(c) 2009-2019 Zoltan Herczeg All rights reserved. diff --git a/NEWS b/NEWS index 94345b3..9936cff 100644 --- a/NEWS +++ b/NEWS @@ -2,6 +2,54 @@ News about PCRE2 releases ------------------------- +Version 10.33-RC1 03-March-2019 +------------------------------- + +Yet more bugfixes, tidies, and a few enhancements, summarized here (see +ChangeLog for the full list): + +1. Callouts from pcre2_substitute() are now available. + +2. The POSIX functions are now all called pcre2_regcomp() etc., with wrapper +functions that use the standard POSIX names. However, in pcre2posix.h the POSIX +names are defined as macros. This should help avoid linking with the wrong +library in some environments, while still exporting the POSIX names for +pre-existing programs that use them. + +3. Some new options: + + (a) PCRE2_EXTRA_ESCAPED_CR_IS_LF makes \r behave as \n. + + (b) PCRE2_EXTRA_ALT_BSUX enables support for ECMAScript 6's \u{hh...} + construct. + + (c) PCRE2_COPY_MATCHED_SUBJECT causes a copy of a matched subject to be + made, instead of just remembering a pointer. + +4. Some new Perl features: + + (a) Perl 5.28's experimental alphabetic names for atomic groups and + lookaround assertions, for example, (*pla:...) and (*atomic:...). + + (b) The new Perl "script run" features (*script_run:...) and + (*atomic_script_run:...) aka (*sr:...) and (*asr:...). + + (c) When PCRE2_UTF is set, allow non-ASCII letters and decimal digits in + capture group names. + +5. --disable-percent-zt disables the use of %zu and %td in formatting strings +in pcre2test. They were already automatically disabled for VC and older C +compilers. + +6. Some changes related to callouts in pcre2grep: + + (a) Support for running an external program under VMS has been added, in + addition to Windows and fork() support. + + (b) --disable-pcre2grep-callout-fork restricts the callout support in + to the inbuilt echo facility. + + Version 10.32 10-September-2018 ------------------------------- diff --git a/README b/README index af5af63..19d5884 100644 --- a/README +++ b/README @@ -311,7 +311,11 @@ library. They are also documented in the pcre2build man page. . There is support for calling external programs during matching in the pcre2grep command, using PCRE2's callout facility with string arguments. This support can be disabled by adding --disable-pcre2grep-callout to the - "configure" command. + "configure" command. There are two kinds of callout: one that generates + output from inbuilt code, and another that calls an external program. The + latter has special support for Windows and VMS; otherwise it assumes the + existence of the fork() function. This facility can be disabled by adding + --disable-pcre2grep-callout-fork to the "configure" command. . The pcre2grep program currently supports only 8-bit data files, and so requires the 8-bit PCRE2 library. It is possible to compile pcre2grep to use @@ -340,7 +344,7 @@ library. They are also documented in the pcre2build man page. The default is either 1048576 or the value of --with-pcre2grep-bufsize, whichever is the larger. - + . It is possible to compile pcre2test so that it links with the libreadline or libedit libraries, by specifying, respectively, @@ -886,4 +890,4 @@ The distribution should contain the files listed below. Philip Hazel Email local part: ph10 Email domain: cam.ac.uk -Last updated: 29 January 2019 +Last updated: 03 March 2019 diff --git a/configure.ac b/configure.ac index 237f002..6d2d278 100644 --- a/configure.ac +++ b/configure.ac @@ -11,16 +11,16 @@ dnl be defined as -RC2, for example. For real releases, it should be empty. m4_define(pcre2_major, [10]) m4_define(pcre2_minor, [33]) m4_define(pcre2_prerelease, [-RC1]) -m4_define(pcre2_date, [2018-09-14]) +m4_define(pcre2_date, [2019-03-03]) # NOTE: The CMakeLists.txt file searches for the above variables in the first # 50 lines of this file. Please update that if the variables above are moved. # Libtool shared library interface versions (current:revision:age) -m4_define(libpcre2_8_version, [7:1:7]) -m4_define(libpcre2_16_version, [7:1:7]) -m4_define(libpcre2_32_version, [7:1:7]) -m4_define(libpcre2_posix_version, [2:1:0]) +m4_define(libpcre2_8_version, [8:0:8]) +m4_define(libpcre2_16_version, [8:0:8]) +m4_define(libpcre2_32_version, [8:0:8]) +m4_define(libpcre2_posix_version, [2:2:0]) AC_PREREQ(2.57) AC_INIT(PCRE2, pcre2_major.pcre2_minor[]pcre2_prerelease, , pcre2) diff --git a/doc/pcre2build.3 b/doc/pcre2build.3 index 9fc49e4..f1d28f8 100644 --- a/doc/pcre2build.3 +++ b/doc/pcre2build.3 @@ -1,4 +1,4 @@ -.TH PCRE2BUILD 3 "15 November 2018" "PCRE2 10.33" +.TH PCRE2BUILD 3 "03 March 2019" "PCRE2 10.33" .SH NAME PCRE2 - Perl-compatible regular expressions (revised API) . @@ -373,14 +373,17 @@ environment. .SH "PCRE2GREP SUPPORT FOR EXTERNAL SCRIPTS" .rs .sp -By default, on non-Windows systems, \fBpcre2grep\fP supports the use of -callouts with string arguments within the patterns it is matching, in order to -run external scripts. For details, see the +By default \fBpcre2grep\fP supports the use of callouts with string arguments +within the patterns it is matching. There are two kinds: one that generates +output using local code, and another that calls an external program or script. +If --disable-pcre2grep-callout-fork is added to the \fBconfigure\fP command, +only the first kind of callout is supported; if --disable-pcre2grep-callout is +used, all callouts are completely ignored. For more details of \fBpcre2grep\fP +callouts, see the .\" HREF \fBpcre2grep\fP .\" -documentation. This support can be disabled by adding ---disable-pcre2grep-callout to the \fBconfigure\fP command. +documentation. . . .SH "PCRE2GREP OPTIONS FOR COMPRESSED FILE SUPPORT" @@ -536,14 +539,14 @@ documentation. .SH "DISABLING THE Z AND T FORMATTING MODIFIERS" .rs .sp -The C99 standard defines formatting modifiers z and t for size_t and -ptrdiff_t values, respectively. By default, PCRE2 uses these modifiers in -environments other than Microsoft Visual Studio when __STDC_VERSION__ is +The C99 standard defines formatting modifiers z and t for size_t and +ptrdiff_t values, respectively. By default, PCRE2 uses these modifiers in +environments other than Microsoft Visual Studio when __STDC_VERSION__ is defined and has a value greater than or equal to 199901L (indicating C99). However, there is at least one environment that claims to be C99 but does not -support these modifiers. If +support these modifiers. If .sp - --disable-percent-zt + --disable-percent-zt .sp is specified, no use is made of the z or t modifiers. Instead or %td or %zu, %lu is used, with a cast for size_t values. @@ -607,6 +610,6 @@ Cambridge, England. .rs .sp .nf -Last updated: 15 November 2018 -Copyright (c) 1997-2018 University of Cambridge. +Last updated: 03 March 2019 +Copyright (c) 1997-2019 University of Cambridge. .fi