Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Remove superfluous SKIPIF sections of always available functions | Gabriel Caruso | 2018-07-29 | 2 | -5/+0 |
| | |||||
* | Trim trailing whitespaces in build files | Peter Kokot | 2018-07-29 | 1 | -1/+1 |
| | | | | | | | | Some editors utilizing .editorconfig automatically trim whitespaces. For convenience this patch removes whitespaces in certain build files: - ext/*/config*.m4 - configure.ac - acinclude.m4 | ||||
* | Remove extra semicolons | Gabriel Caruso | 2018-07-25 | 2 | -2/+2 |
| | |||||
* | Fix typos in code comments | Peter Kokot | 2018-07-25 | 1 | -1/+1 |
| | |||||
* | Remove unused Git attributes ident | Peter Kokot | 2018-07-25 | 4 | -8/+1 |
| | | | | | | | | | | | | | | | The $Id$ keywords were used in Subversion where they can be substituted with filename, last revision number change, last changed date, and last user who changed it. In Git this functionality is different and can be done with Git attribute ident. These need to be defined manually for each file in the .gitattributes file and are afterwards replaced with 40-character hexadecimal blob object name which is based only on the particular file contents. This patch simplifies handling of $Id$ keywords by removing them since they are not used anymore. | ||||
* | Removed redundand code | Dmitry Stogov | 2018-07-19 | 1 | -21/+0 |
| | |||||
* | Matching loops optimization | Dmitry Stogov | 2018-07-19 | 1 | -156/+233 |
| | |||||
* | Micro optimizations | Dmitry Stogov | 2018-07-19 | 1 | -28/+36 |
| | |||||
* | Reorder conditions | Dmitry Stogov | 2018-07-18 | 1 | -44/+66 |
| | |||||
* | Move "/e" modifier check into regex compiler | Dmitry Stogov | 2018-07-18 | 1 | -10/+12 |
| | |||||
* | Merge "no_utf_check" and "g_notempty" into single "options". | Dmitry Stogov | 2018-07-18 | 1 | -65/+52 |
| | |||||
* | Mark conditions unexpected | Anatol Belski | 2018-07-11 | 1 | -2/+2 |
| | |||||
* | Reduce error buffer size | Anatol Belski | 2018-07-05 | 1 | -1/+1 |
| | | | | 120 bytes is ample, the doc says. | ||||
* | Check return value of pcre2_maketables() | Anatol Belski | 2018-06-29 | 1 | -0/+7 |
| | |||||
* | Remove obsolete version checks in tests | Anatol Belski | 2018-06-22 | 3 | -14/+0 |
| | |||||
* | If there's no setlocale, char tables are not used | Anatol Belski | 2018-06-22 | 1 | -0/+2 |
| | |||||
* | Don't discard char tables just generated | Anatol Belski | 2018-06-22 | 1 | -10/+1 |
| | |||||
* | Improve locale character tables handling and reduce pattern cache size | Anatol Belski | 2018-06-22 | 1 | -15/+26 |
| | | | | | | | | | | | | If a locale other than C is active, character tables are saved into the compile context. Every compiled pattern will have a pointer to the character table, that was present in the context at the time of the pattern compilation. Thus, the cache entries don't need to carry char tables pointer, which reduces their size to 8 bytes on 64-bit. Instead, the generated character tables are tracked in a separate HashTable. If a character table was generated before, it'll be assigned to the compile context when the locale changes. Otherwise a new char table will be generated and cached. | ||||
* | Fixed bug #76514 Regression in preg_match makes it fail with ↵ | Anatol Belski | 2018-06-22 | 2 | -1/+543 |
| | | | | | | | PREG_JIT_STACKLIMIT_ERROR Looks like some patterns might require more stack for JIT execution. It is a regression, as the same pattern was passing using JIT. | ||||
* | Fix line endings in new PHPT | Christoph M. Becker | 2018-06-22 | 1 | -10/+10 |
| | |||||
* | Fix #76512: \w no longer includes unicode characters | Christoph M. Becker | 2018-06-21 | 3 | -18/+14 |
| | | | | | | | | The migration from PCRE to PCRE2 missed to rename once occurrence of `PCRE_UCP` to `PCRE2_UCP`. We fix that. We also revert the changes to bug52971.phpt which had been incorrectly made in commit a5bc5ae[1]. [1] <http://git.php.net/?p=php-src.git;a=commit;h=a5bc5aed71f7a15f14f33bb31b8e17bf5f327e2d> | ||||
* | Use zend_string_release_ex() instread of zend_string_release() in places, ↵ | Dmitry Stogov | 2018-05-28 | 1 | -23/+23 |
| | | | | where we sure about string persistence. | ||||
* | Switch to more robust config for external pcre2 | Anatol Belski | 2018-04-26 | 1 | -43/+29 |
| | | | | | | | For the standard layout the first option is pkg-config. Otherwise, pcre2-config is used, which is produced by a manual installation into a prefix. This removes the most of the hackish pieces like checking for the lib filenames and parsing headers. | ||||
* | Fix regex | Anatol Belski | 2018-04-25 | 1 | -2/+2 |
| | |||||
* | Revamp pcre config for build with external lib | Anatol Belski | 2018-04-25 | 1 | -13/+31 |
| | | | | | | | - support multiarch in addition to the usual lib path - fix symbol checks - fix jit availability check - exit early on unsupported version | ||||
* | Fix lib names for build with external libpcre2 | Anatol Belski | 2018-04-24 | 1 | -2/+2 |
| | |||||
* | remove support for string|unicode in tests | Gabriel Caruso | 2018-02-22 | 1 | -4/+4 |
| | |||||
* | Use EXPECT instead of EXPECTF when possible | Gabriel Caruso | 2018-02-20 | 18 | -18/+18 |
| | | | | EXPECTF logic in run-tests.php is considerable, so let's avoid it. | ||||
* | Reduce var scope | Anatol Belski | 2018-02-17 | 1 | -1/+2 |
| | |||||
* | Upgrade bundled PCRE2 to 10.31 | Anatol Belski | 2018-02-14 | 39 | -3173/+4890 |
| | |||||
* | Remove trailing whitespace in inc files | Gabriel Caruso | 2018-02-10 | 1 | -1/+1 |
| | |||||
* | Use int instead of integer in type errors | Gabriel Caruso | 2018-02-04 | 3 | -8/+8 |
| | | | | | | | PHP requires integer typehints to be written "int" and does not allow "integer" as an alias. This changes type error messages to match the actual type name and avoids confusing messages like "must be of the type integer, integer given". | ||||
* | Use %d when expecting line number in tests | Gabriel Caruso | 2018-02-02 | 1 | -1/+1 |
| | |||||
* | Trailing whitespaces on ext/* | Gabriel Caruso | 2018-01-04 | 1 | -1/+1 |
| | | | | Signed-off-by: Gabriel Caruso <carusogabriel34@gmail.com> | ||||
* | Trailing whitespaces | Gabriel Caruso | 2018-01-03 | 6 | -13/+13 |
| | | | | Signed-off-by: Gabriel Caruso <carusogabriel34@gmail.com> | ||||
* | year++ | Xinchen Hui | 2018-01-02 | 2 | -2/+2 |
| | |||||
* | Use zend_hash_find() instead of zend_hash_find_ptr() to avoid double check | Dmitry Stogov | 2017-12-27 | 1 | -8/+6 |
| | |||||
* | Fixed bug #75355: preg_quote() does not quote # control character | Michael Moravec | 2017-12-16 | 2 | -0/+17 |
| | |||||
* | Merge branch 'PHP-7.2' | Anatol Belski | 2017-12-05 | 1 | -1/+1 |
|\ | | | | | | | | | * PHP-7.2: Fix use after free revealed by phpdbg | ||||
| * | Merge branch 'PHP-7.1' into PHP-7.2 | Anatol Belski | 2017-12-05 | 1 | -1/+1 |
| |\ | | | | | | | | | | | | | * PHP-7.1: Fix use after free revealed by phpdbg | ||||
| | * | Fix use after free revealed by phpdbg | Anatol Belski | 2017-12-05 | 1 | -1/+1 |
| | | | |||||
| | * | Fixed bug #75601 Thread race in PCRE JIT support | Anatol Belski | 2017-12-05 | 1 | -0/+18 |
| | | | |||||
| * | | Fixed bug #75601 Thread race in PCRE JIT support | Anatol Belski | 2017-12-05 | 1 | -0/+18 |
| | | | |||||
* | | | Fixed bug #75601 Thread race in PCRE JIT support | Anatol Belski | 2017-12-05 | 1 | -0/+19 |
| | | | |||||
* | | | Fix test | Anatol Belski | 2017-11-21 | 1 | -2/+1 |
| | | | |||||
* | | | Fix macro name | Anatol Belski | 2017-11-21 | 1 | -8/+8 |
| | | | |||||
* | | | Merge branch 'PHP-7.2' | Anatol Belski | 2017-11-21 | 3 | -0/+36 |
|\ \ \ | |/ / | | | | | | | | | | * PHP-7.2: Fixed #75539 and #74183 - preg_last_error not returning error code after error | ||||
| * | | Merge branch 'PHP-7.1' into PHP-7.2 | Anatol Belski | 2017-11-21 | 3 | -0/+36 |
| |\ \ | | |/ | | | | | | | | | | * PHP-7.1: Fixed #75539 and #74183 - preg_last_error not returning error code after error | ||||
| | * | Merge branch 'PHP-7.0' into PHP-7.1 | Anatol Belski | 2017-11-21 | 3 | -0/+36 |
| | |\ | | | | | | | | | | | | | | | | | * PHP-7.0: Fixed #75539 and #74183 - preg_last_error not returning error code after error | ||||
| | | * | Fixed #75539 and #74183 - preg_last_error not returning error code after error | Nester | 2017-11-21 | 3 | -0/+36 |
| | | | |