Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | | | Merge branch 'PHP-8.0' | Nikita Popov | 2021-03-18 | 2 | -1/+19 | |
|\ \ \ | |/ / | | | | | | | | | | * PHP-8.0: Fix locale switch back to C in pcre | |||||
| * | | Merge branch 'PHP-7.4' into PHP-8.0 | Nikita Popov | 2021-03-18 | 2 | -1/+19 | |
| |\ \ | | |/ | | | | | | | | | | * PHP-7.4: Fix locale switch back to C in pcre | |||||
| | * | Fix locale switch back to C in pcre | Nikita Popov | 2021-03-18 | 2 | -1/+19 | |
| | | | | | | | | | | | | | | | | | | The compile context is shared between patterns, so we need to set the character tables unconditionally in case we switched from a non-C locale to the C locale. | |||||
* | | | Deprecate OO style mysqli::get_client_info method | Dharman | 2021-03-17 | 5 | -4/+40 | |
| | | | | | | | | | | | | | | | | | | Deprecate passing connection object to mysqli_get_client_info() Closes GH-6777. | |||||
* | | | Merge branch 'PHP-8.0' | Dmitry Stogov | 2021-03-17 | 2 | -1/+112 | |
|\ \ \ | |/ / | | | | | | | | | | * PHP-8.0: Fixed bug #80861 (erronous array key overflow in 2D array with JIT) | |||||
| * | | Fixed bug #80861 (erronous array key overflow in 2D array with JIT) | Dmitry Stogov | 2021-03-17 | 2 | -1/+112 | |
| | | | ||||||
| * | | Fix signed/unsigned warnings in PDO ODBC | Nikita Popov | 2021-03-17 | 3 | -13/+15 | |
| | | | | | | | | | | | | | | | | | | Add add skipif to test. (cherry picked from commit aa58db723221ec891d4432621003bfa55dc15edf) | |||||
* | | | Implement enums | Ilija Tovilo | 2021-03-17 | 30 | -31/+1084 | |
| | | | | | | | | | | | | | | | | | | | | | | | | RFC: https://wiki.php.net/rfc/enumerations Co-authored-by: Nikita Popov <nikita.ppv@gmail.com> Closes GH-6489. | |||||
* | | | Use zend_string_equals() API instead of strcmp() in various places | George Peter Banyard | 2021-03-17 | 3 | -3/+3 | |
| | | | | | | | | | | | | Closes GH-6784 | |||||
* | | | Use zend_string_equals() API instead of strcmp() in COM extension | George Peter Banyard | 2021-03-17 | 1 | -3/+3 | |
| | | | ||||||
* | | | Use zend_string_equals() API instead of strcmp() in Date extension | George Peter Banyard | 2021-03-17 | 1 | -13/+14 | |
| | | | ||||||
* | | | Use zend_string_equals() API instead of strcmp() in Filter extension | George Peter Banyard | 2021-03-17 | 1 | -3/+3 | |
| | | | ||||||
* | | | Use zend_string_equals() API instead of strcmp() in PGSQL extension | George Peter Banyard | 2021-03-17 | 1 | -50/+50 | |
| | | | | | | | | | | | | And tiny drive by refactor at the same time for more usages | |||||
* | | | Use zend_string_equals() API instead of strcmp() in SOAP extension | George Peter Banyard | 2021-03-17 | 2 | -4/+4 | |
| | | | ||||||
* | | | Use absolute paths in tokenizer_data_gen.php | Nikita Popov | 2021-03-17 | 1 | -2/+3 | |
| | | | | | | | | | | | | To make it work with out-of-tree builds. | |||||
* | | | Initalize return_value before use | Christoph M. Becker | 2021-03-17 | 2 | -0/+2 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Otherwise we likely segfault[1]. We fix the same issue for PDO_Firebird as well. [1] <https://ci.appveyor.com/project/php/php-src/builds/38267250/job/6y3ngn1k6ryxx6j3?fullLog=true#L9783> Closes GH-6785. | |||||
* | | | Merge branch 'PHP-8.0' | Nikita Popov | 2021-03-17 | 2 | -3/+3 | |
|\ \ \ | |/ / | | | | | | | | | | * PHP-8.0: imagecolortransparent() cannot return null | |||||
| * | | imagecolortransparent() cannot return null | Nikita Popov | 2021-03-17 | 2 | -3/+3 | |
| | | | ||||||
* | | | Merge branch 'PHP-8.0' | Nikita Popov | 2021-03-17 | 7 | -14/+14 | |
|\ \ \ | |/ / | | | | | | | | | | * PHP-8.0: Return bool from imageinterlace() | |||||
| * | | Return bool from imageinterlace() | Nikita Popov | 2021-03-17 | 7 | -14/+14 | |
| | | | | | | | | | | | | | | | | | | | | | The function accepts a bool since PHP 8.0, so it should also return a bool to keep things consistent. Furthermore a null return from this functions is not possible. | |||||
* | | | Merge branch 'PHP-8.0' | Dmitry Stogov | 2021-03-17 | 2 | -0/+43 | |
|\ \ \ | |/ / | | | | | | | | | | * PHP-8.0: Fixed bug #80839 (PHP problem with JIT) | |||||
| * | | Fixed bug #80839 (PHP problem with JIT) | Dmitry Stogov | 2021-03-17 | 2 | -0/+43 | |
| | | | ||||||
* | | | Merge branch 'PHP-8.0' | Christoph M. Becker | 2021-03-17 | 2 | -3/+26 | |
|\ \ \ | |/ / | | | | | | | | | | * PHP-8.0: Fix #66783: UAF when appending DOMDocument to element | |||||
| * | | Merge branch 'PHP-7.4' into PHP-8.0 | Christoph M. Becker | 2021-03-17 | 2 | -3/+26 | |
| |\ \ | | |/ | | | | | | | | | | * PHP-7.4: Fix #66783: UAF when appending DOMDocument to element | |||||
| | * | Fix #66783: UAF when appending DOMDocument to element | Christoph M. Becker | 2021-03-17 | 2 | -3/+26 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | According to the DOM standard, elements may only contain element, text, processing instruction and comment nodes[1]. It is also specified that a HierarchyRequestError should be thrown if a document is to be inserted[2]. We follow that standard, and prevent the use-after-free this way. [1] <https://dom.spec.whatwg.org/#node-trees> [2] <https://dom.spec.whatwg.org/#mutation-algorithms> Closes GH-6765. | |||||
* | | | Avoid unnecessary static_variables persistence | Nikita Popov | 2021-03-17 | 3 | -30/+32 | |
| | | | | | | | | | | | | | | | | | | | | | static_variables should be treated the same way as all other op_array components nowadays (only static_variables_ptr is special). There's no need to persist/serialize it is separately per shared op_array. | |||||
* | | | Simplify attribute persistence | Nikita Popov | 2021-03-17 | 1 | -27/+23 | |
| | | | | | | | | | | | | | | | For an inherited op_array, directly fetch the xlat entry, as we do for everything else. | |||||
* | | | Fix PDO test under libmysqlclient | Nikita Popov | 2021-03-17 | 1 | -2/+6 | |
| | | | ||||||
* | | | Declare PDORow::queryString property | Máté Kocsis | 2021-03-17 | 5 | -16/+26 | |
| | | | | | | | | | | | | Relates GH-6742 | |||||
* | | | Merge branch 'PHP-8.0' | Dmitry Stogov | 2021-03-17 | 3 | -59/+79 | |
|\ \ \ | |/ / | | | | | | | | | | * PHP-8.0: Fixed bug #80847 (CData structs with fields of type struct can't be passed as C function argument) | |||||
| * | | Fixed bug #80847 (CData structs with fields of type struct can't be passed ↵ | Dmitry Stogov | 2021-03-17 | 3 | -59/+79 | |
| | | | | | | | | | | | | as C function argument) | |||||
| * | | Fix refcount inference for typed properties | Nikita Popov | 2021-03-16 | 1 | -4/+3 | |
| | | | | | | | | | | | | | | | We were not adding RC1/RCN if the MAY_BE_OBJECT came from a class type and there was no other refcounted type in the union. | |||||
* | | | Add API to fetch bool value for PDO attribute values | George Peter Banyard | 2021-03-17 | 9 | -15/+67 | |
| | | | | | | | | | | | | Closes GH-6766 | |||||
* | | | Use standard PDO way for fetching integer attribute values | George Peter Banyard | 2021-03-17 | 6 | -13/+61 | |
| | | | ||||||
* | | | Validate string is numeric for integer PDO attribute value | George Peter Banyard | 2021-03-17 | 5 | -19/+43 | |
| | | | ||||||
* | | | Promote DOM invalid state errors during property access | Máté Kocsis | 2021-03-16 | 19 | -81/+113 | |
| | | | | | | | | | | | | Closes GH-6780 | |||||
* | | | Change Zend Stream API to use zend_string* instead of char*. | Dmitry Stogov | 2021-03-16 | 17 | -223/+188 | |
| | | | | | | | | | | | | | | | This allows to eliminate re-calculation of string lenght and hash value. See the detailed list of changes in UPGRADING.INTERNALS. | |||||
* | | | Add tokenizer_data_gen to build process | Ilija Tovilo | 2021-03-16 | 4 | -80/+97 | |
| | | | | | | | | | | | | Closes GH-6723. | |||||
* | | | Revert "Remove some unnecessary explicit header dependencies" | Nikita Popov | 2021-03-16 | 1 | -0/+2 | |
| | | | | | | | | | | | | | | | | | | | | | This reverts commit c386b1fb177ec0dccc840cbec801e69609ced5c3. It looks like at least some of these might be needed for ordering in a clean build? | |||||
* | | | Remove some unnecessary explicit header dependencies | Nikita Popov | 2021-03-16 | 1 | -2/+0 | |
| | | | | | | | | | | | | These are now automatically tracked by the build system. | |||||
* | | | Merge branch 'PHP-8.0' | Máté Kocsis | 2021-03-16 | 4 | -4/+25 | |
|\ \ \ | |/ / | | | | | | | | | | * Fix crash in LDAP search functions during argument validation * Fix ldap_next_entry() parameter name | |||||
| * | | Fix ldap_next_entry() parameter name | Máté Kocsis | 2021-03-16 | 2 | -4/+7 | |
| | | | ||||||
| * | | Fix crash in LDAP search functions during argument validation | Máté Kocsis | 2021-03-16 | 2 | -0/+18 | |
| | | | ||||||
* | | | Merge branch 'PHP-8.0' | Máté Kocsis | 2021-03-15 | 2 | -0/+4 | |
|\ \ \ | |/ / | ||||||
| * | | Add missing skipif sections to ext/dom tests | Máté Kocsis | 2021-03-15 | 2 | -0/+4 | |
| | | | ||||||
* | | | Merge branch 'PHP-8.0' | Christoph M. Becker | 2021-03-15 | 1 | -2/+2 | |
|\ \ \ | |/ / | | | | | | | | | | * PHP-8.0: Fix #80817: dba_popen() may cause segfault during RSHUTDOWN | |||||
| * | | Merge branch 'PHP-7.4' into PHP-8.0 | Christoph M. Becker | 2021-03-15 | 1 | -2/+2 | |
| |\ \ | | |/ | | | | | | | | | | * PHP-7.4: Fix #80817: dba_popen() may cause segfault during RSHUTDOWN | |||||
| | * | Fix #80817: dba_popen() may cause segfault during RSHUTDOWN | Christoph M. Becker | 2021-03-15 | 1 | -2/+2 | |
| | | | | | | | | | | | | We need to close persistent streams with the proper flag. | |||||
* | | | Add comment explaining empty default case | George Peter Banyard | 2021-03-15 | 1 | -3/+2 | |
| | | | ||||||
* | | | Boolify pdo_dbh_attribute_set() | George Peter Banyard | 2021-03-15 | 1 | -32/+33 | |
| | | |