summaryrefslogtreecommitdiff
path: root/pcre_internal.h
Commit message (Collapse)AuthorAgeFilesLines
...
* Add a definition for CHAR_NULL (helpful for the z/OS port).ph102012-10-281-0/+1
| | | | git-svn-id: svn://vcs.exim.org/pcre/code/trunk@1185 2f5784b3-3f2a-0410-8824-cb99058d5e15
* Fix -Wundef warnings when stdint.h is not availablechpe2012-10-221-2/+2
| | | | | | Pointed out by Daniel Richard G. on the mailing list. git-svn-id: svn://vcs.exim.org/pcre/code/trunk@1160 2f5784b3-3f2a-0410-8824-cb99058d5e15
* valgrind: Add --support-valgrind configure optionchpe2012-10-211-0/+6
| | | | | | | | | When --enable-valgrind is passed, PCRE will annotate some memory regions as unaddressable, aiding in finding invalid memory accesses when running under valgrind. This is useful mostly for debugging PCRE itself, and thus probably should not be enabled in release builds. git-svn-id: svn://vcs.exim.org/pcre/code/trunk@1151 2f5784b3-3f2a-0410-8824-cb99058d5e15
* Clean up compiler warnings for pcre_exec.c in all modes.ph102012-10-191-1/+1
| | | | git-svn-id: svn://vcs.exim.org/pcre/code/trunk@1145 2f5784b3-3f2a-0410-8824-cb99058d5e15
* Get rid of compiler warnings from pcre_compile.c in all modes.ph102012-10-191-2/+6
| | | | git-svn-id: svn://vcs.exim.org/pcre/code/trunk@1143 2f5784b3-3f2a-0410-8824-cb99058d5e15
* Change comment.ph102012-10-191-0/+1
| | | | git-svn-id: svn://vcs.exim.org/pcre/code/trunk@1141 2f5784b3-3f2a-0410-8824-cb99058d5e15
* pcre32: Fix signed-unsigned comparechpe2012-10-181-1/+1
| | | | git-svn-id: svn://vcs.exim.org/pcre/code/trunk@1133 2f5784b3-3f2a-0410-8824-cb99058d5e15
* Make ucp_gentype unsigned intchpe2012-10-181-1/+1
| | | | | | | It's compared against unsigned values, so change it to unsigned to quit a few -Wsign-compare warnings. git-svn-id: svn://vcs.exim.org/pcre/code/trunk@1128 2f5784b3-3f2a-0410-8824-cb99058d5e15
* pcre32: Remove unnecessary ifdefingchpe2012-10-161-7/+9
| | | | | | Just define HAS_EXTRALEN etc to 0. This reduces the amount of #ifdef COMPILE_PCRE32. git-svn-id: svn://vcs.exim.org/pcre/code/trunk@1114 2f5784b3-3f2a-0410-8824-cb99058d5e15
* pcre32: Remove unnecessary spacechpe2012-10-161-1/+1
| | | | git-svn-id: svn://vcs.exim.org/pcre/code/trunk@1111 2f5784b3-3f2a-0410-8824-cb99058d5e15
* pcre32: exec: Mask bits > 21 in 32-bit UTF modechpe2012-10-161-4/+99
| | | | | | Allow passing characters with high bits set in UTF-32 mode. git-svn-id: svn://vcs.exim.org/pcre/code/trunk@1100 2f5784b3-3f2a-0410-8824-cb99058d5e15
* pcre32: pcretest: Don't convert data line to UTF-8 firstchpe2012-10-161-36/+40
| | | | | | | | | | | 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). git-svn-id: svn://vcs.exim.org/pcre/code/trunk@1090 2f5784b3-3f2a-0410-8824-cb99058d5e15
* pcre32: Mask out bits >= 22 on 32-bit characters in UTF-32 modechpe2012-10-161-7/+11
| | | | | | | | | | UTF-32 only uses 21 bits, so the upper bits may be used to store flags etc. To allow passing the unmodified internal buffers to pcre32, make pcre32 mask out those upper bits. TODO: do the same for the JIT compiler, and add tests git-svn-id: svn://vcs.exim.org/pcre/code/trunk@1083 2f5784b3-3f2a-0410-8824-cb99058d5e15
* pcre32: compile: Separate first/req char flags from the character itselfchpe2012-10-161-5/+0
| | | | | | | This is necessary so that 32-bit characters in non-UTF-32 mode can be from the whole 32-bit range. git-svn-id: svn://vcs.exim.org/pcre/code/trunk@1078 2f5784b3-3f2a-0410-8824-cb99058d5e15
* pcre32: compile: Fix signed/unsigned mismatch in GET_UCDchpe2012-10-161-3/+3
| | | | git-svn-id: svn://vcs.exim.org/pcre/code/trunk@1075 2f5784b3-3f2a-0410-8824-cb99058d5e15
* pcre32: compile: Encode back references as negative numberschpe2012-10-161-4/+3
| | | | | | | | Return the back reference as negative numbers from check_escape(), instead of adding them to ESC_REF. This way, there will never be an overflow. git-svn-id: svn://vcs.exim.org/pcre/code/trunk@1061 2f5784b3-3f2a-0410-8824-cb99058d5e15
* pcre32: compile: Make check_escape return the data character in an out paramchpe2012-10-161-1/+1
| | | | | | | | | | check_escape needs to return both the escape code and possibly a data character. Return the data character in an out param instead of mixing it with the escape code; this is in preparation to making the character a pcre_uint32 to enable the full 32-bit range in pcre32 in non-UTF-32 mode. git-svn-id: svn://vcs.exim.org/pcre/code/trunk@1059 2f5784b3-3f2a-0410-8824-cb99058d5e15
* pcre32: xclass: Use pcre_uint32 for characterschpe2012-10-161-1/+1
| | | | | | This fixes character classes for 32-bit in non-UTF-32 mode. git-svn-id: svn://vcs.exim.org/pcre/code/trunk@1057 2f5784b3-3f2a-0410-8824-cb99058d5e15
* pcre32: Add 32-bit librarychpe2012-10-161-59/+200
| | | | | | | | | | 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. git-svn-id: svn://vcs.exim.org/pcre/code/trunk@1055 2f5784b3-3f2a-0410-8824-cb99058d5e15
* All the remaining changes for handling characters with more than one other ph102012-09-251-4/+5
| | | | | | | case. git-svn-id: svn://vcs.exim.org/pcre/code/trunk@1046 2f5784b3-3f2a-0410-8824-cb99058d5e15
* Update character class handling to use new character case information; rework ph102012-09-231-53/+80
| | | | | | | \h, \H, \v, and \V to use the same apparatus with centrally defined lists. git-svn-id: svn://vcs.exim.org/pcre/code/trunk@1045 2f5784b3-3f2a-0410-8824-cb99058d5e15
* Update MultiStage2.py to create new case-folding information in the Unicode ph102012-09-201-0/+3
| | | | | | | tables. git-svn-id: svn://vcs.exim.org/pcre/code/trunk@1044 2f5784b3-3f2a-0410-8824-cb99058d5e15
* New "case" macros did not work in EBCDIC mode.ph102012-09-161-9/+23
| | | | git-svn-id: svn://vcs.exim.org/pcre/code/trunk@1043 2f5784b3-3f2a-0410-8824-cb99058d5e15
* Turn case lists for horizontal and vertical white space into macros so they are ph102012-09-161-11/+73
| | | | | | | defined only once. git-svn-id: svn://vcs.exim.org/pcre/code/trunk@1041 2f5784b3-3f2a-0410-8824-cb99058d5e15
* General spring-clean of EBCDIC-related issues in the code, which had decayed ph102012-09-101-3/+4
| | | | | | | | 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. git-svn-id: svn://vcs.exim.org/pcre/code/trunk@1033 2f5784b3-3f2a-0410-8824-cb99058d5e15
* Set config.h NEWLINE values appropriately for EBCDIC, adding ph102012-09-061-19/+60
| | | | | | | --enable-ebcdic-nl25 (and CMake equivalent) for the alternate NL encoding. git-svn-id: svn://vcs.exim.org/pcre/code/trunk@1028 2f5784b3-3f2a-0410-8824-cb99058d5e15
* Add support for PCRE_STUDY_EXTRA_NEEDED.ph102012-08-281-1/+1
| | | | git-svn-id: svn://vcs.exim.org/pcre/code/trunk@1022 2f5784b3-3f2a-0410-8824-cb99058d5e15
* Improve extended grapheme clusters using a bit table.ph102012-08-261-1/+1
| | | | git-svn-id: svn://vcs.exim.org/pcre/code/trunk@1015 2f5784b3-3f2a-0410-8824-cb99058d5e15
* Upgrade \X to match an extended grapheme clusterph102012-08-251-7/+10
| | | | git-svn-id: svn://vcs.exim.org/pcre/code/trunk@1011 2f5784b3-3f2a-0410-8824-cb99058d5e15
* Fix patterns that incorrectly set "anchored" or "start of line" for .* inside ph102012-07-101-0/+1
| | | | | | | atomic parentheses or when *PRUNE or *SKIP is present. git-svn-id: svn://vcs.exim.org/pcre/code/trunk@994 2f5784b3-3f2a-0410-8824-cb99058d5e15
* Apply character value checks to \u.... in JavaScript mode, for compatibility ph102012-06-171-1/+1
| | | | | | | with \x{....} in non-JavaScript mode. git-svn-id: svn://vcs.exim.org/pcre/code/trunk@978 2f5784b3-3f2a-0410-8824-cb99058d5e15
* Document update for 8.31-RC1 test release.ph102012-06-021-1/+1
| | | | git-svn-id: svn://vcs.exim.org/pcre/code/trunk@975 2f5784b3-3f2a-0410-8824-cb99058d5e15
* Check for overlong name in (*MARK) etc.ph102012-05-041-1/+6
| | | | git-svn-id: svn://vcs.exim.org/pcre/code/trunk@964 2f5784b3-3f2a-0410-8824-cb99058d5e15
* (COMMIT*) is now supported by the JIT compilerzherczeg2012-02-281-4/+4
| | | | git-svn-id: svn://vcs.exim.org/pcre/code/trunk@941 2f5784b3-3f2a-0410-8824-cb99058d5e15
* Applied Graycode's patch to use heap stack frames more efficiently.ph102012-02-251-0/+3
| | | | git-svn-id: svn://vcs.exim.org/pcre/code/trunk@933 2f5784b3-3f2a-0410-8824-cb99058d5e15
* Add support for PCRE_INFO_MAXLOOKBEHIND.ph102012-02-241-4/+4
| | | | git-svn-id: svn://vcs.exim.org/pcre/code/trunk@932 2f5784b3-3f2a-0410-8824-cb99058d5e15
* (*MARK) support, set_SOM optimization and other fixes in JITzherczeg2012-02-241-1/+2
| | | | git-svn-id: svn://vcs.exim.org/pcre/code/trunk@929 2f5784b3-3f2a-0410-8824-cb99058d5e15
* Improved \X and back reference partial matchingzherczeg2012-02-141-1/+1
| | | | git-svn-id: svn://vcs.exim.org/pcre/code/trunk@915 2f5784b3-3f2a-0410-8824-cb99058d5e15
* Partial matching support is added to the JIT compilerzherczeg2012-02-131-3/+8
| | | | git-svn-id: svn://vcs.exim.org/pcre/code/trunk@914 2f5784b3-3f2a-0410-8824-cb99058d5e15
* fix local symbol issues in pcre_printint.czherczeg2012-01-231-1/+9
| | | | git-svn-id: svn://vcs.exim.org/pcre/code/trunk@905 2f5784b3-3f2a-0410-8824-cb99058d5e15
* JIT test prints cpu infozherczeg2012-01-171-0/+1
| | | | git-svn-id: svn://vcs.exim.org/pcre/code/trunk@884 2f5784b3-3f2a-0410-8824-cb99058d5e15
* rename PCRE_SCHAR16 to PCRE_UCHAR16 and JIT compiler updatezherczeg2012-01-091-2/+2
| | | | git-svn-id: svn://vcs.exim.org/pcre/code/trunk@860 2f5784b3-3f2a-0410-8824-cb99058d5e15
* Add pcre16 prefix to 16 bit structszherczeg2012-01-051-4/+10
| | | | git-svn-id: svn://vcs.exim.org/pcre/code/trunk@852 2f5784b3-3f2a-0410-8824-cb99058d5e15
* add pcre16_callout_block and pcre16_extrazherczeg2012-01-041-1/+1
| | | | git-svn-id: svn://vcs.exim.org/pcre/code/trunk@850 2f5784b3-3f2a-0410-8824-cb99058d5e15
* Tidy compile-time error messages for 16-bit.ph102012-01-041-1/+1
| | | | git-svn-id: svn://vcs.exim.org/pcre/code/trunk@848 2f5784b3-3f2a-0410-8824-cb99058d5e15
* Merging all the changes from the pcre16 branch into the trunk.ph102011-12-281-210/+542
| | | | git-svn-id: svn://vcs.exim.org/pcre/code/trunk@836 2f5784b3-3f2a-0410-8824-cb99058d5e15
* Rolled back trunk to r755 to prepare for merging the 16-bit branch.ph102011-12-281-6/+2
| | | | git-svn-id: svn://vcs.exim.org/pcre/code/trunk@835 2f5784b3-3f2a-0410-8824-cb99058d5e15
* Source tidies for 8.21-RC1ph102011-12-061-3/+3
| | | | git-svn-id: svn://vcs.exim.org/pcre/code/trunk@788 2f5784b3-3f2a-0410-8824-cb99058d5e15
* Preserve the size of JIT compiled code. Add PCRE_INFO_JITSIZE and use it forph102011-12-021-0/+1
| | | | | | | the /M option in pcretest. git-svn-id: svn://vcs.exim.org/pcre/code/trunk@780 2f5784b3-3f2a-0410-8824-cb99058d5e15
* Expand compile workspace for very many forward references. This ups the limit ph102011-11-301-0/+1
| | | | | | | by a factor of 100. git-svn-id: svn://vcs.exim.org/pcre/code/trunk@773 2f5784b3-3f2a-0410-8824-cb99058d5e15