Skip to content

Commit 7eb23f4

Browse files
committed
Final file tidies for 10.36
1 parent 6a9900c commit 7eb23f4

File tree

9 files changed

+42
-17
lines changed

9 files changed

+42
-17
lines changed

ChangeLog

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Change Log for PCRE2
22
--------------------
33

4-
Version 10.36-RC1 05-November-2020
4+
Version 10.36-RC1 04-December-2020
55
----------------------------------
66

77
1. Add CET_CFLAGS so that when Intel CET is enabled, pass -mshstk to
@@ -88,19 +88,23 @@ whose code points are greater than 255 in Unicode mode.
8888

8989
17. Applied the patch from Bugzilla #2628 to RunGrepTest. This does an explicit
9090
test for a version of sed that can handle binary zero, instead of assuming that
91-
any Linux version will work.
91+
any Linux version will work. Later: replaced $(...) by `...` because not all
92+
shells recognize the former.
9293

9394
18. Fixed a word boundary check bug in JIT when partial matching is enabled.
9495

9596
19. Fix ARM64 compilation warning in JIT. Patch by Carlo.
9697

97-
20. A bug in the RunTest script meant that if the first part of test 2 failed,
98+
20. A bug in the RunTest script meant that if the first part of test 2 failed,
9899
the failure was not reported.
99100

100-
21. Test 2 was failing when run from a directory other than the source
101+
21. Test 2 was failing when run from a directory other than the source
101102
directory. This failure was previously missed in RunTest because of 20 above.
102103
Fixes added to both RunTest and RunTest.bat.
103104

105+
22. Patch to CMakeLists.txt from Daniel to fix problem with testing under
106+
Windows.
107+
104108

105109
Version 10.35 09-May-2020
106110
---------------------------

NEWS

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ News about PCRE2 releases
22
-------------------------
33

44

5-
Version 10.36 05-November-2020
5+
Version 10.36 04-December-2020
66
------------------------------
77

88
Again, mainly bug fixes and tidies. The only enhancements are the addition of
@@ -11,6 +11,9 @@ handling of substitution strings for both -O and callouts in pcre2grep, with
1111
the addition of $x{...} and $o{...} to allow for characters whose code points
1212
are greater than 255 in Unicode mode.
1313

14+
NOTE: there is an outstanding issue with JIT support for MacOS on arm64
15+
hardware. For details, please see Bugzilla issue #2618.
16+
1417

1518
Version 10.35 15-April-2020
1619
---------------------------

README

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -757,6 +757,15 @@ that represent character classes for code points less than 256. The final
757757
8 decimal digit
758758
16 alphanumeric or '_'
759759

760+
You can also specify -b (with or without -L) when running pcre2_dftables. This
761+
causes the tables to be written in binary instead of as source code. A set of
762+
binary tables can be loaded into memory by an application and passed to
763+
pcre2_compile() in the same way as tables created dynamically by calling
764+
pcre2_maketables(). The tables are just a string of bytes, independent of
765+
hardware characteristics such as endianness. This means they can be bundled
766+
with an application that runs in different environments, to ensure consistent
767+
behaviour.
768+
760769
See also the pcre2build section "Creating character tables at build time".
761770

762771

@@ -894,4 +903,4 @@ The distribution should contain the files listed below.
894903
Philip Hazel
895904
Email local part: Philip.Hazel
896905
Email domain: gmail.com
897-
Last updated: 06 November 2020
906+
Last updated: 04 December 2020

RunGrepTest

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -763,7 +763,7 @@ $valgrind $vjs $pcre2grep -n --newline=anycrlf "^(abc|def|ghi|jkl)" testNinputgr
763763
# doesn't.
764764

765765
printf '%c--------------------------- Test N7 ------------------------------\r\n' - >>testtrygrep
766-
Z=$(printf '\0' | sed 's/\x00/Z/g')
766+
Z=`printf '\0' | sed 's/\x00/Z/g'`
767767
if [ "$Z" = "Z" ]; then
768768
printf 'abc\0def' >testNinputgrep
769769
$valgrind $vjs $pcre2grep -na --newline=nul "^(abc|def)" testNinputgrep | sed 's/\x00/ZERO/g' >>testtrygrep

