Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
| * | | Merge branch 'PHP-7.4' into PHP-8.0 | Jakub Zelenka | 2021-03-21 | 6 | -38/+213 | |
| |\ \ | | |/ | ||||||
| | * | Fix NEWS entry position for the latest FPM fix | Jakub Zelenka | 2021-03-21 | 1 | -2/+4 | |
| | | | ||||||
| | * | Fix bug #80024: Duplication of info about inherited socket after pool removing | Jakub Zelenka | 2021-03-21 | 6 | -38/+211 | |
| | | | ||||||
* | | | Update NEWS for FPM process renaming on macOS | Jakub Zelenka | 2021-03-21 | 1 | -0/+1 | |
| | | | ||||||
* | | | fpm master/child process rename, enable on mac os. | David CARLIER | 2021-03-21 | 1 | -5/+3 | |
| | | | | | | | | | | | | Note the change appears mainly in command like ps. | |||||
* | | | Upadate NEWS and UPRADING with info about FPM openmetrics format addition | Jakub Zelenka | 2021-03-21 | 2 | -0/+7 | |
| | | | ||||||
* | | | Fix indent in FPM openmetrics status | Jakub Zelenka | 2021-03-21 | 1 | -39/+39 | |
| | | | ||||||
* | | | Add support for openmetrics formatting to FPM status | Cees-Jan Kiewiet | 2021-03-21 | 3 | -5/+118 | |
| | | | ||||||
* | | | Convert resources to objects in ext/ldap | Máté Kocsis | 2021-03-21 | 39 | -591/+707 | |
| | | | | | | | | | | | | Closes GH-6770 | |||||
* | | | Use zend_hash_lookup() | Dmitry Stogov | 2021-03-19 | 3 | -44/+6 | |
| | | | ||||||
* | | | Add zend_hash_lookup() and zend_hash_index_lookup() functions. | Dmitry Stogov | 2021-03-19 | 3 | -44/+96 | |
| | | | | | | | | | | | | Thet search for an element with given key/index and add an empty one (NULL), if no found. | |||||
* | | | Merge branch 'PHP-8.0' | Christoph M. Becker | 2021-03-19 | 2 | -1/+38 | |
|\ \ \ | |/ / | | | | | | | | | | * PHP-8.0: Fix #80889: Cannot set save handler when save_handler is invalid | |||||
| * | | Merge branch 'PHP-7.4' into PHP-8.0 | Christoph M. Becker | 2021-03-19 | 3 | -1/+42 | |
| |\ \ | | |/ | | | | | | | | | | * PHP-7.4: Fix #80889: Cannot set save handler when save_handler is invalid | |||||
| | * | Fix #80889: Cannot set save handler when save_handler is invalid | Christoph M. Becker | 2021-03-19 | 3 | -1/+42 | |
| | | | | | | | | | | | | | | | | | | | | | | | | There is no need to require a (valid) save_handler to be set, when a user handler is supposed to be set. We just have to make sure, that no user handler is already set in this case. Closes GH-6788. | |||||
* | | | Fix handling of unknown class in trait precedence list | Nikita Popov | 2021-03-19 | 2 | -1/+16 | |
| | | | | | | | | | | | | Fixes oss-fuzz #31983. | |||||
* | | | micro-optimization | Dmitry Stogov | 2021-03-19 | 1 | -19/+9 | |
| | | | ||||||
* | | | Install de_DE locale on azure | Nikita Popov | 2021-03-19 | 1 | -0/+1 | |
| | | | ||||||
* | | | Support prototypes in call graph | Nikita Popov | 2021-03-19 | 11 | -42/+109 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Even if we don't know the exact method being called, include it in the call graph with the is_prototype flag. In particular, we can still make use of return types from prototype methods, as PHP 8 makes LSP violations a hard error. Most other places are adjusted to skip calls with !is_prototype. Maybe some of them would be fine, but ignoring them is conservative. | |||||
* | | | XFAIL on WIN64 because of problem in libffi | Dmitry Stogov | 2021-03-19 | 1 | -0/+1 | |
| | | | ||||||
* | | | Add missing rc1/rcn to return type initialization | Nikita Popov | 2021-03-19 | 1 | -1/+2 | |
| | | | ||||||
* | | | Allow inferring narrowed return type | Nikita Popov | 2021-03-18 | 2 | -1/+56 | |
| | | | | | | | | | | | | | | | | | | Even if an explicit return type is given, we might still infer a more narrow one based on return statements. We shouldn't pessimize this just because a type has been declared. | |||||
* | | | Update one more use of NO_AUTOLOAD | Nikita Popov | 2021-03-18 | 1 | -2/+3 | |
| | | | ||||||
* | | | Update mysqli stub hash | Máté Kocsis | 2021-03-18 | 1 | -1/+1 | |
| | | | ||||||
* | | | Merge branch 'PHP-8.0' | Christoph M. Becker | 2021-03-18 | 3 | -5/+80 | |
|\ \ \ | |/ / | | | | | | | | | | * PHP-8.0: Fix #80783: PDO ODBC truncates BLOB records at every 256th byte | |||||
| * | | Merge branch 'PHP-7.4' into PHP-8.0 | Christoph M. Becker | 2021-03-18 | 4 | -2/+81 | |
| |\ \ | | |/ | | | | | | | | | | * PHP-7.4: Fix #80783: PDO ODBC truncates BLOB records at every 256th byte | |||||
| | * | Fix #80783: PDO ODBC truncates BLOB records at every 256th byte | Christoph M. Becker | 2021-03-18 | 4 | -2/+81 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | It is not guaranteed, that the driver inserts only a single NUL byte at the end of the buffer. Apparently, there is no way to find out the actual data length in the buffer after calling `SQLGetData()`, so we adjust after the next `SQLGetData()` call. We also prevent PDO::ODBC_ATTR_ASSUME_UTF8 from fetching garbage, by fetching all chunks with the same C type. Closes GH-6716. | |||||
* | | | Update opt test | Nikita Popov | 2021-03-18 | 2 | -2/+2 | |
| | | | | | | | | | | | | And fix a type in the fetch class flags dumping while here. | |||||
* | | | Don't imply SILENT from NO_AUTOLOAD | Nikita Popov | 2021-03-18 | 5 | -20/+17 | |
| | | | | | | | | | | | | | | | | | | We have separate flags for non-autoloading class fetches and silent class fetches. There's no reason why NO_AUTOLOAD should be special-cased to be implicitly silent. | |||||
* | | | Merge branch 'PHP-8.0' | Dmitry Stogov | 2021-03-18 | 2 | -3/+83 | |
|\ \ \ | |/ / | | | | | | | | | | * PHP-8.0: Additional fix for bug #80847. On x86_64 part of structure may be passed in CPU registers. | |||||
| * | | Additional fix for bug #80847. | Dmitry Stogov | 2021-03-18 | 2 | -3/+83 | |
| | | | | | | | | | | | | On x86_64 part of structure may be passed in CPU registers. | |||||
* | | | "zend-test" was renamed to "zend_test" | Dmitry Stogov | 2021-03-18 | 1 | -1/+1 | |
| | | | ||||||
* | | | 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. | |||||
* | | | Destroy constant values before object store | Nikita Popov | 2021-03-18 | 2 | -19/+30 | |
| | | | | | | | | | | | | | | | | | | | | | | | | Now that constants can contain objects (currently only enums), we should destroy them before we free the object store, otherwise there will be false positive leak reports. This doesn't affect the fast_shutdown sequence. | |||||
* | | | Deprecate OO style mysqli::get_client_info method | Dharman | 2021-03-17 | 6 | -4/+44 | |
| | | | | | | | | | | | | | | | | | | 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 | 3 | -1/+114 | |
| | | | ||||||
* | | | Add enums to UPGRADING [ci skip] | Ilija Tovilo | 2021-03-17 | 1 | -0/+2 | |
| | | | ||||||
* | | | Implement enums | Ilija Tovilo | 2021-03-17 | 164 | -52/+4299 | |
| | | | | | | | | | | | | | | | | | | | | | | | | 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 | 4 | -4/+4 | |
| | | | | | | | | | | | | 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 zend_string_equals() API instead of strcmp() in main.c | George Peter Banyard | 2021-03-17 | 1 | -29/+31 | |
| | | | ||||||
* | | | Merge branch 'PHP-8.0' | Nikita Popov | 2021-03-17 | 0 | -0/+0 | |
|\ \ \ | |/ / | | | | | | | | | | * PHP-8.0: Fix signed/unsigned warnings in PDO ODBC | |||||
| * | | 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) | |||||
* | | | 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. |