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

Diff of /code/trunk/ChangeLog

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

revision 585 by ph10, Wed Jan 12 17:21:11 2011 UTC revision 598 by ph10, Sat May 7 15:37:31 2011 UTC
# Line 1  Line 1 
1  ChangeLog for PCRE  ChangeLog for PCRE
2  ------------------  ------------------
3    
4  Version 8.12 12-Jan-2011  Version 8.13 30-Apr-2011
5    ------------------------
6    
7    1.  The Unicode data tables have been updated to Unicode 6.0.0.
8    
9    2.  Two minor typos in pcre_internal.h have been fixed.
10    
11    3.  Added #include <string.h> to pcre_scanner_unittest.cc, pcrecpp.cc, and
12        pcrecpp_unittest.cc. They are needed for strcmp(), memset(), and strchr()
13        in some environments (e.g. Solaris 10/SPARC using Sun Studio 12U2).
14    
15    4.  There were a number of related bugs in the code for matching backrefences
16        caselessly in UTF-8 mode when codes for the characters concerned were
17        different numbers of bytes. For example, U+023A and U+2C65 are an upper
18        and lower case pair, using 2 and 3 bytes, respectively. The main bugs were:
19        (a) A reference to 3 copies of a 2-byte code matched only 2 of a 3-byte
20        code. (b) A reference to 2 copies of a 3-byte code would not match 2 of a
21        2-byte code at the end of the subject (it thought there wasn't enough data
22        left).
23    
24    5.  Comprehensive information about what went wrong is now returned by
25        pcre_exec() and pcre_dfa_exec() when the UTF-8 string check fails, as long
26        as the output vector has at least 2 elements. The offset of the start of
27        the failing character and a reason code are placed in the vector.
28    
29    6.  When the UTF-8 string check fails for pcre_compile(), the offset that is
30        now returned is for the first byte of the failing character, instead of the
31        last byte inspected. This is an incompatible change, but I hope it is small
32        enough not to be a problem. It makes the returned offset consistent with
33        pcre_exec() and pcre_dfa_exec().
34    
35    7.  pcretest now gives a text phrase as well as the error number when
36        pcre_exec() or pcre_dfa_exec() fails; if the error is a UTF-8 check
37        failure, the offset and reason code are output.
38    
39    
40    
41    Version 8.12 15-Jan-2011
42  ------------------------  ------------------------
43    
44  1.  Fixed some typos in the markup of the man pages, and wrote a script that  1.  Fixed some typos in the markup of the man pages, and wrote a script that
45      checks for such things as part of the documentation building process.      checks for such things as part of the documentation building process.
46    
47  2.  On a big-endian 64-bit system, pcregrep did not correctly process the  2.  On a big-endian 64-bit system, pcregrep did not correctly process the
48      --match-limit and --recursion-limit options (added for 8.11). In      --match-limit and --recursion-limit options (added for 8.11). In
49      particular, this made one of the standard tests crash. (The integer value      particular, this made one of the standard tests fail. (The integer value
50      went into the wrong half of a long int.)      went into the wrong half of a long int.)
51    
52  3.  If the --colour option was given to pcregrep with -v (invert match), it  3.  If the --colour option was given to pcregrep with -v (invert match), it
53      did strange things, either producing crazy output, or crashing. It should,      did strange things, either producing crazy output, or crashing. It should,
54      of course, ignore a request for colour when reporting lines that do not      of course, ignore a request for colour when reporting lines that do not
55      match.      match.
56    
57    4.  Another pcregrep bug caused similar problems if --colour was specified with
58        -M (multiline) and the pattern match finished with a line ending.
59    
60    5.  In pcregrep, when a pattern that ended with a literal newline sequence was
61        matched in multiline mode, the following line was shown as part of the
62        match. This seems wrong, so I have changed it.
63    
64    6.  Another pcregrep bug in multiline mode, when --colour was specified, caused
65        the check for further matches in the same line (so they could be coloured)
66        to overrun the end of the current line. If another match was found, it was
67        incorrectly shown (and then shown again when found in the next line).
68    
69    7.  If pcregrep was compiled under Windows, there was a reference to the
70        function pcregrep_exit() before it was defined. I am assuming this was
71        the cause of the "error C2371: 'pcregrep_exit' : redefinition;" that was
72        reported by a user. I've moved the definition above the reference.
73    
74    
75  Version 8.11 10-Dec-2010  Version 8.11 10-Dec-2010

Legend:
Removed from v.585  
changed lines
  Added in v.598

  ViewVC Help
Powered by ViewVC 1.1.5