RunTest

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -494,11 +494,11 @@ for bmode in "$test8" "$test16" "$test32"; do
494494
fi
495495

496496
# PCRE2 tests that are not Perl-compatible: API, errors, internals. We copy
497-
# the testbtables file to the current directory for use by this test.
497+
# the testbtables file to the current directory for use by this test.
498498

499499
if [ $do2 = yes ] ; then
500500
echo $title2 "(excluding UTF-$bits)"
501-
cp $testdata/testbtables .
501+
cp $testdata/testbtables .
502502
for opt in "" $jitopt; do
503503
$sim $valgrind ${opt:+$vjs} ./pcre2test -q $setstack $bmode $opt $testdata/testinput2 testtry
504504
saverc=$?

configure.ac

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ dnl be defined as -RC2, for example. For real releases, it should be empty.
1010

1111
m4_define(pcre2_major, [10])
1212
m4_define(pcre2_minor, [36])
13-
m4_define(pcre2_prerelease, [-RC1])
14-
m4_define(pcre2_date, [2020-11-05])
13+
m4_define(pcre2_prerelease, [])
14+
m4_define(pcre2_date, [2020-12-04])
1515

1616
# Libtool shared library interface versions (current:revision:age)
1717
m4_define(libpcre2_8_version, [10:1:10])

doc/html/README.txt

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -757,6 +757,15 @@ that represent character classes for code points less than 256. The final
757757
8 decimal digit
758758
16 alphanumeric or '_'
759759

760+
You can also specify -b (with or without -L) when running pcre2_dftables. This
761+
causes the tables to be written in binary instead of as source code. A set of
762+
binary tables can be loaded into memory by an application and passed to
763+
pcre2_compile() in the same way as tables created dynamically by calling
764+
pcre2_maketables(). The tables are just a string of bytes, independent of
765+
hardware characteristics such as endianness. This means they can be bundled
766+
with an application that runs in different environments, to ensure consistent
767+
behaviour.
768+
760769
See also the pcre2build section "Creating character tables at build time".
761770

762771

@@ -894,4 +903,4 @@ The distribution should contain the files listed below.
894903
Philip Hazel
895904
Email local part: Philip.Hazel
896905
Email domain: gmail.com
897-
Last updated: 06 November 2020
906+
Last updated: 04 December 2020

src/config.h.generic

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -224,7 +224,7 @@ sure both macros are undefined; an emulation function will then be used. */
224224
#define PACKAGE_NAME "PCRE2"
225225

226226
/* Define to the full name and version of this package. */
227-
#define PACKAGE_STRING "PCRE2 10.36-RC1"
227+
#define PACKAGE_STRING "PCRE2 10.36"
228228

229229
/* Define to the one symbol short name of this package. */
230230
#define PACKAGE_TARNAME "pcre2"
@@ -233,7 +233,7 @@ sure both macros are undefined; an emulation function will then be used. */
233233
#define PACKAGE_URL ""
234234

235235
/* Define to the version of this package. */
236-
#define PACKAGE_VERSION "10.36-RC1"
236+
#define PACKAGE_VERSION "10.36"
237237

238238
/* The value of PARENS_NEST_LIMIT specifies the maximum depth of nested
239239
parentheses (of any kind) in a pattern. This limits the amount of system
@@ -358,7 +358,7 @@ sure both macros are undefined; an emulation function will then be used. */
358358
#endif
359359

360360
/* Version number of package */
361-
#define VERSION "10.36-RC1"
361+
#define VERSION "10.36"
362362

363363
/* Define to 1 if on MINIX. */
364364
/* #undef _MINIX */

src/pcre2.h.generic

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,8 @@ POSSIBILITY OF SUCH DAMAGE.
4343

4444
#define PCRE2_MAJOR 10
4545
#define PCRE2_MINOR 36
46-
#define PCRE2_PRERELEASE -RC1
47-
#define PCRE2_DATE 2020-11-05
46+
#define PCRE2_PRERELEASE
47+
#define PCRE2_DATE 2020-12-04
4848

4949
/* When an application links to a PCRE DLL in Windows, the symbols that are
5050
imported have to be identified as such. When building PCRE2, the appropriate

0 commit comments

Comments
 (0)