Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | | | preg_replace() optimization | Dmitry Stogov | 2017-06-07 | 1 | -244/+566 | |
| | | | ||||||
* | | | Avoid string reallocations in preg_quote() | Dmitry Stogov | 2017-06-06 | 1 | -26/+73 | |
| | | | ||||||
* | | | PCRE_EXTRA_MARK is useful only for preg_replace_callbakc(). | Dmitry Stogov | 2017-06-02 | 1 | -5/+10 | |
| | | | | | | | | | | | | Removed branch expectations. | |||||
* | | | Added support for PCRE JIT fast path API | Dmitry Stogov | 2017-06-02 | 1 | -10/+69 | |
| | | | ||||||
* | | | Avoid double copying | Dmitry Stogov | 2017-05-31 | 1 | -16/+13 | |
| | | | ||||||
* | | | Don't allocate empty strings, use single interned string instead. | Dmitry Stogov | 2017-05-30 | 1 | -17/+49 | |
| | | | ||||||
* | | | add PREG_UNMATCHED_AS_NULL flag to allow distinguish between unmatched ↵ | Nicolas Grekas | 2017-05-29 | 1 | -29/+37 | |
| | | | | | | | | | | | | subpatterns and empty matches | |||||
* | | | Don't separate output arguments | Dmitry Stogov | 2017-05-23 | 1 | -5/+5 | |
| | | | ||||||
* | | | Merge branch 'pull-request/1303' | Joe Watkins | 2017-01-06 | 1 | -16/+48 | |
|\ \ \ | | | | | | | | | | | | | | | | | | | | | * pull-request/1303: Distinguish between unmatched subpatterns and empty matches in preg_*() news entry for PR #1303 | |||||
| * | | | changed preg_*() to yield NULL instead of '' for unset substrings | Christoph M. Becker | 2015-05-23 | 1 | -16/+48 | |
| | | | | ||||||
* | | | | Update copyright headers to 2017 | Sammy Kaye Powers | 2017-01-02 | 1 | -1/+1 | |
| | | | | ||||||
* | | | | Merge branch 'PHP-7.1' | Christoph M. Becker | 2016-11-26 | 1 | -5/+5 | |
|\ \ \ \ | | |/ / | |/| | | ||||||
| * | | | Merge branch 'PHP-7.0' into PHP-7.1 | Christoph M. Becker | 2016-11-26 | 1 | -5/+5 | |
| |\ \ \ | | | |/ | | |/| | ||||||
| | * | | Fix #73612: preg_*() may leak memory | Christoph M. Becker | 2016-11-26 | 1 | -5/+5 | |
| | | | | | | | | | | | | | | | | | | | | We have to make sure that collectible zvals end up in the GC root buffer, to avoid memory leaks. | |||||
* | | | | Removed not used field | Xinchen Hui | 2016-11-20 | 1 | -1/+0 | |
|/ / / | ||||||
* | | | Merge branch 'PHP-7.0' into PHP-7.1 | Xinchen Hui | 2016-11-20 | 1 | -32/+65 | |
|\ \ \ | |/ / | | | | | | | | | | | | | | | | | | | | | | | | | * PHP-7.0: Fixed bug #73483 (Segmentation fault on pcre_replace_callback) Fix #73219 (fix acinclude when / is present) make it possible to show specific help pages without interactive session Conflicts: acinclude.m4 | |||||
| * | | Fixed bug #73483 (Segmentation fault on pcre_replace_callback) | Xinchen Hui | 2016-11-20 | 1 | -32/+65 | |
| | | | ||||||
* | | | Merge branch 'PHP-7.0' into PHP-7.1 | Xinchen Hui | 2016-10-28 | 1 | -5/+3 | |
|\ \ \ | |/ / | | | | | | | | | | * PHP-7.0: Fixed bug #73392 (A use-after-free in zend allocator management) | |||||
| * | | Fixed bug #73392 (A use-after-free in zend allocator management) | Xinchen Hui | 2016-10-28 | 1 | -5/+3 | |
| | | | ||||||
| * | | rename publicly exposed symbol to avoid name conflicts | Anatol Belski | 2016-10-13 | 1 | -3/+3 | |
| | | | ||||||
| * | | Fix potential overflows in php_pcre_replace_impl | Stanislav Malyshev | 2016-10-12 | 1 | -18/+16 | |
| | | | ||||||
* | | | Normalize preg_replace_callback() return value | Nikita Popov | 2016-10-15 | 1 | -1/+1 | |
| | | | | | | | | | | | | | | | One particular error case was returning the argument without casting to string. | |||||
* | | | rename publicly exposed symbol to avoid name conflicts | Anatol Belski | 2016-10-14 | 1 | -3/+3 | |
| | | | | | | | | | | | | (cherry picked from commit 730288ae41fe0d40d00b27174b558cf260b1a7df) | |||||
* | | | Fix potential overflows in php_pcre_replace_impl | Stanislav Malyshev | 2016-10-14 | 1 | -18/+16 | |
| | | | | | | | | | | | | (cherry picked from commit 9c50ba42d6503a5fcfffad6c6823a9bee0e033c0) | |||||
* | | | Merge branch 'PHP-7.0' into PHP-7.1 | Anatol Belski | 2016-09-23 | 1 | -9/+15 | |
|\ \ \ | |/ / | | | | | | | | | | * PHP-7.0: Fix bug #73121 Bundled PCRE doesn't compile because JIT isn't supported on s390 | |||||
| * | | Fix bug #73121 Bundled PCRE doesn't compile because JIT isn't supported on s390 | Anatol Belski | 2016-09-23 | 1 | -9/+15 | |
| | | | ||||||
* | | | Merge branch 'PHP-7.0' into PHP-7.1 | Andrea Faulds | 2016-09-11 | 1 | -58/+0 | |
|\ \ \ | |/ / | ||||||
| * | | Remove zpp fallback code (always use Fast ZPP) | Andrea Faulds | 2016-09-11 | 1 | -58/+0 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Squashed commit of the following: commit 3e27fbb3d22b42d181e15c345f1c59a007b6b58c Author: Andrea Faulds <ajf@ajf.me> Date: Sun Sep 11 19:14:37 2016 +0100 Keep dummy FAST_ZPP macro for compatibility commit 8a7cfd00deaa4a3c5026c97580c49c886c72a5b4 Author: Andrea Faulds <ajf@ajf.me> Date: Mon Sep 5 22:36:03 2016 +0100 Remove FAST_ZPP macro and plain zpp fallback code | |||||
* | | | Merge branch 'PHP-7.0' into PHP-7.1 | Stanislav Malyshev | 2016-09-05 | 1 | -0/+1 | |
|\ \ \ | |/ / | | | | | | | | | | * PHP-7.0: Implement #47456: Missing PCRE option 'J' | |||||
| * | | Merge branch 'PHP-5.6' into PHP-7.0 | Stanislav Malyshev | 2016-09-05 | 1 | -0/+1 | |
| |\ \ | | | | | | | | | | | | | | | | | * PHP-5.6: Implement #47456: Missing PCRE option 'J' | |||||
| | * | | Implement #47456: Missing PCRE option 'J' | Christoph M. Becker | 2016-09-05 | 1 | -0/+1 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | While it is possible to force the same behavior by setting the internal option (?J), having a dedicated modifier appears to be useful. After all, J is even listed on the "Pattern Modifiers" man page[1], but the description referrs to (?J). [1] <http://php.net/manual/en/reference.pcre.pattern.modifiers.php> | |||||
* | | | | Merge branch 'PHP-7.0' into PHP-7.1 | Anatol Belski | 2016-08-29 | 1 | -0/+5 | |
|\ \ \ \ | |/ / / | | | | | | | | | | | | | * PHP-7.0: fix possible memory leak | |||||
| * | | | fix possible memory leak | Anatol Belski | 2016-08-29 | 1 | -0/+5 | |
| | | | | ||||||
* | | | | Merge branch 'PHP-7.0' into PHP-7.1 | Christoph M. Becker | 2016-07-27 | 1 | -1/+1 | |
|\ \ \ \ | |/ / / | ||||||
| * | | | Merge branch 'PHP-5.6' into PHP-7.0 | Christoph M. Becker | 2016-07-27 | 1 | -1/+1 | |
| |\ \ \ | | |/ / | | | | | | | | | | | | | # Resolved conflicts: # ext/pcre/php_pcre.c | |||||
| | * | | Fix #72688: preg_match missing group names in matches | Christoph M. Becker | 2016-07-27 | 1 | -1/+1 | |
| | | | | | | | | | | | | | | | | We have to multiply with 0x100 to properly scale the high byte. | |||||
* | | | | Merge branch 'PHP-7.0' | Xinchen Hui | 2016-06-23 | 1 | -1/+1 | |
|\ \ \ \ | |/ / / | | | | | | | | | | | | | * PHP-7.0: Fixed bug #72476 (Memleak in jit_stack) | |||||
| * | | | Fixed bug #72476 (Memleak in jit_stack) | Xinchen Hui | 2016-06-23 | 1 | -1/+1 | |
| | | | | ||||||
* | | | | Merge branch 'PHP-7.0' | Anatol Belski | 2016-06-22 | 1 | -1/+1 | |
|\ \ \ \ | |/ / / | | | | | | | | | | | | | * PHP-7.0: Fixed bug #72463 mail fails with invalid argument | |||||
| * | | | Fixed bug #72463 mail fails with invalid argument | Anatol Belski | 2016-06-22 | 1 | -1/+1 | |
| | | | | ||||||
| * | | | Revert "Revert "fix #72143 (preg_replace uses int instead of size_t on ↵ | Xinchen Hui | 2016-05-16 | 1 | -2/+2 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | zend_string_allocs)"" obviously I read the change is in argument lists by mistake :< This reverts commit 9e7afa75140afd047cb95280a610cff9368a7517. | |||||
| * | | | Revert "fix #72143 (preg_replace uses int instead of size_t on ↵ | Xinchen Hui | 2016-05-16 | 1 | -2/+2 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | zend_string_allocs)" ABI break This reverts commit fb951553be0175712f4b757e05004110d7421e04. | |||||
| * | | | fix #72143 (preg_replace uses int instead of size_t on zend_string_allocs) | Joe Watkins | 2016-05-14 | 1 | -2/+2 | |
| | | | | ||||||
* | | | | fix #72143 (preg_replace uses int instead of size_t on zend_string_allocs) | Joe Watkins | 2016-05-14 | 1 | -2/+2 | |
| | | | | ||||||
* | | | | Simplified condition | Dmitry Stogov | 2016-04-29 | 1 | -1/+1 | |
|/ / / | ||||||
* | | | if there's no JIT support, no RINIT is really needed | Anatol Belski | 2016-03-22 | 1 | -2/+6 | |
| | | | ||||||
* | | | decrease the default PCRE JIT stack to 64K | Anatol Belski | 2016-03-21 | 1 | -1/+1 | |
| | | | ||||||
* | | | Increase PCRE JIT stack size | Anatol Belski | 2016-03-21 | 1 | -1/+34 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | It is done by implementing the custom stack usage. This makes the JIT with mode on more compatible with the JIT mode off. Until now, the default PCRE JIT stack was used which is 32kb big by default. There are situations where some patterns would fail with JIT while working correctly without JIT. The starting size of the JIT stack is still set to 32kb, while the max is set to the permissive 256kb (and can be increased up to 1mb). As until now no suchlike bugs regarding JIT were reported, it is expected, that the stack usage will stay by 32kb in most cases. Though providing the custom stack, applications will have more room for some sporadic stack increase, thus more compatibility. | |||||
* | | | Fix bug #71659 | Nikita Popov | 2016-03-09 | 1 | -24/+4 | |
| | | | ||||||
* | | | Fixed bug #71537 (PCRE segfault from Opcache) | Xinchen Hui | 2016-02-07 | 1 | -6/+8 | |
| | | |