Final file tidies for 10.10-RC2.
This commit is contained in:
parent
869f0271cf
commit
67800ba810
5
NEWS
5
NEWS
|
@ -1,7 +1,7 @@
|
||||||
News about PCRE2 releases
|
News about PCRE2 releases
|
||||||
-------------------------
|
-------------------------
|
||||||
|
|
||||||
Version 10.10 20-February-2015
|
Version 10.10 26-February-2015
|
||||||
------------------------------
|
------------------------------
|
||||||
|
|
||||||
1. Serialization and de-serialization functions have been added to the API,
|
1. Serialization and de-serialization functions have been added to the API,
|
||||||
|
@ -11,7 +11,8 @@ restoration must be done in the same environment that was used for compilation.
|
||||||
2. The (*NO_JIT) feature has been added; this makes it possible for a pattern
|
2. The (*NO_JIT) feature has been added; this makes it possible for a pattern
|
||||||
creator to specify that JIT is not to be used.
|
creator to specify that JIT is not to be used.
|
||||||
|
|
||||||
3. A number of bugs have been fixed.
|
3. A number of bugs have been fixed. In particular, bugs that caused building
|
||||||
|
on Windows using CMake have been mended.
|
||||||
|
|
||||||
|
|
||||||
Version 10.00 05-January-2015
|
Version 10.00 05-January-2015
|
||||||
|
|
|
@ -11,7 +11,7 @@ dnl be defined as -RC2, for example. For real releases, it should be empty.
|
||||||
m4_define(pcre2_major, [10])
|
m4_define(pcre2_major, [10])
|
||||||
m4_define(pcre2_minor, [10])
|
m4_define(pcre2_minor, [10])
|
||||||
m4_define(pcre2_prerelease, [-RC2])
|
m4_define(pcre2_prerelease, [-RC2])
|
||||||
m4_define(pcre2_date, [2015-02-20])
|
m4_define(pcre2_date, [2015-02-26])
|
||||||
|
|
||||||
# NOTE: The CMakeLists.txt file searches for the above variables in the first
|
# 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.
|
# 50 lines of this file. Please update that if the variables above are moved.
|
||||||
|
|
|
@ -20,10 +20,6 @@ This document contains the following sections:
|
||||||
|
|
||||||
GENERAL
|
GENERAL
|
||||||
|
|
||||||
I (Philip Hazel) have no experience of Windows or VMS sytems and how their
|
|
||||||
libraries work. The items in the PCRE2 distribution and Makefile that relate to
|
|
||||||
anything other than Linux systems are untested by me.
|
|
||||||
|
|
||||||
The basic PCRE2 library consists entirely of code written in Standard C, and so
|
The basic PCRE2 library consists entirely of code written in Standard C, and so
|
||||||
should compile successfully on any system that has a Standard C compiler and
|
should compile successfully on any system that has a Standard C compiler and
|
||||||
library.
|
library.
|
||||||
|
@ -186,9 +182,12 @@ The default processor stack size of 1Mb in some Windows environments is too
|
||||||
small for matching patterns that need much recursion. In particular, test 2 may
|
small for matching patterns that need much recursion. In particular, test 2 may
|
||||||
fail because of this. Normally, running out of stack causes a crash, but there
|
fail because of this. Normally, running out of stack causes a crash, but there
|
||||||
have been cases where the test program has just died silently. See your linker
|
have been cases where the test program has just died silently. See your linker
|
||||||
documentation for how to increase stack size if you experience problems. The
|
documentation for how to increase stack size if you experience problems. If you
|
||||||
Linux default of 8Mb is a reasonable choice for the stack, though even that can
|
are using CMake (see "BUILDING PCRE2 ON WINDOWS WITH CMAKE" below) and the gcc
|
||||||
be too small for some pattern/subject combinations.
|
compiler, you can increase the stack size for pcre2test and pcre2grep by
|
||||||
|
setting the CMAKE_EXE_LINKER_FLAGS variable to "-Wl,--stack,8388608" (for
|
||||||
|
example). The Linux default of 8Mb is a reasonable choice for the stack, though
|
||||||
|
even that can be too small for some pattern/subject combinations.
|
||||||
|
|
||||||
PCRE2 has a compile configuration option to disable the use of stack for
|
PCRE2 has a compile configuration option to disable the use of stack for
|
||||||
recursion so that heap is used instead. However, pattern matching is
|
recursion so that heap is used instead. However, pattern matching is
|
||||||
|
@ -330,22 +329,19 @@ cache can be deleted by selecting "File > Delete Cache".
|
||||||
|
|
||||||
12. If during configuration with cmake-gui you've elected to build the test
|
12. If during configuration with cmake-gui you've elected to build the test
|
||||||
programs, you can execute them by building the test project. E.g., for
|
programs, you can execute them by building the test project. E.g., for
|
||||||
MinGW: "make check"; for Visual Studio build the RUN_TESTS project. The
|
MinGW: "make test"; for Visual Studio build the RUN_TESTS project. The
|
||||||
most recent build configuration is targeted by the tests. A summary of
|
most recent build configuration is targeted by the tests. A summary of
|
||||||
test results is presented. Complete test output is subsequently
|
test results is presented. Complete test output is subsequently
|
||||||
available for review in Testing\Temporary under your build dir.
|
available for review in Testing\Temporary under your build dir.
|
||||||
|
|
||||||
|
|
||||||
TESTING WITH RUNTEST.BAT IS NOT YET TESTED/UPDATED
|
TESTING WITH RUNTEST.BAT
|
||||||
|
|
||||||
If configured with CMake, building the test project ("make check" or building
|
If configured with CMake, building the test project ("make test" or building
|
||||||
ALL_TESTS in Visual Studio) creates (and runs) pcre2_test.bat (and depending
|
ALL_TESTS in Visual Studio) creates (and runs) pcre2_test.bat (and depending
|
||||||
on your configuration options, possibly other test programs) in the build
|
on your configuration options, possibly other test programs) in the build
|
||||||
directory. Pcre_test.bat runs RunTest.Bat with correct source and exe paths.
|
directory. The pcre2_test.bat script runs RunTest.bat with correct source and
|
||||||
|
exe paths.
|
||||||
INCOMPLETE: Nobody has yet provided a RunTest.Bat for PCRE2 and I have no means
|
|
||||||
of doing so. These instructions are those for PCRE1, left here in the hope that
|
|
||||||
one day they will be usable.
|
|
||||||
|
|
||||||
For manual testing with RunTest.bat, provided the build dir is a subdirectory
|
For manual testing with RunTest.bat, provided the build dir is a subdirectory
|
||||||
of the source directory: Open command shell window. Chdir to the location
|
of the source directory: Open command shell window. Chdir to the location
|
||||||
|
@ -392,4 +388,4 @@ The site currently has ports for PCRE1 releases, but PCRE2 should follow in due
|
||||||
course.
|
course.
|
||||||
|
|
||||||
=============================
|
=============================
|
||||||
Last Updated: 19 January 2015
|
Last Updated: 25 February 2015
|
||||||
|
|
|
@ -200,7 +200,7 @@ sure both macros are undefined; an emulation function will then be used. */
|
||||||
#define PACKAGE_NAME "PCRE2"
|
#define PACKAGE_NAME "PCRE2"
|
||||||
|
|
||||||
/* Define to the full name and version of this package. */
|
/* Define to the full name and version of this package. */
|
||||||
#define PACKAGE_STRING "PCRE2 10.10-RC1"
|
#define PACKAGE_STRING "PCRE2 10.10-RC2"
|
||||||
|
|
||||||
/* Define to the one symbol short name of this package. */
|
/* Define to the one symbol short name of this package. */
|
||||||
#define PACKAGE_TARNAME "pcre2"
|
#define PACKAGE_TARNAME "pcre2"
|
||||||
|
@ -209,7 +209,7 @@ sure both macros are undefined; an emulation function will then be used. */
|
||||||
#define PACKAGE_URL ""
|
#define PACKAGE_URL ""
|
||||||
|
|
||||||
/* Define to the version of this package. */
|
/* Define to the version of this package. */
|
||||||
#define PACKAGE_VERSION "10.10-RC1"
|
#define PACKAGE_VERSION "10.10-RC2"
|
||||||
|
|
||||||
/* The value of PARENS_NEST_LIMIT specifies the maximum depth of nested
|
/* The value of PARENS_NEST_LIMIT specifies the maximum depth of nested
|
||||||
parentheses (of any kind) in a pattern. This limits the amount of system
|
parentheses (of any kind) in a pattern. This limits the amount of system
|
||||||
|
@ -287,7 +287,7 @@ sure both macros are undefined; an emulation function will then be used. */
|
||||||
/* #undef SUPPORT_VALGRIND */
|
/* #undef SUPPORT_VALGRIND */
|
||||||
|
|
||||||
/* Version number of package */
|
/* Version number of package */
|
||||||
#define VERSION "10.10-RC1"
|
#define VERSION "10.10-RC2"
|
||||||
|
|
||||||
/* Define to empty if `const' does not conform to ANSI C. */
|
/* Define to empty if `const' does not conform to ANSI C. */
|
||||||
/* #undef const */
|
/* #undef const */
|
||||||
|
|
|
@ -43,8 +43,8 @@ POSSIBILITY OF SUCH DAMAGE.
|
||||||
|
|
||||||
#define PCRE2_MAJOR 10
|
#define PCRE2_MAJOR 10
|
||||||
#define PCRE2_MINOR 10
|
#define PCRE2_MINOR 10
|
||||||
#define PCRE2_PRERELEASE -RC1
|
#define PCRE2_PRERELEASE -RC2
|
||||||
#define PCRE2_DATE 2015-02-20
|
#define PCRE2_DATE 2015-02-26
|
||||||
|
|
||||||
/* When an application links to a PCRE DLL in Windows, the symbols that are
|
/* When an application links to a PCRE DLL in Windows, the symbols that are
|
||||||
imported have to be identified as such. When building PCRE2, the appropriate
|
imported have to be identified as such. When building PCRE2, the appropriate
|
||||||
|
|
Loading…
Reference in New Issue