Skip to content

Commit

Permalink
File tidies for 10.43
Browse files Browse the repository at this point in the history
  • Loading branch information
PhilipHazel committed Feb 16, 2024
1 parent 8bd201e commit 3864abd
Show file tree
Hide file tree
Showing 13 changed files with 1,517 additions and 1,491 deletions.
6 changes: 3 additions & 3 deletions AUTHORS
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Email domain: gmail.com
Retired from University of Cambridge Computing Service,
Cambridge, England.

Copyright (c) 1997-2023 University of Cambridge
Copyright (c) 1997-2024 University of Cambridge
All rights reserved


Expand All @@ -19,7 +19,7 @@ Written by: Zoltan Herczeg
Email local part: hzmester
Emain domain: freemail.hu

Copyright(c) 2010-2023 Zoltan Herczeg
Copyright(c) 2010-2024 Zoltan Herczeg
All rights reserved.


Expand All @@ -30,7 +30,7 @@ Written by: Zoltan Herczeg
Email local part: hzmester
Emain domain: freemail.hu

Copyright(c) 2009-2023 Zoltan Herczeg
Copyright(c) 2009-2024 Zoltan Herczeg
All rights reserved.

####
12 changes: 6 additions & 6 deletions ChangeLog
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ Before the move to GitHub, this was the only record of changes to PCRE2. Now
there is often more detail in the pull requests.


Version 10.43 27-December-2023
Version 10.43 16-February-2024
------------------------------

1. The test program added by change 2 of 10.42 didn't work when the default
Expand Down Expand Up @@ -197,18 +197,18 @@ all of a, b, and d as possible starting code units; now it sets only a and d.

54. Fix incorrect class character matches in JIT.

55. In pcre2test, ensure pcre2_jit_match() is used when jitfast is used with
55. In pcre2test, ensure pcre2_jit_match() is used when jitfast is used with
substitution testing.

56. Insert omitted setting of subject length in match data at the end of
56. Insert omitted setting of subject length in match data at the end of
pcre2_jit_match().

57. Implemented PCRE2_DISABLE_RECURSELOOP_CHECK for pcre2_match() to enable
some apparently looping recursions to run to completion and therefore match the
57. Implemented PCRE2_DISABLE_RECURSELOOP_CHECK for pcre2_match() to enable
some apparently looping recursions to run to completion and therefore match the
JIT behaviour. With this set, real loops will eventually get caught by match or
heap limits or run out of resource.

58. AC did a lot of work on pcre2_fuzzsupport.c to extend it to 16-bit and
58. AC did a lot of work on pcre2_fuzzsupport.c to extend it to 16-bit and
32-bit libraries and to compare JIT and non-JIT matching.


Expand Down
6 changes: 3 additions & 3 deletions LICENCE
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ Email domain: gmail.com
Retired from University of Cambridge Computing Service,
Cambridge, England.

Copyright (c) 1997-2023 University of Cambridge
Copyright (c) 1997-2024 University of Cambridge
All rights reserved.


Expand All @@ -37,7 +37,7 @@ Written by: Zoltan Herczeg
Email local part: hzmester
Email domain: freemail.hu

Copyright(c) 2010-2023 Zoltan Herczeg
Copyright(c) 2010-2024 Zoltan Herczeg
All rights reserved.


Expand All @@ -48,7 +48,7 @@ Written by: Zoltan Herczeg
Email local part: hzmester
Email domain: freemail.hu

Copyright(c) 2009-2023 Zoltan Herczeg
Copyright(c) 2009-2024 Zoltan Herczeg
All rights reserved.


Expand Down
2 changes: 1 addition & 1 deletion Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -547,7 +547,7 @@ endif # WITH_PCRE2_8
## source but using -DSTANDALONE.

if WITH_FUZZ_SUPPORT
noinst_LIBRARIES =
noinst_LIBRARIES =
if WITH_PCRE2_8
noinst_LIBRARIES += .libs/libpcre2-fuzzsupport.a
_libs_libpcre2_fuzzsupport_a_SOURCES = src/pcre2_fuzzsupport.c
Expand Down
6 changes: 4 additions & 2 deletions NEWS
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,14 @@ News about PCRE2 releases
-------------------------


Version 10.43 27-December-2023
Version 10.43 16-February-2024
------------------------------

There are quite a lot of changes in this release (see ChangeLog and git log for
a list). Those that are not bugfixes or code tidies are:

* The JIT code no longer supports ARMv5 architecture.

* A new function pcre2_get_match_data_heapframes_size() for finer heap control.

* New option flags to restrict the interaction between ASCII and non-ASCII
Expand All @@ -22,7 +24,7 @@ a list). Those that are not bugfixes or code tidies are:
a default maximum length of 255 characters (same as Perl) but with a function
to adjust the limit.

* Support for LoongArch to JIT.
* Support for LoongArch in JIT.

* Perl changed the meaning of (for example) {,3} which did not used to be
recognized as a quantifier. Now it means {0,3} and PCRE2 has also changed.
Expand Down
4 changes: 2 additions & 2 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ dnl be defined as -RC2, for example. For real releases, it should be empty.

m4_define(pcre2_major, [10])
m4_define(pcre2_minor, [43])
m4_define(pcre2_prerelease, [-RC1])
m4_define(pcre2_date, [2023-12-27])
m4_define(pcre2_prerelease, [])
m4_define(pcre2_date, [2024-02-16])

# Libtool shared library interface versions (current:revision:age)
m4_define(libpcre2_8_version, [12:0:12])
Expand Down
14 changes: 7 additions & 7 deletions doc/html/pcre2api.html
Original file line number Diff line number Diff line change
Expand Up @@ -412,10 +412,10 @@ <h1>pcre2api man page</h1>
<b>PCRE2_UCHAR8, PCRE2_UCHAR16, PCRE2_UCHAR32</b>
<b>PCRE2_SPTR8, PCRE2_SPTR16, PCRE2_SPTR32</b>
</pre>
The UCHAR types define unsigned code units of the appropriate widths. For
example, PCRE2_UCHAR16 is usually defined as `uint16_t'. The SPTR types are
constant pointers to the equivalent UCHAR types, that is, they are pointers to
vectors of unsigned code units.
The UCHAR types define unsigned code units of the appropriate widths.
For example, PCRE2_UCHAR16 is usually defined as `uint16_t'.
The SPTR types are pointers to constants of the equivalent UCHAR types,
that is, they are pointers to vectors of unsigned code units.
</P>
<P>
Character strings are passed to a PCRE2 library as sequences of unsigned
Expand Down Expand Up @@ -2864,15 +2864,15 @@ <h1>pcre2api man page</h1>
<P>
The use of recursion in patterns can lead to infinite loops. In the
interpretive matcher these would be eventually caught by the match or heap
limits, but this could take a long time and/or use a lot of memory if the
limits, but this could take a long time and/or use a lot of memory if the
limits are large. There is therefore a check at the start of each recursion.
If the same group is still active from a previous call, and the current subject
If the same group is still active from a previous call, and the current subject
pointer is the same as it was at the start of that group, and the furthest
inspected character of the subject has not changed, an error is generated.
</P>
<P>
There are rare cases of matches that would complete, but nevertheless trigger
this error. This option disables the check. It is provided mainly for testing
this error. This option disables the check. It is provided mainly for testing
when comparing JIT and interpretive behaviour.
<pre>
PCRE2_ENDANCHORED
Expand Down
Loading

0 comments on commit 3864abd

Please sign in to comment.