Parent Directory
|
Revision Log
Links to HEAD: | (view) (annotate) |
Sticky Revision: |
File tidies, preparing for 8.32-RC1.
Fix pcretest -C pcre8/pcre16 bug.
Lose compiler warnings.
Temporarily remove 32-bit masking Remove the masking via the PCRE_NO_UTF32_CHECK. It will be reintroduced as a dedicated runtime option later, with support for JIT and non-JIT cases.
pcretest was not diagnosing characters > 0x7fffffff in 8-bit mode.
Add PCRE_ERROR_BADLENGTH for a negative length.
JIT native interface.
Include character values in error messages for invalid conversions to 16 and 32 bit strings.
valgrind: pcretest: Mark data buffer as unaddressable after the end of the data The data buffer is (usually) bigger than the actual data processed. This patch explicitly marks the excess buffer as unaddressable, so that running under valgrind will signal invalid memory accesses to it. This seems a better solution than memmove'ing the data to the end of the buffer to use the allocated memory region as the valgrind marker.
Fix byte order issue when the result of badmode is shown.
Fix bugs in pcretest when different combinations of 8-, 16-, and 32-bit libraries were compiled. For example, test 2 segfaulted when only 16- and 32-bit libraries were compiled.
I found a neater way of defining the macros in the case where 2 out of 3 modes are compiled.
Remove unused variable
Fix uninitialised variable warnings
Add extra parentheses around && inside || Fixes warnings from -Wparentheses.
Fix pcretest compiler warnings and make it compile with only 2 out of 3 bit sizes.
pcre32: Remove masking from UTF-32 validation It's now required and documented that to pass character strings with high bits set (which will be masked off), it's necessary to pass PCRE_NO_UTF32_CHECK.
pcre32: pcretest: Add -32+ option Add -32+ option that selects 32-bit mode like -32, but additionally modifies the characters in the data strings to have the bits > 21 set, to test that the masking works.
pcre32: Rename new values to pcre32_fullinfo Rename to PCRE_INFO_FIRSTCHARACTER[FLAGS] (unfortunately PCRE_INFO_FIRSTCHAR was already taken) and PCRE_INFO_REQUIREDCHAR[FLAGS].
pcre32: pcretest: Add missing pcre32 checks
pcre32: pcretest: Add explicit -8 option Even though 8-bit mode is the default, it's still useful to have an -8 option for symmetry.
pcre32: pcretest: Don't convert data line to UTF-8 first While reading the data lines, directly put them into the 8, 16 or 32 bit buffers instead of first converting them into UTF-8 and only afterwards converting that buffer to 16/32 bit. This is necessary so the in 32 bit mode the \x{} escapes can use the full 32-bit range (while the non-standard 5/6 byte UTF-8 sequences can only express characters up to 31-bits).
pcre32: pcretest: Comment fixes
pcre32: pcretest: More 32-bit fixes
pcre32: pcretest: Fix pchar for 32-bit
pcre32: pcretest: 32-bit cleanliness
pcre32: fullinfo: Add variants of (FIRST|LAST)LITERAL that are 32-bit clean Since for pcre32 the whole range of the output is already used up for the character itself, return the special values separately.
pcre32: pcretest: Make pchar 32-bit clean Use pcre_uint32 for characters.
pcre32: Add 32-bit library Create libpcre32 that operates on 32-bit characters (UTF-32). This turned out to be surprisingly simple after the UTF-16 support was introduced; mostly just extra ifdefs and adjusting and adding some tests.
All the remaining changes for handling characters with more than one other case.
General spring-clean of EBCDIC-related issues in the code, which had decayed over time. Also the documentation. Added one test that can be run in an ASCII world to do a little testing of EBCDIC-related things.
Fix -C option in pcretest for EBCDIC environments.
Small patches for the z/OS port that don't affect other OS.
Add support for PCRE_STUDY_EXTRA_NEEDED.
Tidies to pcretest to ensure freeing memory and closing files.
Document update for 8.31-RC1 test release.
Fix ovector overrun when backreferences need temporary memory and the highest block is not used.
Fix long-standing DFA testing restart bug in pcretest, and add some plausibility checks when restarting in pcre_dfa_exec().
Add support for linking pcretest with libedit instead of libreadline.
Add support for PCRE_INFO_MAXLOOKBEHIND.
(*MARK) support, set_SOM optimization and other fixes in JIT
Re-implement /S++ and -s++ in pcretest in a thread-safe way, using JIT callback. Removed the PCRE_EXTRA_USED_JIT flag.
Make it possible for pcretest to select which JIT compile options are used.
Set PCRE_EXTRA_USED_JIT when JIT was actually used at runtime. Add /S++ and -s++ to pcretest to show whether JIT was used or not.
Partial matching support is added to the JIT compiler
Final source and document tidies for 8.30.
One more cast to avoid compiler warning about 'const'.
fix local symbol issues in pcre_printint.c
Additional casts to avoid compiler warnings, originally from a MS compiler, but also given by gcc if you turn on enough warnings.
Source file tidies for 8.30-RC1 release; fix Makefile.am bugs for building symbolic links to man pages.
More tidies and documentation for stack frame measurement.
Modified, and made non-default the stack size info experimental code.
Experimental stack size determination.
Add PCRE_CONFIG_JITTARGET output to pcretest -C.
Get rid of a number of -Wunused-but-set-variable compiler warnings.
Diagnose more than 8 hex digits in \x{...} in pcretest data lines.
rename PCRE_SCHAR16 to PCRE_UCHAR16 and JIT compiler update
Add pcre16 prefix to 16 bit structs
add pcre16_callout_block and pcre16_extra
fix signed/unsigned half load mismatches and JIT compiler update
Typos in PrepareRelease; include 16-bit in make distcheck; fix RunTest and RunGrepTest when building in non-source directory; problem in pcretest when no UTF or 16-bit support; other tidies consequent on building a tarball.
use unsigned short for 16 bit strings and a minor fix
endianness fixes and JIT compiler update
Add -C newline to pcretest; update ManyConfigTests to use new -C features; add some 16-bit tests with link sizes 3 and 4.
Merging all the changes from the pcre16 branch into the trunk.
Rolled back trunk to r755 to prepare for merging the 16-bit branch.
Source tidies for 8.21-RC1
Preserve the size of JIT compiled code. Add PCRE_INFO_JITSIZE and use it for the /M option in pcretest.
Fix pcretest not forgetting JIT after it has been used once.
Expand compile workspace for very many forward references. This ups the limit by a factor of 100.
Source tidies for 8.20 release.
Rewrite code that broke under Mac OS (isxdigit with ++ in its argument).
Fix ASCII dependency in pcretest when decoding hex characters.
Final source and document tidies for 8.20-RC1.
Patch to RunTest for use with simulations; further JIT code/test tidies.
Give PCRE_ERROR_JIT_STACKLIMIT when JIT runs out of stack.
Change pcre_assign_jit_callback to pcre_assign_jit_stack.
More JIT testing.
Commit all the changes for JIT support, but without any documentation yet.
Fix incorrect comment in pcretest.c.
Documentation and general text tidies in preparation for test release.
Pass *MARK name to callouts
Avoid false positive for infinite recursion by not checking conditionals at compile time, but add tests at runtime that also catch infinite mutual recursion.
Add minix to list of OS not supporting -S in pcretest.
Add the /= modifier to pcretest so as to be able to check unset capturing parentheses at the ends of patterns.
Add the ++ feature to pcretest.
Fix two study bugs concerned with minimum subject lengths; add features to pcretest so that all tests can be run with or without study; adjust tests so that this happens.
Tidy the API for _pcre_valid_utf8() to a more suitable form for a future public release. Also make -s in pcretest force a study for every regex.
Refactoring to reduce stack usage for possessively quantified subpatterns. Also fixed a number of bugs related to repeated subpatterns. Some further tidies consequent on the removal of OP_OPT are also in this patch.
Pass back detailed info when UTF-8 check fails at runtime.
Patches to avoid build problems in some Borland environments.
Tidies of documenation and code while preparing for release.
Added support for (*NO_START_OPT)
Test for ridiculous values of starting offsets; tidy UTF-8 code.
Fix broken /g code in pcretest and -g code in pcredemo.
Fix missing code for missing strtoul() and strerror().
Change the way PCRE_PARTIAL_HARD handles \z, \Z, \b, \B, and $.
Tidyup for 8.10-RC2 test release.
Add /T option to pcretest and additional tests with non-standard tables.
Add newline in pcretest output if the last data line doesn't have one.
Prepare for release candidate.
Added a lot of (int) casts to avoid compiler warnings in systems where size_t is 64-bit.
Added PCRE_UCP and related stuff to make \w etc use Unicode properties.
Avoid compiler warning in pcretest.
Fix compile problems when heap is in use
Add support for *MARK and names for *PRUNE, *SKIP, *THEN.
Tidies for 8.02-RC1 release.
Fix missing data in coptable and poptable vectors; add compile-time checks for their lengths.
Tidy up, remove trailing spaces, etc. for 8.00-RC1.
Added lower bound length-finding to pcre_study() and use it when matching; make the value available via pcre_fullinfo(); also fixed bugs connected with pcre_study() in pcre_dfa_exec().
Added PCRE_NOTEMPTY_ATSTART to fix /g bug when \K is present.
Add REG_UNGREEDY (non-standard) to the POSIX interface.
Add new PCRE_PARTIAL_HARD option.
Remove restrictions on pcre_exec() partial matching.
File tidies for 7.9 release.
Add support for (*UTF8).
Wrap fileno/isatty defs for Windows in #ifndefs
Update after detrailing for a test release.
Add support for UTF-8 in EBCDIC environments.
Add PCRE_NO_START_OPTIMIZE
Added REG_NOTEMPTY to the POSIX wrapper.
Add the -M option to pcretest.
Bug fixes: forgot to commit these individually.
Source tidies for 7.8-RC1
Previous change to pcretest wasn't correct for POSIX mode (needs zero terminator).
Fix off-end-of-buffer bug for patterns that match only at start of line.
Comments about stack usage added.
Make pcretest generate a single byte for \x{} escapes in non-UTF-8 mode.
Final tidies for new Unicode property code; upgrade to Unicode 5.1.0.
Tidies for the 7.7-RC1 distribution.
Fixes to pcretest for readline support on Windows.
Added PCRE_JAVASCRIPT_COMPAT option.
Tidies for 7.5-RC1 release.
Added --enable-pcretest-libreadline.
Change "alphameric" to "alphanumeric".
File tidies caused by building a release.
Add casts to pcretest.c to avoid compiler warnings.
Refactoring to reduce the number of relocations in a shared library.
<config.h> => "config.h" and also some cases of <pcre.h>.
Add facility to make \R match only CR, LF, or CRLF.
(1) Move internal flags out of the options field, to make room. (2) \r and \n must be explicit to trigger the special CRLF handline exception. (3) (?J) at the start now sets JCHANGED as well as DUPNAMES.
Add (*CR) etc.
Don't advance by 2 if explicit \r or \n in the pattern. Add PCRE_INFO_HASCRORLF.
Update UTF-8 validity check and documentation.
Add Perl 5.10's backtracking verbs.
Correct errors in previous patch; tidy for test release.
Daniel's patch for config.h and Windows DLL declarations (not fully working).
Drastically reduce workspace used for alternatives in groups; also some trailing space removals for a test release.
Add PCRE_INFO_OKPARTIAL and PCRE_INFO_JCHANGED.
Tidies: added some casts and some missing #ifdefs.
Update HTML documentation.
Add PCRE_NEWLINE_ANYCRLF.
Fix bad handling of data lines longer than 50K by pcretest.
Another buglet in pcretest for "any" newline and /g.
Reworked all the WIN32 __declspec stuff in the hope of getting it right.
Daniel's patches to add to the CMake support.
Previous fix for pcretest was buggy. Try again.
Trailing spaces.
Fixed obscure bug when matching a null string in multiline mode with newline=any.
Fixed bug in the debugging /Z option of pcretest that made it assume /8.
Removal of trailing spaces.
Add some missing free() calls to pcretest and pcregrep.
Tests cleanup: use -C in RunTest; add /Z to pcretest and make test 3 independent of link size.
Added some additional #ifdef SUPPORT_UTF8 to minimize the code when UTF-8 support is not compiled.
r6896@hex: nm | 2007-03-02 13:09:14 +0000 Added EOL and keywork properties throughout
Load pcre-7.0 into code/trunk.
Load pcre-6.7 into code/trunk.
Load pcre-6.5 into code/trunk.
Load pcre-6.4 into code/trunk.
Load pcre-6.1 into code/trunk.
Load pcre-6.0 into code/trunk.
Load pcre-5.0 into code/trunk.
Load pcre-4.5 into code/trunk.
Load pcre-4.4 into code/trunk.
Load pcre-4.3 into code/trunk.
Load pcre-4.2 into code/trunk.
Load pcre-4.1 into code/trunk.
Load pcre-4.0 into code/trunk.
Load pcre-3.8 into code/trunk.
Load pcre-3.7 into code/trunk.
Load pcre-3.6 into code/trunk.
Load pcre-3.5 into code/trunk.
Load pcre-3.3 into code/trunk.
Load pcre-3.2 into code/trunk.
Load pcre-3.1 into code/trunk.
Load pcre-3.0 into code/trunk.
Load pcre-2.08a into code/trunk.
Load pcre-2.08 into code/trunk.
Load pcre-2.07 into code/trunk.
Load pcre-2.06 into code/trunk.
Load pcre-2.04 into code/trunk.
Load pcre-2.03 into code/trunk.
Load pcre-2.02 into code/trunk.
Load pcre-2.01 into code/trunk.
Load pcre-2.00 into code/trunk.
Load pcre-1.08 into code/trunk.
Load pcre-1.05 into code/trunk.
Load pcre-1.04 into code/trunk.
Load pcre-1.03 into code/trunk.
Load pcre-1.02 into code/trunk.
Load pcre-1.00 into code/trunk.
This form allows you to request diffs between any two revisions of this file. For each of the two "sides" of the diff, enter a numeric revision.
ViewVC Help | |
Powered by ViewVC 1.1.5 |