/[pcre]/code/trunk/ChangeLog
ViewVC logotype

Diff of /code/trunk/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 926 by ph10, Wed Feb 22 15:01:32 2012 UTC revision 997 by zherczeg, Fri Jul 27 11:31:03 2012 UTC
# Line 1  Line 1 
1  ChangeLog for PCRE  ChangeLog for PCRE
2  ------------------  ------------------
3    
4  Version 8.31  Version 8.32
5  -----------------------------  ------------
6    
7    1.  Improved JIT compiler optimizations for first character search and single
8        character iterators.
9    
10    2.  Supporting IBM XL C compilers for PPC architectures in the JIT compiler.
11        Patch by Daniel Richard G.
12    
13    3.  Single character iterator optimizations in the JIT compiler.
14    
15    4.  Improved JIT compiler optimizations for character ranges.
16    
17    5.  Rename the "leave" variable names to "quit" to improve WinCE compatibility.
18        Reported by Giuseppe D'Angelo.
19    
20    6.  The PCRE_STARTLINE bit, indicating that a match can occur only at the start
21        of a line, was being set incorrectly in cases where .* appeared inside
22        atomic brackets at the start of a pattern, or where there was a subsequent
23        *PRUNE or *SKIP.
24    
25    7.  Improved instruction cache flush for POWER/PowerPC.
26        Patch by Daniel Richard G.
27    
28    
29    Version 8.31 06-July-2012
30    -------------------------
31    
32  1.  Fixing a wrong JIT test case and some compiler warnings.  1.  Fixing a wrong JIT test case and some compiler warnings.
33    
34  2.  Removed a bashism from the RunTest script.  2.  Removed a bashism from the RunTest script.
35    
36  3.  Add a cast to pcre_exec.c to fix the warning "unary minus operator applied  3.  Add a cast to pcre_exec.c to fix the warning "unary minus operator applied
37      to unsigned type, result still unsigned" that was given by an MS compiler      to unsigned type, result still unsigned" that was given by an MS compiler
38      on encountering the code "-sizeof(xxx)".      on encountering the code "-sizeof(xxx)".
39    
40  4.  Partial matching support is added to the JIT compiler.  4.  Partial matching support is added to the JIT compiler.
41    
42  5.  Fixed several bugs concerned with partial matching of items that consist  5.  Fixed several bugs concerned with partial matching of items that consist
43      of more than one character:      of more than one character:
44    
45      (a) /^(..)\1/ did not partially match "aba" because checking references was      (a) /^(..)\1/ did not partially match "aba" because checking references was
46          done on an "all or nothing" basis. This also applied to repeated          done on an "all or nothing" basis. This also applied to repeated
47          references.          references.
48    
49      (b) \R did not give a hard partial match if \r was found at the end of the      (b) \R did not give a hard partial match if \r was found at the end of the
50          subject.          subject.
51    
52      (c) \X did not give a hard partial match after matching one or more      (c) \X did not give a hard partial match after matching one or more
53          characters at the end of the subject.          characters at the end of the subject.
54    
55      (d) When newline was set to CRLF, a pattern such as /a$/ did not recognize      (d) When newline was set to CRLF, a pattern such as /a$/ did not recognize
56          a partial match for the string "\r".          a partial match for the string "\r".
57    
58      (e) When newline was set to CRLF, the metacharacter "." did not recognize      (e) When newline was set to CRLF, the metacharacter "." did not recognize
59          a partial match for a CR character at the end of the subject string.          a partial match for a CR character at the end of the subject string.
60    
61  6.  If JIT is requested using /S++ or -s++ (instead of just /S+ or -s+) when  6.  If JIT is requested using /S++ or -s++ (instead of just /S+ or -s+) when
62      running pcretest, the text "(JIT)" added to the output whenever JIT is      running pcretest, the text "(JIT)" added to the output whenever JIT is
63      actually used to run the match.      actually used to run the match.
64    
65  7.  Individual JIT compile options can be set in pcretest by following -s+[+]  7.  Individual JIT compile options can be set in pcretest by following -s+[+]
66      or /S+[+] with a digit between 1 and 7.      or /S+[+] with a digit between 1 and 7.
67    
68  8.  OP_NOT now supports any UTF character not just single-byte ones.  8.  OP_NOT now supports any UTF character not just single-byte ones.
69    
70    9.  (*MARK) control verb is now supported by the JIT compiler.
71    
72    10. The command "./RunTest list" lists the available tests without actually
73        running any of them. (Because I keep forgetting what they all are.)
74    
75    11. Add PCRE_INFO_MAXLOOKBEHIND.
76    
77    12. Applied a (slightly modified) user-supplied patch that improves performance
78        when the heap is used for recursion (compiled with --disable-stack-for-
79        recursion). Instead of malloc and free for each heap frame each time a
80        logical recursion happens, frames are retained on a chain and re-used where
81        possible. This sometimes gives as much as 30% improvement.
82    
83    13. As documented, (*COMMIT) is now confined to within a recursive subpattern
84        call.
85    
86    14. As documented, (*COMMIT) is now confined to within a positive assertion.
87    
88    15. It is now possible to link pcretest with libedit as an alternative to
89        libreadline.
90    
91    16. (*COMMIT) control verb is now supported by the JIT compiler.
92    
93    17. The Unicode data tables have been updated to Unicode 6.1.0.
94    
95    18. Added --file-list option to pcregrep.
96    
97    19. Added binary file support to pcregrep, including the -a, --binary-files,
98        -I, and --text options.
99    
100    20. The madvise function is renamed for posix_madvise for QNX compatibility
101        reasons. Fixed by Giuseppe D'Angelo.
102    
103    21. Fixed a bug for backward assertions with REVERSE 0 in the JIT compiler.
104    
105    22. Changed the option for creating symbolic links for 16-bit man pages from
106        -s to -sf so that re-installing does not cause issues.
107    
108    23. Support PCRE_NO_START_OPTIMIZE in JIT as (*MARK) support requires it.
109    
110    24. Fixed a very old bug in pcretest that caused errors with restarted DFA
111        matches in certain environments (the workspace was not being correctly
112        retained). Also added to pcre_dfa_exec() a simple plausibility check on
113        some of the workspace data at the beginning of a restart.
114    
115    25. \s*\R was auto-possessifying the \s* when it should not, whereas \S*\R
116        was not doing so when it should - probably a typo introduced by SVN 528
117        (change 8.10/14).
118    
119    26. When PCRE_UCP was not set, \w+\x{c4} was incorrectly auto-possessifying the
120        \w+ when the character tables indicated that \x{c4} was a word character.
121        There were several related cases, all because the tests for doing a table
122        lookup were testing for characters less than 127 instead of 255.
123    
124    27. If a pattern contains capturing parentheses that are not used in a match,
125        their slots in the ovector are set to -1. For those that are higher than
126        any matched groups, this happens at the end of processing. In the case when
127        there were back references that the ovector was too small to contain
128        (causing temporary malloc'd memory to be used during matching), and the
129        highest capturing number was not used, memory off the end of the ovector
130        was incorrectly being set to -1. (It was using the size of the temporary
131        memory instead of the true size.)
132    
133    28. To catch bugs like 27 using valgrind, when pcretest is asked to specify an
134        ovector size, it uses memory at the end of the block that it has got.
135    
136    29. Check for an overlong MARK name and give an error at compile time. The
137        limit is 255 for the 8-bit library and 65535 for the 16-bit library.
138    
139    30. JIT compiler update.
140    
141    31. JIT is now supported on jailbroken iOS devices. Thanks for Ruiger
142        Rill for the patch.
143    
144    32. Put spaces around SLJIT_PRINT_D in the JIT compiler. Required by CXX11.
145    
146    33. Variable renamings in the PCRE-JIT compiler. No functionality change.
147    
148    34. Fixed typos in pcregrep: in two places there was SUPPORT_LIBZ2 instead of
149        SUPPORT_LIBBZ2. This caused a build problem when bzip2 but not gzip (zlib)
150        was enabled.
151    
152    35. Improve JIT code generation for greedy plus quantifier.
153    
154    36. When /((?:a?)*)*c/ or /((?>a?)*)*c/ was matched against "aac", it set group
155        1 to "aa" instead of to an empty string. The bug affected repeated groups
156        that could potentially match an empty string.
157    
158    37. Optimizing single character iterators in JIT.
159    
160    38. Wide characters specified with \uxxxx in JavaScript mode are now subject to
161        the same checks as \x{...} characters in non-JavaScript mode. Specifically,
162        codepoints that are too big for the mode are faulted, and in a UTF mode,
163        disallowed codepoints are also faulted.
164    
165    39. If PCRE was compiled with UTF support, in three places in the DFA
166        matcher there was code that should only have been obeyed in UTF mode, but
167        was being obeyed unconditionally. In 8-bit mode this could cause incorrect
168        processing when bytes with values greater than 127 were present. In 16-bit
169        mode the bug would be provoked by values in the range 0xfc00 to 0xdc00. In
170        both cases the values are those that cannot be the first data item in a UTF
171        character. The three items that might have provoked this were recursions,
172        possessively repeated groups, and atomic groups.
173    
174    40. Ensure that libpcre is explicitly listed in the link commands for pcretest
175        and pcregrep, because some OS require shared objects to be explicitly
176        passed to ld, causing the link step to fail if they are not.
177    
178    41. There were two incorrect #ifdefs in pcre_study.c, meaning that, in 16-bit
179        mode, patterns that started with \h* or \R* might be incorrectly matched.
180    
181    
182  Version 8.30 04-February-2012  Version 8.30 04-February-2012
183  -----------------------------  -----------------------------

Legend:
Removed from v.926  
changed lines
  Added in v.997

  ViewVC Help
Powered by ViewVC 1.1.5