Revision tags: php-8.0.0, php-7.3.25, php-7.4.13, php-8.0.0RC5, php-7.4.13RC1, php-8.0.0RC4, php-7.3.25RC1, php-7.4.12, php-8.0.0RC3, php-7.3.24, php-8.0.0RC2, php-7.4.12RC1, php-7.3.24RC1, php-7.2.34, php-8.0.0rc1, php-7.4.11, php-7.3.23 |
|
#
07a2f304 |
| 24-Sep-2020 |
George Peter Banyard |
Extensions should have the final say on their compiler flags Currently compiler flags passed by extensions using the standard ``PHP_NEW_EXTENSION`` and ``PHP_ADD_SOURCES`` m4 macros are
Extensions should have the final say on their compiler flags Currently compiler flags passed by extensions using the standard ``PHP_NEW_EXTENSION`` and ``PHP_ADD_SOURCES`` m4 macros are prepended before the ones defined by ``Zend/Zend.m4``. This was not really an issue before as ``Zend.m4`` only included ``-Wall`` but since the addition of ``-Wextra`` various issue about disabling flags have been brought up. A preliminary attempt was done in commit 5c1cf7669b937dcb4589cb0c8deccd343dfd85f9 but this turns out to be more or less irrelevant. The root issue is that ``PHP_NEW_EXTENSION`` and ``PHP_ADD_SOURCES`` call the ``PHP_ADD_SOURCES_X`` macro and pass their flags as the 3rd argument which prepends the flags. There exists a 6th argument for this macro which appends them but from a cursory look at https://heap.space/search?full=PHP_ADD_SOURCES_X&project=php-src this is not used. Moreover, the comment describing this macro explicitly informs that this macro should not be used directly. As such we drop the 6th argument of ``PHP_ADD_SOURCES_X`` and move the `special-flags` argument to be appended instead of prepended. Closes GH-6204
show more ...
|
Revision tags: php-8.0.0beta4, php-7.4.11RC1, php-7.3.23RC1, php-8.0.0beta3, php-7.4.10, php-7.3.22, php-8.0.0beta2, php-7.3.22RC1, php-7.4.10RC1 |
|
#
3e33e1e8 |
| 05-Aug-2020 |
Christoph M. Becker |
Check linker compatibility directly from HMODULE Checking the linker compatibility with extranous `ImageLoad()` calls is possible, but unnecessary, since the modules are either already l
Check linker compatibility directly from HMODULE Checking the linker compatibility with extranous `ImageLoad()` calls is possible, but unnecessary, since the modules are either already loaded or loaded shortly afterwards, so that we can get the required information directly from the module handles. And actually, doing `ImageLoad()` as well as `LoadLibrary()` leaves a tiny room for a race condition, because both functions will lookup the module in the search path, so there is no *guarantee* that both are dealing with the same module. Dropping the `ImageLoad()` calls also has the advantage to no longer face the issue reported in bug #79557. A very minor additional advantage is that we no longer have to link against Imagehlp.dll. Furthermore, there is no need to check for CRT compatibility multiple times, so we can simplify the signature of `php_win32_crt_compatible`, and at the same time clean up main.c a bit. These changes require to change the signature of the exported `php_win32_image_compatible` and `php_win32_crt_compatible` functions, which now expect a `HMODULE` and nothing, respectively, instead of the module name.
show more ...
|
Revision tags: php-8.0.0beta1, php-7.4.9, php-7.2.33, php-7.3.21, php-8.0.0alpha3, php-7.4.9RC1, php-7.3.21RC1 |
|
#
12306728 |
| 16-Jul-2020 |
Sammy Kaye Powers |
Add system ID entropy API The `zend_system_id` is a (true global) system ID that fingerprints a process state. When extensions add engine hooks during MINIT/startup, entropy is added the sys
Add system ID entropy API The `zend_system_id` is a (true global) system ID that fingerprints a process state. When extensions add engine hooks during MINIT/startup, entropy is added the system ID for each hook. This allows extensions to identify that changes have been made to the engine since the last PHP process restart. Closes GH-5871
show more ...
|
#
34bb5ba2 |
| 18-Sep-2020 |
Nikita Popov |
Remove support for EXT_NOP This is an annoying edge case that regularly gets broken. As we're not aware of significant users of this API, and there are other ways to hook this, remov
Remove support for EXT_NOP This is an annoying edge case that regularly gets broken. As we're not aware of significant users of this API, and there are other ways to hook this, remove support for EXT_NOP.
show more ...
|
#
1359a52d |
| 14-Sep-2020 |
Benjamin Eberlei |
Rename zend_error_notify APIs to zend_observer_error*
|
#
7b3ac296 |
| 03-Sep-2020 |
George Peter Banyard |
Fix mismatch between macro and struct definition
|
#
fa8d9b11 |
| 28-Aug-2020 |
George Peter Banyard |
Improve type declarations for Zend APIs Voidification of Zend API which always succeeded Use bool argument types instead of int for boolean arguments Use bool return type for functio
Improve type declarations for Zend APIs Voidification of Zend API which always succeeded Use bool argument types instead of int for boolean arguments Use bool return type for functions which return true/false (1/0) Use zend_result return type for functions which return SUCCESS/FAILURE as they don't follow normal boolean semantics Closes GH-6002
show more ...
|
#
1b2ec73c |
| 26-Aug-2020 |
George Peter Banyard |
Drop various unused macros/APIs Also convert_libmagic_pattern() to return a zend_string* Closes GH-6029
|
#
45ece5bf |
| 07-Aug-2020 |
Nikita Popov |
Add UPGRADING.INTERNALS notes for zend_object* changes Closes GH-5953.
|
#
af80d8a1 |
| 05-Aug-2020 |
Máté Kocsis |
Add more argument types to stubs Closes GH-5943
|
#
0d836a39 |
| 04-Aug-2020 |
Nikita Popov |
Revert "Prepare for PHP 8.1" This reverts commit 1ab4d0e6b7abb67d5a01ce3327bf973772271fb2. This reverts commit a359635cb1a4df8b5137a506c88c4cb102acac0e.
|
#
a359635c |
| 04-Aug-2020 |
Gabriel Caruso |
Prepare for PHP 8.1
|
#
650801ce |
| 01-Aug-2020 |
Tyson Andre |
[skip ci] Fix grammar/typo nits in docs The PHP error message says "well-formed", not "well formed" Fixes GH-5920
|
#
02b03df9 |
| 31-Jul-2020 |
Máté Kocsis |
Document the signature change of zend_get_closure_method_def()
|
#
e2f39f84 |
| 29-Jul-2020 |
Nikita Popov |
Remove PHP_CHECK_GCC_ARG() In favor of AX_CHECK_COMPILE_FLAG(), which we bundle since at least PHP 7. Closes GH-5904.
|
#
4890bf19 |
| 17-Jul-2020 |
Benjamin Eberlei |
Add error notification callbacks to UPGRADING.INTERNALS
|
#
f60cf0cf |
| 15-Jul-2020 |
Nikita Popov |
Remove type argument from zend_get_zval_ptr As pointed out by Levi, this is unused, and we already changed the signature of this function for PHP 8.
|
#
4f3eccfd |
| 11-Jul-2020 |
George Peter Banyard |
Use consistent types uint32_t type for argument count size_t for length of char* zend_bool for a zval bool arg Closes GH-5845
|
#
0280c64a |
| 13-Jul-2020 |
Nikita Popov |
Add upgrading note [ci skip]
|
Revision tags: php-7.4.8, php-7.2.32, php-8.0.0alpha2, php-7.3.20 |
|
#
9839752a |
| 03-Jul-2020 |
George Peter Banyard |
Voidify some ZEND_API functions Closes GH-5805
|
#
302933da |
| 07-Jul-2020 |
Nikita Popov |
Remove no_separation flag
|
#
8d1a1120 |
| 06-Jul-2020 |
Remi Collet |
[skip ci] add upgrade note Closes GH-5798
|
#
8d9637bd |
| 01-Jul-2020 |
Christoph M. Becker |
[ci skip] (Hopefully) clarify meaning
|
#
942f341b |
| 01-Jul-2020 |
Christoph M. Becker |
Document zend_hash_sort and zend_ts_hash_sort signature change Cf. <https://github.com/php/php-src/pull/3936>.
|
Revision tags: php-8.0.0alpha1, php-7.4.8RC1, php-7.3.20RC1 |
|
#
7b4179e8 |
| 18-Jun-2020 |
Alex Dowad |
Update UPGRADING.INTERNALS re: removed --disable-inline-optimization switch This build configuration switch was removed in 3a19726bce.
|