Commit Graph

141 Commits

Author SHA1 Message Date
ph10
201a0469e7 Add PCRE2_NO_DOTSTAR_ANCHOR and revise documentation for .* optimizing. 2015-01-02 17:09:16 +00:00
ph10
b445542d98 Ensure that the function op_recurse_ovecsave is not inlined when compiled by
gcc.
2014-12-31 11:15:03 +00:00
ph10
27a97f9768 Improvements for substring handling with partial matches. 2014-12-22 17:33:10 +00:00
ph10
35100cae9b File tidies for 10.00-RC2. 2014-12-19 09:55:25 +00:00
ph10
41f299dd6b Small code tidy. 2014-12-15 11:17:05 +00:00
ph10
dc005bc72d Update and improve substring handling and its documentation. 2014-12-14 17:17:06 +00:00
ph10
9f6530cd43 Improve interfaces to substring functions, and fix bugs. 2014-12-13 17:43:26 +00:00
ph10
ba048c8187 (1) uint32_t for substring number args; (2) correct PRIV(memctl_malloc)
definition for Windows; (3) remove unwanted PCRE2_EXP_DATA_DEFN; (4) 
documentation updates.
2014-12-01 16:14:53 +00:00
zherczeg
d7aa0909d8 Next attempt to fix the previous bug. 2014-11-30 10:05:41 +00:00
zherczeg
00a5daca88 Fix jit_callback check in JIT. 2014-11-30 10:01:49 +00:00
ph10
a4150595ad File tidies for 10.00-RC1. 2014-11-28 13:58:17 +00:00
ph10
5472530943 Use allocator from code for pcre2_match_data_create_from_pattern if NULL
passed.
2014-11-28 13:23:40 +00:00
ph10
b2bf3b6953 Move context argument to last in pcre2_jit_stack_create(). 2014-11-28 12:46:16 +00:00
ph10
c812b920a3 Add user data to recursion guard; get ready for RC1 (again) 2014-11-26 16:51:53 +00:00
ph10
5f9ad579dc Change callouts to pass the user data as a separate argument. 2014-11-25 17:35:01 +00:00
ph10
292c9799e1 Tidy up API for pcre2_config. 2014-11-25 11:55:07 +00:00
zherczeg
e0262f4e51 Move all offset initialization to one place. 2014-11-25 09:06:27 +00:00
ph10
179b95e196 Final preparations for 10.00-RC1 2014-11-24 15:31:28 +00:00
ph10
e8653da07b More documentation and test updates. 2014-11-23 18:38:38 +00:00
ph10
62992d3543 More documentation and file tidies. 2014-11-21 16:45:06 +00:00
ph10
efe1752d53 Add additional tests and fix some compiler warnings; update stack information. 2014-11-21 12:19:37 +00:00
ph10
0323944f8a Eliminate a compiler warning. 2014-11-20 17:39:28 +00:00
ph10
a471ef8af3 Fix zero-repeated assertion-as-condition bug. 2014-11-19 11:17:20 +00:00
ph10
5d06573086 Eliminate compiler warning 2014-11-18 18:31:39 +00:00
ph10
292361778a Further substitution tests (code and data), and more documentation. 2014-11-14 18:41:20 +00:00
ph10
6ffd7dd60d Get rid of remaining FIXMEs in the code; implement JIT compile timing. 2014-11-12 17:46:02 +00:00
ph10
ae8f966fa6 Substitution tests and documentation. 2014-11-12 16:57:56 +00:00
ph10
460db64b18 Substitute code update and documentation. 2014-11-11 16:51:07 +00:00
ph10
7463e46ee4 Config returns code unit count for strings - didn't always. 2014-11-11 10:50:31 +00:00
ph10
c0387392c1 Typos in non-JIT compile mode. 2014-11-11 10:21:23 +00:00
ph10
bb0ed6389e Code for pcre2_substitute(), and tests. 2014-11-11 10:19:23 +00:00
zherczeg
233a8e8dad JIT compiler update. 2014-11-09 07:23:55 +00:00
ph10
7dd909584e Preliminary substitute function (not yet tested or documented). 2014-11-08 16:09:24 +00:00
ph10
9b3d0814fc Finish off changes of JIT stack assignment 2014-11-08 16:07:30 +00:00
zherczeg
a1b54f2f2e Remove pcre2_jit_stack argument from jit_match. 2014-11-07 12:12:52 +00:00
zherczeg
cb414eb732 The pcre2_jit_stack_assign is changed to use the matching context. 2014-11-06 14:37:09 +00:00
ph10
b3e8a9f1aa Fix bug for (*ACCEPT) inside a capturing group. 2014-11-05 16:05:19 +00:00
ph10
2fe64ff926 Make --enable-unicode the default. 2014-11-03 18:27:56 +00:00
ph10
09deb5ee68 Changed jit_stack_alloc to jit_stack_create. 2014-11-03 17:13:00 +00:00
ph10
a7c108fd89 Add tests for JIT fast path. 2014-11-02 15:34:31 +00:00
ph10
1f1f13ba7c Recognize '-' as standard input in pcre2test. 2014-10-31 15:57:47 +00:00
ph10
70f376de32 Improve test coverage; minor typo in JIT test and other minor buglets fixed. 2014-10-31 12:34:34 +00:00
ph10
5a946255b8 Convert the special "EBCDIC on an ASCII system" test. 2014-10-26 18:00:19 +00:00
ph10
2ecf05bf12 Remove some unused code and a spurious comment and reword one message. 2014-10-25 14:28:43 +00:00
ph10
3f4790b54e More per-function documentation; revised perltest.sh replaces perltest.pl. 2014-10-25 14:16:46 +00:00
ph10
ffc2cf7fd8 A lot more documentation. 2014-10-21 16:33:30 +00:00
ph10
8af601505d Tidy a lot of files (remove trailing spaces) 2014-10-20 17:28:49 +00:00
ph10
323a12fd52 Change --enable-pcre8 etc to --enable-pcre2-8 etc and consequent changes;
change "pcre" to "pcre2" in a number of files.
2014-10-17 15:52:57 +00:00
ph10
1ef5c470fc Update pcre2_pattern_info to return a length if "where" is NULL. 2014-10-16 16:49:23 +00:00
ph10
3b77d7f329 Remove length argument from pcre2_config; give width if where==NULL. 2014-10-15 16:44:12 +00:00