#
ce85d0f2 |
| 15-Nov-2017 |
Anatol Belski |
Add missing ifdef
|
#
691a5a9c |
| 14-Nov-2017 |
Anatol Belski |
Initialize jit global
|
#
91407fb8 |
| 14-Nov-2017 |
Anatol Belski |
Fix wrong return
|
#
13696d7a |
| 14-Nov-2017 |
Anatol Belski |
Use already available pattern length, fix signedness warnings
|
#
0d133239 |
| 14-Nov-2017 |
Anatol Belski |
Fix UTF check in pcre_grep In this case it loops through different subjects without looking for sub matches and matches are done against the same pattern. Thus, don't reset the UTF c
Fix UTF check in pcre_grep In this case it loops through different subjects without looking for sub matches and matches are done against the same pattern. Thus, don't reset the UTF check flag but use it to check whether JIT should be used and otherwise let PCRE to do the job according to what was saved into the pattern.
show more ...
|
#
3c241ea3 |
| 14-Nov-2017 |
Anatol Belski |
Fix uninitialized flag when JIT is disabled
|
#
266f19ba |
| 14-Nov-2017 |
Xinchen Hui |
Added PCRE_JIT_SUPPORT flag
|
#
e8ac7d8d |
| 13-Nov-2017 |
Anatol Belski |
Fix calculation as sync with 48cee6d1
|
#
81dd6de3 |
| 13-Nov-2017 |
Dmitry Stogov |
Eliminated redundand code
|
#
48cee6d1 |
| 13-Nov-2017 |
Dmitry Stogov |
We don't need to calculate size of offset array, because pcre2_match_data_create() already takes size in pairs.
|
#
f4edd089 |
| 13-Nov-2017 |
Anatol Belski |
Put hardcoded value into macro
|
#
a5bc5aed |
| 12-Oct-2017 |
Anatol Belski |
Patch core for PCRE2 support RFC https://wiki.php.net/rfc/pcre2-migration
|
#
f5664a14 |
| 01-Nov-2017 |
Dmitry Stogov |
PCRE cache is "thread-local"
|
#
a8a17a72 |
| 01-Nov-2017 |
Xinchen Hui |
RC manipulation cleanup
|
#
160f6d62 |
| 31-Oct-2017 |
Dmitry Stogov |
single check is enough
|
#
2e839246 |
| 31-Oct-2017 |
Dmitry Stogov |
Added zend_hash_add_new_mem/zend_hash_str_add_new_mem. Use them to add new elements into PCRE cache (we checked the existance before).
|
Revision tags: php-7.1.11RC1, php-7.2.0RC4, php-7.0.25RC1, php-7.1.10, php-7.2.0RC3, php-7.0.24, php-7.2.0RC2, php-7.1.10RC1, php-7.0.24RC1, php-7.1.9, php-7.2.0RC1, php-7.0.23 |
|
#
ef90e37b |
| 18-Aug-2017 |
Dmitry Stogov |
Fixed bug #75089 (preg_grep() is not reporting PREG_BAD_UTF8_ERROR after first input string)
|
Revision tags: php-7.1.9RC1, php-7.2.0beta3, php-7.0.23RC1, php-7.1.8, php-7.2.0beta2, php-7.0.22, php-7.1.8RC1, php-7.2.0beta1, php-7.0.22RC1 |
|
#
8a287c0e |
| 11-Jul-2017 |
Anatol Belski |
Upgrade bundled PCRE to 8.41 HEADSUP! With PCRE 8.39 the JIT related code was changed in the way, that additional valgrind options became almost unavoidable. Valgrind had it already
Upgrade bundled PCRE to 8.41 HEADSUP! With PCRE 8.39 the JIT related code was changed in the way, that additional valgrind options became almost unavoidable. Valgrind had it already sometimes hard with JIT, now there are seem to be more cases requiring special valgrind options. For this reason, the new configure option --with-pcre-valgrind was introduced. The option is development/debugging only and turns on the Valgrind related pieces in PCRE, so then false positives are avoided to the big part. In addition, run-tests.php was added a new valgrind option, when the leak check is enabled and the test filepath contains pcre. Thus, to debug the code related to PCRE with JIT enabled, two things would likely make sense - configure --with-pcre-valgrind - valgrind option --smc-check=all if run-tests.php is not used The checks so far reveal no new issues.
show more ...
|
#
29653da3 |
| 07-Jul-2017 |
Dmitry Stogov |
Fixed bug #74873 (Minor BC break: PCRE_JIT changes output of preg_match()).
|
Revision tags: php-5.6.31, php-7.0.21, php-7.1.7, php-7.2.0alpha3 |
|
#
f626a783 |
| 27-Jun-2017 |
Dmitry Stogov |
Avoid string duplication in preg_split()
|
#
035a27cb |
| 25-Jun-2017 |
Nikita Popov |
Only compute callback name in error cases Mostly the callback name is only used to report an error. Try to avoid calculating it if no error occurred.
|
Revision tags: php-7.1.7RC1, php-7.0.21RC1, php-7.2.0alpha2 |
|
#
71daef93 |
| 07-Jun-2017 |
Dmitry Stogov |
preg_replace() optimization
|
Revision tags: php-7.1.6, php-7.2.0alpha1 |
|
#
81a6ee9a |
| 06-Jun-2017 |
Dmitry Stogov |
Avoid string reallocations in preg_quote()
|
Revision tags: php-7.0.20 |
|
#
4f947e1f |
| 02-Jun-2017 |
Dmitry Stogov |
PCRE_EXTRA_MARK is useful only for preg_replace_callbakc(). Removed branch expectations.
|
#
8dc6b410 |
| 02-Jun-2017 |
Dmitry Stogov |
Added support for PCRE JIT fast path API
|